scoped_allocator (scoped_allocator::__outermost): Do not pass non-POD to varargs...
[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 PIC_CXXFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_PDF_FALSE
622 BUILD_PDF_TRUE
623 PDFLATEX
624 DBLATEX
625 BUILD_MAN_FALSE
626 BUILD_MAN_TRUE
627 BUILD_HTML_FALSE
628 BUILD_HTML_TRUE
629 BUILD_XML_FALSE
630 BUILD_XML_TRUE
631 BUILD_EPUB_FALSE
632 BUILD_EPUB_TRUE
633 XSL_STYLE_DIR
634 XMLLINT
635 XSLTPROC
636 DOT
637 DOXYGEN
638 BUILD_INFO_FALSE
639 BUILD_INFO_TRUE
640 baseline_subdir_switch
641 baseline_dir
642 GLIBCXX_LDBL_COMPAT_FALSE
643 GLIBCXX_LDBL_COMPAT_TRUE
644 ENABLE_VISIBILITY_FALSE
645 ENABLE_VISIBILITY_TRUE
646 libtool_VERSION
647 ENABLE_SYMVERS_SUN_FALSE
648 ENABLE_SYMVERS_SUN_TRUE
649 ENABLE_SYMVERS_DARWIN_FALSE
650 ENABLE_SYMVERS_DARWIN_TRUE
651 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
652 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
653 ENABLE_SYMVERS_GNU_FALSE
654 ENABLE_SYMVERS_GNU_TRUE
655 ENABLE_SYMVERS_FALSE
656 ENABLE_SYMVERS_TRUE
657 port_specific_symbol_files
658 SYMVER_FILE
659 CXXFILT
660 LTLIBICONV
661 LIBICONV
662 OPT_LDFLAGS
663 SECTION_LDFLAGS
664 GLIBCXX_LIBS
665 ENABLE_WERROR_FALSE
666 ENABLE_WERROR_TRUE
667 ENABLE_PYTHONDIR_FALSE
668 ENABLE_PYTHONDIR_TRUE
669 python_mod_dir
670 ENABLE_EXTERN_TEMPLATE_FALSE
671 ENABLE_EXTERN_TEMPLATE_TRUE
672 EXTRA_CXX_FLAGS
673 ENABLE_PARALLEL_FALSE
674 ENABLE_PARALLEL_TRUE
675 GLIBCXX_BUILD_DEBUG_FALSE
676 GLIBCXX_BUILD_DEBUG_TRUE
677 DEBUG_FLAGS
678 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
679 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
680 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
681 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
682 GLIBCXX_C_HEADERS_C_STD_FALSE
683 GLIBCXX_C_HEADERS_C_STD_TRUE
684 GLIBCXX_C_HEADERS_C_FALSE
685 GLIBCXX_C_HEADERS_C_TRUE
686 C_INCLUDE_DIR
687 ALLOCATOR_NAME
688 ALLOCATOR_H
689 CLOCALE_INTERNAL_H
690 CLOCALE_CC
691 CTIME_CC
692 CTIME_H
693 CNUMERIC_CC
694 CMONEY_CC
695 CMESSAGES_CC
696 CCTYPE_CC
697 CCOLLATE_CC
698 CCODECVT_CC
699 CMESSAGES_H
700 CLOCALE_H
701 USE_NLS
702 glibcxx_localedir
703 glibcxx_POFILES
704 glibcxx_MOFILES
705 check_msgfmt
706 BASIC_FILE_CC
707 BASIC_FILE_H
708 CSTDIO_H
709 SECTION_FLAGS
710 WERROR
711 glibcxx_PCHFLAGS
712 GLIBCXX_BUILD_PCH_FALSE
713 GLIBCXX_BUILD_PCH_TRUE
714 GLIBCXX_HOSTED_FALSE
715 GLIBCXX_HOSTED_TRUE
716 enable_static
717 enable_shared
718 lt_host_flags
719 CXXCPP
720 OTOOL64
721 OTOOL
722 LIPO
723 NMEDIT
724 DSYMUTIL
725 OBJDUMP
726 NM
727 ac_ct_DUMPBIN
728 DUMPBIN
729 LD
730 FGREP
731 SED
732 LIBTOOL
733 EGREP
734 GREP
735 CPP
736 MAINT
737 MAINTAINER_MODE_FALSE
738 MAINTAINER_MODE_TRUE
739 RANLIB
740 AR
741 AS
742 LN_S
743 toplevel_srcdir
744 toplevel_builddir
745 glibcxx_srcdir
746 glibcxx_builddir
747 ac_ct_CXX
748 CXXFLAGS
749 CXX
750 OBJEXT
751 EXEEXT
752 ac_ct_CC
753 CPPFLAGS
754 LDFLAGS
755 CFLAGS
756 CC
757 am__untar
758 am__tar
759 AMTAR
760 am__leading_dot
761 SET_MAKE
762 AWK
763 mkdir_p
764 MKDIR_P
765 INSTALL_STRIP_PROGRAM
766 STRIP
767 install_sh
768 MAKEINFO
769 AUTOHEADER
770 AUTOMAKE
771 AUTOCONF
772 ACLOCAL
773 VERSION
774 PACKAGE
775 CYGPATH_W
776 am__isrc
777 INSTALL_DATA
778 INSTALL_SCRIPT
779 INSTALL_PROGRAM
780 target_os
781 target_vendor
782 target_cpu
783 target
784 host_os
785 host_vendor
786 host_cpu
787 host
788 build_os
789 build_vendor
790 build_cpu
791 build
792 multi_basedir
793 target_alias
794 host_alias
795 build_alias
796 LIBS
797 ECHO_T
798 ECHO_N
799 ECHO_C
800 DEFS
801 mandir
802 localedir
803 libdir
804 psdir
805 pdfdir
806 dvidir
807 htmldir
808 infodir
809 docdir
810 oldincludedir
811 includedir
812 localstatedir
813 sharedstatedir
814 sysconfdir
815 datadir
816 datarootdir
817 libexecdir
818 sbindir
819 bindir
820 program_transform_name
821 prefix
822 exec_prefix
823 PACKAGE_URL
824 PACKAGE_BUGREPORT
825 PACKAGE_STRING
826 PACKAGE_VERSION
827 PACKAGE_TARNAME
828 PACKAGE_NAME
829 PATH_SEPARATOR
830 SHELL'
831 ac_subst_files=''
832 ac_user_opts='
833 enable_option_checking
834 enable_multilib
835 with_target_subdir
836 with_cross_host
837 with_newlib
838 enable_maintainer_mode
839 enable_shared
840 enable_static
841 with_pic
842 enable_fast_install
843 with_gnu_ld
844 enable_libtool_lock
845 enable_hosted_libstdcxx
846 enable_sjlj_exceptions
847 enable_libstdcxx_pch
848 enable_cstdio
849 enable_clocale
850 enable_nls
851 enable_libstdcxx_allocator
852 enable_cheaders
853 enable_long_long
854 enable_wchar_t
855 enable_c99
856 enable_concept_checks
857 enable_libstdcxx_debug_flags
858 enable_libstdcxx_debug
859 enable_cxx_flags
860 enable_fully_dynamic_string
861 enable_extern_template
862 with_python_dir
863 enable_werror
864 enable_libstdcxx_time
865 enable_tls
866 enable_rpath
867 with_libiconv_prefix
868 with_system_libunwind
869 enable_linux_futex
870 enable_symvers
871 enable_libstdcxx_visibility
872 enable_libstdcxx_threads
873 with_gxx_include_dir
874 enable_version_specific_runtime_libs
875 '
876 ac_precious_vars='build_alias
877 host_alias
878 target_alias
879 CC
880 CFLAGS
881 LDFLAGS
882 LIBS
883 CPPFLAGS
884 CXX
885 CXXFLAGS
886 CCC
887 CPP
888 CXXCPP
889 CXXFILT'
890
891
892 # Initialize some variables set by options.
893 ac_init_help=
894 ac_init_version=false
895 ac_unrecognized_opts=
896 ac_unrecognized_sep=
897 # The variables have the same names as the options, with
898 # dashes changed to underlines.
899 cache_file=/dev/null
900 exec_prefix=NONE
901 no_create=
902 no_recursion=
903 prefix=NONE
904 program_prefix=NONE
905 program_suffix=NONE
906 program_transform_name=s,x,x,
907 silent=
908 site=
909 srcdir=
910 verbose=
911 x_includes=NONE
912 x_libraries=NONE
913
914 # Installation directory options.
915 # These are left unexpanded so users can "make install exec_prefix=/foo"
916 # and all the variables that are supposed to be based on exec_prefix
917 # by default will actually change.
918 # Use braces instead of parens because sh, perl, etc. also accept them.
919 # (The list follows the same order as the GNU Coding Standards.)
920 bindir='${exec_prefix}/bin'
921 sbindir='${exec_prefix}/sbin'
922 libexecdir='${exec_prefix}/libexec'
923 datarootdir='${prefix}/share'
924 datadir='${datarootdir}'
925 sysconfdir='${prefix}/etc'
926 sharedstatedir='${prefix}/com'
927 localstatedir='${prefix}/var'
928 includedir='${prefix}/include'
929 oldincludedir='/usr/include'
930 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
931 infodir='${datarootdir}/info'
932 htmldir='${docdir}'
933 dvidir='${docdir}'
934 pdfdir='${docdir}'
935 psdir='${docdir}'
936 libdir='${exec_prefix}/lib'
937 localedir='${datarootdir}/locale'
938 mandir='${datarootdir}/man'
939
940 ac_prev=
941 ac_dashdash=
942 for ac_option
943 do
944 # If the previous option needs an argument, assign it.
945 if test -n "$ac_prev"; then
946 eval $ac_prev=\$ac_option
947 ac_prev=
948 continue
949 fi
950
951 case $ac_option in
952 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
953 *) ac_optarg=yes ;;
954 esac
955
956 # Accept the important Cygnus configure options, so we can diagnose typos.
957
958 case $ac_dashdash$ac_option in
959 --)
960 ac_dashdash=yes ;;
961
962 -bindir | --bindir | --bindi | --bind | --bin | --bi)
963 ac_prev=bindir ;;
964 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
965 bindir=$ac_optarg ;;
966
967 -build | --build | --buil | --bui | --bu)
968 ac_prev=build_alias ;;
969 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
970 build_alias=$ac_optarg ;;
971
972 -cache-file | --cache-file | --cache-fil | --cache-fi \
973 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
974 ac_prev=cache_file ;;
975 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
976 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
977 cache_file=$ac_optarg ;;
978
979 --config-cache | -C)
980 cache_file=config.cache ;;
981
982 -datadir | --datadir | --datadi | --datad)
983 ac_prev=datadir ;;
984 -datadir=* | --datadir=* | --datadi=* | --datad=*)
985 datadir=$ac_optarg ;;
986
987 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
988 | --dataroo | --dataro | --datar)
989 ac_prev=datarootdir ;;
990 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
991 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
992 datarootdir=$ac_optarg ;;
993
994 -disable-* | --disable-*)
995 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
998 as_fn_error "invalid feature name: $ac_useropt"
999 ac_useropt_orig=$ac_useropt
1000 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1001 case $ac_user_opts in
1002 *"
1003 "enable_$ac_useropt"
1004 "*) ;;
1005 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1006 ac_unrecognized_sep=', ';;
1007 esac
1008 eval enable_$ac_useropt=no ;;
1009
1010 -docdir | --docdir | --docdi | --doc | --do)
1011 ac_prev=docdir ;;
1012 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1013 docdir=$ac_optarg ;;
1014
1015 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1016 ac_prev=dvidir ;;
1017 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1018 dvidir=$ac_optarg ;;
1019
1020 -enable-* | --enable-*)
1021 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024 as_fn_error "invalid feature name: $ac_useropt"
1025 ac_useropt_orig=$ac_useropt
1026 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027 case $ac_user_opts in
1028 *"
1029 "enable_$ac_useropt"
1030 "*) ;;
1031 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1032 ac_unrecognized_sep=', ';;
1033 esac
1034 eval enable_$ac_useropt=\$ac_optarg ;;
1035
1036 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1037 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1038 | --exec | --exe | --ex)
1039 ac_prev=exec_prefix ;;
1040 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1041 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1042 | --exec=* | --exe=* | --ex=*)
1043 exec_prefix=$ac_optarg ;;
1044
1045 -gas | --gas | --ga | --g)
1046 # Obsolete; use --with-gas.
1047 with_gas=yes ;;
1048
1049 -help | --help | --hel | --he | -h)
1050 ac_init_help=long ;;
1051 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1052 ac_init_help=recursive ;;
1053 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1054 ac_init_help=short ;;
1055
1056 -host | --host | --hos | --ho)
1057 ac_prev=host_alias ;;
1058 -host=* | --host=* | --hos=* | --ho=*)
1059 host_alias=$ac_optarg ;;
1060
1061 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1062 ac_prev=htmldir ;;
1063 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1064 | --ht=*)
1065 htmldir=$ac_optarg ;;
1066
1067 -includedir | --includedir | --includedi | --included | --include \
1068 | --includ | --inclu | --incl | --inc)
1069 ac_prev=includedir ;;
1070 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1071 | --includ=* | --inclu=* | --incl=* | --inc=*)
1072 includedir=$ac_optarg ;;
1073
1074 -infodir | --infodir | --infodi | --infod | --info | --inf)
1075 ac_prev=infodir ;;
1076 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1077 infodir=$ac_optarg ;;
1078
1079 -libdir | --libdir | --libdi | --libd)
1080 ac_prev=libdir ;;
1081 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1082 libdir=$ac_optarg ;;
1083
1084 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1085 | --libexe | --libex | --libe)
1086 ac_prev=libexecdir ;;
1087 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1088 | --libexe=* | --libex=* | --libe=*)
1089 libexecdir=$ac_optarg ;;
1090
1091 -localedir | --localedir | --localedi | --localed | --locale)
1092 ac_prev=localedir ;;
1093 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1094 localedir=$ac_optarg ;;
1095
1096 -localstatedir | --localstatedir | --localstatedi | --localstated \
1097 | --localstate | --localstat | --localsta | --localst | --locals)
1098 ac_prev=localstatedir ;;
1099 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1100 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1101 localstatedir=$ac_optarg ;;
1102
1103 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1104 ac_prev=mandir ;;
1105 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1106 mandir=$ac_optarg ;;
1107
1108 -nfp | --nfp | --nf)
1109 # Obsolete; use --without-fp.
1110 with_fp=no ;;
1111
1112 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1113 | --no-cr | --no-c | -n)
1114 no_create=yes ;;
1115
1116 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1117 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1118 no_recursion=yes ;;
1119
1120 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1121 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1122 | --oldin | --oldi | --old | --ol | --o)
1123 ac_prev=oldincludedir ;;
1124 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1125 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1126 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1127 oldincludedir=$ac_optarg ;;
1128
1129 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1130 ac_prev=prefix ;;
1131 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1132 prefix=$ac_optarg ;;
1133
1134 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1135 | --program-pre | --program-pr | --program-p)
1136 ac_prev=program_prefix ;;
1137 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1138 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1139 program_prefix=$ac_optarg ;;
1140
1141 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1142 | --program-suf | --program-su | --program-s)
1143 ac_prev=program_suffix ;;
1144 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1145 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1146 program_suffix=$ac_optarg ;;
1147
1148 -program-transform-name | --program-transform-name \
1149 | --program-transform-nam | --program-transform-na \
1150 | --program-transform-n | --program-transform- \
1151 | --program-transform | --program-transfor \
1152 | --program-transfo | --program-transf \
1153 | --program-trans | --program-tran \
1154 | --progr-tra | --program-tr | --program-t)
1155 ac_prev=program_transform_name ;;
1156 -program-transform-name=* | --program-transform-name=* \
1157 | --program-transform-nam=* | --program-transform-na=* \
1158 | --program-transform-n=* | --program-transform-=* \
1159 | --program-transform=* | --program-transfor=* \
1160 | --program-transfo=* | --program-transf=* \
1161 | --program-trans=* | --program-tran=* \
1162 | --progr-tra=* | --program-tr=* | --program-t=*)
1163 program_transform_name=$ac_optarg ;;
1164
1165 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1166 ac_prev=pdfdir ;;
1167 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1168 pdfdir=$ac_optarg ;;
1169
1170 -psdir | --psdir | --psdi | --psd | --ps)
1171 ac_prev=psdir ;;
1172 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1173 psdir=$ac_optarg ;;
1174
1175 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1176 | -silent | --silent | --silen | --sile | --sil)
1177 silent=yes ;;
1178
1179 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1180 ac_prev=sbindir ;;
1181 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1182 | --sbi=* | --sb=*)
1183 sbindir=$ac_optarg ;;
1184
1185 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1186 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1187 | --sharedst | --shareds | --shared | --share | --shar \
1188 | --sha | --sh)
1189 ac_prev=sharedstatedir ;;
1190 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1191 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1192 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1193 | --sha=* | --sh=*)
1194 sharedstatedir=$ac_optarg ;;
1195
1196 -site | --site | --sit)
1197 ac_prev=site ;;
1198 -site=* | --site=* | --sit=*)
1199 site=$ac_optarg ;;
1200
1201 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1202 ac_prev=srcdir ;;
1203 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1204 srcdir=$ac_optarg ;;
1205
1206 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1207 | --syscon | --sysco | --sysc | --sys | --sy)
1208 ac_prev=sysconfdir ;;
1209 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1210 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1211 sysconfdir=$ac_optarg ;;
1212
1213 -target | --target | --targe | --targ | --tar | --ta | --t)
1214 ac_prev=target_alias ;;
1215 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1216 target_alias=$ac_optarg ;;
1217
1218 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1219 verbose=yes ;;
1220
1221 -version | --version | --versio | --versi | --vers | -V)
1222 ac_init_version=: ;;
1223
1224 -with-* | --with-*)
1225 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1226 # Reject names that are not valid shell variable names.
1227 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1228 as_fn_error "invalid package name: $ac_useropt"
1229 ac_useropt_orig=$ac_useropt
1230 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1231 case $ac_user_opts in
1232 *"
1233 "with_$ac_useropt"
1234 "*) ;;
1235 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1236 ac_unrecognized_sep=', ';;
1237 esac
1238 eval with_$ac_useropt=\$ac_optarg ;;
1239
1240 -without-* | --without-*)
1241 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1242 # Reject names that are not valid shell variable names.
1243 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1244 as_fn_error "invalid package name: $ac_useropt"
1245 ac_useropt_orig=$ac_useropt
1246 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1247 case $ac_user_opts in
1248 *"
1249 "with_$ac_useropt"
1250 "*) ;;
1251 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1252 ac_unrecognized_sep=', ';;
1253 esac
1254 eval with_$ac_useropt=no ;;
1255
1256 --x)
1257 # Obsolete; use --with-x.
1258 with_x=yes ;;
1259
1260 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1261 | --x-incl | --x-inc | --x-in | --x-i)
1262 ac_prev=x_includes ;;
1263 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1264 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1265 x_includes=$ac_optarg ;;
1266
1267 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1268 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1269 ac_prev=x_libraries ;;
1270 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1271 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1272 x_libraries=$ac_optarg ;;
1273
1274 -*) as_fn_error "unrecognized option: \`$ac_option'
1275 Try \`$0 --help' for more information."
1276 ;;
1277
1278 *=*)
1279 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1280 # Reject names that are not valid shell variable names.
1281 case $ac_envvar in #(
1282 '' | [0-9]* | *[!_$as_cr_alnum]* )
1283 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1284 esac
1285 eval $ac_envvar=\$ac_optarg
1286 export $ac_envvar ;;
1287
1288 *)
1289 # FIXME: should be removed in autoconf 3.0.
1290 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1291 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1292 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1293 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1294 ;;
1295
1296 esac
1297 done
1298
1299 if test -n "$ac_prev"; then
1300 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1301 as_fn_error "missing argument to $ac_option"
1302 fi
1303
1304 if test -n "$ac_unrecognized_opts"; then
1305 case $enable_option_checking in
1306 no) ;;
1307 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1308 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1309 esac
1310 fi
1311
1312 # Check all directory arguments for consistency.
1313 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1314 datadir sysconfdir sharedstatedir localstatedir includedir \
1315 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1316 libdir localedir mandir
1317 do
1318 eval ac_val=\$$ac_var
1319 # Remove trailing slashes.
1320 case $ac_val in
1321 */ )
1322 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1323 eval $ac_var=\$ac_val;;
1324 esac
1325 # Be sure to have absolute directory names.
1326 case $ac_val in
1327 [\\/$]* | ?:[\\/]* ) continue;;
1328 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1329 esac
1330 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1331 done
1332
1333 # There might be people who depend on the old broken behavior: `$host'
1334 # used to hold the argument of --host etc.
1335 # FIXME: To remove some day.
1336 build=$build_alias
1337 host=$host_alias
1338 target=$target_alias
1339
1340 # FIXME: To remove some day.
1341 if test "x$host_alias" != x; then
1342 if test "x$build_alias" = x; then
1343 cross_compiling=maybe
1344 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1345 If a cross compiler is detected then cross compile mode will be used." >&2
1346 elif test "x$build_alias" != "x$host_alias"; then
1347 cross_compiling=yes
1348 fi
1349 fi
1350
1351 ac_tool_prefix=
1352 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1353
1354 test "$silent" = yes && exec 6>/dev/null
1355
1356
1357 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1358 ac_ls_di=`ls -di .` &&
1359 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1360 as_fn_error "working directory cannot be determined"
1361 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1362 as_fn_error "pwd does not report name of working directory"
1363
1364
1365 # Find the source files, if location was not specified.
1366 if test -z "$srcdir"; then
1367 ac_srcdir_defaulted=yes
1368 # Try the directory containing this script, then the parent directory.
1369 ac_confdir=`$as_dirname -- "$as_myself" ||
1370 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1371 X"$as_myself" : 'X\(//\)[^/]' \| \
1372 X"$as_myself" : 'X\(//\)$' \| \
1373 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1374 $as_echo X"$as_myself" |
1375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1376 s//\1/
1377 q
1378 }
1379 /^X\(\/\/\)[^/].*/{
1380 s//\1/
1381 q
1382 }
1383 /^X\(\/\/\)$/{
1384 s//\1/
1385 q
1386 }
1387 /^X\(\/\).*/{
1388 s//\1/
1389 q
1390 }
1391 s/.*/./; q'`
1392 srcdir=$ac_confdir
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394 srcdir=..
1395 fi
1396 else
1397 ac_srcdir_defaulted=no
1398 fi
1399 if test ! -r "$srcdir/$ac_unique_file"; then
1400 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1401 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1402 fi
1403 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1404 ac_abs_confdir=`(
1405 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1406 pwd)`
1407 # When building in place, set srcdir=.
1408 if test "$ac_abs_confdir" = "$ac_pwd"; then
1409 srcdir=.
1410 fi
1411 # Remove unnecessary trailing slashes from srcdir.
1412 # Double slashes in file names in object file debugging info
1413 # mess up M-x gdb in Emacs.
1414 case $srcdir in
1415 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1416 esac
1417 for ac_var in $ac_precious_vars; do
1418 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1419 eval ac_env_${ac_var}_value=\$${ac_var}
1420 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1421 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1422 done
1423
1424 #
1425 # Report the --help message.
1426 #
1427 if test "$ac_init_help" = "long"; then
1428 # Omit some internal or obsolete options to make the list less imposing.
1429 # This message is too long to be a string in the A/UX 3.1 sh.
1430 cat <<_ACEOF
1431 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1432
1433 Usage: $0 [OPTION]... [VAR=VALUE]...
1434
1435 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1436 VAR=VALUE. See below for descriptions of some of the useful variables.
1437
1438 Defaults for the options are specified in brackets.
1439
1440 Configuration:
1441 -h, --help display this help and exit
1442 --help=short display options specific to this package
1443 --help=recursive display the short help of all the included packages
1444 -V, --version display version information and exit
1445 -q, --quiet, --silent do not print \`checking...' messages
1446 --cache-file=FILE cache test results in FILE [disabled]
1447 -C, --config-cache alias for \`--cache-file=config.cache'
1448 -n, --no-create do not create output files
1449 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1450
1451 Installation directories:
1452 --prefix=PREFIX install architecture-independent files in PREFIX
1453 [$ac_default_prefix]
1454 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1455 [PREFIX]
1456
1457 By default, \`make install' will install all the files in
1458 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1459 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1460 for instance \`--prefix=\$HOME'.
1461
1462 For better control, use the options below.
1463
1464 Fine tuning of the installation directories:
1465 --bindir=DIR user executables [EPREFIX/bin]
1466 --sbindir=DIR system admin executables [EPREFIX/sbin]
1467 --libexecdir=DIR program executables [EPREFIX/libexec]
1468 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1469 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1470 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1471 --libdir=DIR object code libraries [EPREFIX/lib]
1472 --includedir=DIR C header files [PREFIX/include]
1473 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1474 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1475 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1476 --infodir=DIR info documentation [DATAROOTDIR/info]
1477 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1478 --mandir=DIR man documentation [DATAROOTDIR/man]
1479 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1480 --htmldir=DIR html documentation [DOCDIR]
1481 --dvidir=DIR dvi documentation [DOCDIR]
1482 --pdfdir=DIR pdf documentation [DOCDIR]
1483 --psdir=DIR ps documentation [DOCDIR]
1484 _ACEOF
1485
1486 cat <<\_ACEOF
1487
1488 Program names:
1489 --program-prefix=PREFIX prepend PREFIX to installed program names
1490 --program-suffix=SUFFIX append SUFFIX to installed program names
1491 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1492
1493 System types:
1494 --build=BUILD configure for building on BUILD [guessed]
1495 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1496 --target=TARGET configure for building compilers for TARGET [HOST]
1497 _ACEOF
1498 fi
1499
1500 if test -n "$ac_init_help"; then
1501 case $ac_init_help in
1502 short | recursive ) echo "Configuration of package-unused version-unused:";;
1503 esac
1504 cat <<\_ACEOF
1505
1506 Optional Features:
1507 --disable-option-checking ignore unrecognized --enable/--with options
1508 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1509 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1510 --enable-multilib build many library versions (default)
1511 --enable-maintainer-mode enable make rules and dependencies not useful
1512 (and sometimes confusing) to the casual installer
1513 --enable-shared[=PKGS] build shared libraries [default=yes]
1514 --enable-static[=PKGS] build static libraries [default=yes]
1515 --enable-fast-install[=PKGS]
1516 optimize for fast installation [default=yes]
1517 --disable-libtool-lock avoid locking (might break parallel builds)
1518 --disable-hosted-libstdcxx
1519 only build freestanding C++ runtime support
1520 --enable-sjlj-exceptions
1521 force use of builtin_setjmp for exceptions
1522 [default=auto]
1523 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1524 [default=$is_hosted]
1525 --enable-cstdio[=PACKAGE]
1526 use target-specific I/O package [default=stdio]
1527 --enable-clocale[=MODEL]
1528 use MODEL for target locale package [default=auto]
1529 --enable-nls use Native Language Support (default)
1530 --enable-libstdcxx-allocator[=KIND]
1531 use KIND for target std::allocator base
1532 [default=auto]
1533 --enable-cheaders[=KIND]
1534 construct "C" headers for g++ [default=$c_model]
1535 --enable-long-long enable template specializations for 'long long'
1536 [default=yes]
1537 --enable-wchar_t enable template specializations for 'wchar_t'
1538 [default=yes]
1539 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1540 --enable-concept-checks use Boost-derived template checks [default=no]
1541 --enable-libstdcxx-debug-flags=FLAGS
1542 pass compiler FLAGS when building debug library
1543 [default="-gdwarf-4 -g3 -O0"]
1544 --enable-libstdcxx-debug
1545 build extra debug library [default=no]
1546 --enable-cxx-flags=FLAGS
1547 pass compiler FLAGS when building library [default=]
1548 --enable-fully-dynamic-string
1549 do not put empty strings in per-process static
1550 memory [default=no]
1551 --enable-extern-template
1552 enable extern template [default=yes]
1553 --enable-werror turns on -Werror [default=yes]
1554 --enable-libstdcxx-time[=KIND]
1555 use KIND for check type [default=no]
1556 --enable-tls Use thread-local storage [default=yes]
1557 --disable-rpath do not hardcode runtime library paths
1558 --enable-linux-futex use the Linux futex system call [default=default]
1559 --enable-symvers[=STYLE]
1560 enables symbol versioning of the shared library
1561 [default=yes]
1562 --enable-libstdcxx-visibility
1563 enables visibility safe usage [default=yes]
1564 --enable-libstdcxx-threads
1565 enable C++11 threads support [default=auto]
1566 --enable-version-specific-runtime-libs
1567 Specify that runtime libraries should be installed
1568 in a compiler-specific directory
1569
1570 Optional Packages:
1571 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1572 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1573 --with-target-subdir=SUBDIR
1574 configuring in a subdirectory
1575 --with-cross-host=HOST configuring with a cross compiler
1576 --with-newlib assume newlib as a system C library
1577 --with-pic try to use only PIC/non-PIC objects [default=use
1578 both]
1579 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1580 --with-python-dir the location to install Python modules. This path is
1581 relative starting from the prefix.
1582 --with-gnu-ld assume the C compiler uses GNU ld default=no
1583 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1584 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1585 --with-system-libunwind use installed libunwind
1586 --with-gxx-include-dir=DIR
1587 installation directory for include files
1588
1589 Some influential environment variables:
1590 CC C compiler command
1591 CFLAGS C compiler flags
1592 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1593 nonstandard directory <lib dir>
1594 LIBS libraries to pass to the linker, e.g. -l<library>
1595 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1596 you have headers in a nonstandard directory <include dir>
1597 CXX C++ compiler command
1598 CXXFLAGS C++ compiler flags
1599 CPP C preprocessor
1600 CXXCPP C++ preprocessor
1601 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1602 `c++filt', `gc++filt' on PATH.
1603
1604 Use these variables to override the choices made by `configure' or to help
1605 it to find libraries and programs with nonstandard names/locations.
1606
1607 Report bugs to the package provider.
1608 _ACEOF
1609 ac_status=$?
1610 fi
1611
1612 if test "$ac_init_help" = "recursive"; then
1613 # If there are subdirs, report their specific --help.
1614 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1615 test -d "$ac_dir" ||
1616 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1617 continue
1618 ac_builddir=.
1619
1620 case "$ac_dir" in
1621 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1622 *)
1623 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1624 # A ".." for each directory in $ac_dir_suffix.
1625 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1626 case $ac_top_builddir_sub in
1627 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1628 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1629 esac ;;
1630 esac
1631 ac_abs_top_builddir=$ac_pwd
1632 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1633 # for backward compatibility:
1634 ac_top_builddir=$ac_top_build_prefix
1635
1636 case $srcdir in
1637 .) # We are building in place.
1638 ac_srcdir=.
1639 ac_top_srcdir=$ac_top_builddir_sub
1640 ac_abs_top_srcdir=$ac_pwd ;;
1641 [\\/]* | ?:[\\/]* ) # Absolute name.
1642 ac_srcdir=$srcdir$ac_dir_suffix;
1643 ac_top_srcdir=$srcdir
1644 ac_abs_top_srcdir=$srcdir ;;
1645 *) # Relative name.
1646 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1647 ac_top_srcdir=$ac_top_build_prefix$srcdir
1648 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1649 esac
1650 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1651
1652 cd "$ac_dir" || { ac_status=$?; continue; }
1653 # Check for guested configure.
1654 if test -f "$ac_srcdir/configure.gnu"; then
1655 echo &&
1656 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1657 elif test -f "$ac_srcdir/configure"; then
1658 echo &&
1659 $SHELL "$ac_srcdir/configure" --help=recursive
1660 else
1661 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1662 fi || ac_status=$?
1663 cd "$ac_pwd" || { ac_status=$?; break; }
1664 done
1665 fi
1666
1667 test -n "$ac_init_help" && exit $ac_status
1668 if $ac_init_version; then
1669 cat <<\_ACEOF
1670 package-unused configure version-unused
1671 generated by GNU Autoconf 2.64
1672
1673 Copyright (C) 2009 Free Software Foundation, Inc.
1674 This configure script is free software; the Free Software Foundation
1675 gives unlimited permission to copy, distribute and modify it.
1676 _ACEOF
1677 exit
1678 fi
1679
1680 ## ------------------------ ##
1681 ## Autoconf initialization. ##
1682 ## ------------------------ ##
1683
1684 # ac_fn_c_try_compile LINENO
1685 # --------------------------
1686 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1687 ac_fn_c_try_compile ()
1688 {
1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1690 rm -f conftest.$ac_objext
1691 if { { ac_try="$ac_compile"
1692 case "(($ac_try" in
1693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1694 *) ac_try_echo=$ac_try;;
1695 esac
1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697 $as_echo "$ac_try_echo"; } >&5
1698 (eval "$ac_compile") 2>conftest.err
1699 ac_status=$?
1700 if test -s conftest.err; then
1701 grep -v '^ *+' conftest.err >conftest.er1
1702 cat conftest.er1 >&5
1703 mv -f conftest.er1 conftest.err
1704 fi
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } && {
1707 test -z "$ac_c_werror_flag" ||
1708 test ! -s conftest.err
1709 } && test -s conftest.$ac_objext; then :
1710 ac_retval=0
1711 else
1712 $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.$ac_ext >&5
1714
1715 ac_retval=1
1716 fi
1717 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1718 return $ac_retval
1719
1720 } # ac_fn_c_try_compile
1721
1722 # ac_fn_cxx_try_compile LINENO
1723 # ----------------------------
1724 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1725 ac_fn_cxx_try_compile ()
1726 {
1727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728 rm -f conftest.$ac_objext
1729 if { { ac_try="$ac_compile"
1730 case "(($ac_try" in
1731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1732 *) ac_try_echo=$ac_try;;
1733 esac
1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_compile") 2>conftest.err
1737 ac_status=$?
1738 if test -s conftest.err; then
1739 grep -v '^ *+' conftest.err >conftest.er1
1740 cat conftest.er1 >&5
1741 mv -f conftest.er1 conftest.err
1742 fi
1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744 test $ac_status = 0; } && {
1745 test -z "$ac_cxx_werror_flag" ||
1746 test ! -s conftest.err
1747 } && test -s conftest.$ac_objext; then :
1748 ac_retval=0
1749 else
1750 $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1752
1753 ac_retval=1
1754 fi
1755 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1756 return $ac_retval
1757
1758 } # ac_fn_cxx_try_compile
1759
1760 # ac_fn_c_try_cpp LINENO
1761 # ----------------------
1762 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1763 ac_fn_c_try_cpp ()
1764 {
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 if { { ac_try="$ac_cpp conftest.$ac_ext"
1767 case "(($ac_try" in
1768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1769 *) ac_try_echo=$ac_try;;
1770 esac
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1774 ac_status=$?
1775 if test -s conftest.err; then
1776 grep -v '^ *+' conftest.err >conftest.er1
1777 cat conftest.er1 >&5
1778 mv -f conftest.er1 conftest.err
1779 fi
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; } >/dev/null && {
1782 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1783 test ! -s conftest.err
1784 }; then :
1785 ac_retval=0
1786 else
1787 $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1789
1790 ac_retval=1
1791 fi
1792 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1793 return $ac_retval
1794
1795 } # ac_fn_c_try_cpp
1796
1797 # ac_fn_c_try_link LINENO
1798 # -----------------------
1799 # Try to link conftest.$ac_ext, and return whether this succeeded.
1800 ac_fn_c_try_link ()
1801 {
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 rm -f conftest.$ac_objext conftest$ac_exeext
1804 if { { ac_try="$ac_link"
1805 case "(($ac_try" in
1806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1807 *) ac_try_echo=$ac_try;;
1808 esac
1809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1810 $as_echo "$ac_try_echo"; } >&5
1811 (eval "$ac_link") 2>conftest.err
1812 ac_status=$?
1813 if test -s conftest.err; then
1814 grep -v '^ *+' conftest.err >conftest.er1
1815 cat conftest.er1 >&5
1816 mv -f conftest.er1 conftest.err
1817 fi
1818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819 test $ac_status = 0; } && {
1820 test -z "$ac_c_werror_flag" ||
1821 test ! -s conftest.err
1822 } && test -s conftest$ac_exeext && {
1823 test "$cross_compiling" = yes ||
1824 $as_test_x conftest$ac_exeext
1825 }; then :
1826 ac_retval=0
1827 else
1828 $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1830
1831 ac_retval=1
1832 fi
1833 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1834 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1835 # interfere with the next link command; also delete a directory that is
1836 # left behind by Apple's compiler. We do this before executing the actions.
1837 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1838 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1839 return $ac_retval
1840
1841 } # ac_fn_c_try_link
1842
1843 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1844 # -------------------------------------------------------
1845 # Tests whether HEADER exists and can be compiled using the include files in
1846 # INCLUDES, setting the cache variable VAR accordingly.
1847 ac_fn_c_check_header_compile ()
1848 {
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1851 $as_echo_n "checking for $2... " >&6; }
1852 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1853 $as_echo_n "(cached) " >&6
1854 else
1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1856 /* end confdefs.h. */
1857 $4
1858 #include <$2>
1859 _ACEOF
1860 if ac_fn_c_try_compile "$LINENO"; then :
1861 eval "$3=yes"
1862 else
1863 eval "$3=no"
1864 fi
1865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1866 fi
1867 eval ac_res=\$$3
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1870 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1871
1872 } # ac_fn_c_check_header_compile
1873
1874 # ac_fn_c_try_run LINENO
1875 # ----------------------
1876 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1877 # that executables *can* be run.
1878 ac_fn_c_try_run ()
1879 {
1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881 if { { ac_try="$ac_link"
1882 case "(($ac_try" in
1883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884 *) ac_try_echo=$ac_try;;
1885 esac
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888 (eval "$ac_link") 2>&5
1889 ac_status=$?
1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1892 { { case "(($ac_try" in
1893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1894 *) ac_try_echo=$ac_try;;
1895 esac
1896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1897 $as_echo "$ac_try_echo"; } >&5
1898 (eval "$ac_try") 2>&5
1899 ac_status=$?
1900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1901 test $ac_status = 0; }; }; then :
1902 ac_retval=0
1903 else
1904 $as_echo "$as_me: program exited with status $ac_status" >&5
1905 $as_echo "$as_me: failed program was:" >&5
1906 sed 's/^/| /' conftest.$ac_ext >&5
1907
1908 ac_retval=$ac_status
1909 fi
1910 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1911 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1912 return $ac_retval
1913
1914 } # ac_fn_c_try_run
1915
1916 # ac_fn_c_check_func LINENO FUNC VAR
1917 # ----------------------------------
1918 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1919 ac_fn_c_check_func ()
1920 {
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923 $as_echo_n "checking for $2... " >&6; }
1924 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1925 $as_echo_n "(cached) " >&6
1926 else
1927 if test x$gcc_no_link = xyes; then
1928 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1929 fi
1930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1931 /* end confdefs.h. */
1932 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1934 #define $2 innocuous_$2
1935
1936 /* System header to define __stub macros and hopefully few prototypes,
1937 which can conflict with char $2 (); below.
1938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1939 <limits.h> exists even on freestanding compilers. */
1940
1941 #ifdef __STDC__
1942 # include <limits.h>
1943 #else
1944 # include <assert.h>
1945 #endif
1946
1947 #undef $2
1948
1949 /* Override any GCC internal prototype to avoid an error.
1950 Use char because int might match the return type of a GCC
1951 builtin and then its argument prototype would still apply. */
1952 #ifdef __cplusplus
1953 extern "C"
1954 #endif
1955 char $2 ();
1956 /* The GNU C library defines this for functions which it implements
1957 to always fail with ENOSYS. Some functions are actually named
1958 something starting with __ and the normal name is an alias. */
1959 #if defined __stub_$2 || defined __stub___$2
1960 choke me
1961 #endif
1962
1963 int
1964 main ()
1965 {
1966 return $2 ();
1967 ;
1968 return 0;
1969 }
1970 _ACEOF
1971 if ac_fn_c_try_link "$LINENO"; then :
1972 eval "$3=yes"
1973 else
1974 eval "$3=no"
1975 fi
1976 rm -f core conftest.err conftest.$ac_objext \
1977 conftest$ac_exeext conftest.$ac_ext
1978 fi
1979 eval ac_res=\$$3
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1981 $as_echo "$ac_res" >&6; }
1982 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1983
1984 } # ac_fn_c_check_func
1985
1986 # ac_fn_cxx_try_cpp LINENO
1987 # ------------------------
1988 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1989 ac_fn_cxx_try_cpp ()
1990 {
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 if { { ac_try="$ac_cpp conftest.$ac_ext"
1993 case "(($ac_try" in
1994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1995 *) ac_try_echo=$ac_try;;
1996 esac
1997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998 $as_echo "$ac_try_echo"; } >&5
1999 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2000 ac_status=$?
2001 if test -s conftest.err; then
2002 grep -v '^ *+' conftest.err >conftest.er1
2003 cat conftest.er1 >&5
2004 mv -f conftest.er1 conftest.err
2005 fi
2006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2007 test $ac_status = 0; } >/dev/null && {
2008 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2009 test ! -s conftest.err
2010 }; then :
2011 ac_retval=0
2012 else
2013 $as_echo "$as_me: failed program was:" >&5
2014 sed 's/^/| /' conftest.$ac_ext >&5
2015
2016 ac_retval=1
2017 fi
2018 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2019 return $ac_retval
2020
2021 } # ac_fn_cxx_try_cpp
2022
2023 # ac_fn_cxx_try_link LINENO
2024 # -------------------------
2025 # Try to link conftest.$ac_ext, and return whether this succeeded.
2026 ac_fn_cxx_try_link ()
2027 {
2028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029 rm -f conftest.$ac_objext conftest$ac_exeext
2030 if { { ac_try="$ac_link"
2031 case "(($ac_try" in
2032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2033 *) ac_try_echo=$ac_try;;
2034 esac
2035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2036 $as_echo "$ac_try_echo"; } >&5
2037 (eval "$ac_link") 2>conftest.err
2038 ac_status=$?
2039 if test -s conftest.err; then
2040 grep -v '^ *+' conftest.err >conftest.er1
2041 cat conftest.er1 >&5
2042 mv -f conftest.er1 conftest.err
2043 fi
2044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2045 test $ac_status = 0; } && {
2046 test -z "$ac_cxx_werror_flag" ||
2047 test ! -s conftest.err
2048 } && test -s conftest$ac_exeext && {
2049 test "$cross_compiling" = yes ||
2050 $as_test_x conftest$ac_exeext
2051 }; then :
2052 ac_retval=0
2053 else
2054 $as_echo "$as_me: failed program was:" >&5
2055 sed 's/^/| /' conftest.$ac_ext >&5
2056
2057 ac_retval=1
2058 fi
2059 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2060 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2061 # interfere with the next link command; also delete a directory that is
2062 # left behind by Apple's compiler. We do this before executing the actions.
2063 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2064 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2065 return $ac_retval
2066
2067 } # ac_fn_cxx_try_link
2068
2069 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2070 # -------------------------------------------------------
2071 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2072 # the include files in INCLUDES and setting the cache variable VAR
2073 # accordingly.
2074 ac_fn_c_check_header_mongrel ()
2075 {
2076 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2077 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2079 $as_echo_n "checking for $2... " >&6; }
2080 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2081 $as_echo_n "(cached) " >&6
2082 fi
2083 eval ac_res=\$$3
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2085 $as_echo "$ac_res" >&6; }
2086 else
2087 # Is the header compilable?
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2089 $as_echo_n "checking $2 usability... " >&6; }
2090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2092 $4
2093 #include <$2>
2094 _ACEOF
2095 if ac_fn_c_try_compile "$LINENO"; then :
2096 ac_header_compiler=yes
2097 else
2098 ac_header_compiler=no
2099 fi
2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2102 $as_echo "$ac_header_compiler" >&6; }
2103
2104 # Is the header present?
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2106 $as_echo_n "checking $2 presence... " >&6; }
2107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2108 /* end confdefs.h. */
2109 #include <$2>
2110 _ACEOF
2111 if ac_fn_c_try_cpp "$LINENO"; then :
2112 ac_header_preproc=yes
2113 else
2114 ac_header_preproc=no
2115 fi
2116 rm -f conftest.err conftest.$ac_ext
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2118 $as_echo "$ac_header_preproc" >&6; }
2119
2120 # So? What about this header?
2121 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2122 yes:no: )
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2124 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2126 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2127 ;;
2128 no:yes:* )
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2130 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2132 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2134 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2136 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2138 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2139 ;;
2140 esac
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2142 $as_echo_n "checking for $2... " >&6; }
2143 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2144 $as_echo_n "(cached) " >&6
2145 else
2146 eval "$3=\$ac_header_compiler"
2147 fi
2148 eval ac_res=\$$3
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2150 $as_echo "$ac_res" >&6; }
2151 fi
2152 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2153
2154 } # ac_fn_c_check_header_mongrel
2155
2156 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2157 # ---------------------------------------------------------
2158 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2159 # the include files in INCLUDES and setting the cache variable VAR
2160 # accordingly.
2161 ac_fn_cxx_check_header_mongrel ()
2162 {
2163 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2164 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2166 $as_echo_n "checking for $2... " >&6; }
2167 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2168 $as_echo_n "(cached) " >&6
2169 fi
2170 eval ac_res=\$$3
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2172 $as_echo "$ac_res" >&6; }
2173 else
2174 # Is the header compilable?
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2176 $as_echo_n "checking $2 usability... " >&6; }
2177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2178 /* end confdefs.h. */
2179 $4
2180 #include <$2>
2181 _ACEOF
2182 if ac_fn_cxx_try_compile "$LINENO"; then :
2183 ac_header_compiler=yes
2184 else
2185 ac_header_compiler=no
2186 fi
2187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2189 $as_echo "$ac_header_compiler" >&6; }
2190
2191 # Is the header present?
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2193 $as_echo_n "checking $2 presence... " >&6; }
2194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2195 /* end confdefs.h. */
2196 #include <$2>
2197 _ACEOF
2198 if ac_fn_cxx_try_cpp "$LINENO"; then :
2199 ac_header_preproc=yes
2200 else
2201 ac_header_preproc=no
2202 fi
2203 rm -f conftest.err conftest.$ac_ext
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2205 $as_echo "$ac_header_preproc" >&6; }
2206
2207 # So? What about this header?
2208 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2209 yes:no: )
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2211 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2213 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2214 ;;
2215 no:yes:* )
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2217 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2219 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2221 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2223 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2225 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2226 ;;
2227 esac
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2229 $as_echo_n "checking for $2... " >&6; }
2230 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2231 $as_echo_n "(cached) " >&6
2232 else
2233 eval "$3=\$ac_header_compiler"
2234 fi
2235 eval ac_res=\$$3
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2237 $as_echo "$ac_res" >&6; }
2238 fi
2239 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2240
2241 } # ac_fn_cxx_check_header_mongrel
2242
2243 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2244 # --------------------------------------------
2245 # Tries to find the compile-time value of EXPR in a program that includes
2246 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2247 # computed
2248 ac_fn_c_compute_int ()
2249 {
2250 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2251 if test "$cross_compiling" = yes; then
2252 # Depending upon the size, compute the lo and hi bounds.
2253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2254 /* end confdefs.h. */
2255 $4
2256 int
2257 main ()
2258 {
2259 static int test_array [1 - 2 * !(($2) >= 0)];
2260 test_array [0] = 0
2261
2262 ;
2263 return 0;
2264 }
2265 _ACEOF
2266 if ac_fn_c_try_compile "$LINENO"; then :
2267 ac_lo=0 ac_mid=0
2268 while :; do
2269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2270 /* end confdefs.h. */
2271 $4
2272 int
2273 main ()
2274 {
2275 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2276 test_array [0] = 0
2277
2278 ;
2279 return 0;
2280 }
2281 _ACEOF
2282 if ac_fn_c_try_compile "$LINENO"; then :
2283 ac_hi=$ac_mid; break
2284 else
2285 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2286 if test $ac_lo -le $ac_mid; then
2287 ac_lo= ac_hi=
2288 break
2289 fi
2290 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2291 fi
2292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2293 done
2294 else
2295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2296 /* end confdefs.h. */
2297 $4
2298 int
2299 main ()
2300 {
2301 static int test_array [1 - 2 * !(($2) < 0)];
2302 test_array [0] = 0
2303
2304 ;
2305 return 0;
2306 }
2307 _ACEOF
2308 if ac_fn_c_try_compile "$LINENO"; then :
2309 ac_hi=-1 ac_mid=-1
2310 while :; do
2311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2312 /* end confdefs.h. */
2313 $4
2314 int
2315 main ()
2316 {
2317 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2318 test_array [0] = 0
2319
2320 ;
2321 return 0;
2322 }
2323 _ACEOF
2324 if ac_fn_c_try_compile "$LINENO"; then :
2325 ac_lo=$ac_mid; break
2326 else
2327 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2328 if test $ac_mid -le $ac_hi; then
2329 ac_lo= ac_hi=
2330 break
2331 fi
2332 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2333 fi
2334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2335 done
2336 else
2337 ac_lo= ac_hi=
2338 fi
2339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2340 fi
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 # Binary search between lo and hi bounds.
2343 while test "x$ac_lo" != "x$ac_hi"; do
2344 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2346 /* end confdefs.h. */
2347 $4
2348 int
2349 main ()
2350 {
2351 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2352 test_array [0] = 0
2353
2354 ;
2355 return 0;
2356 }
2357 _ACEOF
2358 if ac_fn_c_try_compile "$LINENO"; then :
2359 ac_hi=$ac_mid
2360 else
2361 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2362 fi
2363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2364 done
2365 case $ac_lo in #((
2366 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2367 '') ac_retval=1 ;;
2368 esac
2369 else
2370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2371 /* end confdefs.h. */
2372 $4
2373 static long int longval () { return $2; }
2374 static unsigned long int ulongval () { return $2; }
2375 #include <stdio.h>
2376 #include <stdlib.h>
2377 int
2378 main ()
2379 {
2380
2381 FILE *f = fopen ("conftest.val", "w");
2382 if (! f)
2383 return 1;
2384 if (($2) < 0)
2385 {
2386 long int i = longval ();
2387 if (i != ($2))
2388 return 1;
2389 fprintf (f, "%ld", i);
2390 }
2391 else
2392 {
2393 unsigned long int i = ulongval ();
2394 if (i != ($2))
2395 return 1;
2396 fprintf (f, "%lu", i);
2397 }
2398 /* Do not output a trailing newline, as this causes \r\n confusion
2399 on some platforms. */
2400 return ferror (f) || fclose (f) != 0;
2401
2402 ;
2403 return 0;
2404 }
2405 _ACEOF
2406 if ac_fn_c_try_run "$LINENO"; then :
2407 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2408 else
2409 ac_retval=1
2410 fi
2411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2412 conftest.$ac_objext conftest.beam conftest.$ac_ext
2413 rm -f conftest.val
2414
2415 fi
2416 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2417 return $ac_retval
2418
2419 } # ac_fn_c_compute_int
2420
2421 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2422 # -------------------------------------------
2423 # Tests whether TYPE exists after having included INCLUDES, setting cache
2424 # variable VAR accordingly.
2425 ac_fn_c_check_type ()
2426 {
2427 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2429 $as_echo_n "checking for $2... " >&6; }
2430 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2431 $as_echo_n "(cached) " >&6
2432 else
2433 eval "$3=no"
2434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2435 /* end confdefs.h. */
2436 $4
2437 int
2438 main ()
2439 {
2440 if (sizeof ($2))
2441 return 0;
2442 ;
2443 return 0;
2444 }
2445 _ACEOF
2446 if ac_fn_c_try_compile "$LINENO"; then :
2447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2448 /* end confdefs.h. */
2449 $4
2450 int
2451 main ()
2452 {
2453 if (sizeof (($2)))
2454 return 0;
2455 ;
2456 return 0;
2457 }
2458 _ACEOF
2459 if ac_fn_c_try_compile "$LINENO"; then :
2460
2461 else
2462 eval "$3=yes"
2463 fi
2464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2465 fi
2466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2467 fi
2468 eval ac_res=\$$3
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2470 $as_echo "$ac_res" >&6; }
2471 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2472
2473 } # ac_fn_c_check_type
2474 cat >config.log <<_ACEOF
2475 This file contains any messages produced by compilers while
2476 running configure, to aid debugging if configure makes a mistake.
2477
2478 It was created by package-unused $as_me version-unused, which was
2479 generated by GNU Autoconf 2.64. Invocation command line was
2480
2481 $ $0 $@
2482
2483 _ACEOF
2484 exec 5>>config.log
2485 {
2486 cat <<_ASUNAME
2487 ## --------- ##
2488 ## Platform. ##
2489 ## --------- ##
2490
2491 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2492 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2493 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2494 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2495 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2496
2497 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2498 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2499
2500 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2501 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2502 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2503 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2504 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2505 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2506 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2507
2508 _ASUNAME
2509
2510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511 for as_dir in $PATH
2512 do
2513 IFS=$as_save_IFS
2514 test -z "$as_dir" && as_dir=.
2515 $as_echo "PATH: $as_dir"
2516 done
2517 IFS=$as_save_IFS
2518
2519 } >&5
2520
2521 cat >&5 <<_ACEOF
2522
2523
2524 ## ----------- ##
2525 ## Core tests. ##
2526 ## ----------- ##
2527
2528 _ACEOF
2529
2530
2531 # Keep a trace of the command line.
2532 # Strip out --no-create and --no-recursion so they do not pile up.
2533 # Strip out --silent because we don't want to record it for future runs.
2534 # Also quote any args containing shell meta-characters.
2535 # Make two passes to allow for proper duplicate-argument suppression.
2536 ac_configure_args=
2537 ac_configure_args0=
2538 ac_configure_args1=
2539 ac_must_keep_next=false
2540 for ac_pass in 1 2
2541 do
2542 for ac_arg
2543 do
2544 case $ac_arg in
2545 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2546 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2547 | -silent | --silent | --silen | --sile | --sil)
2548 continue ;;
2549 *\'*)
2550 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2551 esac
2552 case $ac_pass in
2553 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2554 2)
2555 as_fn_append ac_configure_args1 " '$ac_arg'"
2556 if test $ac_must_keep_next = true; then
2557 ac_must_keep_next=false # Got value, back to normal.
2558 else
2559 case $ac_arg in
2560 *=* | --config-cache | -C | -disable-* | --disable-* \
2561 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2562 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2563 | -with-* | --with-* | -without-* | --without-* | --x)
2564 case "$ac_configure_args0 " in
2565 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2566 esac
2567 ;;
2568 -* ) ac_must_keep_next=true ;;
2569 esac
2570 fi
2571 as_fn_append ac_configure_args " '$ac_arg'"
2572 ;;
2573 esac
2574 done
2575 done
2576 { ac_configure_args0=; unset ac_configure_args0;}
2577 { ac_configure_args1=; unset ac_configure_args1;}
2578
2579 # When interrupted or exit'd, cleanup temporary files, and complete
2580 # config.log. We remove comments because anyway the quotes in there
2581 # would cause problems or look ugly.
2582 # WARNING: Use '\'' to represent an apostrophe within the trap.
2583 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2584 trap 'exit_status=$?
2585 # Save into config.log some information that might help in debugging.
2586 {
2587 echo
2588
2589 cat <<\_ASBOX
2590 ## ---------------- ##
2591 ## Cache variables. ##
2592 ## ---------------- ##
2593 _ASBOX
2594 echo
2595 # The following way of writing the cache mishandles newlines in values,
2596 (
2597 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2598 eval ac_val=\$$ac_var
2599 case $ac_val in #(
2600 *${as_nl}*)
2601 case $ac_var in #(
2602 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2603 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2604 esac
2605 case $ac_var in #(
2606 _ | IFS | as_nl) ;; #(
2607 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2608 *) { eval $ac_var=; unset $ac_var;} ;;
2609 esac ;;
2610 esac
2611 done
2612 (set) 2>&1 |
2613 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2614 *${as_nl}ac_space=\ *)
2615 sed -n \
2616 "s/'\''/'\''\\\\'\'''\''/g;
2617 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2618 ;; #(
2619 *)
2620 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2621 ;;
2622 esac |
2623 sort
2624 )
2625 echo
2626
2627 cat <<\_ASBOX
2628 ## ----------------- ##
2629 ## Output variables. ##
2630 ## ----------------- ##
2631 _ASBOX
2632 echo
2633 for ac_var in $ac_subst_vars
2634 do
2635 eval ac_val=\$$ac_var
2636 case $ac_val in
2637 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2638 esac
2639 $as_echo "$ac_var='\''$ac_val'\''"
2640 done | sort
2641 echo
2642
2643 if test -n "$ac_subst_files"; then
2644 cat <<\_ASBOX
2645 ## ------------------- ##
2646 ## File substitutions. ##
2647 ## ------------------- ##
2648 _ASBOX
2649 echo
2650 for ac_var in $ac_subst_files
2651 do
2652 eval ac_val=\$$ac_var
2653 case $ac_val in
2654 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2655 esac
2656 $as_echo "$ac_var='\''$ac_val'\''"
2657 done | sort
2658 echo
2659 fi
2660
2661 if test -s confdefs.h; then
2662 cat <<\_ASBOX
2663 ## ----------- ##
2664 ## confdefs.h. ##
2665 ## ----------- ##
2666 _ASBOX
2667 echo
2668 cat confdefs.h
2669 echo
2670 fi
2671 test "$ac_signal" != 0 &&
2672 $as_echo "$as_me: caught signal $ac_signal"
2673 $as_echo "$as_me: exit $exit_status"
2674 } >&5
2675 rm -f core *.core core.conftest.* &&
2676 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2677 exit $exit_status
2678 ' 0
2679 for ac_signal in 1 2 13 15; do
2680 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2681 done
2682 ac_signal=0
2683
2684 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2685 rm -f -r conftest* confdefs.h
2686
2687 $as_echo "/* confdefs.h */" > confdefs.h
2688
2689 # Predefined preprocessor variables.
2690
2691 cat >>confdefs.h <<_ACEOF
2692 #define PACKAGE_NAME "$PACKAGE_NAME"
2693 _ACEOF
2694
2695 cat >>confdefs.h <<_ACEOF
2696 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2697 _ACEOF
2698
2699 cat >>confdefs.h <<_ACEOF
2700 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2701 _ACEOF
2702
2703 cat >>confdefs.h <<_ACEOF
2704 #define PACKAGE_STRING "$PACKAGE_STRING"
2705 _ACEOF
2706
2707 cat >>confdefs.h <<_ACEOF
2708 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2709 _ACEOF
2710
2711 cat >>confdefs.h <<_ACEOF
2712 #define PACKAGE_URL "$PACKAGE_URL"
2713 _ACEOF
2714
2715
2716 # Let the site file select an alternate cache file if it wants to.
2717 # Prefer an explicitly selected file to automatically selected ones.
2718 ac_site_file1=NONE
2719 ac_site_file2=NONE
2720 if test -n "$CONFIG_SITE"; then
2721 ac_site_file1=$CONFIG_SITE
2722 elif test "x$prefix" != xNONE; then
2723 ac_site_file1=$prefix/share/config.site
2724 ac_site_file2=$prefix/etc/config.site
2725 else
2726 ac_site_file1=$ac_default_prefix/share/config.site
2727 ac_site_file2=$ac_default_prefix/etc/config.site
2728 fi
2729 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2730 do
2731 test "x$ac_site_file" = xNONE && continue
2732 if test -r "$ac_site_file"; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2734 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2735 sed 's/^/| /' "$ac_site_file" >&5
2736 . "$ac_site_file"
2737 fi
2738 done
2739
2740 if test -r "$cache_file"; then
2741 # Some versions of bash will fail to source /dev/null (special
2742 # files actually), so we avoid doing that.
2743 if test -f "$cache_file"; then
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2745 $as_echo "$as_me: loading cache $cache_file" >&6;}
2746 case $cache_file in
2747 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2748 *) . "./$cache_file";;
2749 esac
2750 fi
2751 else
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2753 $as_echo "$as_me: creating cache $cache_file" >&6;}
2754 >$cache_file
2755 fi
2756
2757 # Check that the precious variables saved in the cache have kept the same
2758 # value.
2759 ac_cache_corrupted=false
2760 for ac_var in $ac_precious_vars; do
2761 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2762 eval ac_new_set=\$ac_env_${ac_var}_set
2763 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2764 eval ac_new_val=\$ac_env_${ac_var}_value
2765 case $ac_old_set,$ac_new_set in
2766 set,)
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2768 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2769 ac_cache_corrupted=: ;;
2770 ,set)
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2772 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2773 ac_cache_corrupted=: ;;
2774 ,);;
2775 *)
2776 if test "x$ac_old_val" != "x$ac_new_val"; then
2777 # differences in whitespace do not lead to failure.
2778 ac_old_val_w=`echo x $ac_old_val`
2779 ac_new_val_w=`echo x $ac_new_val`
2780 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2782 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2783 ac_cache_corrupted=:
2784 else
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2786 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2787 eval $ac_var=\$ac_old_val
2788 fi
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2790 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2792 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2793 fi;;
2794 esac
2795 # Pass precious variables to config.status.
2796 if test "$ac_new_set" = set; then
2797 case $ac_new_val in
2798 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2799 *) ac_arg=$ac_var=$ac_new_val ;;
2800 esac
2801 case " $ac_configure_args " in
2802 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2803 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2804 esac
2805 fi
2806 done
2807 if $ac_cache_corrupted; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2811 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2812 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2813 fi
2814 ## -------------------- ##
2815 ## Main body of script. ##
2816 ## -------------------- ##
2817
2818 ac_ext=c
2819 ac_cpp='$CPP $CPPFLAGS'
2820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2823
2824
2825
2826
2827
2828
2829 ac_config_headers="$ac_config_headers config.h"
2830
2831
2832 # This works around the fact that libtool configuration may change LD
2833 # for this particular configuration, but some shells, instead of
2834 # keeping the changes in LD private, export them just because LD is
2835 # exported. Only used at the end of this file.
2836 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2837
2838 # Find the rest of the source tree framework.
2839 # Default to --enable-multilib
2840 # Check whether --enable-multilib was given.
2841 if test "${enable_multilib+set}" = set; then :
2842 enableval=$enable_multilib; case "$enableval" in
2843 yes) multilib=yes ;;
2844 no) multilib=no ;;
2845 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2846 esac
2847 else
2848 multilib=yes
2849 fi
2850
2851
2852 # We may get other options which we leave undocumented:
2853 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2854 # See config-ml.in if you want the gory details.
2855
2856 if test "$srcdir" = "."; then
2857 if test "$with_target_subdir" != "."; then
2858 multi_basedir="$srcdir/$with_multisrctop../.."
2859 else
2860 multi_basedir="$srcdir/$with_multisrctop.."
2861 fi
2862 else
2863 multi_basedir="$srcdir/.."
2864 fi
2865
2866
2867 # Even if the default multilib is not a cross compilation,
2868 # it may be that some of the other multilibs are.
2869 if test $cross_compiling = no && test $multilib = yes \
2870 && test "x${with_multisubdir}" != x ; then
2871 cross_compiling=maybe
2872 fi
2873
2874 ac_config_commands="$ac_config_commands default-1"
2875
2876
2877 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2878 #
2879 # You will slowly go insane if you do not grok the following fact: when
2880 # building v3 as part of the compiler, the top-level /target/ becomes the
2881 # library's /host/. configure then causes --target to default to --host,
2882 # exactly like any other package using autoconf. Therefore, 'target' and
2883 # 'host' will always be the same. This makes sense both for native and
2884 # cross compilers, just think about it for a little while. :-)
2885 #
2886 # Also, if v3 is being configured as part of a cross compiler, the top-level
2887 # configure script will pass the "real" host as $with_cross_host.
2888 #
2889 # Do not delete or change the following two lines. For why, see
2890 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2891 ac_aux_dir=
2892 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2893 for ac_t in install-sh install.sh shtool; do
2894 if test -f "$ac_dir/$ac_t"; then
2895 ac_aux_dir=$ac_dir
2896 ac_install_sh="$ac_aux_dir/$ac_t -c"
2897 break 2
2898 fi
2899 done
2900 done
2901 if test -z "$ac_aux_dir"; then
2902 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2903 fi
2904
2905 # These three variables are undocumented and unsupported,
2906 # and are intended to be withdrawn in a future Autoconf release.
2907 # They can cause serious problems if a builder's source tree is in a directory
2908 # whose full name contains unusual characters.
2909 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2910 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2911 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2912
2913
2914 # Make sure we can run config.sub.
2915 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2916 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2917
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2919 $as_echo_n "checking build system type... " >&6; }
2920 if test "${ac_cv_build+set}" = set; then :
2921 $as_echo_n "(cached) " >&6
2922 else
2923 ac_build_alias=$build_alias
2924 test "x$ac_build_alias" = x &&
2925 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2926 test "x$ac_build_alias" = x &&
2927 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2928 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2929 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2930
2931 fi
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2933 $as_echo "$ac_cv_build" >&6; }
2934 case $ac_cv_build in
2935 *-*-*) ;;
2936 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2937 esac
2938 build=$ac_cv_build
2939 ac_save_IFS=$IFS; IFS='-'
2940 set x $ac_cv_build
2941 shift
2942 build_cpu=$1
2943 build_vendor=$2
2944 shift; shift
2945 # Remember, the first character of IFS is used to create $*,
2946 # except with old shells:
2947 build_os=$*
2948 IFS=$ac_save_IFS
2949 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2950
2951
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2953 $as_echo_n "checking host system type... " >&6; }
2954 if test "${ac_cv_host+set}" = set; then :
2955 $as_echo_n "(cached) " >&6
2956 else
2957 if test "x$host_alias" = x; then
2958 ac_cv_host=$ac_cv_build
2959 else
2960 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2961 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2962 fi
2963
2964 fi
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2966 $as_echo "$ac_cv_host" >&6; }
2967 case $ac_cv_host in
2968 *-*-*) ;;
2969 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2970 esac
2971 host=$ac_cv_host
2972 ac_save_IFS=$IFS; IFS='-'
2973 set x $ac_cv_host
2974 shift
2975 host_cpu=$1
2976 host_vendor=$2
2977 shift; shift
2978 # Remember, the first character of IFS is used to create $*,
2979 # except with old shells:
2980 host_os=$*
2981 IFS=$ac_save_IFS
2982 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2983
2984
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2986 $as_echo_n "checking target system type... " >&6; }
2987 if test "${ac_cv_target+set}" = set; then :
2988 $as_echo_n "(cached) " >&6
2989 else
2990 if test "x$target_alias" = x; then
2991 ac_cv_target=$ac_cv_host
2992 else
2993 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2994 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2995 fi
2996
2997 fi
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2999 $as_echo "$ac_cv_target" >&6; }
3000 case $ac_cv_target in
3001 *-*-*) ;;
3002 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3003 esac
3004 target=$ac_cv_target
3005 ac_save_IFS=$IFS; IFS='-'
3006 set x $ac_cv_target
3007 shift
3008 target_cpu=$1
3009 target_vendor=$2
3010 shift; shift
3011 # Remember, the first character of IFS is used to create $*,
3012 # except with old shells:
3013 target_os=$*
3014 IFS=$ac_save_IFS
3015 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3016
3017
3018 # The aliases save the names the user supplied, while $host etc.
3019 # will get canonicalized.
3020 test -n "$target_alias" &&
3021 test "$program_prefix$program_suffix$program_transform_name" = \
3022 NONENONEs,x,x, &&
3023 program_prefix=${target_alias}-
3024
3025 target_alias=${target_alias-$host_alias}
3026
3027 # Handy for debugging:
3028 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3029
3030 if test "$build" != "$host"; then
3031 # We are being configured with some form of cross compiler.
3032 GLIBCXX_IS_NATIVE=false
3033 case "$host","$target" in
3034 # Darwin crosses can use the host system's libraries and headers,
3035 # because of the fat library support. Of course, it must be the
3036 # same version of Darwin on both sides. Allow the user to
3037 # just say --target=foo-darwin without a version number to mean
3038 # "the version on this system".
3039 *-*-darwin*,*-*-darwin*)
3040 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3041 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3042 if test $hostos = $targetos -o $targetos = darwin ; then
3043 GLIBCXX_IS_NATIVE=true
3044 fi
3045 ;;
3046
3047 *)
3048
3049 ;;
3050 esac
3051 else
3052 GLIBCXX_IS_NATIVE=true
3053 fi
3054
3055 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3056 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3057 # 1.x: minimum required version
3058 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3059 # of other PACKAGE_* variables will, however, and there's nothing
3060 # we can do about that; they come from AC_INIT).
3061 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3062 # file in the top srcdir, etc, etc), so stop complaining.
3063 # no-dependencies: turns off auto dependency generation (just for now)
3064 # no-dist: we don't want 'dist' and related rules.
3065 # -Wall: turns on all automake warnings...
3066 # -Wno-portability: ...except this one, since GNU make is now required.
3067 am__api_version='1.11'
3068
3069 # Find a good install program. We prefer a C program (faster),
3070 # so one script is as good as another. But avoid the broken or
3071 # incompatible versions:
3072 # SysV /etc/install, /usr/sbin/install
3073 # SunOS /usr/etc/install
3074 # IRIX /sbin/install
3075 # AIX /bin/install
3076 # AmigaOS /C/install, which installs bootblocks on floppy discs
3077 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3078 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3079 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3080 # OS/2's system install, which has a completely different semantic
3081 # ./install, which can be erroneously created by make from ./install.sh.
3082 # Reject install programs that cannot install multiple files.
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3084 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3085 if test -z "$INSTALL"; then
3086 if test "${ac_cv_path_install+set}" = set; then :
3087 $as_echo_n "(cached) " >&6
3088 else
3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3090 for as_dir in $PATH
3091 do
3092 IFS=$as_save_IFS
3093 test -z "$as_dir" && as_dir=.
3094 # Account for people who put trailing slashes in PATH elements.
3095 case $as_dir/ in #((
3096 ./ | .// | /[cC]/* | \
3097 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3098 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3099 /usr/ucb/* ) ;;
3100 *)
3101 # OSF1 and SCO ODT 3.0 have their own names for install.
3102 # Don't use installbsd from OSF since it installs stuff as root
3103 # by default.
3104 for ac_prog in ginstall scoinst install; do
3105 for ac_exec_ext in '' $ac_executable_extensions; do
3106 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3107 if test $ac_prog = install &&
3108 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3109 # AIX install. It has an incompatible calling convention.
3110 :
3111 elif test $ac_prog = install &&
3112 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3113 # program-specific install script used by HP pwplus--don't use.
3114 :
3115 else
3116 rm -rf conftest.one conftest.two conftest.dir
3117 echo one > conftest.one
3118 echo two > conftest.two
3119 mkdir conftest.dir
3120 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3121 test -s conftest.one && test -s conftest.two &&
3122 test -s conftest.dir/conftest.one &&
3123 test -s conftest.dir/conftest.two
3124 then
3125 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3126 break 3
3127 fi
3128 fi
3129 fi
3130 done
3131 done
3132 ;;
3133 esac
3134
3135 done
3136 IFS=$as_save_IFS
3137
3138 rm -rf conftest.one conftest.two conftest.dir
3139
3140 fi
3141 if test "${ac_cv_path_install+set}" = set; then
3142 INSTALL=$ac_cv_path_install
3143 else
3144 # As a last resort, use the slow shell script. Don't cache a
3145 # value for INSTALL within a source directory, because that will
3146 # break other packages using the cache if that directory is
3147 # removed, or if the value is a relative name.
3148 INSTALL=$ac_install_sh
3149 fi
3150 fi
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3152 $as_echo "$INSTALL" >&6; }
3153
3154 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3155 # It thinks the first close brace ends the variable substitution.
3156 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3157
3158 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3159
3160 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3161
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3163 $as_echo_n "checking whether build environment is sane... " >&6; }
3164 # Just in case
3165 sleep 1
3166 echo timestamp > conftest.file
3167 # Reject unsafe characters in $srcdir or the absolute working directory
3168 # name. Accept space and tab only in the latter.
3169 am_lf='
3170 '
3171 case `pwd` in
3172 *[\\\"\#\$\&\'\`$am_lf]*)
3173 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3174 esac
3175 case $srcdir in
3176 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3177 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3178 esac
3179
3180 # Do `set' in a subshell so we don't clobber the current shell's
3181 # arguments. Must try -L first in case configure is actually a
3182 # symlink; some systems play weird games with the mod time of symlinks
3183 # (eg FreeBSD returns the mod time of the symlink's containing
3184 # directory).
3185 if (
3186 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3187 if test "$*" = "X"; then
3188 # -L didn't work.
3189 set X `ls -t "$srcdir/configure" conftest.file`
3190 fi
3191 rm -f conftest.file
3192 if test "$*" != "X $srcdir/configure conftest.file" \
3193 && test "$*" != "X conftest.file $srcdir/configure"; then
3194
3195 # If neither matched, then we have a broken ls. This can happen
3196 # if, for instance, CONFIG_SHELL is bash and it inherits a
3197 # broken ls alias from the environment. This has actually
3198 # happened. Such a system could not be considered "sane".
3199 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3200 alias in your environment" "$LINENO" 5
3201 fi
3202
3203 test "$2" = conftest.file
3204 )
3205 then
3206 # Ok.
3207 :
3208 else
3209 as_fn_error "newly created file is older than distributed files!
3210 Check your system clock" "$LINENO" 5
3211 fi
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3213 $as_echo "yes" >&6; }
3214 test "$program_prefix" != NONE &&
3215 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3216 # Use a double $ so make ignores it.
3217 test "$program_suffix" != NONE &&
3218 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3219 # Double any \ or $.
3220 # By default was `s,x,x', remove it if useless.
3221 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3222 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3223
3224 # expand $ac_aux_dir to an absolute path
3225 am_aux_dir=`cd $ac_aux_dir && pwd`
3226
3227 if test x"${MISSING+set}" != xset; then
3228 case $am_aux_dir in
3229 *\ * | *\ *)
3230 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3231 *)
3232 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3233 esac
3234 fi
3235 # Use eval to expand $SHELL
3236 if eval "$MISSING --run true"; then
3237 am_missing_run="$MISSING --run "
3238 else
3239 am_missing_run=
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3241 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3242 fi
3243
3244 if test x"${install_sh}" != xset; then
3245 case $am_aux_dir in
3246 *\ * | *\ *)
3247 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3248 *)
3249 install_sh="\${SHELL} $am_aux_dir/install-sh"
3250 esac
3251 fi
3252
3253 # Installed binaries are usually stripped using `strip' when the user
3254 # run `make install-strip'. However `strip' might not be the right
3255 # tool to use in cross-compilation environments, therefore Automake
3256 # will honor the `STRIP' environment variable to overrule this program.
3257 if test "$cross_compiling" != no; then
3258 if test -n "$ac_tool_prefix"; then
3259 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3260 set dummy ${ac_tool_prefix}strip; ac_word=$2
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3262 $as_echo_n "checking for $ac_word... " >&6; }
3263 if test "${ac_cv_prog_STRIP+set}" = set; then :
3264 $as_echo_n "(cached) " >&6
3265 else
3266 if test -n "$STRIP"; then
3267 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3268 else
3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3270 for as_dir in $PATH
3271 do
3272 IFS=$as_save_IFS
3273 test -z "$as_dir" && as_dir=.
3274 for ac_exec_ext in '' $ac_executable_extensions; do
3275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3276 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3278 break 2
3279 fi
3280 done
3281 done
3282 IFS=$as_save_IFS
3283
3284 fi
3285 fi
3286 STRIP=$ac_cv_prog_STRIP
3287 if test -n "$STRIP"; then
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3289 $as_echo "$STRIP" >&6; }
3290 else
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 $as_echo "no" >&6; }
3293 fi
3294
3295
3296 fi
3297 if test -z "$ac_cv_prog_STRIP"; then
3298 ac_ct_STRIP=$STRIP
3299 # Extract the first word of "strip", so it can be a program name with args.
3300 set dummy strip; ac_word=$2
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 $as_echo_n "checking for $ac_word... " >&6; }
3303 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3304 $as_echo_n "(cached) " >&6
3305 else
3306 if test -n "$ac_ct_STRIP"; then
3307 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3308 else
3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3310 for as_dir in $PATH
3311 do
3312 IFS=$as_save_IFS
3313 test -z "$as_dir" && as_dir=.
3314 for ac_exec_ext in '' $ac_executable_extensions; do
3315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3316 ac_cv_prog_ac_ct_STRIP="strip"
3317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318 break 2
3319 fi
3320 done
3321 done
3322 IFS=$as_save_IFS
3323
3324 fi
3325 fi
3326 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3327 if test -n "$ac_ct_STRIP"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3329 $as_echo "$ac_ct_STRIP" >&6; }
3330 else
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3333 fi
3334
3335 if test "x$ac_ct_STRIP" = x; then
3336 STRIP=":"
3337 else
3338 case $cross_compiling:$ac_tool_warned in
3339 yes:)
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3342 ac_tool_warned=yes ;;
3343 esac
3344 STRIP=$ac_ct_STRIP
3345 fi
3346 else
3347 STRIP="$ac_cv_prog_STRIP"
3348 fi
3349
3350 fi
3351 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3352
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3354 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3355 if test -z "$MKDIR_P"; then
3356 if test "${ac_cv_path_mkdir+set}" = set; then :
3357 $as_echo_n "(cached) " >&6
3358 else
3359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3360 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3361 do
3362 IFS=$as_save_IFS
3363 test -z "$as_dir" && as_dir=.
3364 for ac_prog in mkdir gmkdir; do
3365 for ac_exec_ext in '' $ac_executable_extensions; do
3366 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3367 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3368 'mkdir (GNU coreutils) '* | \
3369 'mkdir (coreutils) '* | \
3370 'mkdir (fileutils) '4.1*)
3371 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3372 break 3;;
3373 esac
3374 done
3375 done
3376 done
3377 IFS=$as_save_IFS
3378
3379 fi
3380
3381 if test "${ac_cv_path_mkdir+set}" = set; then
3382 MKDIR_P="$ac_cv_path_mkdir -p"
3383 else
3384 # As a last resort, use the slow shell script. Don't cache a
3385 # value for MKDIR_P within a source directory, because that will
3386 # break other packages using the cache if that directory is
3387 # removed, or if the value is a relative name.
3388 test -d ./--version && rmdir ./--version
3389 MKDIR_P="$ac_install_sh -d"
3390 fi
3391 fi
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3393 $as_echo "$MKDIR_P" >&6; }
3394
3395 mkdir_p="$MKDIR_P"
3396 case $mkdir_p in
3397 [\\/$]* | ?:[\\/]*) ;;
3398 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3399 esac
3400
3401 for ac_prog in gawk mawk nawk awk
3402 do
3403 # Extract the first word of "$ac_prog", so it can be a program name with args.
3404 set dummy $ac_prog; ac_word=$2
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3406 $as_echo_n "checking for $ac_word... " >&6; }
3407 if test "${ac_cv_prog_AWK+set}" = set; then :
3408 $as_echo_n "(cached) " >&6
3409 else
3410 if test -n "$AWK"; then
3411 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3412 else
3413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3414 for as_dir in $PATH
3415 do
3416 IFS=$as_save_IFS
3417 test -z "$as_dir" && as_dir=.
3418 for ac_exec_ext in '' $ac_executable_extensions; do
3419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3420 ac_cv_prog_AWK="$ac_prog"
3421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3422 break 2
3423 fi
3424 done
3425 done
3426 IFS=$as_save_IFS
3427
3428 fi
3429 fi
3430 AWK=$ac_cv_prog_AWK
3431 if test -n "$AWK"; then
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3433 $as_echo "$AWK" >&6; }
3434 else
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3436 $as_echo "no" >&6; }
3437 fi
3438
3439
3440 test -n "$AWK" && break
3441 done
3442
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3444 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3445 set x ${MAKE-make}
3446 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3447 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3448 $as_echo_n "(cached) " >&6
3449 else
3450 cat >conftest.make <<\_ACEOF
3451 SHELL = /bin/sh
3452 all:
3453 @echo '@@@%%%=$(MAKE)=@@@%%%'
3454 _ACEOF
3455 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3456 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3457 *@@@%%%=?*=@@@%%%*)
3458 eval ac_cv_prog_make_${ac_make}_set=yes;;
3459 *)
3460 eval ac_cv_prog_make_${ac_make}_set=no;;
3461 esac
3462 rm -f conftest.make
3463 fi
3464 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3466 $as_echo "yes" >&6; }
3467 SET_MAKE=
3468 else
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3470 $as_echo "no" >&6; }
3471 SET_MAKE="MAKE=${MAKE-make}"
3472 fi
3473
3474 rm -rf .tst 2>/dev/null
3475 mkdir .tst 2>/dev/null
3476 if test -d .tst; then
3477 am__leading_dot=.
3478 else
3479 am__leading_dot=_
3480 fi
3481 rmdir .tst 2>/dev/null
3482
3483 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3484 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3485 # is not polluted with repeated "-I."
3486 am__isrc=' -I$(srcdir)'
3487 # test to see if srcdir already configured
3488 if test -f $srcdir/config.status; then
3489 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3490 fi
3491 fi
3492
3493 # test whether we have cygpath
3494 if test -z "$CYGPATH_W"; then
3495 if (cygpath --version) >/dev/null 2>/dev/null; then
3496 CYGPATH_W='cygpath -w'
3497 else
3498 CYGPATH_W=echo
3499 fi
3500 fi
3501
3502
3503 # Define the identity of the package.
3504 PACKAGE='libstdc++'
3505 VERSION='version-unused'
3506
3507
3508 # Some tools Automake needs.
3509
3510 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3511
3512
3513 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3514
3515
3516 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3517
3518
3519 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3520
3521
3522 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3523
3524 # We need awk for the "check" target. The system "awk" is bad on
3525 # some platforms.
3526 # Always define AMTAR for backward compatibility.
3527
3528 AMTAR=${AMTAR-"${am_missing_run}tar"}
3529
3530 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3531
3532
3533
3534
3535
3536
3537
3538
3539 # -fno-builtin must be present here so that a non-conflicting form of
3540 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3541
3542 save_CXXFLAGS="$CXXFLAGS"
3543 CXXFLAGS="$CXXFLAGS -fno-builtin"
3544 ac_ext=c
3545 ac_cpp='$CPP $CPPFLAGS'
3546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3549 if test -n "$ac_tool_prefix"; then
3550 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3551 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3553 $as_echo_n "checking for $ac_word... " >&6; }
3554 if test "${ac_cv_prog_CC+set}" = set; then :
3555 $as_echo_n "(cached) " >&6
3556 else
3557 if test -n "$CC"; then
3558 ac_cv_prog_CC="$CC" # Let the user override the test.
3559 else
3560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3561 for as_dir in $PATH
3562 do
3563 IFS=$as_save_IFS
3564 test -z "$as_dir" && as_dir=.
3565 for ac_exec_ext in '' $ac_executable_extensions; do
3566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3567 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3569 break 2
3570 fi
3571 done
3572 done
3573 IFS=$as_save_IFS
3574
3575 fi
3576 fi
3577 CC=$ac_cv_prog_CC
3578 if test -n "$CC"; then
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3580 $as_echo "$CC" >&6; }
3581 else
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3583 $as_echo "no" >&6; }
3584 fi
3585
3586
3587 fi
3588 if test -z "$ac_cv_prog_CC"; then
3589 ac_ct_CC=$CC
3590 # Extract the first word of "gcc", so it can be a program name with args.
3591 set dummy gcc; ac_word=$2
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3593 $as_echo_n "checking for $ac_word... " >&6; }
3594 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3595 $as_echo_n "(cached) " >&6
3596 else
3597 if test -n "$ac_ct_CC"; then
3598 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3599 else
3600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3601 for as_dir in $PATH
3602 do
3603 IFS=$as_save_IFS
3604 test -z "$as_dir" && as_dir=.
3605 for ac_exec_ext in '' $ac_executable_extensions; do
3606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3607 ac_cv_prog_ac_ct_CC="gcc"
3608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3609 break 2
3610 fi
3611 done
3612 done
3613 IFS=$as_save_IFS
3614
3615 fi
3616 fi
3617 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3618 if test -n "$ac_ct_CC"; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3620 $as_echo "$ac_ct_CC" >&6; }
3621 else
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3623 $as_echo "no" >&6; }
3624 fi
3625
3626 if test "x$ac_ct_CC" = x; then
3627 CC=""
3628 else
3629 case $cross_compiling:$ac_tool_warned in
3630 yes:)
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3633 ac_tool_warned=yes ;;
3634 esac
3635 CC=$ac_ct_CC
3636 fi
3637 else
3638 CC="$ac_cv_prog_CC"
3639 fi
3640
3641 if test -z "$CC"; then
3642 if test -n "$ac_tool_prefix"; then
3643 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3644 set dummy ${ac_tool_prefix}cc; ac_word=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if test "${ac_cv_prog_CC+set}" = set; then :
3648 $as_echo_n "(cached) " >&6
3649 else
3650 if test -n "$CC"; then
3651 ac_cv_prog_CC="$CC" # Let the user override the test.
3652 else
3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3654 for as_dir in $PATH
3655 do
3656 IFS=$as_save_IFS
3657 test -z "$as_dir" && as_dir=.
3658 for ac_exec_ext in '' $ac_executable_extensions; do
3659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3660 ac_cv_prog_CC="${ac_tool_prefix}cc"
3661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 break 2
3663 fi
3664 done
3665 done
3666 IFS=$as_save_IFS
3667
3668 fi
3669 fi
3670 CC=$ac_cv_prog_CC
3671 if test -n "$CC"; then
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3673 $as_echo "$CC" >&6; }
3674 else
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3676 $as_echo "no" >&6; }
3677 fi
3678
3679
3680 fi
3681 fi
3682 if test -z "$CC"; then
3683 # Extract the first word of "cc", so it can be a program name with args.
3684 set dummy cc; ac_word=$2
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3686 $as_echo_n "checking for $ac_word... " >&6; }
3687 if test "${ac_cv_prog_CC+set}" = set; then :
3688 $as_echo_n "(cached) " >&6
3689 else
3690 if test -n "$CC"; then
3691 ac_cv_prog_CC="$CC" # Let the user override the test.
3692 else
3693 ac_prog_rejected=no
3694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695 for as_dir in $PATH
3696 do
3697 IFS=$as_save_IFS
3698 test -z "$as_dir" && as_dir=.
3699 for ac_exec_ext in '' $ac_executable_extensions; do
3700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3701 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3702 ac_prog_rejected=yes
3703 continue
3704 fi
3705 ac_cv_prog_CC="cc"
3706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 break 2
3708 fi
3709 done
3710 done
3711 IFS=$as_save_IFS
3712
3713 if test $ac_prog_rejected = yes; then
3714 # We found a bogon in the path, so make sure we never use it.
3715 set dummy $ac_cv_prog_CC
3716 shift
3717 if test $# != 0; then
3718 # We chose a different compiler from the bogus one.
3719 # However, it has the same basename, so the bogon will be chosen
3720 # first if we set CC to just the basename; use the full file name.
3721 shift
3722 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3723 fi
3724 fi
3725 fi
3726 fi
3727 CC=$ac_cv_prog_CC
3728 if test -n "$CC"; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3730 $as_echo "$CC" >&6; }
3731 else
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3734 fi
3735
3736
3737 fi
3738 if test -z "$CC"; then
3739 if test -n "$ac_tool_prefix"; then
3740 for ac_prog in cl.exe
3741 do
3742 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3743 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if test "${ac_cv_prog_CC+set}" = set; then :
3747 $as_echo_n "(cached) " >&6
3748 else
3749 if test -n "$CC"; then
3750 ac_cv_prog_CC="$CC" # Let the user override the test.
3751 else
3752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3753 for as_dir in $PATH
3754 do
3755 IFS=$as_save_IFS
3756 test -z "$as_dir" && as_dir=.
3757 for ac_exec_ext in '' $ac_executable_extensions; do
3758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3759 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3761 break 2
3762 fi
3763 done
3764 done
3765 IFS=$as_save_IFS
3766
3767 fi
3768 fi
3769 CC=$ac_cv_prog_CC
3770 if test -n "$CC"; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3772 $as_echo "$CC" >&6; }
3773 else
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3776 fi
3777
3778
3779 test -n "$CC" && break
3780 done
3781 fi
3782 if test -z "$CC"; then
3783 ac_ct_CC=$CC
3784 for ac_prog in cl.exe
3785 do
3786 # Extract the first word of "$ac_prog", so it can be a program name with args.
3787 set dummy $ac_prog; ac_word=$2
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789 $as_echo_n "checking for $ac_word... " >&6; }
3790 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3791 $as_echo_n "(cached) " >&6
3792 else
3793 if test -n "$ac_ct_CC"; then
3794 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3795 else
3796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3797 for as_dir in $PATH
3798 do
3799 IFS=$as_save_IFS
3800 test -z "$as_dir" && as_dir=.
3801 for ac_exec_ext in '' $ac_executable_extensions; do
3802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3803 ac_cv_prog_ac_ct_CC="$ac_prog"
3804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 break 2
3806 fi
3807 done
3808 done
3809 IFS=$as_save_IFS
3810
3811 fi
3812 fi
3813 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3814 if test -n "$ac_ct_CC"; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3816 $as_echo "$ac_ct_CC" >&6; }
3817 else
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819 $as_echo "no" >&6; }
3820 fi
3821
3822
3823 test -n "$ac_ct_CC" && break
3824 done
3825
3826 if test "x$ac_ct_CC" = x; then
3827 CC=""
3828 else
3829 case $cross_compiling:$ac_tool_warned in
3830 yes:)
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3833 ac_tool_warned=yes ;;
3834 esac
3835 CC=$ac_ct_CC
3836 fi
3837 fi
3838
3839 fi
3840
3841
3842 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3844 as_fn_error "no acceptable C compiler found in \$PATH
3845 See \`config.log' for more details." "$LINENO" 5; }
3846
3847 # Provide some information about the compiler.
3848 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3849 set X $ac_compile
3850 ac_compiler=$2
3851 for ac_option in --version -v -V -qversion; do
3852 { { ac_try="$ac_compiler $ac_option >&5"
3853 case "(($ac_try" in
3854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3855 *) ac_try_echo=$ac_try;;
3856 esac
3857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3858 $as_echo "$ac_try_echo"; } >&5
3859 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3860 ac_status=$?
3861 if test -s conftest.err; then
3862 sed '10a\
3863 ... rest of stderr output deleted ...
3864 10q' conftest.err >conftest.er1
3865 cat conftest.er1 >&5
3866 rm -f conftest.er1 conftest.err
3867 fi
3868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3869 test $ac_status = 0; }
3870 done
3871
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3874
3875 int
3876 main ()
3877 {
3878
3879 ;
3880 return 0;
3881 }
3882 _ACEOF
3883 # FIXME: Cleanup?
3884 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3885 (eval $ac_link) 2>&5
3886 ac_status=$?
3887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3888 test $ac_status = 0; }; then :
3889 gcc_no_link=no
3890 else
3891 gcc_no_link=yes
3892 fi
3893 if test x$gcc_no_link = xyes; then
3894 # Setting cross_compile will disable run tests; it will
3895 # also disable AC_CHECK_FILE but that's generally
3896 # correct if we can't link.
3897 cross_compiling=yes
3898 EXEEXT=
3899 else
3900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3901 /* end confdefs.h. */
3902
3903 int
3904 main ()
3905 {
3906
3907 ;
3908 return 0;
3909 }
3910 _ACEOF
3911 ac_clean_files_save=$ac_clean_files
3912 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3913 # Try to create an executable without -o first, disregard a.out.
3914 # It will help us diagnose broken compilers, and finding out an intuition
3915 # of exeext.
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3917 $as_echo_n "checking for C compiler default output file name... " >&6; }
3918 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3919
3920 # The possible output files:
3921 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3922
3923 ac_rmfiles=
3924 for ac_file in $ac_files
3925 do
3926 case $ac_file in
3927 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3928 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3929 esac
3930 done
3931 rm -f $ac_rmfiles
3932
3933 if { { ac_try="$ac_link_default"
3934 case "(($ac_try" in
3935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3936 *) ac_try_echo=$ac_try;;
3937 esac
3938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3939 $as_echo "$ac_try_echo"; } >&5
3940 (eval "$ac_link_default") 2>&5
3941 ac_status=$?
3942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3943 test $ac_status = 0; }; then :
3944 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3945 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3946 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3947 # so that the user can short-circuit this test for compilers unknown to
3948 # Autoconf.
3949 for ac_file in $ac_files ''
3950 do
3951 test -f "$ac_file" || continue
3952 case $ac_file in
3953 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3954 ;;
3955 [ab].out )
3956 # We found the default executable, but exeext='' is most
3957 # certainly right.
3958 break;;
3959 *.* )
3960 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3961 then :; else
3962 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3963 fi
3964 # We set ac_cv_exeext here because the later test for it is not
3965 # safe: cross compilers may not add the suffix if given an `-o'
3966 # argument, so we may need to know it at that point already.
3967 # Even if this section looks crufty: it has the advantage of
3968 # actually working.
3969 break;;
3970 * )
3971 break;;
3972 esac
3973 done
3974 test "$ac_cv_exeext" = no && ac_cv_exeext=
3975
3976 else
3977 ac_file=''
3978 fi
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3980 $as_echo "$ac_file" >&6; }
3981 if test -z "$ac_file"; then :
3982 $as_echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.$ac_ext >&5
3984
3985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3987 { as_fn_set_status 77
3988 as_fn_error "C compiler cannot create executables
3989 See \`config.log' for more details." "$LINENO" 5; }; }
3990 fi
3991 ac_exeext=$ac_cv_exeext
3992
3993 # Check that the compiler produces executables we can run. If not, either
3994 # the compiler is broken, or we cross compile.
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3996 $as_echo_n "checking whether the C compiler works... " >&6; }
3997 # If not cross compiling, check that we can run a simple program.
3998 if test "$cross_compiling" != yes; then
3999 if { ac_try='./$ac_file'
4000 { { case "(($ac_try" in
4001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002 *) ac_try_echo=$ac_try;;
4003 esac
4004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4005 $as_echo "$ac_try_echo"; } >&5
4006 (eval "$ac_try") 2>&5
4007 ac_status=$?
4008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4009 test $ac_status = 0; }; }; then
4010 cross_compiling=no
4011 else
4012 if test "$cross_compiling" = maybe; then
4013 cross_compiling=yes
4014 else
4015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4017 as_fn_error "cannot run C compiled programs.
4018 If you meant to cross compile, use \`--host'.
4019 See \`config.log' for more details." "$LINENO" 5; }
4020 fi
4021 fi
4022 fi
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4024 $as_echo "yes" >&6; }
4025
4026 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4027 ac_clean_files=$ac_clean_files_save
4028 # Check that the compiler produces executables we can run. If not, either
4029 # the compiler is broken, or we cross compile.
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4031 $as_echo_n "checking whether we are cross compiling... " >&6; }
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4033 $as_echo "$cross_compiling" >&6; }
4034
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4036 $as_echo_n "checking for suffix of executables... " >&6; }
4037 if { { ac_try="$ac_link"
4038 case "(($ac_try" in
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4041 esac
4042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4043 $as_echo "$ac_try_echo"; } >&5
4044 (eval "$ac_link") 2>&5
4045 ac_status=$?
4046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047 test $ac_status = 0; }; then :
4048 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4049 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4050 # work properly (i.e., refer to `conftest.exe'), while it won't with
4051 # `rm'.
4052 for ac_file in conftest.exe conftest conftest.*; do
4053 test -f "$ac_file" || continue
4054 case $ac_file in
4055 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4056 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4057 break;;
4058 * ) break;;
4059 esac
4060 done
4061 else
4062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4064 as_fn_error "cannot compute suffix of executables: cannot compile and link
4065 See \`config.log' for more details." "$LINENO" 5; }
4066 fi
4067 rm -f conftest$ac_cv_exeext
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4069 $as_echo "$ac_cv_exeext" >&6; }
4070
4071 rm -f conftest.$ac_ext
4072 EXEEXT=$ac_cv_exeext
4073 ac_exeext=$EXEEXT
4074 fi
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4076 $as_echo_n "checking for suffix of object files... " >&6; }
4077 if test "${ac_cv_objext+set}" = set; then :
4078 $as_echo_n "(cached) " >&6
4079 else
4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4081 /* end confdefs.h. */
4082
4083 int
4084 main ()
4085 {
4086
4087 ;
4088 return 0;
4089 }
4090 _ACEOF
4091 rm -f conftest.o conftest.obj
4092 if { { ac_try="$ac_compile"
4093 case "(($ac_try" in
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4096 esac
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099 (eval "$ac_compile") 2>&5
4100 ac_status=$?
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }; then :
4103 for ac_file in conftest.o conftest.obj conftest.*; do
4104 test -f "$ac_file" || continue;
4105 case $ac_file in
4106 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4107 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4108 break;;
4109 esac
4110 done
4111 else
4112 $as_echo "$as_me: failed program was:" >&5
4113 sed 's/^/| /' conftest.$ac_ext >&5
4114
4115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4117 as_fn_error "cannot compute suffix of object files: cannot compile
4118 See \`config.log' for more details." "$LINENO" 5; }
4119 fi
4120 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4121 fi
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4123 $as_echo "$ac_cv_objext" >&6; }
4124 OBJEXT=$ac_cv_objext
4125 ac_objext=$OBJEXT
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4127 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4128 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4129 $as_echo_n "(cached) " >&6
4130 else
4131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132 /* end confdefs.h. */
4133
4134 int
4135 main ()
4136 {
4137 #ifndef __GNUC__
4138 choke me
4139 #endif
4140
4141 ;
4142 return 0;
4143 }
4144 _ACEOF
4145 if ac_fn_c_try_compile "$LINENO"; then :
4146 ac_compiler_gnu=yes
4147 else
4148 ac_compiler_gnu=no
4149 fi
4150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4151 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4152
4153 fi
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4155 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4156 if test $ac_compiler_gnu = yes; then
4157 GCC=yes
4158 else
4159 GCC=
4160 fi
4161 ac_test_CFLAGS=${CFLAGS+set}
4162 ac_save_CFLAGS=$CFLAGS
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4164 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4165 if test "${ac_cv_prog_cc_g+set}" = set; then :
4166 $as_echo_n "(cached) " >&6
4167 else
4168 ac_save_c_werror_flag=$ac_c_werror_flag
4169 ac_c_werror_flag=yes
4170 ac_cv_prog_cc_g=no
4171 CFLAGS="-g"
4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4174
4175 int
4176 main ()
4177 {
4178
4179 ;
4180 return 0;
4181 }
4182 _ACEOF
4183 if ac_fn_c_try_compile "$LINENO"; then :
4184 ac_cv_prog_cc_g=yes
4185 else
4186 CFLAGS=""
4187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4189
4190 int
4191 main ()
4192 {
4193
4194 ;
4195 return 0;
4196 }
4197 _ACEOF
4198 if ac_fn_c_try_compile "$LINENO"; then :
4199
4200 else
4201 ac_c_werror_flag=$ac_save_c_werror_flag
4202 CFLAGS="-g"
4203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4204 /* end confdefs.h. */
4205
4206 int
4207 main ()
4208 {
4209
4210 ;
4211 return 0;
4212 }
4213 _ACEOF
4214 if ac_fn_c_try_compile "$LINENO"; then :
4215 ac_cv_prog_cc_g=yes
4216 fi
4217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4218 fi
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220 fi
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 ac_c_werror_flag=$ac_save_c_werror_flag
4223 fi
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4225 $as_echo "$ac_cv_prog_cc_g" >&6; }
4226 if test "$ac_test_CFLAGS" = set; then
4227 CFLAGS=$ac_save_CFLAGS
4228 elif test $ac_cv_prog_cc_g = yes; then
4229 if test "$GCC" = yes; then
4230 CFLAGS="-g -O2"
4231 else
4232 CFLAGS="-g"
4233 fi
4234 else
4235 if test "$GCC" = yes; then
4236 CFLAGS="-O2"
4237 else
4238 CFLAGS=
4239 fi
4240 fi
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4242 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4243 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4244 $as_echo_n "(cached) " >&6
4245 else
4246 ac_cv_prog_cc_c89=no
4247 ac_save_CC=$CC
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4250 #include <stdarg.h>
4251 #include <stdio.h>
4252 #include <sys/types.h>
4253 #include <sys/stat.h>
4254 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4255 struct buf { int x; };
4256 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4257 static char *e (p, i)
4258 char **p;
4259 int i;
4260 {
4261 return p[i];
4262 }
4263 static char *f (char * (*g) (char **, int), char **p, ...)
4264 {
4265 char *s;
4266 va_list v;
4267 va_start (v,p);
4268 s = g (p, va_arg (v,int));
4269 va_end (v);
4270 return s;
4271 }
4272
4273 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4274 function prototypes and stuff, but not '\xHH' hex character constants.
4275 These don't provoke an error unfortunately, instead are silently treated
4276 as 'x'. The following induces an error, until -std is added to get
4277 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4278 array size at least. It's necessary to write '\x00'==0 to get something
4279 that's true only with -std. */
4280 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4281
4282 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4283 inside strings and character constants. */
4284 #define FOO(x) 'x'
4285 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4286
4287 int test (int i, double x);
4288 struct s1 {int (*f) (int a);};
4289 struct s2 {int (*f) (double a);};
4290 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4291 int argc;
4292 char **argv;
4293 int
4294 main ()
4295 {
4296 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4297 ;
4298 return 0;
4299 }
4300 _ACEOF
4301 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4302 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4303 do
4304 CC="$ac_save_CC $ac_arg"
4305 if ac_fn_c_try_compile "$LINENO"; then :
4306 ac_cv_prog_cc_c89=$ac_arg
4307 fi
4308 rm -f core conftest.err conftest.$ac_objext
4309 test "x$ac_cv_prog_cc_c89" != "xno" && break
4310 done
4311 rm -f conftest.$ac_ext
4312 CC=$ac_save_CC
4313
4314 fi
4315 # AC_CACHE_VAL
4316 case "x$ac_cv_prog_cc_c89" in
4317 x)
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4319 $as_echo "none needed" >&6; } ;;
4320 xno)
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4322 $as_echo "unsupported" >&6; } ;;
4323 *)
4324 CC="$CC $ac_cv_prog_cc_c89"
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4326 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4327 esac
4328 if test "x$ac_cv_prog_cc_c89" != xno; then :
4329
4330 fi
4331
4332 ac_ext=c
4333 ac_cpp='$CPP $CPPFLAGS'
4334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4337
4338 ac_ext=cpp
4339 ac_cpp='$CXXCPP $CPPFLAGS'
4340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4343 if test -z "$CXX"; then
4344 if test -n "$CCC"; then
4345 CXX=$CCC
4346 else
4347 if test -n "$ac_tool_prefix"; then
4348 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4349 do
4350 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4351 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if test "${ac_cv_prog_CXX+set}" = set; then :
4355 $as_echo_n "(cached) " >&6
4356 else
4357 if test -n "$CXX"; then
4358 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4359 else
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 for as_dir in $PATH
4362 do
4363 IFS=$as_save_IFS
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4367 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 break 2
4370 fi
4371 done
4372 done
4373 IFS=$as_save_IFS
4374
4375 fi
4376 fi
4377 CXX=$ac_cv_prog_CXX
4378 if test -n "$CXX"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4380 $as_echo "$CXX" >&6; }
4381 else
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4384 fi
4385
4386
4387 test -n "$CXX" && break
4388 done
4389 fi
4390 if test -z "$CXX"; then
4391 ac_ct_CXX=$CXX
4392 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4393 do
4394 # Extract the first word of "$ac_prog", so it can be a program name with args.
4395 set dummy $ac_prog; ac_word=$2
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4397 $as_echo_n "checking for $ac_word... " >&6; }
4398 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4399 $as_echo_n "(cached) " >&6
4400 else
4401 if test -n "$ac_ct_CXX"; then
4402 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4403 else
4404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4405 for as_dir in $PATH
4406 do
4407 IFS=$as_save_IFS
4408 test -z "$as_dir" && as_dir=.
4409 for ac_exec_ext in '' $ac_executable_extensions; do
4410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4411 ac_cv_prog_ac_ct_CXX="$ac_prog"
4412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4413 break 2
4414 fi
4415 done
4416 done
4417 IFS=$as_save_IFS
4418
4419 fi
4420 fi
4421 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4422 if test -n "$ac_ct_CXX"; then
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4424 $as_echo "$ac_ct_CXX" >&6; }
4425 else
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4427 $as_echo "no" >&6; }
4428 fi
4429
4430
4431 test -n "$ac_ct_CXX" && break
4432 done
4433
4434 if test "x$ac_ct_CXX" = x; then
4435 CXX="g++"
4436 else
4437 case $cross_compiling:$ac_tool_warned in
4438 yes:)
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4441 ac_tool_warned=yes ;;
4442 esac
4443 CXX=$ac_ct_CXX
4444 fi
4445 fi
4446
4447 fi
4448 fi
4449 # Provide some information about the compiler.
4450 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4451 set X $ac_compile
4452 ac_compiler=$2
4453 for ac_option in --version -v -V -qversion; do
4454 { { ac_try="$ac_compiler $ac_option >&5"
4455 case "(($ac_try" in
4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4458 esac
4459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4460 $as_echo "$ac_try_echo"; } >&5
4461 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4462 ac_status=$?
4463 if test -s conftest.err; then
4464 sed '10a\
4465 ... rest of stderr output deleted ...
4466 10q' conftest.err >conftest.er1
4467 cat conftest.er1 >&5
4468 rm -f conftest.er1 conftest.err
4469 fi
4470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4471 test $ac_status = 0; }
4472 done
4473
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4475 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4476 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4477 $as_echo_n "(cached) " >&6
4478 else
4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4481
4482 int
4483 main ()
4484 {
4485 #ifndef __GNUC__
4486 choke me
4487 #endif
4488
4489 ;
4490 return 0;
4491 }
4492 _ACEOF
4493 if ac_fn_cxx_try_compile "$LINENO"; then :
4494 ac_compiler_gnu=yes
4495 else
4496 ac_compiler_gnu=no
4497 fi
4498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4499 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4500
4501 fi
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4503 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4504 if test $ac_compiler_gnu = yes; then
4505 GXX=yes
4506 else
4507 GXX=
4508 fi
4509 ac_test_CXXFLAGS=${CXXFLAGS+set}
4510 ac_save_CXXFLAGS=$CXXFLAGS
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4512 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4513 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4514 $as_echo_n "(cached) " >&6
4515 else
4516 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4517 ac_cxx_werror_flag=yes
4518 ac_cv_prog_cxx_g=no
4519 CXXFLAGS="-g"
4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4522
4523 int
4524 main ()
4525 {
4526
4527 ;
4528 return 0;
4529 }
4530 _ACEOF
4531 if ac_fn_cxx_try_compile "$LINENO"; then :
4532 ac_cv_prog_cxx_g=yes
4533 else
4534 CXXFLAGS=""
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4537
4538 int
4539 main ()
4540 {
4541
4542 ;
4543 return 0;
4544 }
4545 _ACEOF
4546 if ac_fn_cxx_try_compile "$LINENO"; then :
4547
4548 else
4549 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4550 CXXFLAGS="-g"
4551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4552 /* end confdefs.h. */
4553
4554 int
4555 main ()
4556 {
4557
4558 ;
4559 return 0;
4560 }
4561 _ACEOF
4562 if ac_fn_cxx_try_compile "$LINENO"; then :
4563 ac_cv_prog_cxx_g=yes
4564 fi
4565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4566 fi
4567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4568 fi
4569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4570 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4571 fi
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4573 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4574 if test "$ac_test_CXXFLAGS" = set; then
4575 CXXFLAGS=$ac_save_CXXFLAGS
4576 elif test $ac_cv_prog_cxx_g = yes; then
4577 if test "$GXX" = yes; then
4578 CXXFLAGS="-g -O2"
4579 else
4580 CXXFLAGS="-g"
4581 fi
4582 else
4583 if test "$GXX" = yes; then
4584 CXXFLAGS="-O2"
4585 else
4586 CXXFLAGS=
4587 fi
4588 fi
4589 ac_ext=c
4590 ac_cpp='$CPP $CPPFLAGS'
4591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4594
4595 CXXFLAGS="$save_CXXFLAGS"
4596
4597 # Runs configure.host, and assorted other critical bits. Sets
4598 # up critical shell variables.
4599
4600 ac_ext=c
4601 ac_cpp='$CPP $CPPFLAGS'
4602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4606 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4607 # On Suns, sometimes $CPP names a directory.
4608 if test -n "$CPP" && test -d "$CPP"; then
4609 CPP=
4610 fi
4611 if test -z "$CPP"; then
4612 if test "${ac_cv_prog_CPP+set}" = set; then :
4613 $as_echo_n "(cached) " >&6
4614 else
4615 # Double quotes because CPP needs to be expanded
4616 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4617 do
4618 ac_preproc_ok=false
4619 for ac_c_preproc_warn_flag in '' yes
4620 do
4621 # Use a header file that comes with gcc, so configuring glibc
4622 # with a fresh cross-compiler works.
4623 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4624 # <limits.h> exists even on freestanding compilers.
4625 # On the NeXT, cc -E runs the code through the compiler's parser,
4626 # not just through cpp. "Syntax error" is here to catch this case.
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4629 #ifdef __STDC__
4630 # include <limits.h>
4631 #else
4632 # include <assert.h>
4633 #endif
4634 Syntax error
4635 _ACEOF
4636 if ac_fn_c_try_cpp "$LINENO"; then :
4637
4638 else
4639 # Broken: fails on valid input.
4640 continue
4641 fi
4642 rm -f conftest.err conftest.$ac_ext
4643
4644 # OK, works on sane cases. Now check whether nonexistent headers
4645 # can be detected and how.
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4648 #include <ac_nonexistent.h>
4649 _ACEOF
4650 if ac_fn_c_try_cpp "$LINENO"; then :
4651 # Broken: success on invalid input.
4652 continue
4653 else
4654 # Passes both tests.
4655 ac_preproc_ok=:
4656 break
4657 fi
4658 rm -f conftest.err conftest.$ac_ext
4659
4660 done
4661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4662 rm -f conftest.err conftest.$ac_ext
4663 if $ac_preproc_ok; then :
4664 break
4665 fi
4666
4667 done
4668 ac_cv_prog_CPP=$CPP
4669
4670 fi
4671 CPP=$ac_cv_prog_CPP
4672 else
4673 ac_cv_prog_CPP=$CPP
4674 fi
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4676 $as_echo "$CPP" >&6; }
4677 ac_preproc_ok=false
4678 for ac_c_preproc_warn_flag in '' yes
4679 do
4680 # Use a header file that comes with gcc, so configuring glibc
4681 # with a fresh cross-compiler works.
4682 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4683 # <limits.h> exists even on freestanding compilers.
4684 # On the NeXT, cc -E runs the code through the compiler's parser,
4685 # not just through cpp. "Syntax error" is here to catch this case.
4686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4687 /* end confdefs.h. */
4688 #ifdef __STDC__
4689 # include <limits.h>
4690 #else
4691 # include <assert.h>
4692 #endif
4693 Syntax error
4694 _ACEOF
4695 if ac_fn_c_try_cpp "$LINENO"; then :
4696
4697 else
4698 # Broken: fails on valid input.
4699 continue
4700 fi
4701 rm -f conftest.err conftest.$ac_ext
4702
4703 # OK, works on sane cases. Now check whether nonexistent headers
4704 # can be detected and how.
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4707 #include <ac_nonexistent.h>
4708 _ACEOF
4709 if ac_fn_c_try_cpp "$LINENO"; then :
4710 # Broken: success on invalid input.
4711 continue
4712 else
4713 # Passes both tests.
4714 ac_preproc_ok=:
4715 break
4716 fi
4717 rm -f conftest.err conftest.$ac_ext
4718
4719 done
4720 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4721 rm -f conftest.err conftest.$ac_ext
4722 if $ac_preproc_ok; then :
4723
4724 else
4725 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4726 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4727 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4728 See \`config.log' for more details." "$LINENO" 5; }
4729 fi
4730
4731 ac_ext=c
4732 ac_cpp='$CPP $CPPFLAGS'
4733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4736
4737
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4739 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4740 if test "${ac_cv_path_GREP+set}" = set; then :
4741 $as_echo_n "(cached) " >&6
4742 else
4743 if test -z "$GREP"; then
4744 ac_path_GREP_found=false
4745 # Loop through the user's path and test for each of PROGNAME-LIST
4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4748 do
4749 IFS=$as_save_IFS
4750 test -z "$as_dir" && as_dir=.
4751 for ac_prog in grep ggrep; do
4752 for ac_exec_ext in '' $ac_executable_extensions; do
4753 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4754 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4755 # Check for GNU ac_path_GREP and select it if it is found.
4756 # Check for GNU $ac_path_GREP
4757 case `"$ac_path_GREP" --version 2>&1` in
4758 *GNU*)
4759 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4760 *)
4761 ac_count=0
4762 $as_echo_n 0123456789 >"conftest.in"
4763 while :
4764 do
4765 cat "conftest.in" "conftest.in" >"conftest.tmp"
4766 mv "conftest.tmp" "conftest.in"
4767 cp "conftest.in" "conftest.nl"
4768 $as_echo 'GREP' >> "conftest.nl"
4769 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4770 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4771 as_fn_arith $ac_count + 1 && ac_count=$as_val
4772 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4773 # Best one so far, save it but keep looking for a better one
4774 ac_cv_path_GREP="$ac_path_GREP"
4775 ac_path_GREP_max=$ac_count
4776 fi
4777 # 10*(2^10) chars as input seems more than enough
4778 test $ac_count -gt 10 && break
4779 done
4780 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4781 esac
4782
4783 $ac_path_GREP_found && break 3
4784 done
4785 done
4786 done
4787 IFS=$as_save_IFS
4788 if test -z "$ac_cv_path_GREP"; then
4789 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4790 fi
4791 else
4792 ac_cv_path_GREP=$GREP
4793 fi
4794
4795 fi
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4797 $as_echo "$ac_cv_path_GREP" >&6; }
4798 GREP="$ac_cv_path_GREP"
4799
4800
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4802 $as_echo_n "checking for egrep... " >&6; }
4803 if test "${ac_cv_path_EGREP+set}" = set; then :
4804 $as_echo_n "(cached) " >&6
4805 else
4806 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4807 then ac_cv_path_EGREP="$GREP -E"
4808 else
4809 if test -z "$EGREP"; then
4810 ac_path_EGREP_found=false
4811 # Loop through the user's path and test for each of PROGNAME-LIST
4812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4813 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4814 do
4815 IFS=$as_save_IFS
4816 test -z "$as_dir" && as_dir=.
4817 for ac_prog in egrep; do
4818 for ac_exec_ext in '' $ac_executable_extensions; do
4819 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4820 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4821 # Check for GNU ac_path_EGREP and select it if it is found.
4822 # Check for GNU $ac_path_EGREP
4823 case `"$ac_path_EGREP" --version 2>&1` in
4824 *GNU*)
4825 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4826 *)
4827 ac_count=0
4828 $as_echo_n 0123456789 >"conftest.in"
4829 while :
4830 do
4831 cat "conftest.in" "conftest.in" >"conftest.tmp"
4832 mv "conftest.tmp" "conftest.in"
4833 cp "conftest.in" "conftest.nl"
4834 $as_echo 'EGREP' >> "conftest.nl"
4835 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4836 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4837 as_fn_arith $ac_count + 1 && ac_count=$as_val
4838 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4839 # Best one so far, save it but keep looking for a better one
4840 ac_cv_path_EGREP="$ac_path_EGREP"
4841 ac_path_EGREP_max=$ac_count
4842 fi
4843 # 10*(2^10) chars as input seems more than enough
4844 test $ac_count -gt 10 && break
4845 done
4846 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4847 esac
4848
4849 $ac_path_EGREP_found && break 3
4850 done
4851 done
4852 done
4853 IFS=$as_save_IFS
4854 if test -z "$ac_cv_path_EGREP"; then
4855 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4856 fi
4857 else
4858 ac_cv_path_EGREP=$EGREP
4859 fi
4860
4861 fi
4862 fi
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4864 $as_echo "$ac_cv_path_EGREP" >&6; }
4865 EGREP="$ac_cv_path_EGREP"
4866
4867
4868
4869 # Keep these sync'd with the list in Makefile.am. The first provides an
4870 # expandable list at autoconf time; the second provides an expandable list
4871 # (i.e., shell variable) at configure time.
4872
4873 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4874
4875 # These need to be absolute paths, yet at the same time need to
4876 # canonicalize only relative paths, because then amd will not unmount
4877 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4878 glibcxx_builddir=`${PWDCMD-pwd}`
4879 case $srcdir in
4880 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4881 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4882 esac
4883 toplevel_builddir=${glibcxx_builddir}/..
4884 toplevel_srcdir=${glibcxx_srcdir}/..
4885
4886
4887
4888
4889
4890 # We use these options to decide which functions to include. They are
4891 # set from the top level.
4892
4893 # Check whether --with-target-subdir was given.
4894 if test "${with_target_subdir+set}" = set; then :
4895 withval=$with_target_subdir;
4896 fi
4897
4898
4899
4900 # Check whether --with-cross-host was given.
4901 if test "${with_cross_host+set}" = set; then :
4902 withval=$with_cross_host;
4903 fi
4904
4905
4906
4907 # Check whether --with-newlib was given.
4908 if test "${with_newlib+set}" = set; then :
4909 withval=$with_newlib;
4910 fi
4911
4912
4913 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4914 # available). Uncomment the next line to force a particular method.
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4916 $as_echo_n "checking whether ln -s works... " >&6; }
4917 LN_S=$as_ln_s
4918 if test "$LN_S" = "ln -s"; then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4920 $as_echo "yes" >&6; }
4921 else
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4923 $as_echo "no, using $LN_S" >&6; }
4924 fi
4925
4926 #LN_S='cp -p'
4927
4928 if test -n "$ac_tool_prefix"; then
4929 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4930 set dummy ${ac_tool_prefix}as; ac_word=$2
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 $as_echo_n "checking for $ac_word... " >&6; }
4933 if test "${ac_cv_prog_AS+set}" = set; then :
4934 $as_echo_n "(cached) " >&6
4935 else
4936 if test -n "$AS"; then
4937 ac_cv_prog_AS="$AS" # Let the user override the test.
4938 else
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH
4941 do
4942 IFS=$as_save_IFS
4943 test -z "$as_dir" && as_dir=.
4944 for ac_exec_ext in '' $ac_executable_extensions; do
4945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4946 ac_cv_prog_AS="${ac_tool_prefix}as"
4947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4948 break 2
4949 fi
4950 done
4951 done
4952 IFS=$as_save_IFS
4953
4954 fi
4955 fi
4956 AS=$ac_cv_prog_AS
4957 if test -n "$AS"; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4959 $as_echo "$AS" >&6; }
4960 else
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4963 fi
4964
4965
4966 fi
4967 if test -z "$ac_cv_prog_AS"; then
4968 ac_ct_AS=$AS
4969 # Extract the first word of "as", so it can be a program name with args.
4970 set dummy as; ac_word=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4974 $as_echo_n "(cached) " >&6
4975 else
4976 if test -n "$ac_ct_AS"; then
4977 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4978 else
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4980 for as_dir in $PATH
4981 do
4982 IFS=$as_save_IFS
4983 test -z "$as_dir" && as_dir=.
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4986 ac_cv_prog_ac_ct_AS="as"
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4988 break 2
4989 fi
4990 done
4991 done
4992 IFS=$as_save_IFS
4993
4994 fi
4995 fi
4996 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4997 if test -n "$ac_ct_AS"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4999 $as_echo "$ac_ct_AS" >&6; }
5000 else
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5003 fi
5004
5005 if test "x$ac_ct_AS" = x; then
5006 AS=""
5007 else
5008 case $cross_compiling:$ac_tool_warned in
5009 yes:)
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5012 ac_tool_warned=yes ;;
5013 esac
5014 AS=$ac_ct_AS
5015 fi
5016 else
5017 AS="$ac_cv_prog_AS"
5018 fi
5019
5020 if test -n "$ac_tool_prefix"; then
5021 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5022 set dummy ${ac_tool_prefix}ar; ac_word=$2
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5024 $as_echo_n "checking for $ac_word... " >&6; }
5025 if test "${ac_cv_prog_AR+set}" = set; then :
5026 $as_echo_n "(cached) " >&6
5027 else
5028 if test -n "$AR"; then
5029 ac_cv_prog_AR="$AR" # Let the user override the test.
5030 else
5031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5032 for as_dir in $PATH
5033 do
5034 IFS=$as_save_IFS
5035 test -z "$as_dir" && as_dir=.
5036 for ac_exec_ext in '' $ac_executable_extensions; do
5037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5038 ac_cv_prog_AR="${ac_tool_prefix}ar"
5039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5040 break 2
5041 fi
5042 done
5043 done
5044 IFS=$as_save_IFS
5045
5046 fi
5047 fi
5048 AR=$ac_cv_prog_AR
5049 if test -n "$AR"; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5051 $as_echo "$AR" >&6; }
5052 else
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5054 $as_echo "no" >&6; }
5055 fi
5056
5057
5058 fi
5059 if test -z "$ac_cv_prog_AR"; then
5060 ac_ct_AR=$AR
5061 # Extract the first word of "ar", so it can be a program name with args.
5062 set dummy ar; ac_word=$2
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5064 $as_echo_n "checking for $ac_word... " >&6; }
5065 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5066 $as_echo_n "(cached) " >&6
5067 else
5068 if test -n "$ac_ct_AR"; then
5069 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5070 else
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5072 for as_dir in $PATH
5073 do
5074 IFS=$as_save_IFS
5075 test -z "$as_dir" && as_dir=.
5076 for ac_exec_ext in '' $ac_executable_extensions; do
5077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5078 ac_cv_prog_ac_ct_AR="ar"
5079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5080 break 2
5081 fi
5082 done
5083 done
5084 IFS=$as_save_IFS
5085
5086 fi
5087 fi
5088 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5089 if test -n "$ac_ct_AR"; then
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5091 $as_echo "$ac_ct_AR" >&6; }
5092 else
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5094 $as_echo "no" >&6; }
5095 fi
5096
5097 if test "x$ac_ct_AR" = x; then
5098 AR=""
5099 else
5100 case $cross_compiling:$ac_tool_warned in
5101 yes:)
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5104 ac_tool_warned=yes ;;
5105 esac
5106 AR=$ac_ct_AR
5107 fi
5108 else
5109 AR="$ac_cv_prog_AR"
5110 fi
5111
5112 if test -n "$ac_tool_prefix"; then
5113 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5114 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5116 $as_echo_n "checking for $ac_word... " >&6; }
5117 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5118 $as_echo_n "(cached) " >&6
5119 else
5120 if test -n "$RANLIB"; then
5121 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5122 else
5123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5124 for as_dir in $PATH
5125 do
5126 IFS=$as_save_IFS
5127 test -z "$as_dir" && as_dir=.
5128 for ac_exec_ext in '' $ac_executable_extensions; do
5129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5130 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 break 2
5133 fi
5134 done
5135 done
5136 IFS=$as_save_IFS
5137
5138 fi
5139 fi
5140 RANLIB=$ac_cv_prog_RANLIB
5141 if test -n "$RANLIB"; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5143 $as_echo "$RANLIB" >&6; }
5144 else
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5147 fi
5148
5149
5150 fi
5151 if test -z "$ac_cv_prog_RANLIB"; then
5152 ac_ct_RANLIB=$RANLIB
5153 # Extract the first word of "ranlib", so it can be a program name with args.
5154 set dummy ranlib; ac_word=$2
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5156 $as_echo_n "checking for $ac_word... " >&6; }
5157 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5158 $as_echo_n "(cached) " >&6
5159 else
5160 if test -n "$ac_ct_RANLIB"; then
5161 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5162 else
5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 for as_dir in $PATH
5165 do
5166 IFS=$as_save_IFS
5167 test -z "$as_dir" && as_dir=.
5168 for ac_exec_ext in '' $ac_executable_extensions; do
5169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5170 ac_cv_prog_ac_ct_RANLIB="ranlib"
5171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 break 2
5173 fi
5174 done
5175 done
5176 IFS=$as_save_IFS
5177
5178 fi
5179 fi
5180 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5181 if test -n "$ac_ct_RANLIB"; then
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5183 $as_echo "$ac_ct_RANLIB" >&6; }
5184 else
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5186 $as_echo "no" >&6; }
5187 fi
5188
5189 if test "x$ac_ct_RANLIB" = x; then
5190 RANLIB="ranlib-not-found-in-path-error"
5191 else
5192 case $cross_compiling:$ac_tool_warned in
5193 yes:)
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5196 ac_tool_warned=yes ;;
5197 esac
5198 RANLIB=$ac_ct_RANLIB
5199 fi
5200 else
5201 RANLIB="$ac_cv_prog_RANLIB"
5202 fi
5203
5204
5205
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5207 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5208 # Check whether --enable-maintainer-mode was given.
5209 if test "${enable_maintainer_mode+set}" = set; then :
5210 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5211 else
5212 USE_MAINTAINER_MODE=no
5213 fi
5214
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5216 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5217 if test $USE_MAINTAINER_MODE = yes; then
5218 MAINTAINER_MODE_TRUE=
5219 MAINTAINER_MODE_FALSE='#'
5220 else
5221 MAINTAINER_MODE_TRUE='#'
5222 MAINTAINER_MODE_FALSE=
5223 fi
5224
5225 MAINT=$MAINTAINER_MODE_TRUE
5226
5227
5228
5229 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5230 # which are themselves conditionally expanded.
5231 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5232 ## other macros from doing the same. This should be automated.) -pme
5233
5234 # Check for C library flavor since GNU/Linux platforms use different
5235 # configuration directories depending on the C library in use.
5236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5237 /* end confdefs.h. */
5238
5239 #include <stdio.h>
5240 #if __UCLIBC__
5241 _using_uclibc
5242 #endif
5243
5244 _ACEOF
5245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5246 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5247 uclibc=yes
5248 else
5249 uclibc=no
5250 fi
5251 rm -f conftest*
5252
5253
5254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5255 /* end confdefs.h. */
5256
5257 #include <stdio.h>
5258 #if __BIONIC__
5259 _using_bionic
5260 #endif
5261
5262 _ACEOF
5263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5264 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5265 bionic=yes
5266 else
5267 bionic=no
5268 fi
5269 rm -f conftest*
5270
5271
5272 # Find platform-specific directories containing configuration info.
5273 # Also possibly modify flags used elsewhere, as needed by the platform.
5274
5275 . $glibcxx_srcdir/configure.host
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5277 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5279 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5280
5281
5282
5283 if test "x${with_newlib}" != "xyes"; then
5284 enable_dlopen=yes
5285
5286
5287
5288 fi
5289 case `pwd` in
5290 *\ * | *\ *)
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5292 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5293 esac
5294
5295
5296
5297 macro_version='2.2.7a'
5298 macro_revision='1.3134'
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312 ltmain="$ac_aux_dir/ltmain.sh"
5313
5314 # Backslashify metacharacters that are still active within
5315 # double-quoted strings.
5316 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5317
5318 # Same as above, but do not quote variable references.
5319 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5320
5321 # Sed substitution to delay expansion of an escaped shell variable in a
5322 # double_quote_subst'ed string.
5323 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5324
5325 # Sed substitution to delay expansion of an escaped single quote.
5326 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5327
5328 # Sed substitution to avoid accidental globbing in evaled expressions
5329 no_glob_subst='s/\*/\\\*/g'
5330
5331 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5332 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5333 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5334
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5336 $as_echo_n "checking how to print strings... " >&6; }
5337 # Test print first, because it will be a builtin if present.
5338 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5339 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5340 ECHO='print -r --'
5341 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5342 ECHO='printf %s\n'
5343 else
5344 # Use this function as a fallback that always works.
5345 func_fallback_echo ()
5346 {
5347 eval 'cat <<_LTECHO_EOF
5348 $1
5349 _LTECHO_EOF'
5350 }
5351 ECHO='func_fallback_echo'
5352 fi
5353
5354 # func_echo_all arg...
5355 # Invoke $ECHO with all args, space-separated.
5356 func_echo_all ()
5357 {
5358 $ECHO ""
5359 }
5360
5361 case "$ECHO" in
5362 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5363 $as_echo "printf" >&6; } ;;
5364 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5365 $as_echo "print -r" >&6; } ;;
5366 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5367 $as_echo "cat" >&6; } ;;
5368 esac
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5384 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5385 if test "${ac_cv_path_SED+set}" = set; then :
5386 $as_echo_n "(cached) " >&6
5387 else
5388 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5389 for ac_i in 1 2 3 4 5 6 7; do
5390 ac_script="$ac_script$as_nl$ac_script"
5391 done
5392 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5393 { ac_script=; unset ac_script;}
5394 if test -z "$SED"; then
5395 ac_path_SED_found=false
5396 # Loop through the user's path and test for each of PROGNAME-LIST
5397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5398 for as_dir in $PATH
5399 do
5400 IFS=$as_save_IFS
5401 test -z "$as_dir" && as_dir=.
5402 for ac_prog in sed gsed; do
5403 for ac_exec_ext in '' $ac_executable_extensions; do
5404 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5405 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5406 # Check for GNU ac_path_SED and select it if it is found.
5407 # Check for GNU $ac_path_SED
5408 case `"$ac_path_SED" --version 2>&1` in
5409 *GNU*)
5410 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5411 *)
5412 ac_count=0
5413 $as_echo_n 0123456789 >"conftest.in"
5414 while :
5415 do
5416 cat "conftest.in" "conftest.in" >"conftest.tmp"
5417 mv "conftest.tmp" "conftest.in"
5418 cp "conftest.in" "conftest.nl"
5419 $as_echo '' >> "conftest.nl"
5420 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5421 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5422 as_fn_arith $ac_count + 1 && ac_count=$as_val
5423 if test $ac_count -gt ${ac_path_SED_max-0}; then
5424 # Best one so far, save it but keep looking for a better one
5425 ac_cv_path_SED="$ac_path_SED"
5426 ac_path_SED_max=$ac_count
5427 fi
5428 # 10*(2^10) chars as input seems more than enough
5429 test $ac_count -gt 10 && break
5430 done
5431 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5432 esac
5433
5434 $ac_path_SED_found && break 3
5435 done
5436 done
5437 done
5438 IFS=$as_save_IFS
5439 if test -z "$ac_cv_path_SED"; then
5440 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5441 fi
5442 else
5443 ac_cv_path_SED=$SED
5444 fi
5445
5446 fi
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5448 $as_echo "$ac_cv_path_SED" >&6; }
5449 SED="$ac_cv_path_SED"
5450 rm -f conftest.sed
5451
5452 test -z "$SED" && SED=sed
5453 Xsed="$SED -e 1s/^X//"
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5466 $as_echo_n "checking for fgrep... " >&6; }
5467 if test "${ac_cv_path_FGREP+set}" = set; then :
5468 $as_echo_n "(cached) " >&6
5469 else
5470 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5471 then ac_cv_path_FGREP="$GREP -F"
5472 else
5473 if test -z "$FGREP"; then
5474 ac_path_FGREP_found=false
5475 # Loop through the user's path and test for each of PROGNAME-LIST
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5478 do
5479 IFS=$as_save_IFS
5480 test -z "$as_dir" && as_dir=.
5481 for ac_prog in fgrep; do
5482 for ac_exec_ext in '' $ac_executable_extensions; do
5483 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5484 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5485 # Check for GNU ac_path_FGREP and select it if it is found.
5486 # Check for GNU $ac_path_FGREP
5487 case `"$ac_path_FGREP" --version 2>&1` in
5488 *GNU*)
5489 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5490 *)
5491 ac_count=0
5492 $as_echo_n 0123456789 >"conftest.in"
5493 while :
5494 do
5495 cat "conftest.in" "conftest.in" >"conftest.tmp"
5496 mv "conftest.tmp" "conftest.in"
5497 cp "conftest.in" "conftest.nl"
5498 $as_echo 'FGREP' >> "conftest.nl"
5499 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5500 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5501 as_fn_arith $ac_count + 1 && ac_count=$as_val
5502 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5503 # Best one so far, save it but keep looking for a better one
5504 ac_cv_path_FGREP="$ac_path_FGREP"
5505 ac_path_FGREP_max=$ac_count
5506 fi
5507 # 10*(2^10) chars as input seems more than enough
5508 test $ac_count -gt 10 && break
5509 done
5510 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5511 esac
5512
5513 $ac_path_FGREP_found && break 3
5514 done
5515 done
5516 done
5517 IFS=$as_save_IFS
5518 if test -z "$ac_cv_path_FGREP"; then
5519 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5520 fi
5521 else
5522 ac_cv_path_FGREP=$FGREP
5523 fi
5524
5525 fi
5526 fi
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5528 $as_echo "$ac_cv_path_FGREP" >&6; }
5529 FGREP="$ac_cv_path_FGREP"
5530
5531
5532 test -z "$GREP" && GREP=grep
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552 # Check whether --with-gnu-ld was given.
5553 if test "${with_gnu_ld+set}" = set; then :
5554 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5555 else
5556 with_gnu_ld=no
5557 fi
5558
5559 ac_prog=ld
5560 if test "$GCC" = yes; then
5561 # Check if gcc -print-prog-name=ld gives a path.
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5563 $as_echo_n "checking for ld used by $CC... " >&6; }
5564 case $host in
5565 *-*-mingw*)
5566 # gcc leaves a trailing carriage return which upsets mingw
5567 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5568 *)
5569 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5570 esac
5571 case $ac_prog in
5572 # Accept absolute paths.
5573 [\\/]* | ?:[\\/]*)
5574 re_direlt='/[^/][^/]*/\.\./'
5575 # Canonicalize the pathname of ld
5576 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5577 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5578 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5579 done
5580 test -z "$LD" && LD="$ac_prog"
5581 ;;
5582 "")
5583 # If it fails, then pretend we aren't using GCC.
5584 ac_prog=ld
5585 ;;
5586 *)
5587 # If it is relative, then search for the first ld in PATH.
5588 with_gnu_ld=unknown
5589 ;;
5590 esac
5591 elif test "$with_gnu_ld" = yes; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5593 $as_echo_n "checking for GNU ld... " >&6; }
5594 else
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5596 $as_echo_n "checking for non-GNU ld... " >&6; }
5597 fi
5598 if test "${lt_cv_path_LD+set}" = set; then :
5599 $as_echo_n "(cached) " >&6
5600 else
5601 if test -z "$LD"; then
5602 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5603 for ac_dir in $PATH; do
5604 IFS="$lt_save_ifs"
5605 test -z "$ac_dir" && ac_dir=.
5606 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5607 lt_cv_path_LD="$ac_dir/$ac_prog"
5608 # Check to see if the program is GNU ld. I'd rather use --version,
5609 # but apparently some variants of GNU ld only accept -v.
5610 # Break only if it was the GNU/non-GNU ld that we prefer.
5611 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5612 *GNU* | *'with BFD'*)
5613 test "$with_gnu_ld" != no && break
5614 ;;
5615 *)
5616 test "$with_gnu_ld" != yes && break
5617 ;;
5618 esac
5619 fi
5620 done
5621 IFS="$lt_save_ifs"
5622 else
5623 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5624 fi
5625 fi
5626
5627 LD="$lt_cv_path_LD"
5628 if test -n "$LD"; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5630 $as_echo "$LD" >&6; }
5631 else
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5634 fi
5635 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5637 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5638 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5639 $as_echo_n "(cached) " >&6
5640 else
5641 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5642 case `$LD -v 2>&1 </dev/null` in
5643 *GNU* | *'with BFD'*)
5644 lt_cv_prog_gnu_ld=yes
5645 ;;
5646 *)
5647 lt_cv_prog_gnu_ld=no
5648 ;;
5649 esac
5650 fi
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5652 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5653 with_gnu_ld=$lt_cv_prog_gnu_ld
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5664 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5665 if test "${lt_cv_path_NM+set}" = set; then :
5666 $as_echo_n "(cached) " >&6
5667 else
5668 if test -n "$NM"; then
5669 # Let the user override the test.
5670 lt_cv_path_NM="$NM"
5671 else
5672 lt_nm_to_check="${ac_tool_prefix}nm"
5673 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5674 lt_nm_to_check="$lt_nm_to_check nm"
5675 fi
5676 for lt_tmp_nm in $lt_nm_to_check; do
5677 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5678 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5679 IFS="$lt_save_ifs"
5680 test -z "$ac_dir" && ac_dir=.
5681 tmp_nm="$ac_dir/$lt_tmp_nm"
5682 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5683 # Check to see if the nm accepts a BSD-compat flag.
5684 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5685 # nm: unknown option "B" ignored
5686 # Tru64's nm complains that /dev/null is an invalid object file
5687 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5688 */dev/null* | *'Invalid file or object type'*)
5689 lt_cv_path_NM="$tmp_nm -B"
5690 break
5691 ;;
5692 *)
5693 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5694 */dev/null*)
5695 lt_cv_path_NM="$tmp_nm -p"
5696 break
5697 ;;
5698 *)
5699 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5700 continue # so that we can try to find one that supports BSD flags
5701 ;;
5702 esac
5703 ;;
5704 esac
5705 fi
5706 done
5707 IFS="$lt_save_ifs"
5708 done
5709 : ${lt_cv_path_NM=no}
5710 fi
5711 fi
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5713 $as_echo "$lt_cv_path_NM" >&6; }
5714 if test "$lt_cv_path_NM" != "no"; then
5715 NM="$lt_cv_path_NM"
5716 else
5717 # Didn't find any BSD compatible name lister, look for dumpbin.
5718 if test -n "$DUMPBIN"; then :
5719 # Let the user override the test.
5720 else
5721 if test -n "$ac_tool_prefix"; then
5722 for ac_prog in dumpbin "link -dump"
5723 do
5724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5725 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5727 $as_echo_n "checking for $ac_word... " >&6; }
5728 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5729 $as_echo_n "(cached) " >&6
5730 else
5731 if test -n "$DUMPBIN"; then
5732 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5733 else
5734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735 for as_dir in $PATH
5736 do
5737 IFS=$as_save_IFS
5738 test -z "$as_dir" && as_dir=.
5739 for ac_exec_ext in '' $ac_executable_extensions; do
5740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5741 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 break 2
5744 fi
5745 done
5746 done
5747 IFS=$as_save_IFS
5748
5749 fi
5750 fi
5751 DUMPBIN=$ac_cv_prog_DUMPBIN
5752 if test -n "$DUMPBIN"; then
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5754 $as_echo "$DUMPBIN" >&6; }
5755 else
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 $as_echo "no" >&6; }
5758 fi
5759
5760
5761 test -n "$DUMPBIN" && break
5762 done
5763 fi
5764 if test -z "$DUMPBIN"; then
5765 ac_ct_DUMPBIN=$DUMPBIN
5766 for ac_prog in dumpbin "link -dump"
5767 do
5768 # Extract the first word of "$ac_prog", so it can be a program name with args.
5769 set dummy $ac_prog; ac_word=$2
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5771 $as_echo_n "checking for $ac_word... " >&6; }
5772 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5773 $as_echo_n "(cached) " >&6
5774 else
5775 if test -n "$ac_ct_DUMPBIN"; then
5776 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5777 else
5778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5779 for as_dir in $PATH
5780 do
5781 IFS=$as_save_IFS
5782 test -z "$as_dir" && as_dir=.
5783 for ac_exec_ext in '' $ac_executable_extensions; do
5784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5785 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787 break 2
5788 fi
5789 done
5790 done
5791 IFS=$as_save_IFS
5792
5793 fi
5794 fi
5795 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5796 if test -n "$ac_ct_DUMPBIN"; then
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5798 $as_echo "$ac_ct_DUMPBIN" >&6; }
5799 else
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }
5802 fi
5803
5804
5805 test -n "$ac_ct_DUMPBIN" && break
5806 done
5807
5808 if test "x$ac_ct_DUMPBIN" = x; then
5809 DUMPBIN=":"
5810 else
5811 case $cross_compiling:$ac_tool_warned in
5812 yes:)
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5815 ac_tool_warned=yes ;;
5816 esac
5817 DUMPBIN=$ac_ct_DUMPBIN
5818 fi
5819 fi
5820
5821 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5822 *COFF*)
5823 DUMPBIN="$DUMPBIN -symbols"
5824 ;;
5825 *)
5826 DUMPBIN=:
5827 ;;
5828 esac
5829 fi
5830
5831 if test "$DUMPBIN" != ":"; then
5832 NM="$DUMPBIN"
5833 fi
5834 fi
5835 test -z "$NM" && NM=nm
5836
5837
5838
5839
5840
5841
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5843 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5844 if test "${lt_cv_nm_interface+set}" = set; then :
5845 $as_echo_n "(cached) " >&6
5846 else
5847 lt_cv_nm_interface="BSD nm"
5848 echo "int some_variable = 0;" > conftest.$ac_ext
5849 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5850 (eval "$ac_compile" 2>conftest.err)
5851 cat conftest.err >&5
5852 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5853 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5854 cat conftest.err >&5
5855 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5856 cat conftest.out >&5
5857 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5858 lt_cv_nm_interface="MS dumpbin"
5859 fi
5860 rm -f conftest*
5861 fi
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5863 $as_echo "$lt_cv_nm_interface" >&6; }
5864
5865 # find the maximum length of command line arguments
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5867 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5868 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5871 i=0
5872 teststring="ABCD"
5873
5874 case $build_os in
5875 msdosdjgpp*)
5876 # On DJGPP, this test can blow up pretty badly due to problems in libc
5877 # (any single argument exceeding 2000 bytes causes a buffer overrun
5878 # during glob expansion). Even if it were fixed, the result of this
5879 # check would be larger than it should be.
5880 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5881 ;;
5882
5883 gnu*)
5884 # Under GNU Hurd, this test is not required because there is
5885 # no limit to the length of command line arguments.
5886 # Libtool will interpret -1 as no limit whatsoever
5887 lt_cv_sys_max_cmd_len=-1;
5888 ;;
5889
5890 cygwin* | mingw* | cegcc*)
5891 # On Win9x/ME, this test blows up -- it succeeds, but takes
5892 # about 5 minutes as the teststring grows exponentially.
5893 # Worse, since 9x/ME are not pre-emptively multitasking,
5894 # you end up with a "frozen" computer, even though with patience
5895 # the test eventually succeeds (with a max line length of 256k).
5896 # Instead, let's just punt: use the minimum linelength reported by
5897 # all of the supported platforms: 8192 (on NT/2K/XP).
5898 lt_cv_sys_max_cmd_len=8192;
5899 ;;
5900
5901 mint*)
5902 # On MiNT this can take a long time and run out of memory.
5903 lt_cv_sys_max_cmd_len=8192;
5904 ;;
5905
5906 amigaos*)
5907 # On AmigaOS with pdksh, this test takes hours, literally.
5908 # So we just punt and use a minimum line length of 8192.
5909 lt_cv_sys_max_cmd_len=8192;
5910 ;;
5911
5912 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5913 # This has been around since 386BSD, at least. Likely further.
5914 if test -x /sbin/sysctl; then
5915 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5916 elif test -x /usr/sbin/sysctl; then
5917 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5918 else
5919 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5920 fi
5921 # And add a safety zone
5922 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5923 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5924 ;;
5925
5926 interix*)
5927 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5928 lt_cv_sys_max_cmd_len=196608
5929 ;;
5930
5931 osf*)
5932 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5933 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5934 # nice to cause kernel panics so lets avoid the loop below.
5935 # First set a reasonable default.
5936 lt_cv_sys_max_cmd_len=16384
5937 #
5938 if test -x /sbin/sysconfig; then
5939 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5940 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5941 esac
5942 fi
5943 ;;
5944 sco3.2v5*)
5945 lt_cv_sys_max_cmd_len=102400
5946 ;;
5947 sysv5* | sco5v6* | sysv4.2uw2*)
5948 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5949 if test -n "$kargmax"; then
5950 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5951 else
5952 lt_cv_sys_max_cmd_len=32768
5953 fi
5954 ;;
5955 *)
5956 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5957 if test -n "$lt_cv_sys_max_cmd_len"; then
5958 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5959 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5960 else
5961 # Make teststring a little bigger before we do anything with it.
5962 # a 1K string should be a reasonable start.
5963 for i in 1 2 3 4 5 6 7 8 ; do
5964 teststring=$teststring$teststring
5965 done
5966 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5967 # If test is not a shell built-in, we'll probably end up computing a
5968 # maximum length that is only half of the actual maximum length, but
5969 # we can't tell.
5970 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5971 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5972 test $i != 17 # 1/2 MB should be enough
5973 do
5974 i=`expr $i + 1`
5975 teststring=$teststring$teststring
5976 done
5977 # Only check the string length outside the loop.
5978 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5979 teststring=
5980 # Add a significant safety factor because C++ compilers can tack on
5981 # massive amounts of additional arguments before passing them to the
5982 # linker. It appears as though 1/2 is a usable value.
5983 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5984 fi
5985 ;;
5986 esac
5987
5988 fi
5989
5990 if test -n $lt_cv_sys_max_cmd_len ; then
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5992 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5993 else
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5995 $as_echo "none" >&6; }
5996 fi
5997 max_cmd_len=$lt_cv_sys_max_cmd_len
5998
5999
6000
6001
6002
6003
6004 : ${CP="cp -f"}
6005 : ${MV="mv -f"}
6006 : ${RM="rm -f"}
6007
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6009 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6010 # Try some XSI features
6011 xsi_shell=no
6012 ( _lt_dummy="a/b/c"
6013 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6014 = c,a/b,, \
6015 && eval 'test $(( 1 + 1 )) -eq 2 \
6016 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6017 && xsi_shell=yes
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6019 $as_echo "$xsi_shell" >&6; }
6020
6021
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6023 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6024 lt_shell_append=no
6025 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6026 >/dev/null 2>&1 \
6027 && lt_shell_append=yes
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6029 $as_echo "$lt_shell_append" >&6; }
6030
6031
6032 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6033 lt_unset=unset
6034 else
6035 lt_unset=false
6036 fi
6037
6038
6039
6040
6041
6042 # test EBCDIC or ASCII
6043 case `echo X|tr X '\101'` in
6044 A) # ASCII based system
6045 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6046 lt_SP2NL='tr \040 \012'
6047 lt_NL2SP='tr \015\012 \040\040'
6048 ;;
6049 *) # EBCDIC based system
6050 lt_SP2NL='tr \100 \n'
6051 lt_NL2SP='tr \r\n \100\100'
6052 ;;
6053 esac
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6064 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6065 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6066 $as_echo_n "(cached) " >&6
6067 else
6068 lt_cv_ld_reload_flag='-r'
6069 fi
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6071 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6072 reload_flag=$lt_cv_ld_reload_flag
6073 case $reload_flag in
6074 "" | " "*) ;;
6075 *) reload_flag=" $reload_flag" ;;
6076 esac
6077 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6078 case $host_os in
6079 darwin*)
6080 if test "$GCC" = yes; then
6081 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6082 else
6083 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6084 fi
6085 ;;
6086 esac
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096 if test -n "$ac_tool_prefix"; then
6097 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6098 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6100 $as_echo_n "checking for $ac_word... " >&6; }
6101 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6102 $as_echo_n "(cached) " >&6
6103 else
6104 if test -n "$OBJDUMP"; then
6105 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6106 else
6107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6108 for as_dir in $PATH
6109 do
6110 IFS=$as_save_IFS
6111 test -z "$as_dir" && as_dir=.
6112 for ac_exec_ext in '' $ac_executable_extensions; do
6113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6114 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6116 break 2
6117 fi
6118 done
6119 done
6120 IFS=$as_save_IFS
6121
6122 fi
6123 fi
6124 OBJDUMP=$ac_cv_prog_OBJDUMP
6125 if test -n "$OBJDUMP"; then
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6127 $as_echo "$OBJDUMP" >&6; }
6128 else
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6130 $as_echo "no" >&6; }
6131 fi
6132
6133
6134 fi
6135 if test -z "$ac_cv_prog_OBJDUMP"; then
6136 ac_ct_OBJDUMP=$OBJDUMP
6137 # Extract the first word of "objdump", so it can be a program name with args.
6138 set dummy objdump; ac_word=$2
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6140 $as_echo_n "checking for $ac_word... " >&6; }
6141 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6142 $as_echo_n "(cached) " >&6
6143 else
6144 if test -n "$ac_ct_OBJDUMP"; then
6145 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6146 else
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6148 for as_dir in $PATH
6149 do
6150 IFS=$as_save_IFS
6151 test -z "$as_dir" && as_dir=.
6152 for ac_exec_ext in '' $ac_executable_extensions; do
6153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6154 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6156 break 2
6157 fi
6158 done
6159 done
6160 IFS=$as_save_IFS
6161
6162 fi
6163 fi
6164 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6165 if test -n "$ac_ct_OBJDUMP"; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6167 $as_echo "$ac_ct_OBJDUMP" >&6; }
6168 else
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6170 $as_echo "no" >&6; }
6171 fi
6172
6173 if test "x$ac_ct_OBJDUMP" = x; then
6174 OBJDUMP="false"
6175 else
6176 case $cross_compiling:$ac_tool_warned in
6177 yes:)
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6180 ac_tool_warned=yes ;;
6181 esac
6182 OBJDUMP=$ac_ct_OBJDUMP
6183 fi
6184 else
6185 OBJDUMP="$ac_cv_prog_OBJDUMP"
6186 fi
6187
6188 test -z "$OBJDUMP" && OBJDUMP=objdump
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6199 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6200 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6201 $as_echo_n "(cached) " >&6
6202 else
6203 lt_cv_file_magic_cmd='$MAGIC_CMD'
6204 lt_cv_file_magic_test_file=
6205 lt_cv_deplibs_check_method='unknown'
6206 # Need to set the preceding variable on all platforms that support
6207 # interlibrary dependencies.
6208 # 'none' -- dependencies not supported.
6209 # `unknown' -- same as none, but documents that we really don't know.
6210 # 'pass_all' -- all dependencies passed with no checks.
6211 # 'test_compile' -- check by making test program.
6212 # 'file_magic [[regex]]' -- check by looking for files in library path
6213 # which responds to the $file_magic_cmd with a given extended regex.
6214 # If you have `file' or equivalent on your system and you're not sure
6215 # whether `pass_all' will *always* work, you probably want this one.
6216
6217 case $host_os in
6218 aix[4-9]*)
6219 lt_cv_deplibs_check_method=pass_all
6220 ;;
6221
6222 beos*)
6223 lt_cv_deplibs_check_method=pass_all
6224 ;;
6225
6226 bsdi[45]*)
6227 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6228 lt_cv_file_magic_cmd='/usr/bin/file -L'
6229 lt_cv_file_magic_test_file=/shlib/libc.so
6230 ;;
6231
6232 cygwin*)
6233 # func_win32_libid is a shell function defined in ltmain.sh
6234 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6235 lt_cv_file_magic_cmd='func_win32_libid'
6236 ;;
6237
6238 mingw* | pw32*)
6239 # Base MSYS/MinGW do not provide the 'file' command needed by
6240 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6241 # unless we find 'file', for example because we are cross-compiling.
6242 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6243 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6244 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6245 lt_cv_file_magic_cmd='func_win32_libid'
6246 else
6247 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6248 lt_cv_file_magic_cmd='$OBJDUMP -f'
6249 fi
6250 ;;
6251
6252 cegcc*)
6253 # use the weaker test based on 'objdump'. See mingw*.
6254 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6255 lt_cv_file_magic_cmd='$OBJDUMP -f'
6256 ;;
6257
6258 darwin* | rhapsody*)
6259 lt_cv_deplibs_check_method=pass_all
6260 ;;
6261
6262 freebsd* | dragonfly*)
6263 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6264 case $host_cpu in
6265 i*86 )
6266 # Not sure whether the presence of OpenBSD here was a mistake.
6267 # Let's accept both of them until this is cleared up.
6268 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6269 lt_cv_file_magic_cmd=/usr/bin/file
6270 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6271 ;;
6272 esac
6273 else
6274 lt_cv_deplibs_check_method=pass_all
6275 fi
6276 ;;
6277
6278 gnu*)
6279 lt_cv_deplibs_check_method=pass_all
6280 ;;
6281
6282 haiku*)
6283 lt_cv_deplibs_check_method=pass_all
6284 ;;
6285
6286 hpux10.20* | hpux11*)
6287 lt_cv_file_magic_cmd=/usr/bin/file
6288 case $host_cpu in
6289 ia64*)
6290 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6291 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6292 ;;
6293 hppa*64*)
6294 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]'
6295 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6296 ;;
6297 *)
6298 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6299 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6300 ;;
6301 esac
6302 ;;
6303
6304 interix[3-9]*)
6305 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6306 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6307 ;;
6308
6309 irix5* | irix6* | nonstopux*)
6310 case $LD in
6311 *-32|*"-32 ") libmagic=32-bit;;
6312 *-n32|*"-n32 ") libmagic=N32;;
6313 *-64|*"-64 ") libmagic=64-bit;;
6314 *) libmagic=never-match;;
6315 esac
6316 lt_cv_deplibs_check_method=pass_all
6317 ;;
6318
6319 # This must be Linux ELF.
6320 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6321 lt_cv_deplibs_check_method=pass_all
6322 ;;
6323
6324 netbsd*)
6325 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6326 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6327 else
6328 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6329 fi
6330 ;;
6331
6332 newos6*)
6333 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6334 lt_cv_file_magic_cmd=/usr/bin/file
6335 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6336 ;;
6337
6338 *nto* | *qnx*)
6339 lt_cv_deplibs_check_method=pass_all
6340 ;;
6341
6342 openbsd*)
6343 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6344 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6345 else
6346 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6347 fi
6348 ;;
6349
6350 osf3* | osf4* | osf5*)
6351 lt_cv_deplibs_check_method=pass_all
6352 ;;
6353
6354 rdos*)
6355 lt_cv_deplibs_check_method=pass_all
6356 ;;
6357
6358 solaris*)
6359 lt_cv_deplibs_check_method=pass_all
6360 ;;
6361
6362 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6363 lt_cv_deplibs_check_method=pass_all
6364 ;;
6365
6366 sysv4 | sysv4.3*)
6367 case $host_vendor in
6368 motorola)
6369 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]'
6370 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6371 ;;
6372 ncr)
6373 lt_cv_deplibs_check_method=pass_all
6374 ;;
6375 sequent)
6376 lt_cv_file_magic_cmd='/bin/file'
6377 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6378 ;;
6379 sni)
6380 lt_cv_file_magic_cmd='/bin/file'
6381 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6382 lt_cv_file_magic_test_file=/lib/libc.so
6383 ;;
6384 siemens)
6385 lt_cv_deplibs_check_method=pass_all
6386 ;;
6387 pc)
6388 lt_cv_deplibs_check_method=pass_all
6389 ;;
6390 esac
6391 ;;
6392
6393 tpf*)
6394 lt_cv_deplibs_check_method=pass_all
6395 ;;
6396 esac
6397
6398 fi
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6400 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6401 file_magic_cmd=$lt_cv_file_magic_cmd
6402 deplibs_check_method=$lt_cv_deplibs_check_method
6403 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416 if test -n "$ac_tool_prefix"; then
6417 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6418 set dummy ${ac_tool_prefix}ar; ac_word=$2
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6420 $as_echo_n "checking for $ac_word... " >&6; }
6421 if test "${ac_cv_prog_AR+set}" = set; then :
6422 $as_echo_n "(cached) " >&6
6423 else
6424 if test -n "$AR"; then
6425 ac_cv_prog_AR="$AR" # Let the user override the test.
6426 else
6427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6428 for as_dir in $PATH
6429 do
6430 IFS=$as_save_IFS
6431 test -z "$as_dir" && as_dir=.
6432 for ac_exec_ext in '' $ac_executable_extensions; do
6433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6434 ac_cv_prog_AR="${ac_tool_prefix}ar"
6435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6436 break 2
6437 fi
6438 done
6439 done
6440 IFS=$as_save_IFS
6441
6442 fi
6443 fi
6444 AR=$ac_cv_prog_AR
6445 if test -n "$AR"; then
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6447 $as_echo "$AR" >&6; }
6448 else
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6450 $as_echo "no" >&6; }
6451 fi
6452
6453
6454 fi
6455 if test -z "$ac_cv_prog_AR"; then
6456 ac_ct_AR=$AR
6457 # Extract the first word of "ar", so it can be a program name with args.
6458 set dummy ar; ac_word=$2
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6460 $as_echo_n "checking for $ac_word... " >&6; }
6461 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6462 $as_echo_n "(cached) " >&6
6463 else
6464 if test -n "$ac_ct_AR"; then
6465 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6466 else
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 for as_dir in $PATH
6469 do
6470 IFS=$as_save_IFS
6471 test -z "$as_dir" && as_dir=.
6472 for ac_exec_ext in '' $ac_executable_extensions; do
6473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6474 ac_cv_prog_ac_ct_AR="ar"
6475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6476 break 2
6477 fi
6478 done
6479 done
6480 IFS=$as_save_IFS
6481
6482 fi
6483 fi
6484 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6485 if test -n "$ac_ct_AR"; then
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6487 $as_echo "$ac_ct_AR" >&6; }
6488 else
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6490 $as_echo "no" >&6; }
6491 fi
6492
6493 if test "x$ac_ct_AR" = x; then
6494 AR="false"
6495 else
6496 case $cross_compiling:$ac_tool_warned in
6497 yes:)
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6500 ac_tool_warned=yes ;;
6501 esac
6502 AR=$ac_ct_AR
6503 fi
6504 else
6505 AR="$ac_cv_prog_AR"
6506 fi
6507
6508 test -z "$AR" && AR=ar
6509 test -z "$AR_FLAGS" && AR_FLAGS=cru
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521 if test -n "$ac_tool_prefix"; then
6522 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6523 set dummy ${ac_tool_prefix}strip; ac_word=$2
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6525 $as_echo_n "checking for $ac_word... " >&6; }
6526 if test "${ac_cv_prog_STRIP+set}" = set; then :
6527 $as_echo_n "(cached) " >&6
6528 else
6529 if test -n "$STRIP"; then
6530 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6531 else
6532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6533 for as_dir in $PATH
6534 do
6535 IFS=$as_save_IFS
6536 test -z "$as_dir" && as_dir=.
6537 for ac_exec_ext in '' $ac_executable_extensions; do
6538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6539 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6541 break 2
6542 fi
6543 done
6544 done
6545 IFS=$as_save_IFS
6546
6547 fi
6548 fi
6549 STRIP=$ac_cv_prog_STRIP
6550 if test -n "$STRIP"; then
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6552 $as_echo "$STRIP" >&6; }
6553 else
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6555 $as_echo "no" >&6; }
6556 fi
6557
6558
6559 fi
6560 if test -z "$ac_cv_prog_STRIP"; then
6561 ac_ct_STRIP=$STRIP
6562 # Extract the first word of "strip", so it can be a program name with args.
6563 set dummy strip; ac_word=$2
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565 $as_echo_n "checking for $ac_word... " >&6; }
6566 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6567 $as_echo_n "(cached) " >&6
6568 else
6569 if test -n "$ac_ct_STRIP"; then
6570 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6571 else
6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573 for as_dir in $PATH
6574 do
6575 IFS=$as_save_IFS
6576 test -z "$as_dir" && as_dir=.
6577 for ac_exec_ext in '' $ac_executable_extensions; do
6578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6579 ac_cv_prog_ac_ct_STRIP="strip"
6580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6581 break 2
6582 fi
6583 done
6584 done
6585 IFS=$as_save_IFS
6586
6587 fi
6588 fi
6589 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6590 if test -n "$ac_ct_STRIP"; then
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6592 $as_echo "$ac_ct_STRIP" >&6; }
6593 else
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 $as_echo "no" >&6; }
6596 fi
6597
6598 if test "x$ac_ct_STRIP" = x; then
6599 STRIP=":"
6600 else
6601 case $cross_compiling:$ac_tool_warned in
6602 yes:)
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6605 ac_tool_warned=yes ;;
6606 esac
6607 STRIP=$ac_ct_STRIP
6608 fi
6609 else
6610 STRIP="$ac_cv_prog_STRIP"
6611 fi
6612
6613 test -z "$STRIP" && STRIP=:
6614
6615
6616
6617
6618
6619
6620 if test -n "$ac_tool_prefix"; then
6621 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6622 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6624 $as_echo_n "checking for $ac_word... " >&6; }
6625 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6626 $as_echo_n "(cached) " >&6
6627 else
6628 if test -n "$RANLIB"; then
6629 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6630 else
6631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 for as_dir in $PATH
6633 do
6634 IFS=$as_save_IFS
6635 test -z "$as_dir" && as_dir=.
6636 for ac_exec_ext in '' $ac_executable_extensions; do
6637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6638 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6640 break 2
6641 fi
6642 done
6643 done
6644 IFS=$as_save_IFS
6645
6646 fi
6647 fi
6648 RANLIB=$ac_cv_prog_RANLIB
6649 if test -n "$RANLIB"; then
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6651 $as_echo "$RANLIB" >&6; }
6652 else
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6654 $as_echo "no" >&6; }
6655 fi
6656
6657
6658 fi
6659 if test -z "$ac_cv_prog_RANLIB"; then
6660 ac_ct_RANLIB=$RANLIB
6661 # Extract the first word of "ranlib", so it can be a program name with args.
6662 set dummy ranlib; ac_word=$2
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6664 $as_echo_n "checking for $ac_word... " >&6; }
6665 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6666 $as_echo_n "(cached) " >&6
6667 else
6668 if test -n "$ac_ct_RANLIB"; then
6669 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6670 else
6671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672 for as_dir in $PATH
6673 do
6674 IFS=$as_save_IFS
6675 test -z "$as_dir" && as_dir=.
6676 for ac_exec_ext in '' $ac_executable_extensions; do
6677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6678 ac_cv_prog_ac_ct_RANLIB="ranlib"
6679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6680 break 2
6681 fi
6682 done
6683 done
6684 IFS=$as_save_IFS
6685
6686 fi
6687 fi
6688 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6689 if test -n "$ac_ct_RANLIB"; then
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6691 $as_echo "$ac_ct_RANLIB" >&6; }
6692 else
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6694 $as_echo "no" >&6; }
6695 fi
6696
6697 if test "x$ac_ct_RANLIB" = x; then
6698 RANLIB=":"
6699 else
6700 case $cross_compiling:$ac_tool_warned in
6701 yes:)
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6704 ac_tool_warned=yes ;;
6705 esac
6706 RANLIB=$ac_ct_RANLIB
6707 fi
6708 else
6709 RANLIB="$ac_cv_prog_RANLIB"
6710 fi
6711
6712 test -z "$RANLIB" && RANLIB=:
6713
6714
6715
6716
6717
6718
6719 # Determine commands to create old-style static archives.
6720 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6721 old_postinstall_cmds='chmod 644 $oldlib'
6722 old_postuninstall_cmds=
6723
6724 if test -n "$RANLIB"; then
6725 case $host_os in
6726 openbsd*)
6727 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6728 ;;
6729 *)
6730 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6731 ;;
6732 esac
6733 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6734 fi
6735
6736 case $host_os in
6737 darwin*)
6738 lock_old_archive_extraction=yes ;;
6739 *)
6740 lock_old_archive_extraction=no ;;
6741 esac
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781 # If no C compiler was specified, use CC.
6782 LTCC=${LTCC-"$CC"}
6783
6784 # If no C compiler flags were specified, use CFLAGS.
6785 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6786
6787 # Allow CC to be a program name with arguments.
6788 compiler=$CC
6789
6790
6791 # Check for command to grab the raw symbol name followed by C symbol from nm.
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6793 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6794 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6795 $as_echo_n "(cached) " >&6
6796 else
6797
6798 # These are sane defaults that work on at least a few old systems.
6799 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6800
6801 # Character class describing NM global symbol codes.
6802 symcode='[BCDEGRST]'
6803
6804 # Regexp to match symbols that can be accessed directly from C.
6805 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6806
6807 # Define system-specific variables.
6808 case $host_os in
6809 aix*)
6810 symcode='[BCDT]'
6811 ;;
6812 cygwin* | mingw* | pw32* | cegcc*)
6813 symcode='[ABCDGISTW]'
6814 ;;
6815 hpux*)
6816 if test "$host_cpu" = ia64; then
6817 symcode='[ABCDEGRST]'
6818 fi
6819 ;;
6820 irix* | nonstopux*)
6821 symcode='[BCDEGRST]'
6822 ;;
6823 osf*)
6824 symcode='[BCDEGQRST]'
6825 ;;
6826 solaris*)
6827 symcode='[BDRT]'
6828 ;;
6829 sco3.2v5*)
6830 symcode='[DT]'
6831 ;;
6832 sysv4.2uw2*)
6833 symcode='[DT]'
6834 ;;
6835 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6836 symcode='[ABDT]'
6837 ;;
6838 sysv4)
6839 symcode='[DFNSTU]'
6840 ;;
6841 esac
6842
6843 # If we're using GNU nm, then use its standard symbol codes.
6844 case `$NM -V 2>&1` in
6845 *GNU* | *'with BFD'*)
6846 symcode='[ABCDGIRSTW]' ;;
6847 esac
6848
6849 # Transform an extracted symbol line into a proper C declaration.
6850 # Some systems (esp. on ia64) link data and code symbols differently,
6851 # so use this general approach.
6852 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6853
6854 # Transform an extracted symbol line into symbol name and symbol address
6855 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6856 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'"
6857
6858 # Handle CRLF in mingw tool chain
6859 opt_cr=
6860 case $build_os in
6861 mingw*)
6862 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6863 ;;
6864 esac
6865
6866 # Try without a prefix underscore, then with it.
6867 for ac_symprfx in "" "_"; do
6868
6869 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6870 symxfrm="\\1 $ac_symprfx\\2 \\2"
6871
6872 # Write the raw and C identifiers.
6873 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6874 # Fake it for dumpbin and say T for any non-static function
6875 # and D for any global variable.
6876 # Also find C++ and __fastcall symbols from MSVC++,
6877 # which start with @ or ?.
6878 lt_cv_sys_global_symbol_pipe="$AWK '"\
6879 " {last_section=section; section=\$ 3};"\
6880 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6881 " \$ 0!~/External *\|/{next};"\
6882 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6883 " {if(hide[section]) next};"\
6884 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6885 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6886 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6887 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6888 " ' prfx=^$ac_symprfx"
6889 else
6890 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6891 fi
6892
6893 # Check to see that the pipe works correctly.
6894 pipe_works=no
6895
6896 rm -f conftest*
6897 cat > conftest.$ac_ext <<_LT_EOF
6898 #ifdef __cplusplus
6899 extern "C" {
6900 #endif
6901 char nm_test_var;
6902 void nm_test_func(void);
6903 void nm_test_func(void){}
6904 #ifdef __cplusplus
6905 }
6906 #endif
6907 int main(){nm_test_var='a';nm_test_func();return(0);}
6908 _LT_EOF
6909
6910 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6911 (eval $ac_compile) 2>&5
6912 ac_status=$?
6913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6914 test $ac_status = 0; }; then
6915 # Now try to grab the symbols.
6916 nlist=conftest.nm
6917 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6918 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6919 ac_status=$?
6920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6921 test $ac_status = 0; } && test -s "$nlist"; then
6922 # Try sorting and uniquifying the output.
6923 if sort "$nlist" | uniq > "$nlist"T; then
6924 mv -f "$nlist"T "$nlist"
6925 else
6926 rm -f "$nlist"T
6927 fi
6928
6929 # Make sure that we snagged all the symbols we need.
6930 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6931 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6932 cat <<_LT_EOF > conftest.$ac_ext
6933 #ifdef __cplusplus
6934 extern "C" {
6935 #endif
6936
6937 _LT_EOF
6938 # Now generate the symbol file.
6939 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6940
6941 cat <<_LT_EOF >> conftest.$ac_ext
6942
6943 /* The mapping between symbol names and symbols. */
6944 const struct {
6945 const char *name;
6946 void *address;
6947 }
6948 lt__PROGRAM__LTX_preloaded_symbols[] =
6949 {
6950 { "@PROGRAM@", (void *) 0 },
6951 _LT_EOF
6952 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6953 cat <<\_LT_EOF >> conftest.$ac_ext
6954 {0, (void *) 0}
6955 };
6956
6957 /* This works around a problem in FreeBSD linker */
6958 #ifdef FREEBSD_WORKAROUND
6959 static const void *lt_preloaded_setup() {
6960 return lt__PROGRAM__LTX_preloaded_symbols;
6961 }
6962 #endif
6963
6964 #ifdef __cplusplus
6965 }
6966 #endif
6967 _LT_EOF
6968 # Now try linking the two files.
6969 mv conftest.$ac_objext conftstm.$ac_objext
6970 lt_save_LIBS="$LIBS"
6971 lt_save_CFLAGS="$CFLAGS"
6972 LIBS="conftstm.$ac_objext"
6973 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6974 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6975 (eval $ac_link) 2>&5
6976 ac_status=$?
6977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6978 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6979 pipe_works=yes
6980 fi
6981 LIBS="$lt_save_LIBS"
6982 CFLAGS="$lt_save_CFLAGS"
6983 else
6984 echo "cannot find nm_test_func in $nlist" >&5
6985 fi
6986 else
6987 echo "cannot find nm_test_var in $nlist" >&5
6988 fi
6989 else
6990 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6991 fi
6992 else
6993 echo "$progname: failed program was:" >&5
6994 cat conftest.$ac_ext >&5
6995 fi
6996 rm -rf conftest* conftst*
6997
6998 # Do not use the global_symbol_pipe unless it works.
6999 if test "$pipe_works" = yes; then
7000 break
7001 else
7002 lt_cv_sys_global_symbol_pipe=
7003 fi
7004 done
7005
7006 fi
7007
7008 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7009 lt_cv_sys_global_symbol_to_cdecl=
7010 fi
7011 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7013 $as_echo "failed" >&6; }
7014 else
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7016 $as_echo "ok" >&6; }
7017 fi
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040 # Check whether --enable-libtool-lock was given.
7041 if test "${enable_libtool_lock+set}" = set; then :
7042 enableval=$enable_libtool_lock;
7043 fi
7044
7045 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7046
7047 # Some flags need to be propagated to the compiler or linker for good
7048 # libtool support.
7049 case $host in
7050 ia64-*-hpux*)
7051 # Find out which ABI we are using.
7052 echo 'int i;' > conftest.$ac_ext
7053 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7054 (eval $ac_compile) 2>&5
7055 ac_status=$?
7056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7057 test $ac_status = 0; }; then
7058 case `/usr/bin/file conftest.$ac_objext` in
7059 *ELF-32*)
7060 HPUX_IA64_MODE="32"
7061 ;;
7062 *ELF-64*)
7063 HPUX_IA64_MODE="64"
7064 ;;
7065 esac
7066 fi
7067 rm -rf conftest*
7068 ;;
7069 *-*-irix6*)
7070 # Find out which ABI we are using.
7071 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7072 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7073 (eval $ac_compile) 2>&5
7074 ac_status=$?
7075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7076 test $ac_status = 0; }; then
7077 if test "$lt_cv_prog_gnu_ld" = yes; then
7078 case `/usr/bin/file conftest.$ac_objext` in
7079 *32-bit*)
7080 LD="${LD-ld} -melf32bsmip"
7081 ;;
7082 *N32*)
7083 LD="${LD-ld} -melf32bmipn32"
7084 ;;
7085 *64-bit*)
7086 LD="${LD-ld} -melf64bmip"
7087 ;;
7088 esac
7089 else
7090 case `/usr/bin/file conftest.$ac_objext` in
7091 *32-bit*)
7092 LD="${LD-ld} -32"
7093 ;;
7094 *N32*)
7095 LD="${LD-ld} -n32"
7096 ;;
7097 *64-bit*)
7098 LD="${LD-ld} -64"
7099 ;;
7100 esac
7101 fi
7102 fi
7103 rm -rf conftest*
7104 ;;
7105
7106 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7107 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7108 # Find out which ABI we are using.
7109 echo 'int i;' > conftest.$ac_ext
7110 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7111 (eval $ac_compile) 2>&5
7112 ac_status=$?
7113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7114 test $ac_status = 0; }; then
7115 case `/usr/bin/file conftest.o` in
7116 *32-bit*)
7117 case $host in
7118 x86_64-*kfreebsd*-gnu)
7119 LD="${LD-ld} -m elf_i386_fbsd"
7120 ;;
7121 x86_64-*linux*)
7122 LD="${LD-ld} -m elf_i386"
7123 ;;
7124 ppc64-*linux*|powerpc64-*linux*)
7125 LD="${LD-ld} -m elf32ppclinux"
7126 ;;
7127 s390x-*linux*)
7128 LD="${LD-ld} -m elf_s390"
7129 ;;
7130 sparc64-*linux*)
7131 LD="${LD-ld} -m elf32_sparc"
7132 ;;
7133 esac
7134 ;;
7135 *64-bit*)
7136 case $host in
7137 x86_64-*kfreebsd*-gnu)
7138 LD="${LD-ld} -m elf_x86_64_fbsd"
7139 ;;
7140 x86_64-*linux*)
7141 LD="${LD-ld} -m elf_x86_64"
7142 ;;
7143 ppc*-*linux*|powerpc*-*linux*)
7144 LD="${LD-ld} -m elf64ppc"
7145 ;;
7146 s390*-*linux*|s390*-*tpf*)
7147 LD="${LD-ld} -m elf64_s390"
7148 ;;
7149 sparc*-*linux*)
7150 LD="${LD-ld} -m elf64_sparc"
7151 ;;
7152 esac
7153 ;;
7154 esac
7155 fi
7156 rm -rf conftest*
7157 ;;
7158
7159 *-*-sco3.2v5*)
7160 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7161 SAVE_CFLAGS="$CFLAGS"
7162 CFLAGS="$CFLAGS -belf"
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7164 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7165 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7166 $as_echo_n "(cached) " >&6
7167 else
7168 ac_ext=c
7169 ac_cpp='$CPP $CPPFLAGS'
7170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7173
7174 if test x$gcc_no_link = xyes; then
7175 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7176 fi
7177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7178 /* end confdefs.h. */
7179
7180 int
7181 main ()
7182 {
7183
7184 ;
7185 return 0;
7186 }
7187 _ACEOF
7188 if ac_fn_c_try_link "$LINENO"; then :
7189 lt_cv_cc_needs_belf=yes
7190 else
7191 lt_cv_cc_needs_belf=no
7192 fi
7193 rm -f core conftest.err conftest.$ac_objext \
7194 conftest$ac_exeext conftest.$ac_ext
7195 ac_ext=c
7196 ac_cpp='$CPP $CPPFLAGS'
7197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7200
7201 fi
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7203 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7204 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7205 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7206 CFLAGS="$SAVE_CFLAGS"
7207 fi
7208 ;;
7209 sparc*-*solaris*)
7210 # Find out which ABI we are using.
7211 echo 'int i;' > conftest.$ac_ext
7212 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7213 (eval $ac_compile) 2>&5
7214 ac_status=$?
7215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7216 test $ac_status = 0; }; then
7217 case `/usr/bin/file conftest.o` in
7218 *64-bit*)
7219 case $lt_cv_prog_gnu_ld in
7220 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7221 *)
7222 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7223 LD="${LD-ld} -64"
7224 fi
7225 ;;
7226 esac
7227 ;;
7228 esac
7229 fi
7230 rm -rf conftest*
7231 ;;
7232 esac
7233
7234 need_locks="$enable_libtool_lock"
7235
7236
7237 case $host_os in
7238 rhapsody* | darwin*)
7239 if test -n "$ac_tool_prefix"; then
7240 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7241 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243 $as_echo_n "checking for $ac_word... " >&6; }
7244 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7245 $as_echo_n "(cached) " >&6
7246 else
7247 if test -n "$DSYMUTIL"; then
7248 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7249 else
7250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7251 for as_dir in $PATH
7252 do
7253 IFS=$as_save_IFS
7254 test -z "$as_dir" && as_dir=.
7255 for ac_exec_ext in '' $ac_executable_extensions; do
7256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7257 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7259 break 2
7260 fi
7261 done
7262 done
7263 IFS=$as_save_IFS
7264
7265 fi
7266 fi
7267 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7268 if test -n "$DSYMUTIL"; then
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7270 $as_echo "$DSYMUTIL" >&6; }
7271 else
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273 $as_echo "no" >&6; }
7274 fi
7275
7276
7277 fi
7278 if test -z "$ac_cv_prog_DSYMUTIL"; then
7279 ac_ct_DSYMUTIL=$DSYMUTIL
7280 # Extract the first word of "dsymutil", so it can be a program name with args.
7281 set dummy dsymutil; ac_word=$2
7282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7283 $as_echo_n "checking for $ac_word... " >&6; }
7284 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7285 $as_echo_n "(cached) " >&6
7286 else
7287 if test -n "$ac_ct_DSYMUTIL"; then
7288 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7289 else
7290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7291 for as_dir in $PATH
7292 do
7293 IFS=$as_save_IFS
7294 test -z "$as_dir" && as_dir=.
7295 for ac_exec_ext in '' $ac_executable_extensions; do
7296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7297 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7299 break 2
7300 fi
7301 done
7302 done
7303 IFS=$as_save_IFS
7304
7305 fi
7306 fi
7307 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7308 if test -n "$ac_ct_DSYMUTIL"; then
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7310 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7311 else
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7313 $as_echo "no" >&6; }
7314 fi
7315
7316 if test "x$ac_ct_DSYMUTIL" = x; then
7317 DSYMUTIL=":"
7318 else
7319 case $cross_compiling:$ac_tool_warned in
7320 yes:)
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7323 ac_tool_warned=yes ;;
7324 esac
7325 DSYMUTIL=$ac_ct_DSYMUTIL
7326 fi
7327 else
7328 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7329 fi
7330
7331 if test -n "$ac_tool_prefix"; then
7332 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7333 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7335 $as_echo_n "checking for $ac_word... " >&6; }
7336 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7337 $as_echo_n "(cached) " >&6
7338 else
7339 if test -n "$NMEDIT"; then
7340 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7341 else
7342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7343 for as_dir in $PATH
7344 do
7345 IFS=$as_save_IFS
7346 test -z "$as_dir" && as_dir=.
7347 for ac_exec_ext in '' $ac_executable_extensions; do
7348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7349 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7351 break 2
7352 fi
7353 done
7354 done
7355 IFS=$as_save_IFS
7356
7357 fi
7358 fi
7359 NMEDIT=$ac_cv_prog_NMEDIT
7360 if test -n "$NMEDIT"; then
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7362 $as_echo "$NMEDIT" >&6; }
7363 else
7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7365 $as_echo "no" >&6; }
7366 fi
7367
7368
7369 fi
7370 if test -z "$ac_cv_prog_NMEDIT"; then
7371 ac_ct_NMEDIT=$NMEDIT
7372 # Extract the first word of "nmedit", so it can be a program name with args.
7373 set dummy nmedit; ac_word=$2
7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7375 $as_echo_n "checking for $ac_word... " >&6; }
7376 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7377 $as_echo_n "(cached) " >&6
7378 else
7379 if test -n "$ac_ct_NMEDIT"; then
7380 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7381 else
7382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7383 for as_dir in $PATH
7384 do
7385 IFS=$as_save_IFS
7386 test -z "$as_dir" && as_dir=.
7387 for ac_exec_ext in '' $ac_executable_extensions; do
7388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7389 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7391 break 2
7392 fi
7393 done
7394 done
7395 IFS=$as_save_IFS
7396
7397 fi
7398 fi
7399 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7400 if test -n "$ac_ct_NMEDIT"; then
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7402 $as_echo "$ac_ct_NMEDIT" >&6; }
7403 else
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7405 $as_echo "no" >&6; }
7406 fi
7407
7408 if test "x$ac_ct_NMEDIT" = x; then
7409 NMEDIT=":"
7410 else
7411 case $cross_compiling:$ac_tool_warned in
7412 yes:)
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7415 ac_tool_warned=yes ;;
7416 esac
7417 NMEDIT=$ac_ct_NMEDIT
7418 fi
7419 else
7420 NMEDIT="$ac_cv_prog_NMEDIT"
7421 fi
7422
7423 if test -n "$ac_tool_prefix"; then
7424 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7425 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7427 $as_echo_n "checking for $ac_word... " >&6; }
7428 if test "${ac_cv_prog_LIPO+set}" = set; then :
7429 $as_echo_n "(cached) " >&6
7430 else
7431 if test -n "$LIPO"; then
7432 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7433 else
7434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7435 for as_dir in $PATH
7436 do
7437 IFS=$as_save_IFS
7438 test -z "$as_dir" && as_dir=.
7439 for ac_exec_ext in '' $ac_executable_extensions; do
7440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7441 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7443 break 2
7444 fi
7445 done
7446 done
7447 IFS=$as_save_IFS
7448
7449 fi
7450 fi
7451 LIPO=$ac_cv_prog_LIPO
7452 if test -n "$LIPO"; then
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7454 $as_echo "$LIPO" >&6; }
7455 else
7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7457 $as_echo "no" >&6; }
7458 fi
7459
7460
7461 fi
7462 if test -z "$ac_cv_prog_LIPO"; then
7463 ac_ct_LIPO=$LIPO
7464 # Extract the first word of "lipo", so it can be a program name with args.
7465 set dummy lipo; ac_word=$2
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7467 $as_echo_n "checking for $ac_word... " >&6; }
7468 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7469 $as_echo_n "(cached) " >&6
7470 else
7471 if test -n "$ac_ct_LIPO"; then
7472 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7473 else
7474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7475 for as_dir in $PATH
7476 do
7477 IFS=$as_save_IFS
7478 test -z "$as_dir" && as_dir=.
7479 for ac_exec_ext in '' $ac_executable_extensions; do
7480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7481 ac_cv_prog_ac_ct_LIPO="lipo"
7482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7483 break 2
7484 fi
7485 done
7486 done
7487 IFS=$as_save_IFS
7488
7489 fi
7490 fi
7491 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7492 if test -n "$ac_ct_LIPO"; then
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7494 $as_echo "$ac_ct_LIPO" >&6; }
7495 else
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7497 $as_echo "no" >&6; }
7498 fi
7499
7500 if test "x$ac_ct_LIPO" = x; then
7501 LIPO=":"
7502 else
7503 case $cross_compiling:$ac_tool_warned in
7504 yes:)
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7507 ac_tool_warned=yes ;;
7508 esac
7509 LIPO=$ac_ct_LIPO
7510 fi
7511 else
7512 LIPO="$ac_cv_prog_LIPO"
7513 fi
7514
7515 if test -n "$ac_tool_prefix"; then
7516 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7517 set dummy ${ac_tool_prefix}otool; ac_word=$2
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7519 $as_echo_n "checking for $ac_word... " >&6; }
7520 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7521 $as_echo_n "(cached) " >&6
7522 else
7523 if test -n "$OTOOL"; then
7524 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7525 else
7526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7527 for as_dir in $PATH
7528 do
7529 IFS=$as_save_IFS
7530 test -z "$as_dir" && as_dir=.
7531 for ac_exec_ext in '' $ac_executable_extensions; do
7532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7533 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7535 break 2
7536 fi
7537 done
7538 done
7539 IFS=$as_save_IFS
7540
7541 fi
7542 fi
7543 OTOOL=$ac_cv_prog_OTOOL
7544 if test -n "$OTOOL"; then
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7546 $as_echo "$OTOOL" >&6; }
7547 else
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7549 $as_echo "no" >&6; }
7550 fi
7551
7552
7553 fi
7554 if test -z "$ac_cv_prog_OTOOL"; then
7555 ac_ct_OTOOL=$OTOOL
7556 # Extract the first word of "otool", so it can be a program name with args.
7557 set dummy otool; ac_word=$2
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7559 $as_echo_n "checking for $ac_word... " >&6; }
7560 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7561 $as_echo_n "(cached) " >&6
7562 else
7563 if test -n "$ac_ct_OTOOL"; then
7564 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7565 else
7566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7567 for as_dir in $PATH
7568 do
7569 IFS=$as_save_IFS
7570 test -z "$as_dir" && as_dir=.
7571 for ac_exec_ext in '' $ac_executable_extensions; do
7572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7573 ac_cv_prog_ac_ct_OTOOL="otool"
7574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7575 break 2
7576 fi
7577 done
7578 done
7579 IFS=$as_save_IFS
7580
7581 fi
7582 fi
7583 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7584 if test -n "$ac_ct_OTOOL"; then
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7586 $as_echo "$ac_ct_OTOOL" >&6; }
7587 else
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7589 $as_echo "no" >&6; }
7590 fi
7591
7592 if test "x$ac_ct_OTOOL" = x; then
7593 OTOOL=":"
7594 else
7595 case $cross_compiling:$ac_tool_warned in
7596 yes:)
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7599 ac_tool_warned=yes ;;
7600 esac
7601 OTOOL=$ac_ct_OTOOL
7602 fi
7603 else
7604 OTOOL="$ac_cv_prog_OTOOL"
7605 fi
7606
7607 if test -n "$ac_tool_prefix"; then
7608 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7609 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7611 $as_echo_n "checking for $ac_word... " >&6; }
7612 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7613 $as_echo_n "(cached) " >&6
7614 else
7615 if test -n "$OTOOL64"; then
7616 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7617 else
7618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7619 for as_dir in $PATH
7620 do
7621 IFS=$as_save_IFS
7622 test -z "$as_dir" && as_dir=.
7623 for ac_exec_ext in '' $ac_executable_extensions; do
7624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7625 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7627 break 2
7628 fi
7629 done
7630 done
7631 IFS=$as_save_IFS
7632
7633 fi
7634 fi
7635 OTOOL64=$ac_cv_prog_OTOOL64
7636 if test -n "$OTOOL64"; then
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7638 $as_echo "$OTOOL64" >&6; }
7639 else
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7641 $as_echo "no" >&6; }
7642 fi
7643
7644
7645 fi
7646 if test -z "$ac_cv_prog_OTOOL64"; then
7647 ac_ct_OTOOL64=$OTOOL64
7648 # Extract the first word of "otool64", so it can be a program name with args.
7649 set dummy otool64; ac_word=$2
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7651 $as_echo_n "checking for $ac_word... " >&6; }
7652 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7653 $as_echo_n "(cached) " >&6
7654 else
7655 if test -n "$ac_ct_OTOOL64"; then
7656 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7657 else
7658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7659 for as_dir in $PATH
7660 do
7661 IFS=$as_save_IFS
7662 test -z "$as_dir" && as_dir=.
7663 for ac_exec_ext in '' $ac_executable_extensions; do
7664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7665 ac_cv_prog_ac_ct_OTOOL64="otool64"
7666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7667 break 2
7668 fi
7669 done
7670 done
7671 IFS=$as_save_IFS
7672
7673 fi
7674 fi
7675 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7676 if test -n "$ac_ct_OTOOL64"; then
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7678 $as_echo "$ac_ct_OTOOL64" >&6; }
7679 else
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7681 $as_echo "no" >&6; }
7682 fi
7683
7684 if test "x$ac_ct_OTOOL64" = x; then
7685 OTOOL64=":"
7686 else
7687 case $cross_compiling:$ac_tool_warned in
7688 yes:)
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7691 ac_tool_warned=yes ;;
7692 esac
7693 OTOOL64=$ac_ct_OTOOL64
7694 fi
7695 else
7696 OTOOL64="$ac_cv_prog_OTOOL64"
7697 fi
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7726 $as_echo_n "checking for -single_module linker flag... " >&6; }
7727 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7728 $as_echo_n "(cached) " >&6
7729 else
7730 lt_cv_apple_cc_single_mod=no
7731 if test -z "${LT_MULTI_MODULE}"; then
7732 # By default we will add the -single_module flag. You can override
7733 # by either setting the environment variable LT_MULTI_MODULE
7734 # non-empty at configure time, or by adding -multi_module to the
7735 # link flags.
7736 rm -rf libconftest.dylib*
7737 echo "int foo(void){return 1;}" > conftest.c
7738 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7739 -dynamiclib -Wl,-single_module conftest.c" >&5
7740 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7741 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7742 _lt_result=$?
7743 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7744 lt_cv_apple_cc_single_mod=yes
7745 else
7746 cat conftest.err >&5
7747 fi
7748 rm -rf libconftest.dylib*
7749 rm -f conftest.*
7750 fi
7751 fi
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7753 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7755 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7756 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7757 $as_echo_n "(cached) " >&6
7758 else
7759 lt_cv_ld_exported_symbols_list=no
7760 save_LDFLAGS=$LDFLAGS
7761 echo "_main" > conftest.sym
7762 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7763 if test x$gcc_no_link = xyes; then
7764 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7765 fi
7766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7767 /* end confdefs.h. */
7768
7769 int
7770 main ()
7771 {
7772
7773 ;
7774 return 0;
7775 }
7776 _ACEOF
7777 if ac_fn_c_try_link "$LINENO"; then :
7778 lt_cv_ld_exported_symbols_list=yes
7779 else
7780 lt_cv_ld_exported_symbols_list=no
7781 fi
7782 rm -f core conftest.err conftest.$ac_objext \
7783 conftest$ac_exeext conftest.$ac_ext
7784 LDFLAGS="$save_LDFLAGS"
7785
7786 fi
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7788 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7790 $as_echo_n "checking for -force_load linker flag... " >&6; }
7791 if test "${lt_cv_ld_force_load+set}" = set; then :
7792 $as_echo_n "(cached) " >&6
7793 else
7794 lt_cv_ld_force_load=no
7795 cat > conftest.c << _LT_EOF
7796 int forced_loaded() { return 2;}
7797 _LT_EOF
7798 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7799 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7800 echo "$AR cru libconftest.a conftest.o" >&5
7801 $AR cru libconftest.a conftest.o 2>&5
7802 cat > conftest.c << _LT_EOF
7803 int main() { return 0;}
7804 _LT_EOF
7805 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7806 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7807 _lt_result=$?
7808 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7809 lt_cv_ld_force_load=yes
7810 else
7811 cat conftest.err >&5
7812 fi
7813 rm -f conftest.err libconftest.a conftest conftest.c
7814 rm -rf conftest.dSYM
7815
7816 fi
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7818 $as_echo "$lt_cv_ld_force_load" >&6; }
7819 case $host_os in
7820 rhapsody* | darwin1.[012])
7821 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7822 darwin1.*)
7823 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7824 darwin*) # darwin 5.x on
7825 # if running on 10.5 or later, the deployment target defaults
7826 # to the OS version, if on x86, and 10.4, the deployment
7827 # target defaults to 10.4. Don't you love it?
7828 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7829 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7830 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7831 10.[012]*)
7832 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7833 10.*)
7834 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7835 esac
7836 ;;
7837 esac
7838 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7839 _lt_dar_single_mod='$single_module'
7840 fi
7841 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7842 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7843 else
7844 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7845 fi
7846 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7847 _lt_dsymutil='~$DSYMUTIL $lib || :'
7848 else
7849 _lt_dsymutil=
7850 fi
7851 ;;
7852 esac
7853
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7855 $as_echo_n "checking for ANSI C header files... " >&6; }
7856 if test "${ac_cv_header_stdc+set}" = set; then :
7857 $as_echo_n "(cached) " >&6
7858 else
7859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7860 /* end confdefs.h. */
7861 #include <stdlib.h>
7862 #include <stdarg.h>
7863 #include <string.h>
7864 #include <float.h>
7865
7866 int
7867 main ()
7868 {
7869
7870 ;
7871 return 0;
7872 }
7873 _ACEOF
7874 if ac_fn_c_try_compile "$LINENO"; then :
7875 ac_cv_header_stdc=yes
7876 else
7877 ac_cv_header_stdc=no
7878 fi
7879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7880
7881 if test $ac_cv_header_stdc = yes; then
7882 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7884 /* end confdefs.h. */
7885 #include <string.h>
7886
7887 _ACEOF
7888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7889 $EGREP "memchr" >/dev/null 2>&1; then :
7890
7891 else
7892 ac_cv_header_stdc=no
7893 fi
7894 rm -f conftest*
7895
7896 fi
7897
7898 if test $ac_cv_header_stdc = yes; then
7899 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7901 /* end confdefs.h. */
7902 #include <stdlib.h>
7903
7904 _ACEOF
7905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7906 $EGREP "free" >/dev/null 2>&1; then :
7907
7908 else
7909 ac_cv_header_stdc=no
7910 fi
7911 rm -f conftest*
7912
7913 fi
7914
7915 if test $ac_cv_header_stdc = yes; then
7916 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7917 if test "$cross_compiling" = yes; then :
7918 :
7919 else
7920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7921 /* end confdefs.h. */
7922 #include <ctype.h>
7923 #include <stdlib.h>
7924 #if ((' ' & 0x0FF) == 0x020)
7925 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7926 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7927 #else
7928 # define ISLOWER(c) \
7929 (('a' <= (c) && (c) <= 'i') \
7930 || ('j' <= (c) && (c) <= 'r') \
7931 || ('s' <= (c) && (c) <= 'z'))
7932 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7933 #endif
7934
7935 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7936 int
7937 main ()
7938 {
7939 int i;
7940 for (i = 0; i < 256; i++)
7941 if (XOR (islower (i), ISLOWER (i))
7942 || toupper (i) != TOUPPER (i))
7943 return 2;
7944 return 0;
7945 }
7946 _ACEOF
7947 if ac_fn_c_try_run "$LINENO"; then :
7948
7949 else
7950 ac_cv_header_stdc=no
7951 fi
7952 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7953 conftest.$ac_objext conftest.beam conftest.$ac_ext
7954 fi
7955
7956 fi
7957 fi
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7959 $as_echo "$ac_cv_header_stdc" >&6; }
7960 if test $ac_cv_header_stdc = yes; then
7961
7962 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7963
7964 fi
7965
7966 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7967 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7968 inttypes.h stdint.h unistd.h
7969 do :
7970 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7971 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7972 "
7973 eval as_val=\$$as_ac_Header
7974 if test "x$as_val" = x""yes; then :
7975 cat >>confdefs.h <<_ACEOF
7976 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7977 _ACEOF
7978
7979 fi
7980
7981 done
7982
7983
7984 for ac_header in dlfcn.h
7985 do :
7986 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7987 "
7988 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7989 cat >>confdefs.h <<_ACEOF
7990 #define HAVE_DLFCN_H 1
7991 _ACEOF
7992
7993 fi
7994
7995 done
7996
7997
7998
7999
8000
8001
8002 # Set options
8003
8004
8005
8006
8007 enable_win32_dll=no
8008
8009
8010 # Check whether --enable-shared was given.
8011 if test "${enable_shared+set}" = set; then :
8012 enableval=$enable_shared; p=${PACKAGE-default}
8013 case $enableval in
8014 yes) enable_shared=yes ;;
8015 no) enable_shared=no ;;
8016 *)
8017 enable_shared=no
8018 # Look at the argument we got. We use all the common list separators.
8019 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8020 for pkg in $enableval; do
8021 IFS="$lt_save_ifs"
8022 if test "X$pkg" = "X$p"; then
8023 enable_shared=yes
8024 fi
8025 done
8026 IFS="$lt_save_ifs"
8027 ;;
8028 esac
8029 else
8030 enable_shared=yes
8031 fi
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041 # Check whether --enable-static was given.
8042 if test "${enable_static+set}" = set; then :
8043 enableval=$enable_static; p=${PACKAGE-default}
8044 case $enableval in
8045 yes) enable_static=yes ;;
8046 no) enable_static=no ;;
8047 *)
8048 enable_static=no
8049 # Look at the argument we got. We use all the common list separators.
8050 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8051 for pkg in $enableval; do
8052 IFS="$lt_save_ifs"
8053 if test "X$pkg" = "X$p"; then
8054 enable_static=yes
8055 fi
8056 done
8057 IFS="$lt_save_ifs"
8058 ;;
8059 esac
8060 else
8061 enable_static=yes
8062 fi
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073 # Check whether --with-pic was given.
8074 if test "${with_pic+set}" = set; then :
8075 withval=$with_pic; pic_mode="$withval"
8076 else
8077 pic_mode=default
8078 fi
8079
8080
8081 test -z "$pic_mode" && pic_mode=default
8082
8083
8084
8085
8086
8087
8088
8089 # Check whether --enable-fast-install was given.
8090 if test "${enable_fast_install+set}" = set; then :
8091 enableval=$enable_fast_install; p=${PACKAGE-default}
8092 case $enableval in
8093 yes) enable_fast_install=yes ;;
8094 no) enable_fast_install=no ;;
8095 *)
8096 enable_fast_install=no
8097 # Look at the argument we got. We use all the common list separators.
8098 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8099 for pkg in $enableval; do
8100 IFS="$lt_save_ifs"
8101 if test "X$pkg" = "X$p"; then
8102 enable_fast_install=yes
8103 fi
8104 done
8105 IFS="$lt_save_ifs"
8106 ;;
8107 esac
8108 else
8109 enable_fast_install=yes
8110 fi
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122 # This can be used to rebuild libtool when needed
8123 LIBTOOL_DEPS="$ltmain"
8124
8125 # Always use our own libtool.
8126 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153 test -z "$LN_S" && LN_S="ln -s"
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168 if test -n "${ZSH_VERSION+set}" ; then
8169 setopt NO_GLOB_SUBST
8170 fi
8171
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8173 $as_echo_n "checking for objdir... " >&6; }
8174 if test "${lt_cv_objdir+set}" = set; then :
8175 $as_echo_n "(cached) " >&6
8176 else
8177 rm -f .libs 2>/dev/null
8178 mkdir .libs 2>/dev/null
8179 if test -d .libs; then
8180 lt_cv_objdir=.libs
8181 else
8182 # MS-DOS does not allow filenames that begin with a dot.
8183 lt_cv_objdir=_libs
8184 fi
8185 rmdir .libs 2>/dev/null
8186 fi
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8188 $as_echo "$lt_cv_objdir" >&6; }
8189 objdir=$lt_cv_objdir
8190
8191
8192
8193
8194
8195 cat >>confdefs.h <<_ACEOF
8196 #define LT_OBJDIR "$lt_cv_objdir/"
8197 _ACEOF
8198
8199
8200
8201
8202 case $host_os in
8203 aix3*)
8204 # AIX sometimes has problems with the GCC collect2 program. For some
8205 # reason, if we set the COLLECT_NAMES environment variable, the problems
8206 # vanish in a puff of smoke.
8207 if test "X${COLLECT_NAMES+set}" != Xset; then
8208 COLLECT_NAMES=
8209 export COLLECT_NAMES
8210 fi
8211 ;;
8212 esac
8213
8214 # Global variables:
8215 ofile=libtool
8216 can_build_shared=yes
8217
8218 # All known linkers require a `.a' archive for static linking (except MSVC,
8219 # which needs '.lib').
8220 libext=a
8221
8222 with_gnu_ld="$lt_cv_prog_gnu_ld"
8223
8224 old_CC="$CC"
8225 old_CFLAGS="$CFLAGS"
8226
8227 # Set sane defaults for various variables
8228 test -z "$CC" && CC=cc
8229 test -z "$LTCC" && LTCC=$CC
8230 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8231 test -z "$LD" && LD=ld
8232 test -z "$ac_objext" && ac_objext=o
8233
8234 for cc_temp in $compiler""; do
8235 case $cc_temp in
8236 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8237 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8238 \-*) ;;
8239 *) break;;
8240 esac
8241 done
8242 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8243
8244
8245 # Only perform the check for file, if the check method requires it
8246 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8247 case $deplibs_check_method in
8248 file_magic*)
8249 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8251 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8252 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8253 $as_echo_n "(cached) " >&6
8254 else
8255 case $MAGIC_CMD in
8256 [\\/*] | ?:[\\/]*)
8257 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8258 ;;
8259 *)
8260 lt_save_MAGIC_CMD="$MAGIC_CMD"
8261 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8262 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8263 for ac_dir in $ac_dummy; do
8264 IFS="$lt_save_ifs"
8265 test -z "$ac_dir" && ac_dir=.
8266 if test -f $ac_dir/${ac_tool_prefix}file; then
8267 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8268 if test -n "$file_magic_test_file"; then
8269 case $deplibs_check_method in
8270 "file_magic "*)
8271 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8272 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8273 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8274 $EGREP "$file_magic_regex" > /dev/null; then
8275 :
8276 else
8277 cat <<_LT_EOF 1>&2
8278
8279 *** Warning: the command libtool uses to detect shared libraries,
8280 *** $file_magic_cmd, produces output that libtool cannot recognize.
8281 *** The result is that libtool may fail to recognize shared libraries
8282 *** as such. This will affect the creation of libtool libraries that
8283 *** depend on shared libraries, but programs linked with such libtool
8284 *** libraries will work regardless of this problem. Nevertheless, you
8285 *** may want to report the problem to your system manager and/or to
8286 *** bug-libtool@gnu.org
8287
8288 _LT_EOF
8289 fi ;;
8290 esac
8291 fi
8292 break
8293 fi
8294 done
8295 IFS="$lt_save_ifs"
8296 MAGIC_CMD="$lt_save_MAGIC_CMD"
8297 ;;
8298 esac
8299 fi
8300
8301 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8302 if test -n "$MAGIC_CMD"; then
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8304 $as_echo "$MAGIC_CMD" >&6; }
8305 else
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8307 $as_echo "no" >&6; }
8308 fi
8309
8310
8311
8312
8313
8314 if test -z "$lt_cv_path_MAGIC_CMD"; then
8315 if test -n "$ac_tool_prefix"; then
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8317 $as_echo_n "checking for file... " >&6; }
8318 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8319 $as_echo_n "(cached) " >&6
8320 else
8321 case $MAGIC_CMD in
8322 [\\/*] | ?:[\\/]*)
8323 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8324 ;;
8325 *)
8326 lt_save_MAGIC_CMD="$MAGIC_CMD"
8327 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8328 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8329 for ac_dir in $ac_dummy; do
8330 IFS="$lt_save_ifs"
8331 test -z "$ac_dir" && ac_dir=.
8332 if test -f $ac_dir/file; then
8333 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8334 if test -n "$file_magic_test_file"; then
8335 case $deplibs_check_method in
8336 "file_magic "*)
8337 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8338 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8339 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8340 $EGREP "$file_magic_regex" > /dev/null; then
8341 :
8342 else
8343 cat <<_LT_EOF 1>&2
8344
8345 *** Warning: the command libtool uses to detect shared libraries,
8346 *** $file_magic_cmd, produces output that libtool cannot recognize.
8347 *** The result is that libtool may fail to recognize shared libraries
8348 *** as such. This will affect the creation of libtool libraries that
8349 *** depend on shared libraries, but programs linked with such libtool
8350 *** libraries will work regardless of this problem. Nevertheless, you
8351 *** may want to report the problem to your system manager and/or to
8352 *** bug-libtool@gnu.org
8353
8354 _LT_EOF
8355 fi ;;
8356 esac
8357 fi
8358 break
8359 fi
8360 done
8361 IFS="$lt_save_ifs"
8362 MAGIC_CMD="$lt_save_MAGIC_CMD"
8363 ;;
8364 esac
8365 fi
8366
8367 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8368 if test -n "$MAGIC_CMD"; then
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8370 $as_echo "$MAGIC_CMD" >&6; }
8371 else
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8373 $as_echo "no" >&6; }
8374 fi
8375
8376
8377 else
8378 MAGIC_CMD=:
8379 fi
8380 fi
8381
8382 fi
8383 ;;
8384 esac
8385
8386 # Use C for the default configuration in the libtool script
8387
8388 lt_save_CC="$CC"
8389 ac_ext=c
8390 ac_cpp='$CPP $CPPFLAGS'
8391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8394
8395
8396 # Source file extension for C test sources.
8397 ac_ext=c
8398
8399 # Object file extension for compiled C test sources.
8400 objext=o
8401 objext=$objext
8402
8403 # Code to be used in simple compile tests
8404 lt_simple_compile_test_code="int some_variable = 0;"
8405
8406 # Code to be used in simple link tests
8407 lt_simple_link_test_code='int main(){return(0);}'
8408
8409
8410
8411
8412
8413
8414
8415 # If no C compiler was specified, use CC.
8416 LTCC=${LTCC-"$CC"}
8417
8418 # If no C compiler flags were specified, use CFLAGS.
8419 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8420
8421 # Allow CC to be a program name with arguments.
8422 compiler=$CC
8423
8424 # Save the default compiler, since it gets overwritten when the other
8425 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8426 compiler_DEFAULT=$CC
8427
8428 # save warnings/boilerplate of simple test code
8429 ac_outfile=conftest.$ac_objext
8430 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8431 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8432 _lt_compiler_boilerplate=`cat conftest.err`
8433 $RM conftest*
8434
8435 ac_outfile=conftest.$ac_objext
8436 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8437 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8438 _lt_linker_boilerplate=`cat conftest.err`
8439 $RM -r conftest*
8440
8441
8442 ## CAVEAT EMPTOR:
8443 ## There is no encapsulation within the following macros, do not change
8444 ## the running order or otherwise move them around unless you know exactly
8445 ## what you are doing...
8446 if test -n "$compiler"; then
8447
8448 lt_prog_compiler_no_builtin_flag=
8449
8450 if test "$GCC" = yes; then
8451 case $cc_basename in
8452 nvcc*)
8453 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8454 *)
8455 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8456 esac
8457
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8459 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8460 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8461 $as_echo_n "(cached) " >&6
8462 else
8463 lt_cv_prog_compiler_rtti_exceptions=no
8464 ac_outfile=conftest.$ac_objext
8465 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8466 lt_compiler_flag="-fno-rtti -fno-exceptions"
8467 # Insert the option either (1) after the last *FLAGS variable, or
8468 # (2) before a word containing "conftest.", or (3) at the end.
8469 # Note that $ac_compile itself does not contain backslashes and begins
8470 # with a dollar sign (not a hyphen), so the echo should work correctly.
8471 # The option is referenced via a variable to avoid confusing sed.
8472 lt_compile=`echo "$ac_compile" | $SED \
8473 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8474 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8475 -e 's:$: $lt_compiler_flag:'`
8476 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8477 (eval "$lt_compile" 2>conftest.err)
8478 ac_status=$?
8479 cat conftest.err >&5
8480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8481 if (exit $ac_status) && test -s "$ac_outfile"; then
8482 # The compiler can only warn and ignore the option if not recognized
8483 # So say no if there are warnings other than the usual output.
8484 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8485 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8486 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8487 lt_cv_prog_compiler_rtti_exceptions=yes
8488 fi
8489 fi
8490 $RM conftest*
8491
8492 fi
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8494 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8495
8496 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8497 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8498 else
8499 :
8500 fi
8501
8502 fi
8503
8504
8505
8506
8507
8508
8509 lt_prog_compiler_wl=
8510 lt_prog_compiler_pic=
8511 lt_prog_compiler_static=
8512
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8514 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8515
8516 if test "$GCC" = yes; then
8517 lt_prog_compiler_wl='-Wl,'
8518 lt_prog_compiler_static='-static'
8519
8520 case $host_os in
8521 aix*)
8522 # All AIX code is PIC.
8523 if test "$host_cpu" = ia64; then
8524 # AIX 5 now supports IA64 processor
8525 lt_prog_compiler_static='-Bstatic'
8526 fi
8527 ;;
8528
8529 amigaos*)
8530 case $host_cpu in
8531 powerpc)
8532 # see comment about AmigaOS4 .so support
8533 lt_prog_compiler_pic='-fPIC'
8534 ;;
8535 m68k)
8536 # FIXME: we need at least 68020 code to build shared libraries, but
8537 # adding the `-m68020' flag to GCC prevents building anything better,
8538 # like `-m68040'.
8539 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8540 ;;
8541 esac
8542 ;;
8543
8544 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8545 # PIC is the default for these OSes.
8546 ;;
8547
8548 mingw* | cygwin* | pw32* | os2* | cegcc*)
8549 # This hack is so that the source file can tell whether it is being
8550 # built for inclusion in a dll (and should export symbols for example).
8551 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8552 # (--disable-auto-import) libraries
8553 lt_prog_compiler_pic='-DDLL_EXPORT'
8554 ;;
8555
8556 darwin* | rhapsody*)
8557 # PIC is the default on this platform
8558 # Common symbols not allowed in MH_DYLIB files
8559 lt_prog_compiler_pic='-fno-common'
8560 ;;
8561
8562 haiku*)
8563 # PIC is the default for Haiku.
8564 # The "-static" flag exists, but is broken.
8565 lt_prog_compiler_static=
8566 ;;
8567
8568 hpux*)
8569 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8570 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8571 # sets the default TLS model and affects inlining.
8572 case $host_cpu in
8573 hppa*64*)
8574 # +Z the default
8575 ;;
8576 *)
8577 lt_prog_compiler_pic='-fPIC'
8578 ;;
8579 esac
8580 ;;
8581
8582 interix[3-9]*)
8583 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8584 # Instead, we relocate shared libraries at runtime.
8585 ;;
8586
8587 msdosdjgpp*)
8588 # Just because we use GCC doesn't mean we suddenly get shared libraries
8589 # on systems that don't support them.
8590 lt_prog_compiler_can_build_shared=no
8591 enable_shared=no
8592 ;;
8593
8594 *nto* | *qnx*)
8595 # QNX uses GNU C++, but need to define -shared option too, otherwise
8596 # it will coredump.
8597 lt_prog_compiler_pic='-fPIC -shared'
8598 ;;
8599
8600 sysv4*MP*)
8601 if test -d /usr/nec; then
8602 lt_prog_compiler_pic=-Kconform_pic
8603 fi
8604 ;;
8605
8606 *)
8607 lt_prog_compiler_pic='-fPIC'
8608 ;;
8609 esac
8610
8611 case $cc_basename in
8612 nvcc*) # Cuda Compiler Driver 2.2
8613 lt_prog_compiler_wl='-Xlinker '
8614 lt_prog_compiler_pic='-Xcompiler -fPIC'
8615 ;;
8616 esac
8617 else
8618 # PORTME Check for flag to pass linker flags through the system compiler.
8619 case $host_os in
8620 aix*)
8621 lt_prog_compiler_wl='-Wl,'
8622 if test "$host_cpu" = ia64; then
8623 # AIX 5 now supports IA64 processor
8624 lt_prog_compiler_static='-Bstatic'
8625 else
8626 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8627 fi
8628 ;;
8629
8630 mingw* | cygwin* | pw32* | os2* | cegcc*)
8631 # This hack is so that the source file can tell whether it is being
8632 # built for inclusion in a dll (and should export symbols for example).
8633 lt_prog_compiler_pic='-DDLL_EXPORT'
8634 ;;
8635
8636 hpux9* | hpux10* | hpux11*)
8637 lt_prog_compiler_wl='-Wl,'
8638 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8639 # not for PA HP-UX.
8640 case $host_cpu in
8641 hppa*64*|ia64*)
8642 # +Z the default
8643 ;;
8644 *)
8645 lt_prog_compiler_pic='+Z'
8646 ;;
8647 esac
8648 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8649 lt_prog_compiler_static='${wl}-a ${wl}archive'
8650 ;;
8651
8652 irix5* | irix6* | nonstopux*)
8653 lt_prog_compiler_wl='-Wl,'
8654 # PIC (with -KPIC) is the default.
8655 lt_prog_compiler_static='-non_shared'
8656 ;;
8657
8658 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8659 case $cc_basename in
8660 # old Intel for x86_64 which still supported -KPIC.
8661 ecc*)
8662 lt_prog_compiler_wl='-Wl,'
8663 lt_prog_compiler_pic='-KPIC'
8664 lt_prog_compiler_static='-static'
8665 ;;
8666 # icc used to be incompatible with GCC.
8667 # ICC 10 doesn't accept -KPIC any more.
8668 icc* | ifort*)
8669 lt_prog_compiler_wl='-Wl,'
8670 lt_prog_compiler_pic='-fPIC'
8671 lt_prog_compiler_static='-static'
8672 ;;
8673 # Lahey Fortran 8.1.
8674 lf95*)
8675 lt_prog_compiler_wl='-Wl,'
8676 lt_prog_compiler_pic='--shared'
8677 lt_prog_compiler_static='--static'
8678 ;;
8679 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8680 # Portland Group compilers (*not* the Pentium gcc compiler,
8681 # which looks to be a dead project)
8682 lt_prog_compiler_wl='-Wl,'
8683 lt_prog_compiler_pic='-fpic'
8684 lt_prog_compiler_static='-Bstatic'
8685 ;;
8686 ccc*)
8687 lt_prog_compiler_wl='-Wl,'
8688 # All Alpha code is PIC.
8689 lt_prog_compiler_static='-non_shared'
8690 ;;
8691 xl* | bgxl* | bgf* | mpixl*)
8692 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8693 lt_prog_compiler_wl='-Wl,'
8694 lt_prog_compiler_pic='-qpic'
8695 lt_prog_compiler_static='-qstaticlink'
8696 ;;
8697 *)
8698 case `$CC -V 2>&1 | sed 5q` in
8699 *Sun\ F* | *Sun*Fortran*)
8700 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8701 lt_prog_compiler_pic='-KPIC'
8702 lt_prog_compiler_static='-Bstatic'
8703 lt_prog_compiler_wl=''
8704 ;;
8705 *Sun\ C*)
8706 # Sun C 5.9
8707 lt_prog_compiler_pic='-KPIC'
8708 lt_prog_compiler_static='-Bstatic'
8709 lt_prog_compiler_wl='-Wl,'
8710 ;;
8711 esac
8712 ;;
8713 esac
8714 ;;
8715
8716 newsos6)
8717 lt_prog_compiler_pic='-KPIC'
8718 lt_prog_compiler_static='-Bstatic'
8719 ;;
8720
8721 *nto* | *qnx*)
8722 # QNX uses GNU C++, but need to define -shared option too, otherwise
8723 # it will coredump.
8724 lt_prog_compiler_pic='-fPIC -shared'
8725 ;;
8726
8727 osf3* | osf4* | osf5*)
8728 lt_prog_compiler_wl='-Wl,'
8729 # All OSF/1 code is PIC.
8730 lt_prog_compiler_static='-non_shared'
8731 ;;
8732
8733 rdos*)
8734 lt_prog_compiler_static='-non_shared'
8735 ;;
8736
8737 solaris*)
8738 lt_prog_compiler_pic='-KPIC'
8739 lt_prog_compiler_static='-Bstatic'
8740 case $cc_basename in
8741 f77* | f90* | f95*)
8742 lt_prog_compiler_wl='-Qoption ld ';;
8743 *)
8744 lt_prog_compiler_wl='-Wl,';;
8745 esac
8746 ;;
8747
8748 sunos4*)
8749 lt_prog_compiler_wl='-Qoption ld '
8750 lt_prog_compiler_pic='-PIC'
8751 lt_prog_compiler_static='-Bstatic'
8752 ;;
8753
8754 sysv4 | sysv4.2uw2* | sysv4.3*)
8755 lt_prog_compiler_wl='-Wl,'
8756 lt_prog_compiler_pic='-KPIC'
8757 lt_prog_compiler_static='-Bstatic'
8758 ;;
8759
8760 sysv4*MP*)
8761 if test -d /usr/nec ;then
8762 lt_prog_compiler_pic='-Kconform_pic'
8763 lt_prog_compiler_static='-Bstatic'
8764 fi
8765 ;;
8766
8767 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8768 lt_prog_compiler_wl='-Wl,'
8769 lt_prog_compiler_pic='-KPIC'
8770 lt_prog_compiler_static='-Bstatic'
8771 ;;
8772
8773 unicos*)
8774 lt_prog_compiler_wl='-Wl,'
8775 lt_prog_compiler_can_build_shared=no
8776 ;;
8777
8778 uts4*)
8779 lt_prog_compiler_pic='-pic'
8780 lt_prog_compiler_static='-Bstatic'
8781 ;;
8782
8783 *)
8784 lt_prog_compiler_can_build_shared=no
8785 ;;
8786 esac
8787 fi
8788
8789 case $host_os in
8790 # For platforms which do not support PIC, -DPIC is meaningless:
8791 *djgpp*)
8792 lt_prog_compiler_pic=
8793 ;;
8794 *)
8795 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8796 ;;
8797 esac
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8799 $as_echo "$lt_prog_compiler_pic" >&6; }
8800
8801
8802
8803
8804
8805
8806 #
8807 # Check to make sure the PIC flag actually works.
8808 #
8809 if test -n "$lt_prog_compiler_pic"; then
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8811 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8812 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8813 $as_echo_n "(cached) " >&6
8814 else
8815 lt_cv_prog_compiler_pic_works=no
8816 ac_outfile=conftest.$ac_objext
8817 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8818 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8819 # Insert the option either (1) after the last *FLAGS variable, or
8820 # (2) before a word containing "conftest.", or (3) at the end.
8821 # Note that $ac_compile itself does not contain backslashes and begins
8822 # with a dollar sign (not a hyphen), so the echo should work correctly.
8823 # The option is referenced via a variable to avoid confusing sed.
8824 lt_compile=`echo "$ac_compile" | $SED \
8825 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8826 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8827 -e 's:$: $lt_compiler_flag:'`
8828 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8829 (eval "$lt_compile" 2>conftest.err)
8830 ac_status=$?
8831 cat conftest.err >&5
8832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8833 if (exit $ac_status) && test -s "$ac_outfile"; then
8834 # The compiler can only warn and ignore the option if not recognized
8835 # So say no if there are warnings other than the usual output.
8836 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8837 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8838 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8839 lt_cv_prog_compiler_pic_works=yes
8840 fi
8841 fi
8842 $RM conftest*
8843
8844 fi
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8846 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8847
8848 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8849 case $lt_prog_compiler_pic in
8850 "" | " "*) ;;
8851 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8852 esac
8853 else
8854 lt_prog_compiler_pic=
8855 lt_prog_compiler_can_build_shared=no
8856 fi
8857
8858 fi
8859
8860
8861
8862
8863
8864
8865 #
8866 # Check to make sure the static flag actually works.
8867 #
8868 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8870 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8871 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8872 $as_echo_n "(cached) " >&6
8873 else
8874 lt_cv_prog_compiler_static_works=no
8875 save_LDFLAGS="$LDFLAGS"
8876 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8877 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8878 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8879 # The linker can only warn and ignore the option if not recognized
8880 # So say no if there are warnings
8881 if test -s conftest.err; then
8882 # Append any errors to the config.log.
8883 cat conftest.err 1>&5
8884 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8885 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8886 if diff conftest.exp conftest.er2 >/dev/null; then
8887 lt_cv_prog_compiler_static_works=yes
8888 fi
8889 else
8890 lt_cv_prog_compiler_static_works=yes
8891 fi
8892 fi
8893 $RM -r conftest*
8894 LDFLAGS="$save_LDFLAGS"
8895
8896 fi
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8898 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8899
8900 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8901 :
8902 else
8903 lt_prog_compiler_static=
8904 fi
8905
8906
8907
8908
8909
8910
8911
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8913 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8914 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8915 $as_echo_n "(cached) " >&6
8916 else
8917 lt_cv_prog_compiler_c_o=no
8918 $RM -r conftest 2>/dev/null
8919 mkdir conftest
8920 cd conftest
8921 mkdir out
8922 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8923
8924 lt_compiler_flag="-o out/conftest2.$ac_objext"
8925 # Insert the option either (1) after the last *FLAGS variable, or
8926 # (2) before a word containing "conftest.", or (3) at the end.
8927 # Note that $ac_compile itself does not contain backslashes and begins
8928 # with a dollar sign (not a hyphen), so the echo should work correctly.
8929 lt_compile=`echo "$ac_compile" | $SED \
8930 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8931 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8932 -e 's:$: $lt_compiler_flag:'`
8933 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8934 (eval "$lt_compile" 2>out/conftest.err)
8935 ac_status=$?
8936 cat out/conftest.err >&5
8937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8938 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8939 then
8940 # The compiler can only warn and ignore the option if not recognized
8941 # So say no if there are warnings
8942 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8943 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8944 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8945 lt_cv_prog_compiler_c_o=yes
8946 fi
8947 fi
8948 chmod u+w . 2>&5
8949 $RM conftest*
8950 # SGI C++ compiler will create directory out/ii_files/ for
8951 # template instantiation
8952 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8953 $RM out/* && rmdir out
8954 cd ..
8955 $RM -r conftest
8956 $RM conftest*
8957
8958 fi
8959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8960 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8961
8962
8963
8964
8965
8966
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8968 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8969 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8970 $as_echo_n "(cached) " >&6
8971 else
8972 lt_cv_prog_compiler_c_o=no
8973 $RM -r conftest 2>/dev/null
8974 mkdir conftest
8975 cd conftest
8976 mkdir out
8977 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8978
8979 lt_compiler_flag="-o out/conftest2.$ac_objext"
8980 # Insert the option either (1) after the last *FLAGS variable, or
8981 # (2) before a word containing "conftest.", or (3) at the end.
8982 # Note that $ac_compile itself does not contain backslashes and begins
8983 # with a dollar sign (not a hyphen), so the echo should work correctly.
8984 lt_compile=`echo "$ac_compile" | $SED \
8985 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8986 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8987 -e 's:$: $lt_compiler_flag:'`
8988 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8989 (eval "$lt_compile" 2>out/conftest.err)
8990 ac_status=$?
8991 cat out/conftest.err >&5
8992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8993 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8994 then
8995 # The compiler can only warn and ignore the option if not recognized
8996 # So say no if there are warnings
8997 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8998 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8999 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9000 lt_cv_prog_compiler_c_o=yes
9001 fi
9002 fi
9003 chmod u+w . 2>&5
9004 $RM conftest*
9005 # SGI C++ compiler will create directory out/ii_files/ for
9006 # template instantiation
9007 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9008 $RM out/* && rmdir out
9009 cd ..
9010 $RM -r conftest
9011 $RM conftest*
9012
9013 fi
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9015 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9016
9017
9018
9019
9020 hard_links="nottested"
9021 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9022 # do not overwrite the value of need_locks provided by the user
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9024 $as_echo_n "checking if we can lock with hard links... " >&6; }
9025 hard_links=yes
9026 $RM conftest*
9027 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9028 touch conftest.a
9029 ln conftest.a conftest.b 2>&5 || hard_links=no
9030 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9032 $as_echo "$hard_links" >&6; }
9033 if test "$hard_links" = no; then
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9035 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9036 need_locks=warn
9037 fi
9038 else
9039 need_locks=no
9040 fi
9041
9042
9043
9044
9045
9046
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9048 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9049
9050 runpath_var=
9051 allow_undefined_flag=
9052 always_export_symbols=no
9053 archive_cmds=
9054 archive_expsym_cmds=
9055 compiler_needs_object=no
9056 enable_shared_with_static_runtimes=no
9057 export_dynamic_flag_spec=
9058 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9059 hardcode_automatic=no
9060 hardcode_direct=no
9061 hardcode_direct_absolute=no
9062 hardcode_libdir_flag_spec=
9063 hardcode_libdir_flag_spec_ld=
9064 hardcode_libdir_separator=
9065 hardcode_minus_L=no
9066 hardcode_shlibpath_var=unsupported
9067 inherit_rpath=no
9068 link_all_deplibs=unknown
9069 module_cmds=
9070 module_expsym_cmds=
9071 old_archive_from_new_cmds=
9072 old_archive_from_expsyms_cmds=
9073 thread_safe_flag_spec=
9074 whole_archive_flag_spec=
9075 # include_expsyms should be a list of space-separated symbols to be *always*
9076 # included in the symbol list
9077 include_expsyms=
9078 # exclude_expsyms can be an extended regexp of symbols to exclude
9079 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9080 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9081 # as well as any symbol that contains `d'.
9082 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9083 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9084 # platforms (ab)use it in PIC code, but their linkers get confused if
9085 # the symbol is explicitly referenced. Since portable code cannot
9086 # rely on this symbol name, it's probably fine to never include it in
9087 # preloaded symbol tables.
9088 # Exclude shared library initialization/finalization symbols.
9089 extract_expsyms_cmds=
9090
9091 case $host_os in
9092 cygwin* | mingw* | pw32* | cegcc*)
9093 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9094 # When not using gcc, we currently assume that we are using
9095 # Microsoft Visual C++.
9096 if test "$GCC" != yes; then
9097 with_gnu_ld=no
9098 fi
9099 ;;
9100 interix*)
9101 # we just hope/assume this is gcc and not c89 (= MSVC++)
9102 with_gnu_ld=yes
9103 ;;
9104 openbsd*)
9105 with_gnu_ld=no
9106 ;;
9107 esac
9108
9109 ld_shlibs=yes
9110
9111 # On some targets, GNU ld is compatible enough with the native linker
9112 # that we're better off using the native interface for both.
9113 lt_use_gnu_ld_interface=no
9114 if test "$with_gnu_ld" = yes; then
9115 case $host_os in
9116 aix*)
9117 # The AIX port of GNU ld has always aspired to compatibility
9118 # with the native linker. However, as the warning in the GNU ld
9119 # block says, versions before 2.19.5* couldn't really create working
9120 # shared libraries, regardless of the interface used.
9121 case `$LD -v 2>&1` in
9122 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9123 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9124 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9125 *)
9126 lt_use_gnu_ld_interface=yes
9127 ;;
9128 esac
9129 ;;
9130 *)
9131 lt_use_gnu_ld_interface=yes
9132 ;;
9133 esac
9134 fi
9135
9136 if test "$lt_use_gnu_ld_interface" = yes; then
9137 # If archive_cmds runs LD, not CC, wlarc should be empty
9138 wlarc='${wl}'
9139
9140 # Set some defaults for GNU ld with shared library support. These
9141 # are reset later if shared libraries are not supported. Putting them
9142 # here allows them to be overridden if necessary.
9143 runpath_var=LD_RUN_PATH
9144 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9145 export_dynamic_flag_spec='${wl}--export-dynamic'
9146 # ancient GNU ld didn't support --whole-archive et. al.
9147 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9148 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9149 else
9150 whole_archive_flag_spec=
9151 fi
9152 supports_anon_versioning=no
9153 case `$LD -v 2>&1` in
9154 *GNU\ gold*) supports_anon_versioning=yes ;;
9155 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9156 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9157 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9158 *\ 2.11.*) ;; # other 2.11 versions
9159 *) supports_anon_versioning=yes ;;
9160 esac
9161
9162 # See if GNU ld supports shared libraries.
9163 case $host_os in
9164 aix[3-9]*)
9165 # On AIX/PPC, the GNU linker is very broken
9166 if test "$host_cpu" != ia64; then
9167 ld_shlibs=no
9168 cat <<_LT_EOF 1>&2
9169
9170 *** Warning: the GNU linker, at least up to release 2.19, is reported
9171 *** to be unable to reliably create shared libraries on AIX.
9172 *** Therefore, libtool is disabling shared libraries support. If you
9173 *** really care for shared libraries, you may want to install binutils
9174 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9175 *** You will then need to restart the configuration process.
9176
9177 _LT_EOF
9178 fi
9179 ;;
9180
9181 amigaos*)
9182 case $host_cpu in
9183 powerpc)
9184 # see comment about AmigaOS4 .so support
9185 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9186 archive_expsym_cmds=''
9187 ;;
9188 m68k)
9189 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)'
9190 hardcode_libdir_flag_spec='-L$libdir'
9191 hardcode_minus_L=yes
9192 ;;
9193 esac
9194 ;;
9195
9196 beos*)
9197 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9198 allow_undefined_flag=unsupported
9199 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9200 # support --undefined. This deserves some investigation. FIXME
9201 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202 else
9203 ld_shlibs=no
9204 fi
9205 ;;
9206
9207 cygwin* | mingw* | pw32* | cegcc*)
9208 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9209 # as there is no search path for DLLs.
9210 hardcode_libdir_flag_spec='-L$libdir'
9211 export_dynamic_flag_spec='${wl}--export-all-symbols'
9212 allow_undefined_flag=unsupported
9213 always_export_symbols=no
9214 enable_shared_with_static_runtimes=yes
9215 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9216
9217 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9218 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9219 # If the export-symbols file already is a .def file (1st line
9220 # is EXPORTS), use it as is; otherwise, prepend...
9221 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9222 cp $export_symbols $output_objdir/$soname.def;
9223 else
9224 echo EXPORTS > $output_objdir/$soname.def;
9225 cat $export_symbols >> $output_objdir/$soname.def;
9226 fi~
9227 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9228 else
9229 ld_shlibs=no
9230 fi
9231 ;;
9232
9233 haiku*)
9234 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9235 link_all_deplibs=yes
9236 ;;
9237
9238 interix[3-9]*)
9239 hardcode_direct=no
9240 hardcode_shlibpath_var=no
9241 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9242 export_dynamic_flag_spec='${wl}-E'
9243 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9244 # Instead, shared libraries are loaded at an image base (0x10000000 by
9245 # default) and relocated if they conflict, which is a slow very memory
9246 # consuming and fragmenting process. To avoid this, we pick a random,
9247 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9248 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9249 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9250 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'
9251 ;;
9252
9253 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9254 tmp_diet=no
9255 if test "$host_os" = linux-dietlibc; then
9256 case $cc_basename in
9257 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9258 esac
9259 fi
9260 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9261 && test "$tmp_diet" = no
9262 then
9263 tmp_addflag=
9264 tmp_sharedflag='-shared'
9265 case $cc_basename,$host_cpu in
9266 pgcc*) # Portland Group C compiler
9267 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'
9268 tmp_addflag=' $pic_flag'
9269 ;;
9270 pgf77* | pgf90* | pgf95* | pgfortran*)
9271 # Portland Group f77 and f90 compilers
9272 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9273 tmp_addflag=' $pic_flag -Mnomain' ;;
9274 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9275 tmp_addflag=' -i_dynamic' ;;
9276 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9277 tmp_addflag=' -i_dynamic -nofor_main' ;;
9278 ifc* | ifort*) # Intel Fortran compiler
9279 tmp_addflag=' -nofor_main' ;;
9280 lf95*) # Lahey Fortran 8.1
9281 whole_archive_flag_spec=
9282 tmp_sharedflag='--shared' ;;
9283 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9284 tmp_sharedflag='-qmkshrobj'
9285 tmp_addflag= ;;
9286 nvcc*) # Cuda Compiler Driver 2.2
9287 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'
9288 compiler_needs_object=yes
9289 ;;
9290 esac
9291 case `$CC -V 2>&1 | sed 5q` in
9292 *Sun\ C*) # Sun C 5.9
9293 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'
9294 compiler_needs_object=yes
9295 tmp_sharedflag='-G' ;;
9296 *Sun\ F*) # Sun Fortran 8.3
9297 tmp_sharedflag='-G' ;;
9298 esac
9299 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9300
9301 if test "x$supports_anon_versioning" = xyes; then
9302 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9303 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9304 echo "local: *; };" >> $output_objdir/$libname.ver~
9305 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9306 fi
9307
9308 case $cc_basename in
9309 xlf* | bgf* | bgxlf* | mpixlf*)
9310 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9311 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9312 hardcode_libdir_flag_spec=
9313 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9314 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9315 if test "x$supports_anon_versioning" = xyes; then
9316 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9317 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9318 echo "local: *; };" >> $output_objdir/$libname.ver~
9319 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9320 fi
9321 ;;
9322 esac
9323 else
9324 ld_shlibs=no
9325 fi
9326 ;;
9327
9328 netbsd*)
9329 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9330 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9331 wlarc=
9332 else
9333 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9335 fi
9336 ;;
9337
9338 solaris*)
9339 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9340 ld_shlibs=no
9341 cat <<_LT_EOF 1>&2
9342
9343 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9344 *** create shared libraries on Solaris systems. Therefore, libtool
9345 *** is disabling shared libraries support. We urge you to upgrade GNU
9346 *** binutils to release 2.9.1 or newer. Another option is to modify
9347 *** your PATH or compiler configuration so that the native linker is
9348 *** used, and then restart.
9349
9350 _LT_EOF
9351 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9352 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9353 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9354 else
9355 ld_shlibs=no
9356 fi
9357 ;;
9358
9359 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9360 case `$LD -v 2>&1` in
9361 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9362 ld_shlibs=no
9363 cat <<_LT_EOF 1>&2
9364
9365 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9366 *** reliably create shared libraries on SCO systems. Therefore, libtool
9367 *** is disabling shared libraries support. We urge you to upgrade GNU
9368 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9369 *** your PATH or compiler configuration so that the native linker is
9370 *** used, and then restart.
9371
9372 _LT_EOF
9373 ;;
9374 *)
9375 # For security reasons, it is highly recommended that you always
9376 # use absolute paths for naming shared libraries, and exclude the
9377 # DT_RUNPATH tag from executables and libraries. But doing so
9378 # requires that you compile everything twice, which is a pain.
9379 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9380 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9381 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9382 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9383 else
9384 ld_shlibs=no
9385 fi
9386 ;;
9387 esac
9388 ;;
9389
9390 sunos4*)
9391 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9392 wlarc=
9393 hardcode_direct=yes
9394 hardcode_shlibpath_var=no
9395 ;;
9396
9397 *)
9398 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9399 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9400 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9401 else
9402 ld_shlibs=no
9403 fi
9404 ;;
9405 esac
9406
9407 if test "$ld_shlibs" = no; then
9408 runpath_var=
9409 hardcode_libdir_flag_spec=
9410 export_dynamic_flag_spec=
9411 whole_archive_flag_spec=
9412 fi
9413 else
9414 # PORTME fill in a description of your system's linker (not GNU ld)
9415 case $host_os in
9416 aix3*)
9417 allow_undefined_flag=unsupported
9418 always_export_symbols=yes
9419 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'
9420 # Note: this linker hardcodes the directories in LIBPATH if there
9421 # are no directories specified by -L.
9422 hardcode_minus_L=yes
9423 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9424 # Neither direct hardcoding nor static linking is supported with a
9425 # broken collect2.
9426 hardcode_direct=unsupported
9427 fi
9428 ;;
9429
9430 aix[4-9]*)
9431 if test "$host_cpu" = ia64; then
9432 # On IA64, the linker does run time linking by default, so we don't
9433 # have to do anything special.
9434 aix_use_runtimelinking=no
9435 exp_sym_flag='-Bexport'
9436 no_entry_flag=""
9437 else
9438 # If we're using GNU nm, then we don't want the "-C" option.
9439 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9440 # Also, AIX nm treats weak defined symbols like other global
9441 # defined symbols, whereas GNU nm marks them as "W".
9442 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9443 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'
9444 else
9445 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'
9446 fi
9447 aix_use_runtimelinking=no
9448
9449 # Test if we are trying to use run time linking or normal
9450 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9451 # need to do runtime linking.
9452 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9453 for ld_flag in $LDFLAGS; do
9454 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9455 aix_use_runtimelinking=yes
9456 break
9457 fi
9458 done
9459 ;;
9460 esac
9461
9462 exp_sym_flag='-bexport'
9463 no_entry_flag='-bnoentry'
9464 fi
9465
9466 # When large executables or shared objects are built, AIX ld can
9467 # have problems creating the table of contents. If linking a library
9468 # or program results in "error TOC overflow" add -mminimal-toc to
9469 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9470 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9471
9472 archive_cmds=''
9473 hardcode_direct=yes
9474 hardcode_direct_absolute=yes
9475 hardcode_libdir_separator=':'
9476 link_all_deplibs=yes
9477 file_list_spec='${wl}-f,'
9478
9479 if test "$GCC" = yes; then
9480 case $host_os in aix4.[012]|aix4.[012].*)
9481 # We only want to do this on AIX 4.2 and lower, the check
9482 # below for broken collect2 doesn't work under 4.3+
9483 collect2name=`${CC} -print-prog-name=collect2`
9484 if test -f "$collect2name" &&
9485 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9486 then
9487 # We have reworked collect2
9488 :
9489 else
9490 # We have old collect2
9491 hardcode_direct=unsupported
9492 # It fails to find uninstalled libraries when the uninstalled
9493 # path is not listed in the libpath. Setting hardcode_minus_L
9494 # to unsupported forces relinking
9495 hardcode_minus_L=yes
9496 hardcode_libdir_flag_spec='-L$libdir'
9497 hardcode_libdir_separator=
9498 fi
9499 ;;
9500 esac
9501 shared_flag='-shared'
9502 if test "$aix_use_runtimelinking" = yes; then
9503 shared_flag="$shared_flag "'${wl}-G'
9504 fi
9505 else
9506 # not using gcc
9507 if test "$host_cpu" = ia64; then
9508 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9509 # chokes on -Wl,-G. The following line is correct:
9510 shared_flag='-G'
9511 else
9512 if test "$aix_use_runtimelinking" = yes; then
9513 shared_flag='${wl}-G'
9514 else
9515 shared_flag='${wl}-bM:SRE'
9516 fi
9517 fi
9518 fi
9519
9520 export_dynamic_flag_spec='${wl}-bexpall'
9521 # It seems that -bexpall does not export symbols beginning with
9522 # underscore (_), so it is better to generate a list of symbols to export.
9523 always_export_symbols=yes
9524 if test "$aix_use_runtimelinking" = yes; then
9525 # Warning - without using the other runtime loading flags (-brtl),
9526 # -berok will link without error, but may produce a broken library.
9527 allow_undefined_flag='-berok'
9528 # Determine the default libpath from the value encoded in an
9529 # empty executable.
9530 if test x$gcc_no_link = xyes; then
9531 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9532 fi
9533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9534 /* end confdefs.h. */
9535
9536 int
9537 main ()
9538 {
9539
9540 ;
9541 return 0;
9542 }
9543 _ACEOF
9544 if ac_fn_c_try_link "$LINENO"; then :
9545
9546 lt_aix_libpath_sed='
9547 /Import File Strings/,/^$/ {
9548 /^0/ {
9549 s/^0 *\(.*\)$/\1/
9550 p
9551 }
9552 }'
9553 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9554 # Check for a 64-bit object if we didn't find anything.
9555 if test -z "$aix_libpath"; then
9556 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9557 fi
9558 fi
9559 rm -f core conftest.err conftest.$ac_objext \
9560 conftest$ac_exeext conftest.$ac_ext
9561 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9562
9563 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9564 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"
9565 else
9566 if test "$host_cpu" = ia64; then
9567 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9568 allow_undefined_flag="-z nodefs"
9569 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"
9570 else
9571 # Determine the default libpath from the value encoded in an
9572 # empty executable.
9573 if test x$gcc_no_link = xyes; then
9574 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9575 fi
9576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9577 /* end confdefs.h. */
9578
9579 int
9580 main ()
9581 {
9582
9583 ;
9584 return 0;
9585 }
9586 _ACEOF
9587 if ac_fn_c_try_link "$LINENO"; then :
9588
9589 lt_aix_libpath_sed='
9590 /Import File Strings/,/^$/ {
9591 /^0/ {
9592 s/^0 *\(.*\)$/\1/
9593 p
9594 }
9595 }'
9596 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9597 # Check for a 64-bit object if we didn't find anything.
9598 if test -z "$aix_libpath"; then
9599 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9600 fi
9601 fi
9602 rm -f core conftest.err conftest.$ac_objext \
9603 conftest$ac_exeext conftest.$ac_ext
9604 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9605
9606 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9607 # Warning - without using the other run time loading flags,
9608 # -berok will link without error, but may produce a broken library.
9609 no_undefined_flag=' ${wl}-bernotok'
9610 allow_undefined_flag=' ${wl}-berok'
9611 if test "$with_gnu_ld" = yes; then
9612 # We only use this code for GNU lds that support --whole-archive.
9613 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9614 else
9615 # Exported symbols can be pulled into shared objects from archives
9616 whole_archive_flag_spec='$convenience'
9617 fi
9618 archive_cmds_need_lc=yes
9619 # This is similar to how AIX traditionally builds its shared libraries.
9620 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'
9621 fi
9622 fi
9623 ;;
9624
9625 amigaos*)
9626 case $host_cpu in
9627 powerpc)
9628 # see comment about AmigaOS4 .so support
9629 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9630 archive_expsym_cmds=''
9631 ;;
9632 m68k)
9633 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)'
9634 hardcode_libdir_flag_spec='-L$libdir'
9635 hardcode_minus_L=yes
9636 ;;
9637 esac
9638 ;;
9639
9640 bsdi[45]*)
9641 export_dynamic_flag_spec=-rdynamic
9642 ;;
9643
9644 cygwin* | mingw* | pw32* | cegcc*)
9645 # When not using gcc, we currently assume that we are using
9646 # Microsoft Visual C++.
9647 # hardcode_libdir_flag_spec is actually meaningless, as there is
9648 # no search path for DLLs.
9649 hardcode_libdir_flag_spec=' '
9650 allow_undefined_flag=unsupported
9651 # Tell ltmain to make .lib files, not .a files.
9652 libext=lib
9653 # Tell ltmain to make .dll files, not .so files.
9654 shrext_cmds=".dll"
9655 # FIXME: Setting linknames here is a bad hack.
9656 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9657 # The linker will automatically build a .lib file if we build a DLL.
9658 old_archive_from_new_cmds='true'
9659 # FIXME: Should let the user specify the lib program.
9660 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9661 fix_srcfile_path='`cygpath -w "$srcfile"`'
9662 enable_shared_with_static_runtimes=yes
9663 ;;
9664
9665 darwin* | rhapsody*)
9666
9667
9668 archive_cmds_need_lc=no
9669 hardcode_direct=no
9670 hardcode_automatic=yes
9671 hardcode_shlibpath_var=unsupported
9672 if test "$lt_cv_ld_force_load" = "yes"; then
9673 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\"`'
9674 else
9675 whole_archive_flag_spec=''
9676 fi
9677 link_all_deplibs=yes
9678 allow_undefined_flag="$_lt_dar_allow_undefined"
9679 case $cc_basename in
9680 ifort*) _lt_dar_can_shared=yes ;;
9681 *) _lt_dar_can_shared=$GCC ;;
9682 esac
9683 if test "$_lt_dar_can_shared" = "yes"; then
9684 output_verbose_link_cmd=func_echo_all
9685 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9686 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9687 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}"
9688 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}"
9689
9690 else
9691 ld_shlibs=no
9692 fi
9693
9694 ;;
9695
9696 dgux*)
9697 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9698 hardcode_libdir_flag_spec='-L$libdir'
9699 hardcode_shlibpath_var=no
9700 ;;
9701
9702 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9703 # support. Future versions do this automatically, but an explicit c++rt0.o
9704 # does not break anything, and helps significantly (at the cost of a little
9705 # extra space).
9706 freebsd2.2*)
9707 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9708 hardcode_libdir_flag_spec='-R$libdir'
9709 hardcode_direct=yes
9710 hardcode_shlibpath_var=no
9711 ;;
9712
9713 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9714 freebsd2.*)
9715 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9716 hardcode_direct=yes
9717 hardcode_minus_L=yes
9718 hardcode_shlibpath_var=no
9719 ;;
9720
9721 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9722 freebsd* | dragonfly*)
9723 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9724 hardcode_libdir_flag_spec='-R$libdir'
9725 hardcode_direct=yes
9726 hardcode_shlibpath_var=no
9727 ;;
9728
9729 hpux9*)
9730 if test "$GCC" = yes; then
9731 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'
9732 else
9733 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'
9734 fi
9735 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9736 hardcode_libdir_separator=:
9737 hardcode_direct=yes
9738
9739 # hardcode_minus_L: Not really in the search PATH,
9740 # but as the default location of the library.
9741 hardcode_minus_L=yes
9742 export_dynamic_flag_spec='${wl}-E'
9743 ;;
9744
9745 hpux10*)
9746 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9747 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9748 else
9749 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9750 fi
9751 if test "$with_gnu_ld" = no; then
9752 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9753 hardcode_libdir_flag_spec_ld='+b $libdir'
9754 hardcode_libdir_separator=:
9755 hardcode_direct=yes
9756 hardcode_direct_absolute=yes
9757 export_dynamic_flag_spec='${wl}-E'
9758 # hardcode_minus_L: Not really in the search PATH,
9759 # but as the default location of the library.
9760 hardcode_minus_L=yes
9761 fi
9762 ;;
9763
9764 hpux11*)
9765 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9766 case $host_cpu in
9767 hppa*64*)
9768 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9769 ;;
9770 ia64*)
9771 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9772 ;;
9773 *)
9774 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9775 ;;
9776 esac
9777 else
9778 case $host_cpu in
9779 hppa*64*)
9780 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9781 ;;
9782 ia64*)
9783 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9784 ;;
9785 *)
9786
9787 # Older versions of the 11.00 compiler do not understand -b yet
9788 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9790 $as_echo_n "checking if $CC understands -b... " >&6; }
9791 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9792 $as_echo_n "(cached) " >&6
9793 else
9794 lt_cv_prog_compiler__b=no
9795 save_LDFLAGS="$LDFLAGS"
9796 LDFLAGS="$LDFLAGS -b"
9797 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9798 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9799 # The linker can only warn and ignore the option if not recognized
9800 # So say no if there are warnings
9801 if test -s conftest.err; then
9802 # Append any errors to the config.log.
9803 cat conftest.err 1>&5
9804 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9805 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9806 if diff conftest.exp conftest.er2 >/dev/null; then
9807 lt_cv_prog_compiler__b=yes
9808 fi
9809 else
9810 lt_cv_prog_compiler__b=yes
9811 fi
9812 fi
9813 $RM -r conftest*
9814 LDFLAGS="$save_LDFLAGS"
9815
9816 fi
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9818 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9819
9820 if test x"$lt_cv_prog_compiler__b" = xyes; then
9821 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9822 else
9823 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9824 fi
9825
9826 ;;
9827 esac
9828 fi
9829 if test "$with_gnu_ld" = no; then
9830 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9831 hardcode_libdir_separator=:
9832
9833 case $host_cpu in
9834 hppa*64*|ia64*)
9835 hardcode_direct=no
9836 hardcode_shlibpath_var=no
9837 ;;
9838 *)
9839 hardcode_direct=yes
9840 hardcode_direct_absolute=yes
9841 export_dynamic_flag_spec='${wl}-E'
9842
9843 # hardcode_minus_L: Not really in the search PATH,
9844 # but as the default location of the library.
9845 hardcode_minus_L=yes
9846 ;;
9847 esac
9848 fi
9849 ;;
9850
9851 irix5* | irix6* | nonstopux*)
9852 if test "$GCC" = yes; then
9853 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'
9854 # Try to use the -exported_symbol ld option, if it does not
9855 # work, assume that -exports_file does not work either and
9856 # implicitly export all symbols.
9857 save_LDFLAGS="$LDFLAGS"
9858 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9859 if test x$gcc_no_link = xyes; then
9860 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9861 fi
9862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9863 /* end confdefs.h. */
9864 int foo(void) {}
9865 _ACEOF
9866 if ac_fn_c_try_link "$LINENO"; then :
9867 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'
9868
9869 fi
9870 rm -f core conftest.err conftest.$ac_objext \
9871 conftest$ac_exeext conftest.$ac_ext
9872 LDFLAGS="$save_LDFLAGS"
9873 else
9874 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'
9875 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'
9876 fi
9877 archive_cmds_need_lc='no'
9878 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9879 hardcode_libdir_separator=:
9880 inherit_rpath=yes
9881 link_all_deplibs=yes
9882 ;;
9883
9884 netbsd*)
9885 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9886 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9887 else
9888 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9889 fi
9890 hardcode_libdir_flag_spec='-R$libdir'
9891 hardcode_direct=yes
9892 hardcode_shlibpath_var=no
9893 ;;
9894
9895 newsos6)
9896 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9897 hardcode_direct=yes
9898 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9899 hardcode_libdir_separator=:
9900 hardcode_shlibpath_var=no
9901 ;;
9902
9903 *nto* | *qnx*)
9904 ;;
9905
9906 openbsd*)
9907 if test -f /usr/libexec/ld.so; then
9908 hardcode_direct=yes
9909 hardcode_shlibpath_var=no
9910 hardcode_direct_absolute=yes
9911 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9912 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9913 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9914 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9915 export_dynamic_flag_spec='${wl}-E'
9916 else
9917 case $host_os in
9918 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9919 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9920 hardcode_libdir_flag_spec='-R$libdir'
9921 ;;
9922 *)
9923 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9924 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9925 ;;
9926 esac
9927 fi
9928 else
9929 ld_shlibs=no
9930 fi
9931 ;;
9932
9933 os2*)
9934 hardcode_libdir_flag_spec='-L$libdir'
9935 hardcode_minus_L=yes
9936 allow_undefined_flag=unsupported
9937 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'
9938 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9939 ;;
9940
9941 osf3*)
9942 if test "$GCC" = yes; then
9943 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9944 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'
9945 else
9946 allow_undefined_flag=' -expect_unresolved \*'
9947 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'
9948 fi
9949 archive_cmds_need_lc='no'
9950 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9951 hardcode_libdir_separator=:
9952 ;;
9953
9954 osf4* | osf5*) # as osf3* with the addition of -msym flag
9955 if test "$GCC" = yes; then
9956 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9957 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'
9958 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9959 else
9960 allow_undefined_flag=' -expect_unresolved \*'
9961 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'
9962 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~
9963 $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'
9964
9965 # Both c and cxx compiler support -rpath directly
9966 hardcode_libdir_flag_spec='-rpath $libdir'
9967 fi
9968 archive_cmds_need_lc='no'
9969 hardcode_libdir_separator=:
9970 ;;
9971
9972 solaris*)
9973 no_undefined_flag=' -z defs'
9974 if test "$GCC" = yes; then
9975 wlarc='${wl}'
9976 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9977 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9978 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9979 else
9980 case `$CC -V 2>&1` in
9981 *"Compilers 5.0"*)
9982 wlarc=''
9983 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9984 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9985 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9986 ;;
9987 *)
9988 wlarc='${wl}'
9989 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9990 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9991 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9992 ;;
9993 esac
9994 fi
9995 hardcode_libdir_flag_spec='-R$libdir'
9996 hardcode_shlibpath_var=no
9997 case $host_os in
9998 solaris2.[0-5] | solaris2.[0-5].*) ;;
9999 *)
10000 # The compiler driver will combine and reorder linker options,
10001 # but understands `-z linker_flag'. GCC discards it without `$wl',
10002 # but is careful enough not to reorder.
10003 # Supported since Solaris 2.6 (maybe 2.5.1?)
10004 if test "$GCC" = yes; then
10005 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10006 else
10007 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10008 fi
10009 ;;
10010 esac
10011 link_all_deplibs=yes
10012 ;;
10013
10014 sunos4*)
10015 if test "x$host_vendor" = xsequent; then
10016 # Use $CC to link under sequent, because it throws in some extra .o
10017 # files that make .init and .fini sections work.
10018 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10019 else
10020 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10021 fi
10022 hardcode_libdir_flag_spec='-L$libdir'
10023 hardcode_direct=yes
10024 hardcode_minus_L=yes
10025 hardcode_shlibpath_var=no
10026 ;;
10027
10028 sysv4)
10029 case $host_vendor in
10030 sni)
10031 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10032 hardcode_direct=yes # is this really true???
10033 ;;
10034 siemens)
10035 ## LD is ld it makes a PLAMLIB
10036 ## CC just makes a GrossModule.
10037 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10038 reload_cmds='$CC -r -o $output$reload_objs'
10039 hardcode_direct=no
10040 ;;
10041 motorola)
10042 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10043 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10044 ;;
10045 esac
10046 runpath_var='LD_RUN_PATH'
10047 hardcode_shlibpath_var=no
10048 ;;
10049
10050 sysv4.3*)
10051 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10052 hardcode_shlibpath_var=no
10053 export_dynamic_flag_spec='-Bexport'
10054 ;;
10055
10056 sysv4*MP*)
10057 if test -d /usr/nec; then
10058 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_shlibpath_var=no
10060 runpath_var=LD_RUN_PATH
10061 hardcode_runpath_var=yes
10062 ld_shlibs=yes
10063 fi
10064 ;;
10065
10066 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10067 no_undefined_flag='${wl}-z,text'
10068 archive_cmds_need_lc=no
10069 hardcode_shlibpath_var=no
10070 runpath_var='LD_RUN_PATH'
10071
10072 if test "$GCC" = yes; then
10073 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10074 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10075 else
10076 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10077 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10078 fi
10079 ;;
10080
10081 sysv5* | sco3.2v5* | sco5v6*)
10082 # Note: We can NOT use -z defs as we might desire, because we do not
10083 # link with -lc, and that would cause any symbols used from libc to
10084 # always be unresolved, which means just about no library would
10085 # ever link correctly. If we're not using GNU ld we use -z text
10086 # though, which does catch some bad symbols but isn't as heavy-handed
10087 # as -z defs.
10088 no_undefined_flag='${wl}-z,text'
10089 allow_undefined_flag='${wl}-z,nodefs'
10090 archive_cmds_need_lc=no
10091 hardcode_shlibpath_var=no
10092 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10093 hardcode_libdir_separator=':'
10094 link_all_deplibs=yes
10095 export_dynamic_flag_spec='${wl}-Bexport'
10096 runpath_var='LD_RUN_PATH'
10097
10098 if test "$GCC" = yes; then
10099 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10100 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10101 else
10102 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10104 fi
10105 ;;
10106
10107 uts4*)
10108 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10109 hardcode_libdir_flag_spec='-L$libdir'
10110 hardcode_shlibpath_var=no
10111 ;;
10112
10113 *)
10114 ld_shlibs=no
10115 ;;
10116 esac
10117
10118 if test x$host_vendor = xsni; then
10119 case $host in
10120 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10121 export_dynamic_flag_spec='${wl}-Blargedynsym'
10122 ;;
10123 esac
10124 fi
10125 fi
10126
10127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10128 $as_echo "$ld_shlibs" >&6; }
10129 test "$ld_shlibs" = no && can_build_shared=no
10130
10131 with_gnu_ld=$with_gnu_ld
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147 #
10148 # Do we need to explicitly link libc?
10149 #
10150 case "x$archive_cmds_need_lc" in
10151 x|xyes)
10152 # Assume -lc should be added
10153 archive_cmds_need_lc=yes
10154
10155 if test "$enable_shared" = yes && test "$GCC" = yes; then
10156 case $archive_cmds in
10157 *'~'*)
10158 # FIXME: we may have to deal with multi-command sequences.
10159 ;;
10160 '$CC '*)
10161 # Test whether the compiler implicitly links with -lc since on some
10162 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10163 # to ld, don't add -lc before -lgcc.
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10165 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10166 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10167 $as_echo_n "(cached) " >&6
10168 else
10169 $RM conftest*
10170 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10171
10172 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10173 (eval $ac_compile) 2>&5
10174 ac_status=$?
10175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10176 test $ac_status = 0; } 2>conftest.err; then
10177 soname=conftest
10178 lib=conftest
10179 libobjs=conftest.$ac_objext
10180 deplibs=
10181 wl=$lt_prog_compiler_wl
10182 pic_flag=$lt_prog_compiler_pic
10183 compiler_flags=-v
10184 linker_flags=-v
10185 verstring=
10186 output_objdir=.
10187 libname=conftest
10188 lt_save_allow_undefined_flag=$allow_undefined_flag
10189 allow_undefined_flag=
10190 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10191 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10192 ac_status=$?
10193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10194 test $ac_status = 0; }
10195 then
10196 lt_cv_archive_cmds_need_lc=no
10197 else
10198 lt_cv_archive_cmds_need_lc=yes
10199 fi
10200 allow_undefined_flag=$lt_save_allow_undefined_flag
10201 else
10202 cat conftest.err 1>&5
10203 fi
10204 $RM conftest*
10205
10206 fi
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10208 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10209 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10210 ;;
10211 esac
10212 fi
10213 ;;
10214 esac
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10373 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10374
10375 if test "$GCC" = yes; then
10376 case $host_os in
10377 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10378 *) lt_awk_arg="/^libraries:/" ;;
10379 esac
10380 case $host_os in
10381 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10382 *) lt_sed_strip_eq="s,=/,/,g" ;;
10383 esac
10384 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10385 case $lt_search_path_spec in
10386 *\;*)
10387 # if the path contains ";" then we assume it to be the separator
10388 # otherwise default to the standard path separator (i.e. ":") - it is
10389 # assumed that no part of a normal pathname contains ";" but that should
10390 # okay in the real world where ";" in dirpaths is itself problematic.
10391 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10392 ;;
10393 *)
10394 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10395 ;;
10396 esac
10397 # Ok, now we have the path, separated by spaces, we can step through it
10398 # and add multilib dir if necessary.
10399 lt_tmp_lt_search_path_spec=
10400 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10401 for lt_sys_path in $lt_search_path_spec; do
10402 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10403 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10404 else
10405 test -d "$lt_sys_path" && \
10406 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10407 fi
10408 done
10409 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10410 BEGIN {RS=" "; FS="/|\n";} {
10411 lt_foo="";
10412 lt_count=0;
10413 for (lt_i = NF; lt_i > 0; lt_i--) {
10414 if ($lt_i != "" && $lt_i != ".") {
10415 if ($lt_i == "..") {
10416 lt_count++;
10417 } else {
10418 if (lt_count == 0) {
10419 lt_foo="/" $lt_i lt_foo;
10420 } else {
10421 lt_count--;
10422 }
10423 }
10424 }
10425 }
10426 if (lt_foo != "") { lt_freq[lt_foo]++; }
10427 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10428 }'`
10429 # AWK program above erroneously prepends '/' to C:/dos/paths
10430 # for these hosts.
10431 case $host_os in
10432 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10433 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10434 esac
10435 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10436 else
10437 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10438 fi
10439 library_names_spec=
10440 libname_spec='lib$name'
10441 soname_spec=
10442 shrext_cmds=".so"
10443 postinstall_cmds=
10444 postuninstall_cmds=
10445 finish_cmds=
10446 finish_eval=
10447 shlibpath_var=
10448 shlibpath_overrides_runpath=unknown
10449 version_type=none
10450 dynamic_linker="$host_os ld.so"
10451 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10452 need_lib_prefix=unknown
10453 hardcode_into_libs=no
10454
10455 # when you set need_version to no, make sure it does not cause -set_version
10456 # flags to be left without arguments
10457 need_version=unknown
10458
10459 case $host_os in
10460 aix3*)
10461 version_type=linux
10462 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10463 shlibpath_var=LIBPATH
10464
10465 # AIX 3 has no versioning support, so we append a major version to the name.
10466 soname_spec='${libname}${release}${shared_ext}$major'
10467 ;;
10468
10469 aix[4-9]*)
10470 version_type=linux
10471 need_lib_prefix=no
10472 need_version=no
10473 hardcode_into_libs=yes
10474 if test "$host_cpu" = ia64; then
10475 # AIX 5 supports IA64
10476 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10477 shlibpath_var=LD_LIBRARY_PATH
10478 else
10479 # With GCC up to 2.95.x, collect2 would create an import file
10480 # for dependence libraries. The import file would start with
10481 # the line `#! .'. This would cause the generated library to
10482 # depend on `.', always an invalid library. This was fixed in
10483 # development snapshots of GCC prior to 3.0.
10484 case $host_os in
10485 aix4 | aix4.[01] | aix4.[01].*)
10486 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10487 echo ' yes '
10488 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10489 :
10490 else
10491 can_build_shared=no
10492 fi
10493 ;;
10494 esac
10495 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10496 # soname into executable. Probably we can add versioning support to
10497 # collect2, so additional links can be useful in future.
10498 if test "$aix_use_runtimelinking" = yes; then
10499 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10500 # instead of lib<name>.a to let people know that these are not
10501 # typical AIX shared libraries.
10502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10503 else
10504 # We preserve .a as extension for shared libraries through AIX4.2
10505 # and later when we are not doing run time linking.
10506 library_names_spec='${libname}${release}.a $libname.a'
10507 soname_spec='${libname}${release}${shared_ext}$major'
10508 fi
10509 shlibpath_var=LIBPATH
10510 fi
10511 ;;
10512
10513 amigaos*)
10514 case $host_cpu in
10515 powerpc)
10516 # Since July 2007 AmigaOS4 officially supports .so libraries.
10517 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519 ;;
10520 m68k)
10521 library_names_spec='$libname.ixlibrary $libname.a'
10522 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10523 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'
10524 ;;
10525 esac
10526 ;;
10527
10528 beos*)
10529 library_names_spec='${libname}${shared_ext}'
10530 dynamic_linker="$host_os ld.so"
10531 shlibpath_var=LIBRARY_PATH
10532 ;;
10533
10534 bsdi[45]*)
10535 version_type=linux
10536 need_version=no
10537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10538 soname_spec='${libname}${release}${shared_ext}$major'
10539 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10540 shlibpath_var=LD_LIBRARY_PATH
10541 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10542 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10543 # the default ld.so.conf also contains /usr/contrib/lib and
10544 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10545 # libtool to hard-code these into programs
10546 ;;
10547
10548 cygwin* | mingw* | pw32* | cegcc*)
10549 version_type=windows
10550 shrext_cmds=".dll"
10551 need_version=no
10552 need_lib_prefix=no
10553
10554 case $GCC,$host_os in
10555 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10556 library_names_spec='$libname.dll.a'
10557 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10558 postinstall_cmds='base_file=`basename \${file}`~
10559 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10560 dldir=$destdir/`dirname \$dlpath`~
10561 test -d \$dldir || mkdir -p \$dldir~
10562 $install_prog $dir/$dlname \$dldir/$dlname~
10563 chmod a+x \$dldir/$dlname~
10564 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10565 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10566 fi'
10567 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10568 dlpath=$dir/\$dldll~
10569 $RM \$dlpath'
10570 shlibpath_overrides_runpath=yes
10571
10572 case $host_os in
10573 cygwin*)
10574 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10575 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10576
10577 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10578 ;;
10579 mingw* | cegcc*)
10580 # MinGW DLLs use traditional 'lib' prefix
10581 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10582 ;;
10583 pw32*)
10584 # pw32 DLLs use 'pw' prefix rather than 'lib'
10585 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10586 ;;
10587 esac
10588 ;;
10589
10590 *)
10591 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10592 ;;
10593 esac
10594 dynamic_linker='Win32 ld.exe'
10595 # FIXME: first we should search . and the directory the executable is in
10596 shlibpath_var=PATH
10597 ;;
10598
10599 darwin* | rhapsody*)
10600 dynamic_linker="$host_os dyld"
10601 version_type=darwin
10602 need_lib_prefix=no
10603 need_version=no
10604 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10605 soname_spec='${libname}${release}${major}$shared_ext'
10606 shlibpath_overrides_runpath=yes
10607 shlibpath_var=DYLD_LIBRARY_PATH
10608 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10609
10610 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10611 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10612 ;;
10613
10614 dgux*)
10615 version_type=linux
10616 need_lib_prefix=no
10617 need_version=no
10618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10619 soname_spec='${libname}${release}${shared_ext}$major'
10620 shlibpath_var=LD_LIBRARY_PATH
10621 ;;
10622
10623 freebsd* | dragonfly*)
10624 # DragonFly does not have aout. When/if they implement a new
10625 # versioning mechanism, adjust this.
10626 if test -x /usr/bin/objformat; then
10627 objformat=`/usr/bin/objformat`
10628 else
10629 case $host_os in
10630 freebsd[23].*) objformat=aout ;;
10631 *) objformat=elf ;;
10632 esac
10633 fi
10634 version_type=freebsd-$objformat
10635 case $version_type in
10636 freebsd-elf*)
10637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10638 need_version=no
10639 need_lib_prefix=no
10640 ;;
10641 freebsd-*)
10642 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10643 need_version=yes
10644 ;;
10645 esac
10646 shlibpath_var=LD_LIBRARY_PATH
10647 case $host_os in
10648 freebsd2.*)
10649 shlibpath_overrides_runpath=yes
10650 ;;
10651 freebsd3.[01]* | freebsdelf3.[01]*)
10652 shlibpath_overrides_runpath=yes
10653 hardcode_into_libs=yes
10654 ;;
10655 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10656 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10657 shlibpath_overrides_runpath=no
10658 hardcode_into_libs=yes
10659 ;;
10660 *) # from 4.6 on, and DragonFly
10661 shlibpath_overrides_runpath=yes
10662 hardcode_into_libs=yes
10663 ;;
10664 esac
10665 ;;
10666
10667 gnu*)
10668 version_type=linux
10669 need_lib_prefix=no
10670 need_version=no
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10672 soname_spec='${libname}${release}${shared_ext}$major'
10673 shlibpath_var=LD_LIBRARY_PATH
10674 hardcode_into_libs=yes
10675 ;;
10676
10677 haiku*)
10678 version_type=linux
10679 need_lib_prefix=no
10680 need_version=no
10681 dynamic_linker="$host_os runtime_loader"
10682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10683 soname_spec='${libname}${release}${shared_ext}$major'
10684 shlibpath_var=LIBRARY_PATH
10685 shlibpath_overrides_runpath=yes
10686 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10687 hardcode_into_libs=yes
10688 ;;
10689
10690 hpux9* | hpux10* | hpux11*)
10691 # Give a soname corresponding to the major version so that dld.sl refuses to
10692 # link against other versions.
10693 version_type=sunos
10694 need_lib_prefix=no
10695 need_version=no
10696 case $host_cpu in
10697 ia64*)
10698 shrext_cmds='.so'
10699 hardcode_into_libs=yes
10700 dynamic_linker="$host_os dld.so"
10701 shlibpath_var=LD_LIBRARY_PATH
10702 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10704 soname_spec='${libname}${release}${shared_ext}$major'
10705 if test "X$HPUX_IA64_MODE" = X32; then
10706 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10707 else
10708 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10709 fi
10710 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10711 ;;
10712 hppa*64*)
10713 shrext_cmds='.sl'
10714 hardcode_into_libs=yes
10715 dynamic_linker="$host_os dld.sl"
10716 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10717 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10719 soname_spec='${libname}${release}${shared_ext}$major'
10720 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10721 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10722 ;;
10723 *)
10724 shrext_cmds='.sl'
10725 dynamic_linker="$host_os dld.sl"
10726 shlibpath_var=SHLIB_PATH
10727 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10729 soname_spec='${libname}${release}${shared_ext}$major'
10730 ;;
10731 esac
10732 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10733 postinstall_cmds='chmod 555 $lib'
10734 # or fails outright, so override atomically:
10735 install_override_mode=555
10736 ;;
10737
10738 interix[3-9]*)
10739 version_type=linux
10740 need_lib_prefix=no
10741 need_version=no
10742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10743 soname_spec='${libname}${release}${shared_ext}$major'
10744 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10745 shlibpath_var=LD_LIBRARY_PATH
10746 shlibpath_overrides_runpath=no
10747 hardcode_into_libs=yes
10748 ;;
10749
10750 irix5* | irix6* | nonstopux*)
10751 case $host_os in
10752 nonstopux*) version_type=nonstopux ;;
10753 *)
10754 if test "$lt_cv_prog_gnu_ld" = yes; then
10755 version_type=linux
10756 else
10757 version_type=irix
10758 fi ;;
10759 esac
10760 need_lib_prefix=no
10761 need_version=no
10762 soname_spec='${libname}${release}${shared_ext}$major'
10763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10764 case $host_os in
10765 irix5* | nonstopux*)
10766 libsuff= shlibsuff=
10767 ;;
10768 *)
10769 case $LD in # libtool.m4 will add one of these switches to LD
10770 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10771 libsuff= shlibsuff= libmagic=32-bit;;
10772 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10773 libsuff=32 shlibsuff=N32 libmagic=N32;;
10774 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10775 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10776 *) libsuff= shlibsuff= libmagic=never-match;;
10777 esac
10778 ;;
10779 esac
10780 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10781 shlibpath_overrides_runpath=no
10782 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10783 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10784 hardcode_into_libs=yes
10785 ;;
10786
10787 # No shared lib support for Linux oldld, aout, or coff.
10788 linux*oldld* | linux*aout* | linux*coff*)
10789 dynamic_linker=no
10790 ;;
10791
10792 # This must be Linux ELF.
10793 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10794 version_type=linux
10795 need_lib_prefix=no
10796 need_version=no
10797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10798 soname_spec='${libname}${release}${shared_ext}$major'
10799 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10800 shlibpath_var=LD_LIBRARY_PATH
10801 shlibpath_overrides_runpath=no
10802
10803 # Some binutils ld are patched to set DT_RUNPATH
10804 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10805 $as_echo_n "(cached) " >&6
10806 else
10807 lt_cv_shlibpath_overrides_runpath=no
10808 save_LDFLAGS=$LDFLAGS
10809 save_libdir=$libdir
10810 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10811 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10812 if test x$gcc_no_link = xyes; then
10813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10814 fi
10815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h. */
10817
10818 int
10819 main ()
10820 {
10821
10822 ;
10823 return 0;
10824 }
10825 _ACEOF
10826 if ac_fn_c_try_link "$LINENO"; then :
10827 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10828 lt_cv_shlibpath_overrides_runpath=yes
10829 fi
10830 fi
10831 rm -f core conftest.err conftest.$ac_objext \
10832 conftest$ac_exeext conftest.$ac_ext
10833 LDFLAGS=$save_LDFLAGS
10834 libdir=$save_libdir
10835
10836 fi
10837
10838 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10839
10840 # This implies no fast_install, which is unacceptable.
10841 # Some rework will be needed to allow for fast_install
10842 # before this can be enabled.
10843 hardcode_into_libs=yes
10844
10845 # Append ld.so.conf contents to the search path
10846 if test -f /etc/ld.so.conf; then
10847 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' ' '`
10848 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10849 fi
10850
10851 # We used to test for /lib/ld.so.1 and disable shared libraries on
10852 # powerpc, because MkLinux only supported shared libraries with the
10853 # GNU dynamic linker. Since this was broken with cross compilers,
10854 # most powerpc-linux boxes support dynamic linking these days and
10855 # people can always --disable-shared, the test was removed, and we
10856 # assume the GNU/Linux dynamic linker is in use.
10857 dynamic_linker='GNU/Linux ld.so'
10858 ;;
10859
10860 netbsd*)
10861 version_type=sunos
10862 need_lib_prefix=no
10863 need_version=no
10864 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10865 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10866 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10867 dynamic_linker='NetBSD (a.out) ld.so'
10868 else
10869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10870 soname_spec='${libname}${release}${shared_ext}$major'
10871 dynamic_linker='NetBSD ld.elf_so'
10872 fi
10873 shlibpath_var=LD_LIBRARY_PATH
10874 shlibpath_overrides_runpath=yes
10875 hardcode_into_libs=yes
10876 ;;
10877
10878 newsos6)
10879 version_type=linux
10880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10881 shlibpath_var=LD_LIBRARY_PATH
10882 shlibpath_overrides_runpath=yes
10883 ;;
10884
10885 *nto* | *qnx*)
10886 version_type=qnx
10887 need_lib_prefix=no
10888 need_version=no
10889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10890 soname_spec='${libname}${release}${shared_ext}$major'
10891 shlibpath_var=LD_LIBRARY_PATH
10892 shlibpath_overrides_runpath=no
10893 hardcode_into_libs=yes
10894 dynamic_linker='ldqnx.so'
10895 ;;
10896
10897 openbsd*)
10898 version_type=sunos
10899 sys_lib_dlsearch_path_spec="/usr/lib"
10900 need_lib_prefix=no
10901 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10902 case $host_os in
10903 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10904 *) need_version=no ;;
10905 esac
10906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10907 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10908 shlibpath_var=LD_LIBRARY_PATH
10909 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10910 case $host_os in
10911 openbsd2.[89] | openbsd2.[89].*)
10912 shlibpath_overrides_runpath=no
10913 ;;
10914 *)
10915 shlibpath_overrides_runpath=yes
10916 ;;
10917 esac
10918 else
10919 shlibpath_overrides_runpath=yes
10920 fi
10921 ;;
10922
10923 os2*)
10924 libname_spec='$name'
10925 shrext_cmds=".dll"
10926 need_lib_prefix=no
10927 library_names_spec='$libname${shared_ext} $libname.a'
10928 dynamic_linker='OS/2 ld.exe'
10929 shlibpath_var=LIBPATH
10930 ;;
10931
10932 osf3* | osf4* | osf5*)
10933 version_type=osf
10934 need_lib_prefix=no
10935 need_version=no
10936 soname_spec='${libname}${release}${shared_ext}$major'
10937 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10938 shlibpath_var=LD_LIBRARY_PATH
10939 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10940 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10941 ;;
10942
10943 rdos*)
10944 dynamic_linker=no
10945 ;;
10946
10947 solaris*)
10948 version_type=linux
10949 need_lib_prefix=no
10950 need_version=no
10951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10952 soname_spec='${libname}${release}${shared_ext}$major'
10953 shlibpath_var=LD_LIBRARY_PATH
10954 shlibpath_overrides_runpath=yes
10955 hardcode_into_libs=yes
10956 # ldd complains unless libraries are executable
10957 postinstall_cmds='chmod +x $lib'
10958 ;;
10959
10960 sunos4*)
10961 version_type=sunos
10962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10963 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10964 shlibpath_var=LD_LIBRARY_PATH
10965 shlibpath_overrides_runpath=yes
10966 if test "$with_gnu_ld" = yes; then
10967 need_lib_prefix=no
10968 fi
10969 need_version=yes
10970 ;;
10971
10972 sysv4 | sysv4.3*)
10973 version_type=linux
10974 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10975 soname_spec='${libname}${release}${shared_ext}$major'
10976 shlibpath_var=LD_LIBRARY_PATH
10977 case $host_vendor in
10978 sni)
10979 shlibpath_overrides_runpath=no
10980 need_lib_prefix=no
10981 runpath_var=LD_RUN_PATH
10982 ;;
10983 siemens)
10984 need_lib_prefix=no
10985 ;;
10986 motorola)
10987 need_lib_prefix=no
10988 need_version=no
10989 shlibpath_overrides_runpath=no
10990 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10991 ;;
10992 esac
10993 ;;
10994
10995 sysv4*MP*)
10996 if test -d /usr/nec ;then
10997 version_type=linux
10998 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10999 soname_spec='$libname${shared_ext}.$major'
11000 shlibpath_var=LD_LIBRARY_PATH
11001 fi
11002 ;;
11003
11004 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11005 version_type=freebsd-elf
11006 need_lib_prefix=no
11007 need_version=no
11008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11009 soname_spec='${libname}${release}${shared_ext}$major'
11010 shlibpath_var=LD_LIBRARY_PATH
11011 shlibpath_overrides_runpath=yes
11012 hardcode_into_libs=yes
11013 if test "$with_gnu_ld" = yes; then
11014 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11015 else
11016 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11017 case $host_os in
11018 sco3.2v5*)
11019 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11020 ;;
11021 esac
11022 fi
11023 sys_lib_dlsearch_path_spec='/usr/lib'
11024 ;;
11025
11026 tpf*)
11027 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11028 version_type=linux
11029 need_lib_prefix=no
11030 need_version=no
11031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11032 shlibpath_var=LD_LIBRARY_PATH
11033 shlibpath_overrides_runpath=no
11034 hardcode_into_libs=yes
11035 ;;
11036
11037 uts4*)
11038 version_type=linux
11039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11040 soname_spec='${libname}${release}${shared_ext}$major'
11041 shlibpath_var=LD_LIBRARY_PATH
11042 ;;
11043
11044 *)
11045 dynamic_linker=no
11046 ;;
11047 esac
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11049 $as_echo "$dynamic_linker" >&6; }
11050 test "$dynamic_linker" = no && can_build_shared=no
11051
11052 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11053 if test "$GCC" = yes; then
11054 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11055 fi
11056
11057 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11058 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11059 fi
11060 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11061 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11062 fi
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11156 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11157 hardcode_action=
11158 if test -n "$hardcode_libdir_flag_spec" ||
11159 test -n "$runpath_var" ||
11160 test "X$hardcode_automatic" = "Xyes" ; then
11161
11162 # We can hardcode non-existent directories.
11163 if test "$hardcode_direct" != no &&
11164 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11165 # have to relink, otherwise we might link with an installed library
11166 # when we should be linking with a yet-to-be-installed one
11167 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11168 test "$hardcode_minus_L" != no; then
11169 # Linking always hardcodes the temporary library directory.
11170 hardcode_action=relink
11171 else
11172 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11173 hardcode_action=immediate
11174 fi
11175 else
11176 # We cannot hardcode anything, or else we can only hardcode existing
11177 # directories.
11178 hardcode_action=unsupported
11179 fi
11180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11181 $as_echo "$hardcode_action" >&6; }
11182
11183 if test "$hardcode_action" = relink ||
11184 test "$inherit_rpath" = yes; then
11185 # Fast installation is not supported
11186 enable_fast_install=no
11187 elif test "$shlibpath_overrides_runpath" = yes ||
11188 test "$enable_shared" = no; then
11189 # Fast installation is not necessary
11190 enable_fast_install=needless
11191 fi
11192
11193
11194
11195
11196
11197
11198 if test "x$enable_dlopen" != xyes; then
11199 enable_dlopen=unknown
11200 enable_dlopen_self=unknown
11201 enable_dlopen_self_static=unknown
11202 else
11203 lt_cv_dlopen=no
11204 lt_cv_dlopen_libs=
11205
11206 case $host_os in
11207 beos*)
11208 lt_cv_dlopen="load_add_on"
11209 lt_cv_dlopen_libs=
11210 lt_cv_dlopen_self=yes
11211 ;;
11212
11213 mingw* | pw32* | cegcc*)
11214 lt_cv_dlopen="LoadLibrary"
11215 lt_cv_dlopen_libs=
11216 ;;
11217
11218 cygwin*)
11219 lt_cv_dlopen="dlopen"
11220 lt_cv_dlopen_libs=
11221 ;;
11222
11223 darwin*)
11224 # if libdl is installed we need to link against it
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11226 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11227 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11228 $as_echo_n "(cached) " >&6
11229 else
11230 ac_check_lib_save_LIBS=$LIBS
11231 LIBS="-ldl $LIBS"
11232 if test x$gcc_no_link = xyes; then
11233 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11234 fi
11235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11236 /* end confdefs.h. */
11237
11238 /* Override any GCC internal prototype to avoid an error.
11239 Use char because int might match the return type of a GCC
11240 builtin and then its argument prototype would still apply. */
11241 #ifdef __cplusplus
11242 extern "C"
11243 #endif
11244 char dlopen ();
11245 int
11246 main ()
11247 {
11248 return dlopen ();
11249 ;
11250 return 0;
11251 }
11252 _ACEOF
11253 if ac_fn_c_try_link "$LINENO"; then :
11254 ac_cv_lib_dl_dlopen=yes
11255 else
11256 ac_cv_lib_dl_dlopen=no
11257 fi
11258 rm -f core conftest.err conftest.$ac_objext \
11259 conftest$ac_exeext conftest.$ac_ext
11260 LIBS=$ac_check_lib_save_LIBS
11261 fi
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11263 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11264 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11265 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11266 else
11267
11268 lt_cv_dlopen="dyld"
11269 lt_cv_dlopen_libs=
11270 lt_cv_dlopen_self=yes
11271
11272 fi
11273
11274 ;;
11275
11276 *)
11277 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11278 if test "x$ac_cv_func_shl_load" = x""yes; then :
11279 lt_cv_dlopen="shl_load"
11280 else
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11282 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11283 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11284 $as_echo_n "(cached) " >&6
11285 else
11286 ac_check_lib_save_LIBS=$LIBS
11287 LIBS="-ldld $LIBS"
11288 if test x$gcc_no_link = xyes; then
11289 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11290 fi
11291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11292 /* end confdefs.h. */
11293
11294 /* Override any GCC internal prototype to avoid an error.
11295 Use char because int might match the return type of a GCC
11296 builtin and then its argument prototype would still apply. */
11297 #ifdef __cplusplus
11298 extern "C"
11299 #endif
11300 char shl_load ();
11301 int
11302 main ()
11303 {
11304 return shl_load ();
11305 ;
11306 return 0;
11307 }
11308 _ACEOF
11309 if ac_fn_c_try_link "$LINENO"; then :
11310 ac_cv_lib_dld_shl_load=yes
11311 else
11312 ac_cv_lib_dld_shl_load=no
11313 fi
11314 rm -f core conftest.err conftest.$ac_objext \
11315 conftest$ac_exeext conftest.$ac_ext
11316 LIBS=$ac_check_lib_save_LIBS
11317 fi
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11319 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11320 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11321 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11322 else
11323 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11324 if test "x$ac_cv_func_dlopen" = x""yes; then :
11325 lt_cv_dlopen="dlopen"
11326 else
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11328 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11329 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11330 $as_echo_n "(cached) " >&6
11331 else
11332 ac_check_lib_save_LIBS=$LIBS
11333 LIBS="-ldl $LIBS"
11334 if test x$gcc_no_link = xyes; then
11335 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11336 fi
11337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11338 /* end confdefs.h. */
11339
11340 /* Override any GCC internal prototype to avoid an error.
11341 Use char because int might match the return type of a GCC
11342 builtin and then its argument prototype would still apply. */
11343 #ifdef __cplusplus
11344 extern "C"
11345 #endif
11346 char dlopen ();
11347 int
11348 main ()
11349 {
11350 return dlopen ();
11351 ;
11352 return 0;
11353 }
11354 _ACEOF
11355 if ac_fn_c_try_link "$LINENO"; then :
11356 ac_cv_lib_dl_dlopen=yes
11357 else
11358 ac_cv_lib_dl_dlopen=no
11359 fi
11360 rm -f core conftest.err conftest.$ac_objext \
11361 conftest$ac_exeext conftest.$ac_ext
11362 LIBS=$ac_check_lib_save_LIBS
11363 fi
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11365 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11366 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11367 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11368 else
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11370 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11371 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11372 $as_echo_n "(cached) " >&6
11373 else
11374 ac_check_lib_save_LIBS=$LIBS
11375 LIBS="-lsvld $LIBS"
11376 if test x$gcc_no_link = xyes; then
11377 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11378 fi
11379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11380 /* end confdefs.h. */
11381
11382 /* Override any GCC internal prototype to avoid an error.
11383 Use char because int might match the return type of a GCC
11384 builtin and then its argument prototype would still apply. */
11385 #ifdef __cplusplus
11386 extern "C"
11387 #endif
11388 char dlopen ();
11389 int
11390 main ()
11391 {
11392 return dlopen ();
11393 ;
11394 return 0;
11395 }
11396 _ACEOF
11397 if ac_fn_c_try_link "$LINENO"; then :
11398 ac_cv_lib_svld_dlopen=yes
11399 else
11400 ac_cv_lib_svld_dlopen=no
11401 fi
11402 rm -f core conftest.err conftest.$ac_objext \
11403 conftest$ac_exeext conftest.$ac_ext
11404 LIBS=$ac_check_lib_save_LIBS
11405 fi
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11407 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11408 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11409 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11410 else
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11412 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11413 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11414 $as_echo_n "(cached) " >&6
11415 else
11416 ac_check_lib_save_LIBS=$LIBS
11417 LIBS="-ldld $LIBS"
11418 if test x$gcc_no_link = xyes; then
11419 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11420 fi
11421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11422 /* end confdefs.h. */
11423
11424 /* Override any GCC internal prototype to avoid an error.
11425 Use char because int might match the return type of a GCC
11426 builtin and then its argument prototype would still apply. */
11427 #ifdef __cplusplus
11428 extern "C"
11429 #endif
11430 char dld_link ();
11431 int
11432 main ()
11433 {
11434 return dld_link ();
11435 ;
11436 return 0;
11437 }
11438 _ACEOF
11439 if ac_fn_c_try_link "$LINENO"; then :
11440 ac_cv_lib_dld_dld_link=yes
11441 else
11442 ac_cv_lib_dld_dld_link=no
11443 fi
11444 rm -f core conftest.err conftest.$ac_objext \
11445 conftest$ac_exeext conftest.$ac_ext
11446 LIBS=$ac_check_lib_save_LIBS
11447 fi
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11449 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11450 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11451 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11452 fi
11453
11454
11455 fi
11456
11457
11458 fi
11459
11460
11461 fi
11462
11463
11464 fi
11465
11466
11467 fi
11468
11469 ;;
11470 esac
11471
11472 if test "x$lt_cv_dlopen" != xno; then
11473 enable_dlopen=yes
11474 else
11475 enable_dlopen=no
11476 fi
11477
11478 case $lt_cv_dlopen in
11479 dlopen)
11480 save_CPPFLAGS="$CPPFLAGS"
11481 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11482
11483 save_LDFLAGS="$LDFLAGS"
11484 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11485
11486 save_LIBS="$LIBS"
11487 LIBS="$lt_cv_dlopen_libs $LIBS"
11488
11489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11490 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11491 if test "${lt_cv_dlopen_self+set}" = set; then :
11492 $as_echo_n "(cached) " >&6
11493 else
11494 if test "$cross_compiling" = yes; then :
11495 lt_cv_dlopen_self=cross
11496 else
11497 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11498 lt_status=$lt_dlunknown
11499 cat > conftest.$ac_ext <<_LT_EOF
11500 #line 11500 "configure"
11501 #include "confdefs.h"
11502
11503 #if HAVE_DLFCN_H
11504 #include <dlfcn.h>
11505 #endif
11506
11507 #include <stdio.h>
11508
11509 #ifdef RTLD_GLOBAL
11510 # define LT_DLGLOBAL RTLD_GLOBAL
11511 #else
11512 # ifdef DL_GLOBAL
11513 # define LT_DLGLOBAL DL_GLOBAL
11514 # else
11515 # define LT_DLGLOBAL 0
11516 # endif
11517 #endif
11518
11519 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11520 find out it does not work in some platform. */
11521 #ifndef LT_DLLAZY_OR_NOW
11522 # ifdef RTLD_LAZY
11523 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11524 # else
11525 # ifdef DL_LAZY
11526 # define LT_DLLAZY_OR_NOW DL_LAZY
11527 # else
11528 # ifdef RTLD_NOW
11529 # define LT_DLLAZY_OR_NOW RTLD_NOW
11530 # else
11531 # ifdef DL_NOW
11532 # define LT_DLLAZY_OR_NOW DL_NOW
11533 # else
11534 # define LT_DLLAZY_OR_NOW 0
11535 # endif
11536 # endif
11537 # endif
11538 # endif
11539 #endif
11540
11541 /* When -fvisbility=hidden is used, assume the code has been annotated
11542 correspondingly for the symbols needed. */
11543 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11544 void fnord () __attribute__((visibility("default")));
11545 #endif
11546
11547 void fnord () { int i=42; }
11548 int main ()
11549 {
11550 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11551 int status = $lt_dlunknown;
11552
11553 if (self)
11554 {
11555 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11556 else
11557 {
11558 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11559 else puts (dlerror ());
11560 }
11561 /* dlclose (self); */
11562 }
11563 else
11564 puts (dlerror ());
11565
11566 return status;
11567 }
11568 _LT_EOF
11569 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11570 (eval $ac_link) 2>&5
11571 ac_status=$?
11572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11573 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11574 (./conftest; exit; ) >&5 2>/dev/null
11575 lt_status=$?
11576 case x$lt_status in
11577 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11578 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11579 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11580 esac
11581 else :
11582 # compilation failed
11583 lt_cv_dlopen_self=no
11584 fi
11585 fi
11586 rm -fr conftest*
11587
11588
11589 fi
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11591 $as_echo "$lt_cv_dlopen_self" >&6; }
11592
11593 if test "x$lt_cv_dlopen_self" = xyes; then
11594 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11596 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11597 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11598 $as_echo_n "(cached) " >&6
11599 else
11600 if test "$cross_compiling" = yes; then :
11601 lt_cv_dlopen_self_static=cross
11602 else
11603 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11604 lt_status=$lt_dlunknown
11605 cat > conftest.$ac_ext <<_LT_EOF
11606 #line 11606 "configure"
11607 #include "confdefs.h"
11608
11609 #if HAVE_DLFCN_H
11610 #include <dlfcn.h>
11611 #endif
11612
11613 #include <stdio.h>
11614
11615 #ifdef RTLD_GLOBAL
11616 # define LT_DLGLOBAL RTLD_GLOBAL
11617 #else
11618 # ifdef DL_GLOBAL
11619 # define LT_DLGLOBAL DL_GLOBAL
11620 # else
11621 # define LT_DLGLOBAL 0
11622 # endif
11623 #endif
11624
11625 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11626 find out it does not work in some platform. */
11627 #ifndef LT_DLLAZY_OR_NOW
11628 # ifdef RTLD_LAZY
11629 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11630 # else
11631 # ifdef DL_LAZY
11632 # define LT_DLLAZY_OR_NOW DL_LAZY
11633 # else
11634 # ifdef RTLD_NOW
11635 # define LT_DLLAZY_OR_NOW RTLD_NOW
11636 # else
11637 # ifdef DL_NOW
11638 # define LT_DLLAZY_OR_NOW DL_NOW
11639 # else
11640 # define LT_DLLAZY_OR_NOW 0
11641 # endif
11642 # endif
11643 # endif
11644 # endif
11645 #endif
11646
11647 /* When -fvisbility=hidden is used, assume the code has been annotated
11648 correspondingly for the symbols needed. */
11649 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11650 void fnord () __attribute__((visibility("default")));
11651 #endif
11652
11653 void fnord () { int i=42; }
11654 int main ()
11655 {
11656 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11657 int status = $lt_dlunknown;
11658
11659 if (self)
11660 {
11661 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11662 else
11663 {
11664 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11665 else puts (dlerror ());
11666 }
11667 /* dlclose (self); */
11668 }
11669 else
11670 puts (dlerror ());
11671
11672 return status;
11673 }
11674 _LT_EOF
11675 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11676 (eval $ac_link) 2>&5
11677 ac_status=$?
11678 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11679 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11680 (./conftest; exit; ) >&5 2>/dev/null
11681 lt_status=$?
11682 case x$lt_status in
11683 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11684 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11685 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11686 esac
11687 else :
11688 # compilation failed
11689 lt_cv_dlopen_self_static=no
11690 fi
11691 fi
11692 rm -fr conftest*
11693
11694
11695 fi
11696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11697 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11698 fi
11699
11700 CPPFLAGS="$save_CPPFLAGS"
11701 LDFLAGS="$save_LDFLAGS"
11702 LIBS="$save_LIBS"
11703 ;;
11704 esac
11705
11706 case $lt_cv_dlopen_self in
11707 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11708 *) enable_dlopen_self=unknown ;;
11709 esac
11710
11711 case $lt_cv_dlopen_self_static in
11712 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11713 *) enable_dlopen_self_static=unknown ;;
11714 esac
11715 fi
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733 striplib=
11734 old_striplib=
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11736 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11737 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11738 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11739 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11741 $as_echo "yes" >&6; }
11742 else
11743 # FIXME - insert some real tests, host_os isn't really good enough
11744 case $host_os in
11745 darwin*)
11746 if test -n "$STRIP" ; then
11747 striplib="$STRIP -x"
11748 old_striplib="$STRIP -S"
11749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11750 $as_echo "yes" >&6; }
11751 else
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11753 $as_echo "no" >&6; }
11754 fi
11755 ;;
11756 *)
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11758 $as_echo "no" >&6; }
11759 ;;
11760 esac
11761 fi
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774 # Report which library types will actually be built
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11776 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11778 $as_echo "$can_build_shared" >&6; }
11779
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11781 $as_echo_n "checking whether to build shared libraries... " >&6; }
11782 test "$can_build_shared" = "no" && enable_shared=no
11783
11784 # On AIX, shared libraries and static libraries use the same namespace, and
11785 # are all built from PIC.
11786 case $host_os in
11787 aix3*)
11788 test "$enable_shared" = yes && enable_static=no
11789 if test -n "$RANLIB"; then
11790 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11791 postinstall_cmds='$RANLIB $lib'
11792 fi
11793 ;;
11794
11795 aix[4-9]*)
11796 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11797 test "$enable_shared" = yes && enable_static=no
11798 fi
11799 ;;
11800 esac
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11802 $as_echo "$enable_shared" >&6; }
11803
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11805 $as_echo_n "checking whether to build static libraries... " >&6; }
11806 # Make sure either enable_shared or enable_static is yes.
11807 test "$enable_shared" = yes || enable_static=yes
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11809 $as_echo "$enable_static" >&6; }
11810
11811
11812
11813
11814 fi
11815 ac_ext=c
11816 ac_cpp='$CPP $CPPFLAGS'
11817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11820
11821 CC="$lt_save_CC"
11822
11823 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11824 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11825 (test "X$CXX" != "Xg++"))) ; then
11826 ac_ext=cpp
11827 ac_cpp='$CXXCPP $CPPFLAGS'
11828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11832 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11833 if test -z "$CXXCPP"; then
11834 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11835 $as_echo_n "(cached) " >&6
11836 else
11837 # Double quotes because CXXCPP needs to be expanded
11838 for CXXCPP in "$CXX -E" "/lib/cpp"
11839 do
11840 ac_preproc_ok=false
11841 for ac_cxx_preproc_warn_flag in '' yes
11842 do
11843 # Use a header file that comes with gcc, so configuring glibc
11844 # with a fresh cross-compiler works.
11845 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11846 # <limits.h> exists even on freestanding compilers.
11847 # On the NeXT, cc -E runs the code through the compiler's parser,
11848 # not just through cpp. "Syntax error" is here to catch this case.
11849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11850 /* end confdefs.h. */
11851 #ifdef __STDC__
11852 # include <limits.h>
11853 #else
11854 # include <assert.h>
11855 #endif
11856 Syntax error
11857 _ACEOF
11858 if ac_fn_cxx_try_cpp "$LINENO"; then :
11859
11860 else
11861 # Broken: fails on valid input.
11862 continue
11863 fi
11864 rm -f conftest.err conftest.$ac_ext
11865
11866 # OK, works on sane cases. Now check whether nonexistent headers
11867 # can be detected and how.
11868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h. */
11870 #include <ac_nonexistent.h>
11871 _ACEOF
11872 if ac_fn_cxx_try_cpp "$LINENO"; then :
11873 # Broken: success on invalid input.
11874 continue
11875 else
11876 # Passes both tests.
11877 ac_preproc_ok=:
11878 break
11879 fi
11880 rm -f conftest.err conftest.$ac_ext
11881
11882 done
11883 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11884 rm -f conftest.err conftest.$ac_ext
11885 if $ac_preproc_ok; then :
11886 break
11887 fi
11888
11889 done
11890 ac_cv_prog_CXXCPP=$CXXCPP
11891
11892 fi
11893 CXXCPP=$ac_cv_prog_CXXCPP
11894 else
11895 ac_cv_prog_CXXCPP=$CXXCPP
11896 fi
11897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11898 $as_echo "$CXXCPP" >&6; }
11899 ac_preproc_ok=false
11900 for ac_cxx_preproc_warn_flag in '' yes
11901 do
11902 # Use a header file that comes with gcc, so configuring glibc
11903 # with a fresh cross-compiler works.
11904 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11905 # <limits.h> exists even on freestanding compilers.
11906 # On the NeXT, cc -E runs the code through the compiler's parser,
11907 # not just through cpp. "Syntax error" is here to catch this case.
11908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11910 #ifdef __STDC__
11911 # include <limits.h>
11912 #else
11913 # include <assert.h>
11914 #endif
11915 Syntax error
11916 _ACEOF
11917 if ac_fn_cxx_try_cpp "$LINENO"; then :
11918
11919 else
11920 # Broken: fails on valid input.
11921 continue
11922 fi
11923 rm -f conftest.err conftest.$ac_ext
11924
11925 # OK, works on sane cases. Now check whether nonexistent headers
11926 # can be detected and how.
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11929 #include <ac_nonexistent.h>
11930 _ACEOF
11931 if ac_fn_cxx_try_cpp "$LINENO"; then :
11932 # Broken: success on invalid input.
11933 continue
11934 else
11935 # Passes both tests.
11936 ac_preproc_ok=:
11937 break
11938 fi
11939 rm -f conftest.err conftest.$ac_ext
11940
11941 done
11942 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11943 rm -f conftest.err conftest.$ac_ext
11944 if $ac_preproc_ok; then :
11945
11946 else
11947 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11949 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11950 See \`config.log' for more details." "$LINENO" 5; }
11951 fi
11952
11953 ac_ext=c
11954 ac_cpp='$CPP $CPPFLAGS'
11955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11958
11959 else
11960 _lt_caught_CXX_error=yes
11961 fi
11962
11963 ac_ext=cpp
11964 ac_cpp='$CXXCPP $CPPFLAGS'
11965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11968
11969 archive_cmds_need_lc_CXX=no
11970 allow_undefined_flag_CXX=
11971 always_export_symbols_CXX=no
11972 archive_expsym_cmds_CXX=
11973 compiler_needs_object_CXX=no
11974 export_dynamic_flag_spec_CXX=
11975 hardcode_direct_CXX=no
11976 hardcode_direct_absolute_CXX=no
11977 hardcode_libdir_flag_spec_CXX=
11978 hardcode_libdir_flag_spec_ld_CXX=
11979 hardcode_libdir_separator_CXX=
11980 hardcode_minus_L_CXX=no
11981 hardcode_shlibpath_var_CXX=unsupported
11982 hardcode_automatic_CXX=no
11983 inherit_rpath_CXX=no
11984 module_cmds_CXX=
11985 module_expsym_cmds_CXX=
11986 link_all_deplibs_CXX=unknown
11987 old_archive_cmds_CXX=$old_archive_cmds
11988 reload_flag_CXX=$reload_flag
11989 reload_cmds_CXX=$reload_cmds
11990 no_undefined_flag_CXX=
11991 whole_archive_flag_spec_CXX=
11992 enable_shared_with_static_runtimes_CXX=no
11993
11994 # Source file extension for C++ test sources.
11995 ac_ext=cpp
11996
11997 # Object file extension for compiled C++ test sources.
11998 objext=o
11999 objext_CXX=$objext
12000
12001 # No sense in running all these tests if we already determined that
12002 # the CXX compiler isn't working. Some variables (like enable_shared)
12003 # are currently assumed to apply to all compilers on this platform,
12004 # and will be corrupted by setting them based on a non-working compiler.
12005 if test "$_lt_caught_CXX_error" != yes; then
12006 # Code to be used in simple compile tests
12007 lt_simple_compile_test_code="int some_variable = 0;"
12008
12009 # Code to be used in simple link tests
12010 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12011
12012 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12013
12014
12015
12016
12017
12018
12019 # If no C compiler was specified, use CC.
12020 LTCC=${LTCC-"$CC"}
12021
12022 # If no C compiler flags were specified, use CFLAGS.
12023 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12024
12025 # Allow CC to be a program name with arguments.
12026 compiler=$CC
12027
12028
12029 # save warnings/boilerplate of simple test code
12030 ac_outfile=conftest.$ac_objext
12031 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12032 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12033 _lt_compiler_boilerplate=`cat conftest.err`
12034 $RM conftest*
12035
12036 ac_outfile=conftest.$ac_objext
12037 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12038 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12039 _lt_linker_boilerplate=`cat conftest.err`
12040 $RM -r conftest*
12041
12042
12043 # Allow CC to be a program name with arguments.
12044 lt_save_CC=$CC
12045 lt_save_LD=$LD
12046 lt_save_GCC=$GCC
12047 GCC=$GXX
12048 lt_save_with_gnu_ld=$with_gnu_ld
12049 lt_save_path_LD=$lt_cv_path_LD
12050 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12051 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12052 else
12053 $as_unset lt_cv_prog_gnu_ld
12054 fi
12055 if test -n "${lt_cv_path_LDCXX+set}"; then
12056 lt_cv_path_LD=$lt_cv_path_LDCXX
12057 else
12058 $as_unset lt_cv_path_LD
12059 fi
12060 test -z "${LDCXX+set}" || LD=$LDCXX
12061 CC=${CXX-"c++"}
12062 compiler=$CC
12063 compiler_CXX=$CC
12064 for cc_temp in $compiler""; do
12065 case $cc_temp in
12066 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12067 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12068 \-*) ;;
12069 *) break;;
12070 esac
12071 done
12072 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12073
12074
12075 if test -n "$compiler"; then
12076 # We don't want -fno-exception when compiling C++ code, so set the
12077 # no_builtin_flag separately
12078 if test "$GXX" = yes; then
12079 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12080 else
12081 lt_prog_compiler_no_builtin_flag_CXX=
12082 fi
12083
12084 if test "$GXX" = yes; then
12085 # Set up default GNU C++ configuration
12086
12087
12088
12089 # Check whether --with-gnu-ld was given.
12090 if test "${with_gnu_ld+set}" = set; then :
12091 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12092 else
12093 with_gnu_ld=no
12094 fi
12095
12096 ac_prog=ld
12097 if test "$GCC" = yes; then
12098 # Check if gcc -print-prog-name=ld gives a path.
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12100 $as_echo_n "checking for ld used by $CC... " >&6; }
12101 case $host in
12102 *-*-mingw*)
12103 # gcc leaves a trailing carriage return which upsets mingw
12104 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12105 *)
12106 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12107 esac
12108 case $ac_prog in
12109 # Accept absolute paths.
12110 [\\/]* | ?:[\\/]*)
12111 re_direlt='/[^/][^/]*/\.\./'
12112 # Canonicalize the pathname of ld
12113 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12114 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12115 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12116 done
12117 test -z "$LD" && LD="$ac_prog"
12118 ;;
12119 "")
12120 # If it fails, then pretend we aren't using GCC.
12121 ac_prog=ld
12122 ;;
12123 *)
12124 # If it is relative, then search for the first ld in PATH.
12125 with_gnu_ld=unknown
12126 ;;
12127 esac
12128 elif test "$with_gnu_ld" = yes; then
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12130 $as_echo_n "checking for GNU ld... " >&6; }
12131 else
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12133 $as_echo_n "checking for non-GNU ld... " >&6; }
12134 fi
12135 if test "${lt_cv_path_LD+set}" = set; then :
12136 $as_echo_n "(cached) " >&6
12137 else
12138 if test -z "$LD"; then
12139 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12140 for ac_dir in $PATH; do
12141 IFS="$lt_save_ifs"
12142 test -z "$ac_dir" && ac_dir=.
12143 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12144 lt_cv_path_LD="$ac_dir/$ac_prog"
12145 # Check to see if the program is GNU ld. I'd rather use --version,
12146 # but apparently some variants of GNU ld only accept -v.
12147 # Break only if it was the GNU/non-GNU ld that we prefer.
12148 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12149 *GNU* | *'with BFD'*)
12150 test "$with_gnu_ld" != no && break
12151 ;;
12152 *)
12153 test "$with_gnu_ld" != yes && break
12154 ;;
12155 esac
12156 fi
12157 done
12158 IFS="$lt_save_ifs"
12159 else
12160 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12161 fi
12162 fi
12163
12164 LD="$lt_cv_path_LD"
12165 if test -n "$LD"; then
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12167 $as_echo "$LD" >&6; }
12168 else
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12170 $as_echo "no" >&6; }
12171 fi
12172 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12174 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12175 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12176 $as_echo_n "(cached) " >&6
12177 else
12178 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12179 case `$LD -v 2>&1 </dev/null` in
12180 *GNU* | *'with BFD'*)
12181 lt_cv_prog_gnu_ld=yes
12182 ;;
12183 *)
12184 lt_cv_prog_gnu_ld=no
12185 ;;
12186 esac
12187 fi
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12189 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12190 with_gnu_ld=$lt_cv_prog_gnu_ld
12191
12192
12193
12194
12195
12196
12197
12198 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12199 # archiving commands below assume that GNU ld is being used.
12200 if test "$with_gnu_ld" = yes; then
12201 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12202 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'
12203
12204 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12205 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12206
12207 # If archive_cmds runs LD, not CC, wlarc should be empty
12208 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12209 # investigate it a little bit more. (MM)
12210 wlarc='${wl}'
12211
12212 # ancient GNU ld didn't support --whole-archive et. al.
12213 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12214 $GREP 'no-whole-archive' > /dev/null; then
12215 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12216 else
12217 whole_archive_flag_spec_CXX=
12218 fi
12219 else
12220 with_gnu_ld=no
12221 wlarc=
12222
12223 # A generic and very simple default shared library creation
12224 # command for GNU C++ for the case where it uses the native
12225 # linker, instead of GNU ld. If possible, this setting should
12226 # overridden to take advantage of the native linker features on
12227 # the platform it is being used on.
12228 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12229 fi
12230
12231 # Commands to make compiler produce verbose output that lists
12232 # what "hidden" libraries, object files and flags are used when
12233 # linking a shared library.
12234 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12235
12236 else
12237 GXX=no
12238 with_gnu_ld=no
12239 wlarc=
12240 fi
12241
12242 # PORTME: fill in a description of your system's C++ link characteristics
12243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12244 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12245 ld_shlibs_CXX=yes
12246 case $host_os in
12247 aix3*)
12248 # FIXME: insert proper C++ library support
12249 ld_shlibs_CXX=no
12250 ;;
12251 aix[4-9]*)
12252 if test "$host_cpu" = ia64; then
12253 # On IA64, the linker does run time linking by default, so we don't
12254 # have to do anything special.
12255 aix_use_runtimelinking=no
12256 exp_sym_flag='-Bexport'
12257 no_entry_flag=""
12258 else
12259 aix_use_runtimelinking=no
12260
12261 # Test if we are trying to use run time linking or normal
12262 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12263 # need to do runtime linking.
12264 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12265 for ld_flag in $LDFLAGS; do
12266 case $ld_flag in
12267 *-brtl*)
12268 aix_use_runtimelinking=yes
12269 break
12270 ;;
12271 esac
12272 done
12273 ;;
12274 esac
12275
12276 exp_sym_flag='-bexport'
12277 no_entry_flag='-bnoentry'
12278 fi
12279
12280 # When large executables or shared objects are built, AIX ld can
12281 # have problems creating the table of contents. If linking a library
12282 # or program results in "error TOC overflow" add -mminimal-toc to
12283 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12284 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12285
12286 archive_cmds_CXX=''
12287 hardcode_direct_CXX=yes
12288 hardcode_direct_absolute_CXX=yes
12289 hardcode_libdir_separator_CXX=':'
12290 link_all_deplibs_CXX=yes
12291 file_list_spec_CXX='${wl}-f,'
12292
12293 if test "$GXX" = yes; then
12294 case $host_os in aix4.[012]|aix4.[012].*)
12295 # We only want to do this on AIX 4.2 and lower, the check
12296 # below for broken collect2 doesn't work under 4.3+
12297 collect2name=`${CC} -print-prog-name=collect2`
12298 if test -f "$collect2name" &&
12299 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12300 then
12301 # We have reworked collect2
12302 :
12303 else
12304 # We have old collect2
12305 hardcode_direct_CXX=unsupported
12306 # It fails to find uninstalled libraries when the uninstalled
12307 # path is not listed in the libpath. Setting hardcode_minus_L
12308 # to unsupported forces relinking
12309 hardcode_minus_L_CXX=yes
12310 hardcode_libdir_flag_spec_CXX='-L$libdir'
12311 hardcode_libdir_separator_CXX=
12312 fi
12313 esac
12314 shared_flag='-shared'
12315 if test "$aix_use_runtimelinking" = yes; then
12316 shared_flag="$shared_flag "'${wl}-G'
12317 fi
12318 else
12319 # not using gcc
12320 if test "$host_cpu" = ia64; then
12321 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12322 # chokes on -Wl,-G. The following line is correct:
12323 shared_flag='-G'
12324 else
12325 if test "$aix_use_runtimelinking" = yes; then
12326 shared_flag='${wl}-G'
12327 else
12328 shared_flag='${wl}-bM:SRE'
12329 fi
12330 fi
12331 fi
12332
12333 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12334 # It seems that -bexpall does not export symbols beginning with
12335 # underscore (_), so it is better to generate a list of symbols to
12336 # export.
12337 always_export_symbols_CXX=yes
12338 if test "$aix_use_runtimelinking" = yes; then
12339 # Warning - without using the other runtime loading flags (-brtl),
12340 # -berok will link without error, but may produce a broken library.
12341 allow_undefined_flag_CXX='-berok'
12342 # Determine the default libpath from the value encoded in an empty
12343 # executable.
12344 if test x$gcc_no_link = xyes; then
12345 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12346 fi
12347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12348 /* end confdefs.h. */
12349
12350 int
12351 main ()
12352 {
12353
12354 ;
12355 return 0;
12356 }
12357 _ACEOF
12358 if ac_fn_cxx_try_link "$LINENO"; then :
12359
12360 lt_aix_libpath_sed='
12361 /Import File Strings/,/^$/ {
12362 /^0/ {
12363 s/^0 *\(.*\)$/\1/
12364 p
12365 }
12366 }'
12367 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12368 # Check for a 64-bit object if we didn't find anything.
12369 if test -z "$aix_libpath"; then
12370 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12371 fi
12372 fi
12373 rm -f core conftest.err conftest.$ac_objext \
12374 conftest$ac_exeext conftest.$ac_ext
12375 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12376
12377 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12378
12379 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"
12380 else
12381 if test "$host_cpu" = ia64; then
12382 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12383 allow_undefined_flag_CXX="-z nodefs"
12384 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"
12385 else
12386 # Determine the default libpath from the value encoded in an
12387 # empty executable.
12388 if test x$gcc_no_link = xyes; then
12389 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12390 fi
12391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12392 /* end confdefs.h. */
12393
12394 int
12395 main ()
12396 {
12397
12398 ;
12399 return 0;
12400 }
12401 _ACEOF
12402 if ac_fn_cxx_try_link "$LINENO"; then :
12403
12404 lt_aix_libpath_sed='
12405 /Import File Strings/,/^$/ {
12406 /^0/ {
12407 s/^0 *\(.*\)$/\1/
12408 p
12409 }
12410 }'
12411 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12412 # Check for a 64-bit object if we didn't find anything.
12413 if test -z "$aix_libpath"; then
12414 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12415 fi
12416 fi
12417 rm -f core conftest.err conftest.$ac_objext \
12418 conftest$ac_exeext conftest.$ac_ext
12419 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12420
12421 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12422 # Warning - without using the other run time loading flags,
12423 # -berok will link without error, but may produce a broken library.
12424 no_undefined_flag_CXX=' ${wl}-bernotok'
12425 allow_undefined_flag_CXX=' ${wl}-berok'
12426 if test "$with_gnu_ld" = yes; then
12427 # We only use this code for GNU lds that support --whole-archive.
12428 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12429 else
12430 # Exported symbols can be pulled into shared objects from archives
12431 whole_archive_flag_spec_CXX='$convenience'
12432 fi
12433 archive_cmds_need_lc_CXX=yes
12434 # This is similar to how AIX traditionally builds its shared
12435 # libraries.
12436 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'
12437 fi
12438 fi
12439 ;;
12440
12441 beos*)
12442 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12443 allow_undefined_flag_CXX=unsupported
12444 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12445 # support --undefined. This deserves some investigation. FIXME
12446 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12447 else
12448 ld_shlibs_CXX=no
12449 fi
12450 ;;
12451
12452 chorus*)
12453 case $cc_basename in
12454 *)
12455 # FIXME: insert proper C++ library support
12456 ld_shlibs_CXX=no
12457 ;;
12458 esac
12459 ;;
12460
12461 cygwin* | mingw* | pw32* | cegcc*)
12462 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12463 # as there is no search path for DLLs.
12464 hardcode_libdir_flag_spec_CXX='-L$libdir'
12465 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12466 allow_undefined_flag_CXX=unsupported
12467 always_export_symbols_CXX=no
12468 enable_shared_with_static_runtimes_CXX=yes
12469
12470 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12471 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'
12472 # If the export-symbols file already is a .def file (1st line
12473 # is EXPORTS), use it as is; otherwise, prepend...
12474 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12475 cp $export_symbols $output_objdir/$soname.def;
12476 else
12477 echo EXPORTS > $output_objdir/$soname.def;
12478 cat $export_symbols >> $output_objdir/$soname.def;
12479 fi~
12480 $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'
12481 else
12482 ld_shlibs_CXX=no
12483 fi
12484 ;;
12485 darwin* | rhapsody*)
12486
12487
12488 archive_cmds_need_lc_CXX=no
12489 hardcode_direct_CXX=no
12490 hardcode_automatic_CXX=yes
12491 hardcode_shlibpath_var_CXX=unsupported
12492 if test "$lt_cv_ld_force_load" = "yes"; then
12493 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\"`'
12494 else
12495 whole_archive_flag_spec_CXX=''
12496 fi
12497 link_all_deplibs_CXX=yes
12498 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12499 case $cc_basename in
12500 ifort*) _lt_dar_can_shared=yes ;;
12501 *) _lt_dar_can_shared=$GCC ;;
12502 esac
12503 if test "$_lt_dar_can_shared" = "yes"; then
12504 output_verbose_link_cmd=func_echo_all
12505 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}"
12506 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12507 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}"
12508 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}"
12509 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12510 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}"
12511 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}"
12512 fi
12513
12514 else
12515 ld_shlibs_CXX=no
12516 fi
12517
12518 ;;
12519
12520 dgux*)
12521 case $cc_basename in
12522 ec++*)
12523 # FIXME: insert proper C++ library support
12524 ld_shlibs_CXX=no
12525 ;;
12526 ghcx*)
12527 # Green Hills C++ Compiler
12528 # FIXME: insert proper C++ library support
12529 ld_shlibs_CXX=no
12530 ;;
12531 *)
12532 # FIXME: insert proper C++ library support
12533 ld_shlibs_CXX=no
12534 ;;
12535 esac
12536 ;;
12537
12538 freebsd2.*)
12539 # C++ shared libraries reported to be fairly broken before
12540 # switch to ELF
12541 ld_shlibs_CXX=no
12542 ;;
12543
12544 freebsd-elf*)
12545 archive_cmds_need_lc_CXX=no
12546 ;;
12547
12548 freebsd* | dragonfly*)
12549 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12550 # conventions
12551 ld_shlibs_CXX=yes
12552 ;;
12553
12554 gnu*)
12555 ;;
12556
12557 haiku*)
12558 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12559 link_all_deplibs_CXX=yes
12560 ;;
12561
12562 hpux9*)
12563 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12564 hardcode_libdir_separator_CXX=:
12565 export_dynamic_flag_spec_CXX='${wl}-E'
12566 hardcode_direct_CXX=yes
12567 hardcode_minus_L_CXX=yes # Not in the search PATH,
12568 # but as the default
12569 # location of the library.
12570
12571 case $cc_basename in
12572 CC*)
12573 # FIXME: insert proper C++ library support
12574 ld_shlibs_CXX=no
12575 ;;
12576 aCC*)
12577 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'
12578 # Commands to make compiler produce verbose output that lists
12579 # what "hidden" libraries, object files and flags are used when
12580 # linking a shared library.
12581 #
12582 # There doesn't appear to be a way to prevent this compiler from
12583 # explicitly linking system object files so we need to strip them
12584 # from the output so that they don't get included in the library
12585 # dependencies.
12586 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"'
12587 ;;
12588 *)
12589 if test "$GXX" = yes; then
12590 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'
12591 else
12592 # FIXME: insert proper C++ library support
12593 ld_shlibs_CXX=no
12594 fi
12595 ;;
12596 esac
12597 ;;
12598
12599 hpux10*|hpux11*)
12600 if test $with_gnu_ld = no; then
12601 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12602 hardcode_libdir_separator_CXX=:
12603
12604 case $host_cpu in
12605 hppa*64*|ia64*)
12606 ;;
12607 *)
12608 export_dynamic_flag_spec_CXX='${wl}-E'
12609 ;;
12610 esac
12611 fi
12612 case $host_cpu in
12613 hppa*64*|ia64*)
12614 hardcode_direct_CXX=no
12615 hardcode_shlibpath_var_CXX=no
12616 ;;
12617 *)
12618 hardcode_direct_CXX=yes
12619 hardcode_direct_absolute_CXX=yes
12620 hardcode_minus_L_CXX=yes # Not in the search PATH,
12621 # but as the default
12622 # location of the library.
12623 ;;
12624 esac
12625
12626 case $cc_basename in
12627 CC*)
12628 # FIXME: insert proper C++ library support
12629 ld_shlibs_CXX=no
12630 ;;
12631 aCC*)
12632 case $host_cpu in
12633 hppa*64*)
12634 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12635 ;;
12636 ia64*)
12637 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12638 ;;
12639 *)
12640 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12641 ;;
12642 esac
12643 # Commands to make compiler produce verbose output that lists
12644 # what "hidden" libraries, object files and flags are used when
12645 # linking a shared library.
12646 #
12647 # There doesn't appear to be a way to prevent this compiler from
12648 # explicitly linking system object files so we need to strip them
12649 # from the output so that they don't get included in the library
12650 # dependencies.
12651 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"'
12652 ;;
12653 *)
12654 if test "$GXX" = yes; then
12655 if test $with_gnu_ld = no; then
12656 case $host_cpu in
12657 hppa*64*)
12658 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12659 ;;
12660 ia64*)
12661 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12662 ;;
12663 *)
12664 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'
12665 ;;
12666 esac
12667 fi
12668 else
12669 # FIXME: insert proper C++ library support
12670 ld_shlibs_CXX=no
12671 fi
12672 ;;
12673 esac
12674 ;;
12675
12676 interix[3-9]*)
12677 hardcode_direct_CXX=no
12678 hardcode_shlibpath_var_CXX=no
12679 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12680 export_dynamic_flag_spec_CXX='${wl}-E'
12681 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12682 # Instead, shared libraries are loaded at an image base (0x10000000 by
12683 # default) and relocated if they conflict, which is a slow very memory
12684 # consuming and fragmenting process. To avoid this, we pick a random,
12685 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12686 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12687 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'
12688 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'
12689 ;;
12690 irix5* | irix6*)
12691 case $cc_basename in
12692 CC*)
12693 # SGI C++
12694 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'
12695
12696 # Archives containing C++ object files must be created using
12697 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12698 # necessary to make sure instantiated templates are included
12699 # in the archive.
12700 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12701 ;;
12702 *)
12703 if test "$GXX" = yes; then
12704 if test "$with_gnu_ld" = no; then
12705 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'
12706 else
12707 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'
12708 fi
12709 fi
12710 link_all_deplibs_CXX=yes
12711 ;;
12712 esac
12713 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12714 hardcode_libdir_separator_CXX=:
12715 inherit_rpath_CXX=yes
12716 ;;
12717
12718 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12719 case $cc_basename in
12720 KCC*)
12721 # Kuck and Associates, Inc. (KAI) C++ Compiler
12722
12723 # KCC will only create a shared library if the output file
12724 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12725 # to its proper name (with version) after linking.
12726 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'
12727 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'
12728 # Commands to make compiler produce verbose output that lists
12729 # what "hidden" libraries, object files and flags are used when
12730 # linking a shared library.
12731 #
12732 # There doesn't appear to be a way to prevent this compiler from
12733 # explicitly linking system object files so we need to strip them
12734 # from the output so that they don't get included in the library
12735 # dependencies.
12736 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"'
12737
12738 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12739 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12740
12741 # Archives containing C++ object files must be created using
12742 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12743 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12744 ;;
12745 icpc* | ecpc* )
12746 # Intel C++
12747 with_gnu_ld=yes
12748 # version 8.0 and above of icpc choke on multiply defined symbols
12749 # if we add $predep_objects and $postdep_objects, however 7.1 and
12750 # earlier do not add the objects themselves.
12751 case `$CC -V 2>&1` in
12752 *"Version 7."*)
12753 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12754 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'
12755 ;;
12756 *) # Version 8.0 or newer
12757 tmp_idyn=
12758 case $host_cpu in
12759 ia64*) tmp_idyn=' -i_dynamic';;
12760 esac
12761 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12762 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'
12763 ;;
12764 esac
12765 archive_cmds_need_lc_CXX=no
12766 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12767 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12768 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12769 ;;
12770 pgCC* | pgcpp*)
12771 # Portland Group C++ compiler
12772 case `$CC -V` in
12773 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12774 prelink_cmds_CXX='tpldir=Template.dir~
12775 rm -rf $tpldir~
12776 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12777 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12778 old_archive_cmds_CXX='tpldir=Template.dir~
12779 rm -rf $tpldir~
12780 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12781 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12782 $RANLIB $oldlib'
12783 archive_cmds_CXX='tpldir=Template.dir~
12784 rm -rf $tpldir~
12785 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12786 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12787 archive_expsym_cmds_CXX='tpldir=Template.dir~
12788 rm -rf $tpldir~
12789 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12790 $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'
12791 ;;
12792 *) # Version 6 and above use weak symbols
12793 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12794 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'
12795 ;;
12796 esac
12797
12798 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12799 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12800 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'
12801 ;;
12802 cxx*)
12803 # Compaq C++
12804 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12805 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'
12806
12807 runpath_var=LD_RUN_PATH
12808 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12809 hardcode_libdir_separator_CXX=:
12810
12811 # Commands to make compiler produce verbose output that lists
12812 # what "hidden" libraries, object files and flags are used when
12813 # linking a shared library.
12814 #
12815 # There doesn't appear to be a way to prevent this compiler from
12816 # explicitly linking system object files so we need to strip them
12817 # from the output so that they don't get included in the library
12818 # dependencies.
12819 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'
12820 ;;
12821 xl* | mpixl* | bgxl*)
12822 # IBM XL 8.0 on PPC, with GNU ld
12823 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12824 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12825 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12826 if test "x$supports_anon_versioning" = xyes; then
12827 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12828 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12829 echo "local: *; };" >> $output_objdir/$libname.ver~
12830 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12831 fi
12832 ;;
12833 *)
12834 case `$CC -V 2>&1 | sed 5q` in
12835 *Sun\ C*)
12836 # Sun C++ 5.9
12837 no_undefined_flag_CXX=' -zdefs'
12838 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12839 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'
12840 hardcode_libdir_flag_spec_CXX='-R$libdir'
12841 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'
12842 compiler_needs_object_CXX=yes
12843
12844 # Not sure whether something based on
12845 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12846 # would be better.
12847 output_verbose_link_cmd='func_echo_all'
12848
12849 # Archives containing C++ object files must be created using
12850 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12851 # necessary to make sure instantiated templates are included
12852 # in the archive.
12853 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12854 ;;
12855 esac
12856 ;;
12857 esac
12858 ;;
12859
12860 lynxos*)
12861 # FIXME: insert proper C++ library support
12862 ld_shlibs_CXX=no
12863 ;;
12864
12865 m88k*)
12866 # FIXME: insert proper C++ library support
12867 ld_shlibs_CXX=no
12868 ;;
12869
12870 mvs*)
12871 case $cc_basename in
12872 cxx*)
12873 # FIXME: insert proper C++ library support
12874 ld_shlibs_CXX=no
12875 ;;
12876 *)
12877 # FIXME: insert proper C++ library support
12878 ld_shlibs_CXX=no
12879 ;;
12880 esac
12881 ;;
12882
12883 netbsd*)
12884 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12885 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12886 wlarc=
12887 hardcode_libdir_flag_spec_CXX='-R$libdir'
12888 hardcode_direct_CXX=yes
12889 hardcode_shlibpath_var_CXX=no
12890 fi
12891 # Workaround some broken pre-1.5 toolchains
12892 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12893 ;;
12894
12895 *nto* | *qnx*)
12896 ld_shlibs_CXX=yes
12897 ;;
12898
12899 openbsd2*)
12900 # C++ shared libraries are fairly broken
12901 ld_shlibs_CXX=no
12902 ;;
12903
12904 openbsd*)
12905 if test -f /usr/libexec/ld.so; then
12906 hardcode_direct_CXX=yes
12907 hardcode_shlibpath_var_CXX=no
12908 hardcode_direct_absolute_CXX=yes
12909 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12910 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12911 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12912 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12913 export_dynamic_flag_spec_CXX='${wl}-E'
12914 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12915 fi
12916 output_verbose_link_cmd=func_echo_all
12917 else
12918 ld_shlibs_CXX=no
12919 fi
12920 ;;
12921
12922 osf3* | osf4* | osf5*)
12923 case $cc_basename in
12924 KCC*)
12925 # Kuck and Associates, Inc. (KAI) C++ Compiler
12926
12927 # KCC will only create a shared library if the output file
12928 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12929 # to its proper name (with version) after linking.
12930 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'
12931
12932 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12933 hardcode_libdir_separator_CXX=:
12934
12935 # Archives containing C++ object files must be created using
12936 # the KAI C++ compiler.
12937 case $host in
12938 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12939 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12940 esac
12941 ;;
12942 RCC*)
12943 # Rational C++ 2.4.1
12944 # FIXME: insert proper C++ library support
12945 ld_shlibs_CXX=no
12946 ;;
12947 cxx*)
12948 case $host in
12949 osf3*)
12950 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12951 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'
12952 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12953 ;;
12954 *)
12955 allow_undefined_flag_CXX=' -expect_unresolved \*'
12956 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'
12957 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12958 echo "-hidden">> $lib.exp~
12959 $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~
12960 $RM $lib.exp'
12961 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12962 ;;
12963 esac
12964
12965 hardcode_libdir_separator_CXX=:
12966
12967 # Commands to make compiler produce verbose output that lists
12968 # what "hidden" libraries, object files and flags are used when
12969 # linking a shared library.
12970 #
12971 # There doesn't appear to be a way to prevent this compiler from
12972 # explicitly linking system object files so we need to strip them
12973 # from the output so that they don't get included in the library
12974 # dependencies.
12975 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"'
12976 ;;
12977 *)
12978 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12979 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12980 case $host in
12981 osf3*)
12982 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'
12983 ;;
12984 *)
12985 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'
12986 ;;
12987 esac
12988
12989 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12990 hardcode_libdir_separator_CXX=:
12991
12992 # Commands to make compiler produce verbose output that lists
12993 # what "hidden" libraries, object files and flags are used when
12994 # linking a shared library.
12995 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12996
12997 else
12998 # FIXME: insert proper C++ library support
12999 ld_shlibs_CXX=no
13000 fi
13001 ;;
13002 esac
13003 ;;
13004
13005 psos*)
13006 # FIXME: insert proper C++ library support
13007 ld_shlibs_CXX=no
13008 ;;
13009
13010 sunos4*)
13011 case $cc_basename in
13012 CC*)
13013 # Sun C++ 4.x
13014 # FIXME: insert proper C++ library support
13015 ld_shlibs_CXX=no
13016 ;;
13017 lcc*)
13018 # Lucid
13019 # FIXME: insert proper C++ library support
13020 ld_shlibs_CXX=no
13021 ;;
13022 *)
13023 # FIXME: insert proper C++ library support
13024 ld_shlibs_CXX=no
13025 ;;
13026 esac
13027 ;;
13028
13029 solaris*)
13030 case $cc_basename in
13031 CC*)
13032 # Sun C++ 4.2, 5.x and Centerline C++
13033 archive_cmds_need_lc_CXX=yes
13034 no_undefined_flag_CXX=' -zdefs'
13035 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13036 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13037 $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'
13038
13039 hardcode_libdir_flag_spec_CXX='-R$libdir'
13040 hardcode_shlibpath_var_CXX=no
13041 case $host_os in
13042 solaris2.[0-5] | solaris2.[0-5].*) ;;
13043 *)
13044 # The compiler driver will combine and reorder linker options,
13045 # but understands `-z linker_flag'.
13046 # Supported since Solaris 2.6 (maybe 2.5.1?)
13047 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13048 ;;
13049 esac
13050 link_all_deplibs_CXX=yes
13051
13052 output_verbose_link_cmd='func_echo_all'
13053
13054 # Archives containing C++ object files must be created using
13055 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13056 # necessary to make sure instantiated templates are included
13057 # in the archive.
13058 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13059 ;;
13060 gcx*)
13061 # Green Hills C++ Compiler
13062 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13063
13064 # The C++ compiler must be used to create the archive.
13065 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13066 ;;
13067 *)
13068 # GNU C++ compiler with Solaris linker
13069 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13070 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13071 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13072 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13073 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13074 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13075
13076 # Commands to make compiler produce verbose output that lists
13077 # what "hidden" libraries, object files and flags are used when
13078 # linking a shared library.
13079 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13080 else
13081 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13082 # platform.
13083 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13084 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13085 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13086
13087 # Commands to make compiler produce verbose output that lists
13088 # what "hidden" libraries, object files and flags are used when
13089 # linking a shared library.
13090 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13091 fi
13092
13093 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13094 case $host_os in
13095 solaris2.[0-5] | solaris2.[0-5].*) ;;
13096 *)
13097 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13098 ;;
13099 esac
13100 fi
13101 ;;
13102 esac
13103 ;;
13104
13105 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13106 no_undefined_flag_CXX='${wl}-z,text'
13107 archive_cmds_need_lc_CXX=no
13108 hardcode_shlibpath_var_CXX=no
13109 runpath_var='LD_RUN_PATH'
13110
13111 case $cc_basename in
13112 CC*)
13113 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13114 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13115 ;;
13116 *)
13117 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13118 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13119 ;;
13120 esac
13121 ;;
13122
13123 sysv5* | sco3.2v5* | sco5v6*)
13124 # Note: We can NOT use -z defs as we might desire, because we do not
13125 # link with -lc, and that would cause any symbols used from libc to
13126 # always be unresolved, which means just about no library would
13127 # ever link correctly. If we're not using GNU ld we use -z text
13128 # though, which does catch some bad symbols but isn't as heavy-handed
13129 # as -z defs.
13130 no_undefined_flag_CXX='${wl}-z,text'
13131 allow_undefined_flag_CXX='${wl}-z,nodefs'
13132 archive_cmds_need_lc_CXX=no
13133 hardcode_shlibpath_var_CXX=no
13134 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13135 hardcode_libdir_separator_CXX=':'
13136 link_all_deplibs_CXX=yes
13137 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13138 runpath_var='LD_RUN_PATH'
13139
13140 case $cc_basename in
13141 CC*)
13142 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13144 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13145 '"$old_archive_cmds_CXX"
13146 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13147 '"$reload_cmds_CXX"
13148 ;;
13149 *)
13150 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13151 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13152 ;;
13153 esac
13154 ;;
13155
13156 tandem*)
13157 case $cc_basename in
13158 NCC*)
13159 # NonStop-UX NCC 3.20
13160 # FIXME: insert proper C++ library support
13161 ld_shlibs_CXX=no
13162 ;;
13163 *)
13164 # FIXME: insert proper C++ library support
13165 ld_shlibs_CXX=no
13166 ;;
13167 esac
13168 ;;
13169
13170 vxworks*)
13171 # FIXME: insert proper C++ library support
13172 ld_shlibs_CXX=no
13173 ;;
13174
13175 *)
13176 # FIXME: insert proper C++ library support
13177 ld_shlibs_CXX=no
13178 ;;
13179 esac
13180
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13182 $as_echo "$ld_shlibs_CXX" >&6; }
13183 test "$ld_shlibs_CXX" = no && can_build_shared=no
13184
13185 GCC_CXX="$GXX"
13186 LD_CXX="$LD"
13187
13188 ## CAVEAT EMPTOR:
13189 ## There is no encapsulation within the following macros, do not change
13190 ## the running order or otherwise move them around unless you know exactly
13191 ## what you are doing...
13192 # Dependencies to place before and after the object being linked:
13193 predep_objects_CXX=
13194 postdep_objects_CXX=
13195 predeps_CXX=
13196 postdeps_CXX=
13197 compiler_lib_search_path_CXX=
13198
13199 cat > conftest.$ac_ext <<_LT_EOF
13200 class Foo
13201 {
13202 public:
13203 Foo (void) { a = 0; }
13204 private:
13205 int a;
13206 };
13207 _LT_EOF
13208
13209 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13210 (eval $ac_compile) 2>&5
13211 ac_status=$?
13212 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13213 test $ac_status = 0; }; then
13214 # Parse the compiler output and extract the necessary
13215 # objects, libraries and library flags.
13216
13217 # Sentinel used to keep track of whether or not we are before
13218 # the conftest object file.
13219 pre_test_object_deps_done=no
13220
13221 for p in `eval "$output_verbose_link_cmd"`; do
13222 case $p in
13223
13224 -L* | -R* | -l*)
13225 # Some compilers place space between "-{L,R}" and the path.
13226 # Remove the space.
13227 if test $p = "-L" ||
13228 test $p = "-R"; then
13229 prev=$p
13230 continue
13231 else
13232 prev=
13233 fi
13234
13235 if test "$pre_test_object_deps_done" = no; then
13236 case $p in
13237 -L* | -R*)
13238 # Internal compiler library paths should come after those
13239 # provided the user. The postdeps already come after the
13240 # user supplied libs so there is no need to process them.
13241 if test -z "$compiler_lib_search_path_CXX"; then
13242 compiler_lib_search_path_CXX="${prev}${p}"
13243 else
13244 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13245 fi
13246 ;;
13247 # The "-l" case would never come before the object being
13248 # linked, so don't bother handling this case.
13249 esac
13250 else
13251 if test -z "$postdeps_CXX"; then
13252 postdeps_CXX="${prev}${p}"
13253 else
13254 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13255 fi
13256 fi
13257 ;;
13258
13259 *.$objext)
13260 # This assumes that the test object file only shows up
13261 # once in the compiler output.
13262 if test "$p" = "conftest.$objext"; then
13263 pre_test_object_deps_done=yes
13264 continue
13265 fi
13266
13267 if test "$pre_test_object_deps_done" = no; then
13268 if test -z "$predep_objects_CXX"; then
13269 predep_objects_CXX="$p"
13270 else
13271 predep_objects_CXX="$predep_objects_CXX $p"
13272 fi
13273 else
13274 if test -z "$postdep_objects_CXX"; then
13275 postdep_objects_CXX="$p"
13276 else
13277 postdep_objects_CXX="$postdep_objects_CXX $p"
13278 fi
13279 fi
13280 ;;
13281
13282 *) ;; # Ignore the rest.
13283
13284 esac
13285 done
13286
13287 # Clean up.
13288 rm -f a.out a.exe
13289 else
13290 echo "libtool.m4: error: problem compiling CXX test program"
13291 fi
13292
13293 $RM -f confest.$objext
13294
13295 # PORTME: override above test on systems where it is broken
13296 case $host_os in
13297 interix[3-9]*)
13298 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13299 # hack all around it, let's just trust "g++" to DTRT.
13300 predep_objects_CXX=
13301 postdep_objects_CXX=
13302 postdeps_CXX=
13303 ;;
13304
13305 linux*)
13306 case `$CC -V 2>&1 | sed 5q` in
13307 *Sun\ C*)
13308 # Sun C++ 5.9
13309
13310 # The more standards-conforming stlport4 library is
13311 # incompatible with the Cstd library. Avoid specifying
13312 # it if it's in CXXFLAGS. Ignore libCrun as
13313 # -library=stlport4 depends on it.
13314 case " $CXX $CXXFLAGS " in
13315 *" -library=stlport4 "*)
13316 solaris_use_stlport4=yes
13317 ;;
13318 esac
13319
13320 if test "$solaris_use_stlport4" != yes; then
13321 postdeps_CXX='-library=Cstd -library=Crun'
13322 fi
13323 ;;
13324 esac
13325 ;;
13326
13327 solaris*)
13328 case $cc_basename in
13329 CC*)
13330 # The more standards-conforming stlport4 library is
13331 # incompatible with the Cstd library. Avoid specifying
13332 # it if it's in CXXFLAGS. Ignore libCrun as
13333 # -library=stlport4 depends on it.
13334 case " $CXX $CXXFLAGS " in
13335 *" -library=stlport4 "*)
13336 solaris_use_stlport4=yes
13337 ;;
13338 esac
13339
13340 # Adding this requires a known-good setup of shared libraries for
13341 # Sun compiler versions before 5.6, else PIC objects from an old
13342 # archive will be linked into the output, leading to subtle bugs.
13343 if test "$solaris_use_stlport4" != yes; then
13344 postdeps_CXX='-library=Cstd -library=Crun'
13345 fi
13346 ;;
13347 esac
13348 ;;
13349 esac
13350
13351
13352 case " $postdeps_CXX " in
13353 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13354 esac
13355 compiler_lib_search_dirs_CXX=
13356 if test -n "${compiler_lib_search_path_CXX}"; then
13357 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13358 fi
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390 lt_prog_compiler_wl_CXX=
13391 lt_prog_compiler_pic_CXX=
13392 lt_prog_compiler_static_CXX=
13393
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13395 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13396
13397 # C++ specific cases for pic, static, wl, etc.
13398 if test "$GXX" = yes; then
13399 lt_prog_compiler_wl_CXX='-Wl,'
13400 lt_prog_compiler_static_CXX='-static'
13401
13402 case $host_os in
13403 aix*)
13404 # All AIX code is PIC.
13405 if test "$host_cpu" = ia64; then
13406 # AIX 5 now supports IA64 processor
13407 lt_prog_compiler_static_CXX='-Bstatic'
13408 fi
13409 ;;
13410
13411 amigaos*)
13412 case $host_cpu in
13413 powerpc)
13414 # see comment about AmigaOS4 .so support
13415 lt_prog_compiler_pic_CXX='-fPIC'
13416 ;;
13417 m68k)
13418 # FIXME: we need at least 68020 code to build shared libraries, but
13419 # adding the `-m68020' flag to GCC prevents building anything better,
13420 # like `-m68040'.
13421 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13422 ;;
13423 esac
13424 ;;
13425
13426 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13427 # PIC is the default for these OSes.
13428 ;;
13429 mingw* | cygwin* | os2* | pw32* | cegcc*)
13430 # This hack is so that the source file can tell whether it is being
13431 # built for inclusion in a dll (and should export symbols for example).
13432 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13433 # (--disable-auto-import) libraries
13434 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13435 ;;
13436 darwin* | rhapsody*)
13437 # PIC is the default on this platform
13438 # Common symbols not allowed in MH_DYLIB files
13439 lt_prog_compiler_pic_CXX='-fno-common'
13440 ;;
13441 *djgpp*)
13442 # DJGPP does not support shared libraries at all
13443 lt_prog_compiler_pic_CXX=
13444 ;;
13445 haiku*)
13446 # PIC is the default for Haiku.
13447 # The "-static" flag exists, but is broken.
13448 lt_prog_compiler_static_CXX=
13449 ;;
13450 interix[3-9]*)
13451 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13452 # Instead, we relocate shared libraries at runtime.
13453 ;;
13454 sysv4*MP*)
13455 if test -d /usr/nec; then
13456 lt_prog_compiler_pic_CXX=-Kconform_pic
13457 fi
13458 ;;
13459 hpux*)
13460 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13461 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13462 # sets the default TLS model and affects inlining.
13463 case $host_cpu in
13464 hppa*64*)
13465 ;;
13466 *)
13467 lt_prog_compiler_pic_CXX='-fPIC'
13468 ;;
13469 esac
13470 ;;
13471 *qnx* | *nto*)
13472 # QNX uses GNU C++, but need to define -shared option too, otherwise
13473 # it will coredump.
13474 lt_prog_compiler_pic_CXX='-fPIC -shared'
13475 ;;
13476 *)
13477 lt_prog_compiler_pic_CXX='-fPIC'
13478 ;;
13479 esac
13480 else
13481 case $host_os in
13482 aix[4-9]*)
13483 # All AIX code is PIC.
13484 if test "$host_cpu" = ia64; then
13485 # AIX 5 now supports IA64 processor
13486 lt_prog_compiler_static_CXX='-Bstatic'
13487 else
13488 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13489 fi
13490 ;;
13491 chorus*)
13492 case $cc_basename in
13493 cxch68*)
13494 # Green Hills C++ Compiler
13495 # _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"
13496 ;;
13497 esac
13498 ;;
13499 dgux*)
13500 case $cc_basename in
13501 ec++*)
13502 lt_prog_compiler_pic_CXX='-KPIC'
13503 ;;
13504 ghcx*)
13505 # Green Hills C++ Compiler
13506 lt_prog_compiler_pic_CXX='-pic'
13507 ;;
13508 *)
13509 ;;
13510 esac
13511 ;;
13512 freebsd* | dragonfly*)
13513 # FreeBSD uses GNU C++
13514 ;;
13515 hpux9* | hpux10* | hpux11*)
13516 case $cc_basename in
13517 CC*)
13518 lt_prog_compiler_wl_CXX='-Wl,'
13519 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13520 if test "$host_cpu" != ia64; then
13521 lt_prog_compiler_pic_CXX='+Z'
13522 fi
13523 ;;
13524 aCC*)
13525 lt_prog_compiler_wl_CXX='-Wl,'
13526 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13527 case $host_cpu in
13528 hppa*64*|ia64*)
13529 # +Z the default
13530 ;;
13531 *)
13532 lt_prog_compiler_pic_CXX='+Z'
13533 ;;
13534 esac
13535 ;;
13536 *)
13537 ;;
13538 esac
13539 ;;
13540 interix*)
13541 # This is c89, which is MS Visual C++ (no shared libs)
13542 # Anyone wants to do a port?
13543 ;;
13544 irix5* | irix6* | nonstopux*)
13545 case $cc_basename in
13546 CC*)
13547 lt_prog_compiler_wl_CXX='-Wl,'
13548 lt_prog_compiler_static_CXX='-non_shared'
13549 # CC pic flag -KPIC is the default.
13550 ;;
13551 *)
13552 ;;
13553 esac
13554 ;;
13555 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13556 case $cc_basename in
13557 KCC*)
13558 # KAI C++ Compiler
13559 lt_prog_compiler_wl_CXX='--backend -Wl,'
13560 lt_prog_compiler_pic_CXX='-fPIC'
13561 ;;
13562 ecpc* )
13563 # old Intel C++ for x86_64 which still supported -KPIC.
13564 lt_prog_compiler_wl_CXX='-Wl,'
13565 lt_prog_compiler_pic_CXX='-KPIC'
13566 lt_prog_compiler_static_CXX='-static'
13567 ;;
13568 icpc* )
13569 # Intel C++, used to be incompatible with GCC.
13570 # ICC 10 doesn't accept -KPIC any more.
13571 lt_prog_compiler_wl_CXX='-Wl,'
13572 lt_prog_compiler_pic_CXX='-fPIC'
13573 lt_prog_compiler_static_CXX='-static'
13574 ;;
13575 pgCC* | pgcpp*)
13576 # Portland Group C++ compiler
13577 lt_prog_compiler_wl_CXX='-Wl,'
13578 lt_prog_compiler_pic_CXX='-fpic'
13579 lt_prog_compiler_static_CXX='-Bstatic'
13580 ;;
13581 cxx*)
13582 # Compaq C++
13583 # Make sure the PIC flag is empty. It appears that all Alpha
13584 # Linux and Compaq Tru64 Unix objects are PIC.
13585 lt_prog_compiler_pic_CXX=
13586 lt_prog_compiler_static_CXX='-non_shared'
13587 ;;
13588 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13589 # IBM XL 8.0, 9.0 on PPC and BlueGene
13590 lt_prog_compiler_wl_CXX='-Wl,'
13591 lt_prog_compiler_pic_CXX='-qpic'
13592 lt_prog_compiler_static_CXX='-qstaticlink'
13593 ;;
13594 *)
13595 case `$CC -V 2>&1 | sed 5q` in
13596 *Sun\ C*)
13597 # Sun C++ 5.9
13598 lt_prog_compiler_pic_CXX='-KPIC'
13599 lt_prog_compiler_static_CXX='-Bstatic'
13600 lt_prog_compiler_wl_CXX='-Qoption ld '
13601 ;;
13602 esac
13603 ;;
13604 esac
13605 ;;
13606 lynxos*)
13607 ;;
13608 m88k*)
13609 ;;
13610 mvs*)
13611 case $cc_basename in
13612 cxx*)
13613 lt_prog_compiler_pic_CXX='-W c,exportall'
13614 ;;
13615 *)
13616 ;;
13617 esac
13618 ;;
13619 netbsd*)
13620 ;;
13621 *qnx* | *nto*)
13622 # QNX uses GNU C++, but need to define -shared option too, otherwise
13623 # it will coredump.
13624 lt_prog_compiler_pic_CXX='-fPIC -shared'
13625 ;;
13626 osf3* | osf4* | osf5*)
13627 case $cc_basename in
13628 KCC*)
13629 lt_prog_compiler_wl_CXX='--backend -Wl,'
13630 ;;
13631 RCC*)
13632 # Rational C++ 2.4.1
13633 lt_prog_compiler_pic_CXX='-pic'
13634 ;;
13635 cxx*)
13636 # Digital/Compaq C++
13637 lt_prog_compiler_wl_CXX='-Wl,'
13638 # Make sure the PIC flag is empty. It appears that all Alpha
13639 # Linux and Compaq Tru64 Unix objects are PIC.
13640 lt_prog_compiler_pic_CXX=
13641 lt_prog_compiler_static_CXX='-non_shared'
13642 ;;
13643 *)
13644 ;;
13645 esac
13646 ;;
13647 psos*)
13648 ;;
13649 solaris*)
13650 case $cc_basename in
13651 CC*)
13652 # Sun C++ 4.2, 5.x and Centerline C++
13653 lt_prog_compiler_pic_CXX='-KPIC'
13654 lt_prog_compiler_static_CXX='-Bstatic'
13655 lt_prog_compiler_wl_CXX='-Qoption ld '
13656 ;;
13657 gcx*)
13658 # Green Hills C++ Compiler
13659 lt_prog_compiler_pic_CXX='-PIC'
13660 ;;
13661 *)
13662 ;;
13663 esac
13664 ;;
13665 sunos4*)
13666 case $cc_basename in
13667 CC*)
13668 # Sun C++ 4.x
13669 lt_prog_compiler_pic_CXX='-pic'
13670 lt_prog_compiler_static_CXX='-Bstatic'
13671 ;;
13672 lcc*)
13673 # Lucid
13674 lt_prog_compiler_pic_CXX='-pic'
13675 ;;
13676 *)
13677 ;;
13678 esac
13679 ;;
13680 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13681 case $cc_basename in
13682 CC*)
13683 lt_prog_compiler_wl_CXX='-Wl,'
13684 lt_prog_compiler_pic_CXX='-KPIC'
13685 lt_prog_compiler_static_CXX='-Bstatic'
13686 ;;
13687 esac
13688 ;;
13689 tandem*)
13690 case $cc_basename in
13691 NCC*)
13692 # NonStop-UX NCC 3.20
13693 lt_prog_compiler_pic_CXX='-KPIC'
13694 ;;
13695 *)
13696 ;;
13697 esac
13698 ;;
13699 vxworks*)
13700 ;;
13701 *)
13702 lt_prog_compiler_can_build_shared_CXX=no
13703 ;;
13704 esac
13705 fi
13706
13707 case $host_os in
13708 # For platforms which do not support PIC, -DPIC is meaningless:
13709 *djgpp*)
13710 lt_prog_compiler_pic_CXX=
13711 ;;
13712 *)
13713 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13714 ;;
13715 esac
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13717 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13718
13719
13720
13721 #
13722 # Check to make sure the PIC flag actually works.
13723 #
13724 if test -n "$lt_prog_compiler_pic_CXX"; then
13725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13726 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13727 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13728 $as_echo_n "(cached) " >&6
13729 else
13730 lt_cv_prog_compiler_pic_works_CXX=no
13731 ac_outfile=conftest.$ac_objext
13732 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13733 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13734 # Insert the option either (1) after the last *FLAGS variable, or
13735 # (2) before a word containing "conftest.", or (3) at the end.
13736 # Note that $ac_compile itself does not contain backslashes and begins
13737 # with a dollar sign (not a hyphen), so the echo should work correctly.
13738 # The option is referenced via a variable to avoid confusing sed.
13739 lt_compile=`echo "$ac_compile" | $SED \
13740 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13741 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13742 -e 's:$: $lt_compiler_flag:'`
13743 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13744 (eval "$lt_compile" 2>conftest.err)
13745 ac_status=$?
13746 cat conftest.err >&5
13747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13748 if (exit $ac_status) && test -s "$ac_outfile"; then
13749 # The compiler can only warn and ignore the option if not recognized
13750 # So say no if there are warnings other than the usual output.
13751 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13752 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13753 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13754 lt_cv_prog_compiler_pic_works_CXX=yes
13755 fi
13756 fi
13757 $RM conftest*
13758
13759 fi
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13761 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13762
13763 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13764 case $lt_prog_compiler_pic_CXX in
13765 "" | " "*) ;;
13766 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13767 esac
13768 else
13769 lt_prog_compiler_pic_CXX=
13770 lt_prog_compiler_can_build_shared_CXX=no
13771 fi
13772
13773 fi
13774
13775
13776
13777 #
13778 # Check to make sure the static flag actually works.
13779 #
13780 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13782 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13783 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13784 $as_echo_n "(cached) " >&6
13785 else
13786 lt_cv_prog_compiler_static_works_CXX=no
13787 save_LDFLAGS="$LDFLAGS"
13788 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13789 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13790 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13791 # The linker can only warn and ignore the option if not recognized
13792 # So say no if there are warnings
13793 if test -s conftest.err; then
13794 # Append any errors to the config.log.
13795 cat conftest.err 1>&5
13796 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13797 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13798 if diff conftest.exp conftest.er2 >/dev/null; then
13799 lt_cv_prog_compiler_static_works_CXX=yes
13800 fi
13801 else
13802 lt_cv_prog_compiler_static_works_CXX=yes
13803 fi
13804 fi
13805 $RM -r conftest*
13806 LDFLAGS="$save_LDFLAGS"
13807
13808 fi
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13810 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13811
13812 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13813 :
13814 else
13815 lt_prog_compiler_static_CXX=
13816 fi
13817
13818
13819
13820
13821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13822 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13823 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13824 $as_echo_n "(cached) " >&6
13825 else
13826 lt_cv_prog_compiler_c_o_CXX=no
13827 $RM -r conftest 2>/dev/null
13828 mkdir conftest
13829 cd conftest
13830 mkdir out
13831 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13832
13833 lt_compiler_flag="-o out/conftest2.$ac_objext"
13834 # Insert the option either (1) after the last *FLAGS variable, or
13835 # (2) before a word containing "conftest.", or (3) at the end.
13836 # Note that $ac_compile itself does not contain backslashes and begins
13837 # with a dollar sign (not a hyphen), so the echo should work correctly.
13838 lt_compile=`echo "$ac_compile" | $SED \
13839 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13840 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13841 -e 's:$: $lt_compiler_flag:'`
13842 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13843 (eval "$lt_compile" 2>out/conftest.err)
13844 ac_status=$?
13845 cat out/conftest.err >&5
13846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13847 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13848 then
13849 # The compiler can only warn and ignore the option if not recognized
13850 # So say no if there are warnings
13851 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13852 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13853 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13854 lt_cv_prog_compiler_c_o_CXX=yes
13855 fi
13856 fi
13857 chmod u+w . 2>&5
13858 $RM conftest*
13859 # SGI C++ compiler will create directory out/ii_files/ for
13860 # template instantiation
13861 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13862 $RM out/* && rmdir out
13863 cd ..
13864 $RM -r conftest
13865 $RM conftest*
13866
13867 fi
13868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13869 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13870
13871
13872
13873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13874 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13875 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13876 $as_echo_n "(cached) " >&6
13877 else
13878 lt_cv_prog_compiler_c_o_CXX=no
13879 $RM -r conftest 2>/dev/null
13880 mkdir conftest
13881 cd conftest
13882 mkdir out
13883 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13884
13885 lt_compiler_flag="-o out/conftest2.$ac_objext"
13886 # Insert the option either (1) after the last *FLAGS variable, or
13887 # (2) before a word containing "conftest.", or (3) at the end.
13888 # Note that $ac_compile itself does not contain backslashes and begins
13889 # with a dollar sign (not a hyphen), so the echo should work correctly.
13890 lt_compile=`echo "$ac_compile" | $SED \
13891 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13892 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13893 -e 's:$: $lt_compiler_flag:'`
13894 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13895 (eval "$lt_compile" 2>out/conftest.err)
13896 ac_status=$?
13897 cat out/conftest.err >&5
13898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13899 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13900 then
13901 # The compiler can only warn and ignore the option if not recognized
13902 # So say no if there are warnings
13903 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13904 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13905 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13906 lt_cv_prog_compiler_c_o_CXX=yes
13907 fi
13908 fi
13909 chmod u+w . 2>&5
13910 $RM conftest*
13911 # SGI C++ compiler will create directory out/ii_files/ for
13912 # template instantiation
13913 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13914 $RM out/* && rmdir out
13915 cd ..
13916 $RM -r conftest
13917 $RM conftest*
13918
13919 fi
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13921 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13922
13923
13924
13925
13926 hard_links="nottested"
13927 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13928 # do not overwrite the value of need_locks provided by the user
13929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13930 $as_echo_n "checking if we can lock with hard links... " >&6; }
13931 hard_links=yes
13932 $RM conftest*
13933 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13934 touch conftest.a
13935 ln conftest.a conftest.b 2>&5 || hard_links=no
13936 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13938 $as_echo "$hard_links" >&6; }
13939 if test "$hard_links" = no; then
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13941 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13942 need_locks=warn
13943 fi
13944 else
13945 need_locks=no
13946 fi
13947
13948
13949
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13951 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13952
13953 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13954 case $host_os in
13955 aix[4-9]*)
13956 # If we're using GNU nm, then we don't want the "-C" option.
13957 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13958 # Also, AIX nm treats weak defined symbols like other global defined
13959 # symbols, whereas GNU nm marks them as "W".
13960 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13961 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'
13962 else
13963 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'
13964 fi
13965 ;;
13966 pw32*)
13967 export_symbols_cmds_CXX="$ltdll_cmds"
13968 ;;
13969 cygwin* | mingw* | cegcc*)
13970 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'
13971 ;;
13972 *)
13973 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13974 ;;
13975 esac
13976 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13977
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13979 $as_echo "$ld_shlibs_CXX" >&6; }
13980 test "$ld_shlibs_CXX" = no && can_build_shared=no
13981
13982 with_gnu_ld_CXX=$with_gnu_ld
13983
13984
13985
13986
13987
13988
13989 #
13990 # Do we need to explicitly link libc?
13991 #
13992 case "x$archive_cmds_need_lc_CXX" in
13993 x|xyes)
13994 # Assume -lc should be added
13995 archive_cmds_need_lc_CXX=yes
13996
13997 if test "$enable_shared" = yes && test "$GCC" = yes; then
13998 case $archive_cmds_CXX in
13999 *'~'*)
14000 # FIXME: we may have to deal with multi-command sequences.
14001 ;;
14002 '$CC '*)
14003 # Test whether the compiler implicitly links with -lc since on some
14004 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14005 # to ld, don't add -lc before -lgcc.
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14007 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14008 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14009 $as_echo_n "(cached) " >&6
14010 else
14011 $RM conftest*
14012 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14013
14014 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14015 (eval $ac_compile) 2>&5
14016 ac_status=$?
14017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14018 test $ac_status = 0; } 2>conftest.err; then
14019 soname=conftest
14020 lib=conftest
14021 libobjs=conftest.$ac_objext
14022 deplibs=
14023 wl=$lt_prog_compiler_wl_CXX
14024 pic_flag=$lt_prog_compiler_pic_CXX
14025 compiler_flags=-v
14026 linker_flags=-v
14027 verstring=
14028 output_objdir=.
14029 libname=conftest
14030 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14031 allow_undefined_flag_CXX=
14032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14033 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14034 ac_status=$?
14035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14036 test $ac_status = 0; }
14037 then
14038 lt_cv_archive_cmds_need_lc_CXX=no
14039 else
14040 lt_cv_archive_cmds_need_lc_CXX=yes
14041 fi
14042 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14043 else
14044 cat conftest.err 1>&5
14045 fi
14046 $RM conftest*
14047
14048 fi
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14050 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14051 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14052 ;;
14053 esac
14054 fi
14055 ;;
14056 esac
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14122 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14123
14124 library_names_spec=
14125 libname_spec='lib$name'
14126 soname_spec=
14127 shrext_cmds=".so"
14128 postinstall_cmds=
14129 postuninstall_cmds=
14130 finish_cmds=
14131 finish_eval=
14132 shlibpath_var=
14133 shlibpath_overrides_runpath=unknown
14134 version_type=none
14135 dynamic_linker="$host_os ld.so"
14136 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14137 need_lib_prefix=unknown
14138 hardcode_into_libs=no
14139
14140 # when you set need_version to no, make sure it does not cause -set_version
14141 # flags to be left without arguments
14142 need_version=unknown
14143
14144 case $host_os in
14145 aix3*)
14146 version_type=linux
14147 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14148 shlibpath_var=LIBPATH
14149
14150 # AIX 3 has no versioning support, so we append a major version to the name.
14151 soname_spec='${libname}${release}${shared_ext}$major'
14152 ;;
14153
14154 aix[4-9]*)
14155 version_type=linux
14156 need_lib_prefix=no
14157 need_version=no
14158 hardcode_into_libs=yes
14159 if test "$host_cpu" = ia64; then
14160 # AIX 5 supports IA64
14161 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14162 shlibpath_var=LD_LIBRARY_PATH
14163 else
14164 # With GCC up to 2.95.x, collect2 would create an import file
14165 # for dependence libraries. The import file would start with
14166 # the line `#! .'. This would cause the generated library to
14167 # depend on `.', always an invalid library. This was fixed in
14168 # development snapshots of GCC prior to 3.0.
14169 case $host_os in
14170 aix4 | aix4.[01] | aix4.[01].*)
14171 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14172 echo ' yes '
14173 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14174 :
14175 else
14176 can_build_shared=no
14177 fi
14178 ;;
14179 esac
14180 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14181 # soname into executable. Probably we can add versioning support to
14182 # collect2, so additional links can be useful in future.
14183 if test "$aix_use_runtimelinking" = yes; then
14184 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14185 # instead of lib<name>.a to let people know that these are not
14186 # typical AIX shared libraries.
14187 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14188 else
14189 # We preserve .a as extension for shared libraries through AIX4.2
14190 # and later when we are not doing run time linking.
14191 library_names_spec='${libname}${release}.a $libname.a'
14192 soname_spec='${libname}${release}${shared_ext}$major'
14193 fi
14194 shlibpath_var=LIBPATH
14195 fi
14196 ;;
14197
14198 amigaos*)
14199 case $host_cpu in
14200 powerpc)
14201 # Since July 2007 AmigaOS4 officially supports .so libraries.
14202 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14204 ;;
14205 m68k)
14206 library_names_spec='$libname.ixlibrary $libname.a'
14207 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14208 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'
14209 ;;
14210 esac
14211 ;;
14212
14213 beos*)
14214 library_names_spec='${libname}${shared_ext}'
14215 dynamic_linker="$host_os ld.so"
14216 shlibpath_var=LIBRARY_PATH
14217 ;;
14218
14219 bsdi[45]*)
14220 version_type=linux
14221 need_version=no
14222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14223 soname_spec='${libname}${release}${shared_ext}$major'
14224 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14225 shlibpath_var=LD_LIBRARY_PATH
14226 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14227 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14228 # the default ld.so.conf also contains /usr/contrib/lib and
14229 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14230 # libtool to hard-code these into programs
14231 ;;
14232
14233 cygwin* | mingw* | pw32* | cegcc*)
14234 version_type=windows
14235 shrext_cmds=".dll"
14236 need_version=no
14237 need_lib_prefix=no
14238
14239 case $GCC,$host_os in
14240 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14241 library_names_spec='$libname.dll.a'
14242 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14243 postinstall_cmds='base_file=`basename \${file}`~
14244 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14245 dldir=$destdir/`dirname \$dlpath`~
14246 test -d \$dldir || mkdir -p \$dldir~
14247 $install_prog $dir/$dlname \$dldir/$dlname~
14248 chmod a+x \$dldir/$dlname~
14249 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14250 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14251 fi'
14252 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14253 dlpath=$dir/\$dldll~
14254 $RM \$dlpath'
14255 shlibpath_overrides_runpath=yes
14256
14257 case $host_os in
14258 cygwin*)
14259 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14260 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14261
14262 ;;
14263 mingw* | cegcc*)
14264 # MinGW DLLs use traditional 'lib' prefix
14265 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14266 ;;
14267 pw32*)
14268 # pw32 DLLs use 'pw' prefix rather than 'lib'
14269 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14270 ;;
14271 esac
14272 ;;
14273
14274 *)
14275 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14276 ;;
14277 esac
14278 dynamic_linker='Win32 ld.exe'
14279 # FIXME: first we should search . and the directory the executable is in
14280 shlibpath_var=PATH
14281 ;;
14282
14283 darwin* | rhapsody*)
14284 dynamic_linker="$host_os dyld"
14285 version_type=darwin
14286 need_lib_prefix=no
14287 need_version=no
14288 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14289 soname_spec='${libname}${release}${major}$shared_ext'
14290 shlibpath_overrides_runpath=yes
14291 shlibpath_var=DYLD_LIBRARY_PATH
14292 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14293
14294 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14295 ;;
14296
14297 dgux*)
14298 version_type=linux
14299 need_lib_prefix=no
14300 need_version=no
14301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14302 soname_spec='${libname}${release}${shared_ext}$major'
14303 shlibpath_var=LD_LIBRARY_PATH
14304 ;;
14305
14306 freebsd* | dragonfly*)
14307 # DragonFly does not have aout. When/if they implement a new
14308 # versioning mechanism, adjust this.
14309 if test -x /usr/bin/objformat; then
14310 objformat=`/usr/bin/objformat`
14311 else
14312 case $host_os in
14313 freebsd[23].*) objformat=aout ;;
14314 *) objformat=elf ;;
14315 esac
14316 fi
14317 version_type=freebsd-$objformat
14318 case $version_type in
14319 freebsd-elf*)
14320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14321 need_version=no
14322 need_lib_prefix=no
14323 ;;
14324 freebsd-*)
14325 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14326 need_version=yes
14327 ;;
14328 esac
14329 shlibpath_var=LD_LIBRARY_PATH
14330 case $host_os in
14331 freebsd2.*)
14332 shlibpath_overrides_runpath=yes
14333 ;;
14334 freebsd3.[01]* | freebsdelf3.[01]*)
14335 shlibpath_overrides_runpath=yes
14336 hardcode_into_libs=yes
14337 ;;
14338 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14339 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14340 shlibpath_overrides_runpath=no
14341 hardcode_into_libs=yes
14342 ;;
14343 *) # from 4.6 on, and DragonFly
14344 shlibpath_overrides_runpath=yes
14345 hardcode_into_libs=yes
14346 ;;
14347 esac
14348 ;;
14349
14350 gnu*)
14351 version_type=linux
14352 need_lib_prefix=no
14353 need_version=no
14354 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14355 soname_spec='${libname}${release}${shared_ext}$major'
14356 shlibpath_var=LD_LIBRARY_PATH
14357 hardcode_into_libs=yes
14358 ;;
14359
14360 haiku*)
14361 version_type=linux
14362 need_lib_prefix=no
14363 need_version=no
14364 dynamic_linker="$host_os runtime_loader"
14365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14366 soname_spec='${libname}${release}${shared_ext}$major'
14367 shlibpath_var=LIBRARY_PATH
14368 shlibpath_overrides_runpath=yes
14369 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14370 hardcode_into_libs=yes
14371 ;;
14372
14373 hpux9* | hpux10* | hpux11*)
14374 # Give a soname corresponding to the major version so that dld.sl refuses to
14375 # link against other versions.
14376 version_type=sunos
14377 need_lib_prefix=no
14378 need_version=no
14379 case $host_cpu in
14380 ia64*)
14381 shrext_cmds='.so'
14382 hardcode_into_libs=yes
14383 dynamic_linker="$host_os dld.so"
14384 shlibpath_var=LD_LIBRARY_PATH
14385 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14387 soname_spec='${libname}${release}${shared_ext}$major'
14388 if test "X$HPUX_IA64_MODE" = X32; then
14389 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14390 else
14391 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14392 fi
14393 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14394 ;;
14395 hppa*64*)
14396 shrext_cmds='.sl'
14397 hardcode_into_libs=yes
14398 dynamic_linker="$host_os dld.sl"
14399 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14400 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14402 soname_spec='${libname}${release}${shared_ext}$major'
14403 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14404 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14405 ;;
14406 *)
14407 shrext_cmds='.sl'
14408 dynamic_linker="$host_os dld.sl"
14409 shlibpath_var=SHLIB_PATH
14410 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14412 soname_spec='${libname}${release}${shared_ext}$major'
14413 ;;
14414 esac
14415 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14416 postinstall_cmds='chmod 555 $lib'
14417 # or fails outright, so override atomically:
14418 install_override_mode=555
14419 ;;
14420
14421 interix[3-9]*)
14422 version_type=linux
14423 need_lib_prefix=no
14424 need_version=no
14425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14426 soname_spec='${libname}${release}${shared_ext}$major'
14427 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14428 shlibpath_var=LD_LIBRARY_PATH
14429 shlibpath_overrides_runpath=no
14430 hardcode_into_libs=yes
14431 ;;
14432
14433 irix5* | irix6* | nonstopux*)
14434 case $host_os in
14435 nonstopux*) version_type=nonstopux ;;
14436 *)
14437 if test "$lt_cv_prog_gnu_ld" = yes; then
14438 version_type=linux
14439 else
14440 version_type=irix
14441 fi ;;
14442 esac
14443 need_lib_prefix=no
14444 need_version=no
14445 soname_spec='${libname}${release}${shared_ext}$major'
14446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14447 case $host_os in
14448 irix5* | nonstopux*)
14449 libsuff= shlibsuff=
14450 ;;
14451 *)
14452 case $LD in # libtool.m4 will add one of these switches to LD
14453 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14454 libsuff= shlibsuff= libmagic=32-bit;;
14455 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14456 libsuff=32 shlibsuff=N32 libmagic=N32;;
14457 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14458 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14459 *) libsuff= shlibsuff= libmagic=never-match;;
14460 esac
14461 ;;
14462 esac
14463 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14464 shlibpath_overrides_runpath=no
14465 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14466 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14467 hardcode_into_libs=yes
14468 ;;
14469
14470 # No shared lib support for Linux oldld, aout, or coff.
14471 linux*oldld* | linux*aout* | linux*coff*)
14472 dynamic_linker=no
14473 ;;
14474
14475 # This must be Linux ELF.
14476 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14477 version_type=linux
14478 need_lib_prefix=no
14479 need_version=no
14480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14481 soname_spec='${libname}${release}${shared_ext}$major'
14482 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14483 shlibpath_var=LD_LIBRARY_PATH
14484 shlibpath_overrides_runpath=no
14485
14486 # Some binutils ld are patched to set DT_RUNPATH
14487 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14488 $as_echo_n "(cached) " >&6
14489 else
14490 lt_cv_shlibpath_overrides_runpath=no
14491 save_LDFLAGS=$LDFLAGS
14492 save_libdir=$libdir
14493 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14494 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14495 if test x$gcc_no_link = xyes; then
14496 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14497 fi
14498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14499 /* end confdefs.h. */
14500
14501 int
14502 main ()
14503 {
14504
14505 ;
14506 return 0;
14507 }
14508 _ACEOF
14509 if ac_fn_cxx_try_link "$LINENO"; then :
14510 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14511 lt_cv_shlibpath_overrides_runpath=yes
14512 fi
14513 fi
14514 rm -f core conftest.err conftest.$ac_objext \
14515 conftest$ac_exeext conftest.$ac_ext
14516 LDFLAGS=$save_LDFLAGS
14517 libdir=$save_libdir
14518
14519 fi
14520
14521 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14522
14523 # This implies no fast_install, which is unacceptable.
14524 # Some rework will be needed to allow for fast_install
14525 # before this can be enabled.
14526 hardcode_into_libs=yes
14527
14528 # Append ld.so.conf contents to the search path
14529 if test -f /etc/ld.so.conf; then
14530 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' ' '`
14531 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14532 fi
14533
14534 # We used to test for /lib/ld.so.1 and disable shared libraries on
14535 # powerpc, because MkLinux only supported shared libraries with the
14536 # GNU dynamic linker. Since this was broken with cross compilers,
14537 # most powerpc-linux boxes support dynamic linking these days and
14538 # people can always --disable-shared, the test was removed, and we
14539 # assume the GNU/Linux dynamic linker is in use.
14540 dynamic_linker='GNU/Linux ld.so'
14541 ;;
14542
14543 netbsd*)
14544 version_type=sunos
14545 need_lib_prefix=no
14546 need_version=no
14547 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14549 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14550 dynamic_linker='NetBSD (a.out) ld.so'
14551 else
14552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14553 soname_spec='${libname}${release}${shared_ext}$major'
14554 dynamic_linker='NetBSD ld.elf_so'
14555 fi
14556 shlibpath_var=LD_LIBRARY_PATH
14557 shlibpath_overrides_runpath=yes
14558 hardcode_into_libs=yes
14559 ;;
14560
14561 newsos6)
14562 version_type=linux
14563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14564 shlibpath_var=LD_LIBRARY_PATH
14565 shlibpath_overrides_runpath=yes
14566 ;;
14567
14568 *nto* | *qnx*)
14569 version_type=qnx
14570 need_lib_prefix=no
14571 need_version=no
14572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14573 soname_spec='${libname}${release}${shared_ext}$major'
14574 shlibpath_var=LD_LIBRARY_PATH
14575 shlibpath_overrides_runpath=no
14576 hardcode_into_libs=yes
14577 dynamic_linker='ldqnx.so'
14578 ;;
14579
14580 openbsd*)
14581 version_type=sunos
14582 sys_lib_dlsearch_path_spec="/usr/lib"
14583 need_lib_prefix=no
14584 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14585 case $host_os in
14586 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14587 *) need_version=no ;;
14588 esac
14589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14590 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14591 shlibpath_var=LD_LIBRARY_PATH
14592 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14593 case $host_os in
14594 openbsd2.[89] | openbsd2.[89].*)
14595 shlibpath_overrides_runpath=no
14596 ;;
14597 *)
14598 shlibpath_overrides_runpath=yes
14599 ;;
14600 esac
14601 else
14602 shlibpath_overrides_runpath=yes
14603 fi
14604 ;;
14605
14606 os2*)
14607 libname_spec='$name'
14608 shrext_cmds=".dll"
14609 need_lib_prefix=no
14610 library_names_spec='$libname${shared_ext} $libname.a'
14611 dynamic_linker='OS/2 ld.exe'
14612 shlibpath_var=LIBPATH
14613 ;;
14614
14615 osf3* | osf4* | osf5*)
14616 version_type=osf
14617 need_lib_prefix=no
14618 need_version=no
14619 soname_spec='${libname}${release}${shared_ext}$major'
14620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14621 shlibpath_var=LD_LIBRARY_PATH
14622 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14623 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14624 ;;
14625
14626 rdos*)
14627 dynamic_linker=no
14628 ;;
14629
14630 solaris*)
14631 version_type=linux
14632 need_lib_prefix=no
14633 need_version=no
14634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14635 soname_spec='${libname}${release}${shared_ext}$major'
14636 shlibpath_var=LD_LIBRARY_PATH
14637 shlibpath_overrides_runpath=yes
14638 hardcode_into_libs=yes
14639 # ldd complains unless libraries are executable
14640 postinstall_cmds='chmod +x $lib'
14641 ;;
14642
14643 sunos4*)
14644 version_type=sunos
14645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14646 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14647 shlibpath_var=LD_LIBRARY_PATH
14648 shlibpath_overrides_runpath=yes
14649 if test "$with_gnu_ld" = yes; then
14650 need_lib_prefix=no
14651 fi
14652 need_version=yes
14653 ;;
14654
14655 sysv4 | sysv4.3*)
14656 version_type=linux
14657 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14658 soname_spec='${libname}${release}${shared_ext}$major'
14659 shlibpath_var=LD_LIBRARY_PATH
14660 case $host_vendor in
14661 sni)
14662 shlibpath_overrides_runpath=no
14663 need_lib_prefix=no
14664 runpath_var=LD_RUN_PATH
14665 ;;
14666 siemens)
14667 need_lib_prefix=no
14668 ;;
14669 motorola)
14670 need_lib_prefix=no
14671 need_version=no
14672 shlibpath_overrides_runpath=no
14673 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14674 ;;
14675 esac
14676 ;;
14677
14678 sysv4*MP*)
14679 if test -d /usr/nec ;then
14680 version_type=linux
14681 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14682 soname_spec='$libname${shared_ext}.$major'
14683 shlibpath_var=LD_LIBRARY_PATH
14684 fi
14685 ;;
14686
14687 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14688 version_type=freebsd-elf
14689 need_lib_prefix=no
14690 need_version=no
14691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14692 soname_spec='${libname}${release}${shared_ext}$major'
14693 shlibpath_var=LD_LIBRARY_PATH
14694 shlibpath_overrides_runpath=yes
14695 hardcode_into_libs=yes
14696 if test "$with_gnu_ld" = yes; then
14697 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14698 else
14699 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14700 case $host_os in
14701 sco3.2v5*)
14702 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14703 ;;
14704 esac
14705 fi
14706 sys_lib_dlsearch_path_spec='/usr/lib'
14707 ;;
14708
14709 tpf*)
14710 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14711 version_type=linux
14712 need_lib_prefix=no
14713 need_version=no
14714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14715 shlibpath_var=LD_LIBRARY_PATH
14716 shlibpath_overrides_runpath=no
14717 hardcode_into_libs=yes
14718 ;;
14719
14720 uts4*)
14721 version_type=linux
14722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14723 soname_spec='${libname}${release}${shared_ext}$major'
14724 shlibpath_var=LD_LIBRARY_PATH
14725 ;;
14726
14727 *)
14728 dynamic_linker=no
14729 ;;
14730 esac
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14732 $as_echo "$dynamic_linker" >&6; }
14733 test "$dynamic_linker" = no && can_build_shared=no
14734
14735 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14736 if test "$GCC" = yes; then
14737 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14738 fi
14739
14740 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14741 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14742 fi
14743 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14744 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14745 fi
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14785 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14786 hardcode_action_CXX=
14787 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14788 test -n "$runpath_var_CXX" ||
14789 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14790
14791 # We can hardcode non-existent directories.
14792 if test "$hardcode_direct_CXX" != no &&
14793 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14794 # have to relink, otherwise we might link with an installed library
14795 # when we should be linking with a yet-to-be-installed one
14796 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14797 test "$hardcode_minus_L_CXX" != no; then
14798 # Linking always hardcodes the temporary library directory.
14799 hardcode_action_CXX=relink
14800 else
14801 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14802 hardcode_action_CXX=immediate
14803 fi
14804 else
14805 # We cannot hardcode anything, or else we can only hardcode existing
14806 # directories.
14807 hardcode_action_CXX=unsupported
14808 fi
14809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14810 $as_echo "$hardcode_action_CXX" >&6; }
14811
14812 if test "$hardcode_action_CXX" = relink ||
14813 test "$inherit_rpath_CXX" = yes; then
14814 # Fast installation is not supported
14815 enable_fast_install=no
14816 elif test "$shlibpath_overrides_runpath" = yes ||
14817 test "$enable_shared" = no; then
14818 # Fast installation is not necessary
14819 enable_fast_install=needless
14820 fi
14821
14822
14823
14824
14825
14826
14827
14828 fi # test -n "$compiler"
14829
14830 CC=$lt_save_CC
14831 LDCXX=$LD
14832 LD=$lt_save_LD
14833 GCC=$lt_save_GCC
14834 with_gnu_ld=$lt_save_with_gnu_ld
14835 lt_cv_path_LDCXX=$lt_cv_path_LD
14836 lt_cv_path_LD=$lt_save_path_LD
14837 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14838 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14839 fi # test "$_lt_caught_CXX_error" != yes
14840
14841 ac_ext=c
14842 ac_cpp='$CPP $CPPFLAGS'
14843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859 ac_config_commands="$ac_config_commands libtool"
14860
14861
14862
14863
14864 # Only expand once:
14865
14866
14867
14868
14869
14870 case $host in
14871 *-cygwin* | *-mingw*)
14872 # 'host' will be top-level target in the case of a target lib,
14873 # we must compare to with_cross_host to decide if this is a native
14874 # or cross-compiler and select where to install dlls appropriately.
14875 if test -n "$with_cross_host" &&
14876 test x"$with_cross_host" != x"no"; then
14877 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14878 else
14879 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14880 fi
14881 ;;
14882 *)
14883 lt_host_flags=
14884 ;;
14885 esac
14886
14887
14888
14889
14890
14891
14892 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14893 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14894
14895 # Possibly disable most of the library.
14896 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14897 ## than just ignoring the results. Faster /and/ more correct, win win.
14898
14899 # Check whether --enable-hosted-libstdcxx was given.
14900 if test "${enable_hosted_libstdcxx+set}" = set; then :
14901 enableval=$enable_hosted_libstdcxx;
14902 else
14903 case "$host" in
14904 arm*-*-symbianelf*)
14905 enable_hosted_libstdcxx=no
14906 ;;
14907 *)
14908 enable_hosted_libstdcxx=yes
14909 ;;
14910 esac
14911 fi
14912
14913 if test "$enable_hosted_libstdcxx" = no; then
14914 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14915 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14916 is_hosted=no
14917 hosted_define=0
14918 enable_abi_check=no
14919 enable_libstdcxx_pch=no
14920 else
14921 is_hosted=yes
14922 hosted_define=1
14923 fi
14924
14925
14926 cat >>confdefs.h <<_ACEOF
14927 #define _GLIBCXX_HOSTED $hosted_define
14928 _ACEOF
14929
14930
14931
14932 # Enable compiler support that doesn't require linking.
14933
14934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14935 $as_echo_n "checking for exception model to use... " >&6; }
14936
14937 ac_ext=cpp
14938 ac_cpp='$CXXCPP $CPPFLAGS'
14939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14942
14943 # Check whether --enable-sjlj-exceptions was given.
14944 if test "${enable_sjlj_exceptions+set}" = set; then :
14945 enableval=$enable_sjlj_exceptions;
14946 case "$enableval" in
14947 yes|no|auto) ;;
14948 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14949 esac
14950
14951 else
14952 enable_sjlj_exceptions=auto
14953 fi
14954
14955
14956
14957 if test $enable_sjlj_exceptions = auto; then
14958 # Botheration. Now we've got to detect the exception model. Link tests
14959 # against libgcc.a are problematic since we've not been given proper -L
14960 # bits for single-tree newlib and libgloss.
14961 #
14962 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14963 cat > conftest.$ac_ext << EOF
14964 #line 14964 "configure"
14965 struct S { ~S(); };
14966 void bar();
14967 void foo()
14968 {
14969 S s;
14970 bar();
14971 }
14972 EOF
14973 old_CXXFLAGS="$CXXFLAGS"
14974 CXXFLAGS=-S
14975 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14976 (eval $ac_compile) 2>&5
14977 ac_status=$?
14978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14979 test $ac_status = 0; }; then
14980 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14981 enable_sjlj_exceptions=yes
14982 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14983 enable_sjlj_exceptions=no
14984 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14985 enable_sjlj_exceptions=no
14986 fi
14987 fi
14988 CXXFLAGS="$old_CXXFLAGS"
14989 rm -f conftest*
14990 fi
14991
14992 # This is a tad weird, for hysterical raisins. We have to map
14993 # enable/disable to two different models.
14994 case $enable_sjlj_exceptions in
14995 yes)
14996
14997 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14998
14999 ac_exception_model_name=sjlj
15000 ;;
15001 no)
15002 ac_exception_model_name="call frame"
15003 ;;
15004 *)
15005 as_fn_error "unable to detect exception model" "$LINENO" 5
15006 ;;
15007 esac
15008 ac_ext=c
15009 ac_cpp='$CPP $CPPFLAGS'
15010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15013
15014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15015 $as_echo "$ac_exception_model_name" >&6; }
15016
15017
15018 # Check whether --enable-libstdcxx-pch was given.
15019 if test "${enable_libstdcxx_pch+set}" = set; then :
15020 enableval=$enable_libstdcxx_pch;
15021 case "$enableval" in
15022 yes|no) ;;
15023 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15024 esac
15025
15026 else
15027 enable_libstdcxx_pch=$is_hosted
15028 fi
15029
15030
15031 if test $enable_libstdcxx_pch = yes; then
15032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15033 $as_echo_n "checking for compiler with PCH support... " >&6; }
15034 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15035 $as_echo_n "(cached) " >&6
15036 else
15037 ac_save_CXXFLAGS="$CXXFLAGS"
15038 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15039
15040 ac_ext=cpp
15041 ac_cpp='$CXXCPP $CPPFLAGS'
15042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15045
15046 echo '#include <math.h>' > conftest.h
15047 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15048 -o conftest.h.gch 1>&5 2>&1 &&
15049 echo '#error "pch failed"' > conftest.h &&
15050 echo '#include "conftest.h"' > conftest.cc &&
15051 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15052 then
15053 glibcxx_cv_prog_CXX_pch=yes
15054 else
15055 glibcxx_cv_prog_CXX_pch=no
15056 fi
15057 rm -f conftest*
15058 CXXFLAGS=$ac_save_CXXFLAGS
15059 ac_ext=c
15060 ac_cpp='$CPP $CPPFLAGS'
15061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15064
15065
15066 fi
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15068 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15069 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15070 fi
15071
15072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15073 $as_echo_n "checking for enabled PCH... " >&6; }
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15075 $as_echo "$enable_libstdcxx_pch" >&6; }
15076
15077
15078 if test $enable_libstdcxx_pch = yes; then
15079 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15080 else
15081 glibcxx_PCHFLAGS=""
15082 fi
15083
15084
15085
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15087 $as_echo_n "checking for thread model used by GCC... " >&6; }
15088 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15090 $as_echo "$target_thread_file" >&6; }
15091
15092
15093
15094 ac_ext=cpp
15095 ac_cpp='$CXXCPP $CPPFLAGS'
15096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15099
15100 old_CXXFLAGS="$CXXFLAGS"
15101
15102 # Do link tests if possible, instead asm tests, limited to some platforms
15103 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15104 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15105 atomic_builtins_link_tests=no
15106 if test x$gcc_no_link != xyes; then
15107 # Can do link tests. Limit to some tested platforms
15108 case "$host" in
15109 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15110 atomic_builtins_link_tests=yes
15111 ;;
15112 esac
15113 fi
15114
15115 if test x$atomic_builtins_link_tests = xyes; then
15116
15117 # Do link tests.
15118
15119 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15120
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15122 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15123 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15124 $as_echo_n "(cached) " >&6
15125 else
15126
15127 if test x$gcc_no_link = xyes; then
15128 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15129 fi
15130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15131 /* end confdefs.h. */
15132
15133 int
15134 main ()
15135 {
15136 typedef bool atomic_type;
15137 atomic_type c1;
15138 atomic_type c2;
15139 atomic_type c3(0);
15140 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15141 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15142 __ATOMIC_RELAXED);
15143 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15144 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15145
15146 ;
15147 return 0;
15148 }
15149 _ACEOF
15150 if ac_fn_cxx_try_link "$LINENO"; then :
15151 glibcxx_cv_atomic_bool=yes
15152 else
15153 glibcxx_cv_atomic_bool=no
15154 fi
15155 rm -f core conftest.err conftest.$ac_objext \
15156 conftest$ac_exeext conftest.$ac_ext
15157
15158 fi
15159
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15161 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15162
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15164 $as_echo_n "checking for atomic builtins for short... " >&6; }
15165 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15166 $as_echo_n "(cached) " >&6
15167 else
15168
15169 if test x$gcc_no_link = xyes; then
15170 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15171 fi
15172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15173 /* end confdefs.h. */
15174
15175 int
15176 main ()
15177 {
15178 typedef short atomic_type;
15179 atomic_type c1;
15180 atomic_type c2;
15181 atomic_type c3(0);
15182 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15183 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15184 __ATOMIC_RELAXED);
15185 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15186 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15187
15188 ;
15189 return 0;
15190 }
15191 _ACEOF
15192 if ac_fn_cxx_try_link "$LINENO"; then :
15193 glibcxx_cv_atomic_short=yes
15194 else
15195 glibcxx_cv_atomic_short=no
15196 fi
15197 rm -f core conftest.err conftest.$ac_objext \
15198 conftest$ac_exeext conftest.$ac_ext
15199
15200 fi
15201
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15203 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15204
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15206 $as_echo_n "checking for atomic builtins for int... " >&6; }
15207 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15208 $as_echo_n "(cached) " >&6
15209 else
15210
15211 if test x$gcc_no_link = xyes; then
15212 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15213 fi
15214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15215 /* end confdefs.h. */
15216
15217 int
15218 main ()
15219 {
15220 typedef int atomic_type;
15221 atomic_type c1;
15222 atomic_type c2;
15223 atomic_type c3(0);
15224 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15225 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15226 __ATOMIC_RELAXED);
15227 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15228 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15229
15230 ;
15231 return 0;
15232 }
15233 _ACEOF
15234 if ac_fn_cxx_try_link "$LINENO"; then :
15235 glibcxx_cv_atomic_int=yes
15236 else
15237 glibcxx_cv_atomic_int=no
15238 fi
15239 rm -f core conftest.err conftest.$ac_objext \
15240 conftest$ac_exeext conftest.$ac_ext
15241
15242 fi
15243
15244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15245 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15246
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15248 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15249 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15250 $as_echo_n "(cached) " >&6
15251 else
15252
15253 if test x$gcc_no_link = xyes; then
15254 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15255 fi
15256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15257 /* end confdefs.h. */
15258
15259 int
15260 main ()
15261 {
15262 typedef long long atomic_type;
15263 atomic_type c1;
15264 atomic_type c2;
15265 atomic_type c3(0);
15266 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15267 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15268 __ATOMIC_RELAXED);
15269 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15270 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15271
15272 ;
15273 return 0;
15274 }
15275 _ACEOF
15276 if ac_fn_cxx_try_link "$LINENO"; then :
15277 glibcxx_cv_atomic_long_long=yes
15278 else
15279 glibcxx_cv_atomic_long_long=no
15280 fi
15281 rm -f core conftest.err conftest.$ac_objext \
15282 conftest$ac_exeext conftest.$ac_ext
15283
15284 fi
15285
15286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15287 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15288
15289 else
15290
15291 # Do asm tests.
15292
15293 # Compile unoptimized.
15294 CXXFLAGS='-O0 -S'
15295
15296 # Fake what AC_TRY_COMPILE does.
15297
15298 cat > conftest.$ac_ext << EOF
15299 #line 15299 "configure"
15300 int main()
15301 {
15302 typedef bool atomic_type;
15303 atomic_type c1;
15304 atomic_type c2;
15305 atomic_type c3(0);
15306 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15307 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15308 __ATOMIC_RELAXED);
15309 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15310 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15311
15312 return 0;
15313 }
15314 EOF
15315
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15317 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15318 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15319 (eval $ac_compile) 2>&5
15320 ac_status=$?
15321 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15322 test $ac_status = 0; }; then
15323 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15324 glibcxx_cv_atomic_bool=no
15325 else
15326 glibcxx_cv_atomic_bool=yes
15327 fi
15328 fi
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15330 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15331 rm -f conftest*
15332
15333 cat > conftest.$ac_ext << EOF
15334 #line 15334 "configure"
15335 int main()
15336 {
15337 typedef short atomic_type;
15338 atomic_type c1;
15339 atomic_type c2;
15340 atomic_type c3(0);
15341 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15342 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15343 __ATOMIC_RELAXED);
15344 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15345 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15346
15347 return 0;
15348 }
15349 EOF
15350
15351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15352 $as_echo_n "checking for atomic builtins for short... " >&6; }
15353 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15354 (eval $ac_compile) 2>&5
15355 ac_status=$?
15356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15357 test $ac_status = 0; }; then
15358 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15359 glibcxx_cv_atomic_short=no
15360 else
15361 glibcxx_cv_atomic_short=yes
15362 fi
15363 fi
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15365 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15366 rm -f conftest*
15367
15368 cat > conftest.$ac_ext << EOF
15369 #line 15369 "configure"
15370 int main()
15371 {
15372 // NB: _Atomic_word not necessarily int.
15373 typedef int atomic_type;
15374 atomic_type c1;
15375 atomic_type c2;
15376 atomic_type c3(0);
15377 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15378 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15379 __ATOMIC_RELAXED);
15380 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15381 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15382
15383 return 0;
15384 }
15385 EOF
15386
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15388 $as_echo_n "checking for atomic builtins for int... " >&6; }
15389 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15390 (eval $ac_compile) 2>&5
15391 ac_status=$?
15392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15393 test $ac_status = 0; }; then
15394 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15395 glibcxx_cv_atomic_int=no
15396 else
15397 glibcxx_cv_atomic_int=yes
15398 fi
15399 fi
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15401 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15402 rm -f conftest*
15403
15404 cat > conftest.$ac_ext << EOF
15405 #line 15405 "configure"
15406 int main()
15407 {
15408 typedef long long atomic_type;
15409 atomic_type c1;
15410 atomic_type c2;
15411 atomic_type c3(0);
15412 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15413 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15414 __ATOMIC_RELAXED);
15415 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15416 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15417
15418 return 0;
15419 }
15420 EOF
15421
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15423 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15424 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15425 (eval $ac_compile) 2>&5
15426 ac_status=$?
15427 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15428 test $ac_status = 0; }; then
15429 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15430 glibcxx_cv_atomic_long_long=no
15431 else
15432 glibcxx_cv_atomic_long_long=yes
15433 fi
15434 fi
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15436 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15437 rm -f conftest*
15438
15439 fi
15440
15441 CXXFLAGS="$old_CXXFLAGS"
15442 ac_ext=c
15443 ac_cpp='$CPP $CPPFLAGS'
15444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15447
15448
15449 # Set atomicity_dir to builtins if all but the long long test above passes.
15450 if test $glibcxx_cv_atomic_bool = yes \
15451 && test $glibcxx_cv_atomic_short = yes \
15452 && test $glibcxx_cv_atomic_int = yes; then
15453
15454 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15455
15456 atomicity_dir=cpu/generic/atomicity_builtins
15457 fi
15458
15459 # If still generic, set to mutex.
15460 if test $atomicity_dir = "cpu/generic" ; then
15461 atomicity_dir=cpu/generic/atomicity_mutex
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15463 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15464 if test "x$target_thread_file" = xsingle; then
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15466 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15468 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15469 else
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15471 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15473 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15474 fi
15475 fi
15476
15477
15478
15479
15480 # Fake what AC_TRY_COMPILE does, without linking as this is
15481 # unnecessary for this test.
15482
15483 cat > conftest.$ac_ext << EOF
15484 #line 15484 "configure"
15485 int main()
15486 {
15487 _Decimal32 d1;
15488 _Decimal64 d2;
15489 _Decimal128 d3;
15490 return 0;
15491 }
15492 EOF
15493
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15495 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15496 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15497 (eval $ac_compile) 2>&5
15498 ac_status=$?
15499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15500 test $ac_status = 0; }; then
15501
15502 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15503
15504 enable_dfp=yes
15505 else
15506 enable_dfp=no
15507 fi
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15509 $as_echo "$enable_dfp" >&6; }
15510 rm -f conftest*
15511
15512
15513
15514
15515 ac_ext=cpp
15516 ac_cpp='$CXXCPP $CPPFLAGS'
15517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15520
15521
15522 # Fake what AC_TRY_COMPILE does, without linking as this is
15523 # unnecessary for this test.
15524
15525 cat > conftest.$ac_ext << EOF
15526 #line 15526 "configure"
15527 template<typename T1, typename T2>
15528 struct same
15529 { typedef T2 type; };
15530
15531 template<typename T>
15532 struct same<T, T>;
15533
15534 int main()
15535 {
15536 typename same<long, __int128>::type i1;
15537 typename same<long long, __int128>::type i2;
15538 }
15539 EOF
15540
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15542 $as_echo_n "checking for __int128... " >&6; }
15543 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15544 (eval $ac_compile) 2>&5
15545 ac_status=$?
15546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15547 test $ac_status = 0; }; then
15548
15549 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15550
15551 enable_int128=yes
15552 else
15553 enable_int128=no
15554 fi
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15556 $as_echo "$enable_int128" >&6; }
15557 rm -f conftest*
15558
15559 cat > conftest.$ac_ext << EOF
15560 #line 15560 "configure"
15561 template<typename T1, typename T2>
15562 struct same
15563 { typedef T2 type; };
15564
15565 template<typename T>
15566 struct same<T, T>;
15567
15568 int main()
15569 {
15570 typename same<double, __float128>::type f1;
15571 typename same<long double, __float128>::type f2;
15572 }
15573 EOF
15574
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15576 $as_echo_n "checking for __float128... " >&6; }
15577 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15578 (eval $ac_compile) 2>&5
15579 ac_status=$?
15580 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15581 test $ac_status = 0; }; then
15582
15583 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15584
15585 enable_float128=yes
15586 else
15587 enable_float128=no
15588 fi
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15590 $as_echo "$enable_float128" >&6; }
15591 rm -f conftest*
15592
15593 ac_ext=c
15594 ac_cpp='$CPP $CPPFLAGS'
15595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15598
15599
15600
15601 # Checks for compiler support that doesn't require linking.
15602
15603 # All these tests are for C++; save the language and the compiler flags.
15604 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15605 # found in GLIBCXX_CONFIGURE.
15606
15607 ac_ext=cpp
15608 ac_cpp='$CXXCPP $CPPFLAGS'
15609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15612
15613 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15614 ac_save_CXXFLAGS="$CXXFLAGS"
15615
15616 # Check for maintainer-mode bits.
15617 if test x"$USE_MAINTAINER_MODE" = xno; then
15618 WERROR=''
15619 else
15620 WERROR='-Werror'
15621 fi
15622
15623 # Check for -ffunction-sections -fdata-sections
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15625 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15626 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15628 /* end confdefs.h. */
15629 int foo; void bar() { };
15630 int
15631 main ()
15632 {
15633
15634 ;
15635 return 0;
15636 }
15637 _ACEOF
15638 if ac_fn_cxx_try_compile "$LINENO"; then :
15639 ac_fdsections=yes
15640 else
15641 ac_fdsections=no
15642 fi
15643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15644 if test "$ac_test_CXXFLAGS" = set; then
15645 CXXFLAGS="$ac_save_CXXFLAGS"
15646 else
15647 # this is the suspicious part
15648 CXXFLAGS=''
15649 fi
15650 if test x"$ac_fdsections" = x"yes"; then
15651 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15652 fi
15653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15654 $as_echo "$ac_fdsections" >&6; }
15655
15656 ac_ext=c
15657 ac_cpp='$CPP $CPPFLAGS'
15658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15661
15662
15663
15664
15665
15666 # Enable all the variable C++ runtime options that don't require linking.
15667
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15669 $as_echo_n "checking for underlying I/O to use... " >&6; }
15670 # Check whether --enable-cstdio was given.
15671 if test "${enable_cstdio+set}" = set; then :
15672 enableval=$enable_cstdio;
15673 case "$enableval" in
15674 stdio) ;;
15675 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15676 esac
15677
15678 else
15679 enable_cstdio=stdio
15680 fi
15681
15682
15683
15684 # Now that libio has been removed, you can have any color you want as long
15685 # as it's black. This is one big no-op until other packages are added, but
15686 # showing the framework never hurts.
15687 case ${enable_cstdio} in
15688 stdio)
15689 CSTDIO_H=config/io/c_io_stdio.h
15690 BASIC_FILE_H=config/io/basic_file_stdio.h
15691 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15693 $as_echo "stdio" >&6; }
15694 ;;
15695 esac
15696
15697
15698
15699
15700
15701
15702 # Check whether --enable-clocale was given.
15703 if test "${enable_clocale+set}" = set; then :
15704 enableval=$enable_clocale;
15705 case "$enableval" in
15706 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15707 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15708 esac
15709
15710 else
15711 enable_clocale=auto
15712 fi
15713
15714
15715
15716 # Deal with gettext issues. Default to not using it (=no) until we detect
15717 # support for it later. Let the user turn it off via --e/d, but let that
15718 # default to on for easier handling.
15719 USE_NLS=no
15720 # Check whether --enable-nls was given.
15721 if test "${enable_nls+set}" = set; then :
15722 enableval=$enable_nls;
15723 else
15724 enable_nls=yes
15725 fi
15726
15727
15728 # Either a known package, or "auto"
15729 if test $enable_clocale = no || test $enable_clocale = yes; then
15730 enable_clocale=auto
15731 fi
15732 enable_clocale_flag=$enable_clocale
15733
15734 # Probe for locale model to use if none specified.
15735 # Default to "generic".
15736 if test $enable_clocale_flag = auto; then
15737 case ${target_os} in
15738 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15739 enable_clocale_flag=gnu
15740 ;;
15741 darwin* | freebsd*)
15742 enable_clocale_flag=darwin
15743 ;;
15744 *)
15745 if test x"$with_newlib" = x"yes"; then
15746 enable_clocale_flag=newlib
15747 else
15748 enable_clocale_flag=generic
15749 fi
15750 ;;
15751 esac
15752 fi
15753
15754 # Sanity check model, and test for special functionality.
15755 if test $enable_clocale_flag = gnu; then
15756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15757 /* end confdefs.h. */
15758
15759 #include <features.h>
15760 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15761 _GLIBCXX_ok
15762 #endif
15763
15764 _ACEOF
15765 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15766 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15767 enable_clocale_flag=gnu
15768 else
15769 enable_clocale_flag=generic
15770 fi
15771 rm -f conftest*
15772
15773
15774 # Set it to scream when it hurts.
15775 ac_save_CFLAGS="$CFLAGS"
15776 CFLAGS="-Wimplicit-function-declaration -Werror"
15777
15778 # Use strxfrm_l if available.
15779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15780 /* end confdefs.h. */
15781 #define _GNU_SOURCE 1
15782 #include <string.h>
15783 #include <locale.h>
15784 int
15785 main ()
15786 {
15787 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15788 ;
15789 return 0;
15790 }
15791 _ACEOF
15792 if ac_fn_c_try_compile "$LINENO"; then :
15793
15794 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15795
15796 fi
15797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15798
15799 # Use strerror_l if available.
15800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15801 /* end confdefs.h. */
15802 #define _GNU_SOURCE 1
15803 #include <string.h>
15804 #include <locale.h>
15805 int
15806 main ()
15807 {
15808 __locale_t loc; strerror_l(5, loc);
15809 ;
15810 return 0;
15811 }
15812 _ACEOF
15813 if ac_fn_c_try_compile "$LINENO"; then :
15814
15815 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15816
15817 fi
15818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15819
15820 CFLAGS="$ac_save_CFLAGS"
15821 fi
15822
15823 # Perhaps use strerror_r if available, and strerror_l isn't.
15824 ac_save_CFLAGS="$CFLAGS"
15825 CFLAGS="-Wimplicit-function-declaration -Werror"
15826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15827 /* end confdefs.h. */
15828 #define _GNU_SOURCE 1
15829 #include <string.h>
15830 #include <locale.h>
15831 int
15832 main ()
15833 {
15834 char s[128]; strerror_r(5, s, 128);
15835 ;
15836 return 0;
15837 }
15838 _ACEOF
15839 if ac_fn_c_try_compile "$LINENO"; then :
15840
15841 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15842
15843 fi
15844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15845 CFLAGS="$ac_save_CFLAGS"
15846
15847 # Set configure bits for specified locale package
15848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15849 $as_echo_n "checking for C locale to use... " >&6; }
15850 case ${enable_clocale_flag} in
15851 generic)
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15853 $as_echo "generic" >&6; }
15854
15855 CLOCALE_H=config/locale/generic/c_locale.h
15856 CLOCALE_CC=config/locale/generic/c_locale.cc
15857 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15858 CCOLLATE_CC=config/locale/generic/collate_members.cc
15859 CCTYPE_CC=config/locale/generic/ctype_members.cc
15860 CMESSAGES_H=config/locale/generic/messages_members.h
15861 CMESSAGES_CC=config/locale/generic/messages_members.cc
15862 CMONEY_CC=config/locale/generic/monetary_members.cc
15863 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15864 CTIME_H=config/locale/generic/time_members.h
15865 CTIME_CC=config/locale/generic/time_members.cc
15866 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15867 ;;
15868 darwin)
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15870 $as_echo "darwin or freebsd" >&6; }
15871
15872 CLOCALE_H=config/locale/generic/c_locale.h
15873 CLOCALE_CC=config/locale/generic/c_locale.cc
15874 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15875 CCOLLATE_CC=config/locale/generic/collate_members.cc
15876 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15877 CMESSAGES_H=config/locale/generic/messages_members.h
15878 CMESSAGES_CC=config/locale/generic/messages_members.cc
15879 CMONEY_CC=config/locale/generic/monetary_members.cc
15880 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15881 CTIME_H=config/locale/generic/time_members.h
15882 CTIME_CC=config/locale/generic/time_members.cc
15883 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15884 ;;
15885
15886 gnu)
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15888 $as_echo "gnu" >&6; }
15889
15890 # Declare intention to use gettext, and add support for specific
15891 # languages.
15892 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15893 ALL_LINGUAS="de fr"
15894
15895 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15896 # Extract the first word of "msgfmt", so it can be a program name with args.
15897 set dummy msgfmt; ac_word=$2
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15899 $as_echo_n "checking for $ac_word... " >&6; }
15900 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15901 $as_echo_n "(cached) " >&6
15902 else
15903 if test -n "$check_msgfmt"; then
15904 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15905 else
15906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15907 for as_dir in $PATH
15908 do
15909 IFS=$as_save_IFS
15910 test -z "$as_dir" && as_dir=.
15911 for ac_exec_ext in '' $ac_executable_extensions; do
15912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15913 ac_cv_prog_check_msgfmt="yes"
15914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15915 break 2
15916 fi
15917 done
15918 done
15919 IFS=$as_save_IFS
15920
15921 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15922 fi
15923 fi
15924 check_msgfmt=$ac_cv_prog_check_msgfmt
15925 if test -n "$check_msgfmt"; then
15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15927 $as_echo "$check_msgfmt" >&6; }
15928 else
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15930 $as_echo "no" >&6; }
15931 fi
15932
15933
15934 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15935 USE_NLS=yes
15936 fi
15937 # Export the build objects.
15938 for ling in $ALL_LINGUAS; do \
15939 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15940 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15941 done
15942
15943
15944
15945 CLOCALE_H=config/locale/gnu/c_locale.h
15946 CLOCALE_CC=config/locale/gnu/c_locale.cc
15947 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15948 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15949 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15950 CMESSAGES_H=config/locale/gnu/messages_members.h
15951 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15952 CMONEY_CC=config/locale/gnu/monetary_members.cc
15953 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15954 CTIME_H=config/locale/gnu/time_members.h
15955 CTIME_CC=config/locale/gnu/time_members.cc
15956 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15957 ;;
15958 ieee_1003.1-2001)
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15960 $as_echo "IEEE 1003.1" >&6; }
15961
15962 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15963 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15964 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15965 CCOLLATE_CC=config/locale/generic/collate_members.cc
15966 CCTYPE_CC=config/locale/generic/ctype_members.cc
15967 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15968 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15969 CMONEY_CC=config/locale/generic/monetary_members.cc
15970 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15971 CTIME_H=config/locale/generic/time_members.h
15972 CTIME_CC=config/locale/generic/time_members.cc
15973 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15974 ;;
15975 newlib)
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
15977 $as_echo "newlib" >&6; }
15978
15979 CLOCALE_H=config/locale/generic/c_locale.h
15980 CLOCALE_CC=config/locale/generic/c_locale.cc
15981 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15982 CCOLLATE_CC=config/locale/generic/collate_members.cc
15983 CCTYPE_CC=config/locale/newlib/ctype_members.cc
15984 CMESSAGES_H=config/locale/generic/messages_members.h
15985 CMESSAGES_CC=config/locale/generic/messages_members.cc
15986 CMONEY_CC=config/locale/generic/monetary_members.cc
15987 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15988 CTIME_H=config/locale/generic/time_members.h
15989 CTIME_CC=config/locale/generic/time_members.cc
15990 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15991 ;;
15992 esac
15993
15994 # This is where the testsuite looks for locale catalogs, using the
15995 # -DLOCALEDIR define during testsuite compilation.
15996 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15997
15998
15999 # A standalone libintl (e.g., GNU libintl) may be in use.
16000 if test $USE_NLS = yes; then
16001 for ac_header in libintl.h
16002 do :
16003 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16004 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16005 cat >>confdefs.h <<_ACEOF
16006 #define HAVE_LIBINTL_H 1
16007 _ACEOF
16008
16009 else
16010 USE_NLS=no
16011 fi
16012
16013 done
16014
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16016 $as_echo_n "checking for library containing gettext... " >&6; }
16017 if test "${ac_cv_search_gettext+set}" = set; then :
16018 $as_echo_n "(cached) " >&6
16019 else
16020 ac_func_search_save_LIBS=$LIBS
16021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16022 /* end confdefs.h. */
16023
16024 /* Override any GCC internal prototype to avoid an error.
16025 Use char because int might match the return type of a GCC
16026 builtin and then its argument prototype would still apply. */
16027 #ifdef __cplusplus
16028 extern "C"
16029 #endif
16030 char gettext ();
16031 int
16032 main ()
16033 {
16034 return gettext ();
16035 ;
16036 return 0;
16037 }
16038 _ACEOF
16039 for ac_lib in '' intl; do
16040 if test -z "$ac_lib"; then
16041 ac_res="none required"
16042 else
16043 ac_res=-l$ac_lib
16044 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16045 fi
16046 if test x$gcc_no_link = xyes; then
16047 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16048 fi
16049 if ac_fn_c_try_link "$LINENO"; then :
16050 ac_cv_search_gettext=$ac_res
16051 fi
16052 rm -f core conftest.err conftest.$ac_objext \
16053 conftest$ac_exeext
16054 if test "${ac_cv_search_gettext+set}" = set; then :
16055 break
16056 fi
16057 done
16058 if test "${ac_cv_search_gettext+set}" = set; then :
16059
16060 else
16061 ac_cv_search_gettext=no
16062 fi
16063 rm conftest.$ac_ext
16064 LIBS=$ac_func_search_save_LIBS
16065 fi
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16067 $as_echo "$ac_cv_search_gettext" >&6; }
16068 ac_res=$ac_cv_search_gettext
16069 if test "$ac_res" != no; then :
16070 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16071
16072 else
16073 USE_NLS=no
16074 fi
16075
16076 fi
16077 if test $USE_NLS = yes; then
16078
16079 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16080
16081 fi
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16099 $as_echo_n "checking for std::allocator base class... " >&6; }
16100 # Check whether --enable-libstdcxx-allocator was given.
16101 if test "${enable_libstdcxx_allocator+set}" = set; then :
16102 enableval=$enable_libstdcxx_allocator;
16103 case "$enableval" in
16104 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16105 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16106 esac
16107
16108 else
16109 enable_libstdcxx_allocator=auto
16110 fi
16111
16112
16113
16114 # If they didn't use this option switch, or if they specified --enable
16115 # with no specific model, we'll have to look for one. If they
16116 # specified --disable (???), do likewise.
16117 if test $enable_libstdcxx_allocator = no ||
16118 test $enable_libstdcxx_allocator = yes;
16119 then
16120 enable_libstdcxx_allocator=auto
16121 fi
16122
16123 # Either a known package, or "auto". Auto implies the default choice
16124 # for a particular platform.
16125 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16126
16127 # Probe for host-specific support if no specific model is specified.
16128 # Default to "new".
16129 if test $enable_libstdcxx_allocator_flag = auto; then
16130 case ${target_os} in
16131 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16132 enable_libstdcxx_allocator_flag=new
16133 ;;
16134 *)
16135 enable_libstdcxx_allocator_flag=new
16136 ;;
16137 esac
16138 fi
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16140 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16141
16142
16143 # Set configure bits for specified locale package
16144 case ${enable_libstdcxx_allocator_flag} in
16145 bitmap)
16146 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16147 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16148 ;;
16149 malloc)
16150 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16151 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16152 ;;
16153 mt)
16154 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16155 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16156 ;;
16157 new)
16158 ALLOCATOR_H=config/allocator/new_allocator_base.h
16159 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16160 ;;
16161 pool)
16162 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16163 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16164 ;;
16165 esac
16166
16167
16168
16169
16170
16171 # Check whether --enable-cheaders was given.
16172 if test "${enable_cheaders+set}" = set; then :
16173 enableval=$enable_cheaders;
16174 case "$enableval" in
16175 c|c_std|c_global) ;;
16176 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16177 esac
16178
16179 else
16180 enable_cheaders=$c_model
16181 fi
16182
16183
16184 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16185 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16186
16187 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16188
16189 # Allow overrides to configure.host here.
16190 if test $enable_cheaders = c_global; then
16191 c_compatibility=yes
16192 fi
16193
16194
16195
16196
16197
16198
16199
16200 # Check whether --enable-long-long was given.
16201 if test "${enable_long_long+set}" = set; then :
16202 enableval=$enable_long_long;
16203 case "$enableval" in
16204 yes|no) ;;
16205 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16206 esac
16207
16208 else
16209 enable_long_long=yes
16210 fi
16211
16212
16213 if test $enable_long_long = yes; then
16214
16215 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16216
16217 fi
16218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16219 $as_echo_n "checking for enabled long long specializations... " >&6; }
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16221 $as_echo "$enable_long_long" >&6; }
16222
16223
16224 # Check whether --enable-wchar_t was given.
16225 if test "${enable_wchar_t+set}" = set; then :
16226 enableval=$enable_wchar_t;
16227 case "$enableval" in
16228 yes|no) ;;
16229 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16230 esac
16231
16232 else
16233 enable_wchar_t=yes
16234 fi
16235
16236
16237
16238 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16239 for ac_header in wchar.h
16240 do :
16241 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16242 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16243 cat >>confdefs.h <<_ACEOF
16244 #define HAVE_WCHAR_H 1
16245 _ACEOF
16246 ac_has_wchar_h=yes
16247 else
16248 ac_has_wchar_h=no
16249 fi
16250
16251 done
16252
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16254 $as_echo_n "checking for mbstate_t... " >&6; }
16255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16256 /* end confdefs.h. */
16257 #include <wchar.h>
16258 int
16259 main ()
16260 {
16261 mbstate_t teststate;
16262 ;
16263 return 0;
16264 }
16265 _ACEOF
16266 if ac_fn_c_try_compile "$LINENO"; then :
16267 have_mbstate_t=yes
16268 else
16269 have_mbstate_t=no
16270 fi
16271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16273 $as_echo "$have_mbstate_t" >&6; }
16274 if test x"$have_mbstate_t" = xyes; then
16275
16276 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16277
16278 fi
16279
16280 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16281 # ac_has_wchar_h.
16282 for ac_header in wctype.h
16283 do :
16284 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16285 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16286 cat >>confdefs.h <<_ACEOF
16287 #define HAVE_WCTYPE_H 1
16288 _ACEOF
16289 ac_has_wctype_h=yes
16290 else
16291 ac_has_wctype_h=no
16292 fi
16293
16294 done
16295
16296
16297 if test x"$enable_wchar_t" = x"yes"; then
16298
16299
16300 ac_ext=cpp
16301 ac_cpp='$CXXCPP $CPPFLAGS'
16302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16305
16306
16307 if test x"$ac_has_wchar_h" = xyes &&
16308 test x"$ac_has_wctype_h" = xyes; then
16309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16310 /* end confdefs.h. */
16311 #include <wchar.h>
16312 #include <stddef.h>
16313 wint_t i;
16314 long l = WEOF;
16315 long j = WCHAR_MIN;
16316 long k = WCHAR_MAX;
16317 namespace test
16318 {
16319 using ::btowc;
16320 using ::fgetwc;
16321 using ::fgetws;
16322 using ::fputwc;
16323 using ::fputws;
16324 using ::fwide;
16325 using ::fwprintf;
16326 using ::fwscanf;
16327 using ::getwc;
16328 using ::getwchar;
16329 using ::mbrlen;
16330 using ::mbrtowc;
16331 using ::mbsinit;
16332 using ::mbsrtowcs;
16333 using ::putwc;
16334 using ::putwchar;
16335 using ::swprintf;
16336 using ::swscanf;
16337 using ::ungetwc;
16338 using ::vfwprintf;
16339 using ::vswprintf;
16340 using ::vwprintf;
16341 using ::wcrtomb;
16342 using ::wcscat;
16343 using ::wcschr;
16344 using ::wcscmp;
16345 using ::wcscoll;
16346 using ::wcscpy;
16347 using ::wcscspn;
16348 using ::wcsftime;
16349 using ::wcslen;
16350 using ::wcsncat;
16351 using ::wcsncmp;
16352 using ::wcsncpy;
16353 using ::wcspbrk;
16354 using ::wcsrchr;
16355 using ::wcsrtombs;
16356 using ::wcsspn;
16357 using ::wcsstr;
16358 using ::wcstod;
16359 using ::wcstok;
16360 using ::wcstol;
16361 using ::wcstoul;
16362 using ::wcsxfrm;
16363 using ::wctob;
16364 using ::wmemchr;
16365 using ::wmemcmp;
16366 using ::wmemcpy;
16367 using ::wmemmove;
16368 using ::wmemset;
16369 using ::wprintf;
16370 using ::wscanf;
16371 }
16372
16373 int
16374 main ()
16375 {
16376
16377 ;
16378 return 0;
16379 }
16380 _ACEOF
16381 if ac_fn_cxx_try_compile "$LINENO"; then :
16382
16383 else
16384 enable_wchar_t=no
16385 fi
16386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16387 else
16388 enable_wchar_t=no
16389 fi
16390
16391 ac_ext=c
16392 ac_cpp='$CPP $CPPFLAGS'
16393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16396
16397 fi
16398
16399 if test x"$enable_wchar_t" = x"yes"; then
16400
16401 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16402
16403 fi
16404
16405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16406 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16408 $as_echo "$enable_wchar_t" >&6; }
16409
16410
16411
16412 # Check whether --enable-c99 was given.
16413 if test "${enable_c99+set}" = set; then :
16414 enableval=$enable_c99;
16415 case "$enableval" in
16416 yes|no) ;;
16417 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16418 esac
16419
16420 else
16421 enable_c99=yes
16422 fi
16423
16424
16425
16426 if test x"$enable_c99" = x"yes"; then
16427
16428
16429 ac_ext=cpp
16430 ac_cpp='$CXXCPP $CPPFLAGS'
16431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16434
16435
16436 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16437 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16438 # spuriously enabled.
16439 # Long term, -std=c++0x could be even better, could manage to explicitely
16440 # request C99 facilities to the underlying C headers.
16441 ac_save_CXXFLAGS="$CXXFLAGS"
16442 CXXFLAGS="$CXXFLAGS -std=c++98"
16443 ac_save_LIBS="$LIBS"
16444 ac_save_gcc_no_link="$gcc_no_link"
16445
16446 if test x$gcc_no_link != xyes; then
16447 # Use -fno-exceptions to that the C driver can link these tests without
16448 # hitting undefined references to personality routines.
16449 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16451 $as_echo_n "checking for sin in -lm... " >&6; }
16452 if test "${ac_cv_lib_m_sin+set}" = set; then :
16453 $as_echo_n "(cached) " >&6
16454 else
16455 ac_check_lib_save_LIBS=$LIBS
16456 LIBS="-lm $LIBS"
16457 if test x$gcc_no_link = xyes; then
16458 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16459 fi
16460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16461 /* end confdefs.h. */
16462
16463 /* Override any GCC internal prototype to avoid an error.
16464 Use char because int might match the return type of a GCC
16465 builtin and then its argument prototype would still apply. */
16466 #ifdef __cplusplus
16467 extern "C"
16468 #endif
16469 char sin ();
16470 int
16471 main ()
16472 {
16473 return sin ();
16474 ;
16475 return 0;
16476 }
16477 _ACEOF
16478 if ac_fn_cxx_try_link "$LINENO"; then :
16479 ac_cv_lib_m_sin=yes
16480 else
16481 ac_cv_lib_m_sin=no
16482 fi
16483 rm -f core conftest.err conftest.$ac_objext \
16484 conftest$ac_exeext conftest.$ac_ext
16485 LIBS=$ac_check_lib_save_LIBS
16486 fi
16487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16488 $as_echo "$ac_cv_lib_m_sin" >&6; }
16489 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16490
16491 LIBS="$LIBS -lm"
16492
16493 else
16494
16495 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16496 gcc_no_link=yes
16497
16498 fi
16499
16500 fi
16501
16502 # Check for the existence of <math.h> functions used if C99 is enabled.
16503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16504 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16505 if test "${glibcxx_cv_c99_math+set}" = set; then :
16506 $as_echo_n "(cached) " >&6
16507 else
16508
16509 if test x$gcc_no_link = xyes; then
16510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16511 /* end confdefs.h. */
16512 #include <math.h>
16513 volatile double d1, d2;
16514 volatile int i;
16515 int
16516 main ()
16517 {
16518 i = fpclassify(d1);
16519 i = isfinite(d1);
16520 i = isinf(d1);
16521 i = isnan(d1);
16522 i = isnormal(d1);
16523 i = signbit(d1);
16524 i = isgreater(d1, d2);
16525 i = isgreaterequal(d1, d2);
16526 i = isless(d1, d2);
16527 i = islessequal(d1, d2);
16528 i = islessgreater(d1, d2);
16529 i = islessgreater(d1, d2);
16530 i = isunordered(d1, d2);
16531
16532 ;
16533 return 0;
16534 }
16535 _ACEOF
16536 if ac_fn_cxx_try_compile "$LINENO"; then :
16537 glibcxx_cv_c99_math=yes
16538 else
16539 glibcxx_cv_c99_math=no
16540 fi
16541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16542 else
16543 if test x$gcc_no_link = xyes; then
16544 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16545 fi
16546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16547 /* end confdefs.h. */
16548 #include <math.h>
16549 volatile double d1, d2;
16550 volatile int i;
16551 int
16552 main ()
16553 {
16554 i = fpclassify(d1);
16555 i = isfinite(d1);
16556 i = isinf(d1);
16557 i = isnan(d1);
16558 i = isnormal(d1);
16559 i = signbit(d1);
16560 i = isgreater(d1, d2);
16561 i = isgreaterequal(d1, d2);
16562 i = isless(d1, d2);
16563 i = islessequal(d1, d2);
16564 i = islessgreater(d1, d2);
16565 i = islessgreater(d1, d2);
16566 i = isunordered(d1, d2);
16567
16568 ;
16569 return 0;
16570 }
16571 _ACEOF
16572 if ac_fn_cxx_try_link "$LINENO"; then :
16573 glibcxx_cv_c99_math=yes
16574 else
16575 glibcxx_cv_c99_math=no
16576 fi
16577 rm -f core conftest.err conftest.$ac_objext \
16578 conftest$ac_exeext conftest.$ac_ext
16579 fi
16580
16581 fi
16582
16583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16584 $as_echo "$glibcxx_cv_c99_math" >&6; }
16585 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16586
16587 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16588
16589 fi
16590
16591 # Check for the existence of <complex.h> complex math functions.
16592 # This is necessary even though libstdc++ uses the builtin versions
16593 # of these functions, because if the builtin cannot be used, a reference
16594 # to the library function is emitted.
16595 for ac_header in tgmath.h
16596 do :
16597 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16598 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16599 cat >>confdefs.h <<_ACEOF
16600 #define HAVE_TGMATH_H 1
16601 _ACEOF
16602 ac_has_tgmath_h=yes
16603 else
16604 ac_has_tgmath_h=no
16605 fi
16606
16607 done
16608
16609 for ac_header in complex.h
16610 do :
16611 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16612 if test "x$ac_cv_header_complex_h" = x""yes; then :
16613 cat >>confdefs.h <<_ACEOF
16614 #define HAVE_COMPLEX_H 1
16615 _ACEOF
16616 ac_has_complex_h=yes
16617 else
16618 ac_has_complex_h=no
16619 fi
16620
16621 done
16622
16623 glibcxx_cv_c99_complex=no;
16624 if test x"$ac_has_complex_h" = x"yes"; then
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16626 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16627 if test x$gcc_no_link = xyes; then
16628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16629 /* end confdefs.h. */
16630 #include <complex.h>
16631 typedef __complex__ float float_type;
16632 typedef __complex__ double double_type;
16633 typedef __complex__ long double ld_type;
16634 volatile float_type tmpf;
16635 volatile double_type tmpd;
16636 volatile ld_type tmpld;
16637 volatile float f;
16638 volatile double d;
16639 volatile long double ld;
16640 int
16641 main ()
16642 {
16643 f = cabsf(tmpf);
16644 f = cargf(tmpf);
16645 tmpf = ccosf(tmpf);
16646 tmpf = ccoshf(tmpf);
16647 tmpf = cexpf(tmpf);
16648 tmpf = clogf(tmpf);
16649 tmpf = csinf(tmpf);
16650 tmpf = csinhf(tmpf);
16651 tmpf = csqrtf(tmpf);
16652 tmpf = ctanf(tmpf);
16653 tmpf = ctanhf(tmpf);
16654 tmpf = cpowf(tmpf, tmpf);
16655 tmpf = cprojf(tmpf);
16656 d = cabs(tmpd);
16657 d = carg(tmpd);
16658 tmpd = ccos(tmpd);
16659 tmpd = ccosh(tmpd);
16660 tmpd = cexp(tmpd);
16661 tmpd = clog(tmpd);
16662 tmpd = csin(tmpd);
16663 tmpd = csinh(tmpd);
16664 tmpd = csqrt(tmpd);
16665 tmpd = ctan(tmpd);
16666 tmpd = ctanh(tmpd);
16667 tmpd = cpow(tmpd, tmpd);
16668 tmpd = cproj(tmpd);
16669 ld = cabsl(tmpld);
16670 ld = cargl(tmpld);
16671 tmpld = ccosl(tmpld);
16672 tmpld = ccoshl(tmpld);
16673 tmpld = cexpl(tmpld);
16674 tmpld = clogl(tmpld);
16675 tmpld = csinl(tmpld);
16676 tmpld = csinhl(tmpld);
16677 tmpld = csqrtl(tmpld);
16678 tmpld = ctanl(tmpld);
16679 tmpld = ctanhl(tmpld);
16680 tmpld = cpowl(tmpld, tmpld);
16681 tmpld = cprojl(tmpld);
16682
16683 ;
16684 return 0;
16685 }
16686 _ACEOF
16687 if ac_fn_cxx_try_compile "$LINENO"; then :
16688 glibcxx_cv_c99_complex=yes
16689 else
16690 glibcxx_cv_c99_complex=no
16691 fi
16692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16693 else
16694 if test x$gcc_no_link = xyes; then
16695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16696 fi
16697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16698 /* end confdefs.h. */
16699 #include <complex.h>
16700 typedef __complex__ float float_type;
16701 typedef __complex__ double double_type;
16702 typedef __complex__ long double ld_type;
16703 volatile float_type tmpf;
16704 volatile double_type tmpd;
16705 volatile ld_type tmpld;
16706 volatile float f;
16707 volatile double d;
16708 volatile long double ld;
16709 int
16710 main ()
16711 {
16712 f = cabsf(tmpf);
16713 f = cargf(tmpf);
16714 tmpf = ccosf(tmpf);
16715 tmpf = ccoshf(tmpf);
16716 tmpf = cexpf(tmpf);
16717 tmpf = clogf(tmpf);
16718 tmpf = csinf(tmpf);
16719 tmpf = csinhf(tmpf);
16720 tmpf = csqrtf(tmpf);
16721 tmpf = ctanf(tmpf);
16722 tmpf = ctanhf(tmpf);
16723 tmpf = cpowf(tmpf, tmpf);
16724 tmpf = cprojf(tmpf);
16725 d = cabs(tmpd);
16726 d = carg(tmpd);
16727 tmpd = ccos(tmpd);
16728 tmpd = ccosh(tmpd);
16729 tmpd = cexp(tmpd);
16730 tmpd = clog(tmpd);
16731 tmpd = csin(tmpd);
16732 tmpd = csinh(tmpd);
16733 tmpd = csqrt(tmpd);
16734 tmpd = ctan(tmpd);
16735 tmpd = ctanh(tmpd);
16736 tmpd = cpow(tmpd, tmpd);
16737 tmpd = cproj(tmpd);
16738 ld = cabsl(tmpld);
16739 ld = cargl(tmpld);
16740 tmpld = ccosl(tmpld);
16741 tmpld = ccoshl(tmpld);
16742 tmpld = cexpl(tmpld);
16743 tmpld = clogl(tmpld);
16744 tmpld = csinl(tmpld);
16745 tmpld = csinhl(tmpld);
16746 tmpld = csqrtl(tmpld);
16747 tmpld = ctanl(tmpld);
16748 tmpld = ctanhl(tmpld);
16749 tmpld = cpowl(tmpld, tmpld);
16750 tmpld = cprojl(tmpld);
16751
16752 ;
16753 return 0;
16754 }
16755 _ACEOF
16756 if ac_fn_cxx_try_link "$LINENO"; then :
16757 glibcxx_cv_c99_complex=yes
16758 else
16759 glibcxx_cv_c99_complex=no
16760 fi
16761 rm -f core conftest.err conftest.$ac_objext \
16762 conftest$ac_exeext conftest.$ac_ext
16763 fi
16764 fi
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16766 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16767 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16768
16769 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16770
16771 fi
16772
16773 # Check for the existence in <stdio.h> of vscanf, et. al.
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16775 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16776 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16777 $as_echo_n "(cached) " >&6
16778 else
16779
16780 if test x$gcc_no_link = xyes; then
16781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16782 /* end confdefs.h. */
16783 #include <stdio.h>
16784 #include <stdarg.h>
16785 void foo(char* fmt, ...)
16786 {
16787 va_list args; va_start(args, fmt);
16788 vfscanf(stderr, "%i", args);
16789 vscanf("%i", args);
16790 vsnprintf(fmt, 0, "%i", args);
16791 vsscanf(fmt, "%i", args);
16792 }
16793 int
16794 main ()
16795 {
16796 snprintf("12", 0, "%i");
16797 ;
16798 return 0;
16799 }
16800 _ACEOF
16801 if ac_fn_cxx_try_compile "$LINENO"; then :
16802 glibcxx_cv_c99_stdio=yes
16803 else
16804 glibcxx_cv_c99_stdio=no
16805 fi
16806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16807 else
16808 if test x$gcc_no_link = xyes; then
16809 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16810 fi
16811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16812 /* end confdefs.h. */
16813 #include <stdio.h>
16814 #include <stdarg.h>
16815 void foo(char* fmt, ...)
16816 {
16817 va_list args; va_start(args, fmt);
16818 vfscanf(stderr, "%i", args);
16819 vscanf("%i", args);
16820 vsnprintf(fmt, 0, "%i", args);
16821 vsscanf(fmt, "%i", args);
16822 }
16823 int
16824 main ()
16825 {
16826 snprintf("12", 0, "%i");
16827 ;
16828 return 0;
16829 }
16830 _ACEOF
16831 if ac_fn_cxx_try_link "$LINENO"; then :
16832 glibcxx_cv_c99_stdio=yes
16833 else
16834 glibcxx_cv_c99_stdio=no
16835 fi
16836 rm -f core conftest.err conftest.$ac_objext \
16837 conftest$ac_exeext conftest.$ac_ext
16838 fi
16839
16840 fi
16841
16842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16843 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16844
16845 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16847 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16848 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16849 $as_echo_n "(cached) " >&6
16850 else
16851
16852 if test x$gcc_no_link = xyes; then
16853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16854 /* end confdefs.h. */
16855 #include <stdlib.h>
16856 volatile float f;
16857 volatile long double ld;
16858 volatile unsigned long long ll;
16859 lldiv_t mydivt;
16860 int
16861 main ()
16862 {
16863 char* tmp;
16864 f = strtof("gnu", &tmp);
16865 ld = strtold("gnu", &tmp);
16866 ll = strtoll("gnu", &tmp, 10);
16867 ll = strtoull("gnu", &tmp, 10);
16868 ll = llabs(10);
16869 mydivt = lldiv(10,1);
16870 ll = mydivt.quot;
16871 ll = mydivt.rem;
16872 ll = atoll("10");
16873 _Exit(0);
16874
16875 ;
16876 return 0;
16877 }
16878 _ACEOF
16879 if ac_fn_cxx_try_compile "$LINENO"; then :
16880 glibcxx_cv_c99_stdlib=yes
16881 else
16882 glibcxx_cv_c99_stdlib=no
16883 fi
16884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16885 else
16886 if test x$gcc_no_link = xyes; then
16887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16888 fi
16889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16890 /* end confdefs.h. */
16891 #include <stdlib.h>
16892 volatile float f;
16893 volatile long double ld;
16894 volatile unsigned long long ll;
16895 lldiv_t mydivt;
16896 int
16897 main ()
16898 {
16899 char* tmp;
16900 f = strtof("gnu", &tmp);
16901 ld = strtold("gnu", &tmp);
16902 ll = strtoll("gnu", &tmp, 10);
16903 ll = strtoull("gnu", &tmp, 10);
16904 ll = llabs(10);
16905 mydivt = lldiv(10,1);
16906 ll = mydivt.quot;
16907 ll = mydivt.rem;
16908 ll = atoll("10");
16909 _Exit(0);
16910
16911 ;
16912 return 0;
16913 }
16914 _ACEOF
16915 if ac_fn_cxx_try_link "$LINENO"; then :
16916 glibcxx_cv_c99_stdlib=yes
16917 else
16918 glibcxx_cv_c99_stdlib=no
16919 fi
16920 rm -f core conftest.err conftest.$ac_objext \
16921 conftest$ac_exeext conftest.$ac_ext
16922 fi
16923
16924 fi
16925
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16927 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16928
16929 # Check for the existence in <wchar.h> of wcstold, etc.
16930 glibcxx_cv_c99_wchar=no;
16931 if test x"$ac_has_wchar_h" = xyes &&
16932 test x"$ac_has_wctype_h" = xyes; then
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16934 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16936 /* end confdefs.h. */
16937 #include <wchar.h>
16938 namespace test
16939 {
16940 using ::wcstold;
16941 using ::wcstoll;
16942 using ::wcstoull;
16943 }
16944
16945 int
16946 main ()
16947 {
16948
16949 ;
16950 return 0;
16951 }
16952 _ACEOF
16953 if ac_fn_cxx_try_compile "$LINENO"; then :
16954 glibcxx_cv_c99_wchar=yes
16955 else
16956 glibcxx_cv_c99_wchar=no
16957 fi
16958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16959
16960 # Checks for wide character functions that may not be present.
16961 # Injection of these is wrapped with guard macros.
16962 # NB: only put functions here, instead of immediately above, if
16963 # absolutely necessary.
16964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16966 #include <wchar.h>
16967 namespace test { using ::vfwscanf; }
16968 int
16969 main ()
16970 {
16971
16972 ;
16973 return 0;
16974 }
16975 _ACEOF
16976 if ac_fn_cxx_try_compile "$LINENO"; then :
16977
16978 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16979
16980 fi
16981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16982
16983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16984 /* end confdefs.h. */
16985 #include <wchar.h>
16986 namespace test { using ::vswscanf; }
16987 int
16988 main ()
16989 {
16990
16991 ;
16992 return 0;
16993 }
16994 _ACEOF
16995 if ac_fn_cxx_try_compile "$LINENO"; then :
16996
16997 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16998
16999 fi
17000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17001
17002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17003 /* end confdefs.h. */
17004 #include <wchar.h>
17005 namespace test { using ::vwscanf; }
17006 int
17007 main ()
17008 {
17009
17010 ;
17011 return 0;
17012 }
17013 _ACEOF
17014 if ac_fn_cxx_try_compile "$LINENO"; then :
17015
17016 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17017
17018 fi
17019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17020
17021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17023 #include <wchar.h>
17024 namespace test { using ::wcstof; }
17025 int
17026 main ()
17027 {
17028
17029 ;
17030 return 0;
17031 }
17032 _ACEOF
17033 if ac_fn_cxx_try_compile "$LINENO"; then :
17034
17035 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17036
17037 fi
17038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17039
17040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17041 /* end confdefs.h. */
17042 #include <wctype.h>
17043 int
17044 main ()
17045 {
17046 wint_t t; int i = iswblank(t);
17047 ;
17048 return 0;
17049 }
17050 _ACEOF
17051 if ac_fn_cxx_try_compile "$LINENO"; then :
17052
17053 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17054
17055 fi
17056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17057
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17059 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17060 fi
17061
17062 # Option parsed, now set things appropriately.
17063 if test x"$glibcxx_cv_c99_math" = x"no" ||
17064 test x"$glibcxx_cv_c99_complex" = x"no" ||
17065 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17066 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17067 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17068 enable_c99=no;
17069 else
17070
17071 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17072
17073 fi
17074
17075 gcc_no_link="$ac_save_gcc_no_link"
17076 LIBS="$ac_save_LIBS"
17077 CXXFLAGS="$ac_save_CXXFLAGS"
17078 ac_ext=c
17079 ac_cpp='$CPP $CPPFLAGS'
17080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17083
17084 fi
17085
17086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17087 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17089 $as_echo "$enable_c99" >&6; }
17090
17091
17092 # Check whether --enable-concept-checks was given.
17093 if test "${enable_concept_checks+set}" = set; then :
17094 enableval=$enable_concept_checks;
17095 case "$enableval" in
17096 yes|no) ;;
17097 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17098 esac
17099
17100 else
17101 enable_concept_checks=no
17102 fi
17103
17104
17105 if test $enable_concept_checks = yes; then
17106
17107 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17108
17109 fi
17110
17111
17112 # Check whether --enable-libstdcxx-debug-flags was given.
17113 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17114 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17115 xno | x) enable_libstdcxx_debug_flags= ;;
17116 x-*) ;;
17117 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17118 esac
17119 else
17120 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17121 fi
17122
17123
17124
17125 # Option parsed, now set things appropriately
17126 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17127
17128
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17130 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17131
17132
17133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17134 $as_echo_n "checking for additional debug build... " >&6; }
17135 # Check whether --enable-libstdcxx-debug was given.
17136 if test "${enable_libstdcxx_debug+set}" = set; then :
17137 enableval=$enable_libstdcxx_debug;
17138 case "$enableval" in
17139 yes|no) ;;
17140 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17141 esac
17142
17143 else
17144 enable_libstdcxx_debug=no
17145 fi
17146
17147
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17149 $as_echo "$enable_libstdcxx_debug" >&6; }
17150
17151
17152
17153
17154 enable_parallel=no;
17155
17156 # See if configured libgomp/omp.h exists. (libgomp may be in
17157 # noconfigdirs but not explicitly disabled.)
17158 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17159 enable_parallel=yes;
17160 else
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17162 $as_echo "$as_me: target-libgomp not built" >&6;}
17163 fi
17164
17165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17166 $as_echo_n "checking for parallel mode support... " >&6; }
17167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17168 $as_echo "$enable_parallel" >&6; }
17169
17170
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17172 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17173 # Check whether --enable-cxx-flags was given.
17174 if test "${enable_cxx_flags+set}" = set; then :
17175 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17176 xno | x) enable_cxx_flags= ;;
17177 x-*) ;;
17178 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17179 esac
17180 else
17181 enable_cxx_flags=
17182 fi
17183
17184
17185
17186 # Run through flags (either default or command-line) and set anything
17187 # extra (e.g., #defines) that must accompany particular g++ options.
17188 if test -n "$enable_cxx_flags"; then
17189 for f in $enable_cxx_flags; do
17190 case "$f" in
17191 -fhonor-std) ;;
17192 -*) ;;
17193 *) # and we're trying to pass /what/ exactly?
17194 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17195 esac
17196 done
17197 fi
17198
17199 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17201 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17202
17203
17204
17205 # Check whether --enable-fully-dynamic-string was given.
17206 if test "${enable_fully_dynamic_string+set}" = set; then :
17207 enableval=$enable_fully_dynamic_string;
17208 case "$enableval" in
17209 yes|no) ;;
17210 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17211 esac
17212
17213 else
17214 enable_fully_dynamic_string=no
17215 fi
17216
17217
17218 if test $enable_fully_dynamic_string = yes; then
17219 enable_fully_dynamic_string_def=1
17220 else
17221 enable_fully_dynamic_string_def=0
17222 fi
17223
17224 cat >>confdefs.h <<_ACEOF
17225 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17226 _ACEOF
17227
17228
17229
17230
17231 # Check whether --enable-extern-template was given.
17232 if test "${enable_extern_template+set}" = set; then :
17233 enableval=$enable_extern_template;
17234 case "$enableval" in
17235 yes|no) ;;
17236 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17237 esac
17238
17239 else
17240 enable_extern_template=yes
17241 fi
17242
17243
17244
17245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17246 $as_echo_n "checking for extern template support... " >&6; }
17247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17248 $as_echo "$enable_extern_template" >&6; }
17249
17250
17251
17252
17253
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17255 $as_echo_n "checking for custom python install directory... " >&6; }
17256
17257 # Check whether --with-python-dir was given.
17258 if test "${with_python_dir+set}" = set; then :
17259 withval=$with_python_dir; with_python_dir=$withval
17260 else
17261 with_python_dir="no"
17262 fi
17263
17264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17265 $as_echo "${with_python_dir}" >&6; }
17266
17267 # Needed for installing Python modules during make install.
17268 python_mod_dir="${with_python_dir}"
17269
17270
17271
17272
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17274 $as_echo_n "checking for -Werror... " >&6; }
17275 # Check whether --enable-werror was given.
17276 if test "${enable_werror+set}" = set; then :
17277 enableval=$enable_werror;
17278 case "$enableval" in
17279 yes|no) ;;
17280 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17281 esac
17282
17283 else
17284 enable_werror=yes
17285 fi
17286
17287
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17289 $as_echo "$enable_werror" >&6; }
17290
17291
17292
17293 # Checks for operating systems support that doesn't require linking.
17294
17295
17296
17297 ac_ext=cpp
17298 ac_cpp='$CXXCPP $CPPFLAGS'
17299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17302
17303
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17305 $as_echo_n "checking for gets declaration... " >&6; }
17306 if test "${glibcxx_cv_gets+set}" = set; then :
17307 $as_echo_n "(cached) " >&6
17308 else
17309
17310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17311 /* end confdefs.h. */
17312 #include <stdio.h>
17313 namespace test
17314 {
17315 using ::gets;
17316 }
17317
17318 _ACEOF
17319 if ac_fn_cxx_try_compile "$LINENO"; then :
17320 glibcxx_cv_gets=yes
17321 else
17322 glibcxx_cv_gets=no
17323
17324 fi
17325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17326 fi
17327
17328
17329 if test $glibcxx_cv_gets = yes; then
17330
17331 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17332
17333 fi
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17335 $as_echo "$glibcxx_cv_gets" >&6; }
17336
17337 ac_ext=c
17338 ac_cpp='$CPP $CPPFLAGS'
17339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17342
17343
17344
17345
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17347 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17348 if test "${glibcxx_cv_system_error1+set}" = set; then :
17349 $as_echo_n "(cached) " >&6
17350 else
17351
17352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17353 /* end confdefs.h. */
17354 #include <errno.h>
17355 int
17356 main ()
17357 {
17358 int i = EOWNERDEAD;
17359 ;
17360 return 0;
17361 }
17362 _ACEOF
17363 if ac_fn_c_try_compile "$LINENO"; then :
17364 glibcxx_cv_system_error1=yes
17365 else
17366 glibcxx_cv_system_error1=no
17367 fi
17368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17369
17370 fi
17371
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17373 $as_echo "$glibcxx_cv_system_error1" >&6; }
17374 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17375
17376 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17377
17378 fi
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17380 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17381 if test "${glibcxx_cv_system_error2+set}" = set; then :
17382 $as_echo_n "(cached) " >&6
17383 else
17384
17385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17386 /* end confdefs.h. */
17387 #include <errno.h>
17388 int
17389 main ()
17390 {
17391 int i = ENOTRECOVERABLE;
17392 ;
17393 return 0;
17394 }
17395 _ACEOF
17396 if ac_fn_c_try_compile "$LINENO"; then :
17397 glibcxx_cv_system_error2=yes
17398 else
17399 glibcxx_cv_system_error2=no
17400 fi
17401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17402
17403 fi
17404
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17406 $as_echo "$glibcxx_cv_system_error2" >&6; }
17407 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17408
17409 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17410
17411 fi
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17413 $as_echo_n "checking for ENOLINK... " >&6; }
17414 if test "${glibcxx_cv_system_error3+set}" = set; then :
17415 $as_echo_n "(cached) " >&6
17416 else
17417
17418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17419 /* end confdefs.h. */
17420 #include <errno.h>
17421 int
17422 main ()
17423 {
17424 int i = ENOLINK;
17425 ;
17426 return 0;
17427 }
17428 _ACEOF
17429 if ac_fn_c_try_compile "$LINENO"; then :
17430 glibcxx_cv_system_error3=yes
17431 else
17432 glibcxx_cv_system_error3=no
17433 fi
17434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17435
17436 fi
17437
17438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17439 $as_echo "$glibcxx_cv_system_error3" >&6; }
17440 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17441
17442 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17443
17444 fi
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17446 $as_echo_n "checking for EPROTO... " >&6; }
17447 if test "${glibcxx_cv_system_error4+set}" = set; then :
17448 $as_echo_n "(cached) " >&6
17449 else
17450
17451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17452 /* end confdefs.h. */
17453 #include <errno.h>
17454 int
17455 main ()
17456 {
17457 int i = EPROTO;
17458 ;
17459 return 0;
17460 }
17461 _ACEOF
17462 if ac_fn_c_try_compile "$LINENO"; then :
17463 glibcxx_cv_system_error4=yes
17464 else
17465 glibcxx_cv_system_error4=no
17466 fi
17467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17468
17469 fi
17470
17471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17472 $as_echo "$glibcxx_cv_system_error4" >&6; }
17473 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17474
17475 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17476
17477 fi
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17479 $as_echo_n "checking for ENODATA... " >&6; }
17480 if test "${glibcxx_cv_system_error5+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 <errno.h>
17487 int
17488 main ()
17489 {
17490 int i = ENODATA;
17491 ;
17492 return 0;
17493 }
17494 _ACEOF
17495 if ac_fn_c_try_compile "$LINENO"; then :
17496 glibcxx_cv_system_error5=yes
17497 else
17498 glibcxx_cv_system_error5=no
17499 fi
17500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17501
17502 fi
17503
17504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17505 $as_echo "$glibcxx_cv_system_error5" >&6; }
17506 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17507
17508 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17509
17510 fi
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17512 $as_echo_n "checking for ENOSR... " >&6; }
17513 if test "${glibcxx_cv_system_error6+set}" = set; then :
17514 $as_echo_n "(cached) " >&6
17515 else
17516
17517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17518 /* end confdefs.h. */
17519 #include <errno.h>
17520 int
17521 main ()
17522 {
17523 int i = ENOSR;
17524 ;
17525 return 0;
17526 }
17527 _ACEOF
17528 if ac_fn_c_try_compile "$LINENO"; then :
17529 glibcxx_cv_system_error6=yes
17530 else
17531 glibcxx_cv_system_error6=no
17532 fi
17533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17534
17535 fi
17536
17537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17538 $as_echo "$glibcxx_cv_system_error6" >&6; }
17539 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17540
17541 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17542
17543 fi
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17545 $as_echo_n "checking for ENOSTR... " >&6; }
17546 if test "${glibcxx_cv_system_error7+set}" = set; then :
17547 $as_echo_n "(cached) " >&6
17548 else
17549
17550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17551 /* end confdefs.h. */
17552 #include <errno.h>
17553 int
17554 main ()
17555 {
17556 int i = ENOSTR;
17557 ;
17558 return 0;
17559 }
17560 _ACEOF
17561 if ac_fn_c_try_compile "$LINENO"; then :
17562 glibcxx_cv_system_error7=yes
17563 else
17564 glibcxx_cv_system_error7=no
17565 fi
17566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17567
17568 fi
17569
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17571 $as_echo "$glibcxx_cv_system_error7" >&6; }
17572 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17573
17574 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17575
17576 fi
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17578 $as_echo_n "checking for ETIME... " >&6; }
17579 if test "${glibcxx_cv_system_error8+set}" = set; then :
17580 $as_echo_n "(cached) " >&6
17581 else
17582
17583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17584 /* end confdefs.h. */
17585 #include <errno.h>
17586 int
17587 main ()
17588 {
17589 int i = ETIME;
17590 ;
17591 return 0;
17592 }
17593 _ACEOF
17594 if ac_fn_c_try_compile "$LINENO"; then :
17595 glibcxx_cv_system_error8=yes
17596 else
17597 glibcxx_cv_system_error8=no
17598 fi
17599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17600
17601 fi
17602
17603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17604 $as_echo "$glibcxx_cv_system_error8" >&6; }
17605 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17606
17607 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17608
17609 fi
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17611 $as_echo_n "checking for EBADMSG... " >&6; }
17612 if test "${glibcxx_cv_system_error9+set}" = set; then :
17613 $as_echo_n "(cached) " >&6
17614 else
17615
17616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17617 /* end confdefs.h. */
17618 #include <errno.h>
17619 int
17620 main ()
17621 {
17622 int i = EBADMSG;
17623 ;
17624 return 0;
17625 }
17626 _ACEOF
17627 if ac_fn_c_try_compile "$LINENO"; then :
17628 glibcxx_cv_system_error9=yes
17629 else
17630 glibcxx_cv_system_error9=no
17631 fi
17632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17633
17634 fi
17635
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17637 $as_echo "$glibcxx_cv_system_error9" >&6; }
17638 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17639
17640 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17641
17642 fi
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17644 $as_echo_n "checking for ECANCELED... " >&6; }
17645 if test "${glibcxx_cv_system_error10+set}" = set; then :
17646 $as_echo_n "(cached) " >&6
17647 else
17648
17649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17650 /* end confdefs.h. */
17651 #include <errno.h>
17652 int
17653 main ()
17654 {
17655 int i = ECANCELED;
17656 ;
17657 return 0;
17658 }
17659 _ACEOF
17660 if ac_fn_c_try_compile "$LINENO"; then :
17661 glibcxx_cv_system_error10=yes
17662 else
17663 glibcxx_cv_system_error10=no
17664 fi
17665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17666
17667 fi
17668
17669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17670 $as_echo "$glibcxx_cv_system_error10" >&6; }
17671 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17672
17673 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17674
17675 fi
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17677 $as_echo_n "checking for EOVERFLOW... " >&6; }
17678 if test "${glibcxx_cv_system_error11+set}" = set; then :
17679 $as_echo_n "(cached) " >&6
17680 else
17681
17682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17683 /* end confdefs.h. */
17684 #include <errno.h>
17685 int
17686 main ()
17687 {
17688 int i = EOVERFLOW;
17689 ;
17690 return 0;
17691 }
17692 _ACEOF
17693 if ac_fn_c_try_compile "$LINENO"; then :
17694 glibcxx_cv_system_error11=yes
17695 else
17696 glibcxx_cv_system_error11=no
17697 fi
17698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17699
17700 fi
17701
17702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17703 $as_echo "$glibcxx_cv_system_error11" >&6; }
17704 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17705
17706 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17707
17708 fi
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17710 $as_echo_n "checking for ENOTSUP... " >&6; }
17711 if test "${glibcxx_cv_system_error12+set}" = set; then :
17712 $as_echo_n "(cached) " >&6
17713 else
17714
17715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17716 /* end confdefs.h. */
17717 #include <errno.h>
17718 int
17719 main ()
17720 {
17721 int i = ENOTSUP;
17722 ;
17723 return 0;
17724 }
17725 _ACEOF
17726 if ac_fn_c_try_compile "$LINENO"; then :
17727 glibcxx_cv_system_error12=yes
17728 else
17729 glibcxx_cv_system_error12=no
17730 fi
17731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17732
17733 fi
17734
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17736 $as_echo "$glibcxx_cv_system_error12" >&6; }
17737 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17738
17739 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17740
17741 fi
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17743 $as_echo_n "checking for EIDRM... " >&6; }
17744 if test "${glibcxx_cv_system_error13+set}" = set; then :
17745 $as_echo_n "(cached) " >&6
17746 else
17747
17748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17749 /* end confdefs.h. */
17750 #include <errno.h>
17751 int
17752 main ()
17753 {
17754 int i = EIDRM;
17755 ;
17756 return 0;
17757 }
17758 _ACEOF
17759 if ac_fn_c_try_compile "$LINENO"; then :
17760 glibcxx_cv_system_error13=yes
17761 else
17762 glibcxx_cv_system_error13=no
17763 fi
17764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17765
17766 fi
17767
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17769 $as_echo "$glibcxx_cv_system_error13" >&6; }
17770 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17771
17772 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17773
17774 fi
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17776 $as_echo_n "checking for ETXTBSY... " >&6; }
17777 if test "${glibcxx_cv_system_error14+set}" = set; then :
17778 $as_echo_n "(cached) " >&6
17779 else
17780
17781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17782 /* end confdefs.h. */
17783 #include <errno.h>
17784 int
17785 main ()
17786 {
17787 int i = ETXTBSY;
17788 ;
17789 return 0;
17790 }
17791 _ACEOF
17792 if ac_fn_c_try_compile "$LINENO"; then :
17793 glibcxx_cv_system_error14=yes
17794 else
17795 glibcxx_cv_system_error14=no
17796 fi
17797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17798
17799 fi
17800
17801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17802 $as_echo "$glibcxx_cv_system_error14" >&6; }
17803 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17804
17805 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17806
17807 fi
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17809 $as_echo_n "checking for ECHILD... " >&6; }
17810 if test "${glibcxx_cv_system_error15+set}" = set; then :
17811 $as_echo_n "(cached) " >&6
17812 else
17813
17814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17815 /* end confdefs.h. */
17816 #include <errno.h>
17817 int
17818 main ()
17819 {
17820 int i = ECHILD;
17821 ;
17822 return 0;
17823 }
17824 _ACEOF
17825 if ac_fn_c_try_compile "$LINENO"; then :
17826 glibcxx_cv_system_error15=yes
17827 else
17828 glibcxx_cv_system_error15=no
17829 fi
17830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17831
17832 fi
17833
17834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17835 $as_echo "$glibcxx_cv_system_error15" >&6; }
17836 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17837
17838 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17839
17840 fi
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17842 $as_echo_n "checking for ENOSPC... " >&6; }
17843 if test "${glibcxx_cv_system_error16+set}" = set; then :
17844 $as_echo_n "(cached) " >&6
17845 else
17846
17847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17848 /* end confdefs.h. */
17849 #include <errno.h>
17850 int
17851 main ()
17852 {
17853 int i = ENOSPC;
17854 ;
17855 return 0;
17856 }
17857 _ACEOF
17858 if ac_fn_c_try_compile "$LINENO"; then :
17859 glibcxx_cv_system_error16=yes
17860 else
17861 glibcxx_cv_system_error16=no
17862 fi
17863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17864
17865 fi
17866
17867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17868 $as_echo "$glibcxx_cv_system_error16" >&6; }
17869 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17870
17871 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17872
17873 fi
17874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17875 $as_echo_n "checking for EPERM... " >&6; }
17876 if test "${glibcxx_cv_system_error17+set}" = set; then :
17877 $as_echo_n "(cached) " >&6
17878 else
17879
17880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17881 /* end confdefs.h. */
17882 #include <errno.h>
17883 int
17884 main ()
17885 {
17886 int i = EPERM;
17887 ;
17888 return 0;
17889 }
17890 _ACEOF
17891 if ac_fn_c_try_compile "$LINENO"; then :
17892 glibcxx_cv_system_error17=yes
17893 else
17894 glibcxx_cv_system_error17=no
17895 fi
17896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17897
17898 fi
17899
17900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17901 $as_echo "$glibcxx_cv_system_error17" >&6; }
17902 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17903
17904 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17905
17906 fi
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17908 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17909 if test "${glibcxx_cv_system_error18+set}" = set; then :
17910 $as_echo_n "(cached) " >&6
17911 else
17912
17913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17914 /* end confdefs.h. */
17915 #include <errno.h>
17916 int
17917 main ()
17918 {
17919 int i = ETIMEDOUT;
17920 ;
17921 return 0;
17922 }
17923 _ACEOF
17924 if ac_fn_c_try_compile "$LINENO"; then :
17925 glibcxx_cv_system_error18=yes
17926 else
17927 glibcxx_cv_system_error18=no
17928 fi
17929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17930
17931 fi
17932
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
17934 $as_echo "$glibcxx_cv_system_error18" >&6; }
17935 if test x"$glibcxx_cv_system_error18" = x"yes"; then
17936
17937 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
17938
17939 fi
17940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
17941 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
17942 if test "${glibcxx_cv_system_error19+set}" = set; then :
17943 $as_echo_n "(cached) " >&6
17944 else
17945
17946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17947 /* end confdefs.h. */
17948 #include <errno.h>
17949 int
17950 main ()
17951 {
17952 int i = EWOULDBLOCK;
17953 ;
17954 return 0;
17955 }
17956 _ACEOF
17957 if ac_fn_c_try_compile "$LINENO"; then :
17958 glibcxx_cv_system_error19=yes
17959 else
17960 glibcxx_cv_system_error19=no
17961 fi
17962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17963
17964 fi
17965
17966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
17967 $as_echo "$glibcxx_cv_system_error19" >&6; }
17968 if test x"$glibcxx_cv_system_error19" = x"yes"; then
17969
17970 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
17971
17972 fi
17973
17974
17975
17976 # For the streamoff typedef.
17977
17978
17979
17980 ac_ext=cpp
17981 ac_cpp='$CXXCPP $CPPFLAGS'
17982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17985
17986
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17988 $as_echo_n "checking for int64_t... " >&6; }
17989 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17990 $as_echo_n "(cached) " >&6
17991 else
17992
17993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17994 /* end confdefs.h. */
17995 #include <stdint.h>
17996 int
17997 main ()
17998 {
17999 int64_t var;
18000 ;
18001 return 0;
18002 }
18003 _ACEOF
18004 if ac_fn_cxx_try_compile "$LINENO"; then :
18005 glibcxx_cv_INT64_T=yes
18006 else
18007 glibcxx_cv_INT64_T=no
18008 fi
18009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18010
18011 fi
18012
18013
18014 if test $glibcxx_cv_INT64_T = yes; then
18015
18016 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18017
18018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18019 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18020
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18022 $as_echo_n "checking for int64_t as long... " >&6; }
18023 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18024 $as_echo_n "(cached) " >&6
18025 else
18026
18027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18028 /* end confdefs.h. */
18029 #include <stdint.h>
18030 template<typename, typename> struct same { enum { value = -1 }; };
18031 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18032 int array[same<int64_t, long>::value];
18033 int
18034 main ()
18035 {
18036
18037 ;
18038 return 0;
18039 }
18040 _ACEOF
18041 if ac_fn_cxx_try_compile "$LINENO"; then :
18042 glibcxx_cv_int64_t_long=yes
18043 else
18044 glibcxx_cv_int64_t_long=no
18045 fi
18046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18047
18048 fi
18049
18050
18051 if test $glibcxx_cv_int64_t_long = yes; then
18052
18053 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18054
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18056 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18057 fi
18058
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18060 $as_echo_n "checking for int64_t as long long... " >&6; }
18061 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18062 $as_echo_n "(cached) " >&6
18063 else
18064
18065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18066 /* end confdefs.h. */
18067 #include <stdint.h>
18068 template<typename, typename> struct same { enum { value = -1 }; };
18069 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18070 int array[same<int64_t, long long>::value];
18071 int
18072 main ()
18073 {
18074
18075 ;
18076 return 0;
18077 }
18078 _ACEOF
18079 if ac_fn_cxx_try_compile "$LINENO"; then :
18080 glibcxx_cv_int64_t_long_long=yes
18081 else
18082 glibcxx_cv_int64_t_long_long=no
18083 fi
18084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18085
18086 fi
18087
18088
18089 if test $glibcxx_cv_int64_t_long_long = yes; then
18090
18091 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18092
18093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18094 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18095 fi
18096 fi
18097
18098 ac_ext=c
18099 ac_cpp='$CPP $CPPFLAGS'
18100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18103
18104
18105
18106 # For LFS support.
18107
18108
18109 ac_ext=cpp
18110 ac_cpp='$CXXCPP $CPPFLAGS'
18111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18114
18115 ac_save_CXXFLAGS="$CXXFLAGS"
18116 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18118 $as_echo_n "checking for LFS support... " >&6; }
18119 if test "${glibcxx_cv_LFS+set}" = set; then :
18120 $as_echo_n "(cached) " >&6
18121 else
18122
18123 if test x$gcc_no_link = xyes; then
18124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18125 /* end confdefs.h. */
18126 #include <unistd.h>
18127 #include <stdio.h>
18128 #include <sys/stat.h>
18129
18130 int
18131 main ()
18132 {
18133 FILE* fp;
18134 fopen64("t", "w");
18135 fseeko64(fp, 0, SEEK_CUR);
18136 ftello64(fp);
18137 lseek64(1, 0, SEEK_CUR);
18138 struct stat64 buf;
18139 fstat64(1, &buf);
18140 ;
18141 return 0;
18142 }
18143 _ACEOF
18144 if ac_fn_cxx_try_compile "$LINENO"; then :
18145 glibcxx_cv_LFS=yes
18146 else
18147 glibcxx_cv_LFS=no
18148 fi
18149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18150 else
18151 if test x$gcc_no_link = xyes; then
18152 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18153 fi
18154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h. */
18156 #include <unistd.h>
18157 #include <stdio.h>
18158 #include <sys/stat.h>
18159
18160 int
18161 main ()
18162 {
18163 FILE* fp;
18164 fopen64("t", "w");
18165 fseeko64(fp, 0, SEEK_CUR);
18166 ftello64(fp);
18167 lseek64(1, 0, SEEK_CUR);
18168 struct stat64 buf;
18169 fstat64(1, &buf);
18170 ;
18171 return 0;
18172 }
18173 _ACEOF
18174 if ac_fn_cxx_try_link "$LINENO"; then :
18175 glibcxx_cv_LFS=yes
18176 else
18177 glibcxx_cv_LFS=no
18178 fi
18179 rm -f core conftest.err conftest.$ac_objext \
18180 conftest$ac_exeext conftest.$ac_ext
18181 fi
18182
18183 fi
18184
18185 if test $glibcxx_cv_LFS = yes; then
18186
18187 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18188
18189 fi
18190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18191 $as_echo "$glibcxx_cv_LFS" >&6; }
18192 CXXFLAGS="$ac_save_CXXFLAGS"
18193 ac_ext=c
18194 ac_cpp='$CPP $CPPFLAGS'
18195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18198
18199
18200
18201 # For showmanyc_helper().
18202 for ac_header in sys/ioctl.h sys/filio.h
18203 do :
18204 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18205 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18206 eval as_val=\$$as_ac_Header
18207 if test "x$as_val" = x""yes; then :
18208 cat >>confdefs.h <<_ACEOF
18209 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18210 _ACEOF
18211
18212 fi
18213
18214 done
18215
18216
18217
18218
18219 ac_ext=cpp
18220 ac_cpp='$CXXCPP $CPPFLAGS'
18221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18224
18225 ac_save_CXXFLAGS="$CXXFLAGS"
18226 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18227
18228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18229 $as_echo_n "checking for poll... " >&6; }
18230 if test "${glibcxx_cv_POLL+set}" = set; then :
18231 $as_echo_n "(cached) " >&6
18232 else
18233
18234 if test x$gcc_no_link = xyes; then
18235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18236 /* end confdefs.h. */
18237 #include <poll.h>
18238 int
18239 main ()
18240 {
18241 struct pollfd pfd[1];
18242 pfd[0].events = POLLIN;
18243 poll(pfd, 1, 0);
18244 ;
18245 return 0;
18246 }
18247 _ACEOF
18248 if ac_fn_cxx_try_compile "$LINENO"; then :
18249 glibcxx_cv_POLL=yes
18250 else
18251 glibcxx_cv_POLL=no
18252 fi
18253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18254 else
18255 if test x$gcc_no_link = xyes; then
18256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18257 fi
18258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18259 /* end confdefs.h. */
18260 #include <poll.h>
18261 int
18262 main ()
18263 {
18264 struct pollfd pfd[1];
18265 pfd[0].events = POLLIN;
18266 poll(pfd, 1, 0);
18267 ;
18268 return 0;
18269 }
18270 _ACEOF
18271 if ac_fn_cxx_try_link "$LINENO"; then :
18272 glibcxx_cv_POLL=yes
18273 else
18274 glibcxx_cv_POLL=no
18275 fi
18276 rm -f core conftest.err conftest.$ac_objext \
18277 conftest$ac_exeext conftest.$ac_ext
18278 fi
18279
18280 fi
18281
18282 if test $glibcxx_cv_POLL = yes; then
18283
18284 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18285
18286 fi
18287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18288 $as_echo "$glibcxx_cv_POLL" >&6; }
18289
18290 CXXFLAGS="$ac_save_CXXFLAGS"
18291 ac_ext=c
18292 ac_cpp='$CPP $CPPFLAGS'
18293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18296
18297
18298
18299
18300
18301 ac_ext=cpp
18302 ac_cpp='$CXXCPP $CPPFLAGS'
18303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18306
18307 ac_save_CXXFLAGS="$CXXFLAGS"
18308 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18309
18310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18311 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18312 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18313 $as_echo_n "(cached) " >&6
18314 else
18315
18316 if test x$gcc_no_link = xyes; then
18317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18318 /* end confdefs.h. */
18319 #include <sys/stat.h>
18320 int
18321 main ()
18322 {
18323 struct stat buffer;
18324 fstat(0, &buffer);
18325 S_ISREG(buffer.st_mode);
18326 ;
18327 return 0;
18328 }
18329 _ACEOF
18330 if ac_fn_cxx_try_compile "$LINENO"; then :
18331 glibcxx_cv_S_ISREG=yes
18332 else
18333 glibcxx_cv_S_ISREG=no
18334 fi
18335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18336 else
18337 if test x$gcc_no_link = xyes; then
18338 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18339 fi
18340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18341 /* end confdefs.h. */
18342 #include <sys/stat.h>
18343 int
18344 main ()
18345 {
18346 struct stat buffer;
18347 fstat(0, &buffer);
18348 S_ISREG(buffer.st_mode);
18349 ;
18350 return 0;
18351 }
18352 _ACEOF
18353 if ac_fn_cxx_try_link "$LINENO"; then :
18354 glibcxx_cv_S_ISREG=yes
18355 else
18356 glibcxx_cv_S_ISREG=no
18357 fi
18358 rm -f core conftest.err conftest.$ac_objext \
18359 conftest$ac_exeext conftest.$ac_ext
18360 fi
18361
18362 fi
18363
18364 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18365 $as_echo_n "(cached) " >&6
18366 else
18367
18368 if test x$gcc_no_link = xyes; then
18369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18370 /* end confdefs.h. */
18371 #include <sys/stat.h>
18372 int
18373 main ()
18374 {
18375 struct stat buffer;
18376 fstat(0, &buffer);
18377 S_IFREG & buffer.st_mode;
18378 ;
18379 return 0;
18380 }
18381 _ACEOF
18382 if ac_fn_cxx_try_compile "$LINENO"; then :
18383 glibcxx_cv_S_IFREG=yes
18384 else
18385 glibcxx_cv_S_IFREG=no
18386 fi
18387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18388 else
18389 if test x$gcc_no_link = xyes; then
18390 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18391 fi
18392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18393 /* end confdefs.h. */
18394 #include <sys/stat.h>
18395 int
18396 main ()
18397 {
18398 struct stat buffer;
18399 fstat(0, &buffer);
18400 S_IFREG & buffer.st_mode;
18401 ;
18402 return 0;
18403 }
18404 _ACEOF
18405 if ac_fn_cxx_try_link "$LINENO"; then :
18406 glibcxx_cv_S_IFREG=yes
18407 else
18408 glibcxx_cv_S_IFREG=no
18409 fi
18410 rm -f core conftest.err conftest.$ac_objext \
18411 conftest$ac_exeext conftest.$ac_ext
18412 fi
18413
18414 fi
18415
18416 res=no
18417 if test $glibcxx_cv_S_ISREG = yes; then
18418
18419 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18420
18421 res=S_ISREG
18422 elif test $glibcxx_cv_S_IFREG = yes; then
18423
18424 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18425
18426 res=S_IFREG
18427 fi
18428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18429 $as_echo "$res" >&6; }
18430
18431 CXXFLAGS="$ac_save_CXXFLAGS"
18432 ac_ext=c
18433 ac_cpp='$CPP $CPPFLAGS'
18434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18437
18438
18439
18440 # For xsputn_2().
18441 for ac_header in sys/uio.h
18442 do :
18443 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18444 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18445 cat >>confdefs.h <<_ACEOF
18446 #define HAVE_SYS_UIO_H 1
18447 _ACEOF
18448
18449 fi
18450
18451 done
18452
18453
18454
18455
18456 ac_ext=cpp
18457 ac_cpp='$CXXCPP $CPPFLAGS'
18458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18461
18462 ac_save_CXXFLAGS="$CXXFLAGS"
18463 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18464
18465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18466 $as_echo_n "checking for writev... " >&6; }
18467 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18468 $as_echo_n "(cached) " >&6
18469 else
18470
18471 if test x$gcc_no_link = xyes; then
18472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18473 /* end confdefs.h. */
18474 #include <sys/uio.h>
18475 int
18476 main ()
18477 {
18478 struct iovec iov[2];
18479 writev(0, iov, 0);
18480 ;
18481 return 0;
18482 }
18483 _ACEOF
18484 if ac_fn_cxx_try_compile "$LINENO"; then :
18485 glibcxx_cv_WRITEV=yes
18486 else
18487 glibcxx_cv_WRITEV=no
18488 fi
18489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18490 else
18491 if test x$gcc_no_link = xyes; then
18492 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18493 fi
18494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18495 /* end confdefs.h. */
18496 #include <sys/uio.h>
18497 int
18498 main ()
18499 {
18500 struct iovec iov[2];
18501 writev(0, iov, 0);
18502 ;
18503 return 0;
18504 }
18505 _ACEOF
18506 if ac_fn_cxx_try_link "$LINENO"; then :
18507 glibcxx_cv_WRITEV=yes
18508 else
18509 glibcxx_cv_WRITEV=no
18510 fi
18511 rm -f core conftest.err conftest.$ac_objext \
18512 conftest$ac_exeext conftest.$ac_ext
18513 fi
18514
18515 fi
18516
18517 if test $glibcxx_cv_WRITEV = yes; then
18518
18519 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18520
18521 fi
18522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18523 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18524
18525 CXXFLAGS="$ac_save_CXXFLAGS"
18526 ac_ext=c
18527 ac_cpp='$CPP $CPPFLAGS'
18528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18531
18532
18533
18534 # For C99 support to TR1.
18535
18536
18537
18538 ac_ext=cpp
18539 ac_cpp='$CXXCPP $CPPFLAGS'
18540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18543
18544
18545 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18546 # undefined and fake C99 facilities may be spuriously enabled.
18547 ac_save_CXXFLAGS="$CXXFLAGS"
18548 CXXFLAGS="$CXXFLAGS -std=c++98"
18549
18550 # Check for the existence of <complex.h> complex math functions used
18551 # by tr1/complex.
18552 for ac_header in complex.h
18553 do :
18554 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18555 if test "x$ac_cv_header_complex_h" = x""yes; then :
18556 cat >>confdefs.h <<_ACEOF
18557 #define HAVE_COMPLEX_H 1
18558 _ACEOF
18559 ac_has_complex_h=yes
18560 else
18561 ac_has_complex_h=no
18562 fi
18563
18564 done
18565
18566 ac_c99_complex_tr1=no;
18567 if test x"$ac_has_complex_h" = x"yes"; then
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18569 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18571 /* end confdefs.h. */
18572 #include <complex.h>
18573 int
18574 main ()
18575 {
18576 typedef __complex__ float float_type; float_type tmpf;
18577 cacosf(tmpf);
18578 casinf(tmpf);
18579 catanf(tmpf);
18580 cacoshf(tmpf);
18581 casinhf(tmpf);
18582 catanhf(tmpf);
18583 typedef __complex__ double double_type; double_type tmpd;
18584 cacos(tmpd);
18585 casin(tmpd);
18586 catan(tmpd);
18587 cacosh(tmpd);
18588 casinh(tmpd);
18589 catanh(tmpd);
18590 typedef __complex__ long double ld_type; ld_type tmpld;
18591 cacosl(tmpld);
18592 casinl(tmpld);
18593 catanl(tmpld);
18594 cacoshl(tmpld);
18595 casinhl(tmpld);
18596 catanhl(tmpld);
18597
18598 ;
18599 return 0;
18600 }
18601 _ACEOF
18602 if ac_fn_cxx_try_compile "$LINENO"; then :
18603 ac_c99_complex_tr1=yes
18604 else
18605 ac_c99_complex_tr1=no
18606 fi
18607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18608 fi
18609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18610 $as_echo "$ac_c99_complex_tr1" >&6; }
18611 if test x"$ac_c99_complex_tr1" = x"yes"; then
18612
18613 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18614
18615 fi
18616
18617 # Check for the existence of <ctype.h> functions.
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18619 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18620 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18621 $as_echo_n "(cached) " >&6
18622 else
18623
18624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18625 /* end confdefs.h. */
18626 #include <ctype.h>
18627 int
18628 main ()
18629 {
18630 int ch;
18631 int ret;
18632 ret = isblank(ch);
18633
18634 ;
18635 return 0;
18636 }
18637 _ACEOF
18638 if ac_fn_cxx_try_compile "$LINENO"; then :
18639 glibcxx_cv_c99_ctype_tr1=yes
18640 else
18641 glibcxx_cv_c99_ctype_tr1=no
18642 fi
18643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18644
18645 fi
18646
18647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18648 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18649 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18650
18651 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18652
18653 fi
18654
18655 # Check for the existence of <fenv.h> functions.
18656 for ac_header in fenv.h
18657 do :
18658 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18659 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18660 cat >>confdefs.h <<_ACEOF
18661 #define HAVE_FENV_H 1
18662 _ACEOF
18663 ac_has_fenv_h=yes
18664 else
18665 ac_has_fenv_h=no
18666 fi
18667
18668 done
18669
18670 ac_c99_fenv_tr1=no;
18671 if test x"$ac_has_fenv_h" = x"yes"; then
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18673 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18675 /* end confdefs.h. */
18676 #include <fenv.h>
18677 int
18678 main ()
18679 {
18680 int except, mode;
18681 fexcept_t* pflag;
18682 fenv_t* penv;
18683 int ret;
18684 ret = feclearexcept(except);
18685 ret = fegetexceptflag(pflag, except);
18686 ret = feraiseexcept(except);
18687 ret = fesetexceptflag(pflag, except);
18688 ret = fetestexcept(except);
18689 ret = fegetround();
18690 ret = fesetround(mode);
18691 ret = fegetenv(penv);
18692 ret = feholdexcept(penv);
18693 ret = fesetenv(penv);
18694 ret = feupdateenv(penv);
18695
18696 ;
18697 return 0;
18698 }
18699 _ACEOF
18700 if ac_fn_cxx_try_compile "$LINENO"; then :
18701 ac_c99_fenv_tr1=yes
18702 else
18703 ac_c99_fenv_tr1=no
18704 fi
18705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18706 fi
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18708 $as_echo "$ac_c99_fenv_tr1" >&6; }
18709 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18710
18711 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18712
18713 fi
18714
18715 # Check for the existence of <stdint.h> types.
18716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18717 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18718 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18719 $as_echo_n "(cached) " >&6
18720 else
18721
18722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18723 /* end confdefs.h. */
18724 #define __STDC_LIMIT_MACROS
18725 #define __STDC_CONSTANT_MACROS
18726 #include <stdint.h>
18727 int
18728 main ()
18729 {
18730 typedef int8_t my_int8_t;
18731 my_int8_t i8 = INT8_MIN;
18732 i8 = INT8_MAX;
18733 typedef int16_t my_int16_t;
18734 my_int16_t i16 = INT16_MIN;
18735 i16 = INT16_MAX;
18736 typedef int32_t my_int32_t;
18737 my_int32_t i32 = INT32_MIN;
18738 i32 = INT32_MAX;
18739 typedef int64_t my_int64_t;
18740 my_int64_t i64 = INT64_MIN;
18741 i64 = INT64_MAX;
18742 typedef int_fast8_t my_int_fast8_t;
18743 my_int_fast8_t if8 = INT_FAST8_MIN;
18744 if8 = INT_FAST8_MAX;
18745 typedef int_fast16_t my_int_fast16_t;
18746 my_int_fast16_t if16 = INT_FAST16_MIN;
18747 if16 = INT_FAST16_MAX;
18748 typedef int_fast32_t my_int_fast32_t;
18749 my_int_fast32_t if32 = INT_FAST32_MIN;
18750 if32 = INT_FAST32_MAX;
18751 typedef int_fast64_t my_int_fast64_t;
18752 my_int_fast64_t if64 = INT_FAST64_MIN;
18753 if64 = INT_FAST64_MAX;
18754 typedef int_least8_t my_int_least8_t;
18755 my_int_least8_t il8 = INT_LEAST8_MIN;
18756 il8 = INT_LEAST8_MAX;
18757 typedef int_least16_t my_int_least16_t;
18758 my_int_least16_t il16 = INT_LEAST16_MIN;
18759 il16 = INT_LEAST16_MAX;
18760 typedef int_least32_t my_int_least32_t;
18761 my_int_least32_t il32 = INT_LEAST32_MIN;
18762 il32 = INT_LEAST32_MAX;
18763 typedef int_least64_t my_int_least64_t;
18764 my_int_least64_t il64 = INT_LEAST64_MIN;
18765 il64 = INT_LEAST64_MAX;
18766 typedef intmax_t my_intmax_t;
18767 my_intmax_t im = INTMAX_MAX;
18768 im = INTMAX_MIN;
18769 typedef intptr_t my_intptr_t;
18770 my_intptr_t ip = INTPTR_MAX;
18771 ip = INTPTR_MIN;
18772 typedef uint8_t my_uint8_t;
18773 my_uint8_t ui8 = UINT8_MAX;
18774 ui8 = UINT8_MAX;
18775 typedef uint16_t my_uint16_t;
18776 my_uint16_t ui16 = UINT16_MAX;
18777 ui16 = UINT16_MAX;
18778 typedef uint32_t my_uint32_t;
18779 my_uint32_t ui32 = UINT32_MAX;
18780 ui32 = UINT32_MAX;
18781 typedef uint64_t my_uint64_t;
18782 my_uint64_t ui64 = UINT64_MAX;
18783 ui64 = UINT64_MAX;
18784 typedef uint_fast8_t my_uint_fast8_t;
18785 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18786 uif8 = UINT_FAST8_MAX;
18787 typedef uint_fast16_t my_uint_fast16_t;
18788 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18789 uif16 = UINT_FAST16_MAX;
18790 typedef uint_fast32_t my_uint_fast32_t;
18791 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18792 uif32 = UINT_FAST32_MAX;
18793 typedef uint_fast64_t my_uint_fast64_t;
18794 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18795 uif64 = UINT_FAST64_MAX;
18796 typedef uint_least8_t my_uint_least8_t;
18797 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18798 uil8 = UINT_LEAST8_MAX;
18799 typedef uint_least16_t my_uint_least16_t;
18800 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18801 uil16 = UINT_LEAST16_MAX;
18802 typedef uint_least32_t my_uint_least32_t;
18803 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18804 uil32 = UINT_LEAST32_MAX;
18805 typedef uint_least64_t my_uint_least64_t;
18806 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18807 uil64 = UINT_LEAST64_MAX;
18808 typedef uintmax_t my_uintmax_t;
18809 my_uintmax_t uim = UINTMAX_MAX;
18810 uim = UINTMAX_MAX;
18811 typedef uintptr_t my_uintptr_t;
18812 my_uintptr_t uip = UINTPTR_MAX;
18813 uip = UINTPTR_MAX;
18814
18815 ;
18816 return 0;
18817 }
18818 _ACEOF
18819 if ac_fn_cxx_try_compile "$LINENO"; then :
18820 glibcxx_cv_c99_stdint_tr1=yes
18821 else
18822 glibcxx_cv_c99_stdint_tr1=no
18823 fi
18824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18825
18826 fi
18827
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18829 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18830 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18831
18832 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18833
18834 fi
18835
18836 # Check for the existence of <math.h> functions.
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18838 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18839 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18840 $as_echo_n "(cached) " >&6
18841 else
18842
18843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18844 /* end confdefs.h. */
18845 #include <math.h>
18846 int
18847 main ()
18848 {
18849 typedef double_t my_double_t;
18850 typedef float_t my_float_t;
18851 acosh(0.0);
18852 acoshf(0.0f);
18853 acoshl(0.0l);
18854 asinh(0.0);
18855 asinhf(0.0f);
18856 asinhl(0.0l);
18857 atanh(0.0);
18858 atanhf(0.0f);
18859 atanhl(0.0l);
18860 cbrt(0.0);
18861 cbrtf(0.0f);
18862 cbrtl(0.0l);
18863 copysign(0.0, 0.0);
18864 copysignf(0.0f, 0.0f);
18865 copysignl(0.0l, 0.0l);
18866 erf(0.0);
18867 erff(0.0f);
18868 erfl(0.0l);
18869 erfc(0.0);
18870 erfcf(0.0f);
18871 erfcl(0.0l);
18872 exp2(0.0);
18873 exp2f(0.0f);
18874 exp2l(0.0l);
18875 expm1(0.0);
18876 expm1f(0.0f);
18877 expm1l(0.0l);
18878 fdim(0.0, 0.0);
18879 fdimf(0.0f, 0.0f);
18880 fdiml(0.0l, 0.0l);
18881 fma(0.0, 0.0, 0.0);
18882 fmaf(0.0f, 0.0f, 0.0f);
18883 fmal(0.0l, 0.0l, 0.0l);
18884 fmax(0.0, 0.0);
18885 fmaxf(0.0f, 0.0f);
18886 fmaxl(0.0l, 0.0l);
18887 fmin(0.0, 0.0);
18888 fminf(0.0f, 0.0f);
18889 fminl(0.0l, 0.0l);
18890 hypot(0.0, 0.0);
18891 hypotf(0.0f, 0.0f);
18892 hypotl(0.0l, 0.0l);
18893 ilogb(0.0);
18894 ilogbf(0.0f);
18895 ilogbl(0.0l);
18896 lgamma(0.0);
18897 lgammaf(0.0f);
18898 lgammal(0.0l);
18899 llrint(0.0);
18900 llrintf(0.0f);
18901 llrintl(0.0l);
18902 llround(0.0);
18903 llroundf(0.0f);
18904 llroundl(0.0l);
18905 log1p(0.0);
18906 log1pf(0.0f);
18907 log1pl(0.0l);
18908 log2(0.0);
18909 log2f(0.0f);
18910 log2l(0.0l);
18911 logb(0.0);
18912 logbf(0.0f);
18913 logbl(0.0l);
18914 lrint(0.0);
18915 lrintf(0.0f);
18916 lrintl(0.0l);
18917 lround(0.0);
18918 lroundf(0.0f);
18919 lroundl(0.0l);
18920 nan(0);
18921 nanf(0);
18922 nanl(0);
18923 nearbyint(0.0);
18924 nearbyintf(0.0f);
18925 nearbyintl(0.0l);
18926 nextafter(0.0, 0.0);
18927 nextafterf(0.0f, 0.0f);
18928 nextafterl(0.0l, 0.0l);
18929 nexttoward(0.0, 0.0);
18930 nexttowardf(0.0f, 0.0f);
18931 nexttowardl(0.0l, 0.0l);
18932 remainder(0.0, 0.0);
18933 remainderf(0.0f, 0.0f);
18934 remainderl(0.0l, 0.0l);
18935 remquo(0.0, 0.0, 0);
18936 remquof(0.0f, 0.0f, 0);
18937 remquol(0.0l, 0.0l, 0);
18938 rint(0.0);
18939 rintf(0.0f);
18940 rintl(0.0l);
18941 round(0.0);
18942 roundf(0.0f);
18943 roundl(0.0l);
18944 scalbln(0.0, 0l);
18945 scalblnf(0.0f, 0l);
18946 scalblnl(0.0l, 0l);
18947 scalbn(0.0, 0);
18948 scalbnf(0.0f, 0);
18949 scalbnl(0.0l, 0);
18950 tgamma(0.0);
18951 tgammaf(0.0f);
18952 tgammal(0.0l);
18953 trunc(0.0);
18954 truncf(0.0f);
18955 truncl(0.0l);
18956
18957 ;
18958 return 0;
18959 }
18960 _ACEOF
18961 if ac_fn_cxx_try_compile "$LINENO"; then :
18962 glibcxx_cv_c99_math_tr1=yes
18963 else
18964 glibcxx_cv_c99_math_tr1=no
18965 fi
18966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18967
18968 fi
18969
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18971 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18972 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18973
18974 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18975
18976 fi
18977
18978 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18979 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18980 ac_c99_inttypes_tr1=no;
18981 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18983 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18985 /* end confdefs.h. */
18986 #include <inttypes.h>
18987 int
18988 main ()
18989 {
18990 intmax_t i, numer, denom, base;
18991 const char* s;
18992 char** endptr;
18993 intmax_t ret = imaxabs(i);
18994 imaxdiv_t dret = imaxdiv(numer, denom);
18995 ret = strtoimax(s, endptr, base);
18996 uintmax_t uret = strtoumax(s, endptr, base);
18997
18998 ;
18999 return 0;
19000 }
19001 _ACEOF
19002 if ac_fn_cxx_try_compile "$LINENO"; then :
19003 ac_c99_inttypes_tr1=yes
19004 else
19005 ac_c99_inttypes_tr1=no
19006 fi
19007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19008 fi
19009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19010 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19011 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19012
19013 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19014
19015 fi
19016
19017 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19018 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19019 ac_c99_inttypes_wchar_t_tr1=no;
19020 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19022 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19024 /* end confdefs.h. */
19025 #include <inttypes.h>
19026 int
19027 main ()
19028 {
19029 intmax_t base;
19030 const wchar_t* s;
19031 wchar_t** endptr;
19032 intmax_t ret = wcstoimax(s, endptr, base);
19033 uintmax_t uret = wcstoumax(s, endptr, base);
19034
19035 ;
19036 return 0;
19037 }
19038 _ACEOF
19039 if ac_fn_cxx_try_compile "$LINENO"; then :
19040 ac_c99_inttypes_wchar_t_tr1=yes
19041 else
19042 ac_c99_inttypes_wchar_t_tr1=no
19043 fi
19044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19045 fi
19046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19047 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19048 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19049
19050 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19051
19052 fi
19053
19054 # Check for the existence of the <stdbool.h> header.
19055 for ac_header in stdbool.h
19056 do :
19057 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19058 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19059 cat >>confdefs.h <<_ACEOF
19060 #define HAVE_STDBOOL_H 1
19061 _ACEOF
19062
19063 fi
19064
19065 done
19066
19067
19068 # Check for the existence of the <stdalign.h> header.
19069 for ac_header in stdalign.h
19070 do :
19071 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19072 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19073 cat >>confdefs.h <<_ACEOF
19074 #define HAVE_STDALIGN_H 1
19075 _ACEOF
19076
19077 fi
19078
19079 done
19080
19081
19082 CXXFLAGS="$ac_save_CXXFLAGS"
19083 ac_ext=c
19084 ac_cpp='$CPP $CPPFLAGS'
19085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19088
19089
19090
19091 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19092
19093
19094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19095 $as_echo_n "checking for the value of EOF... " >&6; }
19096 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19097 $as_echo_n "(cached) " >&6
19098 else
19099
19100 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19101
19102 else
19103 as_fn_error "computing EOF failed" "$LINENO" 5
19104 fi
19105
19106
19107 fi
19108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19109 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19110
19111 cat >>confdefs.h <<_ACEOF
19112 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19113 _ACEOF
19114
19115
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19117 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19118 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19119 $as_echo_n "(cached) " >&6
19120 else
19121
19122 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19123
19124 else
19125 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19126 fi
19127
19128
19129 fi
19130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19131 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19132
19133 cat >>confdefs.h <<_ACEOF
19134 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19135 _ACEOF
19136
19137
19138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19139 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19140 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19141 $as_echo_n "(cached) " >&6
19142 else
19143
19144 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19145
19146 else
19147 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19148 fi
19149
19150
19151 fi
19152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19153 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19154
19155 cat >>confdefs.h <<_ACEOF
19156 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19157 _ACEOF
19158
19159
19160
19161 # For gettimeofday support.
19162
19163
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19165 $as_echo_n "checking for gettimeofday... " >&6; }
19166
19167
19168 ac_ext=cpp
19169 ac_cpp='$CXXCPP $CPPFLAGS'
19170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19173
19174 ac_save_CXXFLAGS="$CXXFLAGS"
19175 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19176
19177 ac_has_gettimeofday=no;
19178 for ac_header in sys/time.h
19179 do :
19180 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19181 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19182 cat >>confdefs.h <<_ACEOF
19183 #define HAVE_SYS_TIME_H 1
19184 _ACEOF
19185 ac_has_sys_time_h=yes
19186 else
19187 ac_has_sys_time_h=no
19188 fi
19189
19190 done
19191
19192 if test x"$ac_has_sys_time_h" = x"yes"; then
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19194 $as_echo_n "checking for gettimeofday... " >&6; }
19195 if test x$gcc_no_link = xyes; then
19196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19197 /* end confdefs.h. */
19198 #include <sys/time.h>
19199 int
19200 main ()
19201 {
19202 timeval tv; gettimeofday(&tv, 0);
19203 ;
19204 return 0;
19205 }
19206 _ACEOF
19207 if ac_fn_cxx_try_compile "$LINENO"; then :
19208 ac_has_gettimeofday=yes
19209 else
19210 ac_has_gettimeofday=no
19211 fi
19212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19213 else
19214 if test x$gcc_no_link = xyes; then
19215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19216 fi
19217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19218 /* end confdefs.h. */
19219 #include <sys/time.h>
19220 int
19221 main ()
19222 {
19223 timeval tv; gettimeofday(&tv, 0);
19224 ;
19225 return 0;
19226 }
19227 _ACEOF
19228 if ac_fn_cxx_try_link "$LINENO"; then :
19229 ac_has_gettimeofday=yes
19230 else
19231 ac_has_gettimeofday=no
19232 fi
19233 rm -f core conftest.err conftest.$ac_objext \
19234 conftest$ac_exeext conftest.$ac_ext
19235 fi
19236
19237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19238 $as_echo "$ac_has_gettimeofday" >&6; }
19239 fi
19240
19241 if test x"$ac_has_gettimeofday" = x"yes"; then
19242
19243 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19244
19245 fi
19246
19247 CXXFLAGS="$ac_save_CXXFLAGS"
19248 ac_ext=c
19249 ac_cpp='$CPP $CPPFLAGS'
19250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19253
19254
19255
19256 # For clock_gettime, nanosleep and sched_yield support.
19257 # NB: The default is [no], because otherwise it requires linking.
19258
19259
19260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19261 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19262 # Check whether --enable-libstdcxx-time was given.
19263 if test "${enable_libstdcxx_time+set}" = set; then :
19264 enableval=$enable_libstdcxx_time;
19265 case "$enableval" in
19266 yes|no|rt) ;;
19267 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19268 esac
19269
19270 else
19271 enable_libstdcxx_time=no
19272 fi
19273
19274
19275
19276
19277 ac_ext=cpp
19278 ac_cpp='$CXXCPP $CPPFLAGS'
19279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19282
19283 ac_save_CXXFLAGS="$CXXFLAGS"
19284 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19285 ac_save_LIBS="$LIBS"
19286
19287 ac_has_clock_monotonic=no
19288 ac_has_clock_realtime=no
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19290 $as_echo "$enable_libstdcxx_time" >&6; }
19291
19292 if test x"$enable_libstdcxx_time" != x"no"; then
19293
19294 if test x"$enable_libstdcxx_time" = x"rt"; then
19295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19296 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19297 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19298 $as_echo_n "(cached) " >&6
19299 else
19300 ac_func_search_save_LIBS=$LIBS
19301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19302 /* end confdefs.h. */
19303
19304 /* Override any GCC internal prototype to avoid an error.
19305 Use char because int might match the return type of a GCC
19306 builtin and then its argument prototype would still apply. */
19307 #ifdef __cplusplus
19308 extern "C"
19309 #endif
19310 char clock_gettime ();
19311 int
19312 main ()
19313 {
19314 return clock_gettime ();
19315 ;
19316 return 0;
19317 }
19318 _ACEOF
19319 for ac_lib in '' rt posix4; do
19320 if test -z "$ac_lib"; then
19321 ac_res="none required"
19322 else
19323 ac_res=-l$ac_lib
19324 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19325 fi
19326 if test x$gcc_no_link = xyes; then
19327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19328 fi
19329 if ac_fn_cxx_try_link "$LINENO"; then :
19330 ac_cv_search_clock_gettime=$ac_res
19331 fi
19332 rm -f core conftest.err conftest.$ac_objext \
19333 conftest$ac_exeext
19334 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19335 break
19336 fi
19337 done
19338 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19339
19340 else
19341 ac_cv_search_clock_gettime=no
19342 fi
19343 rm conftest.$ac_ext
19344 LIBS=$ac_func_search_save_LIBS
19345 fi
19346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19347 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19348 ac_res=$ac_cv_search_clock_gettime
19349 if test "$ac_res" != no; then :
19350 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19351
19352 fi
19353
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19355 $as_echo_n "checking for library containing nanosleep... " >&6; }
19356 if test "${ac_cv_search_nanosleep+set}" = set; then :
19357 $as_echo_n "(cached) " >&6
19358 else
19359 ac_func_search_save_LIBS=$LIBS
19360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19361 /* end confdefs.h. */
19362
19363 /* Override any GCC internal prototype to avoid an error.
19364 Use char because int might match the return type of a GCC
19365 builtin and then its argument prototype would still apply. */
19366 #ifdef __cplusplus
19367 extern "C"
19368 #endif
19369 char nanosleep ();
19370 int
19371 main ()
19372 {
19373 return nanosleep ();
19374 ;
19375 return 0;
19376 }
19377 _ACEOF
19378 for ac_lib in '' rt posix4; do
19379 if test -z "$ac_lib"; then
19380 ac_res="none required"
19381 else
19382 ac_res=-l$ac_lib
19383 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19384 fi
19385 if test x$gcc_no_link = xyes; then
19386 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19387 fi
19388 if ac_fn_cxx_try_link "$LINENO"; then :
19389 ac_cv_search_nanosleep=$ac_res
19390 fi
19391 rm -f core conftest.err conftest.$ac_objext \
19392 conftest$ac_exeext
19393 if test "${ac_cv_search_nanosleep+set}" = set; then :
19394 break
19395 fi
19396 done
19397 if test "${ac_cv_search_nanosleep+set}" = set; then :
19398
19399 else
19400 ac_cv_search_nanosleep=no
19401 fi
19402 rm conftest.$ac_ext
19403 LIBS=$ac_func_search_save_LIBS
19404 fi
19405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19406 $as_echo "$ac_cv_search_nanosleep" >&6; }
19407 ac_res=$ac_cv_search_nanosleep
19408 if test "$ac_res" != no; then :
19409 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19410
19411 fi
19412
19413 else
19414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19415 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19416 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19417 $as_echo_n "(cached) " >&6
19418 else
19419 ac_func_search_save_LIBS=$LIBS
19420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19421 /* end confdefs.h. */
19422
19423 /* Override any GCC internal prototype to avoid an error.
19424 Use char because int might match the return type of a GCC
19425 builtin and then its argument prototype would still apply. */
19426 #ifdef __cplusplus
19427 extern "C"
19428 #endif
19429 char clock_gettime ();
19430 int
19431 main ()
19432 {
19433 return clock_gettime ();
19434 ;
19435 return 0;
19436 }
19437 _ACEOF
19438 for ac_lib in '' posix4; do
19439 if test -z "$ac_lib"; then
19440 ac_res="none required"
19441 else
19442 ac_res=-l$ac_lib
19443 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19444 fi
19445 if test x$gcc_no_link = xyes; then
19446 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19447 fi
19448 if ac_fn_cxx_try_link "$LINENO"; then :
19449 ac_cv_search_clock_gettime=$ac_res
19450 fi
19451 rm -f core conftest.err conftest.$ac_objext \
19452 conftest$ac_exeext
19453 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19454 break
19455 fi
19456 done
19457 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19458
19459 else
19460 ac_cv_search_clock_gettime=no
19461 fi
19462 rm conftest.$ac_ext
19463 LIBS=$ac_func_search_save_LIBS
19464 fi
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19466 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19467 ac_res=$ac_cv_search_clock_gettime
19468 if test "$ac_res" != no; then :
19469 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19470
19471 fi
19472
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19474 $as_echo_n "checking for library containing nanosleep... " >&6; }
19475 if test "${ac_cv_search_nanosleep+set}" = set; then :
19476 $as_echo_n "(cached) " >&6
19477 else
19478 ac_func_search_save_LIBS=$LIBS
19479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19480 /* end confdefs.h. */
19481
19482 /* Override any GCC internal prototype to avoid an error.
19483 Use char because int might match the return type of a GCC
19484 builtin and then its argument prototype would still apply. */
19485 #ifdef __cplusplus
19486 extern "C"
19487 #endif
19488 char nanosleep ();
19489 int
19490 main ()
19491 {
19492 return nanosleep ();
19493 ;
19494 return 0;
19495 }
19496 _ACEOF
19497 for ac_lib in '' posix4; do
19498 if test -z "$ac_lib"; then
19499 ac_res="none required"
19500 else
19501 ac_res=-l$ac_lib
19502 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19503 fi
19504 if test x$gcc_no_link = xyes; then
19505 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19506 fi
19507 if ac_fn_cxx_try_link "$LINENO"; then :
19508 ac_cv_search_nanosleep=$ac_res
19509 fi
19510 rm -f core conftest.err conftest.$ac_objext \
19511 conftest$ac_exeext
19512 if test "${ac_cv_search_nanosleep+set}" = set; then :
19513 break
19514 fi
19515 done
19516 if test "${ac_cv_search_nanosleep+set}" = set; then :
19517
19518 else
19519 ac_cv_search_nanosleep=no
19520 fi
19521 rm conftest.$ac_ext
19522 LIBS=$ac_func_search_save_LIBS
19523 fi
19524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19525 $as_echo "$ac_cv_search_nanosleep" >&6; }
19526 ac_res=$ac_cv_search_nanosleep
19527 if test "$ac_res" != no; then :
19528 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19529
19530 fi
19531
19532 fi
19533
19534 case "$ac_cv_search_clock_gettime" in
19535 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19536 ;;
19537 esac
19538 case "$ac_cv_search_nanosleep" in
19539 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19540 ;;
19541 esac
19542
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19544 $as_echo_n "checking for library containing sched_yield... " >&6; }
19545 if test "${ac_cv_search_sched_yield+set}" = set; then :
19546 $as_echo_n "(cached) " >&6
19547 else
19548 ac_func_search_save_LIBS=$LIBS
19549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19550 /* end confdefs.h. */
19551
19552 /* Override any GCC internal prototype to avoid an error.
19553 Use char because int might match the return type of a GCC
19554 builtin and then its argument prototype would still apply. */
19555 #ifdef __cplusplus
19556 extern "C"
19557 #endif
19558 char sched_yield ();
19559 int
19560 main ()
19561 {
19562 return sched_yield ();
19563 ;
19564 return 0;
19565 }
19566 _ACEOF
19567 for ac_lib in '' rt posix4; do
19568 if test -z "$ac_lib"; then
19569 ac_res="none required"
19570 else
19571 ac_res=-l$ac_lib
19572 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19573 fi
19574 if test x$gcc_no_link = xyes; then
19575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19576 fi
19577 if ac_fn_cxx_try_link "$LINENO"; then :
19578 ac_cv_search_sched_yield=$ac_res
19579 fi
19580 rm -f core conftest.err conftest.$ac_objext \
19581 conftest$ac_exeext
19582 if test "${ac_cv_search_sched_yield+set}" = set; then :
19583 break
19584 fi
19585 done
19586 if test "${ac_cv_search_sched_yield+set}" = set; then :
19587
19588 else
19589 ac_cv_search_sched_yield=no
19590 fi
19591 rm conftest.$ac_ext
19592 LIBS=$ac_func_search_save_LIBS
19593 fi
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19595 $as_echo "$ac_cv_search_sched_yield" >&6; }
19596 ac_res=$ac_cv_search_sched_yield
19597 if test "$ac_res" != no; then :
19598 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19599
19600 fi
19601
19602
19603 case "$ac_cv_search_sched_yield" in
19604 -lposix4*)
19605 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19606
19607 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19608
19609 ;;
19610 -lrt*)
19611 if test x"$enable_libstdcxx_time" = x"rt"; then
19612 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19613
19614 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19615
19616 fi
19617 ;;
19618 *)
19619
19620 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19621
19622 ;;
19623 esac
19624
19625 for ac_header in unistd.h
19626 do :
19627 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19628 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19629 cat >>confdefs.h <<_ACEOF
19630 #define HAVE_UNISTD_H 1
19631 _ACEOF
19632 ac_has_unistd_h=yes
19633 else
19634 ac_has_unistd_h=no
19635 fi
19636
19637 done
19638
19639
19640 if test x"$ac_has_unistd_h" = x"yes"; then
19641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19642 $as_echo_n "checking for monotonic clock... " >&6; }
19643 if test x$gcc_no_link = xyes; then
19644 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19645 fi
19646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19648 #include <unistd.h>
19649 #include <time.h>
19650
19651 int
19652 main ()
19653 {
19654 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19655 timespec tp;
19656 #endif
19657 clock_gettime(CLOCK_MONOTONIC, &tp);
19658
19659 ;
19660 return 0;
19661 }
19662 _ACEOF
19663 if ac_fn_cxx_try_link "$LINENO"; then :
19664 ac_has_clock_monotonic=yes
19665 else
19666 ac_has_clock_monotonic=no
19667 fi
19668 rm -f core conftest.err conftest.$ac_objext \
19669 conftest$ac_exeext conftest.$ac_ext
19670
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19672 $as_echo "$ac_has_clock_monotonic" >&6; }
19673
19674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19675 $as_echo_n "checking for realtime clock... " >&6; }
19676 if test x$gcc_no_link = xyes; then
19677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19678 fi
19679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19680 /* end confdefs.h. */
19681 #include <unistd.h>
19682 #include <time.h>
19683
19684 int
19685 main ()
19686 {
19687 #if _POSIX_TIMERS > 0
19688 timespec tp;
19689 #endif
19690 clock_gettime(CLOCK_REALTIME, &tp);
19691
19692 ;
19693 return 0;
19694 }
19695 _ACEOF
19696 if ac_fn_cxx_try_link "$LINENO"; then :
19697 ac_has_clock_realtime=yes
19698 else
19699 ac_has_clock_realtime=no
19700 fi
19701 rm -f core conftest.err conftest.$ac_objext \
19702 conftest$ac_exeext conftest.$ac_ext
19703
19704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19705 $as_echo "$ac_has_clock_realtime" >&6; }
19706
19707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19708 $as_echo_n "checking for nanosleep... " >&6; }
19709 if test x$gcc_no_link = xyes; then
19710 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19711 fi
19712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19713 /* end confdefs.h. */
19714 #include <unistd.h>
19715 #include <time.h>
19716
19717 int
19718 main ()
19719 {
19720 #if _POSIX_TIMERS > 0
19721 timespec tp;
19722 #endif
19723 nanosleep(&tp, 0);
19724
19725 ;
19726 return 0;
19727 }
19728 _ACEOF
19729 if ac_fn_cxx_try_link "$LINENO"; then :
19730 ac_has_nanosleep=yes
19731 else
19732 ac_has_nanosleep=no
19733 fi
19734 rm -f core conftest.err conftest.$ac_objext \
19735 conftest$ac_exeext conftest.$ac_ext
19736
19737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19738 $as_echo "$ac_has_nanosleep" >&6; }
19739 fi
19740 fi
19741
19742 if test x"$ac_has_clock_monotonic" = x"yes"; then
19743
19744 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19745
19746 fi
19747
19748 if test x"$ac_has_clock_realtime" = x"yes"; then
19749
19750 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19751
19752 fi
19753
19754 if test x"$ac_has_nanosleep" = x"yes"; then
19755
19756 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19757
19758 fi
19759
19760
19761
19762 CXXFLAGS="$ac_save_CXXFLAGS"
19763 LIBS="$ac_save_LIBS"
19764 ac_ext=c
19765 ac_cpp='$CPP $CPPFLAGS'
19766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19769
19770
19771
19772
19773 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19774 if test "x$ac_cv_header_locale_h" = x""yes; then :
19775
19776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19777 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19778 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19779 $as_echo_n "(cached) " >&6
19780 else
19781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19782 /* end confdefs.h. */
19783 #include <locale.h>
19784 int
19785 main ()
19786 {
19787 return LC_MESSAGES
19788 ;
19789 return 0;
19790 }
19791 _ACEOF
19792 if ac_fn_c_try_compile "$LINENO"; then :
19793 ac_cv_val_LC_MESSAGES=yes
19794 else
19795 ac_cv_val_LC_MESSAGES=no
19796 fi
19797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19798 fi
19799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19800 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19801 if test $ac_cv_val_LC_MESSAGES = yes; then
19802
19803 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19804
19805 fi
19806
19807 fi
19808
19809
19810
19811
19812 # For hardware_concurrency
19813 for ac_header in sys/sysinfo.h
19814 do :
19815 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19816 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19817 cat >>confdefs.h <<_ACEOF
19818 #define HAVE_SYS_SYSINFO_H 1
19819 _ACEOF
19820
19821 fi
19822
19823 done
19824
19825
19826
19827
19828 ac_ext=cpp
19829 ac_cpp='$CXXCPP $CPPFLAGS'
19830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19833
19834 ac_save_CXXFLAGS="$CXXFLAGS"
19835 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19836
19837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19838 $as_echo_n "checking for get_nprocs... " >&6; }
19839 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19840 $as_echo_n "(cached) " >&6
19841 else
19842
19843 if test x$gcc_no_link = xyes; then
19844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19845 /* end confdefs.h. */
19846 #include <sys/sysinfo.h>
19847 int
19848 main ()
19849 {
19850 int n = get_nprocs();
19851 ;
19852 return 0;
19853 }
19854 _ACEOF
19855 if ac_fn_cxx_try_compile "$LINENO"; then :
19856 glibcxx_cv_GET_NPROCS=yes
19857 else
19858 glibcxx_cv_GET_NPROCS=no
19859 fi
19860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19861 else
19862 if test x$gcc_no_link = xyes; then
19863 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19864 fi
19865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19866 /* end confdefs.h. */
19867 #include <sys/sysinfo.h>
19868 int
19869 main ()
19870 {
19871 int n = get_nprocs();
19872 ;
19873 return 0;
19874 }
19875 _ACEOF
19876 if ac_fn_cxx_try_link "$LINENO"; then :
19877 glibcxx_cv_GET_NPROCS=yes
19878 else
19879 glibcxx_cv_GET_NPROCS=no
19880 fi
19881 rm -f core conftest.err conftest.$ac_objext \
19882 conftest$ac_exeext conftest.$ac_ext
19883 fi
19884
19885 fi
19886
19887 if test $glibcxx_cv_GET_NPROCS = yes; then
19888
19889 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
19890
19891 fi
19892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
19893 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
19894
19895 CXXFLAGS="$ac_save_CXXFLAGS"
19896 ac_ext=c
19897 ac_cpp='$CPP $CPPFLAGS'
19898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19901
19902
19903 for ac_header in unistd.h
19904 do :
19905 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19906 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19907 cat >>confdefs.h <<_ACEOF
19908 #define HAVE_UNISTD_H 1
19909 _ACEOF
19910
19911 fi
19912
19913 done
19914
19915
19916
19917
19918 ac_ext=cpp
19919 ac_cpp='$CXXCPP $CPPFLAGS'
19920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19923
19924 ac_save_CXXFLAGS="$CXXFLAGS"
19925 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19926
19927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
19928 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
19929 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
19930 $as_echo_n "(cached) " >&6
19931 else
19932
19933 if test x$gcc_no_link = xyes; then
19934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19935 /* end confdefs.h. */
19936 #include <unistd.h>
19937 int
19938 main ()
19939 {
19940 int n = sysconf(_SC_NPROCESSORS_ONLN);
19941 ;
19942 return 0;
19943 }
19944 _ACEOF
19945 if ac_fn_cxx_try_compile "$LINENO"; then :
19946 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
19947 else
19948 glibcxx_cv_SC_NPROCESSORS_ONLN=no
19949 fi
19950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19951 else
19952 if test x$gcc_no_link = xyes; then
19953 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19954 fi
19955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19957 #include <unistd.h>
19958 int
19959 main ()
19960 {
19961 int n = sysconf(_SC_NPROCESSORS_ONLN);
19962 ;
19963 return 0;
19964 }
19965 _ACEOF
19966 if ac_fn_cxx_try_link "$LINENO"; then :
19967 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
19968 else
19969 glibcxx_cv_SC_NPROCESSORS_ONLN=no
19970 fi
19971 rm -f core conftest.err conftest.$ac_objext \
19972 conftest$ac_exeext conftest.$ac_ext
19973 fi
19974
19975 fi
19976
19977 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
19978
19979 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
19980
19981 fi
19982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
19983 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
19984
19985 CXXFLAGS="$ac_save_CXXFLAGS"
19986 ac_ext=c
19987 ac_cpp='$CPP $CPPFLAGS'
19988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19991
19992
19993
19994
19995
19996 ac_ext=cpp
19997 ac_cpp='$CXXCPP $CPPFLAGS'
19998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20001
20002 ac_save_CXXFLAGS="$CXXFLAGS"
20003 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20004
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20006 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20007 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20008 $as_echo_n "(cached) " >&6
20009 else
20010
20011 if test x$gcc_no_link = xyes; then
20012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20013 /* end confdefs.h. */
20014 #include <unistd.h>
20015 int
20016 main ()
20017 {
20018 int n = sysconf(_SC_NPROC_ONLN);
20019 ;
20020 return 0;
20021 }
20022 _ACEOF
20023 if ac_fn_cxx_try_compile "$LINENO"; then :
20024 glibcxx_cv_SC_NPROC_ONLN=yes
20025 else
20026 glibcxx_cv_SC_NPROC_ONLN=no
20027 fi
20028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20029 else
20030 if test x$gcc_no_link = xyes; then
20031 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20032 fi
20033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20034 /* end confdefs.h. */
20035 #include <unistd.h>
20036 int
20037 main ()
20038 {
20039 int n = sysconf(_SC_NPROC_ONLN);
20040 ;
20041 return 0;
20042 }
20043 _ACEOF
20044 if ac_fn_cxx_try_link "$LINENO"; then :
20045 glibcxx_cv_SC_NPROC_ONLN=yes
20046 else
20047 glibcxx_cv_SC_NPROC_ONLN=no
20048 fi
20049 rm -f core conftest.err conftest.$ac_objext \
20050 conftest$ac_exeext conftest.$ac_ext
20051 fi
20052
20053 fi
20054
20055 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20056
20057 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20058
20059 fi
20060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20061 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20062
20063 CXXFLAGS="$ac_save_CXXFLAGS"
20064 ac_ext=c
20065 ac_cpp='$CPP $CPPFLAGS'
20066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20069
20070
20071
20072
20073
20074 ac_ext=cpp
20075 ac_cpp='$CXXCPP $CPPFLAGS'
20076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20079
20080 ac_save_CXXFLAGS="$CXXFLAGS"
20081 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20082
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20084 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20085 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20086 $as_echo_n "(cached) " >&6
20087 else
20088
20089 if test x$gcc_no_link = xyes; then
20090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20091 /* end confdefs.h. */
20092 #include <pthread.h>
20093 int
20094 main ()
20095 {
20096 int n = pthread_num_processors_np();
20097 ;
20098 return 0;
20099 }
20100 _ACEOF
20101 if ac_fn_cxx_try_compile "$LINENO"; then :
20102 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20103 else
20104 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20105 fi
20106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20107 else
20108 if test x$gcc_no_link = xyes; then
20109 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20110 fi
20111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20112 /* end confdefs.h. */
20113 #include <pthread.h>
20114 int
20115 main ()
20116 {
20117 int n = pthread_num_processors_np();
20118 ;
20119 return 0;
20120 }
20121 _ACEOF
20122 if ac_fn_cxx_try_link "$LINENO"; then :
20123 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20124 else
20125 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20126 fi
20127 rm -f core conftest.err conftest.$ac_objext \
20128 conftest$ac_exeext conftest.$ac_ext
20129 fi
20130
20131 fi
20132
20133 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20134
20135 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20136
20137 fi
20138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20139 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20140
20141 CXXFLAGS="$ac_save_CXXFLAGS"
20142 ac_ext=c
20143 ac_cpp='$CPP $CPPFLAGS'
20144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20147
20148
20149
20150
20151
20152 ac_ext=cpp
20153 ac_cpp='$CXXCPP $CPPFLAGS'
20154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20157
20158 ac_save_CXXFLAGS="$CXXFLAGS"
20159 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20160
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20162 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20163 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20164 $as_echo_n "(cached) " >&6
20165 else
20166
20167 if test x$gcc_no_link = xyes; then
20168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20169 /* end confdefs.h. */
20170
20171 #include <stddef.h>
20172 #include <sys/sysctl.h>
20173
20174 int
20175 main ()
20176 {
20177
20178 int count;
20179 size_t size = sizeof(count);
20180 int mib[] = { CTL_HW, HW_NCPU };
20181 sysctl(mib, 2, &count, &size, NULL, 0);
20182
20183 ;
20184 return 0;
20185 }
20186 _ACEOF
20187 if ac_fn_cxx_try_compile "$LINENO"; then :
20188 glibcxx_cv_SYSCTL_HW_NCPU=yes
20189 else
20190 glibcxx_cv_SYSCTL_HW_NCPU=no
20191 fi
20192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20193 else
20194 if test x$gcc_no_link = xyes; then
20195 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20196 fi
20197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20198 /* end confdefs.h. */
20199
20200 #include <stddef.h>
20201 #include <sys/sysctl.h>
20202
20203 int
20204 main ()
20205 {
20206
20207 int count;
20208 size_t size = sizeof(count);
20209 int mib[] = { CTL_HW, HW_NCPU };
20210 sysctl(mib, 2, &count, &size, NULL, 0);
20211
20212 ;
20213 return 0;
20214 }
20215 _ACEOF
20216 if ac_fn_cxx_try_link "$LINENO"; then :
20217 glibcxx_cv_SYSCTL_HW_NCPU=yes
20218 else
20219 glibcxx_cv_SYSCTL_HW_NCPU=no
20220 fi
20221 rm -f core conftest.err conftest.$ac_objext \
20222 conftest$ac_exeext conftest.$ac_ext
20223 fi
20224
20225 fi
20226
20227 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20228
20229 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20230
20231 fi
20232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20233 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20234
20235 CXXFLAGS="$ac_save_CXXFLAGS"
20236 ac_ext=c
20237 ac_cpp='$CPP $CPPFLAGS'
20238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20241
20242
20243
20244 # Check for available headers.
20245 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20246 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20247 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20248 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20249 wchar.h wctype.h
20250 do :
20251 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20252 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20253 eval as_val=\$$as_ac_Header
20254 if test "x$as_val" = x""yes; then :
20255 cat >>confdefs.h <<_ACEOF
20256 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20257 _ACEOF
20258
20259 fi
20260
20261 done
20262
20263
20264 # Only do link tests if native. Else, hardcode.
20265 if $GLIBCXX_IS_NATIVE; then
20266
20267 # We can do more elaborate tests that assume a working linker.
20268 CANADIAN=no
20269
20270
20271
20272 # Check whether --with-gnu-ld was given.
20273 if test "${with_gnu_ld+set}" = set; then :
20274 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20275 else
20276 with_gnu_ld=no
20277 fi
20278
20279 ac_prog=ld
20280 if test "$GCC" = yes; then
20281 # Check if gcc -print-prog-name=ld gives a path.
20282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20283 $as_echo_n "checking for ld used by $CC... " >&6; }
20284 case $host in
20285 *-*-mingw*)
20286 # gcc leaves a trailing carriage return which upsets mingw
20287 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20288 *)
20289 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20290 esac
20291 case $ac_prog in
20292 # Accept absolute paths.
20293 [\\/]* | ?:[\\/]*)
20294 re_direlt='/[^/][^/]*/\.\./'
20295 # Canonicalize the pathname of ld
20296 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20297 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20298 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20299 done
20300 test -z "$LD" && LD="$ac_prog"
20301 ;;
20302 "")
20303 # If it fails, then pretend we aren't using GCC.
20304 ac_prog=ld
20305 ;;
20306 *)
20307 # If it is relative, then search for the first ld in PATH.
20308 with_gnu_ld=unknown
20309 ;;
20310 esac
20311 elif test "$with_gnu_ld" = yes; then
20312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20313 $as_echo_n "checking for GNU ld... " >&6; }
20314 else
20315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20316 $as_echo_n "checking for non-GNU ld... " >&6; }
20317 fi
20318 if test "${lt_cv_path_LD+set}" = set; then :
20319 $as_echo_n "(cached) " >&6
20320 else
20321 if test -z "$LD"; then
20322 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20323 for ac_dir in $PATH; do
20324 IFS="$lt_save_ifs"
20325 test -z "$ac_dir" && ac_dir=.
20326 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20327 lt_cv_path_LD="$ac_dir/$ac_prog"
20328 # Check to see if the program is GNU ld. I'd rather use --version,
20329 # but apparently some variants of GNU ld only accept -v.
20330 # Break only if it was the GNU/non-GNU ld that we prefer.
20331 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20332 *GNU* | *'with BFD'*)
20333 test "$with_gnu_ld" != no && break
20334 ;;
20335 *)
20336 test "$with_gnu_ld" != yes && break
20337 ;;
20338 esac
20339 fi
20340 done
20341 IFS="$lt_save_ifs"
20342 else
20343 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20344 fi
20345 fi
20346
20347 LD="$lt_cv_path_LD"
20348 if test -n "$LD"; then
20349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20350 $as_echo "$LD" >&6; }
20351 else
20352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20353 $as_echo "no" >&6; }
20354 fi
20355 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20357 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20358 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20359 $as_echo_n "(cached) " >&6
20360 else
20361 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20362 case `$LD -v 2>&1 </dev/null` in
20363 *GNU* | *'with BFD'*)
20364 lt_cv_prog_gnu_ld=yes
20365 ;;
20366 *)
20367 lt_cv_prog_gnu_ld=no
20368 ;;
20369 esac
20370 fi
20371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20372 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20373 with_gnu_ld=$lt_cv_prog_gnu_ld
20374
20375
20376
20377
20378
20379
20380
20381 # If we're not using GNU ld, then there's no point in even trying these
20382 # tests. Check for that first. We should have already tested for gld
20383 # by now (in libtool), but require it now just to be safe...
20384 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20385 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20386
20387
20388
20389 # The name set by libtool depends on the version of libtool. Shame on us
20390 # for depending on an impl detail, but c'est la vie. Older versions used
20391 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20392 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20393 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20394 # set (hence we're using an older libtool), then set it.
20395 if test x${with_gnu_ld+set} != xset; then
20396 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20397 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20398 with_gnu_ld=no
20399 else
20400 with_gnu_ld=$ac_cv_prog_gnu_ld
20401 fi
20402 fi
20403
20404 # Start by getting the version number. I think the libtool test already
20405 # does some of this, but throws away the result.
20406 glibcxx_ld_is_gold=no
20407 if test x"$with_gnu_ld" = x"yes"; then
20408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20409 $as_echo_n "checking for ld version... " >&6; }
20410
20411 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20412 glibcxx_ld_is_gold=yes
20413 fi
20414 ldver=`$LD --version 2>/dev/null |
20415 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'`
20416
20417 glibcxx_gnu_ld_version=`echo $ldver | \
20418 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20420 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20421 fi
20422
20423 # Set --gc-sections.
20424 glibcxx_have_gc_sections=no
20425 if test "$glibcxx_ld_is_gold" = "yes"; then
20426 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20427 glibcxx_have_gc_sections=yes
20428 fi
20429 else
20430 glibcxx_gcsections_min_ld=21602
20431 if test x"$with_gnu_ld" = x"yes" &&
20432 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20433 glibcxx_have_gc_sections=yes
20434 fi
20435 fi
20436 if test "$glibcxx_have_gc_sections" = "yes"; then
20437 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20438 # NB: This flag only works reliably after 2.16.1. Configure tests
20439 # for this are difficult, so hard wire a value that should work.
20440
20441 ac_test_CFLAGS="${CFLAGS+set}"
20442 ac_save_CFLAGS="$CFLAGS"
20443 CFLAGS='-Wl,--gc-sections'
20444
20445 # Check for -Wl,--gc-sections
20446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20447 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20448 if test x$gcc_no_link = xyes; then
20449 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20450 fi
20451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20452 /* end confdefs.h. */
20453 int one(void) { return 1; }
20454 int two(void) { return 2; }
20455
20456 int
20457 main ()
20458 {
20459 two();
20460 ;
20461 return 0;
20462 }
20463 _ACEOF
20464 if ac_fn_c_try_link "$LINENO"; then :
20465 ac_gcsections=yes
20466 else
20467 ac_gcsections=no
20468 fi
20469 rm -f core conftest.err conftest.$ac_objext \
20470 conftest$ac_exeext conftest.$ac_ext
20471 if test "$ac_gcsections" = "yes"; then
20472 rm -f conftest.c
20473 touch conftest.c
20474 if $CC -c conftest.c; then
20475 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20476 grep "Warning: gc-sections option ignored" > /dev/null; then
20477 ac_gcsections=no
20478 fi
20479 fi
20480 rm -f conftest.c conftest.o conftest
20481 fi
20482 if test "$ac_gcsections" = "yes"; then
20483 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20484 fi
20485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20486 $as_echo "$ac_gcsections" >&6; }
20487
20488 if test "$ac_test_CFLAGS" = set; then
20489 CFLAGS="$ac_save_CFLAGS"
20490 else
20491 # this is the suspicious part
20492 CFLAGS=''
20493 fi
20494 fi
20495
20496 # Set -z,relro.
20497 # Note this is only for shared objects.
20498 ac_ld_relro=no
20499 if test x"$with_gnu_ld" = x"yes"; then
20500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20501 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20502 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20503 if test -n "$cxx_z_relo"; then
20504 OPT_LDFLAGS="-Wl,-z,relro"
20505 ac_ld_relro=yes
20506 fi
20507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20508 $as_echo "$ac_ld_relro" >&6; }
20509 fi
20510
20511 # Set linker optimization flags.
20512 if test x"$with_gnu_ld" = x"yes"; then
20513 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20514 fi
20515
20516
20517
20518
20519
20520 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20521 ac_save_CXXFLAGS="$CXXFLAGS"
20522 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20523
20524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20525 $as_echo_n "checking for sin in -lm... " >&6; }
20526 if test "${ac_cv_lib_m_sin+set}" = set; then :
20527 $as_echo_n "(cached) " >&6
20528 else
20529 ac_check_lib_save_LIBS=$LIBS
20530 LIBS="-lm $LIBS"
20531 if test x$gcc_no_link = xyes; then
20532 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20533 fi
20534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20535 /* end confdefs.h. */
20536
20537 /* Override any GCC internal prototype to avoid an error.
20538 Use char because int might match the return type of a GCC
20539 builtin and then its argument prototype would still apply. */
20540 #ifdef __cplusplus
20541 extern "C"
20542 #endif
20543 char sin ();
20544 int
20545 main ()
20546 {
20547 return sin ();
20548 ;
20549 return 0;
20550 }
20551 _ACEOF
20552 if ac_fn_c_try_link "$LINENO"; then :
20553 ac_cv_lib_m_sin=yes
20554 else
20555 ac_cv_lib_m_sin=no
20556 fi
20557 rm -f core conftest.err conftest.$ac_objext \
20558 conftest$ac_exeext conftest.$ac_ext
20559 LIBS=$ac_check_lib_save_LIBS
20560 fi
20561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20562 $as_echo "$ac_cv_lib_m_sin" >&6; }
20563 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20564 libm="-lm"
20565 fi
20566
20567 ac_save_LIBS="$LIBS"
20568 LIBS="$LIBS $libm"
20569
20570
20571
20572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20573 $as_echo_n "checking for isinf declaration... " >&6; }
20574 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20575 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20576 $as_echo_n "(cached) " >&6
20577 else
20578
20579
20580 ac_ext=cpp
20581 ac_cpp='$CXXCPP $CPPFLAGS'
20582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20585
20586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20587 /* end confdefs.h. */
20588 #include <math.h>
20589 #ifdef HAVE_IEEEFP_H
20590 #include <ieeefp.h>
20591 #endif
20592
20593 int
20594 main ()
20595 {
20596 isinf(0);
20597 ;
20598 return 0;
20599 }
20600 _ACEOF
20601 if ac_fn_cxx_try_compile "$LINENO"; then :
20602 glibcxx_cv_func_isinf_use=yes
20603 else
20604 glibcxx_cv_func_isinf_use=no
20605 fi
20606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20607 ac_ext=c
20608 ac_cpp='$CPP $CPPFLAGS'
20609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20612
20613
20614 fi
20615
20616 fi
20617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20618 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20619
20620 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20621 for ac_func in isinf
20622 do :
20623 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20624 if test "x$ac_cv_func_isinf" = x""yes; then :
20625 cat >>confdefs.h <<_ACEOF
20626 #define HAVE_ISINF 1
20627 _ACEOF
20628
20629 fi
20630 done
20631
20632 else
20633
20634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20635 $as_echo_n "checking for _isinf declaration... " >&6; }
20636 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20637 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20638 $as_echo_n "(cached) " >&6
20639 else
20640
20641
20642 ac_ext=cpp
20643 ac_cpp='$CXXCPP $CPPFLAGS'
20644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20647
20648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20649 /* end confdefs.h. */
20650 #include <math.h>
20651 #ifdef HAVE_IEEEFP_H
20652 #include <ieeefp.h>
20653 #endif
20654
20655 int
20656 main ()
20657 {
20658 _isinf(0);
20659 ;
20660 return 0;
20661 }
20662 _ACEOF
20663 if ac_fn_cxx_try_compile "$LINENO"; then :
20664 glibcxx_cv_func__isinf_use=yes
20665 else
20666 glibcxx_cv_func__isinf_use=no
20667 fi
20668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20669 ac_ext=c
20670 ac_cpp='$CPP $CPPFLAGS'
20671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20674
20675
20676 fi
20677
20678 fi
20679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20680 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20681
20682 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20683 for ac_func in _isinf
20684 do :
20685 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20686 if test "x$ac_cv_func__isinf" = x""yes; then :
20687 cat >>confdefs.h <<_ACEOF
20688 #define HAVE__ISINF 1
20689 _ACEOF
20690
20691 fi
20692 done
20693
20694 fi
20695 fi
20696
20697
20698
20699
20700
20701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20702 $as_echo_n "checking for isnan declaration... " >&6; }
20703 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20704 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20705 $as_echo_n "(cached) " >&6
20706 else
20707
20708
20709 ac_ext=cpp
20710 ac_cpp='$CXXCPP $CPPFLAGS'
20711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20714
20715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20716 /* end confdefs.h. */
20717 #include <math.h>
20718 #ifdef HAVE_IEEEFP_H
20719 #include <ieeefp.h>
20720 #endif
20721
20722 int
20723 main ()
20724 {
20725 isnan(0);
20726 ;
20727 return 0;
20728 }
20729 _ACEOF
20730 if ac_fn_cxx_try_compile "$LINENO"; then :
20731 glibcxx_cv_func_isnan_use=yes
20732 else
20733 glibcxx_cv_func_isnan_use=no
20734 fi
20735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20736 ac_ext=c
20737 ac_cpp='$CPP $CPPFLAGS'
20738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20741
20742
20743 fi
20744
20745 fi
20746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20747 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20748
20749 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20750 for ac_func in isnan
20751 do :
20752 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20753 if test "x$ac_cv_func_isnan" = x""yes; then :
20754 cat >>confdefs.h <<_ACEOF
20755 #define HAVE_ISNAN 1
20756 _ACEOF
20757
20758 fi
20759 done
20760
20761 else
20762
20763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20764 $as_echo_n "checking for _isnan declaration... " >&6; }
20765 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20766 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20767 $as_echo_n "(cached) " >&6
20768 else
20769
20770
20771 ac_ext=cpp
20772 ac_cpp='$CXXCPP $CPPFLAGS'
20773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20776
20777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20778 /* end confdefs.h. */
20779 #include <math.h>
20780 #ifdef HAVE_IEEEFP_H
20781 #include <ieeefp.h>
20782 #endif
20783
20784 int
20785 main ()
20786 {
20787 _isnan(0);
20788 ;
20789 return 0;
20790 }
20791 _ACEOF
20792 if ac_fn_cxx_try_compile "$LINENO"; then :
20793 glibcxx_cv_func__isnan_use=yes
20794 else
20795 glibcxx_cv_func__isnan_use=no
20796 fi
20797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20798 ac_ext=c
20799 ac_cpp='$CPP $CPPFLAGS'
20800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20803
20804
20805 fi
20806
20807 fi
20808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20809 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20810
20811 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20812 for ac_func in _isnan
20813 do :
20814 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20815 if test "x$ac_cv_func__isnan" = x""yes; then :
20816 cat >>confdefs.h <<_ACEOF
20817 #define HAVE__ISNAN 1
20818 _ACEOF
20819
20820 fi
20821 done
20822
20823 fi
20824 fi
20825
20826
20827
20828
20829
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20831 $as_echo_n "checking for finite declaration... " >&6; }
20832 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20833 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20834 $as_echo_n "(cached) " >&6
20835 else
20836
20837
20838 ac_ext=cpp
20839 ac_cpp='$CXXCPP $CPPFLAGS'
20840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20843
20844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20845 /* end confdefs.h. */
20846 #include <math.h>
20847 #ifdef HAVE_IEEEFP_H
20848 #include <ieeefp.h>
20849 #endif
20850
20851 int
20852 main ()
20853 {
20854 finite(0);
20855 ;
20856 return 0;
20857 }
20858 _ACEOF
20859 if ac_fn_cxx_try_compile "$LINENO"; then :
20860 glibcxx_cv_func_finite_use=yes
20861 else
20862 glibcxx_cv_func_finite_use=no
20863 fi
20864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20865 ac_ext=c
20866 ac_cpp='$CPP $CPPFLAGS'
20867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20870
20871
20872 fi
20873
20874 fi
20875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20876 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20877
20878 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20879 for ac_func in finite
20880 do :
20881 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20882 if test "x$ac_cv_func_finite" = x""yes; then :
20883 cat >>confdefs.h <<_ACEOF
20884 #define HAVE_FINITE 1
20885 _ACEOF
20886
20887 fi
20888 done
20889
20890 else
20891
20892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20893 $as_echo_n "checking for _finite declaration... " >&6; }
20894 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20895 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20896 $as_echo_n "(cached) " >&6
20897 else
20898
20899
20900 ac_ext=cpp
20901 ac_cpp='$CXXCPP $CPPFLAGS'
20902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20905
20906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20907 /* end confdefs.h. */
20908 #include <math.h>
20909 #ifdef HAVE_IEEEFP_H
20910 #include <ieeefp.h>
20911 #endif
20912
20913 int
20914 main ()
20915 {
20916 _finite(0);
20917 ;
20918 return 0;
20919 }
20920 _ACEOF
20921 if ac_fn_cxx_try_compile "$LINENO"; then :
20922 glibcxx_cv_func__finite_use=yes
20923 else
20924 glibcxx_cv_func__finite_use=no
20925 fi
20926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20927 ac_ext=c
20928 ac_cpp='$CPP $CPPFLAGS'
20929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20932
20933
20934 fi
20935
20936 fi
20937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20938 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20939
20940 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20941 for ac_func in _finite
20942 do :
20943 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20944 if test "x$ac_cv_func__finite" = x""yes; then :
20945 cat >>confdefs.h <<_ACEOF
20946 #define HAVE__FINITE 1
20947 _ACEOF
20948
20949 fi
20950 done
20951
20952 fi
20953 fi
20954
20955
20956
20957
20958
20959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20960 $as_echo_n "checking for sincos declaration... " >&6; }
20961 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20962 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20963 $as_echo_n "(cached) " >&6
20964 else
20965
20966
20967 ac_ext=cpp
20968 ac_cpp='$CXXCPP $CPPFLAGS'
20969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20972
20973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20974 /* end confdefs.h. */
20975 #include <math.h>
20976 int
20977 main ()
20978 {
20979 sincos(0, 0, 0);
20980 ;
20981 return 0;
20982 }
20983 _ACEOF
20984 if ac_fn_cxx_try_compile "$LINENO"; then :
20985 glibcxx_cv_func_sincos_use=yes
20986 else
20987 glibcxx_cv_func_sincos_use=no
20988 fi
20989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20990 ac_ext=c
20991 ac_cpp='$CPP $CPPFLAGS'
20992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20995
20996
20997 fi
20998
20999 fi
21000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21001 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21002
21003 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21004 for ac_func in sincos
21005 do :
21006 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21007 if test "x$ac_cv_func_sincos" = x""yes; then :
21008 cat >>confdefs.h <<_ACEOF
21009 #define HAVE_SINCOS 1
21010 _ACEOF
21011
21012 fi
21013 done
21014
21015 else
21016
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21018 $as_echo_n "checking for _sincos declaration... " >&6; }
21019 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21020 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21021 $as_echo_n "(cached) " >&6
21022 else
21023
21024
21025 ac_ext=cpp
21026 ac_cpp='$CXXCPP $CPPFLAGS'
21027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21030
21031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21032 /* end confdefs.h. */
21033 #include <math.h>
21034 int
21035 main ()
21036 {
21037 _sincos(0, 0, 0);
21038 ;
21039 return 0;
21040 }
21041 _ACEOF
21042 if ac_fn_cxx_try_compile "$LINENO"; then :
21043 glibcxx_cv_func__sincos_use=yes
21044 else
21045 glibcxx_cv_func__sincos_use=no
21046 fi
21047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21048 ac_ext=c
21049 ac_cpp='$CPP $CPPFLAGS'
21050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21053
21054
21055 fi
21056
21057 fi
21058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21059 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21060
21061 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21062 for ac_func in _sincos
21063 do :
21064 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21065 if test "x$ac_cv_func__sincos" = x""yes; then :
21066 cat >>confdefs.h <<_ACEOF
21067 #define HAVE__SINCOS 1
21068 _ACEOF
21069
21070 fi
21071 done
21072
21073 fi
21074 fi
21075
21076
21077
21078
21079
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21081 $as_echo_n "checking for fpclass declaration... " >&6; }
21082 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21083 if test "${glibcxx_cv_func_fpclass_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 fpclass(0);
21105 ;
21106 return 0;
21107 }
21108 _ACEOF
21109 if ac_fn_cxx_try_compile "$LINENO"; then :
21110 glibcxx_cv_func_fpclass_use=yes
21111 else
21112 glibcxx_cv_func_fpclass_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_fpclass_use" >&5
21126 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21127
21128 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21129 for ac_func in fpclass
21130 do :
21131 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21132 if test "x$ac_cv_func_fpclass" = x""yes; then :
21133 cat >>confdefs.h <<_ACEOF
21134 #define HAVE_FPCLASS 1
21135 _ACEOF
21136
21137 fi
21138 done
21139
21140 else
21141
21142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21143 $as_echo_n "checking for _fpclass declaration... " >&6; }
21144 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21145 if test "${glibcxx_cv_func__fpclass_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 _fpclass(0);
21167 ;
21168 return 0;
21169 }
21170 _ACEOF
21171 if ac_fn_cxx_try_compile "$LINENO"; then :
21172 glibcxx_cv_func__fpclass_use=yes
21173 else
21174 glibcxx_cv_func__fpclass_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__fpclass_use" >&5
21188 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21189
21190 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21191 for ac_func in _fpclass
21192 do :
21193 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21194 if test "x$ac_cv_func__fpclass" = x""yes; then :
21195 cat >>confdefs.h <<_ACEOF
21196 #define HAVE__FPCLASS 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 qfpclass declaration" >&5
21210 $as_echo_n "checking for qfpclass declaration... " >&6; }
21211 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21212 if test "${glibcxx_cv_func_qfpclass_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 qfpclass(0);
21234 ;
21235 return 0;
21236 }
21237 _ACEOF
21238 if ac_fn_cxx_try_compile "$LINENO"; then :
21239 glibcxx_cv_func_qfpclass_use=yes
21240 else
21241 glibcxx_cv_func_qfpclass_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_qfpclass_use" >&5
21255 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21256
21257 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21258 for ac_func in qfpclass
21259 do :
21260 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21261 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21262 cat >>confdefs.h <<_ACEOF
21263 #define HAVE_QFPCLASS 1
21264 _ACEOF
21265
21266 fi
21267 done
21268
21269 else
21270
21271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21272 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21273 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21274 if test "${glibcxx_cv_func__qfpclass_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 _qfpclass(0);
21296 ;
21297 return 0;
21298 }
21299 _ACEOF
21300 if ac_fn_cxx_try_compile "$LINENO"; then :
21301 glibcxx_cv_func__qfpclass_use=yes
21302 else
21303 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
21317 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21318
21319 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21320 for ac_func in _qfpclass
21321 do :
21322 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21323 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21324 cat >>confdefs.h <<_ACEOF
21325 #define HAVE__QFPCLASS 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 hypot declaration" >&5
21339 $as_echo_n "checking for hypot declaration... " >&6; }
21340 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21341 if test "${glibcxx_cv_func_hypot_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 int
21356 main ()
21357 {
21358 hypot(0, 0);
21359 ;
21360 return 0;
21361 }
21362 _ACEOF
21363 if ac_fn_cxx_try_compile "$LINENO"; then :
21364 glibcxx_cv_func_hypot_use=yes
21365 else
21366 glibcxx_cv_func_hypot_use=no
21367 fi
21368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21369 ac_ext=c
21370 ac_cpp='$CPP $CPPFLAGS'
21371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21374
21375
21376 fi
21377
21378 fi
21379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21380 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21381
21382 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21383 for ac_func in hypot
21384 do :
21385 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21386 if test "x$ac_cv_func_hypot" = x""yes; then :
21387 cat >>confdefs.h <<_ACEOF
21388 #define HAVE_HYPOT 1
21389 _ACEOF
21390
21391 fi
21392 done
21393
21394 else
21395
21396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21397 $as_echo_n "checking for _hypot declaration... " >&6; }
21398 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21399 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21400 $as_echo_n "(cached) " >&6
21401 else
21402
21403
21404 ac_ext=cpp
21405 ac_cpp='$CXXCPP $CPPFLAGS'
21406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21409
21410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21411 /* end confdefs.h. */
21412 #include <math.h>
21413 int
21414 main ()
21415 {
21416 _hypot(0, 0);
21417 ;
21418 return 0;
21419 }
21420 _ACEOF
21421 if ac_fn_cxx_try_compile "$LINENO"; then :
21422 glibcxx_cv_func__hypot_use=yes
21423 else
21424 glibcxx_cv_func__hypot_use=no
21425 fi
21426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21427 ac_ext=c
21428 ac_cpp='$CPP $CPPFLAGS'
21429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21432
21433
21434 fi
21435
21436 fi
21437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21438 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21439
21440 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21441 for ac_func in _hypot
21442 do :
21443 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21444 if test "x$ac_cv_func__hypot" = x""yes; then :
21445 cat >>confdefs.h <<_ACEOF
21446 #define HAVE__HYPOT 1
21447 _ACEOF
21448
21449 fi
21450 done
21451
21452 fi
21453 fi
21454
21455
21456
21457
21458
21459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21460 $as_echo_n "checking for float trig functions... " >&6; }
21461 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21462 $as_echo_n "(cached) " >&6
21463 else
21464
21465
21466 ac_ext=cpp
21467 ac_cpp='$CXXCPP $CPPFLAGS'
21468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21471
21472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21473 /* end confdefs.h. */
21474 #include <math.h>
21475 int
21476 main ()
21477 {
21478 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21479 ;
21480 return 0;
21481 }
21482 _ACEOF
21483 if ac_fn_cxx_try_compile "$LINENO"; then :
21484 glibcxx_cv_func_float_trig_use=yes
21485 else
21486 glibcxx_cv_func_float_trig_use=no
21487 fi
21488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21489 ac_ext=c
21490 ac_cpp='$CPP $CPPFLAGS'
21491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21494
21495 fi
21496
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21498 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21499 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21500 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21501 do :
21502 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21503 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21504 eval as_val=\$$as_ac_var
21505 if test "x$as_val" = x""yes; then :
21506 cat >>confdefs.h <<_ACEOF
21507 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21508 _ACEOF
21509
21510 fi
21511 done
21512
21513 else
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21515 $as_echo_n "checking for _float trig functions... " >&6; }
21516 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21517 $as_echo_n "(cached) " >&6
21518 else
21519
21520
21521 ac_ext=cpp
21522 ac_cpp='$CXXCPP $CPPFLAGS'
21523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21526
21527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21528 /* end confdefs.h. */
21529 #include <math.h>
21530 int
21531 main ()
21532 {
21533 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21534 ;
21535 return 0;
21536 }
21537 _ACEOF
21538 if ac_fn_cxx_try_compile "$LINENO"; then :
21539 glibcxx_cv_func__float_trig_use=yes
21540 else
21541 glibcxx_cv_func__float_trig_use=no
21542 fi
21543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21544 ac_ext=c
21545 ac_cpp='$CPP $CPPFLAGS'
21546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21549
21550 fi
21551
21552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21553 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21554 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21555 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21556 do :
21557 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21558 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21559 eval as_val=\$$as_ac_var
21560 if test "x$as_val" = x""yes; then :
21561 cat >>confdefs.h <<_ACEOF
21562 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21563 _ACEOF
21564
21565 fi
21566 done
21567
21568 fi
21569 fi
21570
21571
21572
21573
21574
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21576 $as_echo_n "checking for float round functions... " >&6; }
21577 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21578 $as_echo_n "(cached) " >&6
21579 else
21580
21581
21582 ac_ext=cpp
21583 ac_cpp='$CXXCPP $CPPFLAGS'
21584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21587
21588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21589 /* end confdefs.h. */
21590 #include <math.h>
21591 int
21592 main ()
21593 {
21594 ceilf (0); floorf (0);
21595 ;
21596 return 0;
21597 }
21598 _ACEOF
21599 if ac_fn_cxx_try_compile "$LINENO"; then :
21600 glibcxx_cv_func_float_round_use=yes
21601 else
21602 glibcxx_cv_func_float_round_use=no
21603 fi
21604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21605 ac_ext=c
21606 ac_cpp='$CPP $CPPFLAGS'
21607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21610
21611 fi
21612
21613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21614 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21615 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21616 for ac_func in ceilf floorf
21617 do :
21618 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21619 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21620 eval as_val=\$$as_ac_var
21621 if test "x$as_val" = x""yes; then :
21622 cat >>confdefs.h <<_ACEOF
21623 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21624 _ACEOF
21625
21626 fi
21627 done
21628
21629 else
21630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21631 $as_echo_n "checking for _float round functions... " >&6; }
21632 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21633 $as_echo_n "(cached) " >&6
21634 else
21635
21636
21637 ac_ext=cpp
21638 ac_cpp='$CXXCPP $CPPFLAGS'
21639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21642
21643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21644 /* end confdefs.h. */
21645 #include <math.h>
21646 int
21647 main ()
21648 {
21649 _ceilf (0); _floorf (0);
21650 ;
21651 return 0;
21652 }
21653 _ACEOF
21654 if ac_fn_cxx_try_compile "$LINENO"; then :
21655 glibcxx_cv_func__float_round_use=yes
21656 else
21657 glibcxx_cv_func__float_round_use=no
21658 fi
21659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21660 ac_ext=c
21661 ac_cpp='$CPP $CPPFLAGS'
21662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21665
21666 fi
21667
21668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21669 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21670 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21671 for ac_func in _ceilf _floorf
21672 do :
21673 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21674 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21675 eval as_val=\$$as_ac_var
21676 if test "x$as_val" = x""yes; then :
21677 cat >>confdefs.h <<_ACEOF
21678 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21679 _ACEOF
21680
21681 fi
21682 done
21683
21684 fi
21685 fi
21686
21687
21688
21689
21690
21691
21692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21693 $as_echo_n "checking for expf declaration... " >&6; }
21694 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21695 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21696 $as_echo_n "(cached) " >&6
21697 else
21698
21699
21700 ac_ext=cpp
21701 ac_cpp='$CXXCPP $CPPFLAGS'
21702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21705
21706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21707 /* end confdefs.h. */
21708 #include <math.h>
21709 #ifdef HAVE_IEEEFP_H
21710 #include <ieeefp.h>
21711 #endif
21712
21713 int
21714 main ()
21715 {
21716 expf(0);
21717 ;
21718 return 0;
21719 }
21720 _ACEOF
21721 if ac_fn_cxx_try_compile "$LINENO"; then :
21722 glibcxx_cv_func_expf_use=yes
21723 else
21724 glibcxx_cv_func_expf_use=no
21725 fi
21726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21727 ac_ext=c
21728 ac_cpp='$CPP $CPPFLAGS'
21729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21732
21733
21734 fi
21735
21736 fi
21737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21738 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21739
21740 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21741 for ac_func in expf
21742 do :
21743 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21744 if test "x$ac_cv_func_expf" = x""yes; then :
21745 cat >>confdefs.h <<_ACEOF
21746 #define HAVE_EXPF 1
21747 _ACEOF
21748
21749 fi
21750 done
21751
21752 else
21753
21754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21755 $as_echo_n "checking for _expf declaration... " >&6; }
21756 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21757 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21758 $as_echo_n "(cached) " >&6
21759 else
21760
21761
21762 ac_ext=cpp
21763 ac_cpp='$CXXCPP $CPPFLAGS'
21764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21767
21768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21769 /* end confdefs.h. */
21770 #include <math.h>
21771 #ifdef HAVE_IEEEFP_H
21772 #include <ieeefp.h>
21773 #endif
21774
21775 int
21776 main ()
21777 {
21778 _expf(0);
21779 ;
21780 return 0;
21781 }
21782 _ACEOF
21783 if ac_fn_cxx_try_compile "$LINENO"; then :
21784 glibcxx_cv_func__expf_use=yes
21785 else
21786 glibcxx_cv_func__expf_use=no
21787 fi
21788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21789 ac_ext=c
21790 ac_cpp='$CPP $CPPFLAGS'
21791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21794
21795
21796 fi
21797
21798 fi
21799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21800 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21801
21802 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21803 for ac_func in _expf
21804 do :
21805 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21806 if test "x$ac_cv_func__expf" = x""yes; then :
21807 cat >>confdefs.h <<_ACEOF
21808 #define HAVE__EXPF 1
21809 _ACEOF
21810
21811 fi
21812 done
21813
21814 fi
21815 fi
21816
21817
21818
21819
21820
21821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21822 $as_echo_n "checking for isnanf declaration... " >&6; }
21823 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21824 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21825 $as_echo_n "(cached) " >&6
21826 else
21827
21828
21829 ac_ext=cpp
21830 ac_cpp='$CXXCPP $CPPFLAGS'
21831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21834
21835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21836 /* end confdefs.h. */
21837 #include <math.h>
21838 #ifdef HAVE_IEEEFP_H
21839 #include <ieeefp.h>
21840 #endif
21841
21842 int
21843 main ()
21844 {
21845 isnanf(0);
21846 ;
21847 return 0;
21848 }
21849 _ACEOF
21850 if ac_fn_cxx_try_compile "$LINENO"; then :
21851 glibcxx_cv_func_isnanf_use=yes
21852 else
21853 glibcxx_cv_func_isnanf_use=no
21854 fi
21855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21856 ac_ext=c
21857 ac_cpp='$CPP $CPPFLAGS'
21858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21861
21862
21863 fi
21864
21865 fi
21866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21867 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21868
21869 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21870 for ac_func in isnanf
21871 do :
21872 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21873 if test "x$ac_cv_func_isnanf" = x""yes; then :
21874 cat >>confdefs.h <<_ACEOF
21875 #define HAVE_ISNANF 1
21876 _ACEOF
21877
21878 fi
21879 done
21880
21881 else
21882
21883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21884 $as_echo_n "checking for _isnanf declaration... " >&6; }
21885 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21886 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21887 $as_echo_n "(cached) " >&6
21888 else
21889
21890
21891 ac_ext=cpp
21892 ac_cpp='$CXXCPP $CPPFLAGS'
21893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21896
21897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21898 /* end confdefs.h. */
21899 #include <math.h>
21900 #ifdef HAVE_IEEEFP_H
21901 #include <ieeefp.h>
21902 #endif
21903
21904 int
21905 main ()
21906 {
21907 _isnanf(0);
21908 ;
21909 return 0;
21910 }
21911 _ACEOF
21912 if ac_fn_cxx_try_compile "$LINENO"; then :
21913 glibcxx_cv_func__isnanf_use=yes
21914 else
21915 glibcxx_cv_func__isnanf_use=no
21916 fi
21917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21918 ac_ext=c
21919 ac_cpp='$CPP $CPPFLAGS'
21920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21923
21924
21925 fi
21926
21927 fi
21928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21929 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21930
21931 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21932 for ac_func in _isnanf
21933 do :
21934 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21935 if test "x$ac_cv_func__isnanf" = x""yes; then :
21936 cat >>confdefs.h <<_ACEOF
21937 #define HAVE__ISNANF 1
21938 _ACEOF
21939
21940 fi
21941 done
21942
21943 fi
21944 fi
21945
21946
21947
21948
21949
21950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21951 $as_echo_n "checking for isinff declaration... " >&6; }
21952 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21953 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21954 $as_echo_n "(cached) " >&6
21955 else
21956
21957
21958 ac_ext=cpp
21959 ac_cpp='$CXXCPP $CPPFLAGS'
21960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21963
21964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21965 /* end confdefs.h. */
21966 #include <math.h>
21967 #ifdef HAVE_IEEEFP_H
21968 #include <ieeefp.h>
21969 #endif
21970
21971 int
21972 main ()
21973 {
21974 isinff(0);
21975 ;
21976 return 0;
21977 }
21978 _ACEOF
21979 if ac_fn_cxx_try_compile "$LINENO"; then :
21980 glibcxx_cv_func_isinff_use=yes
21981 else
21982 glibcxx_cv_func_isinff_use=no
21983 fi
21984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21985 ac_ext=c
21986 ac_cpp='$CPP $CPPFLAGS'
21987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21990
21991
21992 fi
21993
21994 fi
21995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21996 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21997
21998 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21999 for ac_func in isinff
22000 do :
22001 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22002 if test "x$ac_cv_func_isinff" = x""yes; then :
22003 cat >>confdefs.h <<_ACEOF
22004 #define HAVE_ISINFF 1
22005 _ACEOF
22006
22007 fi
22008 done
22009
22010 else
22011
22012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22013 $as_echo_n "checking for _isinff declaration... " >&6; }
22014 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22015 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22016 $as_echo_n "(cached) " >&6
22017 else
22018
22019
22020 ac_ext=cpp
22021 ac_cpp='$CXXCPP $CPPFLAGS'
22022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22025
22026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22027 /* end confdefs.h. */
22028 #include <math.h>
22029 #ifdef HAVE_IEEEFP_H
22030 #include <ieeefp.h>
22031 #endif
22032
22033 int
22034 main ()
22035 {
22036 _isinff(0);
22037 ;
22038 return 0;
22039 }
22040 _ACEOF
22041 if ac_fn_cxx_try_compile "$LINENO"; then :
22042 glibcxx_cv_func__isinff_use=yes
22043 else
22044 glibcxx_cv_func__isinff_use=no
22045 fi
22046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22047 ac_ext=c
22048 ac_cpp='$CPP $CPPFLAGS'
22049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22052
22053
22054 fi
22055
22056 fi
22057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22058 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22059
22060 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22061 for ac_func in _isinff
22062 do :
22063 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22064 if test "x$ac_cv_func__isinff" = x""yes; then :
22065 cat >>confdefs.h <<_ACEOF
22066 #define HAVE__ISINFF 1
22067 _ACEOF
22068
22069 fi
22070 done
22071
22072 fi
22073 fi
22074
22075
22076
22077
22078
22079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22080 $as_echo_n "checking for atan2f declaration... " >&6; }
22081 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22082 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22083 $as_echo_n "(cached) " >&6
22084 else
22085
22086
22087 ac_ext=cpp
22088 ac_cpp='$CXXCPP $CPPFLAGS'
22089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22092
22093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22094 /* end confdefs.h. */
22095 #include <math.h>
22096 int
22097 main ()
22098 {
22099 atan2f(0, 0);
22100 ;
22101 return 0;
22102 }
22103 _ACEOF
22104 if ac_fn_cxx_try_compile "$LINENO"; then :
22105 glibcxx_cv_func_atan2f_use=yes
22106 else
22107 glibcxx_cv_func_atan2f_use=no
22108 fi
22109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22110 ac_ext=c
22111 ac_cpp='$CPP $CPPFLAGS'
22112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22115
22116
22117 fi
22118
22119 fi
22120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22121 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22122
22123 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22124 for ac_func in atan2f
22125 do :
22126 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22127 if test "x$ac_cv_func_atan2f" = x""yes; then :
22128 cat >>confdefs.h <<_ACEOF
22129 #define HAVE_ATAN2F 1
22130 _ACEOF
22131
22132 fi
22133 done
22134
22135 else
22136
22137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22138 $as_echo_n "checking for _atan2f declaration... " >&6; }
22139 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22140 if test "${glibcxx_cv_func__atan2f_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 _atan2f(0, 0);
22158 ;
22159 return 0;
22160 }
22161 _ACEOF
22162 if ac_fn_cxx_try_compile "$LINENO"; then :
22163 glibcxx_cv_func__atan2f_use=yes
22164 else
22165 glibcxx_cv_func__atan2f_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
22175 fi
22176
22177 fi
22178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22179 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22180
22181 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22182 for ac_func in _atan2f
22183 do :
22184 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22185 if test "x$ac_cv_func__atan2f" = x""yes; then :
22186 cat >>confdefs.h <<_ACEOF
22187 #define HAVE__ATAN2F 1
22188 _ACEOF
22189
22190 fi
22191 done
22192
22193 fi
22194 fi
22195
22196
22197
22198
22199
22200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22201 $as_echo_n "checking for fabsf declaration... " >&6; }
22202 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22203 if test "${glibcxx_cv_func_fabsf_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 fabsf(0);
22225 ;
22226 return 0;
22227 }
22228 _ACEOF
22229 if ac_fn_cxx_try_compile "$LINENO"; then :
22230 glibcxx_cv_func_fabsf_use=yes
22231 else
22232 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
22246 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22247
22248 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22249 for ac_func in fabsf
22250 do :
22251 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22252 if test "x$ac_cv_func_fabsf" = x""yes; then :
22253 cat >>confdefs.h <<_ACEOF
22254 #define HAVE_FABSF 1
22255 _ACEOF
22256
22257 fi
22258 done
22259
22260 else
22261
22262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22263 $as_echo_n "checking for _fabsf declaration... " >&6; }
22264 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22265 if test "${glibcxx_cv_func__fabsf_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 _fabsf(0);
22287 ;
22288 return 0;
22289 }
22290 _ACEOF
22291 if ac_fn_cxx_try_compile "$LINENO"; then :
22292 glibcxx_cv_func__fabsf_use=yes
22293 else
22294 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
22308 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22309
22310 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22311 for ac_func in _fabsf
22312 do :
22313 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22314 if test "x$ac_cv_func__fabsf" = x""yes; then :
22315 cat >>confdefs.h <<_ACEOF
22316 #define HAVE__FABSF 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 fmodf declaration" >&5
22330 $as_echo_n "checking for fmodf declaration... " >&6; }
22331 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22332 if test "${glibcxx_cv_func_fmodf_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 int
22347 main ()
22348 {
22349 fmodf(0, 0);
22350 ;
22351 return 0;
22352 }
22353 _ACEOF
22354 if ac_fn_cxx_try_compile "$LINENO"; then :
22355 glibcxx_cv_func_fmodf_use=yes
22356 else
22357 glibcxx_cv_func_fmodf_use=no
22358 fi
22359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22360 ac_ext=c
22361 ac_cpp='$CPP $CPPFLAGS'
22362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22365
22366
22367 fi
22368
22369 fi
22370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22371 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22372
22373 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22374 for ac_func in fmodf
22375 do :
22376 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22377 if test "x$ac_cv_func_fmodf" = x""yes; then :
22378 cat >>confdefs.h <<_ACEOF
22379 #define HAVE_FMODF 1
22380 _ACEOF
22381
22382 fi
22383 done
22384
22385 else
22386
22387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22388 $as_echo_n "checking for _fmodf declaration... " >&6; }
22389 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22390 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22391 $as_echo_n "(cached) " >&6
22392 else
22393
22394
22395 ac_ext=cpp
22396 ac_cpp='$CXXCPP $CPPFLAGS'
22397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22400
22401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22402 /* end confdefs.h. */
22403 #include <math.h>
22404 int
22405 main ()
22406 {
22407 _fmodf(0, 0);
22408 ;
22409 return 0;
22410 }
22411 _ACEOF
22412 if ac_fn_cxx_try_compile "$LINENO"; then :
22413 glibcxx_cv_func__fmodf_use=yes
22414 else
22415 glibcxx_cv_func__fmodf_use=no
22416 fi
22417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22418 ac_ext=c
22419 ac_cpp='$CPP $CPPFLAGS'
22420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22423
22424
22425 fi
22426
22427 fi
22428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22429 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22430
22431 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22432 for ac_func in _fmodf
22433 do :
22434 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22435 if test "x$ac_cv_func__fmodf" = x""yes; then :
22436 cat >>confdefs.h <<_ACEOF
22437 #define HAVE__FMODF 1
22438 _ACEOF
22439
22440 fi
22441 done
22442
22443 fi
22444 fi
22445
22446
22447
22448
22449
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22451 $as_echo_n "checking for frexpf declaration... " >&6; }
22452 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22453 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22454 $as_echo_n "(cached) " >&6
22455 else
22456
22457
22458 ac_ext=cpp
22459 ac_cpp='$CXXCPP $CPPFLAGS'
22460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22463
22464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22465 /* end confdefs.h. */
22466 #include <math.h>
22467 int
22468 main ()
22469 {
22470 frexpf(0, 0);
22471 ;
22472 return 0;
22473 }
22474 _ACEOF
22475 if ac_fn_cxx_try_compile "$LINENO"; then :
22476 glibcxx_cv_func_frexpf_use=yes
22477 else
22478 glibcxx_cv_func_frexpf_use=no
22479 fi
22480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22481 ac_ext=c
22482 ac_cpp='$CPP $CPPFLAGS'
22483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22486
22487
22488 fi
22489
22490 fi
22491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22492 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22493
22494 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22495 for ac_func in frexpf
22496 do :
22497 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22498 if test "x$ac_cv_func_frexpf" = x""yes; then :
22499 cat >>confdefs.h <<_ACEOF
22500 #define HAVE_FREXPF 1
22501 _ACEOF
22502
22503 fi
22504 done
22505
22506 else
22507
22508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22509 $as_echo_n "checking for _frexpf declaration... " >&6; }
22510 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22511 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22512 $as_echo_n "(cached) " >&6
22513 else
22514
22515
22516 ac_ext=cpp
22517 ac_cpp='$CXXCPP $CPPFLAGS'
22518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22521
22522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22523 /* end confdefs.h. */
22524 #include <math.h>
22525 int
22526 main ()
22527 {
22528 _frexpf(0, 0);
22529 ;
22530 return 0;
22531 }
22532 _ACEOF
22533 if ac_fn_cxx_try_compile "$LINENO"; then :
22534 glibcxx_cv_func__frexpf_use=yes
22535 else
22536 glibcxx_cv_func__frexpf_use=no
22537 fi
22538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22539 ac_ext=c
22540 ac_cpp='$CPP $CPPFLAGS'
22541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22544
22545
22546 fi
22547
22548 fi
22549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22550 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22551
22552 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22553 for ac_func in _frexpf
22554 do :
22555 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22556 if test "x$ac_cv_func__frexpf" = x""yes; then :
22557 cat >>confdefs.h <<_ACEOF
22558 #define HAVE__FREXPF 1
22559 _ACEOF
22560
22561 fi
22562 done
22563
22564 fi
22565 fi
22566
22567
22568
22569
22570
22571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22572 $as_echo_n "checking for hypotf declaration... " >&6; }
22573 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22574 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22575 $as_echo_n "(cached) " >&6
22576 else
22577
22578
22579 ac_ext=cpp
22580 ac_cpp='$CXXCPP $CPPFLAGS'
22581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22584
22585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22586 /* end confdefs.h. */
22587 #include <math.h>
22588 int
22589 main ()
22590 {
22591 hypotf(0, 0);
22592 ;
22593 return 0;
22594 }
22595 _ACEOF
22596 if ac_fn_cxx_try_compile "$LINENO"; then :
22597 glibcxx_cv_func_hypotf_use=yes
22598 else
22599 glibcxx_cv_func_hypotf_use=no
22600 fi
22601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22602 ac_ext=c
22603 ac_cpp='$CPP $CPPFLAGS'
22604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22607
22608
22609 fi
22610
22611 fi
22612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22613 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22614
22615 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22616 for ac_func in hypotf
22617 do :
22618 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22619 if test "x$ac_cv_func_hypotf" = x""yes; then :
22620 cat >>confdefs.h <<_ACEOF
22621 #define HAVE_HYPOTF 1
22622 _ACEOF
22623
22624 fi
22625 done
22626
22627 else
22628
22629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22630 $as_echo_n "checking for _hypotf declaration... " >&6; }
22631 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22632 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22633 $as_echo_n "(cached) " >&6
22634 else
22635
22636
22637 ac_ext=cpp
22638 ac_cpp='$CXXCPP $CPPFLAGS'
22639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22642
22643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22644 /* end confdefs.h. */
22645 #include <math.h>
22646 int
22647 main ()
22648 {
22649 _hypotf(0, 0);
22650 ;
22651 return 0;
22652 }
22653 _ACEOF
22654 if ac_fn_cxx_try_compile "$LINENO"; then :
22655 glibcxx_cv_func__hypotf_use=yes
22656 else
22657 glibcxx_cv_func__hypotf_use=no
22658 fi
22659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22660 ac_ext=c
22661 ac_cpp='$CPP $CPPFLAGS'
22662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22665
22666
22667 fi
22668
22669 fi
22670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22671 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22672
22673 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22674 for ac_func in _hypotf
22675 do :
22676 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22677 if test "x$ac_cv_func__hypotf" = x""yes; then :
22678 cat >>confdefs.h <<_ACEOF
22679 #define HAVE__HYPOTF 1
22680 _ACEOF
22681
22682 fi
22683 done
22684
22685 fi
22686 fi
22687
22688
22689
22690
22691
22692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22693 $as_echo_n "checking for ldexpf declaration... " >&6; }
22694 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22695 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22696 $as_echo_n "(cached) " >&6
22697 else
22698
22699
22700 ac_ext=cpp
22701 ac_cpp='$CXXCPP $CPPFLAGS'
22702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22705
22706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22707 /* end confdefs.h. */
22708 #include <math.h>
22709 int
22710 main ()
22711 {
22712 ldexpf(0, 0);
22713 ;
22714 return 0;
22715 }
22716 _ACEOF
22717 if ac_fn_cxx_try_compile "$LINENO"; then :
22718 glibcxx_cv_func_ldexpf_use=yes
22719 else
22720 glibcxx_cv_func_ldexpf_use=no
22721 fi
22722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22723 ac_ext=c
22724 ac_cpp='$CPP $CPPFLAGS'
22725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22728
22729
22730 fi
22731
22732 fi
22733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22734 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22735
22736 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22737 for ac_func in ldexpf
22738 do :
22739 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22740 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22741 cat >>confdefs.h <<_ACEOF
22742 #define HAVE_LDEXPF 1
22743 _ACEOF
22744
22745 fi
22746 done
22747
22748 else
22749
22750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22751 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22752 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22753 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22754 $as_echo_n "(cached) " >&6
22755 else
22756
22757
22758 ac_ext=cpp
22759 ac_cpp='$CXXCPP $CPPFLAGS'
22760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22763
22764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22765 /* end confdefs.h. */
22766 #include <math.h>
22767 int
22768 main ()
22769 {
22770 _ldexpf(0, 0);
22771 ;
22772 return 0;
22773 }
22774 _ACEOF
22775 if ac_fn_cxx_try_compile "$LINENO"; then :
22776 glibcxx_cv_func__ldexpf_use=yes
22777 else
22778 glibcxx_cv_func__ldexpf_use=no
22779 fi
22780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22781 ac_ext=c
22782 ac_cpp='$CPP $CPPFLAGS'
22783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22786
22787
22788 fi
22789
22790 fi
22791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22792 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22793
22794 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22795 for ac_func in _ldexpf
22796 do :
22797 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22798 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22799 cat >>confdefs.h <<_ACEOF
22800 #define HAVE__LDEXPF 1
22801 _ACEOF
22802
22803 fi
22804 done
22805
22806 fi
22807 fi
22808
22809
22810
22811
22812
22813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22814 $as_echo_n "checking for logf declaration... " >&6; }
22815 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22816 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22817 $as_echo_n "(cached) " >&6
22818 else
22819
22820
22821 ac_ext=cpp
22822 ac_cpp='$CXXCPP $CPPFLAGS'
22823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22826
22827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22828 /* end confdefs.h. */
22829 #include <math.h>
22830 #ifdef HAVE_IEEEFP_H
22831 #include <ieeefp.h>
22832 #endif
22833
22834 int
22835 main ()
22836 {
22837 logf(0);
22838 ;
22839 return 0;
22840 }
22841 _ACEOF
22842 if ac_fn_cxx_try_compile "$LINENO"; then :
22843 glibcxx_cv_func_logf_use=yes
22844 else
22845 glibcxx_cv_func_logf_use=no
22846 fi
22847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22848 ac_ext=c
22849 ac_cpp='$CPP $CPPFLAGS'
22850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22853
22854
22855 fi
22856
22857 fi
22858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22859 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22860
22861 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22862 for ac_func in logf
22863 do :
22864 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22865 if test "x$ac_cv_func_logf" = x""yes; then :
22866 cat >>confdefs.h <<_ACEOF
22867 #define HAVE_LOGF 1
22868 _ACEOF
22869
22870 fi
22871 done
22872
22873 else
22874
22875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22876 $as_echo_n "checking for _logf declaration... " >&6; }
22877 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22878 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22879 $as_echo_n "(cached) " >&6
22880 else
22881
22882
22883 ac_ext=cpp
22884 ac_cpp='$CXXCPP $CPPFLAGS'
22885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22888
22889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22890 /* end confdefs.h. */
22891 #include <math.h>
22892 #ifdef HAVE_IEEEFP_H
22893 #include <ieeefp.h>
22894 #endif
22895
22896 int
22897 main ()
22898 {
22899 _logf(0);
22900 ;
22901 return 0;
22902 }
22903 _ACEOF
22904 if ac_fn_cxx_try_compile "$LINENO"; then :
22905 glibcxx_cv_func__logf_use=yes
22906 else
22907 glibcxx_cv_func__logf_use=no
22908 fi
22909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22910 ac_ext=c
22911 ac_cpp='$CPP $CPPFLAGS'
22912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22915
22916
22917 fi
22918
22919 fi
22920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22921 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22922
22923 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22924 for ac_func in _logf
22925 do :
22926 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22927 if test "x$ac_cv_func__logf" = x""yes; then :
22928 cat >>confdefs.h <<_ACEOF
22929 #define HAVE__LOGF 1
22930 _ACEOF
22931
22932 fi
22933 done
22934
22935 fi
22936 fi
22937
22938
22939
22940
22941
22942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22943 $as_echo_n "checking for log10f declaration... " >&6; }
22944 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22945 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22946 $as_echo_n "(cached) " >&6
22947 else
22948
22949
22950 ac_ext=cpp
22951 ac_cpp='$CXXCPP $CPPFLAGS'
22952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22955
22956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22957 /* end confdefs.h. */
22958 #include <math.h>
22959 #ifdef HAVE_IEEEFP_H
22960 #include <ieeefp.h>
22961 #endif
22962
22963 int
22964 main ()
22965 {
22966 log10f(0);
22967 ;
22968 return 0;
22969 }
22970 _ACEOF
22971 if ac_fn_cxx_try_compile "$LINENO"; then :
22972 glibcxx_cv_func_log10f_use=yes
22973 else
22974 glibcxx_cv_func_log10f_use=no
22975 fi
22976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22977 ac_ext=c
22978 ac_cpp='$CPP $CPPFLAGS'
22979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22982
22983
22984 fi
22985
22986 fi
22987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22988 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22989
22990 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22991 for ac_func in log10f
22992 do :
22993 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22994 if test "x$ac_cv_func_log10f" = x""yes; then :
22995 cat >>confdefs.h <<_ACEOF
22996 #define HAVE_LOG10F 1
22997 _ACEOF
22998
22999 fi
23000 done
23001
23002 else
23003
23004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23005 $as_echo_n "checking for _log10f declaration... " >&6; }
23006 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23007 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23008 $as_echo_n "(cached) " >&6
23009 else
23010
23011
23012 ac_ext=cpp
23013 ac_cpp='$CXXCPP $CPPFLAGS'
23014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23017
23018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23019 /* end confdefs.h. */
23020 #include <math.h>
23021 #ifdef HAVE_IEEEFP_H
23022 #include <ieeefp.h>
23023 #endif
23024
23025 int
23026 main ()
23027 {
23028 _log10f(0);
23029 ;
23030 return 0;
23031 }
23032 _ACEOF
23033 if ac_fn_cxx_try_compile "$LINENO"; then :
23034 glibcxx_cv_func__log10f_use=yes
23035 else
23036 glibcxx_cv_func__log10f_use=no
23037 fi
23038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23039 ac_ext=c
23040 ac_cpp='$CPP $CPPFLAGS'
23041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23044
23045
23046 fi
23047
23048 fi
23049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23050 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23051
23052 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23053 for ac_func in _log10f
23054 do :
23055 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23056 if test "x$ac_cv_func__log10f" = x""yes; then :
23057 cat >>confdefs.h <<_ACEOF
23058 #define HAVE__LOG10F 1
23059 _ACEOF
23060
23061 fi
23062 done
23063
23064 fi
23065 fi
23066
23067
23068
23069
23070
23071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23072 $as_echo_n "checking for modff declaration... " >&6; }
23073 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23074 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23075 $as_echo_n "(cached) " >&6
23076 else
23077
23078
23079 ac_ext=cpp
23080 ac_cpp='$CXXCPP $CPPFLAGS'
23081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23084
23085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23086 /* end confdefs.h. */
23087 #include <math.h>
23088 int
23089 main ()
23090 {
23091 modff(0, 0);
23092 ;
23093 return 0;
23094 }
23095 _ACEOF
23096 if ac_fn_cxx_try_compile "$LINENO"; then :
23097 glibcxx_cv_func_modff_use=yes
23098 else
23099 glibcxx_cv_func_modff_use=no
23100 fi
23101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23102 ac_ext=c
23103 ac_cpp='$CPP $CPPFLAGS'
23104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23107
23108
23109 fi
23110
23111 fi
23112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23113 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23114
23115 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23116 for ac_func in modff
23117 do :
23118 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23119 if test "x$ac_cv_func_modff" = x""yes; then :
23120 cat >>confdefs.h <<_ACEOF
23121 #define HAVE_MODFF 1
23122 _ACEOF
23123
23124 fi
23125 done
23126
23127 else
23128
23129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23130 $as_echo_n "checking for _modff declaration... " >&6; }
23131 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23132 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23133 $as_echo_n "(cached) " >&6
23134 else
23135
23136
23137 ac_ext=cpp
23138 ac_cpp='$CXXCPP $CPPFLAGS'
23139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23142
23143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23144 /* end confdefs.h. */
23145 #include <math.h>
23146 int
23147 main ()
23148 {
23149 _modff(0, 0);
23150 ;
23151 return 0;
23152 }
23153 _ACEOF
23154 if ac_fn_cxx_try_compile "$LINENO"; then :
23155 glibcxx_cv_func__modff_use=yes
23156 else
23157 glibcxx_cv_func__modff_use=no
23158 fi
23159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23160 ac_ext=c
23161 ac_cpp='$CPP $CPPFLAGS'
23162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23165
23166
23167 fi
23168
23169 fi
23170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23171 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23172
23173 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23174 for ac_func in _modff
23175 do :
23176 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23177 if test "x$ac_cv_func__modff" = x""yes; then :
23178 cat >>confdefs.h <<_ACEOF
23179 #define HAVE__MODFF 1
23180 _ACEOF
23181
23182 fi
23183 done
23184
23185 fi
23186 fi
23187
23188
23189
23190
23191
23192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23193 $as_echo_n "checking for modf declaration... " >&6; }
23194 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23195 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23196 $as_echo_n "(cached) " >&6
23197 else
23198
23199
23200 ac_ext=cpp
23201 ac_cpp='$CXXCPP $CPPFLAGS'
23202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23205
23206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23207 /* end confdefs.h. */
23208 #include <math.h>
23209 int
23210 main ()
23211 {
23212 modf(0, 0);
23213 ;
23214 return 0;
23215 }
23216 _ACEOF
23217 if ac_fn_cxx_try_compile "$LINENO"; then :
23218 glibcxx_cv_func_modf_use=yes
23219 else
23220 glibcxx_cv_func_modf_use=no
23221 fi
23222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23223 ac_ext=c
23224 ac_cpp='$CPP $CPPFLAGS'
23225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23228
23229
23230 fi
23231
23232 fi
23233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23234 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23235
23236 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23237 for ac_func in modf
23238 do :
23239 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23240 if test "x$ac_cv_func_modf" = x""yes; then :
23241 cat >>confdefs.h <<_ACEOF
23242 #define HAVE_MODF 1
23243 _ACEOF
23244
23245 fi
23246 done
23247
23248 else
23249
23250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23251 $as_echo_n "checking for _modf declaration... " >&6; }
23252 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23253 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23254 $as_echo_n "(cached) " >&6
23255 else
23256
23257
23258 ac_ext=cpp
23259 ac_cpp='$CXXCPP $CPPFLAGS'
23260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23263
23264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23265 /* end confdefs.h. */
23266 #include <math.h>
23267 int
23268 main ()
23269 {
23270 _modf(0, 0);
23271 ;
23272 return 0;
23273 }
23274 _ACEOF
23275 if ac_fn_cxx_try_compile "$LINENO"; then :
23276 glibcxx_cv_func__modf_use=yes
23277 else
23278 glibcxx_cv_func__modf_use=no
23279 fi
23280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23281 ac_ext=c
23282 ac_cpp='$CPP $CPPFLAGS'
23283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23286
23287
23288 fi
23289
23290 fi
23291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23292 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23293
23294 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23295 for ac_func in _modf
23296 do :
23297 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23298 if test "x$ac_cv_func__modf" = x""yes; then :
23299 cat >>confdefs.h <<_ACEOF
23300 #define HAVE__MODF 1
23301 _ACEOF
23302
23303 fi
23304 done
23305
23306 fi
23307 fi
23308
23309
23310
23311
23312
23313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23314 $as_echo_n "checking for powf declaration... " >&6; }
23315 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23316 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23317 $as_echo_n "(cached) " >&6
23318 else
23319
23320
23321 ac_ext=cpp
23322 ac_cpp='$CXXCPP $CPPFLAGS'
23323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23326
23327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23328 /* end confdefs.h. */
23329 #include <math.h>
23330 int
23331 main ()
23332 {
23333 powf(0, 0);
23334 ;
23335 return 0;
23336 }
23337 _ACEOF
23338 if ac_fn_cxx_try_compile "$LINENO"; then :
23339 glibcxx_cv_func_powf_use=yes
23340 else
23341 glibcxx_cv_func_powf_use=no
23342 fi
23343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23344 ac_ext=c
23345 ac_cpp='$CPP $CPPFLAGS'
23346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23349
23350
23351 fi
23352
23353 fi
23354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23355 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23356
23357 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23358 for ac_func in powf
23359 do :
23360 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23361 if test "x$ac_cv_func_powf" = x""yes; then :
23362 cat >>confdefs.h <<_ACEOF
23363 #define HAVE_POWF 1
23364 _ACEOF
23365
23366 fi
23367 done
23368
23369 else
23370
23371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23372 $as_echo_n "checking for _powf declaration... " >&6; }
23373 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23374 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23375 $as_echo_n "(cached) " >&6
23376 else
23377
23378
23379 ac_ext=cpp
23380 ac_cpp='$CXXCPP $CPPFLAGS'
23381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23384
23385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23386 /* end confdefs.h. */
23387 #include <math.h>
23388 int
23389 main ()
23390 {
23391 _powf(0, 0);
23392 ;
23393 return 0;
23394 }
23395 _ACEOF
23396 if ac_fn_cxx_try_compile "$LINENO"; then :
23397 glibcxx_cv_func__powf_use=yes
23398 else
23399 glibcxx_cv_func__powf_use=no
23400 fi
23401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23402 ac_ext=c
23403 ac_cpp='$CPP $CPPFLAGS'
23404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23407
23408
23409 fi
23410
23411 fi
23412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23413 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23414
23415 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23416 for ac_func in _powf
23417 do :
23418 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23419 if test "x$ac_cv_func__powf" = x""yes; then :
23420 cat >>confdefs.h <<_ACEOF
23421 #define HAVE__POWF 1
23422 _ACEOF
23423
23424 fi
23425 done
23426
23427 fi
23428 fi
23429
23430
23431
23432
23433
23434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23435 $as_echo_n "checking for sqrtf declaration... " >&6; }
23436 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23437 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23438 $as_echo_n "(cached) " >&6
23439 else
23440
23441
23442 ac_ext=cpp
23443 ac_cpp='$CXXCPP $CPPFLAGS'
23444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23447
23448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23449 /* end confdefs.h. */
23450 #include <math.h>
23451 #ifdef HAVE_IEEEFP_H
23452 #include <ieeefp.h>
23453 #endif
23454
23455 int
23456 main ()
23457 {
23458 sqrtf(0);
23459 ;
23460 return 0;
23461 }
23462 _ACEOF
23463 if ac_fn_cxx_try_compile "$LINENO"; then :
23464 glibcxx_cv_func_sqrtf_use=yes
23465 else
23466 glibcxx_cv_func_sqrtf_use=no
23467 fi
23468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23469 ac_ext=c
23470 ac_cpp='$CPP $CPPFLAGS'
23471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23474
23475
23476 fi
23477
23478 fi
23479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23480 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23481
23482 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23483 for ac_func in sqrtf
23484 do :
23485 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23486 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23487 cat >>confdefs.h <<_ACEOF
23488 #define HAVE_SQRTF 1
23489 _ACEOF
23490
23491 fi
23492 done
23493
23494 else
23495
23496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23497 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23498 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23499 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23500 $as_echo_n "(cached) " >&6
23501 else
23502
23503
23504 ac_ext=cpp
23505 ac_cpp='$CXXCPP $CPPFLAGS'
23506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23509
23510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23511 /* end confdefs.h. */
23512 #include <math.h>
23513 #ifdef HAVE_IEEEFP_H
23514 #include <ieeefp.h>
23515 #endif
23516
23517 int
23518 main ()
23519 {
23520 _sqrtf(0);
23521 ;
23522 return 0;
23523 }
23524 _ACEOF
23525 if ac_fn_cxx_try_compile "$LINENO"; then :
23526 glibcxx_cv_func__sqrtf_use=yes
23527 else
23528 glibcxx_cv_func__sqrtf_use=no
23529 fi
23530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23531 ac_ext=c
23532 ac_cpp='$CPP $CPPFLAGS'
23533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23536
23537
23538 fi
23539
23540 fi
23541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23542 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23543
23544 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23545 for ac_func in _sqrtf
23546 do :
23547 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23548 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23549 cat >>confdefs.h <<_ACEOF
23550 #define HAVE__SQRTF 1
23551 _ACEOF
23552
23553 fi
23554 done
23555
23556 fi
23557 fi
23558
23559
23560
23561
23562
23563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23564 $as_echo_n "checking for sincosf declaration... " >&6; }
23565 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23566 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23567 $as_echo_n "(cached) " >&6
23568 else
23569
23570
23571 ac_ext=cpp
23572 ac_cpp='$CXXCPP $CPPFLAGS'
23573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23576
23577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23578 /* end confdefs.h. */
23579 #include <math.h>
23580 int
23581 main ()
23582 {
23583 sincosf(0, 0, 0);
23584 ;
23585 return 0;
23586 }
23587 _ACEOF
23588 if ac_fn_cxx_try_compile "$LINENO"; then :
23589 glibcxx_cv_func_sincosf_use=yes
23590 else
23591 glibcxx_cv_func_sincosf_use=no
23592 fi
23593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23594 ac_ext=c
23595 ac_cpp='$CPP $CPPFLAGS'
23596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23599
23600
23601 fi
23602
23603 fi
23604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23605 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23606
23607 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23608 for ac_func in sincosf
23609 do :
23610 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23611 if test "x$ac_cv_func_sincosf" = x""yes; then :
23612 cat >>confdefs.h <<_ACEOF
23613 #define HAVE_SINCOSF 1
23614 _ACEOF
23615
23616 fi
23617 done
23618
23619 else
23620
23621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23622 $as_echo_n "checking for _sincosf declaration... " >&6; }
23623 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23624 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23625 $as_echo_n "(cached) " >&6
23626 else
23627
23628
23629 ac_ext=cpp
23630 ac_cpp='$CXXCPP $CPPFLAGS'
23631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23634
23635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23636 /* end confdefs.h. */
23637 #include <math.h>
23638 int
23639 main ()
23640 {
23641 _sincosf(0, 0, 0);
23642 ;
23643 return 0;
23644 }
23645 _ACEOF
23646 if ac_fn_cxx_try_compile "$LINENO"; then :
23647 glibcxx_cv_func__sincosf_use=yes
23648 else
23649 glibcxx_cv_func__sincosf_use=no
23650 fi
23651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23652 ac_ext=c
23653 ac_cpp='$CPP $CPPFLAGS'
23654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23657
23658
23659 fi
23660
23661 fi
23662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23663 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23664
23665 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23666 for ac_func in _sincosf
23667 do :
23668 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23669 if test "x$ac_cv_func__sincosf" = x""yes; then :
23670 cat >>confdefs.h <<_ACEOF
23671 #define HAVE__SINCOSF 1
23672 _ACEOF
23673
23674 fi
23675 done
23676
23677 fi
23678 fi
23679
23680
23681
23682
23683
23684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23685 $as_echo_n "checking for finitef declaration... " >&6; }
23686 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23687 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23688 $as_echo_n "(cached) " >&6
23689 else
23690
23691
23692 ac_ext=cpp
23693 ac_cpp='$CXXCPP $CPPFLAGS'
23694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23697
23698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23699 /* end confdefs.h. */
23700 #include <math.h>
23701 #ifdef HAVE_IEEEFP_H
23702 #include <ieeefp.h>
23703 #endif
23704
23705 int
23706 main ()
23707 {
23708 finitef(0);
23709 ;
23710 return 0;
23711 }
23712 _ACEOF
23713 if ac_fn_cxx_try_compile "$LINENO"; then :
23714 glibcxx_cv_func_finitef_use=yes
23715 else
23716 glibcxx_cv_func_finitef_use=no
23717 fi
23718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23719 ac_ext=c
23720 ac_cpp='$CPP $CPPFLAGS'
23721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23724
23725
23726 fi
23727
23728 fi
23729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23730 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23731
23732 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23733 for ac_func in finitef
23734 do :
23735 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23736 if test "x$ac_cv_func_finitef" = x""yes; then :
23737 cat >>confdefs.h <<_ACEOF
23738 #define HAVE_FINITEF 1
23739 _ACEOF
23740
23741 fi
23742 done
23743
23744 else
23745
23746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23747 $as_echo_n "checking for _finitef declaration... " >&6; }
23748 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23749 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23750 $as_echo_n "(cached) " >&6
23751 else
23752
23753
23754 ac_ext=cpp
23755 ac_cpp='$CXXCPP $CPPFLAGS'
23756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23759
23760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23761 /* end confdefs.h. */
23762 #include <math.h>
23763 #ifdef HAVE_IEEEFP_H
23764 #include <ieeefp.h>
23765 #endif
23766
23767 int
23768 main ()
23769 {
23770 _finitef(0);
23771 ;
23772 return 0;
23773 }
23774 _ACEOF
23775 if ac_fn_cxx_try_compile "$LINENO"; then :
23776 glibcxx_cv_func__finitef_use=yes
23777 else
23778 glibcxx_cv_func__finitef_use=no
23779 fi
23780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23781 ac_ext=c
23782 ac_cpp='$CPP $CPPFLAGS'
23783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23786
23787
23788 fi
23789
23790 fi
23791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23792 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23793
23794 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23795 for ac_func in _finitef
23796 do :
23797 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23798 if test "x$ac_cv_func__finitef" = x""yes; then :
23799 cat >>confdefs.h <<_ACEOF
23800 #define HAVE__FINITEF 1
23801 _ACEOF
23802
23803 fi
23804 done
23805
23806 fi
23807 fi
23808
23809
23810
23811
23812
23813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23814 $as_echo_n "checking for long double trig functions... " >&6; }
23815 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23816 $as_echo_n "(cached) " >&6
23817 else
23818
23819
23820 ac_ext=cpp
23821 ac_cpp='$CXXCPP $CPPFLAGS'
23822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23825
23826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23827 /* end confdefs.h. */
23828 #include <math.h>
23829 int
23830 main ()
23831 {
23832 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23833 ;
23834 return 0;
23835 }
23836 _ACEOF
23837 if ac_fn_cxx_try_compile "$LINENO"; then :
23838 glibcxx_cv_func_long_double_trig_use=yes
23839 else
23840 glibcxx_cv_func_long_double_trig_use=no
23841 fi
23842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23843 ac_ext=c
23844 ac_cpp='$CPP $CPPFLAGS'
23845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23848
23849 fi
23850
23851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23852 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23853 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23854 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23855 do :
23856 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23857 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23858 eval as_val=\$$as_ac_var
23859 if test "x$as_val" = x""yes; then :
23860 cat >>confdefs.h <<_ACEOF
23861 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23862 _ACEOF
23863
23864 fi
23865 done
23866
23867 else
23868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23869 $as_echo_n "checking for _long double trig functions... " >&6; }
23870 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23871 $as_echo_n "(cached) " >&6
23872 else
23873
23874
23875 ac_ext=cpp
23876 ac_cpp='$CXXCPP $CPPFLAGS'
23877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23880
23881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23882 /* end confdefs.h. */
23883 #include <math.h>
23884 int
23885 main ()
23886 {
23887 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23888 ;
23889 return 0;
23890 }
23891 _ACEOF
23892 if ac_fn_cxx_try_compile "$LINENO"; then :
23893 glibcxx_cv_func__long_double_trig_use=yes
23894 else
23895 glibcxx_cv_func__long_double_trig_use=no
23896 fi
23897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23898 ac_ext=c
23899 ac_cpp='$CPP $CPPFLAGS'
23900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23903
23904 fi
23905
23906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23907 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23908 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23909 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23910 do :
23911 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23912 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23913 eval as_val=\$$as_ac_var
23914 if test "x$as_val" = x""yes; then :
23915 cat >>confdefs.h <<_ACEOF
23916 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23917 _ACEOF
23918
23919 fi
23920 done
23921
23922 fi
23923 fi
23924
23925
23926
23927
23928
23929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23930 $as_echo_n "checking for long double round functions... " >&6; }
23931 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23932 $as_echo_n "(cached) " >&6
23933 else
23934
23935
23936 ac_ext=cpp
23937 ac_cpp='$CXXCPP $CPPFLAGS'
23938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23941
23942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23943 /* end confdefs.h. */
23944 #include <math.h>
23945 int
23946 main ()
23947 {
23948 ceill (0); floorl (0);
23949 ;
23950 return 0;
23951 }
23952 _ACEOF
23953 if ac_fn_cxx_try_compile "$LINENO"; then :
23954 glibcxx_cv_func_long_double_round_use=yes
23955 else
23956 glibcxx_cv_func_long_double_round_use=no
23957 fi
23958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23959 ac_ext=c
23960 ac_cpp='$CPP $CPPFLAGS'
23961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23964
23965 fi
23966
23967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23968 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23969 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23970 for ac_func in ceill floorl
23971 do :
23972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23973 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23974 eval as_val=\$$as_ac_var
23975 if test "x$as_val" = x""yes; then :
23976 cat >>confdefs.h <<_ACEOF
23977 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23978 _ACEOF
23979
23980 fi
23981 done
23982
23983 else
23984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23985 $as_echo_n "checking for _long double round functions... " >&6; }
23986 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23987 $as_echo_n "(cached) " >&6
23988 else
23989
23990
23991 ac_ext=cpp
23992 ac_cpp='$CXXCPP $CPPFLAGS'
23993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23996
23997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23998 /* end confdefs.h. */
23999 #include <math.h>
24000 int
24001 main ()
24002 {
24003 _ceill (0); _floorl (0);
24004 ;
24005 return 0;
24006 }
24007 _ACEOF
24008 if ac_fn_cxx_try_compile "$LINENO"; then :
24009 glibcxx_cv_func__long_double_round_use=yes
24010 else
24011 glibcxx_cv_func__long_double_round_use=no
24012 fi
24013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24014 ac_ext=c
24015 ac_cpp='$CPP $CPPFLAGS'
24016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24019
24020 fi
24021
24022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24023 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24024 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24025 for ac_func in _ceill _floorl
24026 do :
24027 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24028 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24029 eval as_val=\$$as_ac_var
24030 if test "x$as_val" = x""yes; then :
24031 cat >>confdefs.h <<_ACEOF
24032 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24033 _ACEOF
24034
24035 fi
24036 done
24037
24038 fi
24039 fi
24040
24041
24042
24043
24044
24045
24046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24047 $as_echo_n "checking for isnanl declaration... " >&6; }
24048 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24049 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24050 $as_echo_n "(cached) " >&6
24051 else
24052
24053
24054 ac_ext=cpp
24055 ac_cpp='$CXXCPP $CPPFLAGS'
24056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24059
24060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24061 /* end confdefs.h. */
24062 #include <math.h>
24063 #ifdef HAVE_IEEEFP_H
24064 #include <ieeefp.h>
24065 #endif
24066
24067 int
24068 main ()
24069 {
24070 isnanl(0);
24071 ;
24072 return 0;
24073 }
24074 _ACEOF
24075 if ac_fn_cxx_try_compile "$LINENO"; then :
24076 glibcxx_cv_func_isnanl_use=yes
24077 else
24078 glibcxx_cv_func_isnanl_use=no
24079 fi
24080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24081 ac_ext=c
24082 ac_cpp='$CPP $CPPFLAGS'
24083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24086
24087
24088 fi
24089
24090 fi
24091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24092 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24093
24094 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24095 for ac_func in isnanl
24096 do :
24097 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24098 if test "x$ac_cv_func_isnanl" = x""yes; then :
24099 cat >>confdefs.h <<_ACEOF
24100 #define HAVE_ISNANL 1
24101 _ACEOF
24102
24103 fi
24104 done
24105
24106 else
24107
24108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24109 $as_echo_n "checking for _isnanl declaration... " >&6; }
24110 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24111 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24112 $as_echo_n "(cached) " >&6
24113 else
24114
24115
24116 ac_ext=cpp
24117 ac_cpp='$CXXCPP $CPPFLAGS'
24118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24121
24122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24123 /* end confdefs.h. */
24124 #include <math.h>
24125 #ifdef HAVE_IEEEFP_H
24126 #include <ieeefp.h>
24127 #endif
24128
24129 int
24130 main ()
24131 {
24132 _isnanl(0);
24133 ;
24134 return 0;
24135 }
24136 _ACEOF
24137 if ac_fn_cxx_try_compile "$LINENO"; then :
24138 glibcxx_cv_func__isnanl_use=yes
24139 else
24140 glibcxx_cv_func__isnanl_use=no
24141 fi
24142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24143 ac_ext=c
24144 ac_cpp='$CPP $CPPFLAGS'
24145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24148
24149
24150 fi
24151
24152 fi
24153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24154 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24155
24156 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24157 for ac_func in _isnanl
24158 do :
24159 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24160 if test "x$ac_cv_func__isnanl" = x""yes; then :
24161 cat >>confdefs.h <<_ACEOF
24162 #define HAVE__ISNANL 1
24163 _ACEOF
24164
24165 fi
24166 done
24167
24168 fi
24169 fi
24170
24171
24172
24173
24174
24175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24176 $as_echo_n "checking for isinfl declaration... " >&6; }
24177 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24178 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24179 $as_echo_n "(cached) " >&6
24180 else
24181
24182
24183 ac_ext=cpp
24184 ac_cpp='$CXXCPP $CPPFLAGS'
24185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24188
24189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24190 /* end confdefs.h. */
24191 #include <math.h>
24192 #ifdef HAVE_IEEEFP_H
24193 #include <ieeefp.h>
24194 #endif
24195
24196 int
24197 main ()
24198 {
24199 isinfl(0);
24200 ;
24201 return 0;
24202 }
24203 _ACEOF
24204 if ac_fn_cxx_try_compile "$LINENO"; then :
24205 glibcxx_cv_func_isinfl_use=yes
24206 else
24207 glibcxx_cv_func_isinfl_use=no
24208 fi
24209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24210 ac_ext=c
24211 ac_cpp='$CPP $CPPFLAGS'
24212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24215
24216
24217 fi
24218
24219 fi
24220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24221 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24222
24223 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24224 for ac_func in isinfl
24225 do :
24226 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24227 if test "x$ac_cv_func_isinfl" = x""yes; then :
24228 cat >>confdefs.h <<_ACEOF
24229 #define HAVE_ISINFL 1
24230 _ACEOF
24231
24232 fi
24233 done
24234
24235 else
24236
24237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24238 $as_echo_n "checking for _isinfl declaration... " >&6; }
24239 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24240 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24241 $as_echo_n "(cached) " >&6
24242 else
24243
24244
24245 ac_ext=cpp
24246 ac_cpp='$CXXCPP $CPPFLAGS'
24247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24250
24251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24252 /* end confdefs.h. */
24253 #include <math.h>
24254 #ifdef HAVE_IEEEFP_H
24255 #include <ieeefp.h>
24256 #endif
24257
24258 int
24259 main ()
24260 {
24261 _isinfl(0);
24262 ;
24263 return 0;
24264 }
24265 _ACEOF
24266 if ac_fn_cxx_try_compile "$LINENO"; then :
24267 glibcxx_cv_func__isinfl_use=yes
24268 else
24269 glibcxx_cv_func__isinfl_use=no
24270 fi
24271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24272 ac_ext=c
24273 ac_cpp='$CPP $CPPFLAGS'
24274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24277
24278
24279 fi
24280
24281 fi
24282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24283 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24284
24285 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24286 for ac_func in _isinfl
24287 do :
24288 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24289 if test "x$ac_cv_func__isinfl" = x""yes; then :
24290 cat >>confdefs.h <<_ACEOF
24291 #define HAVE__ISINFL 1
24292 _ACEOF
24293
24294 fi
24295 done
24296
24297 fi
24298 fi
24299
24300
24301
24302
24303
24304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24305 $as_echo_n "checking for atan2l declaration... " >&6; }
24306 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24307 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24308 $as_echo_n "(cached) " >&6
24309 else
24310
24311
24312 ac_ext=cpp
24313 ac_cpp='$CXXCPP $CPPFLAGS'
24314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24317
24318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24319 /* end confdefs.h. */
24320 #include <math.h>
24321 int
24322 main ()
24323 {
24324 atan2l(0, 0);
24325 ;
24326 return 0;
24327 }
24328 _ACEOF
24329 if ac_fn_cxx_try_compile "$LINENO"; then :
24330 glibcxx_cv_func_atan2l_use=yes
24331 else
24332 glibcxx_cv_func_atan2l_use=no
24333 fi
24334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24335 ac_ext=c
24336 ac_cpp='$CPP $CPPFLAGS'
24337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24340
24341
24342 fi
24343
24344 fi
24345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24346 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24347
24348 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24349 for ac_func in atan2l
24350 do :
24351 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24352 if test "x$ac_cv_func_atan2l" = x""yes; then :
24353 cat >>confdefs.h <<_ACEOF
24354 #define HAVE_ATAN2L 1
24355 _ACEOF
24356
24357 fi
24358 done
24359
24360 else
24361
24362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24363 $as_echo_n "checking for _atan2l declaration... " >&6; }
24364 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24365 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24366 $as_echo_n "(cached) " >&6
24367 else
24368
24369
24370 ac_ext=cpp
24371 ac_cpp='$CXXCPP $CPPFLAGS'
24372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24375
24376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24377 /* end confdefs.h. */
24378 #include <math.h>
24379 int
24380 main ()
24381 {
24382 _atan2l(0, 0);
24383 ;
24384 return 0;
24385 }
24386 _ACEOF
24387 if ac_fn_cxx_try_compile "$LINENO"; then :
24388 glibcxx_cv_func__atan2l_use=yes
24389 else
24390 glibcxx_cv_func__atan2l_use=no
24391 fi
24392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24393 ac_ext=c
24394 ac_cpp='$CPP $CPPFLAGS'
24395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24398
24399
24400 fi
24401
24402 fi
24403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24404 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24405
24406 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24407 for ac_func in _atan2l
24408 do :
24409 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24410 if test "x$ac_cv_func__atan2l" = x""yes; then :
24411 cat >>confdefs.h <<_ACEOF
24412 #define HAVE__ATAN2L 1
24413 _ACEOF
24414
24415 fi
24416 done
24417
24418 fi
24419 fi
24420
24421
24422
24423
24424
24425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24426 $as_echo_n "checking for expl declaration... " >&6; }
24427 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24428 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24429 $as_echo_n "(cached) " >&6
24430 else
24431
24432
24433 ac_ext=cpp
24434 ac_cpp='$CXXCPP $CPPFLAGS'
24435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24438
24439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24440 /* end confdefs.h. */
24441 #include <math.h>
24442 #ifdef HAVE_IEEEFP_H
24443 #include <ieeefp.h>
24444 #endif
24445
24446 int
24447 main ()
24448 {
24449 expl(0);
24450 ;
24451 return 0;
24452 }
24453 _ACEOF
24454 if ac_fn_cxx_try_compile "$LINENO"; then :
24455 glibcxx_cv_func_expl_use=yes
24456 else
24457 glibcxx_cv_func_expl_use=no
24458 fi
24459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24460 ac_ext=c
24461 ac_cpp='$CPP $CPPFLAGS'
24462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24465
24466
24467 fi
24468
24469 fi
24470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24471 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24472
24473 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24474 for ac_func in expl
24475 do :
24476 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24477 if test "x$ac_cv_func_expl" = x""yes; then :
24478 cat >>confdefs.h <<_ACEOF
24479 #define HAVE_EXPL 1
24480 _ACEOF
24481
24482 fi
24483 done
24484
24485 else
24486
24487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24488 $as_echo_n "checking for _expl declaration... " >&6; }
24489 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24490 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24491 $as_echo_n "(cached) " >&6
24492 else
24493
24494
24495 ac_ext=cpp
24496 ac_cpp='$CXXCPP $CPPFLAGS'
24497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24500
24501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24502 /* end confdefs.h. */
24503 #include <math.h>
24504 #ifdef HAVE_IEEEFP_H
24505 #include <ieeefp.h>
24506 #endif
24507
24508 int
24509 main ()
24510 {
24511 _expl(0);
24512 ;
24513 return 0;
24514 }
24515 _ACEOF
24516 if ac_fn_cxx_try_compile "$LINENO"; then :
24517 glibcxx_cv_func__expl_use=yes
24518 else
24519 glibcxx_cv_func__expl_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
24529 fi
24530
24531 fi
24532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24533 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24534
24535 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24536 for ac_func in _expl
24537 do :
24538 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24539 if test "x$ac_cv_func__expl" = x""yes; then :
24540 cat >>confdefs.h <<_ACEOF
24541 #define HAVE__EXPL 1
24542 _ACEOF
24543
24544 fi
24545 done
24546
24547 fi
24548 fi
24549
24550
24551
24552
24553
24554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24555 $as_echo_n "checking for fabsl declaration... " >&6; }
24556 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24557 if test "${glibcxx_cv_func_fabsl_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 fabsl(0);
24579 ;
24580 return 0;
24581 }
24582 _ACEOF
24583 if ac_fn_cxx_try_compile "$LINENO"; then :
24584 glibcxx_cv_func_fabsl_use=yes
24585 else
24586 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
24600 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24601
24602 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24603 for ac_func in fabsl
24604 do :
24605 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24606 if test "x$ac_cv_func_fabsl" = x""yes; then :
24607 cat >>confdefs.h <<_ACEOF
24608 #define HAVE_FABSL 1
24609 _ACEOF
24610
24611 fi
24612 done
24613
24614 else
24615
24616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24617 $as_echo_n "checking for _fabsl declaration... " >&6; }
24618 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24619 if test "${glibcxx_cv_func__fabsl_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 _fabsl(0);
24641 ;
24642 return 0;
24643 }
24644 _ACEOF
24645 if ac_fn_cxx_try_compile "$LINENO"; then :
24646 glibcxx_cv_func__fabsl_use=yes
24647 else
24648 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
24662 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24663
24664 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24665 for ac_func in _fabsl
24666 do :
24667 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24668 if test "x$ac_cv_func__fabsl" = x""yes; then :
24669 cat >>confdefs.h <<_ACEOF
24670 #define HAVE__FABSL 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 fmodl declaration" >&5
24684 $as_echo_n "checking for fmodl declaration... " >&6; }
24685 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24686 if test "${glibcxx_cv_func_fmodl_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 int
24701 main ()
24702 {
24703 fmodl(0, 0);
24704 ;
24705 return 0;
24706 }
24707 _ACEOF
24708 if ac_fn_cxx_try_compile "$LINENO"; then :
24709 glibcxx_cv_func_fmodl_use=yes
24710 else
24711 glibcxx_cv_func_fmodl_use=no
24712 fi
24713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24714 ac_ext=c
24715 ac_cpp='$CPP $CPPFLAGS'
24716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24719
24720
24721 fi
24722
24723 fi
24724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24725 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24726
24727 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24728 for ac_func in fmodl
24729 do :
24730 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24731 if test "x$ac_cv_func_fmodl" = x""yes; then :
24732 cat >>confdefs.h <<_ACEOF
24733 #define HAVE_FMODL 1
24734 _ACEOF
24735
24736 fi
24737 done
24738
24739 else
24740
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24742 $as_echo_n "checking for _fmodl declaration... " >&6; }
24743 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24744 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24745 $as_echo_n "(cached) " >&6
24746 else
24747
24748
24749 ac_ext=cpp
24750 ac_cpp='$CXXCPP $CPPFLAGS'
24751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24754
24755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24756 /* end confdefs.h. */
24757 #include <math.h>
24758 int
24759 main ()
24760 {
24761 _fmodl(0, 0);
24762 ;
24763 return 0;
24764 }
24765 _ACEOF
24766 if ac_fn_cxx_try_compile "$LINENO"; then :
24767 glibcxx_cv_func__fmodl_use=yes
24768 else
24769 glibcxx_cv_func__fmodl_use=no
24770 fi
24771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24772 ac_ext=c
24773 ac_cpp='$CPP $CPPFLAGS'
24774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24777
24778
24779 fi
24780
24781 fi
24782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24783 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24784
24785 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24786 for ac_func in _fmodl
24787 do :
24788 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24789 if test "x$ac_cv_func__fmodl" = x""yes; then :
24790 cat >>confdefs.h <<_ACEOF
24791 #define HAVE__FMODL 1
24792 _ACEOF
24793
24794 fi
24795 done
24796
24797 fi
24798 fi
24799
24800
24801
24802
24803
24804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24805 $as_echo_n "checking for frexpl declaration... " >&6; }
24806 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24807 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24808 $as_echo_n "(cached) " >&6
24809 else
24810
24811
24812 ac_ext=cpp
24813 ac_cpp='$CXXCPP $CPPFLAGS'
24814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24817
24818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24819 /* end confdefs.h. */
24820 #include <math.h>
24821 int
24822 main ()
24823 {
24824 frexpl(0, 0);
24825 ;
24826 return 0;
24827 }
24828 _ACEOF
24829 if ac_fn_cxx_try_compile "$LINENO"; then :
24830 glibcxx_cv_func_frexpl_use=yes
24831 else
24832 glibcxx_cv_func_frexpl_use=no
24833 fi
24834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24835 ac_ext=c
24836 ac_cpp='$CPP $CPPFLAGS'
24837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24840
24841
24842 fi
24843
24844 fi
24845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24846 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24847
24848 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24849 for ac_func in frexpl
24850 do :
24851 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24852 if test "x$ac_cv_func_frexpl" = x""yes; then :
24853 cat >>confdefs.h <<_ACEOF
24854 #define HAVE_FREXPL 1
24855 _ACEOF
24856
24857 fi
24858 done
24859
24860 else
24861
24862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24863 $as_echo_n "checking for _frexpl declaration... " >&6; }
24864 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24865 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24866 $as_echo_n "(cached) " >&6
24867 else
24868
24869
24870 ac_ext=cpp
24871 ac_cpp='$CXXCPP $CPPFLAGS'
24872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24875
24876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24877 /* end confdefs.h. */
24878 #include <math.h>
24879 int
24880 main ()
24881 {
24882 _frexpl(0, 0);
24883 ;
24884 return 0;
24885 }
24886 _ACEOF
24887 if ac_fn_cxx_try_compile "$LINENO"; then :
24888 glibcxx_cv_func__frexpl_use=yes
24889 else
24890 glibcxx_cv_func__frexpl_use=no
24891 fi
24892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24893 ac_ext=c
24894 ac_cpp='$CPP $CPPFLAGS'
24895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24898
24899
24900 fi
24901
24902 fi
24903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24904 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24905
24906 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24907 for ac_func in _frexpl
24908 do :
24909 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24910 if test "x$ac_cv_func__frexpl" = x""yes; then :
24911 cat >>confdefs.h <<_ACEOF
24912 #define HAVE__FREXPL 1
24913 _ACEOF
24914
24915 fi
24916 done
24917
24918 fi
24919 fi
24920
24921
24922
24923
24924
24925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24926 $as_echo_n "checking for hypotl declaration... " >&6; }
24927 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24928 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24929 $as_echo_n "(cached) " >&6
24930 else
24931
24932
24933 ac_ext=cpp
24934 ac_cpp='$CXXCPP $CPPFLAGS'
24935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24938
24939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24940 /* end confdefs.h. */
24941 #include <math.h>
24942 int
24943 main ()
24944 {
24945 hypotl(0, 0);
24946 ;
24947 return 0;
24948 }
24949 _ACEOF
24950 if ac_fn_cxx_try_compile "$LINENO"; then :
24951 glibcxx_cv_func_hypotl_use=yes
24952 else
24953 glibcxx_cv_func_hypotl_use=no
24954 fi
24955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24956 ac_ext=c
24957 ac_cpp='$CPP $CPPFLAGS'
24958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24961
24962
24963 fi
24964
24965 fi
24966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24967 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24968
24969 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24970 for ac_func in hypotl
24971 do :
24972 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24973 if test "x$ac_cv_func_hypotl" = x""yes; then :
24974 cat >>confdefs.h <<_ACEOF
24975 #define HAVE_HYPOTL 1
24976 _ACEOF
24977
24978 fi
24979 done
24980
24981 else
24982
24983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24984 $as_echo_n "checking for _hypotl declaration... " >&6; }
24985 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24986 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24987 $as_echo_n "(cached) " >&6
24988 else
24989
24990
24991 ac_ext=cpp
24992 ac_cpp='$CXXCPP $CPPFLAGS'
24993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24996
24997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24998 /* end confdefs.h. */
24999 #include <math.h>
25000 int
25001 main ()
25002 {
25003 _hypotl(0, 0);
25004 ;
25005 return 0;
25006 }
25007 _ACEOF
25008 if ac_fn_cxx_try_compile "$LINENO"; then :
25009 glibcxx_cv_func__hypotl_use=yes
25010 else
25011 glibcxx_cv_func__hypotl_use=no
25012 fi
25013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25014 ac_ext=c
25015 ac_cpp='$CPP $CPPFLAGS'
25016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25019
25020
25021 fi
25022
25023 fi
25024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25025 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25026
25027 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25028 for ac_func in _hypotl
25029 do :
25030 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25031 if test "x$ac_cv_func__hypotl" = x""yes; then :
25032 cat >>confdefs.h <<_ACEOF
25033 #define HAVE__HYPOTL 1
25034 _ACEOF
25035
25036 fi
25037 done
25038
25039 fi
25040 fi
25041
25042
25043
25044
25045
25046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25047 $as_echo_n "checking for ldexpl declaration... " >&6; }
25048 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25049 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25050 $as_echo_n "(cached) " >&6
25051 else
25052
25053
25054 ac_ext=cpp
25055 ac_cpp='$CXXCPP $CPPFLAGS'
25056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25059
25060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25061 /* end confdefs.h. */
25062 #include <math.h>
25063 int
25064 main ()
25065 {
25066 ldexpl(0, 0);
25067 ;
25068 return 0;
25069 }
25070 _ACEOF
25071 if ac_fn_cxx_try_compile "$LINENO"; then :
25072 glibcxx_cv_func_ldexpl_use=yes
25073 else
25074 glibcxx_cv_func_ldexpl_use=no
25075 fi
25076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25077 ac_ext=c
25078 ac_cpp='$CPP $CPPFLAGS'
25079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25082
25083
25084 fi
25085
25086 fi
25087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25088 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25089
25090 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25091 for ac_func in ldexpl
25092 do :
25093 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25094 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25095 cat >>confdefs.h <<_ACEOF
25096 #define HAVE_LDEXPL 1
25097 _ACEOF
25098
25099 fi
25100 done
25101
25102 else
25103
25104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25105 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25106 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25107 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25108 $as_echo_n "(cached) " >&6
25109 else
25110
25111
25112 ac_ext=cpp
25113 ac_cpp='$CXXCPP $CPPFLAGS'
25114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25117
25118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25119 /* end confdefs.h. */
25120 #include <math.h>
25121 int
25122 main ()
25123 {
25124 _ldexpl(0, 0);
25125 ;
25126 return 0;
25127 }
25128 _ACEOF
25129 if ac_fn_cxx_try_compile "$LINENO"; then :
25130 glibcxx_cv_func__ldexpl_use=yes
25131 else
25132 glibcxx_cv_func__ldexpl_use=no
25133 fi
25134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25135 ac_ext=c
25136 ac_cpp='$CPP $CPPFLAGS'
25137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25140
25141
25142 fi
25143
25144 fi
25145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25146 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25147
25148 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25149 for ac_func in _ldexpl
25150 do :
25151 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25152 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25153 cat >>confdefs.h <<_ACEOF
25154 #define HAVE__LDEXPL 1
25155 _ACEOF
25156
25157 fi
25158 done
25159
25160 fi
25161 fi
25162
25163
25164
25165
25166
25167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25168 $as_echo_n "checking for logl declaration... " >&6; }
25169 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25170 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25171 $as_echo_n "(cached) " >&6
25172 else
25173
25174
25175 ac_ext=cpp
25176 ac_cpp='$CXXCPP $CPPFLAGS'
25177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25180
25181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25182 /* end confdefs.h. */
25183 #include <math.h>
25184 #ifdef HAVE_IEEEFP_H
25185 #include <ieeefp.h>
25186 #endif
25187
25188 int
25189 main ()
25190 {
25191 logl(0);
25192 ;
25193 return 0;
25194 }
25195 _ACEOF
25196 if ac_fn_cxx_try_compile "$LINENO"; then :
25197 glibcxx_cv_func_logl_use=yes
25198 else
25199 glibcxx_cv_func_logl_use=no
25200 fi
25201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25202 ac_ext=c
25203 ac_cpp='$CPP $CPPFLAGS'
25204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25207
25208
25209 fi
25210
25211 fi
25212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25213 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25214
25215 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25216 for ac_func in logl
25217 do :
25218 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25219 if test "x$ac_cv_func_logl" = x""yes; then :
25220 cat >>confdefs.h <<_ACEOF
25221 #define HAVE_LOGL 1
25222 _ACEOF
25223
25224 fi
25225 done
25226
25227 else
25228
25229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25230 $as_echo_n "checking for _logl declaration... " >&6; }
25231 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25232 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25233 $as_echo_n "(cached) " >&6
25234 else
25235
25236
25237 ac_ext=cpp
25238 ac_cpp='$CXXCPP $CPPFLAGS'
25239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25242
25243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25244 /* end confdefs.h. */
25245 #include <math.h>
25246 #ifdef HAVE_IEEEFP_H
25247 #include <ieeefp.h>
25248 #endif
25249
25250 int
25251 main ()
25252 {
25253 _logl(0);
25254 ;
25255 return 0;
25256 }
25257 _ACEOF
25258 if ac_fn_cxx_try_compile "$LINENO"; then :
25259 glibcxx_cv_func__logl_use=yes
25260 else
25261 glibcxx_cv_func__logl_use=no
25262 fi
25263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25264 ac_ext=c
25265 ac_cpp='$CPP $CPPFLAGS'
25266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25269
25270
25271 fi
25272
25273 fi
25274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25275 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25276
25277 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25278 for ac_func in _logl
25279 do :
25280 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25281 if test "x$ac_cv_func__logl" = x""yes; then :
25282 cat >>confdefs.h <<_ACEOF
25283 #define HAVE__LOGL 1
25284 _ACEOF
25285
25286 fi
25287 done
25288
25289 fi
25290 fi
25291
25292
25293
25294
25295
25296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25297 $as_echo_n "checking for log10l declaration... " >&6; }
25298 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25299 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25300 $as_echo_n "(cached) " >&6
25301 else
25302
25303
25304 ac_ext=cpp
25305 ac_cpp='$CXXCPP $CPPFLAGS'
25306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25309
25310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25311 /* end confdefs.h. */
25312 #include <math.h>
25313 #ifdef HAVE_IEEEFP_H
25314 #include <ieeefp.h>
25315 #endif
25316
25317 int
25318 main ()
25319 {
25320 log10l(0);
25321 ;
25322 return 0;
25323 }
25324 _ACEOF
25325 if ac_fn_cxx_try_compile "$LINENO"; then :
25326 glibcxx_cv_func_log10l_use=yes
25327 else
25328 glibcxx_cv_func_log10l_use=no
25329 fi
25330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25331 ac_ext=c
25332 ac_cpp='$CPP $CPPFLAGS'
25333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25336
25337
25338 fi
25339
25340 fi
25341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25342 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25343
25344 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25345 for ac_func in log10l
25346 do :
25347 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25348 if test "x$ac_cv_func_log10l" = x""yes; then :
25349 cat >>confdefs.h <<_ACEOF
25350 #define HAVE_LOG10L 1
25351 _ACEOF
25352
25353 fi
25354 done
25355
25356 else
25357
25358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25359 $as_echo_n "checking for _log10l declaration... " >&6; }
25360 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25361 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25362 $as_echo_n "(cached) " >&6
25363 else
25364
25365
25366 ac_ext=cpp
25367 ac_cpp='$CXXCPP $CPPFLAGS'
25368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25371
25372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25373 /* end confdefs.h. */
25374 #include <math.h>
25375 #ifdef HAVE_IEEEFP_H
25376 #include <ieeefp.h>
25377 #endif
25378
25379 int
25380 main ()
25381 {
25382 _log10l(0);
25383 ;
25384 return 0;
25385 }
25386 _ACEOF
25387 if ac_fn_cxx_try_compile "$LINENO"; then :
25388 glibcxx_cv_func__log10l_use=yes
25389 else
25390 glibcxx_cv_func__log10l_use=no
25391 fi
25392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25393 ac_ext=c
25394 ac_cpp='$CPP $CPPFLAGS'
25395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25398
25399
25400 fi
25401
25402 fi
25403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25404 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25405
25406 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25407 for ac_func in _log10l
25408 do :
25409 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25410 if test "x$ac_cv_func__log10l" = x""yes; then :
25411 cat >>confdefs.h <<_ACEOF
25412 #define HAVE__LOG10L 1
25413 _ACEOF
25414
25415 fi
25416 done
25417
25418 fi
25419 fi
25420
25421
25422
25423
25424
25425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25426 $as_echo_n "checking for modfl declaration... " >&6; }
25427 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25428 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25429 $as_echo_n "(cached) " >&6
25430 else
25431
25432
25433 ac_ext=cpp
25434 ac_cpp='$CXXCPP $CPPFLAGS'
25435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25438
25439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25440 /* end confdefs.h. */
25441 #include <math.h>
25442 int
25443 main ()
25444 {
25445 modfl(0, 0);
25446 ;
25447 return 0;
25448 }
25449 _ACEOF
25450 if ac_fn_cxx_try_compile "$LINENO"; then :
25451 glibcxx_cv_func_modfl_use=yes
25452 else
25453 glibcxx_cv_func_modfl_use=no
25454 fi
25455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25456 ac_ext=c
25457 ac_cpp='$CPP $CPPFLAGS'
25458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25461
25462
25463 fi
25464
25465 fi
25466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25467 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25468
25469 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25470 for ac_func in modfl
25471 do :
25472 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25473 if test "x$ac_cv_func_modfl" = x""yes; then :
25474 cat >>confdefs.h <<_ACEOF
25475 #define HAVE_MODFL 1
25476 _ACEOF
25477
25478 fi
25479 done
25480
25481 else
25482
25483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25484 $as_echo_n "checking for _modfl declaration... " >&6; }
25485 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25486 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25487 $as_echo_n "(cached) " >&6
25488 else
25489
25490
25491 ac_ext=cpp
25492 ac_cpp='$CXXCPP $CPPFLAGS'
25493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25496
25497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25498 /* end confdefs.h. */
25499 #include <math.h>
25500 int
25501 main ()
25502 {
25503 _modfl(0, 0);
25504 ;
25505 return 0;
25506 }
25507 _ACEOF
25508 if ac_fn_cxx_try_compile "$LINENO"; then :
25509 glibcxx_cv_func__modfl_use=yes
25510 else
25511 glibcxx_cv_func__modfl_use=no
25512 fi
25513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25514 ac_ext=c
25515 ac_cpp='$CPP $CPPFLAGS'
25516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25519
25520
25521 fi
25522
25523 fi
25524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25525 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25526
25527 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25528 for ac_func in _modfl
25529 do :
25530 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25531 if test "x$ac_cv_func__modfl" = x""yes; then :
25532 cat >>confdefs.h <<_ACEOF
25533 #define HAVE__MODFL 1
25534 _ACEOF
25535
25536 fi
25537 done
25538
25539 fi
25540 fi
25541
25542
25543
25544
25545
25546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25547 $as_echo_n "checking for powl declaration... " >&6; }
25548 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25549 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25550 $as_echo_n "(cached) " >&6
25551 else
25552
25553
25554 ac_ext=cpp
25555 ac_cpp='$CXXCPP $CPPFLAGS'
25556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25559
25560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25561 /* end confdefs.h. */
25562 #include <math.h>
25563 int
25564 main ()
25565 {
25566 powl(0, 0);
25567 ;
25568 return 0;
25569 }
25570 _ACEOF
25571 if ac_fn_cxx_try_compile "$LINENO"; then :
25572 glibcxx_cv_func_powl_use=yes
25573 else
25574 glibcxx_cv_func_powl_use=no
25575 fi
25576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25577 ac_ext=c
25578 ac_cpp='$CPP $CPPFLAGS'
25579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25582
25583
25584 fi
25585
25586 fi
25587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25588 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25589
25590 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25591 for ac_func in powl
25592 do :
25593 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25594 if test "x$ac_cv_func_powl" = x""yes; then :
25595 cat >>confdefs.h <<_ACEOF
25596 #define HAVE_POWL 1
25597 _ACEOF
25598
25599 fi
25600 done
25601
25602 else
25603
25604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25605 $as_echo_n "checking for _powl declaration... " >&6; }
25606 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25607 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25608 $as_echo_n "(cached) " >&6
25609 else
25610
25611
25612 ac_ext=cpp
25613 ac_cpp='$CXXCPP $CPPFLAGS'
25614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25617
25618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25619 /* end confdefs.h. */
25620 #include <math.h>
25621 int
25622 main ()
25623 {
25624 _powl(0, 0);
25625 ;
25626 return 0;
25627 }
25628 _ACEOF
25629 if ac_fn_cxx_try_compile "$LINENO"; then :
25630 glibcxx_cv_func__powl_use=yes
25631 else
25632 glibcxx_cv_func__powl_use=no
25633 fi
25634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25635 ac_ext=c
25636 ac_cpp='$CPP $CPPFLAGS'
25637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25640
25641
25642 fi
25643
25644 fi
25645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25646 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25647
25648 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25649 for ac_func in _powl
25650 do :
25651 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25652 if test "x$ac_cv_func__powl" = x""yes; then :
25653 cat >>confdefs.h <<_ACEOF
25654 #define HAVE__POWL 1
25655 _ACEOF
25656
25657 fi
25658 done
25659
25660 fi
25661 fi
25662
25663
25664
25665
25666
25667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25668 $as_echo_n "checking for sqrtl declaration... " >&6; }
25669 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25670 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25671 $as_echo_n "(cached) " >&6
25672 else
25673
25674
25675 ac_ext=cpp
25676 ac_cpp='$CXXCPP $CPPFLAGS'
25677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25680
25681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25682 /* end confdefs.h. */
25683 #include <math.h>
25684 #ifdef HAVE_IEEEFP_H
25685 #include <ieeefp.h>
25686 #endif
25687
25688 int
25689 main ()
25690 {
25691 sqrtl(0);
25692 ;
25693 return 0;
25694 }
25695 _ACEOF
25696 if ac_fn_cxx_try_compile "$LINENO"; then :
25697 glibcxx_cv_func_sqrtl_use=yes
25698 else
25699 glibcxx_cv_func_sqrtl_use=no
25700 fi
25701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25702 ac_ext=c
25703 ac_cpp='$CPP $CPPFLAGS'
25704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25707
25708
25709 fi
25710
25711 fi
25712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25713 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25714
25715 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25716 for ac_func in sqrtl
25717 do :
25718 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25719 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25720 cat >>confdefs.h <<_ACEOF
25721 #define HAVE_SQRTL 1
25722 _ACEOF
25723
25724 fi
25725 done
25726
25727 else
25728
25729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25730 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25731 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25732 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25733 $as_echo_n "(cached) " >&6
25734 else
25735
25736
25737 ac_ext=cpp
25738 ac_cpp='$CXXCPP $CPPFLAGS'
25739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25742
25743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25744 /* end confdefs.h. */
25745 #include <math.h>
25746 #ifdef HAVE_IEEEFP_H
25747 #include <ieeefp.h>
25748 #endif
25749
25750 int
25751 main ()
25752 {
25753 _sqrtl(0);
25754 ;
25755 return 0;
25756 }
25757 _ACEOF
25758 if ac_fn_cxx_try_compile "$LINENO"; then :
25759 glibcxx_cv_func__sqrtl_use=yes
25760 else
25761 glibcxx_cv_func__sqrtl_use=no
25762 fi
25763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25764 ac_ext=c
25765 ac_cpp='$CPP $CPPFLAGS'
25766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25769
25770
25771 fi
25772
25773 fi
25774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25775 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25776
25777 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25778 for ac_func in _sqrtl
25779 do :
25780 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25781 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25782 cat >>confdefs.h <<_ACEOF
25783 #define HAVE__SQRTL 1
25784 _ACEOF
25785
25786 fi
25787 done
25788
25789 fi
25790 fi
25791
25792
25793
25794
25795
25796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25797 $as_echo_n "checking for sincosl declaration... " >&6; }
25798 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25799 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25800 $as_echo_n "(cached) " >&6
25801 else
25802
25803
25804 ac_ext=cpp
25805 ac_cpp='$CXXCPP $CPPFLAGS'
25806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25809
25810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25811 /* end confdefs.h. */
25812 #include <math.h>
25813 int
25814 main ()
25815 {
25816 sincosl(0, 0, 0);
25817 ;
25818 return 0;
25819 }
25820 _ACEOF
25821 if ac_fn_cxx_try_compile "$LINENO"; then :
25822 glibcxx_cv_func_sincosl_use=yes
25823 else
25824 glibcxx_cv_func_sincosl_use=no
25825 fi
25826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25827 ac_ext=c
25828 ac_cpp='$CPP $CPPFLAGS'
25829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25832
25833
25834 fi
25835
25836 fi
25837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25838 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25839
25840 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25841 for ac_func in sincosl
25842 do :
25843 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25844 if test "x$ac_cv_func_sincosl" = x""yes; then :
25845 cat >>confdefs.h <<_ACEOF
25846 #define HAVE_SINCOSL 1
25847 _ACEOF
25848
25849 fi
25850 done
25851
25852 else
25853
25854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25855 $as_echo_n "checking for _sincosl declaration... " >&6; }
25856 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25857 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25858 $as_echo_n "(cached) " >&6
25859 else
25860
25861
25862 ac_ext=cpp
25863 ac_cpp='$CXXCPP $CPPFLAGS'
25864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25867
25868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25869 /* end confdefs.h. */
25870 #include <math.h>
25871 int
25872 main ()
25873 {
25874 _sincosl(0, 0, 0);
25875 ;
25876 return 0;
25877 }
25878 _ACEOF
25879 if ac_fn_cxx_try_compile "$LINENO"; then :
25880 glibcxx_cv_func__sincosl_use=yes
25881 else
25882 glibcxx_cv_func__sincosl_use=no
25883 fi
25884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25885 ac_ext=c
25886 ac_cpp='$CPP $CPPFLAGS'
25887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25890
25891
25892 fi
25893
25894 fi
25895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25896 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25897
25898 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25899 for ac_func in _sincosl
25900 do :
25901 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25902 if test "x$ac_cv_func__sincosl" = x""yes; then :
25903 cat >>confdefs.h <<_ACEOF
25904 #define HAVE__SINCOSL 1
25905 _ACEOF
25906
25907 fi
25908 done
25909
25910 fi
25911 fi
25912
25913
25914
25915
25916
25917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25918 $as_echo_n "checking for finitel declaration... " >&6; }
25919 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25920 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25921 $as_echo_n "(cached) " >&6
25922 else
25923
25924
25925 ac_ext=cpp
25926 ac_cpp='$CXXCPP $CPPFLAGS'
25927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25930
25931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25932 /* end confdefs.h. */
25933 #include <math.h>
25934 #ifdef HAVE_IEEEFP_H
25935 #include <ieeefp.h>
25936 #endif
25937
25938 int
25939 main ()
25940 {
25941 finitel(0);
25942 ;
25943 return 0;
25944 }
25945 _ACEOF
25946 if ac_fn_cxx_try_compile "$LINENO"; then :
25947 glibcxx_cv_func_finitel_use=yes
25948 else
25949 glibcxx_cv_func_finitel_use=no
25950 fi
25951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25952 ac_ext=c
25953 ac_cpp='$CPP $CPPFLAGS'
25954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25957
25958
25959 fi
25960
25961 fi
25962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25963 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25964
25965 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25966 for ac_func in finitel
25967 do :
25968 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25969 if test "x$ac_cv_func_finitel" = x""yes; then :
25970 cat >>confdefs.h <<_ACEOF
25971 #define HAVE_FINITEL 1
25972 _ACEOF
25973
25974 fi
25975 done
25976
25977 else
25978
25979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25980 $as_echo_n "checking for _finitel declaration... " >&6; }
25981 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25982 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25983 $as_echo_n "(cached) " >&6
25984 else
25985
25986
25987 ac_ext=cpp
25988 ac_cpp='$CXXCPP $CPPFLAGS'
25989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25992
25993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25994 /* end confdefs.h. */
25995 #include <math.h>
25996 #ifdef HAVE_IEEEFP_H
25997 #include <ieeefp.h>
25998 #endif
25999
26000 int
26001 main ()
26002 {
26003 _finitel(0);
26004 ;
26005 return 0;
26006 }
26007 _ACEOF
26008 if ac_fn_cxx_try_compile "$LINENO"; then :
26009 glibcxx_cv_func__finitel_use=yes
26010 else
26011 glibcxx_cv_func__finitel_use=no
26012 fi
26013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26014 ac_ext=c
26015 ac_cpp='$CPP $CPPFLAGS'
26016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26019
26020
26021 fi
26022
26023 fi
26024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26025 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26026
26027 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26028 for ac_func in _finitel
26029 do :
26030 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26031 if test "x$ac_cv_func__finitel" = x""yes; then :
26032 cat >>confdefs.h <<_ACEOF
26033 #define HAVE__FINITEL 1
26034 _ACEOF
26035
26036 fi
26037 done
26038
26039 fi
26040 fi
26041
26042
26043
26044
26045 LIBS="$ac_save_LIBS"
26046 CXXFLAGS="$ac_save_CXXFLAGS"
26047
26048
26049 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26050 ac_save_CXXFLAGS="$CXXFLAGS"
26051 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26052
26053
26054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26055 $as_echo_n "checking for strtold declaration... " >&6; }
26056 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26057 if test "${glibcxx_cv_func_strtold_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 <stdlib.h>
26071 int
26072 main ()
26073 {
26074 strtold(0, 0);
26075 ;
26076 return 0;
26077 }
26078 _ACEOF
26079 if ac_fn_cxx_try_compile "$LINENO"; then :
26080 glibcxx_cv_func_strtold_use=yes
26081 else
26082 glibcxx_cv_func_strtold_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_strtold_use" >&5
26096 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26097 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26098 for ac_func in strtold
26099 do :
26100 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26101 if test "x$ac_cv_func_strtold" = x""yes; then :
26102 cat >>confdefs.h <<_ACEOF
26103 #define HAVE_STRTOLD 1
26104 _ACEOF
26105
26106 fi
26107 done
26108
26109 fi
26110
26111
26112
26113
26114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26115 $as_echo_n "checking for strtof declaration... " >&6; }
26116 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26117 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26118 $as_echo_n "(cached) " >&6
26119 else
26120
26121
26122 ac_ext=cpp
26123 ac_cpp='$CXXCPP $CPPFLAGS'
26124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26127
26128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26129 /* end confdefs.h. */
26130 #include <stdlib.h>
26131 int
26132 main ()
26133 {
26134 strtof(0, 0);
26135 ;
26136 return 0;
26137 }
26138 _ACEOF
26139 if ac_fn_cxx_try_compile "$LINENO"; then :
26140 glibcxx_cv_func_strtof_use=yes
26141 else
26142 glibcxx_cv_func_strtof_use=no
26143 fi
26144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26145 ac_ext=c
26146 ac_cpp='$CPP $CPPFLAGS'
26147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26150
26151
26152 fi
26153
26154 fi
26155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26156 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26157 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26158 for ac_func in strtof
26159 do :
26160 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26161 if test "x$ac_cv_func_strtof" = x""yes; then :
26162 cat >>confdefs.h <<_ACEOF
26163 #define HAVE_STRTOF 1
26164 _ACEOF
26165
26166 fi
26167 done
26168
26169 fi
26170
26171
26172
26173
26174 CXXFLAGS="$ac_save_CXXFLAGS"
26175
26176
26177 # For /dev/random and /dev/urandom for TR1.
26178
26179
26180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26181 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26182 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26183 $as_echo_n "(cached) " >&6
26184 else
26185
26186 if test -r /dev/random && test -r /dev/urandom; then
26187 glibcxx_cv_random_tr1=yes;
26188 else
26189 glibcxx_cv_random_tr1=no;
26190 fi
26191
26192 fi
26193
26194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26195 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26196
26197 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26198
26199 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26200
26201 fi
26202
26203
26204
26205 # For TLS support.
26206
26207
26208 # Check whether --enable-tls was given.
26209 if test "${enable_tls+set}" = set; then :
26210 enableval=$enable_tls;
26211 case "$enableval" in
26212 yes|no) ;;
26213 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26214 esac
26215
26216 else
26217 enable_tls=yes
26218 fi
26219
26220
26221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26222 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26223 if test "${gcc_cv_have_tls+set}" = set; then :
26224 $as_echo_n "(cached) " >&6
26225 else
26226
26227 if test "$cross_compiling" = yes; then :
26228 if test x$gcc_no_link = xyes; then
26229 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26230 fi
26231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26232 /* end confdefs.h. */
26233 __thread int a; int b; int main() { return a = b; }
26234 _ACEOF
26235 if ac_fn_c_try_link "$LINENO"; then :
26236 chktls_save_LDFLAGS="$LDFLAGS"
26237 case $host in
26238 *-*-linux*)
26239 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26240 ;;
26241 esac
26242 chktls_save_CFLAGS="$CFLAGS"
26243 CFLAGS="-fPIC $CFLAGS"
26244 if test x$gcc_no_link = xyes; then
26245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26246 fi
26247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26248 /* end confdefs.h. */
26249 int f() { return 0; }
26250 _ACEOF
26251 if ac_fn_c_try_link "$LINENO"; then :
26252 if test x$gcc_no_link = xyes; then
26253 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26254 fi
26255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26256 /* end confdefs.h. */
26257 __thread int a; int b; int f() { return a = b; }
26258 _ACEOF
26259 if ac_fn_c_try_link "$LINENO"; then :
26260 gcc_cv_have_tls=yes
26261 else
26262 gcc_cv_have_tls=no
26263 fi
26264 rm -f core conftest.err conftest.$ac_objext \
26265 conftest$ac_exeext conftest.$ac_ext
26266 else
26267 gcc_cv_have_tls=yes
26268 fi
26269 rm -f core conftest.err conftest.$ac_objext \
26270 conftest$ac_exeext conftest.$ac_ext
26271 CFLAGS="$chktls_save_CFLAGS"
26272 LDFLAGS="$chktls_save_LDFLAGS"
26273 else
26274 gcc_cv_have_tls=no
26275 fi
26276 rm -f core conftest.err conftest.$ac_objext \
26277 conftest$ac_exeext conftest.$ac_ext
26278
26279
26280 else
26281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26282 /* end confdefs.h. */
26283 __thread int a; int b; int main() { return a = b; }
26284 _ACEOF
26285 if ac_fn_c_try_run "$LINENO"; then :
26286 chktls_save_LDFLAGS="$LDFLAGS"
26287 LDFLAGS="-static $LDFLAGS"
26288 if test x$gcc_no_link = xyes; then
26289 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26290 fi
26291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26292 /* end confdefs.h. */
26293 int main() { return 0; }
26294 _ACEOF
26295 if ac_fn_c_try_link "$LINENO"; then :
26296 if test "$cross_compiling" = yes; then :
26297 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26298 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26299 as_fn_error "cannot run test program while cross compiling
26300 See \`config.log' for more details." "$LINENO" 5; }
26301 else
26302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26303 /* end confdefs.h. */
26304 __thread int a; int b; int main() { return a = b; }
26305 _ACEOF
26306 if ac_fn_c_try_run "$LINENO"; then :
26307 gcc_cv_have_tls=yes
26308 else
26309 gcc_cv_have_tls=no
26310 fi
26311 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26312 conftest.$ac_objext conftest.beam conftest.$ac_ext
26313 fi
26314
26315 else
26316 gcc_cv_have_tls=yes
26317 fi
26318 rm -f core conftest.err conftest.$ac_objext \
26319 conftest$ac_exeext conftest.$ac_ext
26320 LDFLAGS="$chktls_save_LDFLAGS"
26321 if test $gcc_cv_have_tls = yes; then
26322 chktls_save_CFLAGS="$CFLAGS"
26323 thread_CFLAGS=failed
26324 for flag in '' '-pthread' '-lpthread'; do
26325 CFLAGS="$flag $chktls_save_CFLAGS"
26326 if test x$gcc_no_link = xyes; then
26327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26328 fi
26329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26330 /* end confdefs.h. */
26331 #include <pthread.h>
26332 void *g(void *d) { return NULL; }
26333 int
26334 main ()
26335 {
26336 pthread_t t; pthread_create(&t,NULL,g,NULL);
26337 ;
26338 return 0;
26339 }
26340 _ACEOF
26341 if ac_fn_c_try_link "$LINENO"; then :
26342 thread_CFLAGS="$flag"
26343 fi
26344 rm -f core conftest.err conftest.$ac_objext \
26345 conftest$ac_exeext conftest.$ac_ext
26346 if test "X$thread_CFLAGS" != Xfailed; then
26347 break
26348 fi
26349 done
26350 CFLAGS="$chktls_save_CFLAGS"
26351 if test "X$thread_CFLAGS" != Xfailed; then
26352 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26353 if test "$cross_compiling" = yes; then :
26354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26356 as_fn_error "cannot run test program while cross compiling
26357 See \`config.log' for more details." "$LINENO" 5; }
26358 else
26359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26360 /* end confdefs.h. */
26361 #include <pthread.h>
26362 __thread int a;
26363 static int *volatile a_in_other_thread;
26364 static void *
26365 thread_func (void *arg)
26366 {
26367 a_in_other_thread = &a;
26368 return (void *)0;
26369 }
26370 int
26371 main ()
26372 {
26373 pthread_t thread;
26374 void *thread_retval;
26375 int *volatile a_in_main_thread;
26376 a_in_main_thread = &a;
26377 if (pthread_create (&thread, (pthread_attr_t *)0,
26378 thread_func, (void *)0))
26379 return 0;
26380 if (pthread_join (thread, &thread_retval))
26381 return 0;
26382 return (a_in_other_thread == a_in_main_thread);
26383 ;
26384 return 0;
26385 }
26386 _ACEOF
26387 if ac_fn_c_try_run "$LINENO"; then :
26388 gcc_cv_have_tls=yes
26389 else
26390 gcc_cv_have_tls=no
26391 fi
26392 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26393 conftest.$ac_objext conftest.beam conftest.$ac_ext
26394 fi
26395
26396 CFLAGS="$chktls_save_CFLAGS"
26397 fi
26398 fi
26399 else
26400 gcc_cv_have_tls=no
26401 fi
26402 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26403 conftest.$ac_objext conftest.beam conftest.$ac_ext
26404 fi
26405
26406 fi
26407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26408 $as_echo "$gcc_cv_have_tls" >&6; }
26409 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26410
26411 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26412
26413 fi
26414
26415 # For iconv support.
26416
26417 if test "X$prefix" = "XNONE"; then
26418 acl_final_prefix="$ac_default_prefix"
26419 else
26420 acl_final_prefix="$prefix"
26421 fi
26422 if test "X$exec_prefix" = "XNONE"; then
26423 acl_final_exec_prefix='${prefix}'
26424 else
26425 acl_final_exec_prefix="$exec_prefix"
26426 fi
26427 acl_save_prefix="$prefix"
26428 prefix="$acl_final_prefix"
26429 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26430 prefix="$acl_save_prefix"
26431
26432
26433 # Check whether --with-gnu-ld was given.
26434 if test "${with_gnu_ld+set}" = set; then :
26435 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26436 else
26437 with_gnu_ld=no
26438 fi
26439
26440 # Prepare PATH_SEPARATOR.
26441 # The user is always right.
26442 if test "${PATH_SEPARATOR+set}" != set; then
26443 echo "#! /bin/sh" >conf$$.sh
26444 echo "exit 0" >>conf$$.sh
26445 chmod +x conf$$.sh
26446 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26447 PATH_SEPARATOR=';'
26448 else
26449 PATH_SEPARATOR=:
26450 fi
26451 rm -f conf$$.sh
26452 fi
26453 ac_prog=ld
26454 if test "$GCC" = yes; then
26455 # Check if gcc -print-prog-name=ld gives a path.
26456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26457 $as_echo_n "checking for ld used by GCC... " >&6; }
26458 case $host in
26459 *-*-mingw*)
26460 # gcc leaves a trailing carriage return which upsets mingw
26461 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26462 *)
26463 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26464 esac
26465 case $ac_prog in
26466 # Accept absolute paths.
26467 [\\/]* | [A-Za-z]:[\\/]*)
26468 re_direlt='/[^/][^/]*/\.\./'
26469 # Canonicalize the path of ld
26470 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26471 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26472 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26473 done
26474 test -z "$LD" && LD="$ac_prog"
26475 ;;
26476 "")
26477 # If it fails, then pretend we aren't using GCC.
26478 ac_prog=ld
26479 ;;
26480 *)
26481 # If it is relative, then search for the first ld in PATH.
26482 with_gnu_ld=unknown
26483 ;;
26484 esac
26485 elif test "$with_gnu_ld" = yes; then
26486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26487 $as_echo_n "checking for GNU ld... " >&6; }
26488 else
26489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26490 $as_echo_n "checking for non-GNU ld... " >&6; }
26491 fi
26492 if test "${acl_cv_path_LD+set}" = set; then :
26493 $as_echo_n "(cached) " >&6
26494 else
26495 if test -z "$LD"; then
26496 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26497 for ac_dir in $PATH; do
26498 test -z "$ac_dir" && ac_dir=.
26499 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26500 acl_cv_path_LD="$ac_dir/$ac_prog"
26501 # Check to see if the program is GNU ld. I'd rather use --version,
26502 # but apparently some GNU ld's only accept -v.
26503 # Break only if it was the GNU/non-GNU ld that we prefer.
26504 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26505 test "$with_gnu_ld" != no && break
26506 else
26507 test "$with_gnu_ld" != yes && break
26508 fi
26509 fi
26510 done
26511 IFS="$ac_save_ifs"
26512 else
26513 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26514 fi
26515 fi
26516
26517 LD="$acl_cv_path_LD"
26518 if test -n "$LD"; then
26519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26520 $as_echo "$LD" >&6; }
26521 else
26522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26523 $as_echo "no" >&6; }
26524 fi
26525 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26527 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26528 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26529 $as_echo_n "(cached) " >&6
26530 else
26531 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26532 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26533 acl_cv_prog_gnu_ld=yes
26534 else
26535 acl_cv_prog_gnu_ld=no
26536 fi
26537 fi
26538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26539 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26540 with_gnu_ld=$acl_cv_prog_gnu_ld
26541
26542
26543
26544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26545 $as_echo_n "checking for shared library run path origin... " >&6; }
26546 if test "${acl_cv_rpath+set}" = set; then :
26547 $as_echo_n "(cached) " >&6
26548 else
26549
26550 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26551 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26552 . ./conftest.sh
26553 rm -f ./conftest.sh
26554 acl_cv_rpath=done
26555
26556 fi
26557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26558 $as_echo "$acl_cv_rpath" >&6; }
26559 wl="$acl_cv_wl"
26560 libext="$acl_cv_libext"
26561 shlibext="$acl_cv_shlibext"
26562 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26563 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26564 hardcode_direct="$acl_cv_hardcode_direct"
26565 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26566 # Check whether --enable-rpath was given.
26567 if test "${enable_rpath+set}" = set; then :
26568 enableval=$enable_rpath; :
26569 else
26570 enable_rpath=yes
26571 fi
26572
26573
26574
26575
26576
26577
26578
26579
26580 use_additional=yes
26581
26582 acl_save_prefix="$prefix"
26583 prefix="$acl_final_prefix"
26584 acl_save_exec_prefix="$exec_prefix"
26585 exec_prefix="$acl_final_exec_prefix"
26586
26587 eval additional_includedir=\"$includedir\"
26588 eval additional_libdir=\"$libdir\"
26589
26590 exec_prefix="$acl_save_exec_prefix"
26591 prefix="$acl_save_prefix"
26592
26593
26594 # Check whether --with-libiconv-prefix was given.
26595 if test "${with_libiconv_prefix+set}" = set; then :
26596 withval=$with_libiconv_prefix;
26597 if test "X$withval" = "Xno"; then
26598 use_additional=no
26599 else
26600 if test "X$withval" = "X"; then
26601
26602 acl_save_prefix="$prefix"
26603 prefix="$acl_final_prefix"
26604 acl_save_exec_prefix="$exec_prefix"
26605 exec_prefix="$acl_final_exec_prefix"
26606
26607 eval additional_includedir=\"$includedir\"
26608 eval additional_libdir=\"$libdir\"
26609
26610 exec_prefix="$acl_save_exec_prefix"
26611 prefix="$acl_save_prefix"
26612
26613 else
26614 additional_includedir="$withval/include"
26615 additional_libdir="$withval/lib"
26616 fi
26617 fi
26618
26619 fi
26620
26621 LIBICONV=
26622 LTLIBICONV=
26623 INCICONV=
26624 rpathdirs=
26625 ltrpathdirs=
26626 names_already_handled=
26627 names_next_round='iconv '
26628 while test -n "$names_next_round"; do
26629 names_this_round="$names_next_round"
26630 names_next_round=
26631 for name in $names_this_round; do
26632 already_handled=
26633 for n in $names_already_handled; do
26634 if test "$n" = "$name"; then
26635 already_handled=yes
26636 break
26637 fi
26638 done
26639 if test -z "$already_handled"; then
26640 names_already_handled="$names_already_handled $name"
26641 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26642 eval value=\"\$HAVE_LIB$uppername\"
26643 if test -n "$value"; then
26644 if test "$value" = yes; then
26645 eval value=\"\$LIB$uppername\"
26646 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26647 eval value=\"\$LTLIB$uppername\"
26648 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26649 else
26650 :
26651 fi
26652 else
26653 found_dir=
26654 found_la=
26655 found_so=
26656 found_a=
26657 if test $use_additional = yes; then
26658 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26659 found_dir="$additional_libdir"
26660 found_so="$additional_libdir/lib$name.$shlibext"
26661 if test -f "$additional_libdir/lib$name.la"; then
26662 found_la="$additional_libdir/lib$name.la"
26663 fi
26664 else
26665 if test -f "$additional_libdir/lib$name.$libext"; then
26666 found_dir="$additional_libdir"
26667 found_a="$additional_libdir/lib$name.$libext"
26668 if test -f "$additional_libdir/lib$name.la"; then
26669 found_la="$additional_libdir/lib$name.la"
26670 fi
26671 fi
26672 fi
26673 fi
26674 if test "X$found_dir" = "X"; then
26675 for x in $LDFLAGS $LTLIBICONV; do
26676
26677 acl_save_prefix="$prefix"
26678 prefix="$acl_final_prefix"
26679 acl_save_exec_prefix="$exec_prefix"
26680 exec_prefix="$acl_final_exec_prefix"
26681 eval x=\"$x\"
26682 exec_prefix="$acl_save_exec_prefix"
26683 prefix="$acl_save_prefix"
26684
26685 case "$x" in
26686 -L*)
26687 dir=`echo "X$x" | sed -e 's/^X-L//'`
26688 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26689 found_dir="$dir"
26690 found_so="$dir/lib$name.$shlibext"
26691 if test -f "$dir/lib$name.la"; then
26692 found_la="$dir/lib$name.la"
26693 fi
26694 else
26695 if test -f "$dir/lib$name.$libext"; then
26696 found_dir="$dir"
26697 found_a="$dir/lib$name.$libext"
26698 if test -f "$dir/lib$name.la"; then
26699 found_la="$dir/lib$name.la"
26700 fi
26701 fi
26702 fi
26703 ;;
26704 esac
26705 if test "X$found_dir" != "X"; then
26706 break
26707 fi
26708 done
26709 fi
26710 if test "X$found_dir" != "X"; then
26711 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26712 if test "X$found_so" != "X"; then
26713 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26714 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26715 else
26716 haveit=
26717 for x in $ltrpathdirs; do
26718 if test "X$x" = "X$found_dir"; then
26719 haveit=yes
26720 break
26721 fi
26722 done
26723 if test -z "$haveit"; then
26724 ltrpathdirs="$ltrpathdirs $found_dir"
26725 fi
26726 if test "$hardcode_direct" = yes; then
26727 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26728 else
26729 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26730 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26731 haveit=
26732 for x in $rpathdirs; do
26733 if test "X$x" = "X$found_dir"; then
26734 haveit=yes
26735 break
26736 fi
26737 done
26738 if test -z "$haveit"; then
26739 rpathdirs="$rpathdirs $found_dir"
26740 fi
26741 else
26742 haveit=
26743 for x in $LDFLAGS $LIBICONV; do
26744
26745 acl_save_prefix="$prefix"
26746 prefix="$acl_final_prefix"
26747 acl_save_exec_prefix="$exec_prefix"
26748 exec_prefix="$acl_final_exec_prefix"
26749 eval x=\"$x\"
26750 exec_prefix="$acl_save_exec_prefix"
26751 prefix="$acl_save_prefix"
26752
26753 if test "X$x" = "X-L$found_dir"; then
26754 haveit=yes
26755 break
26756 fi
26757 done
26758 if test -z "$haveit"; then
26759 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26760 fi
26761 if test "$hardcode_minus_L" != no; then
26762 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26763 else
26764 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26765 fi
26766 fi
26767 fi
26768 fi
26769 else
26770 if test "X$found_a" != "X"; then
26771 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26772 else
26773 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26774 fi
26775 fi
26776 additional_includedir=
26777 case "$found_dir" in
26778 */lib | */lib/)
26779 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26780 additional_includedir="$basedir/include"
26781 ;;
26782 esac
26783 if test "X$additional_includedir" != "X"; then
26784 if test "X$additional_includedir" != "X/usr/include"; then
26785 haveit=
26786 if test "X$additional_includedir" = "X/usr/local/include"; then
26787 if test -n "$GCC"; then
26788 case $host_os in
26789 linux*) haveit=yes;;
26790 esac
26791 fi
26792 fi
26793 if test -z "$haveit"; then
26794 for x in $CPPFLAGS $INCICONV; do
26795
26796 acl_save_prefix="$prefix"
26797 prefix="$acl_final_prefix"
26798 acl_save_exec_prefix="$exec_prefix"
26799 exec_prefix="$acl_final_exec_prefix"
26800 eval x=\"$x\"
26801 exec_prefix="$acl_save_exec_prefix"
26802 prefix="$acl_save_prefix"
26803
26804 if test "X$x" = "X-I$additional_includedir"; then
26805 haveit=yes
26806 break
26807 fi
26808 done
26809 if test -z "$haveit"; then
26810 if test -d "$additional_includedir"; then
26811 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26812 fi
26813 fi
26814 fi
26815 fi
26816 fi
26817 if test -n "$found_la"; then
26818 save_libdir="$libdir"
26819 case "$found_la" in
26820 */* | *\\*) . "$found_la" ;;
26821 *) . "./$found_la" ;;
26822 esac
26823 libdir="$save_libdir"
26824 for dep in $dependency_libs; do
26825 case "$dep" in
26826 -L*)
26827 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26828 if test "X$additional_libdir" != "X/usr/lib"; then
26829 haveit=
26830 if test "X$additional_libdir" = "X/usr/local/lib"; then
26831 if test -n "$GCC"; then
26832 case $host_os in
26833 linux*) haveit=yes;;
26834 esac
26835 fi
26836 fi
26837 if test -z "$haveit"; then
26838 haveit=
26839 for x in $LDFLAGS $LIBICONV; do
26840
26841 acl_save_prefix="$prefix"
26842 prefix="$acl_final_prefix"
26843 acl_save_exec_prefix="$exec_prefix"
26844 exec_prefix="$acl_final_exec_prefix"
26845 eval x=\"$x\"
26846 exec_prefix="$acl_save_exec_prefix"
26847 prefix="$acl_save_prefix"
26848
26849 if test "X$x" = "X-L$additional_libdir"; then
26850 haveit=yes
26851 break
26852 fi
26853 done
26854 if test -z "$haveit"; then
26855 if test -d "$additional_libdir"; then
26856 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26857 fi
26858 fi
26859 haveit=
26860 for x in $LDFLAGS $LTLIBICONV; do
26861
26862 acl_save_prefix="$prefix"
26863 prefix="$acl_final_prefix"
26864 acl_save_exec_prefix="$exec_prefix"
26865 exec_prefix="$acl_final_exec_prefix"
26866 eval x=\"$x\"
26867 exec_prefix="$acl_save_exec_prefix"
26868 prefix="$acl_save_prefix"
26869
26870 if test "X$x" = "X-L$additional_libdir"; then
26871 haveit=yes
26872 break
26873 fi
26874 done
26875 if test -z "$haveit"; then
26876 if test -d "$additional_libdir"; then
26877 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26878 fi
26879 fi
26880 fi
26881 fi
26882 ;;
26883 -R*)
26884 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26885 if test "$enable_rpath" != no; then
26886 haveit=
26887 for x in $rpathdirs; do
26888 if test "X$x" = "X$dir"; then
26889 haveit=yes
26890 break
26891 fi
26892 done
26893 if test -z "$haveit"; then
26894 rpathdirs="$rpathdirs $dir"
26895 fi
26896 haveit=
26897 for x in $ltrpathdirs; do
26898 if test "X$x" = "X$dir"; then
26899 haveit=yes
26900 break
26901 fi
26902 done
26903 if test -z "$haveit"; then
26904 ltrpathdirs="$ltrpathdirs $dir"
26905 fi
26906 fi
26907 ;;
26908 -l*)
26909 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26910 ;;
26911 *.la)
26912 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26913 ;;
26914 *)
26915 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26916 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26917 ;;
26918 esac
26919 done
26920 fi
26921 else
26922 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26923 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26924 fi
26925 fi
26926 fi
26927 done
26928 done
26929 if test "X$rpathdirs" != "X"; then
26930 if test -n "$hardcode_libdir_separator"; then
26931 alldirs=
26932 for found_dir in $rpathdirs; do
26933 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26934 done
26935 acl_save_libdir="$libdir"
26936 libdir="$alldirs"
26937 eval flag=\"$hardcode_libdir_flag_spec\"
26938 libdir="$acl_save_libdir"
26939 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26940 else
26941 for found_dir in $rpathdirs; do
26942 acl_save_libdir="$libdir"
26943 libdir="$found_dir"
26944 eval flag=\"$hardcode_libdir_flag_spec\"
26945 libdir="$acl_save_libdir"
26946 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26947 done
26948 fi
26949 fi
26950 if test "X$ltrpathdirs" != "X"; then
26951 for found_dir in $ltrpathdirs; do
26952 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26953 done
26954 fi
26955
26956
26957
26958
26959
26960
26961
26962 am_save_CPPFLAGS="$CPPFLAGS"
26963
26964 for element in $INCICONV; do
26965 haveit=
26966 for x in $CPPFLAGS; do
26967
26968 acl_save_prefix="$prefix"
26969 prefix="$acl_final_prefix"
26970 acl_save_exec_prefix="$exec_prefix"
26971 exec_prefix="$acl_final_exec_prefix"
26972 eval x=\"$x\"
26973 exec_prefix="$acl_save_exec_prefix"
26974 prefix="$acl_save_prefix"
26975
26976 if test "X$x" = "X$element"; then
26977 haveit=yes
26978 break
26979 fi
26980 done
26981 if test -z "$haveit"; then
26982 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26983 fi
26984 done
26985
26986
26987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26988 $as_echo_n "checking for iconv... " >&6; }
26989 if test "${am_cv_func_iconv+set}" = set; then :
26990 $as_echo_n "(cached) " >&6
26991 else
26992
26993 am_cv_func_iconv="no, consider installing GNU libiconv"
26994 am_cv_lib_iconv=no
26995 if test x$gcc_no_link = xyes; then
26996 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26997 fi
26998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26999 /* end confdefs.h. */
27000 #include <stdlib.h>
27001 #include <iconv.h>
27002 int
27003 main ()
27004 {
27005 iconv_t cd = iconv_open("","");
27006 iconv(cd,NULL,NULL,NULL,NULL);
27007 iconv_close(cd);
27008 ;
27009 return 0;
27010 }
27011 _ACEOF
27012 if ac_fn_c_try_link "$LINENO"; then :
27013 am_cv_func_iconv=yes
27014 fi
27015 rm -f core conftest.err conftest.$ac_objext \
27016 conftest$ac_exeext conftest.$ac_ext
27017 if test "$am_cv_func_iconv" != yes; then
27018 am_save_LIBS="$LIBS"
27019 LIBS="$LIBS $LIBICONV"
27020 if test x$gcc_no_link = xyes; then
27021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27022 fi
27023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27024 /* end confdefs.h. */
27025 #include <stdlib.h>
27026 #include <iconv.h>
27027 int
27028 main ()
27029 {
27030 iconv_t cd = iconv_open("","");
27031 iconv(cd,NULL,NULL,NULL,NULL);
27032 iconv_close(cd);
27033 ;
27034 return 0;
27035 }
27036 _ACEOF
27037 if ac_fn_c_try_link "$LINENO"; then :
27038 am_cv_lib_iconv=yes
27039 am_cv_func_iconv=yes
27040 fi
27041 rm -f core conftest.err conftest.$ac_objext \
27042 conftest$ac_exeext conftest.$ac_ext
27043 LIBS="$am_save_LIBS"
27044 fi
27045
27046 fi
27047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27048 $as_echo "$am_cv_func_iconv" >&6; }
27049 if test "$am_cv_func_iconv" = yes; then
27050
27051 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27052
27053 fi
27054 if test "$am_cv_lib_iconv" = yes; then
27055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27056 $as_echo_n "checking how to link with libiconv... " >&6; }
27057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27058 $as_echo "$LIBICONV" >&6; }
27059 else
27060 CPPFLAGS="$am_save_CPPFLAGS"
27061 LIBICONV=
27062 LTLIBICONV=
27063 fi
27064
27065
27066
27067 if test "$am_cv_func_iconv" = yes; then
27068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27069 $as_echo_n "checking for iconv declaration... " >&6; }
27070 if test "${am_cv_proto_iconv+set}" = set; then :
27071 $as_echo_n "(cached) " >&6
27072 else
27073
27074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27075 /* end confdefs.h. */
27076
27077 #include <stdlib.h>
27078 #include <iconv.h>
27079 extern
27080 #ifdef __cplusplus
27081 "C"
27082 #endif
27083 #if defined(__STDC__) || defined(__cplusplus)
27084 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27085 #else
27086 size_t iconv();
27087 #endif
27088
27089 int
27090 main ()
27091 {
27092
27093 ;
27094 return 0;
27095 }
27096 _ACEOF
27097 if ac_fn_c_try_compile "$LINENO"; then :
27098 am_cv_proto_iconv_arg1=""
27099 else
27100 am_cv_proto_iconv_arg1="const"
27101 fi
27102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27103 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);"
27104 fi
27105
27106 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27108 }$am_cv_proto_iconv" >&5
27109 $as_echo "${ac_t:-
27110 }$am_cv_proto_iconv" >&6; }
27111
27112 cat >>confdefs.h <<_ACEOF
27113 #define ICONV_CONST $am_cv_proto_iconv_arg1
27114 _ACEOF
27115
27116 fi
27117
27118
27119 else
27120
27121 # This lets us hard-code the functionality we know we'll have in the cross
27122 # target environment. "Let" is a sugar-coated word placed on an especially
27123 # dull and tedious hack, actually.
27124 #
27125 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27126 # that involve linking, can't be used:
27127 # "cannot open sim-crt0.o"
27128 # "cannot open crt0.o"
27129 # etc. All this is because there currently exists no unified, consistent
27130 # way for top level CC information to be passed down to target directories:
27131 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27132 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27133 # crosses can be removed.
27134
27135 # If Canadian cross, then don't pick up tools from the build directory.
27136 # Used only in GLIBCXX_EXPORT_INCLUDES.
27137 if test -n "$with_cross_host" &&
27138 test x"$build_alias" != x"$with_cross_host" &&
27139 test x"$build" != x"$target";
27140 then
27141 CANADIAN=yes
27142 else
27143 CANADIAN=no
27144 fi
27145
27146 # Construct crosses by hand, eliminating bits that need ld...
27147 # GLIBCXX_CHECK_MATH_SUPPORT
27148
27149 # First, test for "known" system libraries. We may be using newlib even
27150 # on a hosted environment.
27151 if test "x${with_newlib}" = "xyes"; then
27152 os_include_dir="os/newlib"
27153 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27154
27155
27156 # GLIBCXX_CHECK_STDLIB_SUPPORT
27157 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27158
27159
27160 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27161
27162 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27163
27164 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27165
27166 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27167
27168 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27169
27170 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27171
27172 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27173
27174 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27175
27176 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27177
27178 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27179
27180 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27181
27182 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27183
27184 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27185
27186 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27187
27188 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27189
27190 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27191
27192 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27193
27194 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27195
27196 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27197
27198 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27199
27200 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27201
27202 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27203
27204
27205 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27206
27207 else
27208
27209 # Base decisions on target environment.
27210 case "${host}" in
27211 arm*-*-symbianelf*)
27212 # This is a freestanding configuration; there is nothing to do here.
27213 ;;
27214
27215 mips*-sde-elf*)
27216 # These definitions are for the SDE C library rather than newlib.
27217 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27218
27219
27220 # All these tests are for C++; save the language and the compiler flags.
27221 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27222 # found in GLIBCXX_CONFIGURE.
27223
27224 ac_ext=cpp
27225 ac_cpp='$CXXCPP $CPPFLAGS'
27226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27229
27230 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27231 ac_save_CXXFLAGS="$CXXFLAGS"
27232
27233 # Check for maintainer-mode bits.
27234 if test x"$USE_MAINTAINER_MODE" = xno; then
27235 WERROR=''
27236 else
27237 WERROR='-Werror'
27238 fi
27239
27240 # Check for -ffunction-sections -fdata-sections
27241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27242 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27243 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27245 /* end confdefs.h. */
27246 int foo; void bar() { };
27247 int
27248 main ()
27249 {
27250
27251 ;
27252 return 0;
27253 }
27254 _ACEOF
27255 if ac_fn_cxx_try_compile "$LINENO"; then :
27256 ac_fdsections=yes
27257 else
27258 ac_fdsections=no
27259 fi
27260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27261 if test "$ac_test_CXXFLAGS" = set; then
27262 CXXFLAGS="$ac_save_CXXFLAGS"
27263 else
27264 # this is the suspicious part
27265 CXXFLAGS=''
27266 fi
27267 if test x"$ac_fdsections" = x"yes"; then
27268 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27269 fi
27270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27271 $as_echo "$ac_fdsections" >&6; }
27272
27273 ac_ext=c
27274 ac_cpp='$CPP $CPPFLAGS'
27275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27278
27279
27280
27281
27282
27283 # If we're not using GNU ld, then there's no point in even trying these
27284 # tests. Check for that first. We should have already tested for gld
27285 # by now (in libtool), but require it now just to be safe...
27286 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27287 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27288
27289
27290
27291 # The name set by libtool depends on the version of libtool. Shame on us
27292 # for depending on an impl detail, but c'est la vie. Older versions used
27293 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27294 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27295 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27296 # set (hence we're using an older libtool), then set it.
27297 if test x${with_gnu_ld+set} != xset; then
27298 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27299 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27300 with_gnu_ld=no
27301 else
27302 with_gnu_ld=$ac_cv_prog_gnu_ld
27303 fi
27304 fi
27305
27306 # Start by getting the version number. I think the libtool test already
27307 # does some of this, but throws away the result.
27308 glibcxx_ld_is_gold=no
27309 if test x"$with_gnu_ld" = x"yes"; then
27310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27311 $as_echo_n "checking for ld version... " >&6; }
27312
27313 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27314 glibcxx_ld_is_gold=yes
27315 fi
27316 ldver=`$LD --version 2>/dev/null |
27317 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'`
27318
27319 glibcxx_gnu_ld_version=`echo $ldver | \
27320 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27322 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27323 fi
27324
27325 # Set --gc-sections.
27326 glibcxx_have_gc_sections=no
27327 if test "$glibcxx_ld_is_gold" = "yes"; then
27328 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27329 glibcxx_have_gc_sections=yes
27330 fi
27331 else
27332 glibcxx_gcsections_min_ld=21602
27333 if test x"$with_gnu_ld" = x"yes" &&
27334 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27335 glibcxx_have_gc_sections=yes
27336 fi
27337 fi
27338 if test "$glibcxx_have_gc_sections" = "yes"; then
27339 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27340 # NB: This flag only works reliably after 2.16.1. Configure tests
27341 # for this are difficult, so hard wire a value that should work.
27342
27343 ac_test_CFLAGS="${CFLAGS+set}"
27344 ac_save_CFLAGS="$CFLAGS"
27345 CFLAGS='-Wl,--gc-sections'
27346
27347 # Check for -Wl,--gc-sections
27348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27349 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27350 if test x$gcc_no_link = xyes; then
27351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27352 fi
27353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27354 /* end confdefs.h. */
27355 int one(void) { return 1; }
27356 int two(void) { return 2; }
27357
27358 int
27359 main ()
27360 {
27361 two();
27362 ;
27363 return 0;
27364 }
27365 _ACEOF
27366 if ac_fn_c_try_link "$LINENO"; then :
27367 ac_gcsections=yes
27368 else
27369 ac_gcsections=no
27370 fi
27371 rm -f core conftest.err conftest.$ac_objext \
27372 conftest$ac_exeext conftest.$ac_ext
27373 if test "$ac_gcsections" = "yes"; then
27374 rm -f conftest.c
27375 touch conftest.c
27376 if $CC -c conftest.c; then
27377 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27378 grep "Warning: gc-sections option ignored" > /dev/null; then
27379 ac_gcsections=no
27380 fi
27381 fi
27382 rm -f conftest.c conftest.o conftest
27383 fi
27384 if test "$ac_gcsections" = "yes"; then
27385 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27386 fi
27387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27388 $as_echo "$ac_gcsections" >&6; }
27389
27390 if test "$ac_test_CFLAGS" = set; then
27391 CFLAGS="$ac_save_CFLAGS"
27392 else
27393 # this is the suspicious part
27394 CFLAGS=''
27395 fi
27396 fi
27397
27398 # Set -z,relro.
27399 # Note this is only for shared objects.
27400 ac_ld_relro=no
27401 if test x"$with_gnu_ld" = x"yes"; then
27402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27403 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27404 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27405 if test -n "$cxx_z_relo"; then
27406 OPT_LDFLAGS="-Wl,-z,relro"
27407 ac_ld_relro=yes
27408 fi
27409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27410 $as_echo "$ac_ld_relro" >&6; }
27411 fi
27412
27413 # Set linker optimization flags.
27414 if test x"$with_gnu_ld" = x"yes"; then
27415 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27416 fi
27417
27418
27419
27420
27421
27422 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27423 ac_save_CXXFLAGS="$CXXFLAGS"
27424 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27425
27426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27427 $as_echo_n "checking for sin in -lm... " >&6; }
27428 if test "${ac_cv_lib_m_sin+set}" = set; then :
27429 $as_echo_n "(cached) " >&6
27430 else
27431 ac_check_lib_save_LIBS=$LIBS
27432 LIBS="-lm $LIBS"
27433 if test x$gcc_no_link = xyes; then
27434 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27435 fi
27436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27437 /* end confdefs.h. */
27438
27439 /* Override any GCC internal prototype to avoid an error.
27440 Use char because int might match the return type of a GCC
27441 builtin and then its argument prototype would still apply. */
27442 #ifdef __cplusplus
27443 extern "C"
27444 #endif
27445 char sin ();
27446 int
27447 main ()
27448 {
27449 return sin ();
27450 ;
27451 return 0;
27452 }
27453 _ACEOF
27454 if ac_fn_c_try_link "$LINENO"; then :
27455 ac_cv_lib_m_sin=yes
27456 else
27457 ac_cv_lib_m_sin=no
27458 fi
27459 rm -f core conftest.err conftest.$ac_objext \
27460 conftest$ac_exeext conftest.$ac_ext
27461 LIBS=$ac_check_lib_save_LIBS
27462 fi
27463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27464 $as_echo "$ac_cv_lib_m_sin" >&6; }
27465 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27466 libm="-lm"
27467 fi
27468
27469 ac_save_LIBS="$LIBS"
27470 LIBS="$LIBS $libm"
27471
27472
27473
27474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27475 $as_echo_n "checking for isinf declaration... " >&6; }
27476 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27477 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27478 $as_echo_n "(cached) " >&6
27479 else
27480
27481
27482 ac_ext=cpp
27483 ac_cpp='$CXXCPP $CPPFLAGS'
27484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27487
27488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27489 /* end confdefs.h. */
27490 #include <math.h>
27491 #ifdef HAVE_IEEEFP_H
27492 #include <ieeefp.h>
27493 #endif
27494
27495 int
27496 main ()
27497 {
27498 isinf(0);
27499 ;
27500 return 0;
27501 }
27502 _ACEOF
27503 if ac_fn_cxx_try_compile "$LINENO"; then :
27504 glibcxx_cv_func_isinf_use=yes
27505 else
27506 glibcxx_cv_func_isinf_use=no
27507 fi
27508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27509 ac_ext=c
27510 ac_cpp='$CPP $CPPFLAGS'
27511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27514
27515
27516 fi
27517
27518 fi
27519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27520 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27521
27522 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27523 for ac_func in isinf
27524 do :
27525 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27526 if test "x$ac_cv_func_isinf" = x""yes; then :
27527 cat >>confdefs.h <<_ACEOF
27528 #define HAVE_ISINF 1
27529 _ACEOF
27530
27531 fi
27532 done
27533
27534 else
27535
27536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27537 $as_echo_n "checking for _isinf declaration... " >&6; }
27538 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27539 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27540 $as_echo_n "(cached) " >&6
27541 else
27542
27543
27544 ac_ext=cpp
27545 ac_cpp='$CXXCPP $CPPFLAGS'
27546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27549
27550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27551 /* end confdefs.h. */
27552 #include <math.h>
27553 #ifdef HAVE_IEEEFP_H
27554 #include <ieeefp.h>
27555 #endif
27556
27557 int
27558 main ()
27559 {
27560 _isinf(0);
27561 ;
27562 return 0;
27563 }
27564 _ACEOF
27565 if ac_fn_cxx_try_compile "$LINENO"; then :
27566 glibcxx_cv_func__isinf_use=yes
27567 else
27568 glibcxx_cv_func__isinf_use=no
27569 fi
27570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27571 ac_ext=c
27572 ac_cpp='$CPP $CPPFLAGS'
27573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27576
27577
27578 fi
27579
27580 fi
27581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27582 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27583
27584 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27585 for ac_func in _isinf
27586 do :
27587 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27588 if test "x$ac_cv_func__isinf" = x""yes; then :
27589 cat >>confdefs.h <<_ACEOF
27590 #define HAVE__ISINF 1
27591 _ACEOF
27592
27593 fi
27594 done
27595
27596 fi
27597 fi
27598
27599
27600
27601
27602
27603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27604 $as_echo_n "checking for isnan declaration... " >&6; }
27605 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27606 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27607 $as_echo_n "(cached) " >&6
27608 else
27609
27610
27611 ac_ext=cpp
27612 ac_cpp='$CXXCPP $CPPFLAGS'
27613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27616
27617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27618 /* end confdefs.h. */
27619 #include <math.h>
27620 #ifdef HAVE_IEEEFP_H
27621 #include <ieeefp.h>
27622 #endif
27623
27624 int
27625 main ()
27626 {
27627 isnan(0);
27628 ;
27629 return 0;
27630 }
27631 _ACEOF
27632 if ac_fn_cxx_try_compile "$LINENO"; then :
27633 glibcxx_cv_func_isnan_use=yes
27634 else
27635 glibcxx_cv_func_isnan_use=no
27636 fi
27637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27638 ac_ext=c
27639 ac_cpp='$CPP $CPPFLAGS'
27640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27643
27644
27645 fi
27646
27647 fi
27648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27649 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27650
27651 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27652 for ac_func in isnan
27653 do :
27654 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27655 if test "x$ac_cv_func_isnan" = x""yes; then :
27656 cat >>confdefs.h <<_ACEOF
27657 #define HAVE_ISNAN 1
27658 _ACEOF
27659
27660 fi
27661 done
27662
27663 else
27664
27665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27666 $as_echo_n "checking for _isnan declaration... " >&6; }
27667 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27668 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27669 $as_echo_n "(cached) " >&6
27670 else
27671
27672
27673 ac_ext=cpp
27674 ac_cpp='$CXXCPP $CPPFLAGS'
27675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27678
27679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27680 /* end confdefs.h. */
27681 #include <math.h>
27682 #ifdef HAVE_IEEEFP_H
27683 #include <ieeefp.h>
27684 #endif
27685
27686 int
27687 main ()
27688 {
27689 _isnan(0);
27690 ;
27691 return 0;
27692 }
27693 _ACEOF
27694 if ac_fn_cxx_try_compile "$LINENO"; then :
27695 glibcxx_cv_func__isnan_use=yes
27696 else
27697 glibcxx_cv_func__isnan_use=no
27698 fi
27699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27700 ac_ext=c
27701 ac_cpp='$CPP $CPPFLAGS'
27702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27705
27706
27707 fi
27708
27709 fi
27710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27711 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27712
27713 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27714 for ac_func in _isnan
27715 do :
27716 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27717 if test "x$ac_cv_func__isnan" = x""yes; then :
27718 cat >>confdefs.h <<_ACEOF
27719 #define HAVE__ISNAN 1
27720 _ACEOF
27721
27722 fi
27723 done
27724
27725 fi
27726 fi
27727
27728
27729
27730
27731
27732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27733 $as_echo_n "checking for finite declaration... " >&6; }
27734 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27735 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27736 $as_echo_n "(cached) " >&6
27737 else
27738
27739
27740 ac_ext=cpp
27741 ac_cpp='$CXXCPP $CPPFLAGS'
27742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27745
27746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27747 /* end confdefs.h. */
27748 #include <math.h>
27749 #ifdef HAVE_IEEEFP_H
27750 #include <ieeefp.h>
27751 #endif
27752
27753 int
27754 main ()
27755 {
27756 finite(0);
27757 ;
27758 return 0;
27759 }
27760 _ACEOF
27761 if ac_fn_cxx_try_compile "$LINENO"; then :
27762 glibcxx_cv_func_finite_use=yes
27763 else
27764 glibcxx_cv_func_finite_use=no
27765 fi
27766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27767 ac_ext=c
27768 ac_cpp='$CPP $CPPFLAGS'
27769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27772
27773
27774 fi
27775
27776 fi
27777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27778 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27779
27780 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27781 for ac_func in finite
27782 do :
27783 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27784 if test "x$ac_cv_func_finite" = x""yes; then :
27785 cat >>confdefs.h <<_ACEOF
27786 #define HAVE_FINITE 1
27787 _ACEOF
27788
27789 fi
27790 done
27791
27792 else
27793
27794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27795 $as_echo_n "checking for _finite declaration... " >&6; }
27796 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27797 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27798 $as_echo_n "(cached) " >&6
27799 else
27800
27801
27802 ac_ext=cpp
27803 ac_cpp='$CXXCPP $CPPFLAGS'
27804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27807
27808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27809 /* end confdefs.h. */
27810 #include <math.h>
27811 #ifdef HAVE_IEEEFP_H
27812 #include <ieeefp.h>
27813 #endif
27814
27815 int
27816 main ()
27817 {
27818 _finite(0);
27819 ;
27820 return 0;
27821 }
27822 _ACEOF
27823 if ac_fn_cxx_try_compile "$LINENO"; then :
27824 glibcxx_cv_func__finite_use=yes
27825 else
27826 glibcxx_cv_func__finite_use=no
27827 fi
27828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27829 ac_ext=c
27830 ac_cpp='$CPP $CPPFLAGS'
27831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27834
27835
27836 fi
27837
27838 fi
27839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27840 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27841
27842 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27843 for ac_func in _finite
27844 do :
27845 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27846 if test "x$ac_cv_func__finite" = x""yes; then :
27847 cat >>confdefs.h <<_ACEOF
27848 #define HAVE__FINITE 1
27849 _ACEOF
27850
27851 fi
27852 done
27853
27854 fi
27855 fi
27856
27857
27858
27859
27860
27861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27862 $as_echo_n "checking for sincos declaration... " >&6; }
27863 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27864 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27865 $as_echo_n "(cached) " >&6
27866 else
27867
27868
27869 ac_ext=cpp
27870 ac_cpp='$CXXCPP $CPPFLAGS'
27871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27874
27875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27876 /* end confdefs.h. */
27877 #include <math.h>
27878 int
27879 main ()
27880 {
27881 sincos(0, 0, 0);
27882 ;
27883 return 0;
27884 }
27885 _ACEOF
27886 if ac_fn_cxx_try_compile "$LINENO"; then :
27887 glibcxx_cv_func_sincos_use=yes
27888 else
27889 glibcxx_cv_func_sincos_use=no
27890 fi
27891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27892 ac_ext=c
27893 ac_cpp='$CPP $CPPFLAGS'
27894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27897
27898
27899 fi
27900
27901 fi
27902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27903 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27904
27905 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27906 for ac_func in sincos
27907 do :
27908 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27909 if test "x$ac_cv_func_sincos" = x""yes; then :
27910 cat >>confdefs.h <<_ACEOF
27911 #define HAVE_SINCOS 1
27912 _ACEOF
27913
27914 fi
27915 done
27916
27917 else
27918
27919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27920 $as_echo_n "checking for _sincos declaration... " >&6; }
27921 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27922 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27923 $as_echo_n "(cached) " >&6
27924 else
27925
27926
27927 ac_ext=cpp
27928 ac_cpp='$CXXCPP $CPPFLAGS'
27929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27932
27933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27934 /* end confdefs.h. */
27935 #include <math.h>
27936 int
27937 main ()
27938 {
27939 _sincos(0, 0, 0);
27940 ;
27941 return 0;
27942 }
27943 _ACEOF
27944 if ac_fn_cxx_try_compile "$LINENO"; then :
27945 glibcxx_cv_func__sincos_use=yes
27946 else
27947 glibcxx_cv_func__sincos_use=no
27948 fi
27949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27950 ac_ext=c
27951 ac_cpp='$CPP $CPPFLAGS'
27952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27955
27956
27957 fi
27958
27959 fi
27960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27961 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27962
27963 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27964 for ac_func in _sincos
27965 do :
27966 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27967 if test "x$ac_cv_func__sincos" = x""yes; then :
27968 cat >>confdefs.h <<_ACEOF
27969 #define HAVE__SINCOS 1
27970 _ACEOF
27971
27972 fi
27973 done
27974
27975 fi
27976 fi
27977
27978
27979
27980
27981
27982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27983 $as_echo_n "checking for fpclass declaration... " >&6; }
27984 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27985 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27986 $as_echo_n "(cached) " >&6
27987 else
27988
27989
27990 ac_ext=cpp
27991 ac_cpp='$CXXCPP $CPPFLAGS'
27992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27995
27996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27997 /* end confdefs.h. */
27998 #include <math.h>
27999 #ifdef HAVE_IEEEFP_H
28000 #include <ieeefp.h>
28001 #endif
28002
28003 int
28004 main ()
28005 {
28006 fpclass(0);
28007 ;
28008 return 0;
28009 }
28010 _ACEOF
28011 if ac_fn_cxx_try_compile "$LINENO"; then :
28012 glibcxx_cv_func_fpclass_use=yes
28013 else
28014 glibcxx_cv_func_fpclass_use=no
28015 fi
28016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28017 ac_ext=c
28018 ac_cpp='$CPP $CPPFLAGS'
28019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28022
28023
28024 fi
28025
28026 fi
28027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28028 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28029
28030 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28031 for ac_func in fpclass
28032 do :
28033 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28034 if test "x$ac_cv_func_fpclass" = x""yes; then :
28035 cat >>confdefs.h <<_ACEOF
28036 #define HAVE_FPCLASS 1
28037 _ACEOF
28038
28039 fi
28040 done
28041
28042 else
28043
28044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28045 $as_echo_n "checking for _fpclass declaration... " >&6; }
28046 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28047 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28048 $as_echo_n "(cached) " >&6
28049 else
28050
28051
28052 ac_ext=cpp
28053 ac_cpp='$CXXCPP $CPPFLAGS'
28054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28057
28058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28059 /* end confdefs.h. */
28060 #include <math.h>
28061 #ifdef HAVE_IEEEFP_H
28062 #include <ieeefp.h>
28063 #endif
28064
28065 int
28066 main ()
28067 {
28068 _fpclass(0);
28069 ;
28070 return 0;
28071 }
28072 _ACEOF
28073 if ac_fn_cxx_try_compile "$LINENO"; then :
28074 glibcxx_cv_func__fpclass_use=yes
28075 else
28076 glibcxx_cv_func__fpclass_use=no
28077 fi
28078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28079 ac_ext=c
28080 ac_cpp='$CPP $CPPFLAGS'
28081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28084
28085
28086 fi
28087
28088 fi
28089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28090 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28091
28092 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28093 for ac_func in _fpclass
28094 do :
28095 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28096 if test "x$ac_cv_func__fpclass" = x""yes; then :
28097 cat >>confdefs.h <<_ACEOF
28098 #define HAVE__FPCLASS 1
28099 _ACEOF
28100
28101 fi
28102 done
28103
28104 fi
28105 fi
28106
28107
28108
28109
28110
28111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28112 $as_echo_n "checking for qfpclass declaration... " >&6; }
28113 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28114 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28115 $as_echo_n "(cached) " >&6
28116 else
28117
28118
28119 ac_ext=cpp
28120 ac_cpp='$CXXCPP $CPPFLAGS'
28121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28124
28125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28126 /* end confdefs.h. */
28127 #include <math.h>
28128 #ifdef HAVE_IEEEFP_H
28129 #include <ieeefp.h>
28130 #endif
28131
28132 int
28133 main ()
28134 {
28135 qfpclass(0);
28136 ;
28137 return 0;
28138 }
28139 _ACEOF
28140 if ac_fn_cxx_try_compile "$LINENO"; then :
28141 glibcxx_cv_func_qfpclass_use=yes
28142 else
28143 glibcxx_cv_func_qfpclass_use=no
28144 fi
28145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28146 ac_ext=c
28147 ac_cpp='$CPP $CPPFLAGS'
28148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28151
28152
28153 fi
28154
28155 fi
28156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28157 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28158
28159 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28160 for ac_func in qfpclass
28161 do :
28162 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28163 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28164 cat >>confdefs.h <<_ACEOF
28165 #define HAVE_QFPCLASS 1
28166 _ACEOF
28167
28168 fi
28169 done
28170
28171 else
28172
28173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28174 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28175 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28176 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28177 $as_echo_n "(cached) " >&6
28178 else
28179
28180
28181 ac_ext=cpp
28182 ac_cpp='$CXXCPP $CPPFLAGS'
28183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28186
28187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28188 /* end confdefs.h. */
28189 #include <math.h>
28190 #ifdef HAVE_IEEEFP_H
28191 #include <ieeefp.h>
28192 #endif
28193
28194 int
28195 main ()
28196 {
28197 _qfpclass(0);
28198 ;
28199 return 0;
28200 }
28201 _ACEOF
28202 if ac_fn_cxx_try_compile "$LINENO"; then :
28203 glibcxx_cv_func__qfpclass_use=yes
28204 else
28205 glibcxx_cv_func__qfpclass_use=no
28206 fi
28207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28208 ac_ext=c
28209 ac_cpp='$CPP $CPPFLAGS'
28210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28213
28214
28215 fi
28216
28217 fi
28218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28219 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28220
28221 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28222 for ac_func in _qfpclass
28223 do :
28224 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28225 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28226 cat >>confdefs.h <<_ACEOF
28227 #define HAVE__QFPCLASS 1
28228 _ACEOF
28229
28230 fi
28231 done
28232
28233 fi
28234 fi
28235
28236
28237
28238
28239
28240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28241 $as_echo_n "checking for hypot declaration... " >&6; }
28242 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28243 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28244 $as_echo_n "(cached) " >&6
28245 else
28246
28247
28248 ac_ext=cpp
28249 ac_cpp='$CXXCPP $CPPFLAGS'
28250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28253
28254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28255 /* end confdefs.h. */
28256 #include <math.h>
28257 int
28258 main ()
28259 {
28260 hypot(0, 0);
28261 ;
28262 return 0;
28263 }
28264 _ACEOF
28265 if ac_fn_cxx_try_compile "$LINENO"; then :
28266 glibcxx_cv_func_hypot_use=yes
28267 else
28268 glibcxx_cv_func_hypot_use=no
28269 fi
28270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28271 ac_ext=c
28272 ac_cpp='$CPP $CPPFLAGS'
28273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28276
28277
28278 fi
28279
28280 fi
28281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28282 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28283
28284 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28285 for ac_func in hypot
28286 do :
28287 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28288 if test "x$ac_cv_func_hypot" = x""yes; then :
28289 cat >>confdefs.h <<_ACEOF
28290 #define HAVE_HYPOT 1
28291 _ACEOF
28292
28293 fi
28294 done
28295
28296 else
28297
28298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28299 $as_echo_n "checking for _hypot declaration... " >&6; }
28300 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28301 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28302 $as_echo_n "(cached) " >&6
28303 else
28304
28305
28306 ac_ext=cpp
28307 ac_cpp='$CXXCPP $CPPFLAGS'
28308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28311
28312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28313 /* end confdefs.h. */
28314 #include <math.h>
28315 int
28316 main ()
28317 {
28318 _hypot(0, 0);
28319 ;
28320 return 0;
28321 }
28322 _ACEOF
28323 if ac_fn_cxx_try_compile "$LINENO"; then :
28324 glibcxx_cv_func__hypot_use=yes
28325 else
28326 glibcxx_cv_func__hypot_use=no
28327 fi
28328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28329 ac_ext=c
28330 ac_cpp='$CPP $CPPFLAGS'
28331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28334
28335
28336 fi
28337
28338 fi
28339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28340 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28341
28342 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28343 for ac_func in _hypot
28344 do :
28345 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28346 if test "x$ac_cv_func__hypot" = x""yes; then :
28347 cat >>confdefs.h <<_ACEOF
28348 #define HAVE__HYPOT 1
28349 _ACEOF
28350
28351 fi
28352 done
28353
28354 fi
28355 fi
28356
28357
28358
28359
28360
28361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28362 $as_echo_n "checking for float trig functions... " >&6; }
28363 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28364 $as_echo_n "(cached) " >&6
28365 else
28366
28367
28368 ac_ext=cpp
28369 ac_cpp='$CXXCPP $CPPFLAGS'
28370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28373
28374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28375 /* end confdefs.h. */
28376 #include <math.h>
28377 int
28378 main ()
28379 {
28380 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28381 ;
28382 return 0;
28383 }
28384 _ACEOF
28385 if ac_fn_cxx_try_compile "$LINENO"; then :
28386 glibcxx_cv_func_float_trig_use=yes
28387 else
28388 glibcxx_cv_func_float_trig_use=no
28389 fi
28390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28391 ac_ext=c
28392 ac_cpp='$CPP $CPPFLAGS'
28393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28396
28397 fi
28398
28399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28400 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28401 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28402 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28403 do :
28404 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28405 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28406 eval as_val=\$$as_ac_var
28407 if test "x$as_val" = x""yes; then :
28408 cat >>confdefs.h <<_ACEOF
28409 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28410 _ACEOF
28411
28412 fi
28413 done
28414
28415 else
28416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28417 $as_echo_n "checking for _float trig functions... " >&6; }
28418 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28419 $as_echo_n "(cached) " >&6
28420 else
28421
28422
28423 ac_ext=cpp
28424 ac_cpp='$CXXCPP $CPPFLAGS'
28425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28428
28429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28430 /* end confdefs.h. */
28431 #include <math.h>
28432 int
28433 main ()
28434 {
28435 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28436 ;
28437 return 0;
28438 }
28439 _ACEOF
28440 if ac_fn_cxx_try_compile "$LINENO"; then :
28441 glibcxx_cv_func__float_trig_use=yes
28442 else
28443 glibcxx_cv_func__float_trig_use=no
28444 fi
28445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28446 ac_ext=c
28447 ac_cpp='$CPP $CPPFLAGS'
28448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28451
28452 fi
28453
28454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28455 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28456 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28457 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28458 do :
28459 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28460 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28461 eval as_val=\$$as_ac_var
28462 if test "x$as_val" = x""yes; then :
28463 cat >>confdefs.h <<_ACEOF
28464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28465 _ACEOF
28466
28467 fi
28468 done
28469
28470 fi
28471 fi
28472
28473
28474
28475
28476
28477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28478 $as_echo_n "checking for float round functions... " >&6; }
28479 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28480 $as_echo_n "(cached) " >&6
28481 else
28482
28483
28484 ac_ext=cpp
28485 ac_cpp='$CXXCPP $CPPFLAGS'
28486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28489
28490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28491 /* end confdefs.h. */
28492 #include <math.h>
28493 int
28494 main ()
28495 {
28496 ceilf (0); floorf (0);
28497 ;
28498 return 0;
28499 }
28500 _ACEOF
28501 if ac_fn_cxx_try_compile "$LINENO"; then :
28502 glibcxx_cv_func_float_round_use=yes
28503 else
28504 glibcxx_cv_func_float_round_use=no
28505 fi
28506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28507 ac_ext=c
28508 ac_cpp='$CPP $CPPFLAGS'
28509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28512
28513 fi
28514
28515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28516 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28517 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28518 for ac_func in ceilf floorf
28519 do :
28520 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28521 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28522 eval as_val=\$$as_ac_var
28523 if test "x$as_val" = x""yes; then :
28524 cat >>confdefs.h <<_ACEOF
28525 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28526 _ACEOF
28527
28528 fi
28529 done
28530
28531 else
28532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28533 $as_echo_n "checking for _float round functions... " >&6; }
28534 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28535 $as_echo_n "(cached) " >&6
28536 else
28537
28538
28539 ac_ext=cpp
28540 ac_cpp='$CXXCPP $CPPFLAGS'
28541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28544
28545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28546 /* end confdefs.h. */
28547 #include <math.h>
28548 int
28549 main ()
28550 {
28551 _ceilf (0); _floorf (0);
28552 ;
28553 return 0;
28554 }
28555 _ACEOF
28556 if ac_fn_cxx_try_compile "$LINENO"; then :
28557 glibcxx_cv_func__float_round_use=yes
28558 else
28559 glibcxx_cv_func__float_round_use=no
28560 fi
28561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28562 ac_ext=c
28563 ac_cpp='$CPP $CPPFLAGS'
28564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28567
28568 fi
28569
28570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28571 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28572 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28573 for ac_func in _ceilf _floorf
28574 do :
28575 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28576 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28577 eval as_val=\$$as_ac_var
28578 if test "x$as_val" = x""yes; then :
28579 cat >>confdefs.h <<_ACEOF
28580 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28581 _ACEOF
28582
28583 fi
28584 done
28585
28586 fi
28587 fi
28588
28589
28590
28591
28592
28593
28594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28595 $as_echo_n "checking for expf declaration... " >&6; }
28596 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28597 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28598 $as_echo_n "(cached) " >&6
28599 else
28600
28601
28602 ac_ext=cpp
28603 ac_cpp='$CXXCPP $CPPFLAGS'
28604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28607
28608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28609 /* end confdefs.h. */
28610 #include <math.h>
28611 #ifdef HAVE_IEEEFP_H
28612 #include <ieeefp.h>
28613 #endif
28614
28615 int
28616 main ()
28617 {
28618 expf(0);
28619 ;
28620 return 0;
28621 }
28622 _ACEOF
28623 if ac_fn_cxx_try_compile "$LINENO"; then :
28624 glibcxx_cv_func_expf_use=yes
28625 else
28626 glibcxx_cv_func_expf_use=no
28627 fi
28628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28629 ac_ext=c
28630 ac_cpp='$CPP $CPPFLAGS'
28631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28634
28635
28636 fi
28637
28638 fi
28639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28640 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28641
28642 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28643 for ac_func in expf
28644 do :
28645 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28646 if test "x$ac_cv_func_expf" = x""yes; then :
28647 cat >>confdefs.h <<_ACEOF
28648 #define HAVE_EXPF 1
28649 _ACEOF
28650
28651 fi
28652 done
28653
28654 else
28655
28656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28657 $as_echo_n "checking for _expf declaration... " >&6; }
28658 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28659 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28660 $as_echo_n "(cached) " >&6
28661 else
28662
28663
28664 ac_ext=cpp
28665 ac_cpp='$CXXCPP $CPPFLAGS'
28666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28669
28670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28671 /* end confdefs.h. */
28672 #include <math.h>
28673 #ifdef HAVE_IEEEFP_H
28674 #include <ieeefp.h>
28675 #endif
28676
28677 int
28678 main ()
28679 {
28680 _expf(0);
28681 ;
28682 return 0;
28683 }
28684 _ACEOF
28685 if ac_fn_cxx_try_compile "$LINENO"; then :
28686 glibcxx_cv_func__expf_use=yes
28687 else
28688 glibcxx_cv_func__expf_use=no
28689 fi
28690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28691 ac_ext=c
28692 ac_cpp='$CPP $CPPFLAGS'
28693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28696
28697
28698 fi
28699
28700 fi
28701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28702 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28703
28704 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28705 for ac_func in _expf
28706 do :
28707 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28708 if test "x$ac_cv_func__expf" = x""yes; then :
28709 cat >>confdefs.h <<_ACEOF
28710 #define HAVE__EXPF 1
28711 _ACEOF
28712
28713 fi
28714 done
28715
28716 fi
28717 fi
28718
28719
28720
28721
28722
28723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28724 $as_echo_n "checking for isnanf declaration... " >&6; }
28725 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28726 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28727 $as_echo_n "(cached) " >&6
28728 else
28729
28730
28731 ac_ext=cpp
28732 ac_cpp='$CXXCPP $CPPFLAGS'
28733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28736
28737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28738 /* end confdefs.h. */
28739 #include <math.h>
28740 #ifdef HAVE_IEEEFP_H
28741 #include <ieeefp.h>
28742 #endif
28743
28744 int
28745 main ()
28746 {
28747 isnanf(0);
28748 ;
28749 return 0;
28750 }
28751 _ACEOF
28752 if ac_fn_cxx_try_compile "$LINENO"; then :
28753 glibcxx_cv_func_isnanf_use=yes
28754 else
28755 glibcxx_cv_func_isnanf_use=no
28756 fi
28757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28758 ac_ext=c
28759 ac_cpp='$CPP $CPPFLAGS'
28760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28763
28764
28765 fi
28766
28767 fi
28768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28769 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28770
28771 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28772 for ac_func in isnanf
28773 do :
28774 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28775 if test "x$ac_cv_func_isnanf" = x""yes; then :
28776 cat >>confdefs.h <<_ACEOF
28777 #define HAVE_ISNANF 1
28778 _ACEOF
28779
28780 fi
28781 done
28782
28783 else
28784
28785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28786 $as_echo_n "checking for _isnanf declaration... " >&6; }
28787 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28788 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28789 $as_echo_n "(cached) " >&6
28790 else
28791
28792
28793 ac_ext=cpp
28794 ac_cpp='$CXXCPP $CPPFLAGS'
28795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28798
28799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28800 /* end confdefs.h. */
28801 #include <math.h>
28802 #ifdef HAVE_IEEEFP_H
28803 #include <ieeefp.h>
28804 #endif
28805
28806 int
28807 main ()
28808 {
28809 _isnanf(0);
28810 ;
28811 return 0;
28812 }
28813 _ACEOF
28814 if ac_fn_cxx_try_compile "$LINENO"; then :
28815 glibcxx_cv_func__isnanf_use=yes
28816 else
28817 glibcxx_cv_func__isnanf_use=no
28818 fi
28819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28820 ac_ext=c
28821 ac_cpp='$CPP $CPPFLAGS'
28822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28825
28826
28827 fi
28828
28829 fi
28830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28831 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28832
28833 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28834 for ac_func in _isnanf
28835 do :
28836 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28837 if test "x$ac_cv_func__isnanf" = x""yes; then :
28838 cat >>confdefs.h <<_ACEOF
28839 #define HAVE__ISNANF 1
28840 _ACEOF
28841
28842 fi
28843 done
28844
28845 fi
28846 fi
28847
28848
28849
28850
28851
28852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28853 $as_echo_n "checking for isinff declaration... " >&6; }
28854 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28855 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28856 $as_echo_n "(cached) " >&6
28857 else
28858
28859
28860 ac_ext=cpp
28861 ac_cpp='$CXXCPP $CPPFLAGS'
28862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28865
28866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28867 /* end confdefs.h. */
28868 #include <math.h>
28869 #ifdef HAVE_IEEEFP_H
28870 #include <ieeefp.h>
28871 #endif
28872
28873 int
28874 main ()
28875 {
28876 isinff(0);
28877 ;
28878 return 0;
28879 }
28880 _ACEOF
28881 if ac_fn_cxx_try_compile "$LINENO"; then :
28882 glibcxx_cv_func_isinff_use=yes
28883 else
28884 glibcxx_cv_func_isinff_use=no
28885 fi
28886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28887 ac_ext=c
28888 ac_cpp='$CPP $CPPFLAGS'
28889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28892
28893
28894 fi
28895
28896 fi
28897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28898 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28899
28900 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28901 for ac_func in isinff
28902 do :
28903 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28904 if test "x$ac_cv_func_isinff" = x""yes; then :
28905 cat >>confdefs.h <<_ACEOF
28906 #define HAVE_ISINFF 1
28907 _ACEOF
28908
28909 fi
28910 done
28911
28912 else
28913
28914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28915 $as_echo_n "checking for _isinff declaration... " >&6; }
28916 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28917 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28918 $as_echo_n "(cached) " >&6
28919 else
28920
28921
28922 ac_ext=cpp
28923 ac_cpp='$CXXCPP $CPPFLAGS'
28924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28927
28928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28929 /* end confdefs.h. */
28930 #include <math.h>
28931 #ifdef HAVE_IEEEFP_H
28932 #include <ieeefp.h>
28933 #endif
28934
28935 int
28936 main ()
28937 {
28938 _isinff(0);
28939 ;
28940 return 0;
28941 }
28942 _ACEOF
28943 if ac_fn_cxx_try_compile "$LINENO"; then :
28944 glibcxx_cv_func__isinff_use=yes
28945 else
28946 glibcxx_cv_func__isinff_use=no
28947 fi
28948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28949 ac_ext=c
28950 ac_cpp='$CPP $CPPFLAGS'
28951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28954
28955
28956 fi
28957
28958 fi
28959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28960 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28961
28962 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28963 for ac_func in _isinff
28964 do :
28965 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28966 if test "x$ac_cv_func__isinff" = x""yes; then :
28967 cat >>confdefs.h <<_ACEOF
28968 #define HAVE__ISINFF 1
28969 _ACEOF
28970
28971 fi
28972 done
28973
28974 fi
28975 fi
28976
28977
28978
28979
28980
28981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28982 $as_echo_n "checking for atan2f declaration... " >&6; }
28983 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28984 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28985 $as_echo_n "(cached) " >&6
28986 else
28987
28988
28989 ac_ext=cpp
28990 ac_cpp='$CXXCPP $CPPFLAGS'
28991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28994
28995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28996 /* end confdefs.h. */
28997 #include <math.h>
28998 int
28999 main ()
29000 {
29001 atan2f(0, 0);
29002 ;
29003 return 0;
29004 }
29005 _ACEOF
29006 if ac_fn_cxx_try_compile "$LINENO"; then :
29007 glibcxx_cv_func_atan2f_use=yes
29008 else
29009 glibcxx_cv_func_atan2f_use=no
29010 fi
29011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29012 ac_ext=c
29013 ac_cpp='$CPP $CPPFLAGS'
29014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29017
29018
29019 fi
29020
29021 fi
29022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29023 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29024
29025 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29026 for ac_func in atan2f
29027 do :
29028 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29029 if test "x$ac_cv_func_atan2f" = x""yes; then :
29030 cat >>confdefs.h <<_ACEOF
29031 #define HAVE_ATAN2F 1
29032 _ACEOF
29033
29034 fi
29035 done
29036
29037 else
29038
29039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29040 $as_echo_n "checking for _atan2f declaration... " >&6; }
29041 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29042 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29043 $as_echo_n "(cached) " >&6
29044 else
29045
29046
29047 ac_ext=cpp
29048 ac_cpp='$CXXCPP $CPPFLAGS'
29049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29052
29053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29054 /* end confdefs.h. */
29055 #include <math.h>
29056 int
29057 main ()
29058 {
29059 _atan2f(0, 0);
29060 ;
29061 return 0;
29062 }
29063 _ACEOF
29064 if ac_fn_cxx_try_compile "$LINENO"; then :
29065 glibcxx_cv_func__atan2f_use=yes
29066 else
29067 glibcxx_cv_func__atan2f_use=no
29068 fi
29069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29070 ac_ext=c
29071 ac_cpp='$CPP $CPPFLAGS'
29072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29075
29076
29077 fi
29078
29079 fi
29080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29081 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29082
29083 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29084 for ac_func in _atan2f
29085 do :
29086 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29087 if test "x$ac_cv_func__atan2f" = x""yes; then :
29088 cat >>confdefs.h <<_ACEOF
29089 #define HAVE__ATAN2F 1
29090 _ACEOF
29091
29092 fi
29093 done
29094
29095 fi
29096 fi
29097
29098
29099
29100
29101
29102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29103 $as_echo_n "checking for fabsf declaration... " >&6; }
29104 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29105 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29106 $as_echo_n "(cached) " >&6
29107 else
29108
29109
29110 ac_ext=cpp
29111 ac_cpp='$CXXCPP $CPPFLAGS'
29112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29115
29116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29117 /* end confdefs.h. */
29118 #include <math.h>
29119 #ifdef HAVE_IEEEFP_H
29120 #include <ieeefp.h>
29121 #endif
29122
29123 int
29124 main ()
29125 {
29126 fabsf(0);
29127 ;
29128 return 0;
29129 }
29130 _ACEOF
29131 if ac_fn_cxx_try_compile "$LINENO"; then :
29132 glibcxx_cv_func_fabsf_use=yes
29133 else
29134 glibcxx_cv_func_fabsf_use=no
29135 fi
29136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29137 ac_ext=c
29138 ac_cpp='$CPP $CPPFLAGS'
29139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29142
29143
29144 fi
29145
29146 fi
29147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29148 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29149
29150 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29151 for ac_func in fabsf
29152 do :
29153 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29154 if test "x$ac_cv_func_fabsf" = x""yes; then :
29155 cat >>confdefs.h <<_ACEOF
29156 #define HAVE_FABSF 1
29157 _ACEOF
29158
29159 fi
29160 done
29161
29162 else
29163
29164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29165 $as_echo_n "checking for _fabsf declaration... " >&6; }
29166 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29167 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29168 $as_echo_n "(cached) " >&6
29169 else
29170
29171
29172 ac_ext=cpp
29173 ac_cpp='$CXXCPP $CPPFLAGS'
29174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29177
29178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29179 /* end confdefs.h. */
29180 #include <math.h>
29181 #ifdef HAVE_IEEEFP_H
29182 #include <ieeefp.h>
29183 #endif
29184
29185 int
29186 main ()
29187 {
29188 _fabsf(0);
29189 ;
29190 return 0;
29191 }
29192 _ACEOF
29193 if ac_fn_cxx_try_compile "$LINENO"; then :
29194 glibcxx_cv_func__fabsf_use=yes
29195 else
29196 glibcxx_cv_func__fabsf_use=no
29197 fi
29198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29199 ac_ext=c
29200 ac_cpp='$CPP $CPPFLAGS'
29201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29204
29205
29206 fi
29207
29208 fi
29209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29210 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29211
29212 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29213 for ac_func in _fabsf
29214 do :
29215 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29216 if test "x$ac_cv_func__fabsf" = x""yes; then :
29217 cat >>confdefs.h <<_ACEOF
29218 #define HAVE__FABSF 1
29219 _ACEOF
29220
29221 fi
29222 done
29223
29224 fi
29225 fi
29226
29227
29228
29229
29230
29231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29232 $as_echo_n "checking for fmodf declaration... " >&6; }
29233 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29234 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29235 $as_echo_n "(cached) " >&6
29236 else
29237
29238
29239 ac_ext=cpp
29240 ac_cpp='$CXXCPP $CPPFLAGS'
29241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29244
29245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29246 /* end confdefs.h. */
29247 #include <math.h>
29248 int
29249 main ()
29250 {
29251 fmodf(0, 0);
29252 ;
29253 return 0;
29254 }
29255 _ACEOF
29256 if ac_fn_cxx_try_compile "$LINENO"; then :
29257 glibcxx_cv_func_fmodf_use=yes
29258 else
29259 glibcxx_cv_func_fmodf_use=no
29260 fi
29261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29262 ac_ext=c
29263 ac_cpp='$CPP $CPPFLAGS'
29264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29267
29268
29269 fi
29270
29271 fi
29272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29273 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29274
29275 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29276 for ac_func in fmodf
29277 do :
29278 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29279 if test "x$ac_cv_func_fmodf" = x""yes; then :
29280 cat >>confdefs.h <<_ACEOF
29281 #define HAVE_FMODF 1
29282 _ACEOF
29283
29284 fi
29285 done
29286
29287 else
29288
29289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29290 $as_echo_n "checking for _fmodf declaration... " >&6; }
29291 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29292 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29293 $as_echo_n "(cached) " >&6
29294 else
29295
29296
29297 ac_ext=cpp
29298 ac_cpp='$CXXCPP $CPPFLAGS'
29299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29302
29303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29304 /* end confdefs.h. */
29305 #include <math.h>
29306 int
29307 main ()
29308 {
29309 _fmodf(0, 0);
29310 ;
29311 return 0;
29312 }
29313 _ACEOF
29314 if ac_fn_cxx_try_compile "$LINENO"; then :
29315 glibcxx_cv_func__fmodf_use=yes
29316 else
29317 glibcxx_cv_func__fmodf_use=no
29318 fi
29319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29320 ac_ext=c
29321 ac_cpp='$CPP $CPPFLAGS'
29322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29325
29326
29327 fi
29328
29329 fi
29330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29331 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29332
29333 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29334 for ac_func in _fmodf
29335 do :
29336 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29337 if test "x$ac_cv_func__fmodf" = x""yes; then :
29338 cat >>confdefs.h <<_ACEOF
29339 #define HAVE__FMODF 1
29340 _ACEOF
29341
29342 fi
29343 done
29344
29345 fi
29346 fi
29347
29348
29349
29350
29351
29352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29353 $as_echo_n "checking for frexpf declaration... " >&6; }
29354 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29355 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29356 $as_echo_n "(cached) " >&6
29357 else
29358
29359
29360 ac_ext=cpp
29361 ac_cpp='$CXXCPP $CPPFLAGS'
29362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29365
29366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29367 /* end confdefs.h. */
29368 #include <math.h>
29369 int
29370 main ()
29371 {
29372 frexpf(0, 0);
29373 ;
29374 return 0;
29375 }
29376 _ACEOF
29377 if ac_fn_cxx_try_compile "$LINENO"; then :
29378 glibcxx_cv_func_frexpf_use=yes
29379 else
29380 glibcxx_cv_func_frexpf_use=no
29381 fi
29382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29383 ac_ext=c
29384 ac_cpp='$CPP $CPPFLAGS'
29385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29388
29389
29390 fi
29391
29392 fi
29393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29394 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29395
29396 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29397 for ac_func in frexpf
29398 do :
29399 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29400 if test "x$ac_cv_func_frexpf" = x""yes; then :
29401 cat >>confdefs.h <<_ACEOF
29402 #define HAVE_FREXPF 1
29403 _ACEOF
29404
29405 fi
29406 done
29407
29408 else
29409
29410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29411 $as_echo_n "checking for _frexpf declaration... " >&6; }
29412 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29413 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29414 $as_echo_n "(cached) " >&6
29415 else
29416
29417
29418 ac_ext=cpp
29419 ac_cpp='$CXXCPP $CPPFLAGS'
29420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29423
29424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29425 /* end confdefs.h. */
29426 #include <math.h>
29427 int
29428 main ()
29429 {
29430 _frexpf(0, 0);
29431 ;
29432 return 0;
29433 }
29434 _ACEOF
29435 if ac_fn_cxx_try_compile "$LINENO"; then :
29436 glibcxx_cv_func__frexpf_use=yes
29437 else
29438 glibcxx_cv_func__frexpf_use=no
29439 fi
29440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29441 ac_ext=c
29442 ac_cpp='$CPP $CPPFLAGS'
29443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29446
29447
29448 fi
29449
29450 fi
29451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29452 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29453
29454 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29455 for ac_func in _frexpf
29456 do :
29457 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29458 if test "x$ac_cv_func__frexpf" = x""yes; then :
29459 cat >>confdefs.h <<_ACEOF
29460 #define HAVE__FREXPF 1
29461 _ACEOF
29462
29463 fi
29464 done
29465
29466 fi
29467 fi
29468
29469
29470
29471
29472
29473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29474 $as_echo_n "checking for hypotf declaration... " >&6; }
29475 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29476 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29477 $as_echo_n "(cached) " >&6
29478 else
29479
29480
29481 ac_ext=cpp
29482 ac_cpp='$CXXCPP $CPPFLAGS'
29483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29486
29487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29488 /* end confdefs.h. */
29489 #include <math.h>
29490 int
29491 main ()
29492 {
29493 hypotf(0, 0);
29494 ;
29495 return 0;
29496 }
29497 _ACEOF
29498 if ac_fn_cxx_try_compile "$LINENO"; then :
29499 glibcxx_cv_func_hypotf_use=yes
29500 else
29501 glibcxx_cv_func_hypotf_use=no
29502 fi
29503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29504 ac_ext=c
29505 ac_cpp='$CPP $CPPFLAGS'
29506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29509
29510
29511 fi
29512
29513 fi
29514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29515 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29516
29517 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29518 for ac_func in hypotf
29519 do :
29520 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29521 if test "x$ac_cv_func_hypotf" = x""yes; then :
29522 cat >>confdefs.h <<_ACEOF
29523 #define HAVE_HYPOTF 1
29524 _ACEOF
29525
29526 fi
29527 done
29528
29529 else
29530
29531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29532 $as_echo_n "checking for _hypotf declaration... " >&6; }
29533 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29534 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29535 $as_echo_n "(cached) " >&6
29536 else
29537
29538
29539 ac_ext=cpp
29540 ac_cpp='$CXXCPP $CPPFLAGS'
29541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29544
29545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29546 /* end confdefs.h. */
29547 #include <math.h>
29548 int
29549 main ()
29550 {
29551 _hypotf(0, 0);
29552 ;
29553 return 0;
29554 }
29555 _ACEOF
29556 if ac_fn_cxx_try_compile "$LINENO"; then :
29557 glibcxx_cv_func__hypotf_use=yes
29558 else
29559 glibcxx_cv_func__hypotf_use=no
29560 fi
29561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29562 ac_ext=c
29563 ac_cpp='$CPP $CPPFLAGS'
29564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29567
29568
29569 fi
29570
29571 fi
29572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29573 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29574
29575 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29576 for ac_func in _hypotf
29577 do :
29578 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29579 if test "x$ac_cv_func__hypotf" = x""yes; then :
29580 cat >>confdefs.h <<_ACEOF
29581 #define HAVE__HYPOTF 1
29582 _ACEOF
29583
29584 fi
29585 done
29586
29587 fi
29588 fi
29589
29590
29591
29592
29593
29594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29595 $as_echo_n "checking for ldexpf declaration... " >&6; }
29596 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29597 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29598 $as_echo_n "(cached) " >&6
29599 else
29600
29601
29602 ac_ext=cpp
29603 ac_cpp='$CXXCPP $CPPFLAGS'
29604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29607
29608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29609 /* end confdefs.h. */
29610 #include <math.h>
29611 int
29612 main ()
29613 {
29614 ldexpf(0, 0);
29615 ;
29616 return 0;
29617 }
29618 _ACEOF
29619 if ac_fn_cxx_try_compile "$LINENO"; then :
29620 glibcxx_cv_func_ldexpf_use=yes
29621 else
29622 glibcxx_cv_func_ldexpf_use=no
29623 fi
29624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29625 ac_ext=c
29626 ac_cpp='$CPP $CPPFLAGS'
29627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29630
29631
29632 fi
29633
29634 fi
29635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29636 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29637
29638 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29639 for ac_func in ldexpf
29640 do :
29641 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29642 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29643 cat >>confdefs.h <<_ACEOF
29644 #define HAVE_LDEXPF 1
29645 _ACEOF
29646
29647 fi
29648 done
29649
29650 else
29651
29652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29653 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29654 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29655 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29656 $as_echo_n "(cached) " >&6
29657 else
29658
29659
29660 ac_ext=cpp
29661 ac_cpp='$CXXCPP $CPPFLAGS'
29662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29665
29666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29667 /* end confdefs.h. */
29668 #include <math.h>
29669 int
29670 main ()
29671 {
29672 _ldexpf(0, 0);
29673 ;
29674 return 0;
29675 }
29676 _ACEOF
29677 if ac_fn_cxx_try_compile "$LINENO"; then :
29678 glibcxx_cv_func__ldexpf_use=yes
29679 else
29680 glibcxx_cv_func__ldexpf_use=no
29681 fi
29682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29683 ac_ext=c
29684 ac_cpp='$CPP $CPPFLAGS'
29685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29688
29689
29690 fi
29691
29692 fi
29693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29694 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29695
29696 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29697 for ac_func in _ldexpf
29698 do :
29699 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29700 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29701 cat >>confdefs.h <<_ACEOF
29702 #define HAVE__LDEXPF 1
29703 _ACEOF
29704
29705 fi
29706 done
29707
29708 fi
29709 fi
29710
29711
29712
29713
29714
29715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29716 $as_echo_n "checking for logf declaration... " >&6; }
29717 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29718 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29719 $as_echo_n "(cached) " >&6
29720 else
29721
29722
29723 ac_ext=cpp
29724 ac_cpp='$CXXCPP $CPPFLAGS'
29725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29728
29729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29730 /* end confdefs.h. */
29731 #include <math.h>
29732 #ifdef HAVE_IEEEFP_H
29733 #include <ieeefp.h>
29734 #endif
29735
29736 int
29737 main ()
29738 {
29739 logf(0);
29740 ;
29741 return 0;
29742 }
29743 _ACEOF
29744 if ac_fn_cxx_try_compile "$LINENO"; then :
29745 glibcxx_cv_func_logf_use=yes
29746 else
29747 glibcxx_cv_func_logf_use=no
29748 fi
29749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29750 ac_ext=c
29751 ac_cpp='$CPP $CPPFLAGS'
29752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29755
29756
29757 fi
29758
29759 fi
29760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29761 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29762
29763 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29764 for ac_func in logf
29765 do :
29766 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29767 if test "x$ac_cv_func_logf" = x""yes; then :
29768 cat >>confdefs.h <<_ACEOF
29769 #define HAVE_LOGF 1
29770 _ACEOF
29771
29772 fi
29773 done
29774
29775 else
29776
29777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29778 $as_echo_n "checking for _logf declaration... " >&6; }
29779 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29780 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29781 $as_echo_n "(cached) " >&6
29782 else
29783
29784
29785 ac_ext=cpp
29786 ac_cpp='$CXXCPP $CPPFLAGS'
29787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29790
29791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29792 /* end confdefs.h. */
29793 #include <math.h>
29794 #ifdef HAVE_IEEEFP_H
29795 #include <ieeefp.h>
29796 #endif
29797
29798 int
29799 main ()
29800 {
29801 _logf(0);
29802 ;
29803 return 0;
29804 }
29805 _ACEOF
29806 if ac_fn_cxx_try_compile "$LINENO"; then :
29807 glibcxx_cv_func__logf_use=yes
29808 else
29809 glibcxx_cv_func__logf_use=no
29810 fi
29811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29812 ac_ext=c
29813 ac_cpp='$CPP $CPPFLAGS'
29814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29817
29818
29819 fi
29820
29821 fi
29822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29823 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29824
29825 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29826 for ac_func in _logf
29827 do :
29828 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29829 if test "x$ac_cv_func__logf" = x""yes; then :
29830 cat >>confdefs.h <<_ACEOF
29831 #define HAVE__LOGF 1
29832 _ACEOF
29833
29834 fi
29835 done
29836
29837 fi
29838 fi
29839
29840
29841
29842
29843
29844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29845 $as_echo_n "checking for log10f declaration... " >&6; }
29846 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29847 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29848 $as_echo_n "(cached) " >&6
29849 else
29850
29851
29852 ac_ext=cpp
29853 ac_cpp='$CXXCPP $CPPFLAGS'
29854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29857
29858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29859 /* end confdefs.h. */
29860 #include <math.h>
29861 #ifdef HAVE_IEEEFP_H
29862 #include <ieeefp.h>
29863 #endif
29864
29865 int
29866 main ()
29867 {
29868 log10f(0);
29869 ;
29870 return 0;
29871 }
29872 _ACEOF
29873 if ac_fn_cxx_try_compile "$LINENO"; then :
29874 glibcxx_cv_func_log10f_use=yes
29875 else
29876 glibcxx_cv_func_log10f_use=no
29877 fi
29878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29879 ac_ext=c
29880 ac_cpp='$CPP $CPPFLAGS'
29881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29884
29885
29886 fi
29887
29888 fi
29889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29890 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29891
29892 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29893 for ac_func in log10f
29894 do :
29895 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29896 if test "x$ac_cv_func_log10f" = x""yes; then :
29897 cat >>confdefs.h <<_ACEOF
29898 #define HAVE_LOG10F 1
29899 _ACEOF
29900
29901 fi
29902 done
29903
29904 else
29905
29906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29907 $as_echo_n "checking for _log10f declaration... " >&6; }
29908 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29909 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29910 $as_echo_n "(cached) " >&6
29911 else
29912
29913
29914 ac_ext=cpp
29915 ac_cpp='$CXXCPP $CPPFLAGS'
29916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29919
29920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29921 /* end confdefs.h. */
29922 #include <math.h>
29923 #ifdef HAVE_IEEEFP_H
29924 #include <ieeefp.h>
29925 #endif
29926
29927 int
29928 main ()
29929 {
29930 _log10f(0);
29931 ;
29932 return 0;
29933 }
29934 _ACEOF
29935 if ac_fn_cxx_try_compile "$LINENO"; then :
29936 glibcxx_cv_func__log10f_use=yes
29937 else
29938 glibcxx_cv_func__log10f_use=no
29939 fi
29940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29941 ac_ext=c
29942 ac_cpp='$CPP $CPPFLAGS'
29943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29946
29947
29948 fi
29949
29950 fi
29951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29952 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29953
29954 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29955 for ac_func in _log10f
29956 do :
29957 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29958 if test "x$ac_cv_func__log10f" = x""yes; then :
29959 cat >>confdefs.h <<_ACEOF
29960 #define HAVE__LOG10F 1
29961 _ACEOF
29962
29963 fi
29964 done
29965
29966 fi
29967 fi
29968
29969
29970
29971
29972
29973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29974 $as_echo_n "checking for modff declaration... " >&6; }
29975 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29976 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29977 $as_echo_n "(cached) " >&6
29978 else
29979
29980
29981 ac_ext=cpp
29982 ac_cpp='$CXXCPP $CPPFLAGS'
29983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29986
29987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29988 /* end confdefs.h. */
29989 #include <math.h>
29990 int
29991 main ()
29992 {
29993 modff(0, 0);
29994 ;
29995 return 0;
29996 }
29997 _ACEOF
29998 if ac_fn_cxx_try_compile "$LINENO"; then :
29999 glibcxx_cv_func_modff_use=yes
30000 else
30001 glibcxx_cv_func_modff_use=no
30002 fi
30003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30004 ac_ext=c
30005 ac_cpp='$CPP $CPPFLAGS'
30006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30009
30010
30011 fi
30012
30013 fi
30014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30015 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30016
30017 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30018 for ac_func in modff
30019 do :
30020 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30021 if test "x$ac_cv_func_modff" = x""yes; then :
30022 cat >>confdefs.h <<_ACEOF
30023 #define HAVE_MODFF 1
30024 _ACEOF
30025
30026 fi
30027 done
30028
30029 else
30030
30031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30032 $as_echo_n "checking for _modff declaration... " >&6; }
30033 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30034 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30035 $as_echo_n "(cached) " >&6
30036 else
30037
30038
30039 ac_ext=cpp
30040 ac_cpp='$CXXCPP $CPPFLAGS'
30041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30044
30045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30046 /* end confdefs.h. */
30047 #include <math.h>
30048 int
30049 main ()
30050 {
30051 _modff(0, 0);
30052 ;
30053 return 0;
30054 }
30055 _ACEOF
30056 if ac_fn_cxx_try_compile "$LINENO"; then :
30057 glibcxx_cv_func__modff_use=yes
30058 else
30059 glibcxx_cv_func__modff_use=no
30060 fi
30061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30062 ac_ext=c
30063 ac_cpp='$CPP $CPPFLAGS'
30064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30067
30068
30069 fi
30070
30071 fi
30072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30073 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30074
30075 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30076 for ac_func in _modff
30077 do :
30078 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30079 if test "x$ac_cv_func__modff" = x""yes; then :
30080 cat >>confdefs.h <<_ACEOF
30081 #define HAVE__MODFF 1
30082 _ACEOF
30083
30084 fi
30085 done
30086
30087 fi
30088 fi
30089
30090
30091
30092
30093
30094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30095 $as_echo_n "checking for modf declaration... " >&6; }
30096 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30097 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30098 $as_echo_n "(cached) " >&6
30099 else
30100
30101
30102 ac_ext=cpp
30103 ac_cpp='$CXXCPP $CPPFLAGS'
30104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30107
30108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30109 /* end confdefs.h. */
30110 #include <math.h>
30111 int
30112 main ()
30113 {
30114 modf(0, 0);
30115 ;
30116 return 0;
30117 }
30118 _ACEOF
30119 if ac_fn_cxx_try_compile "$LINENO"; then :
30120 glibcxx_cv_func_modf_use=yes
30121 else
30122 glibcxx_cv_func_modf_use=no
30123 fi
30124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30125 ac_ext=c
30126 ac_cpp='$CPP $CPPFLAGS'
30127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30130
30131
30132 fi
30133
30134 fi
30135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30136 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30137
30138 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30139 for ac_func in modf
30140 do :
30141 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30142 if test "x$ac_cv_func_modf" = x""yes; then :
30143 cat >>confdefs.h <<_ACEOF
30144 #define HAVE_MODF 1
30145 _ACEOF
30146
30147 fi
30148 done
30149
30150 else
30151
30152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30153 $as_echo_n "checking for _modf declaration... " >&6; }
30154 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30155 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30156 $as_echo_n "(cached) " >&6
30157 else
30158
30159
30160 ac_ext=cpp
30161 ac_cpp='$CXXCPP $CPPFLAGS'
30162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30165
30166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30167 /* end confdefs.h. */
30168 #include <math.h>
30169 int
30170 main ()
30171 {
30172 _modf(0, 0);
30173 ;
30174 return 0;
30175 }
30176 _ACEOF
30177 if ac_fn_cxx_try_compile "$LINENO"; then :
30178 glibcxx_cv_func__modf_use=yes
30179 else
30180 glibcxx_cv_func__modf_use=no
30181 fi
30182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30183 ac_ext=c
30184 ac_cpp='$CPP $CPPFLAGS'
30185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30188
30189
30190 fi
30191
30192 fi
30193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30194 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30195
30196 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30197 for ac_func in _modf
30198 do :
30199 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30200 if test "x$ac_cv_func__modf" = x""yes; then :
30201 cat >>confdefs.h <<_ACEOF
30202 #define HAVE__MODF 1
30203 _ACEOF
30204
30205 fi
30206 done
30207
30208 fi
30209 fi
30210
30211
30212
30213
30214
30215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30216 $as_echo_n "checking for powf declaration... " >&6; }
30217 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30218 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30219 $as_echo_n "(cached) " >&6
30220 else
30221
30222
30223 ac_ext=cpp
30224 ac_cpp='$CXXCPP $CPPFLAGS'
30225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30228
30229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30230 /* end confdefs.h. */
30231 #include <math.h>
30232 int
30233 main ()
30234 {
30235 powf(0, 0);
30236 ;
30237 return 0;
30238 }
30239 _ACEOF
30240 if ac_fn_cxx_try_compile "$LINENO"; then :
30241 glibcxx_cv_func_powf_use=yes
30242 else
30243 glibcxx_cv_func_powf_use=no
30244 fi
30245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30246 ac_ext=c
30247 ac_cpp='$CPP $CPPFLAGS'
30248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30251
30252
30253 fi
30254
30255 fi
30256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30257 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30258
30259 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30260 for ac_func in powf
30261 do :
30262 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30263 if test "x$ac_cv_func_powf" = x""yes; then :
30264 cat >>confdefs.h <<_ACEOF
30265 #define HAVE_POWF 1
30266 _ACEOF
30267
30268 fi
30269 done
30270
30271 else
30272
30273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30274 $as_echo_n "checking for _powf declaration... " >&6; }
30275 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30276 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30277 $as_echo_n "(cached) " >&6
30278 else
30279
30280
30281 ac_ext=cpp
30282 ac_cpp='$CXXCPP $CPPFLAGS'
30283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30286
30287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30288 /* end confdefs.h. */
30289 #include <math.h>
30290 int
30291 main ()
30292 {
30293 _powf(0, 0);
30294 ;
30295 return 0;
30296 }
30297 _ACEOF
30298 if ac_fn_cxx_try_compile "$LINENO"; then :
30299 glibcxx_cv_func__powf_use=yes
30300 else
30301 glibcxx_cv_func__powf_use=no
30302 fi
30303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30304 ac_ext=c
30305 ac_cpp='$CPP $CPPFLAGS'
30306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30309
30310
30311 fi
30312
30313 fi
30314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30315 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30316
30317 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30318 for ac_func in _powf
30319 do :
30320 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30321 if test "x$ac_cv_func__powf" = x""yes; then :
30322 cat >>confdefs.h <<_ACEOF
30323 #define HAVE__POWF 1
30324 _ACEOF
30325
30326 fi
30327 done
30328
30329 fi
30330 fi
30331
30332
30333
30334
30335
30336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30337 $as_echo_n "checking for sqrtf declaration... " >&6; }
30338 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30339 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30340 $as_echo_n "(cached) " >&6
30341 else
30342
30343
30344 ac_ext=cpp
30345 ac_cpp='$CXXCPP $CPPFLAGS'
30346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30349
30350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30351 /* end confdefs.h. */
30352 #include <math.h>
30353 #ifdef HAVE_IEEEFP_H
30354 #include <ieeefp.h>
30355 #endif
30356
30357 int
30358 main ()
30359 {
30360 sqrtf(0);
30361 ;
30362 return 0;
30363 }
30364 _ACEOF
30365 if ac_fn_cxx_try_compile "$LINENO"; then :
30366 glibcxx_cv_func_sqrtf_use=yes
30367 else
30368 glibcxx_cv_func_sqrtf_use=no
30369 fi
30370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30371 ac_ext=c
30372 ac_cpp='$CPP $CPPFLAGS'
30373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30376
30377
30378 fi
30379
30380 fi
30381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30382 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30383
30384 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30385 for ac_func in sqrtf
30386 do :
30387 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30388 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30389 cat >>confdefs.h <<_ACEOF
30390 #define HAVE_SQRTF 1
30391 _ACEOF
30392
30393 fi
30394 done
30395
30396 else
30397
30398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30399 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30400 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30401 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30402 $as_echo_n "(cached) " >&6
30403 else
30404
30405
30406 ac_ext=cpp
30407 ac_cpp='$CXXCPP $CPPFLAGS'
30408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30411
30412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30413 /* end confdefs.h. */
30414 #include <math.h>
30415 #ifdef HAVE_IEEEFP_H
30416 #include <ieeefp.h>
30417 #endif
30418
30419 int
30420 main ()
30421 {
30422 _sqrtf(0);
30423 ;
30424 return 0;
30425 }
30426 _ACEOF
30427 if ac_fn_cxx_try_compile "$LINENO"; then :
30428 glibcxx_cv_func__sqrtf_use=yes
30429 else
30430 glibcxx_cv_func__sqrtf_use=no
30431 fi
30432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30433 ac_ext=c
30434 ac_cpp='$CPP $CPPFLAGS'
30435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30438
30439
30440 fi
30441
30442 fi
30443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30444 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30445
30446 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30447 for ac_func in _sqrtf
30448 do :
30449 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30450 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30451 cat >>confdefs.h <<_ACEOF
30452 #define HAVE__SQRTF 1
30453 _ACEOF
30454
30455 fi
30456 done
30457
30458 fi
30459 fi
30460
30461
30462
30463
30464
30465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30466 $as_echo_n "checking for sincosf declaration... " >&6; }
30467 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30468 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30469 $as_echo_n "(cached) " >&6
30470 else
30471
30472
30473 ac_ext=cpp
30474 ac_cpp='$CXXCPP $CPPFLAGS'
30475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30478
30479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30480 /* end confdefs.h. */
30481 #include <math.h>
30482 int
30483 main ()
30484 {
30485 sincosf(0, 0, 0);
30486 ;
30487 return 0;
30488 }
30489 _ACEOF
30490 if ac_fn_cxx_try_compile "$LINENO"; then :
30491 glibcxx_cv_func_sincosf_use=yes
30492 else
30493 glibcxx_cv_func_sincosf_use=no
30494 fi
30495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30496 ac_ext=c
30497 ac_cpp='$CPP $CPPFLAGS'
30498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30501
30502
30503 fi
30504
30505 fi
30506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30507 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30508
30509 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30510 for ac_func in sincosf
30511 do :
30512 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30513 if test "x$ac_cv_func_sincosf" = x""yes; then :
30514 cat >>confdefs.h <<_ACEOF
30515 #define HAVE_SINCOSF 1
30516 _ACEOF
30517
30518 fi
30519 done
30520
30521 else
30522
30523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30524 $as_echo_n "checking for _sincosf declaration... " >&6; }
30525 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30526 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30527 $as_echo_n "(cached) " >&6
30528 else
30529
30530
30531 ac_ext=cpp
30532 ac_cpp='$CXXCPP $CPPFLAGS'
30533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30536
30537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30538 /* end confdefs.h. */
30539 #include <math.h>
30540 int
30541 main ()
30542 {
30543 _sincosf(0, 0, 0);
30544 ;
30545 return 0;
30546 }
30547 _ACEOF
30548 if ac_fn_cxx_try_compile "$LINENO"; then :
30549 glibcxx_cv_func__sincosf_use=yes
30550 else
30551 glibcxx_cv_func__sincosf_use=no
30552 fi
30553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30554 ac_ext=c
30555 ac_cpp='$CPP $CPPFLAGS'
30556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30559
30560
30561 fi
30562
30563 fi
30564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30565 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30566
30567 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30568 for ac_func in _sincosf
30569 do :
30570 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30571 if test "x$ac_cv_func__sincosf" = x""yes; then :
30572 cat >>confdefs.h <<_ACEOF
30573 #define HAVE__SINCOSF 1
30574 _ACEOF
30575
30576 fi
30577 done
30578
30579 fi
30580 fi
30581
30582
30583
30584
30585
30586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30587 $as_echo_n "checking for finitef declaration... " >&6; }
30588 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30589 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30590 $as_echo_n "(cached) " >&6
30591 else
30592
30593
30594 ac_ext=cpp
30595 ac_cpp='$CXXCPP $CPPFLAGS'
30596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30599
30600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30601 /* end confdefs.h. */
30602 #include <math.h>
30603 #ifdef HAVE_IEEEFP_H
30604 #include <ieeefp.h>
30605 #endif
30606
30607 int
30608 main ()
30609 {
30610 finitef(0);
30611 ;
30612 return 0;
30613 }
30614 _ACEOF
30615 if ac_fn_cxx_try_compile "$LINENO"; then :
30616 glibcxx_cv_func_finitef_use=yes
30617 else
30618 glibcxx_cv_func_finitef_use=no
30619 fi
30620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30621 ac_ext=c
30622 ac_cpp='$CPP $CPPFLAGS'
30623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30626
30627
30628 fi
30629
30630 fi
30631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30632 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30633
30634 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30635 for ac_func in finitef
30636 do :
30637 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30638 if test "x$ac_cv_func_finitef" = x""yes; then :
30639 cat >>confdefs.h <<_ACEOF
30640 #define HAVE_FINITEF 1
30641 _ACEOF
30642
30643 fi
30644 done
30645
30646 else
30647
30648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30649 $as_echo_n "checking for _finitef declaration... " >&6; }
30650 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30651 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30652 $as_echo_n "(cached) " >&6
30653 else
30654
30655
30656 ac_ext=cpp
30657 ac_cpp='$CXXCPP $CPPFLAGS'
30658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30661
30662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30663 /* end confdefs.h. */
30664 #include <math.h>
30665 #ifdef HAVE_IEEEFP_H
30666 #include <ieeefp.h>
30667 #endif
30668
30669 int
30670 main ()
30671 {
30672 _finitef(0);
30673 ;
30674 return 0;
30675 }
30676 _ACEOF
30677 if ac_fn_cxx_try_compile "$LINENO"; then :
30678 glibcxx_cv_func__finitef_use=yes
30679 else
30680 glibcxx_cv_func__finitef_use=no
30681 fi
30682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30683 ac_ext=c
30684 ac_cpp='$CPP $CPPFLAGS'
30685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30688
30689
30690 fi
30691
30692 fi
30693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30694 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30695
30696 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30697 for ac_func in _finitef
30698 do :
30699 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30700 if test "x$ac_cv_func__finitef" = x""yes; then :
30701 cat >>confdefs.h <<_ACEOF
30702 #define HAVE__FINITEF 1
30703 _ACEOF
30704
30705 fi
30706 done
30707
30708 fi
30709 fi
30710
30711
30712
30713
30714
30715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30716 $as_echo_n "checking for long double trig functions... " >&6; }
30717 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30718 $as_echo_n "(cached) " >&6
30719 else
30720
30721
30722 ac_ext=cpp
30723 ac_cpp='$CXXCPP $CPPFLAGS'
30724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30727
30728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30729 /* end confdefs.h. */
30730 #include <math.h>
30731 int
30732 main ()
30733 {
30734 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30735 ;
30736 return 0;
30737 }
30738 _ACEOF
30739 if ac_fn_cxx_try_compile "$LINENO"; then :
30740 glibcxx_cv_func_long_double_trig_use=yes
30741 else
30742 glibcxx_cv_func_long_double_trig_use=no
30743 fi
30744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30745 ac_ext=c
30746 ac_cpp='$CPP $CPPFLAGS'
30747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30750
30751 fi
30752
30753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30754 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30755 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30756 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30757 do :
30758 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30759 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30760 eval as_val=\$$as_ac_var
30761 if test "x$as_val" = x""yes; then :
30762 cat >>confdefs.h <<_ACEOF
30763 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30764 _ACEOF
30765
30766 fi
30767 done
30768
30769 else
30770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30771 $as_echo_n "checking for _long double trig functions... " >&6; }
30772 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30773 $as_echo_n "(cached) " >&6
30774 else
30775
30776
30777 ac_ext=cpp
30778 ac_cpp='$CXXCPP $CPPFLAGS'
30779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30782
30783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30784 /* end confdefs.h. */
30785 #include <math.h>
30786 int
30787 main ()
30788 {
30789 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30790 ;
30791 return 0;
30792 }
30793 _ACEOF
30794 if ac_fn_cxx_try_compile "$LINENO"; then :
30795 glibcxx_cv_func__long_double_trig_use=yes
30796 else
30797 glibcxx_cv_func__long_double_trig_use=no
30798 fi
30799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30800 ac_ext=c
30801 ac_cpp='$CPP $CPPFLAGS'
30802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30805
30806 fi
30807
30808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30809 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30810 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30811 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30812 do :
30813 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30814 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30815 eval as_val=\$$as_ac_var
30816 if test "x$as_val" = x""yes; then :
30817 cat >>confdefs.h <<_ACEOF
30818 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30819 _ACEOF
30820
30821 fi
30822 done
30823
30824 fi
30825 fi
30826
30827
30828
30829
30830
30831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30832 $as_echo_n "checking for long double round functions... " >&6; }
30833 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30834 $as_echo_n "(cached) " >&6
30835 else
30836
30837
30838 ac_ext=cpp
30839 ac_cpp='$CXXCPP $CPPFLAGS'
30840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30843
30844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30845 /* end confdefs.h. */
30846 #include <math.h>
30847 int
30848 main ()
30849 {
30850 ceill (0); floorl (0);
30851 ;
30852 return 0;
30853 }
30854 _ACEOF
30855 if ac_fn_cxx_try_compile "$LINENO"; then :
30856 glibcxx_cv_func_long_double_round_use=yes
30857 else
30858 glibcxx_cv_func_long_double_round_use=no
30859 fi
30860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30861 ac_ext=c
30862 ac_cpp='$CPP $CPPFLAGS'
30863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30866
30867 fi
30868
30869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30870 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30871 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30872 for ac_func in ceill floorl
30873 do :
30874 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30875 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30876 eval as_val=\$$as_ac_var
30877 if test "x$as_val" = x""yes; then :
30878 cat >>confdefs.h <<_ACEOF
30879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30880 _ACEOF
30881
30882 fi
30883 done
30884
30885 else
30886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30887 $as_echo_n "checking for _long double round functions... " >&6; }
30888 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30889 $as_echo_n "(cached) " >&6
30890 else
30891
30892
30893 ac_ext=cpp
30894 ac_cpp='$CXXCPP $CPPFLAGS'
30895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30898
30899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30900 /* end confdefs.h. */
30901 #include <math.h>
30902 int
30903 main ()
30904 {
30905 _ceill (0); _floorl (0);
30906 ;
30907 return 0;
30908 }
30909 _ACEOF
30910 if ac_fn_cxx_try_compile "$LINENO"; then :
30911 glibcxx_cv_func__long_double_round_use=yes
30912 else
30913 glibcxx_cv_func__long_double_round_use=no
30914 fi
30915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30916 ac_ext=c
30917 ac_cpp='$CPP $CPPFLAGS'
30918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30921
30922 fi
30923
30924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30925 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30926 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30927 for ac_func in _ceill _floorl
30928 do :
30929 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30930 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30931 eval as_val=\$$as_ac_var
30932 if test "x$as_val" = x""yes; then :
30933 cat >>confdefs.h <<_ACEOF
30934 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30935 _ACEOF
30936
30937 fi
30938 done
30939
30940 fi
30941 fi
30942
30943
30944
30945
30946
30947
30948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30949 $as_echo_n "checking for isnanl declaration... " >&6; }
30950 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30951 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30952 $as_echo_n "(cached) " >&6
30953 else
30954
30955
30956 ac_ext=cpp
30957 ac_cpp='$CXXCPP $CPPFLAGS'
30958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30961
30962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30963 /* end confdefs.h. */
30964 #include <math.h>
30965 #ifdef HAVE_IEEEFP_H
30966 #include <ieeefp.h>
30967 #endif
30968
30969 int
30970 main ()
30971 {
30972 isnanl(0);
30973 ;
30974 return 0;
30975 }
30976 _ACEOF
30977 if ac_fn_cxx_try_compile "$LINENO"; then :
30978 glibcxx_cv_func_isnanl_use=yes
30979 else
30980 glibcxx_cv_func_isnanl_use=no
30981 fi
30982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30983 ac_ext=c
30984 ac_cpp='$CPP $CPPFLAGS'
30985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30988
30989
30990 fi
30991
30992 fi
30993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30994 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30995
30996 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30997 for ac_func in isnanl
30998 do :
30999 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31000 if test "x$ac_cv_func_isnanl" = x""yes; then :
31001 cat >>confdefs.h <<_ACEOF
31002 #define HAVE_ISNANL 1
31003 _ACEOF
31004
31005 fi
31006 done
31007
31008 else
31009
31010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31011 $as_echo_n "checking for _isnanl declaration... " >&6; }
31012 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31013 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31014 $as_echo_n "(cached) " >&6
31015 else
31016
31017
31018 ac_ext=cpp
31019 ac_cpp='$CXXCPP $CPPFLAGS'
31020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31023
31024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31025 /* end confdefs.h. */
31026 #include <math.h>
31027 #ifdef HAVE_IEEEFP_H
31028 #include <ieeefp.h>
31029 #endif
31030
31031 int
31032 main ()
31033 {
31034 _isnanl(0);
31035 ;
31036 return 0;
31037 }
31038 _ACEOF
31039 if ac_fn_cxx_try_compile "$LINENO"; then :
31040 glibcxx_cv_func__isnanl_use=yes
31041 else
31042 glibcxx_cv_func__isnanl_use=no
31043 fi
31044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31045 ac_ext=c
31046 ac_cpp='$CPP $CPPFLAGS'
31047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31050
31051
31052 fi
31053
31054 fi
31055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31056 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31057
31058 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31059 for ac_func in _isnanl
31060 do :
31061 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31062 if test "x$ac_cv_func__isnanl" = x""yes; then :
31063 cat >>confdefs.h <<_ACEOF
31064 #define HAVE__ISNANL 1
31065 _ACEOF
31066
31067 fi
31068 done
31069
31070 fi
31071 fi
31072
31073
31074
31075
31076
31077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31078 $as_echo_n "checking for isinfl declaration... " >&6; }
31079 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31080 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31081 $as_echo_n "(cached) " >&6
31082 else
31083
31084
31085 ac_ext=cpp
31086 ac_cpp='$CXXCPP $CPPFLAGS'
31087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31090
31091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31092 /* end confdefs.h. */
31093 #include <math.h>
31094 #ifdef HAVE_IEEEFP_H
31095 #include <ieeefp.h>
31096 #endif
31097
31098 int
31099 main ()
31100 {
31101 isinfl(0);
31102 ;
31103 return 0;
31104 }
31105 _ACEOF
31106 if ac_fn_cxx_try_compile "$LINENO"; then :
31107 glibcxx_cv_func_isinfl_use=yes
31108 else
31109 glibcxx_cv_func_isinfl_use=no
31110 fi
31111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31112 ac_ext=c
31113 ac_cpp='$CPP $CPPFLAGS'
31114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31117
31118
31119 fi
31120
31121 fi
31122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31123 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31124
31125 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31126 for ac_func in isinfl
31127 do :
31128 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31129 if test "x$ac_cv_func_isinfl" = x""yes; then :
31130 cat >>confdefs.h <<_ACEOF
31131 #define HAVE_ISINFL 1
31132 _ACEOF
31133
31134 fi
31135 done
31136
31137 else
31138
31139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31140 $as_echo_n "checking for _isinfl declaration... " >&6; }
31141 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31142 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31143 $as_echo_n "(cached) " >&6
31144 else
31145
31146
31147 ac_ext=cpp
31148 ac_cpp='$CXXCPP $CPPFLAGS'
31149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31152
31153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31154 /* end confdefs.h. */
31155 #include <math.h>
31156 #ifdef HAVE_IEEEFP_H
31157 #include <ieeefp.h>
31158 #endif
31159
31160 int
31161 main ()
31162 {
31163 _isinfl(0);
31164 ;
31165 return 0;
31166 }
31167 _ACEOF
31168 if ac_fn_cxx_try_compile "$LINENO"; then :
31169 glibcxx_cv_func__isinfl_use=yes
31170 else
31171 glibcxx_cv_func__isinfl_use=no
31172 fi
31173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31174 ac_ext=c
31175 ac_cpp='$CPP $CPPFLAGS'
31176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31179
31180
31181 fi
31182
31183 fi
31184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31185 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31186
31187 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31188 for ac_func in _isinfl
31189 do :
31190 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31191 if test "x$ac_cv_func__isinfl" = x""yes; then :
31192 cat >>confdefs.h <<_ACEOF
31193 #define HAVE__ISINFL 1
31194 _ACEOF
31195
31196 fi
31197 done
31198
31199 fi
31200 fi
31201
31202
31203
31204
31205
31206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31207 $as_echo_n "checking for atan2l declaration... " >&6; }
31208 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31209 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31210 $as_echo_n "(cached) " >&6
31211 else
31212
31213
31214 ac_ext=cpp
31215 ac_cpp='$CXXCPP $CPPFLAGS'
31216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31219
31220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31221 /* end confdefs.h. */
31222 #include <math.h>
31223 int
31224 main ()
31225 {
31226 atan2l(0, 0);
31227 ;
31228 return 0;
31229 }
31230 _ACEOF
31231 if ac_fn_cxx_try_compile "$LINENO"; then :
31232 glibcxx_cv_func_atan2l_use=yes
31233 else
31234 glibcxx_cv_func_atan2l_use=no
31235 fi
31236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31237 ac_ext=c
31238 ac_cpp='$CPP $CPPFLAGS'
31239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31242
31243
31244 fi
31245
31246 fi
31247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31248 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31249
31250 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31251 for ac_func in atan2l
31252 do :
31253 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31254 if test "x$ac_cv_func_atan2l" = x""yes; then :
31255 cat >>confdefs.h <<_ACEOF
31256 #define HAVE_ATAN2L 1
31257 _ACEOF
31258
31259 fi
31260 done
31261
31262 else
31263
31264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31265 $as_echo_n "checking for _atan2l declaration... " >&6; }
31266 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31267 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31268 $as_echo_n "(cached) " >&6
31269 else
31270
31271
31272 ac_ext=cpp
31273 ac_cpp='$CXXCPP $CPPFLAGS'
31274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31277
31278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31279 /* end confdefs.h. */
31280 #include <math.h>
31281 int
31282 main ()
31283 {
31284 _atan2l(0, 0);
31285 ;
31286 return 0;
31287 }
31288 _ACEOF
31289 if ac_fn_cxx_try_compile "$LINENO"; then :
31290 glibcxx_cv_func__atan2l_use=yes
31291 else
31292 glibcxx_cv_func__atan2l_use=no
31293 fi
31294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31295 ac_ext=c
31296 ac_cpp='$CPP $CPPFLAGS'
31297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31300
31301
31302 fi
31303
31304 fi
31305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31306 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31307
31308 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31309 for ac_func in _atan2l
31310 do :
31311 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31312 if test "x$ac_cv_func__atan2l" = x""yes; then :
31313 cat >>confdefs.h <<_ACEOF
31314 #define HAVE__ATAN2L 1
31315 _ACEOF
31316
31317 fi
31318 done
31319
31320 fi
31321 fi
31322
31323
31324
31325
31326
31327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31328 $as_echo_n "checking for expl declaration... " >&6; }
31329 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31330 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31331 $as_echo_n "(cached) " >&6
31332 else
31333
31334
31335 ac_ext=cpp
31336 ac_cpp='$CXXCPP $CPPFLAGS'
31337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31340
31341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31342 /* end confdefs.h. */
31343 #include <math.h>
31344 #ifdef HAVE_IEEEFP_H
31345 #include <ieeefp.h>
31346 #endif
31347
31348 int
31349 main ()
31350 {
31351 expl(0);
31352 ;
31353 return 0;
31354 }
31355 _ACEOF
31356 if ac_fn_cxx_try_compile "$LINENO"; then :
31357 glibcxx_cv_func_expl_use=yes
31358 else
31359 glibcxx_cv_func_expl_use=no
31360 fi
31361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31362 ac_ext=c
31363 ac_cpp='$CPP $CPPFLAGS'
31364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31367
31368
31369 fi
31370
31371 fi
31372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31373 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31374
31375 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31376 for ac_func in expl
31377 do :
31378 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31379 if test "x$ac_cv_func_expl" = x""yes; then :
31380 cat >>confdefs.h <<_ACEOF
31381 #define HAVE_EXPL 1
31382 _ACEOF
31383
31384 fi
31385 done
31386
31387 else
31388
31389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31390 $as_echo_n "checking for _expl declaration... " >&6; }
31391 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31392 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31393 $as_echo_n "(cached) " >&6
31394 else
31395
31396
31397 ac_ext=cpp
31398 ac_cpp='$CXXCPP $CPPFLAGS'
31399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31402
31403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31404 /* end confdefs.h. */
31405 #include <math.h>
31406 #ifdef HAVE_IEEEFP_H
31407 #include <ieeefp.h>
31408 #endif
31409
31410 int
31411 main ()
31412 {
31413 _expl(0);
31414 ;
31415 return 0;
31416 }
31417 _ACEOF
31418 if ac_fn_cxx_try_compile "$LINENO"; then :
31419 glibcxx_cv_func__expl_use=yes
31420 else
31421 glibcxx_cv_func__expl_use=no
31422 fi
31423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31424 ac_ext=c
31425 ac_cpp='$CPP $CPPFLAGS'
31426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31429
31430
31431 fi
31432
31433 fi
31434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31435 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31436
31437 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31438 for ac_func in _expl
31439 do :
31440 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31441 if test "x$ac_cv_func__expl" = x""yes; then :
31442 cat >>confdefs.h <<_ACEOF
31443 #define HAVE__EXPL 1
31444 _ACEOF
31445
31446 fi
31447 done
31448
31449 fi
31450 fi
31451
31452
31453
31454
31455
31456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31457 $as_echo_n "checking for fabsl declaration... " >&6; }
31458 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31459 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31460 $as_echo_n "(cached) " >&6
31461 else
31462
31463
31464 ac_ext=cpp
31465 ac_cpp='$CXXCPP $CPPFLAGS'
31466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31469
31470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31471 /* end confdefs.h. */
31472 #include <math.h>
31473 #ifdef HAVE_IEEEFP_H
31474 #include <ieeefp.h>
31475 #endif
31476
31477 int
31478 main ()
31479 {
31480 fabsl(0);
31481 ;
31482 return 0;
31483 }
31484 _ACEOF
31485 if ac_fn_cxx_try_compile "$LINENO"; then :
31486 glibcxx_cv_func_fabsl_use=yes
31487 else
31488 glibcxx_cv_func_fabsl_use=no
31489 fi
31490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31491 ac_ext=c
31492 ac_cpp='$CPP $CPPFLAGS'
31493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31496
31497
31498 fi
31499
31500 fi
31501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31502 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31503
31504 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31505 for ac_func in fabsl
31506 do :
31507 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31508 if test "x$ac_cv_func_fabsl" = x""yes; then :
31509 cat >>confdefs.h <<_ACEOF
31510 #define HAVE_FABSL 1
31511 _ACEOF
31512
31513 fi
31514 done
31515
31516 else
31517
31518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31519 $as_echo_n "checking for _fabsl declaration... " >&6; }
31520 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31521 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31522 $as_echo_n "(cached) " >&6
31523 else
31524
31525
31526 ac_ext=cpp
31527 ac_cpp='$CXXCPP $CPPFLAGS'
31528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31531
31532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31533 /* end confdefs.h. */
31534 #include <math.h>
31535 #ifdef HAVE_IEEEFP_H
31536 #include <ieeefp.h>
31537 #endif
31538
31539 int
31540 main ()
31541 {
31542 _fabsl(0);
31543 ;
31544 return 0;
31545 }
31546 _ACEOF
31547 if ac_fn_cxx_try_compile "$LINENO"; then :
31548 glibcxx_cv_func__fabsl_use=yes
31549 else
31550 glibcxx_cv_func__fabsl_use=no
31551 fi
31552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31553 ac_ext=c
31554 ac_cpp='$CPP $CPPFLAGS'
31555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31558
31559
31560 fi
31561
31562 fi
31563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31564 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31565
31566 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31567 for ac_func in _fabsl
31568 do :
31569 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31570 if test "x$ac_cv_func__fabsl" = x""yes; then :
31571 cat >>confdefs.h <<_ACEOF
31572 #define HAVE__FABSL 1
31573 _ACEOF
31574
31575 fi
31576 done
31577
31578 fi
31579 fi
31580
31581
31582
31583
31584
31585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31586 $as_echo_n "checking for fmodl declaration... " >&6; }
31587 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31588 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31589 $as_echo_n "(cached) " >&6
31590 else
31591
31592
31593 ac_ext=cpp
31594 ac_cpp='$CXXCPP $CPPFLAGS'
31595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31598
31599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31600 /* end confdefs.h. */
31601 #include <math.h>
31602 int
31603 main ()
31604 {
31605 fmodl(0, 0);
31606 ;
31607 return 0;
31608 }
31609 _ACEOF
31610 if ac_fn_cxx_try_compile "$LINENO"; then :
31611 glibcxx_cv_func_fmodl_use=yes
31612 else
31613 glibcxx_cv_func_fmodl_use=no
31614 fi
31615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31616 ac_ext=c
31617 ac_cpp='$CPP $CPPFLAGS'
31618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31621
31622
31623 fi
31624
31625 fi
31626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31627 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31628
31629 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31630 for ac_func in fmodl
31631 do :
31632 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31633 if test "x$ac_cv_func_fmodl" = x""yes; then :
31634 cat >>confdefs.h <<_ACEOF
31635 #define HAVE_FMODL 1
31636 _ACEOF
31637
31638 fi
31639 done
31640
31641 else
31642
31643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31644 $as_echo_n "checking for _fmodl declaration... " >&6; }
31645 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31646 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31647 $as_echo_n "(cached) " >&6
31648 else
31649
31650
31651 ac_ext=cpp
31652 ac_cpp='$CXXCPP $CPPFLAGS'
31653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31656
31657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31658 /* end confdefs.h. */
31659 #include <math.h>
31660 int
31661 main ()
31662 {
31663 _fmodl(0, 0);
31664 ;
31665 return 0;
31666 }
31667 _ACEOF
31668 if ac_fn_cxx_try_compile "$LINENO"; then :
31669 glibcxx_cv_func__fmodl_use=yes
31670 else
31671 glibcxx_cv_func__fmodl_use=no
31672 fi
31673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31674 ac_ext=c
31675 ac_cpp='$CPP $CPPFLAGS'
31676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31679
31680
31681 fi
31682
31683 fi
31684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31685 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31686
31687 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31688 for ac_func in _fmodl
31689 do :
31690 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31691 if test "x$ac_cv_func__fmodl" = x""yes; then :
31692 cat >>confdefs.h <<_ACEOF
31693 #define HAVE__FMODL 1
31694 _ACEOF
31695
31696 fi
31697 done
31698
31699 fi
31700 fi
31701
31702
31703
31704
31705
31706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31707 $as_echo_n "checking for frexpl declaration... " >&6; }
31708 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31709 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31710 $as_echo_n "(cached) " >&6
31711 else
31712
31713
31714 ac_ext=cpp
31715 ac_cpp='$CXXCPP $CPPFLAGS'
31716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31719
31720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31721 /* end confdefs.h. */
31722 #include <math.h>
31723 int
31724 main ()
31725 {
31726 frexpl(0, 0);
31727 ;
31728 return 0;
31729 }
31730 _ACEOF
31731 if ac_fn_cxx_try_compile "$LINENO"; then :
31732 glibcxx_cv_func_frexpl_use=yes
31733 else
31734 glibcxx_cv_func_frexpl_use=no
31735 fi
31736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31737 ac_ext=c
31738 ac_cpp='$CPP $CPPFLAGS'
31739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31742
31743
31744 fi
31745
31746 fi
31747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31748 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31749
31750 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31751 for ac_func in frexpl
31752 do :
31753 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31754 if test "x$ac_cv_func_frexpl" = x""yes; then :
31755 cat >>confdefs.h <<_ACEOF
31756 #define HAVE_FREXPL 1
31757 _ACEOF
31758
31759 fi
31760 done
31761
31762 else
31763
31764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31765 $as_echo_n "checking for _frexpl declaration... " >&6; }
31766 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31767 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31768 $as_echo_n "(cached) " >&6
31769 else
31770
31771
31772 ac_ext=cpp
31773 ac_cpp='$CXXCPP $CPPFLAGS'
31774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31777
31778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31779 /* end confdefs.h. */
31780 #include <math.h>
31781 int
31782 main ()
31783 {
31784 _frexpl(0, 0);
31785 ;
31786 return 0;
31787 }
31788 _ACEOF
31789 if ac_fn_cxx_try_compile "$LINENO"; then :
31790 glibcxx_cv_func__frexpl_use=yes
31791 else
31792 glibcxx_cv_func__frexpl_use=no
31793 fi
31794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31795 ac_ext=c
31796 ac_cpp='$CPP $CPPFLAGS'
31797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31800
31801
31802 fi
31803
31804 fi
31805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31806 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31807
31808 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31809 for ac_func in _frexpl
31810 do :
31811 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31812 if test "x$ac_cv_func__frexpl" = x""yes; then :
31813 cat >>confdefs.h <<_ACEOF
31814 #define HAVE__FREXPL 1
31815 _ACEOF
31816
31817 fi
31818 done
31819
31820 fi
31821 fi
31822
31823
31824
31825
31826
31827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31828 $as_echo_n "checking for hypotl declaration... " >&6; }
31829 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31830 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31831 $as_echo_n "(cached) " >&6
31832 else
31833
31834
31835 ac_ext=cpp
31836 ac_cpp='$CXXCPP $CPPFLAGS'
31837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31840
31841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31842 /* end confdefs.h. */
31843 #include <math.h>
31844 int
31845 main ()
31846 {
31847 hypotl(0, 0);
31848 ;
31849 return 0;
31850 }
31851 _ACEOF
31852 if ac_fn_cxx_try_compile "$LINENO"; then :
31853 glibcxx_cv_func_hypotl_use=yes
31854 else
31855 glibcxx_cv_func_hypotl_use=no
31856 fi
31857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31858 ac_ext=c
31859 ac_cpp='$CPP $CPPFLAGS'
31860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31863
31864
31865 fi
31866
31867 fi
31868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31869 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31870
31871 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31872 for ac_func in hypotl
31873 do :
31874 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31875 if test "x$ac_cv_func_hypotl" = x""yes; then :
31876 cat >>confdefs.h <<_ACEOF
31877 #define HAVE_HYPOTL 1
31878 _ACEOF
31879
31880 fi
31881 done
31882
31883 else
31884
31885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31886 $as_echo_n "checking for _hypotl declaration... " >&6; }
31887 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31888 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31889 $as_echo_n "(cached) " >&6
31890 else
31891
31892
31893 ac_ext=cpp
31894 ac_cpp='$CXXCPP $CPPFLAGS'
31895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31898
31899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31900 /* end confdefs.h. */
31901 #include <math.h>
31902 int
31903 main ()
31904 {
31905 _hypotl(0, 0);
31906 ;
31907 return 0;
31908 }
31909 _ACEOF
31910 if ac_fn_cxx_try_compile "$LINENO"; then :
31911 glibcxx_cv_func__hypotl_use=yes
31912 else
31913 glibcxx_cv_func__hypotl_use=no
31914 fi
31915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31916 ac_ext=c
31917 ac_cpp='$CPP $CPPFLAGS'
31918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31921
31922
31923 fi
31924
31925 fi
31926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31927 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31928
31929 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31930 for ac_func in _hypotl
31931 do :
31932 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31933 if test "x$ac_cv_func__hypotl" = x""yes; then :
31934 cat >>confdefs.h <<_ACEOF
31935 #define HAVE__HYPOTL 1
31936 _ACEOF
31937
31938 fi
31939 done
31940
31941 fi
31942 fi
31943
31944
31945
31946
31947
31948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31949 $as_echo_n "checking for ldexpl declaration... " >&6; }
31950 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31951 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31952 $as_echo_n "(cached) " >&6
31953 else
31954
31955
31956 ac_ext=cpp
31957 ac_cpp='$CXXCPP $CPPFLAGS'
31958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31961
31962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31963 /* end confdefs.h. */
31964 #include <math.h>
31965 int
31966 main ()
31967 {
31968 ldexpl(0, 0);
31969 ;
31970 return 0;
31971 }
31972 _ACEOF
31973 if ac_fn_cxx_try_compile "$LINENO"; then :
31974 glibcxx_cv_func_ldexpl_use=yes
31975 else
31976 glibcxx_cv_func_ldexpl_use=no
31977 fi
31978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31979 ac_ext=c
31980 ac_cpp='$CPP $CPPFLAGS'
31981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31984
31985
31986 fi
31987
31988 fi
31989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31990 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31991
31992 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31993 for ac_func in ldexpl
31994 do :
31995 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31996 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31997 cat >>confdefs.h <<_ACEOF
31998 #define HAVE_LDEXPL 1
31999 _ACEOF
32000
32001 fi
32002 done
32003
32004 else
32005
32006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32007 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32008 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32009 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32010 $as_echo_n "(cached) " >&6
32011 else
32012
32013
32014 ac_ext=cpp
32015 ac_cpp='$CXXCPP $CPPFLAGS'
32016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32019
32020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32021 /* end confdefs.h. */
32022 #include <math.h>
32023 int
32024 main ()
32025 {
32026 _ldexpl(0, 0);
32027 ;
32028 return 0;
32029 }
32030 _ACEOF
32031 if ac_fn_cxx_try_compile "$LINENO"; then :
32032 glibcxx_cv_func__ldexpl_use=yes
32033 else
32034 glibcxx_cv_func__ldexpl_use=no
32035 fi
32036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32037 ac_ext=c
32038 ac_cpp='$CPP $CPPFLAGS'
32039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32042
32043
32044 fi
32045
32046 fi
32047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32048 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32049
32050 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32051 for ac_func in _ldexpl
32052 do :
32053 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32054 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32055 cat >>confdefs.h <<_ACEOF
32056 #define HAVE__LDEXPL 1
32057 _ACEOF
32058
32059 fi
32060 done
32061
32062 fi
32063 fi
32064
32065
32066
32067
32068
32069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32070 $as_echo_n "checking for logl declaration... " >&6; }
32071 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32072 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32073 $as_echo_n "(cached) " >&6
32074 else
32075
32076
32077 ac_ext=cpp
32078 ac_cpp='$CXXCPP $CPPFLAGS'
32079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32082
32083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32084 /* end confdefs.h. */
32085 #include <math.h>
32086 #ifdef HAVE_IEEEFP_H
32087 #include <ieeefp.h>
32088 #endif
32089
32090 int
32091 main ()
32092 {
32093 logl(0);
32094 ;
32095 return 0;
32096 }
32097 _ACEOF
32098 if ac_fn_cxx_try_compile "$LINENO"; then :
32099 glibcxx_cv_func_logl_use=yes
32100 else
32101 glibcxx_cv_func_logl_use=no
32102 fi
32103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32104 ac_ext=c
32105 ac_cpp='$CPP $CPPFLAGS'
32106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32109
32110
32111 fi
32112
32113 fi
32114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32115 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32116
32117 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32118 for ac_func in logl
32119 do :
32120 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32121 if test "x$ac_cv_func_logl" = x""yes; then :
32122 cat >>confdefs.h <<_ACEOF
32123 #define HAVE_LOGL 1
32124 _ACEOF
32125
32126 fi
32127 done
32128
32129 else
32130
32131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32132 $as_echo_n "checking for _logl declaration... " >&6; }
32133 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32134 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32135 $as_echo_n "(cached) " >&6
32136 else
32137
32138
32139 ac_ext=cpp
32140 ac_cpp='$CXXCPP $CPPFLAGS'
32141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32144
32145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32146 /* end confdefs.h. */
32147 #include <math.h>
32148 #ifdef HAVE_IEEEFP_H
32149 #include <ieeefp.h>
32150 #endif
32151
32152 int
32153 main ()
32154 {
32155 _logl(0);
32156 ;
32157 return 0;
32158 }
32159 _ACEOF
32160 if ac_fn_cxx_try_compile "$LINENO"; then :
32161 glibcxx_cv_func__logl_use=yes
32162 else
32163 glibcxx_cv_func__logl_use=no
32164 fi
32165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32166 ac_ext=c
32167 ac_cpp='$CPP $CPPFLAGS'
32168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32171
32172
32173 fi
32174
32175 fi
32176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32177 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32178
32179 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32180 for ac_func in _logl
32181 do :
32182 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32183 if test "x$ac_cv_func__logl" = x""yes; then :
32184 cat >>confdefs.h <<_ACEOF
32185 #define HAVE__LOGL 1
32186 _ACEOF
32187
32188 fi
32189 done
32190
32191 fi
32192 fi
32193
32194
32195
32196
32197
32198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32199 $as_echo_n "checking for log10l declaration... " >&6; }
32200 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32201 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32202 $as_echo_n "(cached) " >&6
32203 else
32204
32205
32206 ac_ext=cpp
32207 ac_cpp='$CXXCPP $CPPFLAGS'
32208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32211
32212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32213 /* end confdefs.h. */
32214 #include <math.h>
32215 #ifdef HAVE_IEEEFP_H
32216 #include <ieeefp.h>
32217 #endif
32218
32219 int
32220 main ()
32221 {
32222 log10l(0);
32223 ;
32224 return 0;
32225 }
32226 _ACEOF
32227 if ac_fn_cxx_try_compile "$LINENO"; then :
32228 glibcxx_cv_func_log10l_use=yes
32229 else
32230 glibcxx_cv_func_log10l_use=no
32231 fi
32232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32233 ac_ext=c
32234 ac_cpp='$CPP $CPPFLAGS'
32235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32238
32239
32240 fi
32241
32242 fi
32243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32244 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32245
32246 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32247 for ac_func in log10l
32248 do :
32249 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32250 if test "x$ac_cv_func_log10l" = x""yes; then :
32251 cat >>confdefs.h <<_ACEOF
32252 #define HAVE_LOG10L 1
32253 _ACEOF
32254
32255 fi
32256 done
32257
32258 else
32259
32260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32261 $as_echo_n "checking for _log10l declaration... " >&6; }
32262 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32263 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32264 $as_echo_n "(cached) " >&6
32265 else
32266
32267
32268 ac_ext=cpp
32269 ac_cpp='$CXXCPP $CPPFLAGS'
32270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32273
32274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32275 /* end confdefs.h. */
32276 #include <math.h>
32277 #ifdef HAVE_IEEEFP_H
32278 #include <ieeefp.h>
32279 #endif
32280
32281 int
32282 main ()
32283 {
32284 _log10l(0);
32285 ;
32286 return 0;
32287 }
32288 _ACEOF
32289 if ac_fn_cxx_try_compile "$LINENO"; then :
32290 glibcxx_cv_func__log10l_use=yes
32291 else
32292 glibcxx_cv_func__log10l_use=no
32293 fi
32294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32295 ac_ext=c
32296 ac_cpp='$CPP $CPPFLAGS'
32297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32300
32301
32302 fi
32303
32304 fi
32305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32306 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32307
32308 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32309 for ac_func in _log10l
32310 do :
32311 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32312 if test "x$ac_cv_func__log10l" = x""yes; then :
32313 cat >>confdefs.h <<_ACEOF
32314 #define HAVE__LOG10L 1
32315 _ACEOF
32316
32317 fi
32318 done
32319
32320 fi
32321 fi
32322
32323
32324
32325
32326
32327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32328 $as_echo_n "checking for modfl declaration... " >&6; }
32329 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32330 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32331 $as_echo_n "(cached) " >&6
32332 else
32333
32334
32335 ac_ext=cpp
32336 ac_cpp='$CXXCPP $CPPFLAGS'
32337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32340
32341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32342 /* end confdefs.h. */
32343 #include <math.h>
32344 int
32345 main ()
32346 {
32347 modfl(0, 0);
32348 ;
32349 return 0;
32350 }
32351 _ACEOF
32352 if ac_fn_cxx_try_compile "$LINENO"; then :
32353 glibcxx_cv_func_modfl_use=yes
32354 else
32355 glibcxx_cv_func_modfl_use=no
32356 fi
32357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32358 ac_ext=c
32359 ac_cpp='$CPP $CPPFLAGS'
32360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32363
32364
32365 fi
32366
32367 fi
32368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32369 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32370
32371 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32372 for ac_func in modfl
32373 do :
32374 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32375 if test "x$ac_cv_func_modfl" = x""yes; then :
32376 cat >>confdefs.h <<_ACEOF
32377 #define HAVE_MODFL 1
32378 _ACEOF
32379
32380 fi
32381 done
32382
32383 else
32384
32385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32386 $as_echo_n "checking for _modfl declaration... " >&6; }
32387 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32388 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32389 $as_echo_n "(cached) " >&6
32390 else
32391
32392
32393 ac_ext=cpp
32394 ac_cpp='$CXXCPP $CPPFLAGS'
32395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32398
32399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32400 /* end confdefs.h. */
32401 #include <math.h>
32402 int
32403 main ()
32404 {
32405 _modfl(0, 0);
32406 ;
32407 return 0;
32408 }
32409 _ACEOF
32410 if ac_fn_cxx_try_compile "$LINENO"; then :
32411 glibcxx_cv_func__modfl_use=yes
32412 else
32413 glibcxx_cv_func__modfl_use=no
32414 fi
32415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32416 ac_ext=c
32417 ac_cpp='$CPP $CPPFLAGS'
32418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32421
32422
32423 fi
32424
32425 fi
32426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32427 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32428
32429 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32430 for ac_func in _modfl
32431 do :
32432 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32433 if test "x$ac_cv_func__modfl" = x""yes; then :
32434 cat >>confdefs.h <<_ACEOF
32435 #define HAVE__MODFL 1
32436 _ACEOF
32437
32438 fi
32439 done
32440
32441 fi
32442 fi
32443
32444
32445
32446
32447
32448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32449 $as_echo_n "checking for powl declaration... " >&6; }
32450 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32451 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32452 $as_echo_n "(cached) " >&6
32453 else
32454
32455
32456 ac_ext=cpp
32457 ac_cpp='$CXXCPP $CPPFLAGS'
32458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32461
32462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32463 /* end confdefs.h. */
32464 #include <math.h>
32465 int
32466 main ()
32467 {
32468 powl(0, 0);
32469 ;
32470 return 0;
32471 }
32472 _ACEOF
32473 if ac_fn_cxx_try_compile "$LINENO"; then :
32474 glibcxx_cv_func_powl_use=yes
32475 else
32476 glibcxx_cv_func_powl_use=no
32477 fi
32478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32479 ac_ext=c
32480 ac_cpp='$CPP $CPPFLAGS'
32481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32484
32485
32486 fi
32487
32488 fi
32489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32490 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32491
32492 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32493 for ac_func in powl
32494 do :
32495 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32496 if test "x$ac_cv_func_powl" = x""yes; then :
32497 cat >>confdefs.h <<_ACEOF
32498 #define HAVE_POWL 1
32499 _ACEOF
32500
32501 fi
32502 done
32503
32504 else
32505
32506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32507 $as_echo_n "checking for _powl declaration... " >&6; }
32508 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32509 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32510 $as_echo_n "(cached) " >&6
32511 else
32512
32513
32514 ac_ext=cpp
32515 ac_cpp='$CXXCPP $CPPFLAGS'
32516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32519
32520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32521 /* end confdefs.h. */
32522 #include <math.h>
32523 int
32524 main ()
32525 {
32526 _powl(0, 0);
32527 ;
32528 return 0;
32529 }
32530 _ACEOF
32531 if ac_fn_cxx_try_compile "$LINENO"; then :
32532 glibcxx_cv_func__powl_use=yes
32533 else
32534 glibcxx_cv_func__powl_use=no
32535 fi
32536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32537 ac_ext=c
32538 ac_cpp='$CPP $CPPFLAGS'
32539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32542
32543
32544 fi
32545
32546 fi
32547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32548 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32549
32550 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32551 for ac_func in _powl
32552 do :
32553 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32554 if test "x$ac_cv_func__powl" = x""yes; then :
32555 cat >>confdefs.h <<_ACEOF
32556 #define HAVE__POWL 1
32557 _ACEOF
32558
32559 fi
32560 done
32561
32562 fi
32563 fi
32564
32565
32566
32567
32568
32569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32570 $as_echo_n "checking for sqrtl declaration... " >&6; }
32571 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32572 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32573 $as_echo_n "(cached) " >&6
32574 else
32575
32576
32577 ac_ext=cpp
32578 ac_cpp='$CXXCPP $CPPFLAGS'
32579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32582
32583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32584 /* end confdefs.h. */
32585 #include <math.h>
32586 #ifdef HAVE_IEEEFP_H
32587 #include <ieeefp.h>
32588 #endif
32589
32590 int
32591 main ()
32592 {
32593 sqrtl(0);
32594 ;
32595 return 0;
32596 }
32597 _ACEOF
32598 if ac_fn_cxx_try_compile "$LINENO"; then :
32599 glibcxx_cv_func_sqrtl_use=yes
32600 else
32601 glibcxx_cv_func_sqrtl_use=no
32602 fi
32603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32604 ac_ext=c
32605 ac_cpp='$CPP $CPPFLAGS'
32606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32609
32610
32611 fi
32612
32613 fi
32614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32615 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32616
32617 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32618 for ac_func in sqrtl
32619 do :
32620 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32621 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32622 cat >>confdefs.h <<_ACEOF
32623 #define HAVE_SQRTL 1
32624 _ACEOF
32625
32626 fi
32627 done
32628
32629 else
32630
32631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32632 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32633 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32634 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32635 $as_echo_n "(cached) " >&6
32636 else
32637
32638
32639 ac_ext=cpp
32640 ac_cpp='$CXXCPP $CPPFLAGS'
32641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32644
32645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32646 /* end confdefs.h. */
32647 #include <math.h>
32648 #ifdef HAVE_IEEEFP_H
32649 #include <ieeefp.h>
32650 #endif
32651
32652 int
32653 main ()
32654 {
32655 _sqrtl(0);
32656 ;
32657 return 0;
32658 }
32659 _ACEOF
32660 if ac_fn_cxx_try_compile "$LINENO"; then :
32661 glibcxx_cv_func__sqrtl_use=yes
32662 else
32663 glibcxx_cv_func__sqrtl_use=no
32664 fi
32665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32666 ac_ext=c
32667 ac_cpp='$CPP $CPPFLAGS'
32668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32671
32672
32673 fi
32674
32675 fi
32676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32677 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32678
32679 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32680 for ac_func in _sqrtl
32681 do :
32682 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32683 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32684 cat >>confdefs.h <<_ACEOF
32685 #define HAVE__SQRTL 1
32686 _ACEOF
32687
32688 fi
32689 done
32690
32691 fi
32692 fi
32693
32694
32695
32696
32697
32698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32699 $as_echo_n "checking for sincosl declaration... " >&6; }
32700 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32701 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32702 $as_echo_n "(cached) " >&6
32703 else
32704
32705
32706 ac_ext=cpp
32707 ac_cpp='$CXXCPP $CPPFLAGS'
32708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32711
32712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32713 /* end confdefs.h. */
32714 #include <math.h>
32715 int
32716 main ()
32717 {
32718 sincosl(0, 0, 0);
32719 ;
32720 return 0;
32721 }
32722 _ACEOF
32723 if ac_fn_cxx_try_compile "$LINENO"; then :
32724 glibcxx_cv_func_sincosl_use=yes
32725 else
32726 glibcxx_cv_func_sincosl_use=no
32727 fi
32728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32729 ac_ext=c
32730 ac_cpp='$CPP $CPPFLAGS'
32731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32734
32735
32736 fi
32737
32738 fi
32739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32740 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32741
32742 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32743 for ac_func in sincosl
32744 do :
32745 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32746 if test "x$ac_cv_func_sincosl" = x""yes; then :
32747 cat >>confdefs.h <<_ACEOF
32748 #define HAVE_SINCOSL 1
32749 _ACEOF
32750
32751 fi
32752 done
32753
32754 else
32755
32756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32757 $as_echo_n "checking for _sincosl declaration... " >&6; }
32758 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32759 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32760 $as_echo_n "(cached) " >&6
32761 else
32762
32763
32764 ac_ext=cpp
32765 ac_cpp='$CXXCPP $CPPFLAGS'
32766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32769
32770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32771 /* end confdefs.h. */
32772 #include <math.h>
32773 int
32774 main ()
32775 {
32776 _sincosl(0, 0, 0);
32777 ;
32778 return 0;
32779 }
32780 _ACEOF
32781 if ac_fn_cxx_try_compile "$LINENO"; then :
32782 glibcxx_cv_func__sincosl_use=yes
32783 else
32784 glibcxx_cv_func__sincosl_use=no
32785 fi
32786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32787 ac_ext=c
32788 ac_cpp='$CPP $CPPFLAGS'
32789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32792
32793
32794 fi
32795
32796 fi
32797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32798 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32799
32800 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32801 for ac_func in _sincosl
32802 do :
32803 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32804 if test "x$ac_cv_func__sincosl" = x""yes; then :
32805 cat >>confdefs.h <<_ACEOF
32806 #define HAVE__SINCOSL 1
32807 _ACEOF
32808
32809 fi
32810 done
32811
32812 fi
32813 fi
32814
32815
32816
32817
32818
32819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32820 $as_echo_n "checking for finitel declaration... " >&6; }
32821 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32822 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32823 $as_echo_n "(cached) " >&6
32824 else
32825
32826
32827 ac_ext=cpp
32828 ac_cpp='$CXXCPP $CPPFLAGS'
32829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32832
32833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32834 /* end confdefs.h. */
32835 #include <math.h>
32836 #ifdef HAVE_IEEEFP_H
32837 #include <ieeefp.h>
32838 #endif
32839
32840 int
32841 main ()
32842 {
32843 finitel(0);
32844 ;
32845 return 0;
32846 }
32847 _ACEOF
32848 if ac_fn_cxx_try_compile "$LINENO"; then :
32849 glibcxx_cv_func_finitel_use=yes
32850 else
32851 glibcxx_cv_func_finitel_use=no
32852 fi
32853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32854 ac_ext=c
32855 ac_cpp='$CPP $CPPFLAGS'
32856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32859
32860
32861 fi
32862
32863 fi
32864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32865 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32866
32867 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32868 for ac_func in finitel
32869 do :
32870 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32871 if test "x$ac_cv_func_finitel" = x""yes; then :
32872 cat >>confdefs.h <<_ACEOF
32873 #define HAVE_FINITEL 1
32874 _ACEOF
32875
32876 fi
32877 done
32878
32879 else
32880
32881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32882 $as_echo_n "checking for _finitel declaration... " >&6; }
32883 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32884 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32885 $as_echo_n "(cached) " >&6
32886 else
32887
32888
32889 ac_ext=cpp
32890 ac_cpp='$CXXCPP $CPPFLAGS'
32891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32894
32895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32896 /* end confdefs.h. */
32897 #include <math.h>
32898 #ifdef HAVE_IEEEFP_H
32899 #include <ieeefp.h>
32900 #endif
32901
32902 int
32903 main ()
32904 {
32905 _finitel(0);
32906 ;
32907 return 0;
32908 }
32909 _ACEOF
32910 if ac_fn_cxx_try_compile "$LINENO"; then :
32911 glibcxx_cv_func__finitel_use=yes
32912 else
32913 glibcxx_cv_func__finitel_use=no
32914 fi
32915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32916 ac_ext=c
32917 ac_cpp='$CPP $CPPFLAGS'
32918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32921
32922
32923 fi
32924
32925 fi
32926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32927 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32928
32929 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32930 for ac_func in _finitel
32931 do :
32932 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32933 if test "x$ac_cv_func__finitel" = x""yes; then :
32934 cat >>confdefs.h <<_ACEOF
32935 #define HAVE__FINITEL 1
32936 _ACEOF
32937
32938 fi
32939 done
32940
32941 fi
32942 fi
32943
32944
32945
32946
32947 LIBS="$ac_save_LIBS"
32948 CXXFLAGS="$ac_save_CXXFLAGS"
32949
32950
32951 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32952 ac_save_CXXFLAGS="$CXXFLAGS"
32953 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32954
32955
32956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32957 $as_echo_n "checking for strtold declaration... " >&6; }
32958 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32959 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32960 $as_echo_n "(cached) " >&6
32961 else
32962
32963
32964 ac_ext=cpp
32965 ac_cpp='$CXXCPP $CPPFLAGS'
32966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32969
32970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32971 /* end confdefs.h. */
32972 #include <stdlib.h>
32973 int
32974 main ()
32975 {
32976 strtold(0, 0);
32977 ;
32978 return 0;
32979 }
32980 _ACEOF
32981 if ac_fn_cxx_try_compile "$LINENO"; then :
32982 glibcxx_cv_func_strtold_use=yes
32983 else
32984 glibcxx_cv_func_strtold_use=no
32985 fi
32986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32987 ac_ext=c
32988 ac_cpp='$CPP $CPPFLAGS'
32989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32992
32993
32994 fi
32995
32996 fi
32997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32998 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32999 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33000 for ac_func in strtold
33001 do :
33002 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33003 if test "x$ac_cv_func_strtold" = x""yes; then :
33004 cat >>confdefs.h <<_ACEOF
33005 #define HAVE_STRTOLD 1
33006 _ACEOF
33007
33008 fi
33009 done
33010
33011 fi
33012
33013
33014
33015
33016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33017 $as_echo_n "checking for strtof declaration... " >&6; }
33018 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33019 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33020 $as_echo_n "(cached) " >&6
33021 else
33022
33023
33024 ac_ext=cpp
33025 ac_cpp='$CXXCPP $CPPFLAGS'
33026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33029
33030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33031 /* end confdefs.h. */
33032 #include <stdlib.h>
33033 int
33034 main ()
33035 {
33036 strtof(0, 0);
33037 ;
33038 return 0;
33039 }
33040 _ACEOF
33041 if ac_fn_cxx_try_compile "$LINENO"; then :
33042 glibcxx_cv_func_strtof_use=yes
33043 else
33044 glibcxx_cv_func_strtof_use=no
33045 fi
33046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33047 ac_ext=c
33048 ac_cpp='$CPP $CPPFLAGS'
33049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33052
33053
33054 fi
33055
33056 fi
33057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33058 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33059 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33060 for ac_func in strtof
33061 do :
33062 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33063 if test "x$ac_cv_func_strtof" = x""yes; then :
33064 cat >>confdefs.h <<_ACEOF
33065 #define HAVE_STRTOF 1
33066 _ACEOF
33067
33068 fi
33069 done
33070
33071 fi
33072
33073
33074
33075
33076 CXXFLAGS="$ac_save_CXXFLAGS"
33077
33078
33079 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33080
33081 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33082
33083 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33084
33085 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33086
33087
33088 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33089
33090 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33091
33092 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33093
33094 ;;
33095
33096 *-aix*)
33097
33098 # If we're not using GNU ld, then there's no point in even trying these
33099 # tests. Check for that first. We should have already tested for gld
33100 # by now (in libtool), but require it now just to be safe...
33101 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33102 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33103
33104
33105
33106 # The name set by libtool depends on the version of libtool. Shame on us
33107 # for depending on an impl detail, but c'est la vie. Older versions used
33108 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33109 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33110 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33111 # set (hence we're using an older libtool), then set it.
33112 if test x${with_gnu_ld+set} != xset; then
33113 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33114 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33115 with_gnu_ld=no
33116 else
33117 with_gnu_ld=$ac_cv_prog_gnu_ld
33118 fi
33119 fi
33120
33121 # Start by getting the version number. I think the libtool test already
33122 # does some of this, but throws away the result.
33123 glibcxx_ld_is_gold=no
33124 if test x"$with_gnu_ld" = x"yes"; then
33125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33126 $as_echo_n "checking for ld version... " >&6; }
33127
33128 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33129 glibcxx_ld_is_gold=yes
33130 fi
33131 ldver=`$LD --version 2>/dev/null |
33132 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'`
33133
33134 glibcxx_gnu_ld_version=`echo $ldver | \
33135 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33137 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33138 fi
33139
33140 # Set --gc-sections.
33141 glibcxx_have_gc_sections=no
33142 if test "$glibcxx_ld_is_gold" = "yes"; then
33143 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33144 glibcxx_have_gc_sections=yes
33145 fi
33146 else
33147 glibcxx_gcsections_min_ld=21602
33148 if test x"$with_gnu_ld" = x"yes" &&
33149 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33150 glibcxx_have_gc_sections=yes
33151 fi
33152 fi
33153 if test "$glibcxx_have_gc_sections" = "yes"; then
33154 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33155 # NB: This flag only works reliably after 2.16.1. Configure tests
33156 # for this are difficult, so hard wire a value that should work.
33157
33158 ac_test_CFLAGS="${CFLAGS+set}"
33159 ac_save_CFLAGS="$CFLAGS"
33160 CFLAGS='-Wl,--gc-sections'
33161
33162 # Check for -Wl,--gc-sections
33163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33164 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33165 if test x$gcc_no_link = xyes; then
33166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33167 fi
33168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33169 /* end confdefs.h. */
33170 int one(void) { return 1; }
33171 int two(void) { return 2; }
33172
33173 int
33174 main ()
33175 {
33176 two();
33177 ;
33178 return 0;
33179 }
33180 _ACEOF
33181 if ac_fn_c_try_link "$LINENO"; then :
33182 ac_gcsections=yes
33183 else
33184 ac_gcsections=no
33185 fi
33186 rm -f core conftest.err conftest.$ac_objext \
33187 conftest$ac_exeext conftest.$ac_ext
33188 if test "$ac_gcsections" = "yes"; then
33189 rm -f conftest.c
33190 touch conftest.c
33191 if $CC -c conftest.c; then
33192 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33193 grep "Warning: gc-sections option ignored" > /dev/null; then
33194 ac_gcsections=no
33195 fi
33196 fi
33197 rm -f conftest.c conftest.o conftest
33198 fi
33199 if test "$ac_gcsections" = "yes"; then
33200 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33201 fi
33202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33203 $as_echo "$ac_gcsections" >&6; }
33204
33205 if test "$ac_test_CFLAGS" = set; then
33206 CFLAGS="$ac_save_CFLAGS"
33207 else
33208 # this is the suspicious part
33209 CFLAGS=''
33210 fi
33211 fi
33212
33213 # Set -z,relro.
33214 # Note this is only for shared objects.
33215 ac_ld_relro=no
33216 if test x"$with_gnu_ld" = x"yes"; then
33217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33218 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33219 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33220 if test -n "$cxx_z_relo"; then
33221 OPT_LDFLAGS="-Wl,-z,relro"
33222 ac_ld_relro=yes
33223 fi
33224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33225 $as_echo "$ac_ld_relro" >&6; }
33226 fi
33227
33228 # Set linker optimization flags.
33229 if test x"$with_gnu_ld" = x"yes"; then
33230 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33231 fi
33232
33233
33234
33235
33236
33237 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33238 ac_save_CXXFLAGS="$CXXFLAGS"
33239 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33240
33241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33242 $as_echo_n "checking for sin in -lm... " >&6; }
33243 if test "${ac_cv_lib_m_sin+set}" = set; then :
33244 $as_echo_n "(cached) " >&6
33245 else
33246 ac_check_lib_save_LIBS=$LIBS
33247 LIBS="-lm $LIBS"
33248 if test x$gcc_no_link = xyes; then
33249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33250 fi
33251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33252 /* end confdefs.h. */
33253
33254 /* Override any GCC internal prototype to avoid an error.
33255 Use char because int might match the return type of a GCC
33256 builtin and then its argument prototype would still apply. */
33257 #ifdef __cplusplus
33258 extern "C"
33259 #endif
33260 char sin ();
33261 int
33262 main ()
33263 {
33264 return sin ();
33265 ;
33266 return 0;
33267 }
33268 _ACEOF
33269 if ac_fn_c_try_link "$LINENO"; then :
33270 ac_cv_lib_m_sin=yes
33271 else
33272 ac_cv_lib_m_sin=no
33273 fi
33274 rm -f core conftest.err conftest.$ac_objext \
33275 conftest$ac_exeext conftest.$ac_ext
33276 LIBS=$ac_check_lib_save_LIBS
33277 fi
33278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33279 $as_echo "$ac_cv_lib_m_sin" >&6; }
33280 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33281 libm="-lm"
33282 fi
33283
33284 ac_save_LIBS="$LIBS"
33285 LIBS="$LIBS $libm"
33286
33287
33288
33289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33290 $as_echo_n "checking for isinf declaration... " >&6; }
33291 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33292 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33293 $as_echo_n "(cached) " >&6
33294 else
33295
33296
33297 ac_ext=cpp
33298 ac_cpp='$CXXCPP $CPPFLAGS'
33299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33302
33303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33304 /* end confdefs.h. */
33305 #include <math.h>
33306 #ifdef HAVE_IEEEFP_H
33307 #include <ieeefp.h>
33308 #endif
33309
33310 int
33311 main ()
33312 {
33313 isinf(0);
33314 ;
33315 return 0;
33316 }
33317 _ACEOF
33318 if ac_fn_cxx_try_compile "$LINENO"; then :
33319 glibcxx_cv_func_isinf_use=yes
33320 else
33321 glibcxx_cv_func_isinf_use=no
33322 fi
33323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33324 ac_ext=c
33325 ac_cpp='$CPP $CPPFLAGS'
33326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33329
33330
33331 fi
33332
33333 fi
33334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33335 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33336
33337 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33338 for ac_func in isinf
33339 do :
33340 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33341 if test "x$ac_cv_func_isinf" = x""yes; then :
33342 cat >>confdefs.h <<_ACEOF
33343 #define HAVE_ISINF 1
33344 _ACEOF
33345
33346 fi
33347 done
33348
33349 else
33350
33351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33352 $as_echo_n "checking for _isinf declaration... " >&6; }
33353 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33354 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33355 $as_echo_n "(cached) " >&6
33356 else
33357
33358
33359 ac_ext=cpp
33360 ac_cpp='$CXXCPP $CPPFLAGS'
33361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33364
33365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33366 /* end confdefs.h. */
33367 #include <math.h>
33368 #ifdef HAVE_IEEEFP_H
33369 #include <ieeefp.h>
33370 #endif
33371
33372 int
33373 main ()
33374 {
33375 _isinf(0);
33376 ;
33377 return 0;
33378 }
33379 _ACEOF
33380 if ac_fn_cxx_try_compile "$LINENO"; then :
33381 glibcxx_cv_func__isinf_use=yes
33382 else
33383 glibcxx_cv_func__isinf_use=no
33384 fi
33385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33386 ac_ext=c
33387 ac_cpp='$CPP $CPPFLAGS'
33388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33391
33392
33393 fi
33394
33395 fi
33396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33397 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33398
33399 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33400 for ac_func in _isinf
33401 do :
33402 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33403 if test "x$ac_cv_func__isinf" = x""yes; then :
33404 cat >>confdefs.h <<_ACEOF
33405 #define HAVE__ISINF 1
33406 _ACEOF
33407
33408 fi
33409 done
33410
33411 fi
33412 fi
33413
33414
33415
33416
33417
33418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33419 $as_echo_n "checking for isnan declaration... " >&6; }
33420 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33421 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33422 $as_echo_n "(cached) " >&6
33423 else
33424
33425
33426 ac_ext=cpp
33427 ac_cpp='$CXXCPP $CPPFLAGS'
33428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33431
33432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33433 /* end confdefs.h. */
33434 #include <math.h>
33435 #ifdef HAVE_IEEEFP_H
33436 #include <ieeefp.h>
33437 #endif
33438
33439 int
33440 main ()
33441 {
33442 isnan(0);
33443 ;
33444 return 0;
33445 }
33446 _ACEOF
33447 if ac_fn_cxx_try_compile "$LINENO"; then :
33448 glibcxx_cv_func_isnan_use=yes
33449 else
33450 glibcxx_cv_func_isnan_use=no
33451 fi
33452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33453 ac_ext=c
33454 ac_cpp='$CPP $CPPFLAGS'
33455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33458
33459
33460 fi
33461
33462 fi
33463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33464 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33465
33466 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33467 for ac_func in isnan
33468 do :
33469 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33470 if test "x$ac_cv_func_isnan" = x""yes; then :
33471 cat >>confdefs.h <<_ACEOF
33472 #define HAVE_ISNAN 1
33473 _ACEOF
33474
33475 fi
33476 done
33477
33478 else
33479
33480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33481 $as_echo_n "checking for _isnan declaration... " >&6; }
33482 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33483 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33484 $as_echo_n "(cached) " >&6
33485 else
33486
33487
33488 ac_ext=cpp
33489 ac_cpp='$CXXCPP $CPPFLAGS'
33490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33493
33494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33495 /* end confdefs.h. */
33496 #include <math.h>
33497 #ifdef HAVE_IEEEFP_H
33498 #include <ieeefp.h>
33499 #endif
33500
33501 int
33502 main ()
33503 {
33504 _isnan(0);
33505 ;
33506 return 0;
33507 }
33508 _ACEOF
33509 if ac_fn_cxx_try_compile "$LINENO"; then :
33510 glibcxx_cv_func__isnan_use=yes
33511 else
33512 glibcxx_cv_func__isnan_use=no
33513 fi
33514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33515 ac_ext=c
33516 ac_cpp='$CPP $CPPFLAGS'
33517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33520
33521
33522 fi
33523
33524 fi
33525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33526 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33527
33528 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33529 for ac_func in _isnan
33530 do :
33531 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33532 if test "x$ac_cv_func__isnan" = x""yes; then :
33533 cat >>confdefs.h <<_ACEOF
33534 #define HAVE__ISNAN 1
33535 _ACEOF
33536
33537 fi
33538 done
33539
33540 fi
33541 fi
33542
33543
33544
33545
33546
33547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33548 $as_echo_n "checking for finite declaration... " >&6; }
33549 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33550 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33551 $as_echo_n "(cached) " >&6
33552 else
33553
33554
33555 ac_ext=cpp
33556 ac_cpp='$CXXCPP $CPPFLAGS'
33557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33560
33561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33562 /* end confdefs.h. */
33563 #include <math.h>
33564 #ifdef HAVE_IEEEFP_H
33565 #include <ieeefp.h>
33566 #endif
33567
33568 int
33569 main ()
33570 {
33571 finite(0);
33572 ;
33573 return 0;
33574 }
33575 _ACEOF
33576 if ac_fn_cxx_try_compile "$LINENO"; then :
33577 glibcxx_cv_func_finite_use=yes
33578 else
33579 glibcxx_cv_func_finite_use=no
33580 fi
33581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33582 ac_ext=c
33583 ac_cpp='$CPP $CPPFLAGS'
33584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33587
33588
33589 fi
33590
33591 fi
33592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33593 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33594
33595 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33596 for ac_func in finite
33597 do :
33598 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33599 if test "x$ac_cv_func_finite" = x""yes; then :
33600 cat >>confdefs.h <<_ACEOF
33601 #define HAVE_FINITE 1
33602 _ACEOF
33603
33604 fi
33605 done
33606
33607 else
33608
33609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33610 $as_echo_n "checking for _finite declaration... " >&6; }
33611 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33612 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33613 $as_echo_n "(cached) " >&6
33614 else
33615
33616
33617 ac_ext=cpp
33618 ac_cpp='$CXXCPP $CPPFLAGS'
33619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33622
33623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33624 /* end confdefs.h. */
33625 #include <math.h>
33626 #ifdef HAVE_IEEEFP_H
33627 #include <ieeefp.h>
33628 #endif
33629
33630 int
33631 main ()
33632 {
33633 _finite(0);
33634 ;
33635 return 0;
33636 }
33637 _ACEOF
33638 if ac_fn_cxx_try_compile "$LINENO"; then :
33639 glibcxx_cv_func__finite_use=yes
33640 else
33641 glibcxx_cv_func__finite_use=no
33642 fi
33643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33644 ac_ext=c
33645 ac_cpp='$CPP $CPPFLAGS'
33646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33649
33650
33651 fi
33652
33653 fi
33654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33655 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33656
33657 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33658 for ac_func in _finite
33659 do :
33660 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33661 if test "x$ac_cv_func__finite" = x""yes; then :
33662 cat >>confdefs.h <<_ACEOF
33663 #define HAVE__FINITE 1
33664 _ACEOF
33665
33666 fi
33667 done
33668
33669 fi
33670 fi
33671
33672
33673
33674
33675
33676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33677 $as_echo_n "checking for sincos declaration... " >&6; }
33678 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33679 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33680 $as_echo_n "(cached) " >&6
33681 else
33682
33683
33684 ac_ext=cpp
33685 ac_cpp='$CXXCPP $CPPFLAGS'
33686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33689
33690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33691 /* end confdefs.h. */
33692 #include <math.h>
33693 int
33694 main ()
33695 {
33696 sincos(0, 0, 0);
33697 ;
33698 return 0;
33699 }
33700 _ACEOF
33701 if ac_fn_cxx_try_compile "$LINENO"; then :
33702 glibcxx_cv_func_sincos_use=yes
33703 else
33704 glibcxx_cv_func_sincos_use=no
33705 fi
33706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33707 ac_ext=c
33708 ac_cpp='$CPP $CPPFLAGS'
33709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33712
33713
33714 fi
33715
33716 fi
33717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33718 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33719
33720 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33721 for ac_func in sincos
33722 do :
33723 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33724 if test "x$ac_cv_func_sincos" = x""yes; then :
33725 cat >>confdefs.h <<_ACEOF
33726 #define HAVE_SINCOS 1
33727 _ACEOF
33728
33729 fi
33730 done
33731
33732 else
33733
33734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33735 $as_echo_n "checking for _sincos declaration... " >&6; }
33736 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33737 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33738 $as_echo_n "(cached) " >&6
33739 else
33740
33741
33742 ac_ext=cpp
33743 ac_cpp='$CXXCPP $CPPFLAGS'
33744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33747
33748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33749 /* end confdefs.h. */
33750 #include <math.h>
33751 int
33752 main ()
33753 {
33754 _sincos(0, 0, 0);
33755 ;
33756 return 0;
33757 }
33758 _ACEOF
33759 if ac_fn_cxx_try_compile "$LINENO"; then :
33760 glibcxx_cv_func__sincos_use=yes
33761 else
33762 glibcxx_cv_func__sincos_use=no
33763 fi
33764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33765 ac_ext=c
33766 ac_cpp='$CPP $CPPFLAGS'
33767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33770
33771
33772 fi
33773
33774 fi
33775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33776 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33777
33778 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33779 for ac_func in _sincos
33780 do :
33781 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33782 if test "x$ac_cv_func__sincos" = x""yes; then :
33783 cat >>confdefs.h <<_ACEOF
33784 #define HAVE__SINCOS 1
33785 _ACEOF
33786
33787 fi
33788 done
33789
33790 fi
33791 fi
33792
33793
33794
33795
33796
33797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33798 $as_echo_n "checking for fpclass declaration... " >&6; }
33799 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33800 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33801 $as_echo_n "(cached) " >&6
33802 else
33803
33804
33805 ac_ext=cpp
33806 ac_cpp='$CXXCPP $CPPFLAGS'
33807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33810
33811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33812 /* end confdefs.h. */
33813 #include <math.h>
33814 #ifdef HAVE_IEEEFP_H
33815 #include <ieeefp.h>
33816 #endif
33817
33818 int
33819 main ()
33820 {
33821 fpclass(0);
33822 ;
33823 return 0;
33824 }
33825 _ACEOF
33826 if ac_fn_cxx_try_compile "$LINENO"; then :
33827 glibcxx_cv_func_fpclass_use=yes
33828 else
33829 glibcxx_cv_func_fpclass_use=no
33830 fi
33831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33832 ac_ext=c
33833 ac_cpp='$CPP $CPPFLAGS'
33834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33837
33838
33839 fi
33840
33841 fi
33842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33843 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33844
33845 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33846 for ac_func in fpclass
33847 do :
33848 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33849 if test "x$ac_cv_func_fpclass" = x""yes; then :
33850 cat >>confdefs.h <<_ACEOF
33851 #define HAVE_FPCLASS 1
33852 _ACEOF
33853
33854 fi
33855 done
33856
33857 else
33858
33859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33860 $as_echo_n "checking for _fpclass declaration... " >&6; }
33861 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33862 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33863 $as_echo_n "(cached) " >&6
33864 else
33865
33866
33867 ac_ext=cpp
33868 ac_cpp='$CXXCPP $CPPFLAGS'
33869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33872
33873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33874 /* end confdefs.h. */
33875 #include <math.h>
33876 #ifdef HAVE_IEEEFP_H
33877 #include <ieeefp.h>
33878 #endif
33879
33880 int
33881 main ()
33882 {
33883 _fpclass(0);
33884 ;
33885 return 0;
33886 }
33887 _ACEOF
33888 if ac_fn_cxx_try_compile "$LINENO"; then :
33889 glibcxx_cv_func__fpclass_use=yes
33890 else
33891 glibcxx_cv_func__fpclass_use=no
33892 fi
33893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33894 ac_ext=c
33895 ac_cpp='$CPP $CPPFLAGS'
33896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33899
33900
33901 fi
33902
33903 fi
33904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33905 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33906
33907 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33908 for ac_func in _fpclass
33909 do :
33910 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33911 if test "x$ac_cv_func__fpclass" = x""yes; then :
33912 cat >>confdefs.h <<_ACEOF
33913 #define HAVE__FPCLASS 1
33914 _ACEOF
33915
33916 fi
33917 done
33918
33919 fi
33920 fi
33921
33922
33923
33924
33925
33926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33927 $as_echo_n "checking for qfpclass declaration... " >&6; }
33928 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33929 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33930 $as_echo_n "(cached) " >&6
33931 else
33932
33933
33934 ac_ext=cpp
33935 ac_cpp='$CXXCPP $CPPFLAGS'
33936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33939
33940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33941 /* end confdefs.h. */
33942 #include <math.h>
33943 #ifdef HAVE_IEEEFP_H
33944 #include <ieeefp.h>
33945 #endif
33946
33947 int
33948 main ()
33949 {
33950 qfpclass(0);
33951 ;
33952 return 0;
33953 }
33954 _ACEOF
33955 if ac_fn_cxx_try_compile "$LINENO"; then :
33956 glibcxx_cv_func_qfpclass_use=yes
33957 else
33958 glibcxx_cv_func_qfpclass_use=no
33959 fi
33960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33961 ac_ext=c
33962 ac_cpp='$CPP $CPPFLAGS'
33963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33966
33967
33968 fi
33969
33970 fi
33971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33972 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33973
33974 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33975 for ac_func in qfpclass
33976 do :
33977 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33978 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33979 cat >>confdefs.h <<_ACEOF
33980 #define HAVE_QFPCLASS 1
33981 _ACEOF
33982
33983 fi
33984 done
33985
33986 else
33987
33988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33989 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33990 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33991 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33992 $as_echo_n "(cached) " >&6
33993 else
33994
33995
33996 ac_ext=cpp
33997 ac_cpp='$CXXCPP $CPPFLAGS'
33998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34001
34002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34003 /* end confdefs.h. */
34004 #include <math.h>
34005 #ifdef HAVE_IEEEFP_H
34006 #include <ieeefp.h>
34007 #endif
34008
34009 int
34010 main ()
34011 {
34012 _qfpclass(0);
34013 ;
34014 return 0;
34015 }
34016 _ACEOF
34017 if ac_fn_cxx_try_compile "$LINENO"; then :
34018 glibcxx_cv_func__qfpclass_use=yes
34019 else
34020 glibcxx_cv_func__qfpclass_use=no
34021 fi
34022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34023 ac_ext=c
34024 ac_cpp='$CPP $CPPFLAGS'
34025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34028
34029
34030 fi
34031
34032 fi
34033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34034 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34035
34036 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34037 for ac_func in _qfpclass
34038 do :
34039 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34040 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34041 cat >>confdefs.h <<_ACEOF
34042 #define HAVE__QFPCLASS 1
34043 _ACEOF
34044
34045 fi
34046 done
34047
34048 fi
34049 fi
34050
34051
34052
34053
34054
34055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34056 $as_echo_n "checking for hypot declaration... " >&6; }
34057 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34058 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34059 $as_echo_n "(cached) " >&6
34060 else
34061
34062
34063 ac_ext=cpp
34064 ac_cpp='$CXXCPP $CPPFLAGS'
34065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34068
34069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34070 /* end confdefs.h. */
34071 #include <math.h>
34072 int
34073 main ()
34074 {
34075 hypot(0, 0);
34076 ;
34077 return 0;
34078 }
34079 _ACEOF
34080 if ac_fn_cxx_try_compile "$LINENO"; then :
34081 glibcxx_cv_func_hypot_use=yes
34082 else
34083 glibcxx_cv_func_hypot_use=no
34084 fi
34085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34086 ac_ext=c
34087 ac_cpp='$CPP $CPPFLAGS'
34088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34091
34092
34093 fi
34094
34095 fi
34096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34097 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34098
34099 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34100 for ac_func in hypot
34101 do :
34102 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34103 if test "x$ac_cv_func_hypot" = x""yes; then :
34104 cat >>confdefs.h <<_ACEOF
34105 #define HAVE_HYPOT 1
34106 _ACEOF
34107
34108 fi
34109 done
34110
34111 else
34112
34113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34114 $as_echo_n "checking for _hypot declaration... " >&6; }
34115 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34116 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34117 $as_echo_n "(cached) " >&6
34118 else
34119
34120
34121 ac_ext=cpp
34122 ac_cpp='$CXXCPP $CPPFLAGS'
34123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34126
34127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34128 /* end confdefs.h. */
34129 #include <math.h>
34130 int
34131 main ()
34132 {
34133 _hypot(0, 0);
34134 ;
34135 return 0;
34136 }
34137 _ACEOF
34138 if ac_fn_cxx_try_compile "$LINENO"; then :
34139 glibcxx_cv_func__hypot_use=yes
34140 else
34141 glibcxx_cv_func__hypot_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__hypot_use" >&5
34155 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34156
34157 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34158 for ac_func in _hypot
34159 do :
34160 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34161 if test "x$ac_cv_func__hypot" = x""yes; then :
34162 cat >>confdefs.h <<_ACEOF
34163 #define HAVE__HYPOT 1
34164 _ACEOF
34165
34166 fi
34167 done
34168
34169 fi
34170 fi
34171
34172
34173
34174
34175
34176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34177 $as_echo_n "checking for float trig functions... " >&6; }
34178 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34179 $as_echo_n "(cached) " >&6
34180 else
34181
34182
34183 ac_ext=cpp
34184 ac_cpp='$CXXCPP $CPPFLAGS'
34185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34188
34189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34190 /* end confdefs.h. */
34191 #include <math.h>
34192 int
34193 main ()
34194 {
34195 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34196 ;
34197 return 0;
34198 }
34199 _ACEOF
34200 if ac_fn_cxx_try_compile "$LINENO"; then :
34201 glibcxx_cv_func_float_trig_use=yes
34202 else
34203 glibcxx_cv_func_float_trig_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 fi
34213
34214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34215 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34216 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34217 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34218 do :
34219 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34221 eval as_val=\$$as_ac_var
34222 if test "x$as_val" = x""yes; then :
34223 cat >>confdefs.h <<_ACEOF
34224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34225 _ACEOF
34226
34227 fi
34228 done
34229
34230 else
34231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34232 $as_echo_n "checking for _float trig functions... " >&6; }
34233 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34234 $as_echo_n "(cached) " >&6
34235 else
34236
34237
34238 ac_ext=cpp
34239 ac_cpp='$CXXCPP $CPPFLAGS'
34240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34243
34244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34245 /* end confdefs.h. */
34246 #include <math.h>
34247 int
34248 main ()
34249 {
34250 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34251 ;
34252 return 0;
34253 }
34254 _ACEOF
34255 if ac_fn_cxx_try_compile "$LINENO"; then :
34256 glibcxx_cv_func__float_trig_use=yes
34257 else
34258 glibcxx_cv_func__float_trig_use=no
34259 fi
34260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34261 ac_ext=c
34262 ac_cpp='$CPP $CPPFLAGS'
34263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34266
34267 fi
34268
34269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34270 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34271 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34272 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34273 do :
34274 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34275 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34276 eval as_val=\$$as_ac_var
34277 if test "x$as_val" = x""yes; then :
34278 cat >>confdefs.h <<_ACEOF
34279 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34280 _ACEOF
34281
34282 fi
34283 done
34284
34285 fi
34286 fi
34287
34288
34289
34290
34291
34292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34293 $as_echo_n "checking for float round functions... " >&6; }
34294 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34295 $as_echo_n "(cached) " >&6
34296 else
34297
34298
34299 ac_ext=cpp
34300 ac_cpp='$CXXCPP $CPPFLAGS'
34301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34304
34305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34306 /* end confdefs.h. */
34307 #include <math.h>
34308 int
34309 main ()
34310 {
34311 ceilf (0); floorf (0);
34312 ;
34313 return 0;
34314 }
34315 _ACEOF
34316 if ac_fn_cxx_try_compile "$LINENO"; then :
34317 glibcxx_cv_func_float_round_use=yes
34318 else
34319 glibcxx_cv_func_float_round_use=no
34320 fi
34321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34322 ac_ext=c
34323 ac_cpp='$CPP $CPPFLAGS'
34324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34327
34328 fi
34329
34330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34331 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34332 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34333 for ac_func in ceilf floorf
34334 do :
34335 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34336 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34337 eval as_val=\$$as_ac_var
34338 if test "x$as_val" = x""yes; then :
34339 cat >>confdefs.h <<_ACEOF
34340 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34341 _ACEOF
34342
34343 fi
34344 done
34345
34346 else
34347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34348 $as_echo_n "checking for _float round functions... " >&6; }
34349 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34350 $as_echo_n "(cached) " >&6
34351 else
34352
34353
34354 ac_ext=cpp
34355 ac_cpp='$CXXCPP $CPPFLAGS'
34356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34359
34360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34361 /* end confdefs.h. */
34362 #include <math.h>
34363 int
34364 main ()
34365 {
34366 _ceilf (0); _floorf (0);
34367 ;
34368 return 0;
34369 }
34370 _ACEOF
34371 if ac_fn_cxx_try_compile "$LINENO"; then :
34372 glibcxx_cv_func__float_round_use=yes
34373 else
34374 glibcxx_cv_func__float_round_use=no
34375 fi
34376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34377 ac_ext=c
34378 ac_cpp='$CPP $CPPFLAGS'
34379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34382
34383 fi
34384
34385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34386 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34387 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34388 for ac_func in _ceilf _floorf
34389 do :
34390 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34392 eval as_val=\$$as_ac_var
34393 if test "x$as_val" = x""yes; then :
34394 cat >>confdefs.h <<_ACEOF
34395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34396 _ACEOF
34397
34398 fi
34399 done
34400
34401 fi
34402 fi
34403
34404
34405
34406
34407
34408
34409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34410 $as_echo_n "checking for expf declaration... " >&6; }
34411 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34412 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34413 $as_echo_n "(cached) " >&6
34414 else
34415
34416
34417 ac_ext=cpp
34418 ac_cpp='$CXXCPP $CPPFLAGS'
34419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34422
34423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34424 /* end confdefs.h. */
34425 #include <math.h>
34426 #ifdef HAVE_IEEEFP_H
34427 #include <ieeefp.h>
34428 #endif
34429
34430 int
34431 main ()
34432 {
34433 expf(0);
34434 ;
34435 return 0;
34436 }
34437 _ACEOF
34438 if ac_fn_cxx_try_compile "$LINENO"; then :
34439 glibcxx_cv_func_expf_use=yes
34440 else
34441 glibcxx_cv_func_expf_use=no
34442 fi
34443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34444 ac_ext=c
34445 ac_cpp='$CPP $CPPFLAGS'
34446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34449
34450
34451 fi
34452
34453 fi
34454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34455 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34456
34457 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34458 for ac_func in expf
34459 do :
34460 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34461 if test "x$ac_cv_func_expf" = x""yes; then :
34462 cat >>confdefs.h <<_ACEOF
34463 #define HAVE_EXPF 1
34464 _ACEOF
34465
34466 fi
34467 done
34468
34469 else
34470
34471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34472 $as_echo_n "checking for _expf declaration... " >&6; }
34473 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34474 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34475 $as_echo_n "(cached) " >&6
34476 else
34477
34478
34479 ac_ext=cpp
34480 ac_cpp='$CXXCPP $CPPFLAGS'
34481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34484
34485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34486 /* end confdefs.h. */
34487 #include <math.h>
34488 #ifdef HAVE_IEEEFP_H
34489 #include <ieeefp.h>
34490 #endif
34491
34492 int
34493 main ()
34494 {
34495 _expf(0);
34496 ;
34497 return 0;
34498 }
34499 _ACEOF
34500 if ac_fn_cxx_try_compile "$LINENO"; then :
34501 glibcxx_cv_func__expf_use=yes
34502 else
34503 glibcxx_cv_func__expf_use=no
34504 fi
34505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34506 ac_ext=c
34507 ac_cpp='$CPP $CPPFLAGS'
34508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34511
34512
34513 fi
34514
34515 fi
34516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34517 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34518
34519 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34520 for ac_func in _expf
34521 do :
34522 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34523 if test "x$ac_cv_func__expf" = x""yes; then :
34524 cat >>confdefs.h <<_ACEOF
34525 #define HAVE__EXPF 1
34526 _ACEOF
34527
34528 fi
34529 done
34530
34531 fi
34532 fi
34533
34534
34535
34536
34537
34538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34539 $as_echo_n "checking for isnanf declaration... " >&6; }
34540 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34541 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34542 $as_echo_n "(cached) " >&6
34543 else
34544
34545
34546 ac_ext=cpp
34547 ac_cpp='$CXXCPP $CPPFLAGS'
34548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34551
34552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34553 /* end confdefs.h. */
34554 #include <math.h>
34555 #ifdef HAVE_IEEEFP_H
34556 #include <ieeefp.h>
34557 #endif
34558
34559 int
34560 main ()
34561 {
34562 isnanf(0);
34563 ;
34564 return 0;
34565 }
34566 _ACEOF
34567 if ac_fn_cxx_try_compile "$LINENO"; then :
34568 glibcxx_cv_func_isnanf_use=yes
34569 else
34570 glibcxx_cv_func_isnanf_use=no
34571 fi
34572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34573 ac_ext=c
34574 ac_cpp='$CPP $CPPFLAGS'
34575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34578
34579
34580 fi
34581
34582 fi
34583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34584 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34585
34586 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34587 for ac_func in isnanf
34588 do :
34589 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34590 if test "x$ac_cv_func_isnanf" = x""yes; then :
34591 cat >>confdefs.h <<_ACEOF
34592 #define HAVE_ISNANF 1
34593 _ACEOF
34594
34595 fi
34596 done
34597
34598 else
34599
34600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34601 $as_echo_n "checking for _isnanf declaration... " >&6; }
34602 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34603 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34604 $as_echo_n "(cached) " >&6
34605 else
34606
34607
34608 ac_ext=cpp
34609 ac_cpp='$CXXCPP $CPPFLAGS'
34610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34613
34614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34615 /* end confdefs.h. */
34616 #include <math.h>
34617 #ifdef HAVE_IEEEFP_H
34618 #include <ieeefp.h>
34619 #endif
34620
34621 int
34622 main ()
34623 {
34624 _isnanf(0);
34625 ;
34626 return 0;
34627 }
34628 _ACEOF
34629 if ac_fn_cxx_try_compile "$LINENO"; then :
34630 glibcxx_cv_func__isnanf_use=yes
34631 else
34632 glibcxx_cv_func__isnanf_use=no
34633 fi
34634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34635 ac_ext=c
34636 ac_cpp='$CPP $CPPFLAGS'
34637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34640
34641
34642 fi
34643
34644 fi
34645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34646 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34647
34648 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34649 for ac_func in _isnanf
34650 do :
34651 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34652 if test "x$ac_cv_func__isnanf" = x""yes; then :
34653 cat >>confdefs.h <<_ACEOF
34654 #define HAVE__ISNANF 1
34655 _ACEOF
34656
34657 fi
34658 done
34659
34660 fi
34661 fi
34662
34663
34664
34665
34666
34667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34668 $as_echo_n "checking for isinff declaration... " >&6; }
34669 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34670 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34671 $as_echo_n "(cached) " >&6
34672 else
34673
34674
34675 ac_ext=cpp
34676 ac_cpp='$CXXCPP $CPPFLAGS'
34677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34680
34681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34682 /* end confdefs.h. */
34683 #include <math.h>
34684 #ifdef HAVE_IEEEFP_H
34685 #include <ieeefp.h>
34686 #endif
34687
34688 int
34689 main ()
34690 {
34691 isinff(0);
34692 ;
34693 return 0;
34694 }
34695 _ACEOF
34696 if ac_fn_cxx_try_compile "$LINENO"; then :
34697 glibcxx_cv_func_isinff_use=yes
34698 else
34699 glibcxx_cv_func_isinff_use=no
34700 fi
34701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34702 ac_ext=c
34703 ac_cpp='$CPP $CPPFLAGS'
34704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34707
34708
34709 fi
34710
34711 fi
34712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34713 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34714
34715 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34716 for ac_func in isinff
34717 do :
34718 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34719 if test "x$ac_cv_func_isinff" = x""yes; then :
34720 cat >>confdefs.h <<_ACEOF
34721 #define HAVE_ISINFF 1
34722 _ACEOF
34723
34724 fi
34725 done
34726
34727 else
34728
34729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34730 $as_echo_n "checking for _isinff declaration... " >&6; }
34731 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34732 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34733 $as_echo_n "(cached) " >&6
34734 else
34735
34736
34737 ac_ext=cpp
34738 ac_cpp='$CXXCPP $CPPFLAGS'
34739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34742
34743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34744 /* end confdefs.h. */
34745 #include <math.h>
34746 #ifdef HAVE_IEEEFP_H
34747 #include <ieeefp.h>
34748 #endif
34749
34750 int
34751 main ()
34752 {
34753 _isinff(0);
34754 ;
34755 return 0;
34756 }
34757 _ACEOF
34758 if ac_fn_cxx_try_compile "$LINENO"; then :
34759 glibcxx_cv_func__isinff_use=yes
34760 else
34761 glibcxx_cv_func__isinff_use=no
34762 fi
34763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34764 ac_ext=c
34765 ac_cpp='$CPP $CPPFLAGS'
34766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34769
34770
34771 fi
34772
34773 fi
34774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34775 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34776
34777 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34778 for ac_func in _isinff
34779 do :
34780 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34781 if test "x$ac_cv_func__isinff" = x""yes; then :
34782 cat >>confdefs.h <<_ACEOF
34783 #define HAVE__ISINFF 1
34784 _ACEOF
34785
34786 fi
34787 done
34788
34789 fi
34790 fi
34791
34792
34793
34794
34795
34796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34797 $as_echo_n "checking for atan2f declaration... " >&6; }
34798 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34799 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34800 $as_echo_n "(cached) " >&6
34801 else
34802
34803
34804 ac_ext=cpp
34805 ac_cpp='$CXXCPP $CPPFLAGS'
34806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34809
34810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34811 /* end confdefs.h. */
34812 #include <math.h>
34813 int
34814 main ()
34815 {
34816 atan2f(0, 0);
34817 ;
34818 return 0;
34819 }
34820 _ACEOF
34821 if ac_fn_cxx_try_compile "$LINENO"; then :
34822 glibcxx_cv_func_atan2f_use=yes
34823 else
34824 glibcxx_cv_func_atan2f_use=no
34825 fi
34826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34827 ac_ext=c
34828 ac_cpp='$CPP $CPPFLAGS'
34829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34832
34833
34834 fi
34835
34836 fi
34837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34838 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34839
34840 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34841 for ac_func in atan2f
34842 do :
34843 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34844 if test "x$ac_cv_func_atan2f" = x""yes; then :
34845 cat >>confdefs.h <<_ACEOF
34846 #define HAVE_ATAN2F 1
34847 _ACEOF
34848
34849 fi
34850 done
34851
34852 else
34853
34854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34855 $as_echo_n "checking for _atan2f declaration... " >&6; }
34856 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34857 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34858 $as_echo_n "(cached) " >&6
34859 else
34860
34861
34862 ac_ext=cpp
34863 ac_cpp='$CXXCPP $CPPFLAGS'
34864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34867
34868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34869 /* end confdefs.h. */
34870 #include <math.h>
34871 int
34872 main ()
34873 {
34874 _atan2f(0, 0);
34875 ;
34876 return 0;
34877 }
34878 _ACEOF
34879 if ac_fn_cxx_try_compile "$LINENO"; then :
34880 glibcxx_cv_func__atan2f_use=yes
34881 else
34882 glibcxx_cv_func__atan2f_use=no
34883 fi
34884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34885 ac_ext=c
34886 ac_cpp='$CPP $CPPFLAGS'
34887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34890
34891
34892 fi
34893
34894 fi
34895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34896 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34897
34898 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34899 for ac_func in _atan2f
34900 do :
34901 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34902 if test "x$ac_cv_func__atan2f" = x""yes; then :
34903 cat >>confdefs.h <<_ACEOF
34904 #define HAVE__ATAN2F 1
34905 _ACEOF
34906
34907 fi
34908 done
34909
34910 fi
34911 fi
34912
34913
34914
34915
34916
34917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34918 $as_echo_n "checking for fabsf declaration... " >&6; }
34919 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34920 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34921 $as_echo_n "(cached) " >&6
34922 else
34923
34924
34925 ac_ext=cpp
34926 ac_cpp='$CXXCPP $CPPFLAGS'
34927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34930
34931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34932 /* end confdefs.h. */
34933 #include <math.h>
34934 #ifdef HAVE_IEEEFP_H
34935 #include <ieeefp.h>
34936 #endif
34937
34938 int
34939 main ()
34940 {
34941 fabsf(0);
34942 ;
34943 return 0;
34944 }
34945 _ACEOF
34946 if ac_fn_cxx_try_compile "$LINENO"; then :
34947 glibcxx_cv_func_fabsf_use=yes
34948 else
34949 glibcxx_cv_func_fabsf_use=no
34950 fi
34951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34952 ac_ext=c
34953 ac_cpp='$CPP $CPPFLAGS'
34954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34957
34958
34959 fi
34960
34961 fi
34962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34963 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34964
34965 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34966 for ac_func in fabsf
34967 do :
34968 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34969 if test "x$ac_cv_func_fabsf" = x""yes; then :
34970 cat >>confdefs.h <<_ACEOF
34971 #define HAVE_FABSF 1
34972 _ACEOF
34973
34974 fi
34975 done
34976
34977 else
34978
34979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34980 $as_echo_n "checking for _fabsf declaration... " >&6; }
34981 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34982 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34983 $as_echo_n "(cached) " >&6
34984 else
34985
34986
34987 ac_ext=cpp
34988 ac_cpp='$CXXCPP $CPPFLAGS'
34989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34992
34993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34994 /* end confdefs.h. */
34995 #include <math.h>
34996 #ifdef HAVE_IEEEFP_H
34997 #include <ieeefp.h>
34998 #endif
34999
35000 int
35001 main ()
35002 {
35003 _fabsf(0);
35004 ;
35005 return 0;
35006 }
35007 _ACEOF
35008 if ac_fn_cxx_try_compile "$LINENO"; then :
35009 glibcxx_cv_func__fabsf_use=yes
35010 else
35011 glibcxx_cv_func__fabsf_use=no
35012 fi
35013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35014 ac_ext=c
35015 ac_cpp='$CPP $CPPFLAGS'
35016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35019
35020
35021 fi
35022
35023 fi
35024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35025 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35026
35027 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35028 for ac_func in _fabsf
35029 do :
35030 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35031 if test "x$ac_cv_func__fabsf" = x""yes; then :
35032 cat >>confdefs.h <<_ACEOF
35033 #define HAVE__FABSF 1
35034 _ACEOF
35035
35036 fi
35037 done
35038
35039 fi
35040 fi
35041
35042
35043
35044
35045
35046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35047 $as_echo_n "checking for fmodf declaration... " >&6; }
35048 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35049 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35050 $as_echo_n "(cached) " >&6
35051 else
35052
35053
35054 ac_ext=cpp
35055 ac_cpp='$CXXCPP $CPPFLAGS'
35056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35059
35060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35061 /* end confdefs.h. */
35062 #include <math.h>
35063 int
35064 main ()
35065 {
35066 fmodf(0, 0);
35067 ;
35068 return 0;
35069 }
35070 _ACEOF
35071 if ac_fn_cxx_try_compile "$LINENO"; then :
35072 glibcxx_cv_func_fmodf_use=yes
35073 else
35074 glibcxx_cv_func_fmodf_use=no
35075 fi
35076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35077 ac_ext=c
35078 ac_cpp='$CPP $CPPFLAGS'
35079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35082
35083
35084 fi
35085
35086 fi
35087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35088 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35089
35090 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35091 for ac_func in fmodf
35092 do :
35093 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35094 if test "x$ac_cv_func_fmodf" = x""yes; then :
35095 cat >>confdefs.h <<_ACEOF
35096 #define HAVE_FMODF 1
35097 _ACEOF
35098
35099 fi
35100 done
35101
35102 else
35103
35104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35105 $as_echo_n "checking for _fmodf declaration... " >&6; }
35106 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35107 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35108 $as_echo_n "(cached) " >&6
35109 else
35110
35111
35112 ac_ext=cpp
35113 ac_cpp='$CXXCPP $CPPFLAGS'
35114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35117
35118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35119 /* end confdefs.h. */
35120 #include <math.h>
35121 int
35122 main ()
35123 {
35124 _fmodf(0, 0);
35125 ;
35126 return 0;
35127 }
35128 _ACEOF
35129 if ac_fn_cxx_try_compile "$LINENO"; then :
35130 glibcxx_cv_func__fmodf_use=yes
35131 else
35132 glibcxx_cv_func__fmodf_use=no
35133 fi
35134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35135 ac_ext=c
35136 ac_cpp='$CPP $CPPFLAGS'
35137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35140
35141
35142 fi
35143
35144 fi
35145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35146 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35147
35148 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35149 for ac_func in _fmodf
35150 do :
35151 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35152 if test "x$ac_cv_func__fmodf" = x""yes; then :
35153 cat >>confdefs.h <<_ACEOF
35154 #define HAVE__FMODF 1
35155 _ACEOF
35156
35157 fi
35158 done
35159
35160 fi
35161 fi
35162
35163
35164
35165
35166
35167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35168 $as_echo_n "checking for frexpf declaration... " >&6; }
35169 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35170 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35171 $as_echo_n "(cached) " >&6
35172 else
35173
35174
35175 ac_ext=cpp
35176 ac_cpp='$CXXCPP $CPPFLAGS'
35177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35180
35181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35182 /* end confdefs.h. */
35183 #include <math.h>
35184 int
35185 main ()
35186 {
35187 frexpf(0, 0);
35188 ;
35189 return 0;
35190 }
35191 _ACEOF
35192 if ac_fn_cxx_try_compile "$LINENO"; then :
35193 glibcxx_cv_func_frexpf_use=yes
35194 else
35195 glibcxx_cv_func_frexpf_use=no
35196 fi
35197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35198 ac_ext=c
35199 ac_cpp='$CPP $CPPFLAGS'
35200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35203
35204
35205 fi
35206
35207 fi
35208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35209 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35210
35211 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35212 for ac_func in frexpf
35213 do :
35214 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35215 if test "x$ac_cv_func_frexpf" = x""yes; then :
35216 cat >>confdefs.h <<_ACEOF
35217 #define HAVE_FREXPF 1
35218 _ACEOF
35219
35220 fi
35221 done
35222
35223 else
35224
35225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35226 $as_echo_n "checking for _frexpf declaration... " >&6; }
35227 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35228 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35229 $as_echo_n "(cached) " >&6
35230 else
35231
35232
35233 ac_ext=cpp
35234 ac_cpp='$CXXCPP $CPPFLAGS'
35235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35238
35239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35240 /* end confdefs.h. */
35241 #include <math.h>
35242 int
35243 main ()
35244 {
35245 _frexpf(0, 0);
35246 ;
35247 return 0;
35248 }
35249 _ACEOF
35250 if ac_fn_cxx_try_compile "$LINENO"; then :
35251 glibcxx_cv_func__frexpf_use=yes
35252 else
35253 glibcxx_cv_func__frexpf_use=no
35254 fi
35255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35256 ac_ext=c
35257 ac_cpp='$CPP $CPPFLAGS'
35258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35261
35262
35263 fi
35264
35265 fi
35266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35267 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35268
35269 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35270 for ac_func in _frexpf
35271 do :
35272 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35273 if test "x$ac_cv_func__frexpf" = x""yes; then :
35274 cat >>confdefs.h <<_ACEOF
35275 #define HAVE__FREXPF 1
35276 _ACEOF
35277
35278 fi
35279 done
35280
35281 fi
35282 fi
35283
35284
35285
35286
35287
35288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35289 $as_echo_n "checking for hypotf declaration... " >&6; }
35290 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35291 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35292 $as_echo_n "(cached) " >&6
35293 else
35294
35295
35296 ac_ext=cpp
35297 ac_cpp='$CXXCPP $CPPFLAGS'
35298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35301
35302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35303 /* end confdefs.h. */
35304 #include <math.h>
35305 int
35306 main ()
35307 {
35308 hypotf(0, 0);
35309 ;
35310 return 0;
35311 }
35312 _ACEOF
35313 if ac_fn_cxx_try_compile "$LINENO"; then :
35314 glibcxx_cv_func_hypotf_use=yes
35315 else
35316 glibcxx_cv_func_hypotf_use=no
35317 fi
35318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35319 ac_ext=c
35320 ac_cpp='$CPP $CPPFLAGS'
35321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35324
35325
35326 fi
35327
35328 fi
35329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35330 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35331
35332 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35333 for ac_func in hypotf
35334 do :
35335 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35336 if test "x$ac_cv_func_hypotf" = x""yes; then :
35337 cat >>confdefs.h <<_ACEOF
35338 #define HAVE_HYPOTF 1
35339 _ACEOF
35340
35341 fi
35342 done
35343
35344 else
35345
35346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35347 $as_echo_n "checking for _hypotf declaration... " >&6; }
35348 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35349 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35350 $as_echo_n "(cached) " >&6
35351 else
35352
35353
35354 ac_ext=cpp
35355 ac_cpp='$CXXCPP $CPPFLAGS'
35356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35359
35360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35361 /* end confdefs.h. */
35362 #include <math.h>
35363 int
35364 main ()
35365 {
35366 _hypotf(0, 0);
35367 ;
35368 return 0;
35369 }
35370 _ACEOF
35371 if ac_fn_cxx_try_compile "$LINENO"; then :
35372 glibcxx_cv_func__hypotf_use=yes
35373 else
35374 glibcxx_cv_func__hypotf_use=no
35375 fi
35376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35377 ac_ext=c
35378 ac_cpp='$CPP $CPPFLAGS'
35379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35382
35383
35384 fi
35385
35386 fi
35387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35388 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35389
35390 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35391 for ac_func in _hypotf
35392 do :
35393 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35394 if test "x$ac_cv_func__hypotf" = x""yes; then :
35395 cat >>confdefs.h <<_ACEOF
35396 #define HAVE__HYPOTF 1
35397 _ACEOF
35398
35399 fi
35400 done
35401
35402 fi
35403 fi
35404
35405
35406
35407
35408
35409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35410 $as_echo_n "checking for ldexpf declaration... " >&6; }
35411 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35412 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35413 $as_echo_n "(cached) " >&6
35414 else
35415
35416
35417 ac_ext=cpp
35418 ac_cpp='$CXXCPP $CPPFLAGS'
35419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35422
35423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35424 /* end confdefs.h. */
35425 #include <math.h>
35426 int
35427 main ()
35428 {
35429 ldexpf(0, 0);
35430 ;
35431 return 0;
35432 }
35433 _ACEOF
35434 if ac_fn_cxx_try_compile "$LINENO"; then :
35435 glibcxx_cv_func_ldexpf_use=yes
35436 else
35437 glibcxx_cv_func_ldexpf_use=no
35438 fi
35439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35440 ac_ext=c
35441 ac_cpp='$CPP $CPPFLAGS'
35442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35445
35446
35447 fi
35448
35449 fi
35450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35451 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35452
35453 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35454 for ac_func in ldexpf
35455 do :
35456 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35457 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35458 cat >>confdefs.h <<_ACEOF
35459 #define HAVE_LDEXPF 1
35460 _ACEOF
35461
35462 fi
35463 done
35464
35465 else
35466
35467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35468 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35469 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35470 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35471 $as_echo_n "(cached) " >&6
35472 else
35473
35474
35475 ac_ext=cpp
35476 ac_cpp='$CXXCPP $CPPFLAGS'
35477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35480
35481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35482 /* end confdefs.h. */
35483 #include <math.h>
35484 int
35485 main ()
35486 {
35487 _ldexpf(0, 0);
35488 ;
35489 return 0;
35490 }
35491 _ACEOF
35492 if ac_fn_cxx_try_compile "$LINENO"; then :
35493 glibcxx_cv_func__ldexpf_use=yes
35494 else
35495 glibcxx_cv_func__ldexpf_use=no
35496 fi
35497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35498 ac_ext=c
35499 ac_cpp='$CPP $CPPFLAGS'
35500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35503
35504
35505 fi
35506
35507 fi
35508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35509 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35510
35511 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35512 for ac_func in _ldexpf
35513 do :
35514 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35515 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35516 cat >>confdefs.h <<_ACEOF
35517 #define HAVE__LDEXPF 1
35518 _ACEOF
35519
35520 fi
35521 done
35522
35523 fi
35524 fi
35525
35526
35527
35528
35529
35530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35531 $as_echo_n "checking for logf declaration... " >&6; }
35532 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35533 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35534 $as_echo_n "(cached) " >&6
35535 else
35536
35537
35538 ac_ext=cpp
35539 ac_cpp='$CXXCPP $CPPFLAGS'
35540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35543
35544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35545 /* end confdefs.h. */
35546 #include <math.h>
35547 #ifdef HAVE_IEEEFP_H
35548 #include <ieeefp.h>
35549 #endif
35550
35551 int
35552 main ()
35553 {
35554 logf(0);
35555 ;
35556 return 0;
35557 }
35558 _ACEOF
35559 if ac_fn_cxx_try_compile "$LINENO"; then :
35560 glibcxx_cv_func_logf_use=yes
35561 else
35562 glibcxx_cv_func_logf_use=no
35563 fi
35564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35565 ac_ext=c
35566 ac_cpp='$CPP $CPPFLAGS'
35567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35570
35571
35572 fi
35573
35574 fi
35575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35576 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35577
35578 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35579 for ac_func in logf
35580 do :
35581 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35582 if test "x$ac_cv_func_logf" = x""yes; then :
35583 cat >>confdefs.h <<_ACEOF
35584 #define HAVE_LOGF 1
35585 _ACEOF
35586
35587 fi
35588 done
35589
35590 else
35591
35592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35593 $as_echo_n "checking for _logf declaration... " >&6; }
35594 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35595 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35596 $as_echo_n "(cached) " >&6
35597 else
35598
35599
35600 ac_ext=cpp
35601 ac_cpp='$CXXCPP $CPPFLAGS'
35602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35605
35606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35607 /* end confdefs.h. */
35608 #include <math.h>
35609 #ifdef HAVE_IEEEFP_H
35610 #include <ieeefp.h>
35611 #endif
35612
35613 int
35614 main ()
35615 {
35616 _logf(0);
35617 ;
35618 return 0;
35619 }
35620 _ACEOF
35621 if ac_fn_cxx_try_compile "$LINENO"; then :
35622 glibcxx_cv_func__logf_use=yes
35623 else
35624 glibcxx_cv_func__logf_use=no
35625 fi
35626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35627 ac_ext=c
35628 ac_cpp='$CPP $CPPFLAGS'
35629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35632
35633
35634 fi
35635
35636 fi
35637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35638 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35639
35640 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35641 for ac_func in _logf
35642 do :
35643 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35644 if test "x$ac_cv_func__logf" = x""yes; then :
35645 cat >>confdefs.h <<_ACEOF
35646 #define HAVE__LOGF 1
35647 _ACEOF
35648
35649 fi
35650 done
35651
35652 fi
35653 fi
35654
35655
35656
35657
35658
35659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35660 $as_echo_n "checking for log10f declaration... " >&6; }
35661 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35662 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35663 $as_echo_n "(cached) " >&6
35664 else
35665
35666
35667 ac_ext=cpp
35668 ac_cpp='$CXXCPP $CPPFLAGS'
35669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35672
35673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35674 /* end confdefs.h. */
35675 #include <math.h>
35676 #ifdef HAVE_IEEEFP_H
35677 #include <ieeefp.h>
35678 #endif
35679
35680 int
35681 main ()
35682 {
35683 log10f(0);
35684 ;
35685 return 0;
35686 }
35687 _ACEOF
35688 if ac_fn_cxx_try_compile "$LINENO"; then :
35689 glibcxx_cv_func_log10f_use=yes
35690 else
35691 glibcxx_cv_func_log10f_use=no
35692 fi
35693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35694 ac_ext=c
35695 ac_cpp='$CPP $CPPFLAGS'
35696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35699
35700
35701 fi
35702
35703 fi
35704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35705 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35706
35707 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35708 for ac_func in log10f
35709 do :
35710 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35711 if test "x$ac_cv_func_log10f" = x""yes; then :
35712 cat >>confdefs.h <<_ACEOF
35713 #define HAVE_LOG10F 1
35714 _ACEOF
35715
35716 fi
35717 done
35718
35719 else
35720
35721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35722 $as_echo_n "checking for _log10f declaration... " >&6; }
35723 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35724 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35725 $as_echo_n "(cached) " >&6
35726 else
35727
35728
35729 ac_ext=cpp
35730 ac_cpp='$CXXCPP $CPPFLAGS'
35731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35734
35735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35736 /* end confdefs.h. */
35737 #include <math.h>
35738 #ifdef HAVE_IEEEFP_H
35739 #include <ieeefp.h>
35740 #endif
35741
35742 int
35743 main ()
35744 {
35745 _log10f(0);
35746 ;
35747 return 0;
35748 }
35749 _ACEOF
35750 if ac_fn_cxx_try_compile "$LINENO"; then :
35751 glibcxx_cv_func__log10f_use=yes
35752 else
35753 glibcxx_cv_func__log10f_use=no
35754 fi
35755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35756 ac_ext=c
35757 ac_cpp='$CPP $CPPFLAGS'
35758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35761
35762
35763 fi
35764
35765 fi
35766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35767 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35768
35769 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35770 for ac_func in _log10f
35771 do :
35772 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35773 if test "x$ac_cv_func__log10f" = x""yes; then :
35774 cat >>confdefs.h <<_ACEOF
35775 #define HAVE__LOG10F 1
35776 _ACEOF
35777
35778 fi
35779 done
35780
35781 fi
35782 fi
35783
35784
35785
35786
35787
35788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35789 $as_echo_n "checking for modff declaration... " >&6; }
35790 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35791 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35792 $as_echo_n "(cached) " >&6
35793 else
35794
35795
35796 ac_ext=cpp
35797 ac_cpp='$CXXCPP $CPPFLAGS'
35798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35801
35802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35803 /* end confdefs.h. */
35804 #include <math.h>
35805 int
35806 main ()
35807 {
35808 modff(0, 0);
35809 ;
35810 return 0;
35811 }
35812 _ACEOF
35813 if ac_fn_cxx_try_compile "$LINENO"; then :
35814 glibcxx_cv_func_modff_use=yes
35815 else
35816 glibcxx_cv_func_modff_use=no
35817 fi
35818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35819 ac_ext=c
35820 ac_cpp='$CPP $CPPFLAGS'
35821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35824
35825
35826 fi
35827
35828 fi
35829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35830 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35831
35832 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35833 for ac_func in modff
35834 do :
35835 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35836 if test "x$ac_cv_func_modff" = x""yes; then :
35837 cat >>confdefs.h <<_ACEOF
35838 #define HAVE_MODFF 1
35839 _ACEOF
35840
35841 fi
35842 done
35843
35844 else
35845
35846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35847 $as_echo_n "checking for _modff declaration... " >&6; }
35848 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35849 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35850 $as_echo_n "(cached) " >&6
35851 else
35852
35853
35854 ac_ext=cpp
35855 ac_cpp='$CXXCPP $CPPFLAGS'
35856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35859
35860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35861 /* end confdefs.h. */
35862 #include <math.h>
35863 int
35864 main ()
35865 {
35866 _modff(0, 0);
35867 ;
35868 return 0;
35869 }
35870 _ACEOF
35871 if ac_fn_cxx_try_compile "$LINENO"; then :
35872 glibcxx_cv_func__modff_use=yes
35873 else
35874 glibcxx_cv_func__modff_use=no
35875 fi
35876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35877 ac_ext=c
35878 ac_cpp='$CPP $CPPFLAGS'
35879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35882
35883
35884 fi
35885
35886 fi
35887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35888 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35889
35890 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35891 for ac_func in _modff
35892 do :
35893 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35894 if test "x$ac_cv_func__modff" = x""yes; then :
35895 cat >>confdefs.h <<_ACEOF
35896 #define HAVE__MODFF 1
35897 _ACEOF
35898
35899 fi
35900 done
35901
35902 fi
35903 fi
35904
35905
35906
35907
35908
35909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35910 $as_echo_n "checking for modf declaration... " >&6; }
35911 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35912 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35913 $as_echo_n "(cached) " >&6
35914 else
35915
35916
35917 ac_ext=cpp
35918 ac_cpp='$CXXCPP $CPPFLAGS'
35919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35922
35923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35924 /* end confdefs.h. */
35925 #include <math.h>
35926 int
35927 main ()
35928 {
35929 modf(0, 0);
35930 ;
35931 return 0;
35932 }
35933 _ACEOF
35934 if ac_fn_cxx_try_compile "$LINENO"; then :
35935 glibcxx_cv_func_modf_use=yes
35936 else
35937 glibcxx_cv_func_modf_use=no
35938 fi
35939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35940 ac_ext=c
35941 ac_cpp='$CPP $CPPFLAGS'
35942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35945
35946
35947 fi
35948
35949 fi
35950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35951 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35952
35953 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35954 for ac_func in modf
35955 do :
35956 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35957 if test "x$ac_cv_func_modf" = x""yes; then :
35958 cat >>confdefs.h <<_ACEOF
35959 #define HAVE_MODF 1
35960 _ACEOF
35961
35962 fi
35963 done
35964
35965 else
35966
35967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35968 $as_echo_n "checking for _modf declaration... " >&6; }
35969 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35970 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35971 $as_echo_n "(cached) " >&6
35972 else
35973
35974
35975 ac_ext=cpp
35976 ac_cpp='$CXXCPP $CPPFLAGS'
35977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35980
35981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35982 /* end confdefs.h. */
35983 #include <math.h>
35984 int
35985 main ()
35986 {
35987 _modf(0, 0);
35988 ;
35989 return 0;
35990 }
35991 _ACEOF
35992 if ac_fn_cxx_try_compile "$LINENO"; then :
35993 glibcxx_cv_func__modf_use=yes
35994 else
35995 glibcxx_cv_func__modf_use=no
35996 fi
35997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35998 ac_ext=c
35999 ac_cpp='$CPP $CPPFLAGS'
36000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36003
36004
36005 fi
36006
36007 fi
36008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36009 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36010
36011 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36012 for ac_func in _modf
36013 do :
36014 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36015 if test "x$ac_cv_func__modf" = x""yes; then :
36016 cat >>confdefs.h <<_ACEOF
36017 #define HAVE__MODF 1
36018 _ACEOF
36019
36020 fi
36021 done
36022
36023 fi
36024 fi
36025
36026
36027
36028
36029
36030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36031 $as_echo_n "checking for powf declaration... " >&6; }
36032 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36033 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36034 $as_echo_n "(cached) " >&6
36035 else
36036
36037
36038 ac_ext=cpp
36039 ac_cpp='$CXXCPP $CPPFLAGS'
36040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36043
36044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36045 /* end confdefs.h. */
36046 #include <math.h>
36047 int
36048 main ()
36049 {
36050 powf(0, 0);
36051 ;
36052 return 0;
36053 }
36054 _ACEOF
36055 if ac_fn_cxx_try_compile "$LINENO"; then :
36056 glibcxx_cv_func_powf_use=yes
36057 else
36058 glibcxx_cv_func_powf_use=no
36059 fi
36060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36061 ac_ext=c
36062 ac_cpp='$CPP $CPPFLAGS'
36063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36066
36067
36068 fi
36069
36070 fi
36071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36072 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36073
36074 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36075 for ac_func in powf
36076 do :
36077 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36078 if test "x$ac_cv_func_powf" = x""yes; then :
36079 cat >>confdefs.h <<_ACEOF
36080 #define HAVE_POWF 1
36081 _ACEOF
36082
36083 fi
36084 done
36085
36086 else
36087
36088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36089 $as_echo_n "checking for _powf declaration... " >&6; }
36090 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36091 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36092 $as_echo_n "(cached) " >&6
36093 else
36094
36095
36096 ac_ext=cpp
36097 ac_cpp='$CXXCPP $CPPFLAGS'
36098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36101
36102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36103 /* end confdefs.h. */
36104 #include <math.h>
36105 int
36106 main ()
36107 {
36108 _powf(0, 0);
36109 ;
36110 return 0;
36111 }
36112 _ACEOF
36113 if ac_fn_cxx_try_compile "$LINENO"; then :
36114 glibcxx_cv_func__powf_use=yes
36115 else
36116 glibcxx_cv_func__powf_use=no
36117 fi
36118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36119 ac_ext=c
36120 ac_cpp='$CPP $CPPFLAGS'
36121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36124
36125
36126 fi
36127
36128 fi
36129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36130 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36131
36132 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36133 for ac_func in _powf
36134 do :
36135 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36136 if test "x$ac_cv_func__powf" = x""yes; then :
36137 cat >>confdefs.h <<_ACEOF
36138 #define HAVE__POWF 1
36139 _ACEOF
36140
36141 fi
36142 done
36143
36144 fi
36145 fi
36146
36147
36148
36149
36150
36151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36152 $as_echo_n "checking for sqrtf declaration... " >&6; }
36153 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36154 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36155 $as_echo_n "(cached) " >&6
36156 else
36157
36158
36159 ac_ext=cpp
36160 ac_cpp='$CXXCPP $CPPFLAGS'
36161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36164
36165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36166 /* end confdefs.h. */
36167 #include <math.h>
36168 #ifdef HAVE_IEEEFP_H
36169 #include <ieeefp.h>
36170 #endif
36171
36172 int
36173 main ()
36174 {
36175 sqrtf(0);
36176 ;
36177 return 0;
36178 }
36179 _ACEOF
36180 if ac_fn_cxx_try_compile "$LINENO"; then :
36181 glibcxx_cv_func_sqrtf_use=yes
36182 else
36183 glibcxx_cv_func_sqrtf_use=no
36184 fi
36185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36186 ac_ext=c
36187 ac_cpp='$CPP $CPPFLAGS'
36188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36191
36192
36193 fi
36194
36195 fi
36196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36197 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36198
36199 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36200 for ac_func in sqrtf
36201 do :
36202 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36203 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36204 cat >>confdefs.h <<_ACEOF
36205 #define HAVE_SQRTF 1
36206 _ACEOF
36207
36208 fi
36209 done
36210
36211 else
36212
36213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36214 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36215 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36216 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36217 $as_echo_n "(cached) " >&6
36218 else
36219
36220
36221 ac_ext=cpp
36222 ac_cpp='$CXXCPP $CPPFLAGS'
36223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36226
36227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36228 /* end confdefs.h. */
36229 #include <math.h>
36230 #ifdef HAVE_IEEEFP_H
36231 #include <ieeefp.h>
36232 #endif
36233
36234 int
36235 main ()
36236 {
36237 _sqrtf(0);
36238 ;
36239 return 0;
36240 }
36241 _ACEOF
36242 if ac_fn_cxx_try_compile "$LINENO"; then :
36243 glibcxx_cv_func__sqrtf_use=yes
36244 else
36245 glibcxx_cv_func__sqrtf_use=no
36246 fi
36247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36248 ac_ext=c
36249 ac_cpp='$CPP $CPPFLAGS'
36250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36253
36254
36255 fi
36256
36257 fi
36258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36259 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36260
36261 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36262 for ac_func in _sqrtf
36263 do :
36264 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36265 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36266 cat >>confdefs.h <<_ACEOF
36267 #define HAVE__SQRTF 1
36268 _ACEOF
36269
36270 fi
36271 done
36272
36273 fi
36274 fi
36275
36276
36277
36278
36279
36280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36281 $as_echo_n "checking for sincosf declaration... " >&6; }
36282 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36283 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36284 $as_echo_n "(cached) " >&6
36285 else
36286
36287
36288 ac_ext=cpp
36289 ac_cpp='$CXXCPP $CPPFLAGS'
36290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36293
36294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36295 /* end confdefs.h. */
36296 #include <math.h>
36297 int
36298 main ()
36299 {
36300 sincosf(0, 0, 0);
36301 ;
36302 return 0;
36303 }
36304 _ACEOF
36305 if ac_fn_cxx_try_compile "$LINENO"; then :
36306 glibcxx_cv_func_sincosf_use=yes
36307 else
36308 glibcxx_cv_func_sincosf_use=no
36309 fi
36310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36311 ac_ext=c
36312 ac_cpp='$CPP $CPPFLAGS'
36313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36316
36317
36318 fi
36319
36320 fi
36321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36322 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36323
36324 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36325 for ac_func in sincosf
36326 do :
36327 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36328 if test "x$ac_cv_func_sincosf" = x""yes; then :
36329 cat >>confdefs.h <<_ACEOF
36330 #define HAVE_SINCOSF 1
36331 _ACEOF
36332
36333 fi
36334 done
36335
36336 else
36337
36338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36339 $as_echo_n "checking for _sincosf declaration... " >&6; }
36340 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36341 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36342 $as_echo_n "(cached) " >&6
36343 else
36344
36345
36346 ac_ext=cpp
36347 ac_cpp='$CXXCPP $CPPFLAGS'
36348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36351
36352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36353 /* end confdefs.h. */
36354 #include <math.h>
36355 int
36356 main ()
36357 {
36358 _sincosf(0, 0, 0);
36359 ;
36360 return 0;
36361 }
36362 _ACEOF
36363 if ac_fn_cxx_try_compile "$LINENO"; then :
36364 glibcxx_cv_func__sincosf_use=yes
36365 else
36366 glibcxx_cv_func__sincosf_use=no
36367 fi
36368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36369 ac_ext=c
36370 ac_cpp='$CPP $CPPFLAGS'
36371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36374
36375
36376 fi
36377
36378 fi
36379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36380 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36381
36382 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36383 for ac_func in _sincosf
36384 do :
36385 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36386 if test "x$ac_cv_func__sincosf" = x""yes; then :
36387 cat >>confdefs.h <<_ACEOF
36388 #define HAVE__SINCOSF 1
36389 _ACEOF
36390
36391 fi
36392 done
36393
36394 fi
36395 fi
36396
36397
36398
36399
36400
36401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36402 $as_echo_n "checking for finitef declaration... " >&6; }
36403 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36404 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36405 $as_echo_n "(cached) " >&6
36406 else
36407
36408
36409 ac_ext=cpp
36410 ac_cpp='$CXXCPP $CPPFLAGS'
36411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36414
36415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36416 /* end confdefs.h. */
36417 #include <math.h>
36418 #ifdef HAVE_IEEEFP_H
36419 #include <ieeefp.h>
36420 #endif
36421
36422 int
36423 main ()
36424 {
36425 finitef(0);
36426 ;
36427 return 0;
36428 }
36429 _ACEOF
36430 if ac_fn_cxx_try_compile "$LINENO"; then :
36431 glibcxx_cv_func_finitef_use=yes
36432 else
36433 glibcxx_cv_func_finitef_use=no
36434 fi
36435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36436 ac_ext=c
36437 ac_cpp='$CPP $CPPFLAGS'
36438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36441
36442
36443 fi
36444
36445 fi
36446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36447 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36448
36449 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36450 for ac_func in finitef
36451 do :
36452 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36453 if test "x$ac_cv_func_finitef" = x""yes; then :
36454 cat >>confdefs.h <<_ACEOF
36455 #define HAVE_FINITEF 1
36456 _ACEOF
36457
36458 fi
36459 done
36460
36461 else
36462
36463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36464 $as_echo_n "checking for _finitef declaration... " >&6; }
36465 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36466 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36467 $as_echo_n "(cached) " >&6
36468 else
36469
36470
36471 ac_ext=cpp
36472 ac_cpp='$CXXCPP $CPPFLAGS'
36473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36476
36477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36478 /* end confdefs.h. */
36479 #include <math.h>
36480 #ifdef HAVE_IEEEFP_H
36481 #include <ieeefp.h>
36482 #endif
36483
36484 int
36485 main ()
36486 {
36487 _finitef(0);
36488 ;
36489 return 0;
36490 }
36491 _ACEOF
36492 if ac_fn_cxx_try_compile "$LINENO"; then :
36493 glibcxx_cv_func__finitef_use=yes
36494 else
36495 glibcxx_cv_func__finitef_use=no
36496 fi
36497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36498 ac_ext=c
36499 ac_cpp='$CPP $CPPFLAGS'
36500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36503
36504
36505 fi
36506
36507 fi
36508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36509 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36510
36511 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36512 for ac_func in _finitef
36513 do :
36514 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36515 if test "x$ac_cv_func__finitef" = x""yes; then :
36516 cat >>confdefs.h <<_ACEOF
36517 #define HAVE__FINITEF 1
36518 _ACEOF
36519
36520 fi
36521 done
36522
36523 fi
36524 fi
36525
36526
36527
36528
36529
36530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36531 $as_echo_n "checking for long double trig functions... " >&6; }
36532 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36533 $as_echo_n "(cached) " >&6
36534 else
36535
36536
36537 ac_ext=cpp
36538 ac_cpp='$CXXCPP $CPPFLAGS'
36539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36542
36543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36544 /* end confdefs.h. */
36545 #include <math.h>
36546 int
36547 main ()
36548 {
36549 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36550 ;
36551 return 0;
36552 }
36553 _ACEOF
36554 if ac_fn_cxx_try_compile "$LINENO"; then :
36555 glibcxx_cv_func_long_double_trig_use=yes
36556 else
36557 glibcxx_cv_func_long_double_trig_use=no
36558 fi
36559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36560 ac_ext=c
36561 ac_cpp='$CPP $CPPFLAGS'
36562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36565
36566 fi
36567
36568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36569 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36570 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36571 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36572 do :
36573 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36574 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36575 eval as_val=\$$as_ac_var
36576 if test "x$as_val" = x""yes; then :
36577 cat >>confdefs.h <<_ACEOF
36578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36579 _ACEOF
36580
36581 fi
36582 done
36583
36584 else
36585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36586 $as_echo_n "checking for _long double trig functions... " >&6; }
36587 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36588 $as_echo_n "(cached) " >&6
36589 else
36590
36591
36592 ac_ext=cpp
36593 ac_cpp='$CXXCPP $CPPFLAGS'
36594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36597
36598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36599 /* end confdefs.h. */
36600 #include <math.h>
36601 int
36602 main ()
36603 {
36604 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36605 ;
36606 return 0;
36607 }
36608 _ACEOF
36609 if ac_fn_cxx_try_compile "$LINENO"; then :
36610 glibcxx_cv_func__long_double_trig_use=yes
36611 else
36612 glibcxx_cv_func__long_double_trig_use=no
36613 fi
36614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36615 ac_ext=c
36616 ac_cpp='$CPP $CPPFLAGS'
36617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36620
36621 fi
36622
36623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36624 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36625 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36626 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36627 do :
36628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36630 eval as_val=\$$as_ac_var
36631 if test "x$as_val" = x""yes; then :
36632 cat >>confdefs.h <<_ACEOF
36633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36634 _ACEOF
36635
36636 fi
36637 done
36638
36639 fi
36640 fi
36641
36642
36643
36644
36645
36646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36647 $as_echo_n "checking for long double round functions... " >&6; }
36648 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36649 $as_echo_n "(cached) " >&6
36650 else
36651
36652
36653 ac_ext=cpp
36654 ac_cpp='$CXXCPP $CPPFLAGS'
36655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36658
36659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36660 /* end confdefs.h. */
36661 #include <math.h>
36662 int
36663 main ()
36664 {
36665 ceill (0); floorl (0);
36666 ;
36667 return 0;
36668 }
36669 _ACEOF
36670 if ac_fn_cxx_try_compile "$LINENO"; then :
36671 glibcxx_cv_func_long_double_round_use=yes
36672 else
36673 glibcxx_cv_func_long_double_round_use=no
36674 fi
36675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36676 ac_ext=c
36677 ac_cpp='$CPP $CPPFLAGS'
36678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36681
36682 fi
36683
36684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36685 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36686 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36687 for ac_func in ceill floorl
36688 do :
36689 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36690 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36691 eval as_val=\$$as_ac_var
36692 if test "x$as_val" = x""yes; then :
36693 cat >>confdefs.h <<_ACEOF
36694 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36695 _ACEOF
36696
36697 fi
36698 done
36699
36700 else
36701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36702 $as_echo_n "checking for _long double round functions... " >&6; }
36703 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36704 $as_echo_n "(cached) " >&6
36705 else
36706
36707
36708 ac_ext=cpp
36709 ac_cpp='$CXXCPP $CPPFLAGS'
36710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36713
36714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36715 /* end confdefs.h. */
36716 #include <math.h>
36717 int
36718 main ()
36719 {
36720 _ceill (0); _floorl (0);
36721 ;
36722 return 0;
36723 }
36724 _ACEOF
36725 if ac_fn_cxx_try_compile "$LINENO"; then :
36726 glibcxx_cv_func__long_double_round_use=yes
36727 else
36728 glibcxx_cv_func__long_double_round_use=no
36729 fi
36730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36731 ac_ext=c
36732 ac_cpp='$CPP $CPPFLAGS'
36733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36736
36737 fi
36738
36739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36740 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36741 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36742 for ac_func in _ceill _floorl
36743 do :
36744 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36745 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36746 eval as_val=\$$as_ac_var
36747 if test "x$as_val" = x""yes; then :
36748 cat >>confdefs.h <<_ACEOF
36749 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36750 _ACEOF
36751
36752 fi
36753 done
36754
36755 fi
36756 fi
36757
36758
36759
36760
36761
36762
36763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36764 $as_echo_n "checking for isnanl declaration... " >&6; }
36765 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36766 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36767 $as_echo_n "(cached) " >&6
36768 else
36769
36770
36771 ac_ext=cpp
36772 ac_cpp='$CXXCPP $CPPFLAGS'
36773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36776
36777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36778 /* end confdefs.h. */
36779 #include <math.h>
36780 #ifdef HAVE_IEEEFP_H
36781 #include <ieeefp.h>
36782 #endif
36783
36784 int
36785 main ()
36786 {
36787 isnanl(0);
36788 ;
36789 return 0;
36790 }
36791 _ACEOF
36792 if ac_fn_cxx_try_compile "$LINENO"; then :
36793 glibcxx_cv_func_isnanl_use=yes
36794 else
36795 glibcxx_cv_func_isnanl_use=no
36796 fi
36797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36798 ac_ext=c
36799 ac_cpp='$CPP $CPPFLAGS'
36800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36803
36804
36805 fi
36806
36807 fi
36808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36809 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36810
36811 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36812 for ac_func in isnanl
36813 do :
36814 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36815 if test "x$ac_cv_func_isnanl" = x""yes; then :
36816 cat >>confdefs.h <<_ACEOF
36817 #define HAVE_ISNANL 1
36818 _ACEOF
36819
36820 fi
36821 done
36822
36823 else
36824
36825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36826 $as_echo_n "checking for _isnanl declaration... " >&6; }
36827 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36828 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36829 $as_echo_n "(cached) " >&6
36830 else
36831
36832
36833 ac_ext=cpp
36834 ac_cpp='$CXXCPP $CPPFLAGS'
36835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36838
36839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36840 /* end confdefs.h. */
36841 #include <math.h>
36842 #ifdef HAVE_IEEEFP_H
36843 #include <ieeefp.h>
36844 #endif
36845
36846 int
36847 main ()
36848 {
36849 _isnanl(0);
36850 ;
36851 return 0;
36852 }
36853 _ACEOF
36854 if ac_fn_cxx_try_compile "$LINENO"; then :
36855 glibcxx_cv_func__isnanl_use=yes
36856 else
36857 glibcxx_cv_func__isnanl_use=no
36858 fi
36859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36860 ac_ext=c
36861 ac_cpp='$CPP $CPPFLAGS'
36862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36865
36866
36867 fi
36868
36869 fi
36870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36871 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36872
36873 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36874 for ac_func in _isnanl
36875 do :
36876 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36877 if test "x$ac_cv_func__isnanl" = x""yes; then :
36878 cat >>confdefs.h <<_ACEOF
36879 #define HAVE__ISNANL 1
36880 _ACEOF
36881
36882 fi
36883 done
36884
36885 fi
36886 fi
36887
36888
36889
36890
36891
36892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36893 $as_echo_n "checking for isinfl declaration... " >&6; }
36894 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36895 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36896 $as_echo_n "(cached) " >&6
36897 else
36898
36899
36900 ac_ext=cpp
36901 ac_cpp='$CXXCPP $CPPFLAGS'
36902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36905
36906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36907 /* end confdefs.h. */
36908 #include <math.h>
36909 #ifdef HAVE_IEEEFP_H
36910 #include <ieeefp.h>
36911 #endif
36912
36913 int
36914 main ()
36915 {
36916 isinfl(0);
36917 ;
36918 return 0;
36919 }
36920 _ACEOF
36921 if ac_fn_cxx_try_compile "$LINENO"; then :
36922 glibcxx_cv_func_isinfl_use=yes
36923 else
36924 glibcxx_cv_func_isinfl_use=no
36925 fi
36926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36927 ac_ext=c
36928 ac_cpp='$CPP $CPPFLAGS'
36929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36932
36933
36934 fi
36935
36936 fi
36937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36938 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36939
36940 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36941 for ac_func in isinfl
36942 do :
36943 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36944 if test "x$ac_cv_func_isinfl" = x""yes; then :
36945 cat >>confdefs.h <<_ACEOF
36946 #define HAVE_ISINFL 1
36947 _ACEOF
36948
36949 fi
36950 done
36951
36952 else
36953
36954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36955 $as_echo_n "checking for _isinfl declaration... " >&6; }
36956 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36957 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36958 $as_echo_n "(cached) " >&6
36959 else
36960
36961
36962 ac_ext=cpp
36963 ac_cpp='$CXXCPP $CPPFLAGS'
36964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36967
36968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36969 /* end confdefs.h. */
36970 #include <math.h>
36971 #ifdef HAVE_IEEEFP_H
36972 #include <ieeefp.h>
36973 #endif
36974
36975 int
36976 main ()
36977 {
36978 _isinfl(0);
36979 ;
36980 return 0;
36981 }
36982 _ACEOF
36983 if ac_fn_cxx_try_compile "$LINENO"; then :
36984 glibcxx_cv_func__isinfl_use=yes
36985 else
36986 glibcxx_cv_func__isinfl_use=no
36987 fi
36988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36989 ac_ext=c
36990 ac_cpp='$CPP $CPPFLAGS'
36991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36994
36995
36996 fi
36997
36998 fi
36999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37000 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37001
37002 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37003 for ac_func in _isinfl
37004 do :
37005 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37006 if test "x$ac_cv_func__isinfl" = x""yes; then :
37007 cat >>confdefs.h <<_ACEOF
37008 #define HAVE__ISINFL 1
37009 _ACEOF
37010
37011 fi
37012 done
37013
37014 fi
37015 fi
37016
37017
37018
37019
37020
37021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37022 $as_echo_n "checking for atan2l declaration... " >&6; }
37023 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37024 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37025 $as_echo_n "(cached) " >&6
37026 else
37027
37028
37029 ac_ext=cpp
37030 ac_cpp='$CXXCPP $CPPFLAGS'
37031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37034
37035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37036 /* end confdefs.h. */
37037 #include <math.h>
37038 int
37039 main ()
37040 {
37041 atan2l(0, 0);
37042 ;
37043 return 0;
37044 }
37045 _ACEOF
37046 if ac_fn_cxx_try_compile "$LINENO"; then :
37047 glibcxx_cv_func_atan2l_use=yes
37048 else
37049 glibcxx_cv_func_atan2l_use=no
37050 fi
37051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37052 ac_ext=c
37053 ac_cpp='$CPP $CPPFLAGS'
37054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37057
37058
37059 fi
37060
37061 fi
37062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37063 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37064
37065 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37066 for ac_func in atan2l
37067 do :
37068 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37069 if test "x$ac_cv_func_atan2l" = x""yes; then :
37070 cat >>confdefs.h <<_ACEOF
37071 #define HAVE_ATAN2L 1
37072 _ACEOF
37073
37074 fi
37075 done
37076
37077 else
37078
37079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37080 $as_echo_n "checking for _atan2l declaration... " >&6; }
37081 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37082 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37083 $as_echo_n "(cached) " >&6
37084 else
37085
37086
37087 ac_ext=cpp
37088 ac_cpp='$CXXCPP $CPPFLAGS'
37089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37092
37093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37094 /* end confdefs.h. */
37095 #include <math.h>
37096 int
37097 main ()
37098 {
37099 _atan2l(0, 0);
37100 ;
37101 return 0;
37102 }
37103 _ACEOF
37104 if ac_fn_cxx_try_compile "$LINENO"; then :
37105 glibcxx_cv_func__atan2l_use=yes
37106 else
37107 glibcxx_cv_func__atan2l_use=no
37108 fi
37109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37110 ac_ext=c
37111 ac_cpp='$CPP $CPPFLAGS'
37112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37115
37116
37117 fi
37118
37119 fi
37120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37121 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37122
37123 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37124 for ac_func in _atan2l
37125 do :
37126 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37127 if test "x$ac_cv_func__atan2l" = x""yes; then :
37128 cat >>confdefs.h <<_ACEOF
37129 #define HAVE__ATAN2L 1
37130 _ACEOF
37131
37132 fi
37133 done
37134
37135 fi
37136 fi
37137
37138
37139
37140
37141
37142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37143 $as_echo_n "checking for expl declaration... " >&6; }
37144 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37145 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37146 $as_echo_n "(cached) " >&6
37147 else
37148
37149
37150 ac_ext=cpp
37151 ac_cpp='$CXXCPP $CPPFLAGS'
37152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37155
37156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37157 /* end confdefs.h. */
37158 #include <math.h>
37159 #ifdef HAVE_IEEEFP_H
37160 #include <ieeefp.h>
37161 #endif
37162
37163 int
37164 main ()
37165 {
37166 expl(0);
37167 ;
37168 return 0;
37169 }
37170 _ACEOF
37171 if ac_fn_cxx_try_compile "$LINENO"; then :
37172 glibcxx_cv_func_expl_use=yes
37173 else
37174 glibcxx_cv_func_expl_use=no
37175 fi
37176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37177 ac_ext=c
37178 ac_cpp='$CPP $CPPFLAGS'
37179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37182
37183
37184 fi
37185
37186 fi
37187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37188 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37189
37190 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37191 for ac_func in expl
37192 do :
37193 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37194 if test "x$ac_cv_func_expl" = x""yes; then :
37195 cat >>confdefs.h <<_ACEOF
37196 #define HAVE_EXPL 1
37197 _ACEOF
37198
37199 fi
37200 done
37201
37202 else
37203
37204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37205 $as_echo_n "checking for _expl declaration... " >&6; }
37206 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37207 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37208 $as_echo_n "(cached) " >&6
37209 else
37210
37211
37212 ac_ext=cpp
37213 ac_cpp='$CXXCPP $CPPFLAGS'
37214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37217
37218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37219 /* end confdefs.h. */
37220 #include <math.h>
37221 #ifdef HAVE_IEEEFP_H
37222 #include <ieeefp.h>
37223 #endif
37224
37225 int
37226 main ()
37227 {
37228 _expl(0);
37229 ;
37230 return 0;
37231 }
37232 _ACEOF
37233 if ac_fn_cxx_try_compile "$LINENO"; then :
37234 glibcxx_cv_func__expl_use=yes
37235 else
37236 glibcxx_cv_func__expl_use=no
37237 fi
37238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37239 ac_ext=c
37240 ac_cpp='$CPP $CPPFLAGS'
37241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37244
37245
37246 fi
37247
37248 fi
37249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37250 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37251
37252 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37253 for ac_func in _expl
37254 do :
37255 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37256 if test "x$ac_cv_func__expl" = x""yes; then :
37257 cat >>confdefs.h <<_ACEOF
37258 #define HAVE__EXPL 1
37259 _ACEOF
37260
37261 fi
37262 done
37263
37264 fi
37265 fi
37266
37267
37268
37269
37270
37271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37272 $as_echo_n "checking for fabsl declaration... " >&6; }
37273 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37274 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37275 $as_echo_n "(cached) " >&6
37276 else
37277
37278
37279 ac_ext=cpp
37280 ac_cpp='$CXXCPP $CPPFLAGS'
37281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37284
37285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37286 /* end confdefs.h. */
37287 #include <math.h>
37288 #ifdef HAVE_IEEEFP_H
37289 #include <ieeefp.h>
37290 #endif
37291
37292 int
37293 main ()
37294 {
37295 fabsl(0);
37296 ;
37297 return 0;
37298 }
37299 _ACEOF
37300 if ac_fn_cxx_try_compile "$LINENO"; then :
37301 glibcxx_cv_func_fabsl_use=yes
37302 else
37303 glibcxx_cv_func_fabsl_use=no
37304 fi
37305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37306 ac_ext=c
37307 ac_cpp='$CPP $CPPFLAGS'
37308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37311
37312
37313 fi
37314
37315 fi
37316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37317 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37318
37319 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37320 for ac_func in fabsl
37321 do :
37322 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37323 if test "x$ac_cv_func_fabsl" = x""yes; then :
37324 cat >>confdefs.h <<_ACEOF
37325 #define HAVE_FABSL 1
37326 _ACEOF
37327
37328 fi
37329 done
37330
37331 else
37332
37333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37334 $as_echo_n "checking for _fabsl declaration... " >&6; }
37335 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37336 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37337 $as_echo_n "(cached) " >&6
37338 else
37339
37340
37341 ac_ext=cpp
37342 ac_cpp='$CXXCPP $CPPFLAGS'
37343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37346
37347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37348 /* end confdefs.h. */
37349 #include <math.h>
37350 #ifdef HAVE_IEEEFP_H
37351 #include <ieeefp.h>
37352 #endif
37353
37354 int
37355 main ()
37356 {
37357 _fabsl(0);
37358 ;
37359 return 0;
37360 }
37361 _ACEOF
37362 if ac_fn_cxx_try_compile "$LINENO"; then :
37363 glibcxx_cv_func__fabsl_use=yes
37364 else
37365 glibcxx_cv_func__fabsl_use=no
37366 fi
37367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37368 ac_ext=c
37369 ac_cpp='$CPP $CPPFLAGS'
37370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37373
37374
37375 fi
37376
37377 fi
37378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37379 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37380
37381 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37382 for ac_func in _fabsl
37383 do :
37384 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37385 if test "x$ac_cv_func__fabsl" = x""yes; then :
37386 cat >>confdefs.h <<_ACEOF
37387 #define HAVE__FABSL 1
37388 _ACEOF
37389
37390 fi
37391 done
37392
37393 fi
37394 fi
37395
37396
37397
37398
37399
37400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37401 $as_echo_n "checking for fmodl declaration... " >&6; }
37402 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37403 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37404 $as_echo_n "(cached) " >&6
37405 else
37406
37407
37408 ac_ext=cpp
37409 ac_cpp='$CXXCPP $CPPFLAGS'
37410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37413
37414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37415 /* end confdefs.h. */
37416 #include <math.h>
37417 int
37418 main ()
37419 {
37420 fmodl(0, 0);
37421 ;
37422 return 0;
37423 }
37424 _ACEOF
37425 if ac_fn_cxx_try_compile "$LINENO"; then :
37426 glibcxx_cv_func_fmodl_use=yes
37427 else
37428 glibcxx_cv_func_fmodl_use=no
37429 fi
37430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37431 ac_ext=c
37432 ac_cpp='$CPP $CPPFLAGS'
37433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37436
37437
37438 fi
37439
37440 fi
37441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37442 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37443
37444 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37445 for ac_func in fmodl
37446 do :
37447 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37448 if test "x$ac_cv_func_fmodl" = x""yes; then :
37449 cat >>confdefs.h <<_ACEOF
37450 #define HAVE_FMODL 1
37451 _ACEOF
37452
37453 fi
37454 done
37455
37456 else
37457
37458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37459 $as_echo_n "checking for _fmodl declaration... " >&6; }
37460 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37461 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37462 $as_echo_n "(cached) " >&6
37463 else
37464
37465
37466 ac_ext=cpp
37467 ac_cpp='$CXXCPP $CPPFLAGS'
37468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37471
37472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37473 /* end confdefs.h. */
37474 #include <math.h>
37475 int
37476 main ()
37477 {
37478 _fmodl(0, 0);
37479 ;
37480 return 0;
37481 }
37482 _ACEOF
37483 if ac_fn_cxx_try_compile "$LINENO"; then :
37484 glibcxx_cv_func__fmodl_use=yes
37485 else
37486 glibcxx_cv_func__fmodl_use=no
37487 fi
37488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37489 ac_ext=c
37490 ac_cpp='$CPP $CPPFLAGS'
37491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37494
37495
37496 fi
37497
37498 fi
37499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37500 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37501
37502 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37503 for ac_func in _fmodl
37504 do :
37505 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37506 if test "x$ac_cv_func__fmodl" = x""yes; then :
37507 cat >>confdefs.h <<_ACEOF
37508 #define HAVE__FMODL 1
37509 _ACEOF
37510
37511 fi
37512 done
37513
37514 fi
37515 fi
37516
37517
37518
37519
37520
37521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37522 $as_echo_n "checking for frexpl declaration... " >&6; }
37523 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37524 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37525 $as_echo_n "(cached) " >&6
37526 else
37527
37528
37529 ac_ext=cpp
37530 ac_cpp='$CXXCPP $CPPFLAGS'
37531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37534
37535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37536 /* end confdefs.h. */
37537 #include <math.h>
37538 int
37539 main ()
37540 {
37541 frexpl(0, 0);
37542 ;
37543 return 0;
37544 }
37545 _ACEOF
37546 if ac_fn_cxx_try_compile "$LINENO"; then :
37547 glibcxx_cv_func_frexpl_use=yes
37548 else
37549 glibcxx_cv_func_frexpl_use=no
37550 fi
37551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37552 ac_ext=c
37553 ac_cpp='$CPP $CPPFLAGS'
37554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37557
37558
37559 fi
37560
37561 fi
37562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37563 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37564
37565 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37566 for ac_func in frexpl
37567 do :
37568 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37569 if test "x$ac_cv_func_frexpl" = x""yes; then :
37570 cat >>confdefs.h <<_ACEOF
37571 #define HAVE_FREXPL 1
37572 _ACEOF
37573
37574 fi
37575 done
37576
37577 else
37578
37579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37580 $as_echo_n "checking for _frexpl declaration... " >&6; }
37581 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37582 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37583 $as_echo_n "(cached) " >&6
37584 else
37585
37586
37587 ac_ext=cpp
37588 ac_cpp='$CXXCPP $CPPFLAGS'
37589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37592
37593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37594 /* end confdefs.h. */
37595 #include <math.h>
37596 int
37597 main ()
37598 {
37599 _frexpl(0, 0);
37600 ;
37601 return 0;
37602 }
37603 _ACEOF
37604 if ac_fn_cxx_try_compile "$LINENO"; then :
37605 glibcxx_cv_func__frexpl_use=yes
37606 else
37607 glibcxx_cv_func__frexpl_use=no
37608 fi
37609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37610 ac_ext=c
37611 ac_cpp='$CPP $CPPFLAGS'
37612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37615
37616
37617 fi
37618
37619 fi
37620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37621 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37622
37623 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37624 for ac_func in _frexpl
37625 do :
37626 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37627 if test "x$ac_cv_func__frexpl" = x""yes; then :
37628 cat >>confdefs.h <<_ACEOF
37629 #define HAVE__FREXPL 1
37630 _ACEOF
37631
37632 fi
37633 done
37634
37635 fi
37636 fi
37637
37638
37639
37640
37641
37642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37643 $as_echo_n "checking for hypotl declaration... " >&6; }
37644 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37645 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37646 $as_echo_n "(cached) " >&6
37647 else
37648
37649
37650 ac_ext=cpp
37651 ac_cpp='$CXXCPP $CPPFLAGS'
37652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37655
37656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37657 /* end confdefs.h. */
37658 #include <math.h>
37659 int
37660 main ()
37661 {
37662 hypotl(0, 0);
37663 ;
37664 return 0;
37665 }
37666 _ACEOF
37667 if ac_fn_cxx_try_compile "$LINENO"; then :
37668 glibcxx_cv_func_hypotl_use=yes
37669 else
37670 glibcxx_cv_func_hypotl_use=no
37671 fi
37672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37673 ac_ext=c
37674 ac_cpp='$CPP $CPPFLAGS'
37675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37678
37679
37680 fi
37681
37682 fi
37683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37684 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37685
37686 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37687 for ac_func in hypotl
37688 do :
37689 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37690 if test "x$ac_cv_func_hypotl" = x""yes; then :
37691 cat >>confdefs.h <<_ACEOF
37692 #define HAVE_HYPOTL 1
37693 _ACEOF
37694
37695 fi
37696 done
37697
37698 else
37699
37700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37701 $as_echo_n "checking for _hypotl declaration... " >&6; }
37702 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37703 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37704 $as_echo_n "(cached) " >&6
37705 else
37706
37707
37708 ac_ext=cpp
37709 ac_cpp='$CXXCPP $CPPFLAGS'
37710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37713
37714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37715 /* end confdefs.h. */
37716 #include <math.h>
37717 int
37718 main ()
37719 {
37720 _hypotl(0, 0);
37721 ;
37722 return 0;
37723 }
37724 _ACEOF
37725 if ac_fn_cxx_try_compile "$LINENO"; then :
37726 glibcxx_cv_func__hypotl_use=yes
37727 else
37728 glibcxx_cv_func__hypotl_use=no
37729 fi
37730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37731 ac_ext=c
37732 ac_cpp='$CPP $CPPFLAGS'
37733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37736
37737
37738 fi
37739
37740 fi
37741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37742 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37743
37744 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37745 for ac_func in _hypotl
37746 do :
37747 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37748 if test "x$ac_cv_func__hypotl" = x""yes; then :
37749 cat >>confdefs.h <<_ACEOF
37750 #define HAVE__HYPOTL 1
37751 _ACEOF
37752
37753 fi
37754 done
37755
37756 fi
37757 fi
37758
37759
37760
37761
37762
37763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37764 $as_echo_n "checking for ldexpl declaration... " >&6; }
37765 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37766 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37767 $as_echo_n "(cached) " >&6
37768 else
37769
37770
37771 ac_ext=cpp
37772 ac_cpp='$CXXCPP $CPPFLAGS'
37773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37776
37777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37778 /* end confdefs.h. */
37779 #include <math.h>
37780 int
37781 main ()
37782 {
37783 ldexpl(0, 0);
37784 ;
37785 return 0;
37786 }
37787 _ACEOF
37788 if ac_fn_cxx_try_compile "$LINENO"; then :
37789 glibcxx_cv_func_ldexpl_use=yes
37790 else
37791 glibcxx_cv_func_ldexpl_use=no
37792 fi
37793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37794 ac_ext=c
37795 ac_cpp='$CPP $CPPFLAGS'
37796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37799
37800
37801 fi
37802
37803 fi
37804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37805 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37806
37807 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37808 for ac_func in ldexpl
37809 do :
37810 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37811 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37812 cat >>confdefs.h <<_ACEOF
37813 #define HAVE_LDEXPL 1
37814 _ACEOF
37815
37816 fi
37817 done
37818
37819 else
37820
37821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37822 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37823 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37824 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37825 $as_echo_n "(cached) " >&6
37826 else
37827
37828
37829 ac_ext=cpp
37830 ac_cpp='$CXXCPP $CPPFLAGS'
37831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37834
37835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37836 /* end confdefs.h. */
37837 #include <math.h>
37838 int
37839 main ()
37840 {
37841 _ldexpl(0, 0);
37842 ;
37843 return 0;
37844 }
37845 _ACEOF
37846 if ac_fn_cxx_try_compile "$LINENO"; then :
37847 glibcxx_cv_func__ldexpl_use=yes
37848 else
37849 glibcxx_cv_func__ldexpl_use=no
37850 fi
37851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37852 ac_ext=c
37853 ac_cpp='$CPP $CPPFLAGS'
37854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37857
37858
37859 fi
37860
37861 fi
37862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37863 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37864
37865 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37866 for ac_func in _ldexpl
37867 do :
37868 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37869 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37870 cat >>confdefs.h <<_ACEOF
37871 #define HAVE__LDEXPL 1
37872 _ACEOF
37873
37874 fi
37875 done
37876
37877 fi
37878 fi
37879
37880
37881
37882
37883
37884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37885 $as_echo_n "checking for logl declaration... " >&6; }
37886 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37887 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37888 $as_echo_n "(cached) " >&6
37889 else
37890
37891
37892 ac_ext=cpp
37893 ac_cpp='$CXXCPP $CPPFLAGS'
37894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37897
37898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37899 /* end confdefs.h. */
37900 #include <math.h>
37901 #ifdef HAVE_IEEEFP_H
37902 #include <ieeefp.h>
37903 #endif
37904
37905 int
37906 main ()
37907 {
37908 logl(0);
37909 ;
37910 return 0;
37911 }
37912 _ACEOF
37913 if ac_fn_cxx_try_compile "$LINENO"; then :
37914 glibcxx_cv_func_logl_use=yes
37915 else
37916 glibcxx_cv_func_logl_use=no
37917 fi
37918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37919 ac_ext=c
37920 ac_cpp='$CPP $CPPFLAGS'
37921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37924
37925
37926 fi
37927
37928 fi
37929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37930 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37931
37932 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37933 for ac_func in logl
37934 do :
37935 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37936 if test "x$ac_cv_func_logl" = x""yes; then :
37937 cat >>confdefs.h <<_ACEOF
37938 #define HAVE_LOGL 1
37939 _ACEOF
37940
37941 fi
37942 done
37943
37944 else
37945
37946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37947 $as_echo_n "checking for _logl declaration... " >&6; }
37948 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37949 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37950 $as_echo_n "(cached) " >&6
37951 else
37952
37953
37954 ac_ext=cpp
37955 ac_cpp='$CXXCPP $CPPFLAGS'
37956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37959
37960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37961 /* end confdefs.h. */
37962 #include <math.h>
37963 #ifdef HAVE_IEEEFP_H
37964 #include <ieeefp.h>
37965 #endif
37966
37967 int
37968 main ()
37969 {
37970 _logl(0);
37971 ;
37972 return 0;
37973 }
37974 _ACEOF
37975 if ac_fn_cxx_try_compile "$LINENO"; then :
37976 glibcxx_cv_func__logl_use=yes
37977 else
37978 glibcxx_cv_func__logl_use=no
37979 fi
37980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37981 ac_ext=c
37982 ac_cpp='$CPP $CPPFLAGS'
37983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37986
37987
37988 fi
37989
37990 fi
37991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37992 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37993
37994 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37995 for ac_func in _logl
37996 do :
37997 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37998 if test "x$ac_cv_func__logl" = x""yes; then :
37999 cat >>confdefs.h <<_ACEOF
38000 #define HAVE__LOGL 1
38001 _ACEOF
38002
38003 fi
38004 done
38005
38006 fi
38007 fi
38008
38009
38010
38011
38012
38013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38014 $as_echo_n "checking for log10l declaration... " >&6; }
38015 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38016 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38017 $as_echo_n "(cached) " >&6
38018 else
38019
38020
38021 ac_ext=cpp
38022 ac_cpp='$CXXCPP $CPPFLAGS'
38023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38026
38027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38028 /* end confdefs.h. */
38029 #include <math.h>
38030 #ifdef HAVE_IEEEFP_H
38031 #include <ieeefp.h>
38032 #endif
38033
38034 int
38035 main ()
38036 {
38037 log10l(0);
38038 ;
38039 return 0;
38040 }
38041 _ACEOF
38042 if ac_fn_cxx_try_compile "$LINENO"; then :
38043 glibcxx_cv_func_log10l_use=yes
38044 else
38045 glibcxx_cv_func_log10l_use=no
38046 fi
38047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38048 ac_ext=c
38049 ac_cpp='$CPP $CPPFLAGS'
38050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38053
38054
38055 fi
38056
38057 fi
38058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38059 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38060
38061 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38062 for ac_func in log10l
38063 do :
38064 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38065 if test "x$ac_cv_func_log10l" = x""yes; then :
38066 cat >>confdefs.h <<_ACEOF
38067 #define HAVE_LOG10L 1
38068 _ACEOF
38069
38070 fi
38071 done
38072
38073 else
38074
38075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38076 $as_echo_n "checking for _log10l declaration... " >&6; }
38077 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38078 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38079 $as_echo_n "(cached) " >&6
38080 else
38081
38082
38083 ac_ext=cpp
38084 ac_cpp='$CXXCPP $CPPFLAGS'
38085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38088
38089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38090 /* end confdefs.h. */
38091 #include <math.h>
38092 #ifdef HAVE_IEEEFP_H
38093 #include <ieeefp.h>
38094 #endif
38095
38096 int
38097 main ()
38098 {
38099 _log10l(0);
38100 ;
38101 return 0;
38102 }
38103 _ACEOF
38104 if ac_fn_cxx_try_compile "$LINENO"; then :
38105 glibcxx_cv_func__log10l_use=yes
38106 else
38107 glibcxx_cv_func__log10l_use=no
38108 fi
38109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38110 ac_ext=c
38111 ac_cpp='$CPP $CPPFLAGS'
38112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38115
38116
38117 fi
38118
38119 fi
38120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38121 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38122
38123 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38124 for ac_func in _log10l
38125 do :
38126 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38127 if test "x$ac_cv_func__log10l" = x""yes; then :
38128 cat >>confdefs.h <<_ACEOF
38129 #define HAVE__LOG10L 1
38130 _ACEOF
38131
38132 fi
38133 done
38134
38135 fi
38136 fi
38137
38138
38139
38140
38141
38142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38143 $as_echo_n "checking for modfl declaration... " >&6; }
38144 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38145 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38146 $as_echo_n "(cached) " >&6
38147 else
38148
38149
38150 ac_ext=cpp
38151 ac_cpp='$CXXCPP $CPPFLAGS'
38152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38155
38156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38157 /* end confdefs.h. */
38158 #include <math.h>
38159 int
38160 main ()
38161 {
38162 modfl(0, 0);
38163 ;
38164 return 0;
38165 }
38166 _ACEOF
38167 if ac_fn_cxx_try_compile "$LINENO"; then :
38168 glibcxx_cv_func_modfl_use=yes
38169 else
38170 glibcxx_cv_func_modfl_use=no
38171 fi
38172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38173 ac_ext=c
38174 ac_cpp='$CPP $CPPFLAGS'
38175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38178
38179
38180 fi
38181
38182 fi
38183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38184 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38185
38186 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38187 for ac_func in modfl
38188 do :
38189 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38190 if test "x$ac_cv_func_modfl" = x""yes; then :
38191 cat >>confdefs.h <<_ACEOF
38192 #define HAVE_MODFL 1
38193 _ACEOF
38194
38195 fi
38196 done
38197
38198 else
38199
38200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38201 $as_echo_n "checking for _modfl declaration... " >&6; }
38202 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38203 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38204 $as_echo_n "(cached) " >&6
38205 else
38206
38207
38208 ac_ext=cpp
38209 ac_cpp='$CXXCPP $CPPFLAGS'
38210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38213
38214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38215 /* end confdefs.h. */
38216 #include <math.h>
38217 int
38218 main ()
38219 {
38220 _modfl(0, 0);
38221 ;
38222 return 0;
38223 }
38224 _ACEOF
38225 if ac_fn_cxx_try_compile "$LINENO"; then :
38226 glibcxx_cv_func__modfl_use=yes
38227 else
38228 glibcxx_cv_func__modfl_use=no
38229 fi
38230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38231 ac_ext=c
38232 ac_cpp='$CPP $CPPFLAGS'
38233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38236
38237
38238 fi
38239
38240 fi
38241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38242 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38243
38244 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38245 for ac_func in _modfl
38246 do :
38247 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38248 if test "x$ac_cv_func__modfl" = x""yes; then :
38249 cat >>confdefs.h <<_ACEOF
38250 #define HAVE__MODFL 1
38251 _ACEOF
38252
38253 fi
38254 done
38255
38256 fi
38257 fi
38258
38259
38260
38261
38262
38263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38264 $as_echo_n "checking for powl declaration... " >&6; }
38265 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38266 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38267 $as_echo_n "(cached) " >&6
38268 else
38269
38270
38271 ac_ext=cpp
38272 ac_cpp='$CXXCPP $CPPFLAGS'
38273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38276
38277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38278 /* end confdefs.h. */
38279 #include <math.h>
38280 int
38281 main ()
38282 {
38283 powl(0, 0);
38284 ;
38285 return 0;
38286 }
38287 _ACEOF
38288 if ac_fn_cxx_try_compile "$LINENO"; then :
38289 glibcxx_cv_func_powl_use=yes
38290 else
38291 glibcxx_cv_func_powl_use=no
38292 fi
38293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38294 ac_ext=c
38295 ac_cpp='$CPP $CPPFLAGS'
38296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38299
38300
38301 fi
38302
38303 fi
38304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38305 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38306
38307 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38308 for ac_func in powl
38309 do :
38310 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38311 if test "x$ac_cv_func_powl" = x""yes; then :
38312 cat >>confdefs.h <<_ACEOF
38313 #define HAVE_POWL 1
38314 _ACEOF
38315
38316 fi
38317 done
38318
38319 else
38320
38321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38322 $as_echo_n "checking for _powl declaration... " >&6; }
38323 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38324 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38325 $as_echo_n "(cached) " >&6
38326 else
38327
38328
38329 ac_ext=cpp
38330 ac_cpp='$CXXCPP $CPPFLAGS'
38331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38334
38335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38336 /* end confdefs.h. */
38337 #include <math.h>
38338 int
38339 main ()
38340 {
38341 _powl(0, 0);
38342 ;
38343 return 0;
38344 }
38345 _ACEOF
38346 if ac_fn_cxx_try_compile "$LINENO"; then :
38347 glibcxx_cv_func__powl_use=yes
38348 else
38349 glibcxx_cv_func__powl_use=no
38350 fi
38351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38352 ac_ext=c
38353 ac_cpp='$CPP $CPPFLAGS'
38354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38357
38358
38359 fi
38360
38361 fi
38362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38363 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38364
38365 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38366 for ac_func in _powl
38367 do :
38368 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38369 if test "x$ac_cv_func__powl" = x""yes; then :
38370 cat >>confdefs.h <<_ACEOF
38371 #define HAVE__POWL 1
38372 _ACEOF
38373
38374 fi
38375 done
38376
38377 fi
38378 fi
38379
38380
38381
38382
38383
38384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38385 $as_echo_n "checking for sqrtl declaration... " >&6; }
38386 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38387 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38388 $as_echo_n "(cached) " >&6
38389 else
38390
38391
38392 ac_ext=cpp
38393 ac_cpp='$CXXCPP $CPPFLAGS'
38394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38397
38398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38399 /* end confdefs.h. */
38400 #include <math.h>
38401 #ifdef HAVE_IEEEFP_H
38402 #include <ieeefp.h>
38403 #endif
38404
38405 int
38406 main ()
38407 {
38408 sqrtl(0);
38409 ;
38410 return 0;
38411 }
38412 _ACEOF
38413 if ac_fn_cxx_try_compile "$LINENO"; then :
38414 glibcxx_cv_func_sqrtl_use=yes
38415 else
38416 glibcxx_cv_func_sqrtl_use=no
38417 fi
38418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38419 ac_ext=c
38420 ac_cpp='$CPP $CPPFLAGS'
38421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38424
38425
38426 fi
38427
38428 fi
38429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38430 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38431
38432 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38433 for ac_func in sqrtl
38434 do :
38435 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38436 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38437 cat >>confdefs.h <<_ACEOF
38438 #define HAVE_SQRTL 1
38439 _ACEOF
38440
38441 fi
38442 done
38443
38444 else
38445
38446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38447 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38448 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38449 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38450 $as_echo_n "(cached) " >&6
38451 else
38452
38453
38454 ac_ext=cpp
38455 ac_cpp='$CXXCPP $CPPFLAGS'
38456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38459
38460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38461 /* end confdefs.h. */
38462 #include <math.h>
38463 #ifdef HAVE_IEEEFP_H
38464 #include <ieeefp.h>
38465 #endif
38466
38467 int
38468 main ()
38469 {
38470 _sqrtl(0);
38471 ;
38472 return 0;
38473 }
38474 _ACEOF
38475 if ac_fn_cxx_try_compile "$LINENO"; then :
38476 glibcxx_cv_func__sqrtl_use=yes
38477 else
38478 glibcxx_cv_func__sqrtl_use=no
38479 fi
38480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38481 ac_ext=c
38482 ac_cpp='$CPP $CPPFLAGS'
38483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38486
38487
38488 fi
38489
38490 fi
38491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38492 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38493
38494 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38495 for ac_func in _sqrtl
38496 do :
38497 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38498 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38499 cat >>confdefs.h <<_ACEOF
38500 #define HAVE__SQRTL 1
38501 _ACEOF
38502
38503 fi
38504 done
38505
38506 fi
38507 fi
38508
38509
38510
38511
38512
38513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38514 $as_echo_n "checking for sincosl declaration... " >&6; }
38515 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38516 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38517 $as_echo_n "(cached) " >&6
38518 else
38519
38520
38521 ac_ext=cpp
38522 ac_cpp='$CXXCPP $CPPFLAGS'
38523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38526
38527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38528 /* end confdefs.h. */
38529 #include <math.h>
38530 int
38531 main ()
38532 {
38533 sincosl(0, 0, 0);
38534 ;
38535 return 0;
38536 }
38537 _ACEOF
38538 if ac_fn_cxx_try_compile "$LINENO"; then :
38539 glibcxx_cv_func_sincosl_use=yes
38540 else
38541 glibcxx_cv_func_sincosl_use=no
38542 fi
38543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38544 ac_ext=c
38545 ac_cpp='$CPP $CPPFLAGS'
38546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38549
38550
38551 fi
38552
38553 fi
38554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38555 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38556
38557 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38558 for ac_func in sincosl
38559 do :
38560 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38561 if test "x$ac_cv_func_sincosl" = x""yes; then :
38562 cat >>confdefs.h <<_ACEOF
38563 #define HAVE_SINCOSL 1
38564 _ACEOF
38565
38566 fi
38567 done
38568
38569 else
38570
38571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38572 $as_echo_n "checking for _sincosl declaration... " >&6; }
38573 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38574 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38575 $as_echo_n "(cached) " >&6
38576 else
38577
38578
38579 ac_ext=cpp
38580 ac_cpp='$CXXCPP $CPPFLAGS'
38581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38584
38585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38586 /* end confdefs.h. */
38587 #include <math.h>
38588 int
38589 main ()
38590 {
38591 _sincosl(0, 0, 0);
38592 ;
38593 return 0;
38594 }
38595 _ACEOF
38596 if ac_fn_cxx_try_compile "$LINENO"; then :
38597 glibcxx_cv_func__sincosl_use=yes
38598 else
38599 glibcxx_cv_func__sincosl_use=no
38600 fi
38601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38602 ac_ext=c
38603 ac_cpp='$CPP $CPPFLAGS'
38604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38607
38608
38609 fi
38610
38611 fi
38612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38613 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38614
38615 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38616 for ac_func in _sincosl
38617 do :
38618 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38619 if test "x$ac_cv_func__sincosl" = x""yes; then :
38620 cat >>confdefs.h <<_ACEOF
38621 #define HAVE__SINCOSL 1
38622 _ACEOF
38623
38624 fi
38625 done
38626
38627 fi
38628 fi
38629
38630
38631
38632
38633
38634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38635 $as_echo_n "checking for finitel declaration... " >&6; }
38636 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38637 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38638 $as_echo_n "(cached) " >&6
38639 else
38640
38641
38642 ac_ext=cpp
38643 ac_cpp='$CXXCPP $CPPFLAGS'
38644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38647
38648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38649 /* end confdefs.h. */
38650 #include <math.h>
38651 #ifdef HAVE_IEEEFP_H
38652 #include <ieeefp.h>
38653 #endif
38654
38655 int
38656 main ()
38657 {
38658 finitel(0);
38659 ;
38660 return 0;
38661 }
38662 _ACEOF
38663 if ac_fn_cxx_try_compile "$LINENO"; then :
38664 glibcxx_cv_func_finitel_use=yes
38665 else
38666 glibcxx_cv_func_finitel_use=no
38667 fi
38668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38669 ac_ext=c
38670 ac_cpp='$CPP $CPPFLAGS'
38671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38674
38675
38676 fi
38677
38678 fi
38679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38680 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38681
38682 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38683 for ac_func in finitel
38684 do :
38685 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38686 if test "x$ac_cv_func_finitel" = x""yes; then :
38687 cat >>confdefs.h <<_ACEOF
38688 #define HAVE_FINITEL 1
38689 _ACEOF
38690
38691 fi
38692 done
38693
38694 else
38695
38696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38697 $as_echo_n "checking for _finitel declaration... " >&6; }
38698 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38699 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38700 $as_echo_n "(cached) " >&6
38701 else
38702
38703
38704 ac_ext=cpp
38705 ac_cpp='$CXXCPP $CPPFLAGS'
38706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38709
38710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38711 /* end confdefs.h. */
38712 #include <math.h>
38713 #ifdef HAVE_IEEEFP_H
38714 #include <ieeefp.h>
38715 #endif
38716
38717 int
38718 main ()
38719 {
38720 _finitel(0);
38721 ;
38722 return 0;
38723 }
38724 _ACEOF
38725 if ac_fn_cxx_try_compile "$LINENO"; then :
38726 glibcxx_cv_func__finitel_use=yes
38727 else
38728 glibcxx_cv_func__finitel_use=no
38729 fi
38730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38731 ac_ext=c
38732 ac_cpp='$CPP $CPPFLAGS'
38733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38736
38737
38738 fi
38739
38740 fi
38741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38742 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38743
38744 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38745 for ac_func in _finitel
38746 do :
38747 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38748 if test "x$ac_cv_func__finitel" = x""yes; then :
38749 cat >>confdefs.h <<_ACEOF
38750 #define HAVE__FINITEL 1
38751 _ACEOF
38752
38753 fi
38754 done
38755
38756 fi
38757 fi
38758
38759
38760
38761
38762 LIBS="$ac_save_LIBS"
38763 CXXFLAGS="$ac_save_CXXFLAGS"
38764
38765
38766 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38767 ac_save_CXXFLAGS="$CXXFLAGS"
38768 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38769
38770
38771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38772 $as_echo_n "checking for strtold declaration... " >&6; }
38773 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38774 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38775 $as_echo_n "(cached) " >&6
38776 else
38777
38778
38779 ac_ext=cpp
38780 ac_cpp='$CXXCPP $CPPFLAGS'
38781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38784
38785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38786 /* end confdefs.h. */
38787 #include <stdlib.h>
38788 int
38789 main ()
38790 {
38791 strtold(0, 0);
38792 ;
38793 return 0;
38794 }
38795 _ACEOF
38796 if ac_fn_cxx_try_compile "$LINENO"; then :
38797 glibcxx_cv_func_strtold_use=yes
38798 else
38799 glibcxx_cv_func_strtold_use=no
38800 fi
38801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38802 ac_ext=c
38803 ac_cpp='$CPP $CPPFLAGS'
38804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38807
38808
38809 fi
38810
38811 fi
38812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38813 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38814 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38815 for ac_func in strtold
38816 do :
38817 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38818 if test "x$ac_cv_func_strtold" = x""yes; then :
38819 cat >>confdefs.h <<_ACEOF
38820 #define HAVE_STRTOLD 1
38821 _ACEOF
38822
38823 fi
38824 done
38825
38826 fi
38827
38828
38829
38830
38831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38832 $as_echo_n "checking for strtof declaration... " >&6; }
38833 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38834 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38835 $as_echo_n "(cached) " >&6
38836 else
38837
38838
38839 ac_ext=cpp
38840 ac_cpp='$CXXCPP $CPPFLAGS'
38841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38844
38845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38846 /* end confdefs.h. */
38847 #include <stdlib.h>
38848 int
38849 main ()
38850 {
38851 strtof(0, 0);
38852 ;
38853 return 0;
38854 }
38855 _ACEOF
38856 if ac_fn_cxx_try_compile "$LINENO"; then :
38857 glibcxx_cv_func_strtof_use=yes
38858 else
38859 glibcxx_cv_func_strtof_use=no
38860 fi
38861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38862 ac_ext=c
38863 ac_cpp='$CPP $CPPFLAGS'
38864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38867
38868
38869 fi
38870
38871 fi
38872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38873 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38874 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38875 for ac_func in strtof
38876 do :
38877 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38878 if test "x$ac_cv_func_strtof" = x""yes; then :
38879 cat >>confdefs.h <<_ACEOF
38880 #define HAVE_STRTOF 1
38881 _ACEOF
38882
38883 fi
38884 done
38885
38886 fi
38887
38888
38889
38890
38891 CXXFLAGS="$ac_save_CXXFLAGS"
38892
38893 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38894
38895 # We don't yet support AIX's TLS ABI.
38896 #GCC_CHECK_TLS
38897
38898
38899
38900
38901
38902 am_save_CPPFLAGS="$CPPFLAGS"
38903
38904 for element in $INCICONV; do
38905 haveit=
38906 for x in $CPPFLAGS; do
38907
38908 acl_save_prefix="$prefix"
38909 prefix="$acl_final_prefix"
38910 acl_save_exec_prefix="$exec_prefix"
38911 exec_prefix="$acl_final_exec_prefix"
38912 eval x=\"$x\"
38913 exec_prefix="$acl_save_exec_prefix"
38914 prefix="$acl_save_prefix"
38915
38916 if test "X$x" = "X$element"; then
38917 haveit=yes
38918 break
38919 fi
38920 done
38921 if test -z "$haveit"; then
38922 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38923 fi
38924 done
38925
38926
38927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38928 $as_echo_n "checking for iconv... " >&6; }
38929 if test "${am_cv_func_iconv+set}" = set; then :
38930 $as_echo_n "(cached) " >&6
38931 else
38932
38933 am_cv_func_iconv="no, consider installing GNU libiconv"
38934 am_cv_lib_iconv=no
38935 if test x$gcc_no_link = xyes; then
38936 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38937 fi
38938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38939 /* end confdefs.h. */
38940 #include <stdlib.h>
38941 #include <iconv.h>
38942 int
38943 main ()
38944 {
38945 iconv_t cd = iconv_open("","");
38946 iconv(cd,NULL,NULL,NULL,NULL);
38947 iconv_close(cd);
38948 ;
38949 return 0;
38950 }
38951 _ACEOF
38952 if ac_fn_c_try_link "$LINENO"; then :
38953 am_cv_func_iconv=yes
38954 fi
38955 rm -f core conftest.err conftest.$ac_objext \
38956 conftest$ac_exeext conftest.$ac_ext
38957 if test "$am_cv_func_iconv" != yes; then
38958 am_save_LIBS="$LIBS"
38959 LIBS="$LIBS $LIBICONV"
38960 if test x$gcc_no_link = xyes; then
38961 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38962 fi
38963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38964 /* end confdefs.h. */
38965 #include <stdlib.h>
38966 #include <iconv.h>
38967 int
38968 main ()
38969 {
38970 iconv_t cd = iconv_open("","");
38971 iconv(cd,NULL,NULL,NULL,NULL);
38972 iconv_close(cd);
38973 ;
38974 return 0;
38975 }
38976 _ACEOF
38977 if ac_fn_c_try_link "$LINENO"; then :
38978 am_cv_lib_iconv=yes
38979 am_cv_func_iconv=yes
38980 fi
38981 rm -f core conftest.err conftest.$ac_objext \
38982 conftest$ac_exeext conftest.$ac_ext
38983 LIBS="$am_save_LIBS"
38984 fi
38985
38986 fi
38987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38988 $as_echo "$am_cv_func_iconv" >&6; }
38989 if test "$am_cv_func_iconv" = yes; then
38990
38991 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38992
38993 fi
38994 if test "$am_cv_lib_iconv" = yes; then
38995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38996 $as_echo_n "checking how to link with libiconv... " >&6; }
38997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38998 $as_echo "$LIBICONV" >&6; }
38999 else
39000 CPPFLAGS="$am_save_CPPFLAGS"
39001 LIBICONV=
39002 LTLIBICONV=
39003 fi
39004
39005
39006
39007 if test "$am_cv_func_iconv" = yes; then
39008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39009 $as_echo_n "checking for iconv declaration... " >&6; }
39010 if test "${am_cv_proto_iconv+set}" = set; then :
39011 $as_echo_n "(cached) " >&6
39012 else
39013
39014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39015 /* end confdefs.h. */
39016
39017 #include <stdlib.h>
39018 #include <iconv.h>
39019 extern
39020 #ifdef __cplusplus
39021 "C"
39022 #endif
39023 #if defined(__STDC__) || defined(__cplusplus)
39024 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39025 #else
39026 size_t iconv();
39027 #endif
39028
39029 int
39030 main ()
39031 {
39032
39033 ;
39034 return 0;
39035 }
39036 _ACEOF
39037 if ac_fn_c_try_compile "$LINENO"; then :
39038 am_cv_proto_iconv_arg1=""
39039 else
39040 am_cv_proto_iconv_arg1="const"
39041 fi
39042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39043 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);"
39044 fi
39045
39046 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39048 }$am_cv_proto_iconv" >&5
39049 $as_echo "${ac_t:-
39050 }$am_cv_proto_iconv" >&6; }
39051
39052 cat >>confdefs.h <<_ACEOF
39053 #define ICONV_CONST $am_cv_proto_iconv_arg1
39054 _ACEOF
39055
39056 fi
39057
39058 ;;
39059
39060 *-darwin*)
39061 # Darwin versions vary, but the linker should work in a cross environment,
39062 # so we just check for all the features here.
39063 # Check for available headers.
39064
39065 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39066
39067 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39068 ac_save_CXXFLAGS="$CXXFLAGS"
39069 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39070
39071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39072 $as_echo_n "checking for sin in -lm... " >&6; }
39073 if test "${ac_cv_lib_m_sin+set}" = set; then :
39074 $as_echo_n "(cached) " >&6
39075 else
39076 ac_check_lib_save_LIBS=$LIBS
39077 LIBS="-lm $LIBS"
39078 if test x$gcc_no_link = xyes; then
39079 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39080 fi
39081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39082 /* end confdefs.h. */
39083
39084 /* Override any GCC internal prototype to avoid an error.
39085 Use char because int might match the return type of a GCC
39086 builtin and then its argument prototype would still apply. */
39087 #ifdef __cplusplus
39088 extern "C"
39089 #endif
39090 char sin ();
39091 int
39092 main ()
39093 {
39094 return sin ();
39095 ;
39096 return 0;
39097 }
39098 _ACEOF
39099 if ac_fn_c_try_link "$LINENO"; then :
39100 ac_cv_lib_m_sin=yes
39101 else
39102 ac_cv_lib_m_sin=no
39103 fi
39104 rm -f core conftest.err conftest.$ac_objext \
39105 conftest$ac_exeext conftest.$ac_ext
39106 LIBS=$ac_check_lib_save_LIBS
39107 fi
39108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39109 $as_echo "$ac_cv_lib_m_sin" >&6; }
39110 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39111 libm="-lm"
39112 fi
39113
39114 ac_save_LIBS="$LIBS"
39115 LIBS="$LIBS $libm"
39116
39117
39118
39119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39120 $as_echo_n "checking for isinf declaration... " >&6; }
39121 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39122 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39123 $as_echo_n "(cached) " >&6
39124 else
39125
39126
39127 ac_ext=cpp
39128 ac_cpp='$CXXCPP $CPPFLAGS'
39129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39132
39133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39134 /* end confdefs.h. */
39135 #include <math.h>
39136 #ifdef HAVE_IEEEFP_H
39137 #include <ieeefp.h>
39138 #endif
39139
39140 int
39141 main ()
39142 {
39143 isinf(0);
39144 ;
39145 return 0;
39146 }
39147 _ACEOF
39148 if ac_fn_cxx_try_compile "$LINENO"; then :
39149 glibcxx_cv_func_isinf_use=yes
39150 else
39151 glibcxx_cv_func_isinf_use=no
39152 fi
39153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39154 ac_ext=c
39155 ac_cpp='$CPP $CPPFLAGS'
39156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39159
39160
39161 fi
39162
39163 fi
39164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39165 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39166
39167 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39168 for ac_func in isinf
39169 do :
39170 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39171 if test "x$ac_cv_func_isinf" = x""yes; then :
39172 cat >>confdefs.h <<_ACEOF
39173 #define HAVE_ISINF 1
39174 _ACEOF
39175
39176 fi
39177 done
39178
39179 else
39180
39181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39182 $as_echo_n "checking for _isinf declaration... " >&6; }
39183 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39184 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39185 $as_echo_n "(cached) " >&6
39186 else
39187
39188
39189 ac_ext=cpp
39190 ac_cpp='$CXXCPP $CPPFLAGS'
39191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39194
39195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39196 /* end confdefs.h. */
39197 #include <math.h>
39198 #ifdef HAVE_IEEEFP_H
39199 #include <ieeefp.h>
39200 #endif
39201
39202 int
39203 main ()
39204 {
39205 _isinf(0);
39206 ;
39207 return 0;
39208 }
39209 _ACEOF
39210 if ac_fn_cxx_try_compile "$LINENO"; then :
39211 glibcxx_cv_func__isinf_use=yes
39212 else
39213 glibcxx_cv_func__isinf_use=no
39214 fi
39215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39216 ac_ext=c
39217 ac_cpp='$CPP $CPPFLAGS'
39218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39221
39222
39223 fi
39224
39225 fi
39226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39227 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39228
39229 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39230 for ac_func in _isinf
39231 do :
39232 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39233 if test "x$ac_cv_func__isinf" = x""yes; then :
39234 cat >>confdefs.h <<_ACEOF
39235 #define HAVE__ISINF 1
39236 _ACEOF
39237
39238 fi
39239 done
39240
39241 fi
39242 fi
39243
39244
39245
39246
39247
39248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39249 $as_echo_n "checking for isnan declaration... " >&6; }
39250 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39251 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39252 $as_echo_n "(cached) " >&6
39253 else
39254
39255
39256 ac_ext=cpp
39257 ac_cpp='$CXXCPP $CPPFLAGS'
39258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39261
39262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39263 /* end confdefs.h. */
39264 #include <math.h>
39265 #ifdef HAVE_IEEEFP_H
39266 #include <ieeefp.h>
39267 #endif
39268
39269 int
39270 main ()
39271 {
39272 isnan(0);
39273 ;
39274 return 0;
39275 }
39276 _ACEOF
39277 if ac_fn_cxx_try_compile "$LINENO"; then :
39278 glibcxx_cv_func_isnan_use=yes
39279 else
39280 glibcxx_cv_func_isnan_use=no
39281 fi
39282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39283 ac_ext=c
39284 ac_cpp='$CPP $CPPFLAGS'
39285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39288
39289
39290 fi
39291
39292 fi
39293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39294 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39295
39296 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39297 for ac_func in isnan
39298 do :
39299 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39300 if test "x$ac_cv_func_isnan" = x""yes; then :
39301 cat >>confdefs.h <<_ACEOF
39302 #define HAVE_ISNAN 1
39303 _ACEOF
39304
39305 fi
39306 done
39307
39308 else
39309
39310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39311 $as_echo_n "checking for _isnan declaration... " >&6; }
39312 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39313 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39314 $as_echo_n "(cached) " >&6
39315 else
39316
39317
39318 ac_ext=cpp
39319 ac_cpp='$CXXCPP $CPPFLAGS'
39320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39323
39324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39325 /* end confdefs.h. */
39326 #include <math.h>
39327 #ifdef HAVE_IEEEFP_H
39328 #include <ieeefp.h>
39329 #endif
39330
39331 int
39332 main ()
39333 {
39334 _isnan(0);
39335 ;
39336 return 0;
39337 }
39338 _ACEOF
39339 if ac_fn_cxx_try_compile "$LINENO"; then :
39340 glibcxx_cv_func__isnan_use=yes
39341 else
39342 glibcxx_cv_func__isnan_use=no
39343 fi
39344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39345 ac_ext=c
39346 ac_cpp='$CPP $CPPFLAGS'
39347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39350
39351
39352 fi
39353
39354 fi
39355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39356 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39357
39358 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39359 for ac_func in _isnan
39360 do :
39361 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39362 if test "x$ac_cv_func__isnan" = x""yes; then :
39363 cat >>confdefs.h <<_ACEOF
39364 #define HAVE__ISNAN 1
39365 _ACEOF
39366
39367 fi
39368 done
39369
39370 fi
39371 fi
39372
39373
39374
39375
39376
39377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39378 $as_echo_n "checking for finite declaration... " >&6; }
39379 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39380 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39381 $as_echo_n "(cached) " >&6
39382 else
39383
39384
39385 ac_ext=cpp
39386 ac_cpp='$CXXCPP $CPPFLAGS'
39387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39390
39391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39392 /* end confdefs.h. */
39393 #include <math.h>
39394 #ifdef HAVE_IEEEFP_H
39395 #include <ieeefp.h>
39396 #endif
39397
39398 int
39399 main ()
39400 {
39401 finite(0);
39402 ;
39403 return 0;
39404 }
39405 _ACEOF
39406 if ac_fn_cxx_try_compile "$LINENO"; then :
39407 glibcxx_cv_func_finite_use=yes
39408 else
39409 glibcxx_cv_func_finite_use=no
39410 fi
39411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39412 ac_ext=c
39413 ac_cpp='$CPP $CPPFLAGS'
39414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39417
39418
39419 fi
39420
39421 fi
39422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39423 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39424
39425 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39426 for ac_func in finite
39427 do :
39428 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39429 if test "x$ac_cv_func_finite" = x""yes; then :
39430 cat >>confdefs.h <<_ACEOF
39431 #define HAVE_FINITE 1
39432 _ACEOF
39433
39434 fi
39435 done
39436
39437 else
39438
39439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39440 $as_echo_n "checking for _finite declaration... " >&6; }
39441 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39442 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39443 $as_echo_n "(cached) " >&6
39444 else
39445
39446
39447 ac_ext=cpp
39448 ac_cpp='$CXXCPP $CPPFLAGS'
39449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39452
39453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39454 /* end confdefs.h. */
39455 #include <math.h>
39456 #ifdef HAVE_IEEEFP_H
39457 #include <ieeefp.h>
39458 #endif
39459
39460 int
39461 main ()
39462 {
39463 _finite(0);
39464 ;
39465 return 0;
39466 }
39467 _ACEOF
39468 if ac_fn_cxx_try_compile "$LINENO"; then :
39469 glibcxx_cv_func__finite_use=yes
39470 else
39471 glibcxx_cv_func__finite_use=no
39472 fi
39473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39474 ac_ext=c
39475 ac_cpp='$CPP $CPPFLAGS'
39476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39479
39480
39481 fi
39482
39483 fi
39484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39485 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39486
39487 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39488 for ac_func in _finite
39489 do :
39490 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39491 if test "x$ac_cv_func__finite" = x""yes; then :
39492 cat >>confdefs.h <<_ACEOF
39493 #define HAVE__FINITE 1
39494 _ACEOF
39495
39496 fi
39497 done
39498
39499 fi
39500 fi
39501
39502
39503
39504
39505
39506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39507 $as_echo_n "checking for sincos declaration... " >&6; }
39508 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39509 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39510 $as_echo_n "(cached) " >&6
39511 else
39512
39513
39514 ac_ext=cpp
39515 ac_cpp='$CXXCPP $CPPFLAGS'
39516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39519
39520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39521 /* end confdefs.h. */
39522 #include <math.h>
39523 int
39524 main ()
39525 {
39526 sincos(0, 0, 0);
39527 ;
39528 return 0;
39529 }
39530 _ACEOF
39531 if ac_fn_cxx_try_compile "$LINENO"; then :
39532 glibcxx_cv_func_sincos_use=yes
39533 else
39534 glibcxx_cv_func_sincos_use=no
39535 fi
39536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39537 ac_ext=c
39538 ac_cpp='$CPP $CPPFLAGS'
39539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39542
39543
39544 fi
39545
39546 fi
39547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39548 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39549
39550 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39551 for ac_func in sincos
39552 do :
39553 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39554 if test "x$ac_cv_func_sincos" = x""yes; then :
39555 cat >>confdefs.h <<_ACEOF
39556 #define HAVE_SINCOS 1
39557 _ACEOF
39558
39559 fi
39560 done
39561
39562 else
39563
39564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39565 $as_echo_n "checking for _sincos declaration... " >&6; }
39566 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39567 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39568 $as_echo_n "(cached) " >&6
39569 else
39570
39571
39572 ac_ext=cpp
39573 ac_cpp='$CXXCPP $CPPFLAGS'
39574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39577
39578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39579 /* end confdefs.h. */
39580 #include <math.h>
39581 int
39582 main ()
39583 {
39584 _sincos(0, 0, 0);
39585 ;
39586 return 0;
39587 }
39588 _ACEOF
39589 if ac_fn_cxx_try_compile "$LINENO"; then :
39590 glibcxx_cv_func__sincos_use=yes
39591 else
39592 glibcxx_cv_func__sincos_use=no
39593 fi
39594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39595 ac_ext=c
39596 ac_cpp='$CPP $CPPFLAGS'
39597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39600
39601
39602 fi
39603
39604 fi
39605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39606 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39607
39608 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39609 for ac_func in _sincos
39610 do :
39611 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39612 if test "x$ac_cv_func__sincos" = x""yes; then :
39613 cat >>confdefs.h <<_ACEOF
39614 #define HAVE__SINCOS 1
39615 _ACEOF
39616
39617 fi
39618 done
39619
39620 fi
39621 fi
39622
39623
39624
39625
39626
39627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39628 $as_echo_n "checking for fpclass declaration... " >&6; }
39629 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39630 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39631 $as_echo_n "(cached) " >&6
39632 else
39633
39634
39635 ac_ext=cpp
39636 ac_cpp='$CXXCPP $CPPFLAGS'
39637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39640
39641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39642 /* end confdefs.h. */
39643 #include <math.h>
39644 #ifdef HAVE_IEEEFP_H
39645 #include <ieeefp.h>
39646 #endif
39647
39648 int
39649 main ()
39650 {
39651 fpclass(0);
39652 ;
39653 return 0;
39654 }
39655 _ACEOF
39656 if ac_fn_cxx_try_compile "$LINENO"; then :
39657 glibcxx_cv_func_fpclass_use=yes
39658 else
39659 glibcxx_cv_func_fpclass_use=no
39660 fi
39661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39662 ac_ext=c
39663 ac_cpp='$CPP $CPPFLAGS'
39664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39667
39668
39669 fi
39670
39671 fi
39672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39673 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39674
39675 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39676 for ac_func in fpclass
39677 do :
39678 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39679 if test "x$ac_cv_func_fpclass" = x""yes; then :
39680 cat >>confdefs.h <<_ACEOF
39681 #define HAVE_FPCLASS 1
39682 _ACEOF
39683
39684 fi
39685 done
39686
39687 else
39688
39689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39690 $as_echo_n "checking for _fpclass declaration... " >&6; }
39691 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39692 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39693 $as_echo_n "(cached) " >&6
39694 else
39695
39696
39697 ac_ext=cpp
39698 ac_cpp='$CXXCPP $CPPFLAGS'
39699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39702
39703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39704 /* end confdefs.h. */
39705 #include <math.h>
39706 #ifdef HAVE_IEEEFP_H
39707 #include <ieeefp.h>
39708 #endif
39709
39710 int
39711 main ()
39712 {
39713 _fpclass(0);
39714 ;
39715 return 0;
39716 }
39717 _ACEOF
39718 if ac_fn_cxx_try_compile "$LINENO"; then :
39719 glibcxx_cv_func__fpclass_use=yes
39720 else
39721 glibcxx_cv_func__fpclass_use=no
39722 fi
39723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39724 ac_ext=c
39725 ac_cpp='$CPP $CPPFLAGS'
39726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39729
39730
39731 fi
39732
39733 fi
39734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39735 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39736
39737 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39738 for ac_func in _fpclass
39739 do :
39740 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39741 if test "x$ac_cv_func__fpclass" = x""yes; then :
39742 cat >>confdefs.h <<_ACEOF
39743 #define HAVE__FPCLASS 1
39744 _ACEOF
39745
39746 fi
39747 done
39748
39749 fi
39750 fi
39751
39752
39753
39754
39755
39756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39757 $as_echo_n "checking for qfpclass declaration... " >&6; }
39758 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39759 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39760 $as_echo_n "(cached) " >&6
39761 else
39762
39763
39764 ac_ext=cpp
39765 ac_cpp='$CXXCPP $CPPFLAGS'
39766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39769
39770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39771 /* end confdefs.h. */
39772 #include <math.h>
39773 #ifdef HAVE_IEEEFP_H
39774 #include <ieeefp.h>
39775 #endif
39776
39777 int
39778 main ()
39779 {
39780 qfpclass(0);
39781 ;
39782 return 0;
39783 }
39784 _ACEOF
39785 if ac_fn_cxx_try_compile "$LINENO"; then :
39786 glibcxx_cv_func_qfpclass_use=yes
39787 else
39788 glibcxx_cv_func_qfpclass_use=no
39789 fi
39790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39791 ac_ext=c
39792 ac_cpp='$CPP $CPPFLAGS'
39793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39796
39797
39798 fi
39799
39800 fi
39801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39802 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39803
39804 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39805 for ac_func in qfpclass
39806 do :
39807 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39808 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39809 cat >>confdefs.h <<_ACEOF
39810 #define HAVE_QFPCLASS 1
39811 _ACEOF
39812
39813 fi
39814 done
39815
39816 else
39817
39818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39819 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39820 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39821 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39822 $as_echo_n "(cached) " >&6
39823 else
39824
39825
39826 ac_ext=cpp
39827 ac_cpp='$CXXCPP $CPPFLAGS'
39828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39831
39832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39833 /* end confdefs.h. */
39834 #include <math.h>
39835 #ifdef HAVE_IEEEFP_H
39836 #include <ieeefp.h>
39837 #endif
39838
39839 int
39840 main ()
39841 {
39842 _qfpclass(0);
39843 ;
39844 return 0;
39845 }
39846 _ACEOF
39847 if ac_fn_cxx_try_compile "$LINENO"; then :
39848 glibcxx_cv_func__qfpclass_use=yes
39849 else
39850 glibcxx_cv_func__qfpclass_use=no
39851 fi
39852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39853 ac_ext=c
39854 ac_cpp='$CPP $CPPFLAGS'
39855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39858
39859
39860 fi
39861
39862 fi
39863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39864 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39865
39866 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39867 for ac_func in _qfpclass
39868 do :
39869 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39870 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39871 cat >>confdefs.h <<_ACEOF
39872 #define HAVE__QFPCLASS 1
39873 _ACEOF
39874
39875 fi
39876 done
39877
39878 fi
39879 fi
39880
39881
39882
39883
39884
39885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39886 $as_echo_n "checking for hypot declaration... " >&6; }
39887 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39888 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39889 $as_echo_n "(cached) " >&6
39890 else
39891
39892
39893 ac_ext=cpp
39894 ac_cpp='$CXXCPP $CPPFLAGS'
39895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39898
39899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39900 /* end confdefs.h. */
39901 #include <math.h>
39902 int
39903 main ()
39904 {
39905 hypot(0, 0);
39906 ;
39907 return 0;
39908 }
39909 _ACEOF
39910 if ac_fn_cxx_try_compile "$LINENO"; then :
39911 glibcxx_cv_func_hypot_use=yes
39912 else
39913 glibcxx_cv_func_hypot_use=no
39914 fi
39915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39916 ac_ext=c
39917 ac_cpp='$CPP $CPPFLAGS'
39918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39921
39922
39923 fi
39924
39925 fi
39926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39927 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39928
39929 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39930 for ac_func in hypot
39931 do :
39932 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39933 if test "x$ac_cv_func_hypot" = x""yes; then :
39934 cat >>confdefs.h <<_ACEOF
39935 #define HAVE_HYPOT 1
39936 _ACEOF
39937
39938 fi
39939 done
39940
39941 else
39942
39943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39944 $as_echo_n "checking for _hypot declaration... " >&6; }
39945 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39946 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39947 $as_echo_n "(cached) " >&6
39948 else
39949
39950
39951 ac_ext=cpp
39952 ac_cpp='$CXXCPP $CPPFLAGS'
39953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39956
39957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39958 /* end confdefs.h. */
39959 #include <math.h>
39960 int
39961 main ()
39962 {
39963 _hypot(0, 0);
39964 ;
39965 return 0;
39966 }
39967 _ACEOF
39968 if ac_fn_cxx_try_compile "$LINENO"; then :
39969 glibcxx_cv_func__hypot_use=yes
39970 else
39971 glibcxx_cv_func__hypot_use=no
39972 fi
39973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39974 ac_ext=c
39975 ac_cpp='$CPP $CPPFLAGS'
39976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39979
39980
39981 fi
39982
39983 fi
39984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39985 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39986
39987 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39988 for ac_func in _hypot
39989 do :
39990 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39991 if test "x$ac_cv_func__hypot" = x""yes; then :
39992 cat >>confdefs.h <<_ACEOF
39993 #define HAVE__HYPOT 1
39994 _ACEOF
39995
39996 fi
39997 done
39998
39999 fi
40000 fi
40001
40002
40003
40004
40005
40006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40007 $as_echo_n "checking for float trig functions... " >&6; }
40008 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40009 $as_echo_n "(cached) " >&6
40010 else
40011
40012
40013 ac_ext=cpp
40014 ac_cpp='$CXXCPP $CPPFLAGS'
40015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40018
40019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40020 /* end confdefs.h. */
40021 #include <math.h>
40022 int
40023 main ()
40024 {
40025 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40026 ;
40027 return 0;
40028 }
40029 _ACEOF
40030 if ac_fn_cxx_try_compile "$LINENO"; then :
40031 glibcxx_cv_func_float_trig_use=yes
40032 else
40033 glibcxx_cv_func_float_trig_use=no
40034 fi
40035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40036 ac_ext=c
40037 ac_cpp='$CPP $CPPFLAGS'
40038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40041
40042 fi
40043
40044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40045 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40046 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40047 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40048 do :
40049 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40050 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40051 eval as_val=\$$as_ac_var
40052 if test "x$as_val" = x""yes; then :
40053 cat >>confdefs.h <<_ACEOF
40054 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40055 _ACEOF
40056
40057 fi
40058 done
40059
40060 else
40061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40062 $as_echo_n "checking for _float trig functions... " >&6; }
40063 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40064 $as_echo_n "(cached) " >&6
40065 else
40066
40067
40068 ac_ext=cpp
40069 ac_cpp='$CXXCPP $CPPFLAGS'
40070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40073
40074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40075 /* end confdefs.h. */
40076 #include <math.h>
40077 int
40078 main ()
40079 {
40080 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40081 ;
40082 return 0;
40083 }
40084 _ACEOF
40085 if ac_fn_cxx_try_compile "$LINENO"; then :
40086 glibcxx_cv_func__float_trig_use=yes
40087 else
40088 glibcxx_cv_func__float_trig_use=no
40089 fi
40090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40091 ac_ext=c
40092 ac_cpp='$CPP $CPPFLAGS'
40093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40096
40097 fi
40098
40099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40100 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40101 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40102 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40103 do :
40104 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40105 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40106 eval as_val=\$$as_ac_var
40107 if test "x$as_val" = x""yes; then :
40108 cat >>confdefs.h <<_ACEOF
40109 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40110 _ACEOF
40111
40112 fi
40113 done
40114
40115 fi
40116 fi
40117
40118
40119
40120
40121
40122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40123 $as_echo_n "checking for float round functions... " >&6; }
40124 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40125 $as_echo_n "(cached) " >&6
40126 else
40127
40128
40129 ac_ext=cpp
40130 ac_cpp='$CXXCPP $CPPFLAGS'
40131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40134
40135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40136 /* end confdefs.h. */
40137 #include <math.h>
40138 int
40139 main ()
40140 {
40141 ceilf (0); floorf (0);
40142 ;
40143 return 0;
40144 }
40145 _ACEOF
40146 if ac_fn_cxx_try_compile "$LINENO"; then :
40147 glibcxx_cv_func_float_round_use=yes
40148 else
40149 glibcxx_cv_func_float_round_use=no
40150 fi
40151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40152 ac_ext=c
40153 ac_cpp='$CPP $CPPFLAGS'
40154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40157
40158 fi
40159
40160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40161 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40162 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40163 for ac_func in ceilf floorf
40164 do :
40165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40167 eval as_val=\$$as_ac_var
40168 if test "x$as_val" = x""yes; then :
40169 cat >>confdefs.h <<_ACEOF
40170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40171 _ACEOF
40172
40173 fi
40174 done
40175
40176 else
40177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40178 $as_echo_n "checking for _float round functions... " >&6; }
40179 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40180 $as_echo_n "(cached) " >&6
40181 else
40182
40183
40184 ac_ext=cpp
40185 ac_cpp='$CXXCPP $CPPFLAGS'
40186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40189
40190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40191 /* end confdefs.h. */
40192 #include <math.h>
40193 int
40194 main ()
40195 {
40196 _ceilf (0); _floorf (0);
40197 ;
40198 return 0;
40199 }
40200 _ACEOF
40201 if ac_fn_cxx_try_compile "$LINENO"; then :
40202 glibcxx_cv_func__float_round_use=yes
40203 else
40204 glibcxx_cv_func__float_round_use=no
40205 fi
40206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40207 ac_ext=c
40208 ac_cpp='$CPP $CPPFLAGS'
40209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40212
40213 fi
40214
40215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40216 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40217 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40218 for ac_func in _ceilf _floorf
40219 do :
40220 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40221 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40222 eval as_val=\$$as_ac_var
40223 if test "x$as_val" = x""yes; then :
40224 cat >>confdefs.h <<_ACEOF
40225 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40226 _ACEOF
40227
40228 fi
40229 done
40230
40231 fi
40232 fi
40233
40234
40235
40236
40237
40238
40239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40240 $as_echo_n "checking for expf declaration... " >&6; }
40241 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40242 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40243 $as_echo_n "(cached) " >&6
40244 else
40245
40246
40247 ac_ext=cpp
40248 ac_cpp='$CXXCPP $CPPFLAGS'
40249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40252
40253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40254 /* end confdefs.h. */
40255 #include <math.h>
40256 #ifdef HAVE_IEEEFP_H
40257 #include <ieeefp.h>
40258 #endif
40259
40260 int
40261 main ()
40262 {
40263 expf(0);
40264 ;
40265 return 0;
40266 }
40267 _ACEOF
40268 if ac_fn_cxx_try_compile "$LINENO"; then :
40269 glibcxx_cv_func_expf_use=yes
40270 else
40271 glibcxx_cv_func_expf_use=no
40272 fi
40273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40274 ac_ext=c
40275 ac_cpp='$CPP $CPPFLAGS'
40276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40279
40280
40281 fi
40282
40283 fi
40284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40285 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40286
40287 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40288 for ac_func in expf
40289 do :
40290 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40291 if test "x$ac_cv_func_expf" = x""yes; then :
40292 cat >>confdefs.h <<_ACEOF
40293 #define HAVE_EXPF 1
40294 _ACEOF
40295
40296 fi
40297 done
40298
40299 else
40300
40301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40302 $as_echo_n "checking for _expf declaration... " >&6; }
40303 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40304 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40305 $as_echo_n "(cached) " >&6
40306 else
40307
40308
40309 ac_ext=cpp
40310 ac_cpp='$CXXCPP $CPPFLAGS'
40311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40314
40315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40316 /* end confdefs.h. */
40317 #include <math.h>
40318 #ifdef HAVE_IEEEFP_H
40319 #include <ieeefp.h>
40320 #endif
40321
40322 int
40323 main ()
40324 {
40325 _expf(0);
40326 ;
40327 return 0;
40328 }
40329 _ACEOF
40330 if ac_fn_cxx_try_compile "$LINENO"; then :
40331 glibcxx_cv_func__expf_use=yes
40332 else
40333 glibcxx_cv_func__expf_use=no
40334 fi
40335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40336 ac_ext=c
40337 ac_cpp='$CPP $CPPFLAGS'
40338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40341
40342
40343 fi
40344
40345 fi
40346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40347 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40348
40349 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40350 for ac_func in _expf
40351 do :
40352 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40353 if test "x$ac_cv_func__expf" = x""yes; then :
40354 cat >>confdefs.h <<_ACEOF
40355 #define HAVE__EXPF 1
40356 _ACEOF
40357
40358 fi
40359 done
40360
40361 fi
40362 fi
40363
40364
40365
40366
40367
40368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40369 $as_echo_n "checking for isnanf declaration... " >&6; }
40370 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40371 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40372 $as_echo_n "(cached) " >&6
40373 else
40374
40375
40376 ac_ext=cpp
40377 ac_cpp='$CXXCPP $CPPFLAGS'
40378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40381
40382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40383 /* end confdefs.h. */
40384 #include <math.h>
40385 #ifdef HAVE_IEEEFP_H
40386 #include <ieeefp.h>
40387 #endif
40388
40389 int
40390 main ()
40391 {
40392 isnanf(0);
40393 ;
40394 return 0;
40395 }
40396 _ACEOF
40397 if ac_fn_cxx_try_compile "$LINENO"; then :
40398 glibcxx_cv_func_isnanf_use=yes
40399 else
40400 glibcxx_cv_func_isnanf_use=no
40401 fi
40402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40403 ac_ext=c
40404 ac_cpp='$CPP $CPPFLAGS'
40405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40408
40409
40410 fi
40411
40412 fi
40413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40414 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40415
40416 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40417 for ac_func in isnanf
40418 do :
40419 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40420 if test "x$ac_cv_func_isnanf" = x""yes; then :
40421 cat >>confdefs.h <<_ACEOF
40422 #define HAVE_ISNANF 1
40423 _ACEOF
40424
40425 fi
40426 done
40427
40428 else
40429
40430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40431 $as_echo_n "checking for _isnanf declaration... " >&6; }
40432 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40433 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40434 $as_echo_n "(cached) " >&6
40435 else
40436
40437
40438 ac_ext=cpp
40439 ac_cpp='$CXXCPP $CPPFLAGS'
40440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40443
40444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40445 /* end confdefs.h. */
40446 #include <math.h>
40447 #ifdef HAVE_IEEEFP_H
40448 #include <ieeefp.h>
40449 #endif
40450
40451 int
40452 main ()
40453 {
40454 _isnanf(0);
40455 ;
40456 return 0;
40457 }
40458 _ACEOF
40459 if ac_fn_cxx_try_compile "$LINENO"; then :
40460 glibcxx_cv_func__isnanf_use=yes
40461 else
40462 glibcxx_cv_func__isnanf_use=no
40463 fi
40464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40465 ac_ext=c
40466 ac_cpp='$CPP $CPPFLAGS'
40467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40470
40471
40472 fi
40473
40474 fi
40475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40476 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40477
40478 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40479 for ac_func in _isnanf
40480 do :
40481 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40482 if test "x$ac_cv_func__isnanf" = x""yes; then :
40483 cat >>confdefs.h <<_ACEOF
40484 #define HAVE__ISNANF 1
40485 _ACEOF
40486
40487 fi
40488 done
40489
40490 fi
40491 fi
40492
40493
40494
40495
40496
40497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40498 $as_echo_n "checking for isinff declaration... " >&6; }
40499 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40500 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40501 $as_echo_n "(cached) " >&6
40502 else
40503
40504
40505 ac_ext=cpp
40506 ac_cpp='$CXXCPP $CPPFLAGS'
40507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40510
40511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40512 /* end confdefs.h. */
40513 #include <math.h>
40514 #ifdef HAVE_IEEEFP_H
40515 #include <ieeefp.h>
40516 #endif
40517
40518 int
40519 main ()
40520 {
40521 isinff(0);
40522 ;
40523 return 0;
40524 }
40525 _ACEOF
40526 if ac_fn_cxx_try_compile "$LINENO"; then :
40527 glibcxx_cv_func_isinff_use=yes
40528 else
40529 glibcxx_cv_func_isinff_use=no
40530 fi
40531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40532 ac_ext=c
40533 ac_cpp='$CPP $CPPFLAGS'
40534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40537
40538
40539 fi
40540
40541 fi
40542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40543 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40544
40545 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40546 for ac_func in isinff
40547 do :
40548 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40549 if test "x$ac_cv_func_isinff" = x""yes; then :
40550 cat >>confdefs.h <<_ACEOF
40551 #define HAVE_ISINFF 1
40552 _ACEOF
40553
40554 fi
40555 done
40556
40557 else
40558
40559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40560 $as_echo_n "checking for _isinff declaration... " >&6; }
40561 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40562 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40563 $as_echo_n "(cached) " >&6
40564 else
40565
40566
40567 ac_ext=cpp
40568 ac_cpp='$CXXCPP $CPPFLAGS'
40569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40572
40573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40574 /* end confdefs.h. */
40575 #include <math.h>
40576 #ifdef HAVE_IEEEFP_H
40577 #include <ieeefp.h>
40578 #endif
40579
40580 int
40581 main ()
40582 {
40583 _isinff(0);
40584 ;
40585 return 0;
40586 }
40587 _ACEOF
40588 if ac_fn_cxx_try_compile "$LINENO"; then :
40589 glibcxx_cv_func__isinff_use=yes
40590 else
40591 glibcxx_cv_func__isinff_use=no
40592 fi
40593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40594 ac_ext=c
40595 ac_cpp='$CPP $CPPFLAGS'
40596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40599
40600
40601 fi
40602
40603 fi
40604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40605 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40606
40607 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40608 for ac_func in _isinff
40609 do :
40610 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40611 if test "x$ac_cv_func__isinff" = x""yes; then :
40612 cat >>confdefs.h <<_ACEOF
40613 #define HAVE__ISINFF 1
40614 _ACEOF
40615
40616 fi
40617 done
40618
40619 fi
40620 fi
40621
40622
40623
40624
40625
40626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40627 $as_echo_n "checking for atan2f declaration... " >&6; }
40628 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40629 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40630 $as_echo_n "(cached) " >&6
40631 else
40632
40633
40634 ac_ext=cpp
40635 ac_cpp='$CXXCPP $CPPFLAGS'
40636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40639
40640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40641 /* end confdefs.h. */
40642 #include <math.h>
40643 int
40644 main ()
40645 {
40646 atan2f(0, 0);
40647 ;
40648 return 0;
40649 }
40650 _ACEOF
40651 if ac_fn_cxx_try_compile "$LINENO"; then :
40652 glibcxx_cv_func_atan2f_use=yes
40653 else
40654 glibcxx_cv_func_atan2f_use=no
40655 fi
40656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40657 ac_ext=c
40658 ac_cpp='$CPP $CPPFLAGS'
40659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40662
40663
40664 fi
40665
40666 fi
40667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40668 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40669
40670 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40671 for ac_func in atan2f
40672 do :
40673 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40674 if test "x$ac_cv_func_atan2f" = x""yes; then :
40675 cat >>confdefs.h <<_ACEOF
40676 #define HAVE_ATAN2F 1
40677 _ACEOF
40678
40679 fi
40680 done
40681
40682 else
40683
40684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40685 $as_echo_n "checking for _atan2f declaration... " >&6; }
40686 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40687 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40688 $as_echo_n "(cached) " >&6
40689 else
40690
40691
40692 ac_ext=cpp
40693 ac_cpp='$CXXCPP $CPPFLAGS'
40694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40697
40698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40699 /* end confdefs.h. */
40700 #include <math.h>
40701 int
40702 main ()
40703 {
40704 _atan2f(0, 0);
40705 ;
40706 return 0;
40707 }
40708 _ACEOF
40709 if ac_fn_cxx_try_compile "$LINENO"; then :
40710 glibcxx_cv_func__atan2f_use=yes
40711 else
40712 glibcxx_cv_func__atan2f_use=no
40713 fi
40714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40715 ac_ext=c
40716 ac_cpp='$CPP $CPPFLAGS'
40717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40720
40721
40722 fi
40723
40724 fi
40725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40726 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40727
40728 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40729 for ac_func in _atan2f
40730 do :
40731 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40732 if test "x$ac_cv_func__atan2f" = x""yes; then :
40733 cat >>confdefs.h <<_ACEOF
40734 #define HAVE__ATAN2F 1
40735 _ACEOF
40736
40737 fi
40738 done
40739
40740 fi
40741 fi
40742
40743
40744
40745
40746
40747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40748 $as_echo_n "checking for fabsf declaration... " >&6; }
40749 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40750 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40751 $as_echo_n "(cached) " >&6
40752 else
40753
40754
40755 ac_ext=cpp
40756 ac_cpp='$CXXCPP $CPPFLAGS'
40757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40760
40761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40762 /* end confdefs.h. */
40763 #include <math.h>
40764 #ifdef HAVE_IEEEFP_H
40765 #include <ieeefp.h>
40766 #endif
40767
40768 int
40769 main ()
40770 {
40771 fabsf(0);
40772 ;
40773 return 0;
40774 }
40775 _ACEOF
40776 if ac_fn_cxx_try_compile "$LINENO"; then :
40777 glibcxx_cv_func_fabsf_use=yes
40778 else
40779 glibcxx_cv_func_fabsf_use=no
40780 fi
40781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40782 ac_ext=c
40783 ac_cpp='$CPP $CPPFLAGS'
40784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40787
40788
40789 fi
40790
40791 fi
40792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40793 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40794
40795 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40796 for ac_func in fabsf
40797 do :
40798 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40799 if test "x$ac_cv_func_fabsf" = x""yes; then :
40800 cat >>confdefs.h <<_ACEOF
40801 #define HAVE_FABSF 1
40802 _ACEOF
40803
40804 fi
40805 done
40806
40807 else
40808
40809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40810 $as_echo_n "checking for _fabsf declaration... " >&6; }
40811 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40812 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40813 $as_echo_n "(cached) " >&6
40814 else
40815
40816
40817 ac_ext=cpp
40818 ac_cpp='$CXXCPP $CPPFLAGS'
40819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40822
40823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40824 /* end confdefs.h. */
40825 #include <math.h>
40826 #ifdef HAVE_IEEEFP_H
40827 #include <ieeefp.h>
40828 #endif
40829
40830 int
40831 main ()
40832 {
40833 _fabsf(0);
40834 ;
40835 return 0;
40836 }
40837 _ACEOF
40838 if ac_fn_cxx_try_compile "$LINENO"; then :
40839 glibcxx_cv_func__fabsf_use=yes
40840 else
40841 glibcxx_cv_func__fabsf_use=no
40842 fi
40843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40844 ac_ext=c
40845 ac_cpp='$CPP $CPPFLAGS'
40846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40849
40850
40851 fi
40852
40853 fi
40854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40855 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40856
40857 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40858 for ac_func in _fabsf
40859 do :
40860 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40861 if test "x$ac_cv_func__fabsf" = x""yes; then :
40862 cat >>confdefs.h <<_ACEOF
40863 #define HAVE__FABSF 1
40864 _ACEOF
40865
40866 fi
40867 done
40868
40869 fi
40870 fi
40871
40872
40873
40874
40875
40876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40877 $as_echo_n "checking for fmodf declaration... " >&6; }
40878 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40879 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40880 $as_echo_n "(cached) " >&6
40881 else
40882
40883
40884 ac_ext=cpp
40885 ac_cpp='$CXXCPP $CPPFLAGS'
40886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40889
40890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40891 /* end confdefs.h. */
40892 #include <math.h>
40893 int
40894 main ()
40895 {
40896 fmodf(0, 0);
40897 ;
40898 return 0;
40899 }
40900 _ACEOF
40901 if ac_fn_cxx_try_compile "$LINENO"; then :
40902 glibcxx_cv_func_fmodf_use=yes
40903 else
40904 glibcxx_cv_func_fmodf_use=no
40905 fi
40906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40907 ac_ext=c
40908 ac_cpp='$CPP $CPPFLAGS'
40909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40912
40913
40914 fi
40915
40916 fi
40917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40918 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40919
40920 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40921 for ac_func in fmodf
40922 do :
40923 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40924 if test "x$ac_cv_func_fmodf" = x""yes; then :
40925 cat >>confdefs.h <<_ACEOF
40926 #define HAVE_FMODF 1
40927 _ACEOF
40928
40929 fi
40930 done
40931
40932 else
40933
40934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40935 $as_echo_n "checking for _fmodf declaration... " >&6; }
40936 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40937 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40938 $as_echo_n "(cached) " >&6
40939 else
40940
40941
40942 ac_ext=cpp
40943 ac_cpp='$CXXCPP $CPPFLAGS'
40944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40947
40948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40949 /* end confdefs.h. */
40950 #include <math.h>
40951 int
40952 main ()
40953 {
40954 _fmodf(0, 0);
40955 ;
40956 return 0;
40957 }
40958 _ACEOF
40959 if ac_fn_cxx_try_compile "$LINENO"; then :
40960 glibcxx_cv_func__fmodf_use=yes
40961 else
40962 glibcxx_cv_func__fmodf_use=no
40963 fi
40964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40965 ac_ext=c
40966 ac_cpp='$CPP $CPPFLAGS'
40967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40970
40971
40972 fi
40973
40974 fi
40975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40976 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40977
40978 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40979 for ac_func in _fmodf
40980 do :
40981 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40982 if test "x$ac_cv_func__fmodf" = x""yes; then :
40983 cat >>confdefs.h <<_ACEOF
40984 #define HAVE__FMODF 1
40985 _ACEOF
40986
40987 fi
40988 done
40989
40990 fi
40991 fi
40992
40993
40994
40995
40996
40997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40998 $as_echo_n "checking for frexpf declaration... " >&6; }
40999 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41000 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41001 $as_echo_n "(cached) " >&6
41002 else
41003
41004
41005 ac_ext=cpp
41006 ac_cpp='$CXXCPP $CPPFLAGS'
41007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41010
41011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41012 /* end confdefs.h. */
41013 #include <math.h>
41014 int
41015 main ()
41016 {
41017 frexpf(0, 0);
41018 ;
41019 return 0;
41020 }
41021 _ACEOF
41022 if ac_fn_cxx_try_compile "$LINENO"; then :
41023 glibcxx_cv_func_frexpf_use=yes
41024 else
41025 glibcxx_cv_func_frexpf_use=no
41026 fi
41027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41028 ac_ext=c
41029 ac_cpp='$CPP $CPPFLAGS'
41030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41033
41034
41035 fi
41036
41037 fi
41038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41039 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41040
41041 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41042 for ac_func in frexpf
41043 do :
41044 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41045 if test "x$ac_cv_func_frexpf" = x""yes; then :
41046 cat >>confdefs.h <<_ACEOF
41047 #define HAVE_FREXPF 1
41048 _ACEOF
41049
41050 fi
41051 done
41052
41053 else
41054
41055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41056 $as_echo_n "checking for _frexpf declaration... " >&6; }
41057 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41058 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41059 $as_echo_n "(cached) " >&6
41060 else
41061
41062
41063 ac_ext=cpp
41064 ac_cpp='$CXXCPP $CPPFLAGS'
41065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41068
41069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41070 /* end confdefs.h. */
41071 #include <math.h>
41072 int
41073 main ()
41074 {
41075 _frexpf(0, 0);
41076 ;
41077 return 0;
41078 }
41079 _ACEOF
41080 if ac_fn_cxx_try_compile "$LINENO"; then :
41081 glibcxx_cv_func__frexpf_use=yes
41082 else
41083 glibcxx_cv_func__frexpf_use=no
41084 fi
41085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41086 ac_ext=c
41087 ac_cpp='$CPP $CPPFLAGS'
41088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41091
41092
41093 fi
41094
41095 fi
41096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41097 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41098
41099 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41100 for ac_func in _frexpf
41101 do :
41102 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41103 if test "x$ac_cv_func__frexpf" = x""yes; then :
41104 cat >>confdefs.h <<_ACEOF
41105 #define HAVE__FREXPF 1
41106 _ACEOF
41107
41108 fi
41109 done
41110
41111 fi
41112 fi
41113
41114
41115
41116
41117
41118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41119 $as_echo_n "checking for hypotf declaration... " >&6; }
41120 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41121 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41122 $as_echo_n "(cached) " >&6
41123 else
41124
41125
41126 ac_ext=cpp
41127 ac_cpp='$CXXCPP $CPPFLAGS'
41128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41131
41132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41133 /* end confdefs.h. */
41134 #include <math.h>
41135 int
41136 main ()
41137 {
41138 hypotf(0, 0);
41139 ;
41140 return 0;
41141 }
41142 _ACEOF
41143 if ac_fn_cxx_try_compile "$LINENO"; then :
41144 glibcxx_cv_func_hypotf_use=yes
41145 else
41146 glibcxx_cv_func_hypotf_use=no
41147 fi
41148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41149 ac_ext=c
41150 ac_cpp='$CPP $CPPFLAGS'
41151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41154
41155
41156 fi
41157
41158 fi
41159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41160 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41161
41162 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41163 for ac_func in hypotf
41164 do :
41165 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41166 if test "x$ac_cv_func_hypotf" = x""yes; then :
41167 cat >>confdefs.h <<_ACEOF
41168 #define HAVE_HYPOTF 1
41169 _ACEOF
41170
41171 fi
41172 done
41173
41174 else
41175
41176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41177 $as_echo_n "checking for _hypotf declaration... " >&6; }
41178 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41179 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41180 $as_echo_n "(cached) " >&6
41181 else
41182
41183
41184 ac_ext=cpp
41185 ac_cpp='$CXXCPP $CPPFLAGS'
41186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41189
41190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41191 /* end confdefs.h. */
41192 #include <math.h>
41193 int
41194 main ()
41195 {
41196 _hypotf(0, 0);
41197 ;
41198 return 0;
41199 }
41200 _ACEOF
41201 if ac_fn_cxx_try_compile "$LINENO"; then :
41202 glibcxx_cv_func__hypotf_use=yes
41203 else
41204 glibcxx_cv_func__hypotf_use=no
41205 fi
41206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41207 ac_ext=c
41208 ac_cpp='$CPP $CPPFLAGS'
41209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41212
41213
41214 fi
41215
41216 fi
41217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41218 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41219
41220 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41221 for ac_func in _hypotf
41222 do :
41223 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41224 if test "x$ac_cv_func__hypotf" = x""yes; then :
41225 cat >>confdefs.h <<_ACEOF
41226 #define HAVE__HYPOTF 1
41227 _ACEOF
41228
41229 fi
41230 done
41231
41232 fi
41233 fi
41234
41235
41236
41237
41238
41239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41240 $as_echo_n "checking for ldexpf declaration... " >&6; }
41241 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41242 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41243 $as_echo_n "(cached) " >&6
41244 else
41245
41246
41247 ac_ext=cpp
41248 ac_cpp='$CXXCPP $CPPFLAGS'
41249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41252
41253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41254 /* end confdefs.h. */
41255 #include <math.h>
41256 int
41257 main ()
41258 {
41259 ldexpf(0, 0);
41260 ;
41261 return 0;
41262 }
41263 _ACEOF
41264 if ac_fn_cxx_try_compile "$LINENO"; then :
41265 glibcxx_cv_func_ldexpf_use=yes
41266 else
41267 glibcxx_cv_func_ldexpf_use=no
41268 fi
41269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41270 ac_ext=c
41271 ac_cpp='$CPP $CPPFLAGS'
41272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41275
41276
41277 fi
41278
41279 fi
41280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41281 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41282
41283 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41284 for ac_func in ldexpf
41285 do :
41286 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41287 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41288 cat >>confdefs.h <<_ACEOF
41289 #define HAVE_LDEXPF 1
41290 _ACEOF
41291
41292 fi
41293 done
41294
41295 else
41296
41297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41298 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41299 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41300 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41301 $as_echo_n "(cached) " >&6
41302 else
41303
41304
41305 ac_ext=cpp
41306 ac_cpp='$CXXCPP $CPPFLAGS'
41307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41310
41311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41312 /* end confdefs.h. */
41313 #include <math.h>
41314 int
41315 main ()
41316 {
41317 _ldexpf(0, 0);
41318 ;
41319 return 0;
41320 }
41321 _ACEOF
41322 if ac_fn_cxx_try_compile "$LINENO"; then :
41323 glibcxx_cv_func__ldexpf_use=yes
41324 else
41325 glibcxx_cv_func__ldexpf_use=no
41326 fi
41327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41328 ac_ext=c
41329 ac_cpp='$CPP $CPPFLAGS'
41330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41333
41334
41335 fi
41336
41337 fi
41338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41339 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41340
41341 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41342 for ac_func in _ldexpf
41343 do :
41344 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41345 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41346 cat >>confdefs.h <<_ACEOF
41347 #define HAVE__LDEXPF 1
41348 _ACEOF
41349
41350 fi
41351 done
41352
41353 fi
41354 fi
41355
41356
41357
41358
41359
41360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41361 $as_echo_n "checking for logf declaration... " >&6; }
41362 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41363 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41364 $as_echo_n "(cached) " >&6
41365 else
41366
41367
41368 ac_ext=cpp
41369 ac_cpp='$CXXCPP $CPPFLAGS'
41370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41373
41374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41375 /* end confdefs.h. */
41376 #include <math.h>
41377 #ifdef HAVE_IEEEFP_H
41378 #include <ieeefp.h>
41379 #endif
41380
41381 int
41382 main ()
41383 {
41384 logf(0);
41385 ;
41386 return 0;
41387 }
41388 _ACEOF
41389 if ac_fn_cxx_try_compile "$LINENO"; then :
41390 glibcxx_cv_func_logf_use=yes
41391 else
41392 glibcxx_cv_func_logf_use=no
41393 fi
41394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41395 ac_ext=c
41396 ac_cpp='$CPP $CPPFLAGS'
41397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41400
41401
41402 fi
41403
41404 fi
41405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41406 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41407
41408 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41409 for ac_func in logf
41410 do :
41411 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41412 if test "x$ac_cv_func_logf" = x""yes; then :
41413 cat >>confdefs.h <<_ACEOF
41414 #define HAVE_LOGF 1
41415 _ACEOF
41416
41417 fi
41418 done
41419
41420 else
41421
41422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41423 $as_echo_n "checking for _logf declaration... " >&6; }
41424 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41425 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41426 $as_echo_n "(cached) " >&6
41427 else
41428
41429
41430 ac_ext=cpp
41431 ac_cpp='$CXXCPP $CPPFLAGS'
41432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41435
41436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41437 /* end confdefs.h. */
41438 #include <math.h>
41439 #ifdef HAVE_IEEEFP_H
41440 #include <ieeefp.h>
41441 #endif
41442
41443 int
41444 main ()
41445 {
41446 _logf(0);
41447 ;
41448 return 0;
41449 }
41450 _ACEOF
41451 if ac_fn_cxx_try_compile "$LINENO"; then :
41452 glibcxx_cv_func__logf_use=yes
41453 else
41454 glibcxx_cv_func__logf_use=no
41455 fi
41456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41457 ac_ext=c
41458 ac_cpp='$CPP $CPPFLAGS'
41459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41462
41463
41464 fi
41465
41466 fi
41467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41468 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41469
41470 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41471 for ac_func in _logf
41472 do :
41473 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41474 if test "x$ac_cv_func__logf" = x""yes; then :
41475 cat >>confdefs.h <<_ACEOF
41476 #define HAVE__LOGF 1
41477 _ACEOF
41478
41479 fi
41480 done
41481
41482 fi
41483 fi
41484
41485
41486
41487
41488
41489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41490 $as_echo_n "checking for log10f declaration... " >&6; }
41491 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41492 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41493 $as_echo_n "(cached) " >&6
41494 else
41495
41496
41497 ac_ext=cpp
41498 ac_cpp='$CXXCPP $CPPFLAGS'
41499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41502
41503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41504 /* end confdefs.h. */
41505 #include <math.h>
41506 #ifdef HAVE_IEEEFP_H
41507 #include <ieeefp.h>
41508 #endif
41509
41510 int
41511 main ()
41512 {
41513 log10f(0);
41514 ;
41515 return 0;
41516 }
41517 _ACEOF
41518 if ac_fn_cxx_try_compile "$LINENO"; then :
41519 glibcxx_cv_func_log10f_use=yes
41520 else
41521 glibcxx_cv_func_log10f_use=no
41522 fi
41523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41524 ac_ext=c
41525 ac_cpp='$CPP $CPPFLAGS'
41526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41529
41530
41531 fi
41532
41533 fi
41534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41535 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41536
41537 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41538 for ac_func in log10f
41539 do :
41540 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41541 if test "x$ac_cv_func_log10f" = x""yes; then :
41542 cat >>confdefs.h <<_ACEOF
41543 #define HAVE_LOG10F 1
41544 _ACEOF
41545
41546 fi
41547 done
41548
41549 else
41550
41551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41552 $as_echo_n "checking for _log10f declaration... " >&6; }
41553 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41554 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41555 $as_echo_n "(cached) " >&6
41556 else
41557
41558
41559 ac_ext=cpp
41560 ac_cpp='$CXXCPP $CPPFLAGS'
41561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41564
41565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41566 /* end confdefs.h. */
41567 #include <math.h>
41568 #ifdef HAVE_IEEEFP_H
41569 #include <ieeefp.h>
41570 #endif
41571
41572 int
41573 main ()
41574 {
41575 _log10f(0);
41576 ;
41577 return 0;
41578 }
41579 _ACEOF
41580 if ac_fn_cxx_try_compile "$LINENO"; then :
41581 glibcxx_cv_func__log10f_use=yes
41582 else
41583 glibcxx_cv_func__log10f_use=no
41584 fi
41585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41586 ac_ext=c
41587 ac_cpp='$CPP $CPPFLAGS'
41588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41591
41592
41593 fi
41594
41595 fi
41596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41597 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41598
41599 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41600 for ac_func in _log10f
41601 do :
41602 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41603 if test "x$ac_cv_func__log10f" = x""yes; then :
41604 cat >>confdefs.h <<_ACEOF
41605 #define HAVE__LOG10F 1
41606 _ACEOF
41607
41608 fi
41609 done
41610
41611 fi
41612 fi
41613
41614
41615
41616
41617
41618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41619 $as_echo_n "checking for modff declaration... " >&6; }
41620 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41621 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41622 $as_echo_n "(cached) " >&6
41623 else
41624
41625
41626 ac_ext=cpp
41627 ac_cpp='$CXXCPP $CPPFLAGS'
41628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41631
41632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41633 /* end confdefs.h. */
41634 #include <math.h>
41635 int
41636 main ()
41637 {
41638 modff(0, 0);
41639 ;
41640 return 0;
41641 }
41642 _ACEOF
41643 if ac_fn_cxx_try_compile "$LINENO"; then :
41644 glibcxx_cv_func_modff_use=yes
41645 else
41646 glibcxx_cv_func_modff_use=no
41647 fi
41648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41649 ac_ext=c
41650 ac_cpp='$CPP $CPPFLAGS'
41651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41654
41655
41656 fi
41657
41658 fi
41659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41660 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41661
41662 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41663 for ac_func in modff
41664 do :
41665 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41666 if test "x$ac_cv_func_modff" = x""yes; then :
41667 cat >>confdefs.h <<_ACEOF
41668 #define HAVE_MODFF 1
41669 _ACEOF
41670
41671 fi
41672 done
41673
41674 else
41675
41676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41677 $as_echo_n "checking for _modff declaration... " >&6; }
41678 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41679 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41680 $as_echo_n "(cached) " >&6
41681 else
41682
41683
41684 ac_ext=cpp
41685 ac_cpp='$CXXCPP $CPPFLAGS'
41686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41689
41690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41691 /* end confdefs.h. */
41692 #include <math.h>
41693 int
41694 main ()
41695 {
41696 _modff(0, 0);
41697 ;
41698 return 0;
41699 }
41700 _ACEOF
41701 if ac_fn_cxx_try_compile "$LINENO"; then :
41702 glibcxx_cv_func__modff_use=yes
41703 else
41704 glibcxx_cv_func__modff_use=no
41705 fi
41706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41707 ac_ext=c
41708 ac_cpp='$CPP $CPPFLAGS'
41709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41712
41713
41714 fi
41715
41716 fi
41717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41718 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41719
41720 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41721 for ac_func in _modff
41722 do :
41723 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41724 if test "x$ac_cv_func__modff" = x""yes; then :
41725 cat >>confdefs.h <<_ACEOF
41726 #define HAVE__MODFF 1
41727 _ACEOF
41728
41729 fi
41730 done
41731
41732 fi
41733 fi
41734
41735
41736
41737
41738
41739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41740 $as_echo_n "checking for modf declaration... " >&6; }
41741 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41742 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41743 $as_echo_n "(cached) " >&6
41744 else
41745
41746
41747 ac_ext=cpp
41748 ac_cpp='$CXXCPP $CPPFLAGS'
41749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41752
41753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41754 /* end confdefs.h. */
41755 #include <math.h>
41756 int
41757 main ()
41758 {
41759 modf(0, 0);
41760 ;
41761 return 0;
41762 }
41763 _ACEOF
41764 if ac_fn_cxx_try_compile "$LINENO"; then :
41765 glibcxx_cv_func_modf_use=yes
41766 else
41767 glibcxx_cv_func_modf_use=no
41768 fi
41769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41770 ac_ext=c
41771 ac_cpp='$CPP $CPPFLAGS'
41772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41775
41776
41777 fi
41778
41779 fi
41780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41781 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41782
41783 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41784 for ac_func in modf
41785 do :
41786 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41787 if test "x$ac_cv_func_modf" = x""yes; then :
41788 cat >>confdefs.h <<_ACEOF
41789 #define HAVE_MODF 1
41790 _ACEOF
41791
41792 fi
41793 done
41794
41795 else
41796
41797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41798 $as_echo_n "checking for _modf declaration... " >&6; }
41799 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41800 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41801 $as_echo_n "(cached) " >&6
41802 else
41803
41804
41805 ac_ext=cpp
41806 ac_cpp='$CXXCPP $CPPFLAGS'
41807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41810
41811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41812 /* end confdefs.h. */
41813 #include <math.h>
41814 int
41815 main ()
41816 {
41817 _modf(0, 0);
41818 ;
41819 return 0;
41820 }
41821 _ACEOF
41822 if ac_fn_cxx_try_compile "$LINENO"; then :
41823 glibcxx_cv_func__modf_use=yes
41824 else
41825 glibcxx_cv_func__modf_use=no
41826 fi
41827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41828 ac_ext=c
41829 ac_cpp='$CPP $CPPFLAGS'
41830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41833
41834
41835 fi
41836
41837 fi
41838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41839 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41840
41841 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41842 for ac_func in _modf
41843 do :
41844 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41845 if test "x$ac_cv_func__modf" = x""yes; then :
41846 cat >>confdefs.h <<_ACEOF
41847 #define HAVE__MODF 1
41848 _ACEOF
41849
41850 fi
41851 done
41852
41853 fi
41854 fi
41855
41856
41857
41858
41859
41860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41861 $as_echo_n "checking for powf declaration... " >&6; }
41862 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41863 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41864 $as_echo_n "(cached) " >&6
41865 else
41866
41867
41868 ac_ext=cpp
41869 ac_cpp='$CXXCPP $CPPFLAGS'
41870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41873
41874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41875 /* end confdefs.h. */
41876 #include <math.h>
41877 int
41878 main ()
41879 {
41880 powf(0, 0);
41881 ;
41882 return 0;
41883 }
41884 _ACEOF
41885 if ac_fn_cxx_try_compile "$LINENO"; then :
41886 glibcxx_cv_func_powf_use=yes
41887 else
41888 glibcxx_cv_func_powf_use=no
41889 fi
41890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41891 ac_ext=c
41892 ac_cpp='$CPP $CPPFLAGS'
41893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41896
41897
41898 fi
41899
41900 fi
41901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41902 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41903
41904 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41905 for ac_func in powf
41906 do :
41907 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41908 if test "x$ac_cv_func_powf" = x""yes; then :
41909 cat >>confdefs.h <<_ACEOF
41910 #define HAVE_POWF 1
41911 _ACEOF
41912
41913 fi
41914 done
41915
41916 else
41917
41918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41919 $as_echo_n "checking for _powf declaration... " >&6; }
41920 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41921 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41922 $as_echo_n "(cached) " >&6
41923 else
41924
41925
41926 ac_ext=cpp
41927 ac_cpp='$CXXCPP $CPPFLAGS'
41928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41931
41932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41933 /* end confdefs.h. */
41934 #include <math.h>
41935 int
41936 main ()
41937 {
41938 _powf(0, 0);
41939 ;
41940 return 0;
41941 }
41942 _ACEOF
41943 if ac_fn_cxx_try_compile "$LINENO"; then :
41944 glibcxx_cv_func__powf_use=yes
41945 else
41946 glibcxx_cv_func__powf_use=no
41947 fi
41948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41949 ac_ext=c
41950 ac_cpp='$CPP $CPPFLAGS'
41951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41954
41955
41956 fi
41957
41958 fi
41959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41960 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41961
41962 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41963 for ac_func in _powf
41964 do :
41965 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41966 if test "x$ac_cv_func__powf" = x""yes; then :
41967 cat >>confdefs.h <<_ACEOF
41968 #define HAVE__POWF 1
41969 _ACEOF
41970
41971 fi
41972 done
41973
41974 fi
41975 fi
41976
41977
41978
41979
41980
41981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41982 $as_echo_n "checking for sqrtf declaration... " >&6; }
41983 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41984 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41985 $as_echo_n "(cached) " >&6
41986 else
41987
41988
41989 ac_ext=cpp
41990 ac_cpp='$CXXCPP $CPPFLAGS'
41991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41994
41995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41996 /* end confdefs.h. */
41997 #include <math.h>
41998 #ifdef HAVE_IEEEFP_H
41999 #include <ieeefp.h>
42000 #endif
42001
42002 int
42003 main ()
42004 {
42005 sqrtf(0);
42006 ;
42007 return 0;
42008 }
42009 _ACEOF
42010 if ac_fn_cxx_try_compile "$LINENO"; then :
42011 glibcxx_cv_func_sqrtf_use=yes
42012 else
42013 glibcxx_cv_func_sqrtf_use=no
42014 fi
42015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42016 ac_ext=c
42017 ac_cpp='$CPP $CPPFLAGS'
42018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42021
42022
42023 fi
42024
42025 fi
42026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42027 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42028
42029 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42030 for ac_func in sqrtf
42031 do :
42032 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42033 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42034 cat >>confdefs.h <<_ACEOF
42035 #define HAVE_SQRTF 1
42036 _ACEOF
42037
42038 fi
42039 done
42040
42041 else
42042
42043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42044 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42045 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42046 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42047 $as_echo_n "(cached) " >&6
42048 else
42049
42050
42051 ac_ext=cpp
42052 ac_cpp='$CXXCPP $CPPFLAGS'
42053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42056
42057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42058 /* end confdefs.h. */
42059 #include <math.h>
42060 #ifdef HAVE_IEEEFP_H
42061 #include <ieeefp.h>
42062 #endif
42063
42064 int
42065 main ()
42066 {
42067 _sqrtf(0);
42068 ;
42069 return 0;
42070 }
42071 _ACEOF
42072 if ac_fn_cxx_try_compile "$LINENO"; then :
42073 glibcxx_cv_func__sqrtf_use=yes
42074 else
42075 glibcxx_cv_func__sqrtf_use=no
42076 fi
42077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42078 ac_ext=c
42079 ac_cpp='$CPP $CPPFLAGS'
42080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42083
42084
42085 fi
42086
42087 fi
42088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42089 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42090
42091 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42092 for ac_func in _sqrtf
42093 do :
42094 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42095 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42096 cat >>confdefs.h <<_ACEOF
42097 #define HAVE__SQRTF 1
42098 _ACEOF
42099
42100 fi
42101 done
42102
42103 fi
42104 fi
42105
42106
42107
42108
42109
42110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42111 $as_echo_n "checking for sincosf declaration... " >&6; }
42112 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42113 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42114 $as_echo_n "(cached) " >&6
42115 else
42116
42117
42118 ac_ext=cpp
42119 ac_cpp='$CXXCPP $CPPFLAGS'
42120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42123
42124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42125 /* end confdefs.h. */
42126 #include <math.h>
42127 int
42128 main ()
42129 {
42130 sincosf(0, 0, 0);
42131 ;
42132 return 0;
42133 }
42134 _ACEOF
42135 if ac_fn_cxx_try_compile "$LINENO"; then :
42136 glibcxx_cv_func_sincosf_use=yes
42137 else
42138 glibcxx_cv_func_sincosf_use=no
42139 fi
42140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42141 ac_ext=c
42142 ac_cpp='$CPP $CPPFLAGS'
42143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42146
42147
42148 fi
42149
42150 fi
42151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42152 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42153
42154 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42155 for ac_func in sincosf
42156 do :
42157 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42158 if test "x$ac_cv_func_sincosf" = x""yes; then :
42159 cat >>confdefs.h <<_ACEOF
42160 #define HAVE_SINCOSF 1
42161 _ACEOF
42162
42163 fi
42164 done
42165
42166 else
42167
42168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42169 $as_echo_n "checking for _sincosf declaration... " >&6; }
42170 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42171 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42172 $as_echo_n "(cached) " >&6
42173 else
42174
42175
42176 ac_ext=cpp
42177 ac_cpp='$CXXCPP $CPPFLAGS'
42178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42181
42182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42183 /* end confdefs.h. */
42184 #include <math.h>
42185 int
42186 main ()
42187 {
42188 _sincosf(0, 0, 0);
42189 ;
42190 return 0;
42191 }
42192 _ACEOF
42193 if ac_fn_cxx_try_compile "$LINENO"; then :
42194 glibcxx_cv_func__sincosf_use=yes
42195 else
42196 glibcxx_cv_func__sincosf_use=no
42197 fi
42198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42199 ac_ext=c
42200 ac_cpp='$CPP $CPPFLAGS'
42201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42204
42205
42206 fi
42207
42208 fi
42209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42210 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42211
42212 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42213 for ac_func in _sincosf
42214 do :
42215 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42216 if test "x$ac_cv_func__sincosf" = x""yes; then :
42217 cat >>confdefs.h <<_ACEOF
42218 #define HAVE__SINCOSF 1
42219 _ACEOF
42220
42221 fi
42222 done
42223
42224 fi
42225 fi
42226
42227
42228
42229
42230
42231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42232 $as_echo_n "checking for finitef declaration... " >&6; }
42233 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42234 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42235 $as_echo_n "(cached) " >&6
42236 else
42237
42238
42239 ac_ext=cpp
42240 ac_cpp='$CXXCPP $CPPFLAGS'
42241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42244
42245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42246 /* end confdefs.h. */
42247 #include <math.h>
42248 #ifdef HAVE_IEEEFP_H
42249 #include <ieeefp.h>
42250 #endif
42251
42252 int
42253 main ()
42254 {
42255 finitef(0);
42256 ;
42257 return 0;
42258 }
42259 _ACEOF
42260 if ac_fn_cxx_try_compile "$LINENO"; then :
42261 glibcxx_cv_func_finitef_use=yes
42262 else
42263 glibcxx_cv_func_finitef_use=no
42264 fi
42265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42266 ac_ext=c
42267 ac_cpp='$CPP $CPPFLAGS'
42268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42271
42272
42273 fi
42274
42275 fi
42276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42277 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42278
42279 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42280 for ac_func in finitef
42281 do :
42282 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42283 if test "x$ac_cv_func_finitef" = x""yes; then :
42284 cat >>confdefs.h <<_ACEOF
42285 #define HAVE_FINITEF 1
42286 _ACEOF
42287
42288 fi
42289 done
42290
42291 else
42292
42293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42294 $as_echo_n "checking for _finitef declaration... " >&6; }
42295 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42296 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42297 $as_echo_n "(cached) " >&6
42298 else
42299
42300
42301 ac_ext=cpp
42302 ac_cpp='$CXXCPP $CPPFLAGS'
42303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42306
42307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42308 /* end confdefs.h. */
42309 #include <math.h>
42310 #ifdef HAVE_IEEEFP_H
42311 #include <ieeefp.h>
42312 #endif
42313
42314 int
42315 main ()
42316 {
42317 _finitef(0);
42318 ;
42319 return 0;
42320 }
42321 _ACEOF
42322 if ac_fn_cxx_try_compile "$LINENO"; then :
42323 glibcxx_cv_func__finitef_use=yes
42324 else
42325 glibcxx_cv_func__finitef_use=no
42326 fi
42327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42328 ac_ext=c
42329 ac_cpp='$CPP $CPPFLAGS'
42330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42333
42334
42335 fi
42336
42337 fi
42338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42339 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42340
42341 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42342 for ac_func in _finitef
42343 do :
42344 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42345 if test "x$ac_cv_func__finitef" = x""yes; then :
42346 cat >>confdefs.h <<_ACEOF
42347 #define HAVE__FINITEF 1
42348 _ACEOF
42349
42350 fi
42351 done
42352
42353 fi
42354 fi
42355
42356
42357
42358
42359
42360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42361 $as_echo_n "checking for long double trig functions... " >&6; }
42362 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42363 $as_echo_n "(cached) " >&6
42364 else
42365
42366
42367 ac_ext=cpp
42368 ac_cpp='$CXXCPP $CPPFLAGS'
42369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42372
42373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42374 /* end confdefs.h. */
42375 #include <math.h>
42376 int
42377 main ()
42378 {
42379 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42380 ;
42381 return 0;
42382 }
42383 _ACEOF
42384 if ac_fn_cxx_try_compile "$LINENO"; then :
42385 glibcxx_cv_func_long_double_trig_use=yes
42386 else
42387 glibcxx_cv_func_long_double_trig_use=no
42388 fi
42389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42390 ac_ext=c
42391 ac_cpp='$CPP $CPPFLAGS'
42392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42395
42396 fi
42397
42398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42399 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42400 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42401 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42402 do :
42403 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42404 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42405 eval as_val=\$$as_ac_var
42406 if test "x$as_val" = x""yes; then :
42407 cat >>confdefs.h <<_ACEOF
42408 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42409 _ACEOF
42410
42411 fi
42412 done
42413
42414 else
42415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42416 $as_echo_n "checking for _long double trig functions... " >&6; }
42417 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42418 $as_echo_n "(cached) " >&6
42419 else
42420
42421
42422 ac_ext=cpp
42423 ac_cpp='$CXXCPP $CPPFLAGS'
42424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42427
42428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42429 /* end confdefs.h. */
42430 #include <math.h>
42431 int
42432 main ()
42433 {
42434 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42435 ;
42436 return 0;
42437 }
42438 _ACEOF
42439 if ac_fn_cxx_try_compile "$LINENO"; then :
42440 glibcxx_cv_func__long_double_trig_use=yes
42441 else
42442 glibcxx_cv_func__long_double_trig_use=no
42443 fi
42444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42445 ac_ext=c
42446 ac_cpp='$CPP $CPPFLAGS'
42447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42450
42451 fi
42452
42453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42454 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42455 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42456 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42457 do :
42458 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42459 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42460 eval as_val=\$$as_ac_var
42461 if test "x$as_val" = x""yes; then :
42462 cat >>confdefs.h <<_ACEOF
42463 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42464 _ACEOF
42465
42466 fi
42467 done
42468
42469 fi
42470 fi
42471
42472
42473
42474
42475
42476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42477 $as_echo_n "checking for long double round functions... " >&6; }
42478 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42479 $as_echo_n "(cached) " >&6
42480 else
42481
42482
42483 ac_ext=cpp
42484 ac_cpp='$CXXCPP $CPPFLAGS'
42485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42488
42489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42490 /* end confdefs.h. */
42491 #include <math.h>
42492 int
42493 main ()
42494 {
42495 ceill (0); floorl (0);
42496 ;
42497 return 0;
42498 }
42499 _ACEOF
42500 if ac_fn_cxx_try_compile "$LINENO"; then :
42501 glibcxx_cv_func_long_double_round_use=yes
42502 else
42503 glibcxx_cv_func_long_double_round_use=no
42504 fi
42505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42506 ac_ext=c
42507 ac_cpp='$CPP $CPPFLAGS'
42508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42511
42512 fi
42513
42514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42515 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42516 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42517 for ac_func in ceill floorl
42518 do :
42519 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42520 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42521 eval as_val=\$$as_ac_var
42522 if test "x$as_val" = x""yes; then :
42523 cat >>confdefs.h <<_ACEOF
42524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42525 _ACEOF
42526
42527 fi
42528 done
42529
42530 else
42531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42532 $as_echo_n "checking for _long double round functions... " >&6; }
42533 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42534 $as_echo_n "(cached) " >&6
42535 else
42536
42537
42538 ac_ext=cpp
42539 ac_cpp='$CXXCPP $CPPFLAGS'
42540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42543
42544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42545 /* end confdefs.h. */
42546 #include <math.h>
42547 int
42548 main ()
42549 {
42550 _ceill (0); _floorl (0);
42551 ;
42552 return 0;
42553 }
42554 _ACEOF
42555 if ac_fn_cxx_try_compile "$LINENO"; then :
42556 glibcxx_cv_func__long_double_round_use=yes
42557 else
42558 glibcxx_cv_func__long_double_round_use=no
42559 fi
42560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42561 ac_ext=c
42562 ac_cpp='$CPP $CPPFLAGS'
42563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42566
42567 fi
42568
42569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42570 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42571 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42572 for ac_func in _ceill _floorl
42573 do :
42574 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42575 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42576 eval as_val=\$$as_ac_var
42577 if test "x$as_val" = x""yes; then :
42578 cat >>confdefs.h <<_ACEOF
42579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42580 _ACEOF
42581
42582 fi
42583 done
42584
42585 fi
42586 fi
42587
42588
42589
42590
42591
42592
42593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42594 $as_echo_n "checking for isnanl declaration... " >&6; }
42595 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42596 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42597 $as_echo_n "(cached) " >&6
42598 else
42599
42600
42601 ac_ext=cpp
42602 ac_cpp='$CXXCPP $CPPFLAGS'
42603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42606
42607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42608 /* end confdefs.h. */
42609 #include <math.h>
42610 #ifdef HAVE_IEEEFP_H
42611 #include <ieeefp.h>
42612 #endif
42613
42614 int
42615 main ()
42616 {
42617 isnanl(0);
42618 ;
42619 return 0;
42620 }
42621 _ACEOF
42622 if ac_fn_cxx_try_compile "$LINENO"; then :
42623 glibcxx_cv_func_isnanl_use=yes
42624 else
42625 glibcxx_cv_func_isnanl_use=no
42626 fi
42627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42628 ac_ext=c
42629 ac_cpp='$CPP $CPPFLAGS'
42630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42633
42634
42635 fi
42636
42637 fi
42638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42639 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42640
42641 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42642 for ac_func in isnanl
42643 do :
42644 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42645 if test "x$ac_cv_func_isnanl" = x""yes; then :
42646 cat >>confdefs.h <<_ACEOF
42647 #define HAVE_ISNANL 1
42648 _ACEOF
42649
42650 fi
42651 done
42652
42653 else
42654
42655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42656 $as_echo_n "checking for _isnanl declaration... " >&6; }
42657 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42658 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42659 $as_echo_n "(cached) " >&6
42660 else
42661
42662
42663 ac_ext=cpp
42664 ac_cpp='$CXXCPP $CPPFLAGS'
42665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42668
42669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42670 /* end confdefs.h. */
42671 #include <math.h>
42672 #ifdef HAVE_IEEEFP_H
42673 #include <ieeefp.h>
42674 #endif
42675
42676 int
42677 main ()
42678 {
42679 _isnanl(0);
42680 ;
42681 return 0;
42682 }
42683 _ACEOF
42684 if ac_fn_cxx_try_compile "$LINENO"; then :
42685 glibcxx_cv_func__isnanl_use=yes
42686 else
42687 glibcxx_cv_func__isnanl_use=no
42688 fi
42689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42690 ac_ext=c
42691 ac_cpp='$CPP $CPPFLAGS'
42692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42695
42696
42697 fi
42698
42699 fi
42700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42701 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42702
42703 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42704 for ac_func in _isnanl
42705 do :
42706 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42707 if test "x$ac_cv_func__isnanl" = x""yes; then :
42708 cat >>confdefs.h <<_ACEOF
42709 #define HAVE__ISNANL 1
42710 _ACEOF
42711
42712 fi
42713 done
42714
42715 fi
42716 fi
42717
42718
42719
42720
42721
42722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42723 $as_echo_n "checking for isinfl declaration... " >&6; }
42724 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42725 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42726 $as_echo_n "(cached) " >&6
42727 else
42728
42729
42730 ac_ext=cpp
42731 ac_cpp='$CXXCPP $CPPFLAGS'
42732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42735
42736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42737 /* end confdefs.h. */
42738 #include <math.h>
42739 #ifdef HAVE_IEEEFP_H
42740 #include <ieeefp.h>
42741 #endif
42742
42743 int
42744 main ()
42745 {
42746 isinfl(0);
42747 ;
42748 return 0;
42749 }
42750 _ACEOF
42751 if ac_fn_cxx_try_compile "$LINENO"; then :
42752 glibcxx_cv_func_isinfl_use=yes
42753 else
42754 glibcxx_cv_func_isinfl_use=no
42755 fi
42756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42757 ac_ext=c
42758 ac_cpp='$CPP $CPPFLAGS'
42759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42762
42763
42764 fi
42765
42766 fi
42767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42768 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42769
42770 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42771 for ac_func in isinfl
42772 do :
42773 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42774 if test "x$ac_cv_func_isinfl" = x""yes; then :
42775 cat >>confdefs.h <<_ACEOF
42776 #define HAVE_ISINFL 1
42777 _ACEOF
42778
42779 fi
42780 done
42781
42782 else
42783
42784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42785 $as_echo_n "checking for _isinfl declaration... " >&6; }
42786 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42787 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42788 $as_echo_n "(cached) " >&6
42789 else
42790
42791
42792 ac_ext=cpp
42793 ac_cpp='$CXXCPP $CPPFLAGS'
42794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42797
42798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42799 /* end confdefs.h. */
42800 #include <math.h>
42801 #ifdef HAVE_IEEEFP_H
42802 #include <ieeefp.h>
42803 #endif
42804
42805 int
42806 main ()
42807 {
42808 _isinfl(0);
42809 ;
42810 return 0;
42811 }
42812 _ACEOF
42813 if ac_fn_cxx_try_compile "$LINENO"; then :
42814 glibcxx_cv_func__isinfl_use=yes
42815 else
42816 glibcxx_cv_func__isinfl_use=no
42817 fi
42818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42819 ac_ext=c
42820 ac_cpp='$CPP $CPPFLAGS'
42821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42824
42825
42826 fi
42827
42828 fi
42829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42830 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42831
42832 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42833 for ac_func in _isinfl
42834 do :
42835 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42836 if test "x$ac_cv_func__isinfl" = x""yes; then :
42837 cat >>confdefs.h <<_ACEOF
42838 #define HAVE__ISINFL 1
42839 _ACEOF
42840
42841 fi
42842 done
42843
42844 fi
42845 fi
42846
42847
42848
42849
42850
42851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42852 $as_echo_n "checking for atan2l declaration... " >&6; }
42853 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42854 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42855 $as_echo_n "(cached) " >&6
42856 else
42857
42858
42859 ac_ext=cpp
42860 ac_cpp='$CXXCPP $CPPFLAGS'
42861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42864
42865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42866 /* end confdefs.h. */
42867 #include <math.h>
42868 int
42869 main ()
42870 {
42871 atan2l(0, 0);
42872 ;
42873 return 0;
42874 }
42875 _ACEOF
42876 if ac_fn_cxx_try_compile "$LINENO"; then :
42877 glibcxx_cv_func_atan2l_use=yes
42878 else
42879 glibcxx_cv_func_atan2l_use=no
42880 fi
42881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42882 ac_ext=c
42883 ac_cpp='$CPP $CPPFLAGS'
42884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42887
42888
42889 fi
42890
42891 fi
42892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42893 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42894
42895 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42896 for ac_func in atan2l
42897 do :
42898 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42899 if test "x$ac_cv_func_atan2l" = x""yes; then :
42900 cat >>confdefs.h <<_ACEOF
42901 #define HAVE_ATAN2L 1
42902 _ACEOF
42903
42904 fi
42905 done
42906
42907 else
42908
42909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42910 $as_echo_n "checking for _atan2l declaration... " >&6; }
42911 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42912 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42913 $as_echo_n "(cached) " >&6
42914 else
42915
42916
42917 ac_ext=cpp
42918 ac_cpp='$CXXCPP $CPPFLAGS'
42919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42922
42923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42924 /* end confdefs.h. */
42925 #include <math.h>
42926 int
42927 main ()
42928 {
42929 _atan2l(0, 0);
42930 ;
42931 return 0;
42932 }
42933 _ACEOF
42934 if ac_fn_cxx_try_compile "$LINENO"; then :
42935 glibcxx_cv_func__atan2l_use=yes
42936 else
42937 glibcxx_cv_func__atan2l_use=no
42938 fi
42939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42940 ac_ext=c
42941 ac_cpp='$CPP $CPPFLAGS'
42942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42945
42946
42947 fi
42948
42949 fi
42950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42951 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42952
42953 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42954 for ac_func in _atan2l
42955 do :
42956 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42957 if test "x$ac_cv_func__atan2l" = x""yes; then :
42958 cat >>confdefs.h <<_ACEOF
42959 #define HAVE__ATAN2L 1
42960 _ACEOF
42961
42962 fi
42963 done
42964
42965 fi
42966 fi
42967
42968
42969
42970
42971
42972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42973 $as_echo_n "checking for expl declaration... " >&6; }
42974 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42975 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42976 $as_echo_n "(cached) " >&6
42977 else
42978
42979
42980 ac_ext=cpp
42981 ac_cpp='$CXXCPP $CPPFLAGS'
42982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42985
42986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42987 /* end confdefs.h. */
42988 #include <math.h>
42989 #ifdef HAVE_IEEEFP_H
42990 #include <ieeefp.h>
42991 #endif
42992
42993 int
42994 main ()
42995 {
42996 expl(0);
42997 ;
42998 return 0;
42999 }
43000 _ACEOF
43001 if ac_fn_cxx_try_compile "$LINENO"; then :
43002 glibcxx_cv_func_expl_use=yes
43003 else
43004 glibcxx_cv_func_expl_use=no
43005 fi
43006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43007 ac_ext=c
43008 ac_cpp='$CPP $CPPFLAGS'
43009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43012
43013
43014 fi
43015
43016 fi
43017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43018 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43019
43020 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43021 for ac_func in expl
43022 do :
43023 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43024 if test "x$ac_cv_func_expl" = x""yes; then :
43025 cat >>confdefs.h <<_ACEOF
43026 #define HAVE_EXPL 1
43027 _ACEOF
43028
43029 fi
43030 done
43031
43032 else
43033
43034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43035 $as_echo_n "checking for _expl declaration... " >&6; }
43036 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43037 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43038 $as_echo_n "(cached) " >&6
43039 else
43040
43041
43042 ac_ext=cpp
43043 ac_cpp='$CXXCPP $CPPFLAGS'
43044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43047
43048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43049 /* end confdefs.h. */
43050 #include <math.h>
43051 #ifdef HAVE_IEEEFP_H
43052 #include <ieeefp.h>
43053 #endif
43054
43055 int
43056 main ()
43057 {
43058 _expl(0);
43059 ;
43060 return 0;
43061 }
43062 _ACEOF
43063 if ac_fn_cxx_try_compile "$LINENO"; then :
43064 glibcxx_cv_func__expl_use=yes
43065 else
43066 glibcxx_cv_func__expl_use=no
43067 fi
43068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43069 ac_ext=c
43070 ac_cpp='$CPP $CPPFLAGS'
43071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43074
43075
43076 fi
43077
43078 fi
43079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43080 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43081
43082 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43083 for ac_func in _expl
43084 do :
43085 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43086 if test "x$ac_cv_func__expl" = x""yes; then :
43087 cat >>confdefs.h <<_ACEOF
43088 #define HAVE__EXPL 1
43089 _ACEOF
43090
43091 fi
43092 done
43093
43094 fi
43095 fi
43096
43097
43098
43099
43100
43101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43102 $as_echo_n "checking for fabsl declaration... " >&6; }
43103 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43104 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43105 $as_echo_n "(cached) " >&6
43106 else
43107
43108
43109 ac_ext=cpp
43110 ac_cpp='$CXXCPP $CPPFLAGS'
43111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43114
43115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43116 /* end confdefs.h. */
43117 #include <math.h>
43118 #ifdef HAVE_IEEEFP_H
43119 #include <ieeefp.h>
43120 #endif
43121
43122 int
43123 main ()
43124 {
43125 fabsl(0);
43126 ;
43127 return 0;
43128 }
43129 _ACEOF
43130 if ac_fn_cxx_try_compile "$LINENO"; then :
43131 glibcxx_cv_func_fabsl_use=yes
43132 else
43133 glibcxx_cv_func_fabsl_use=no
43134 fi
43135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43136 ac_ext=c
43137 ac_cpp='$CPP $CPPFLAGS'
43138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43141
43142
43143 fi
43144
43145 fi
43146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43147 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43148
43149 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43150 for ac_func in fabsl
43151 do :
43152 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43153 if test "x$ac_cv_func_fabsl" = x""yes; then :
43154 cat >>confdefs.h <<_ACEOF
43155 #define HAVE_FABSL 1
43156 _ACEOF
43157
43158 fi
43159 done
43160
43161 else
43162
43163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43164 $as_echo_n "checking for _fabsl declaration... " >&6; }
43165 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43166 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43167 $as_echo_n "(cached) " >&6
43168 else
43169
43170
43171 ac_ext=cpp
43172 ac_cpp='$CXXCPP $CPPFLAGS'
43173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43176
43177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43178 /* end confdefs.h. */
43179 #include <math.h>
43180 #ifdef HAVE_IEEEFP_H
43181 #include <ieeefp.h>
43182 #endif
43183
43184 int
43185 main ()
43186 {
43187 _fabsl(0);
43188 ;
43189 return 0;
43190 }
43191 _ACEOF
43192 if ac_fn_cxx_try_compile "$LINENO"; then :
43193 glibcxx_cv_func__fabsl_use=yes
43194 else
43195 glibcxx_cv_func__fabsl_use=no
43196 fi
43197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43198 ac_ext=c
43199 ac_cpp='$CPP $CPPFLAGS'
43200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43203
43204
43205 fi
43206
43207 fi
43208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43209 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43210
43211 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43212 for ac_func in _fabsl
43213 do :
43214 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43215 if test "x$ac_cv_func__fabsl" = x""yes; then :
43216 cat >>confdefs.h <<_ACEOF
43217 #define HAVE__FABSL 1
43218 _ACEOF
43219
43220 fi
43221 done
43222
43223 fi
43224 fi
43225
43226
43227
43228
43229
43230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43231 $as_echo_n "checking for fmodl declaration... " >&6; }
43232 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43233 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43234 $as_echo_n "(cached) " >&6
43235 else
43236
43237
43238 ac_ext=cpp
43239 ac_cpp='$CXXCPP $CPPFLAGS'
43240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43243
43244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43245 /* end confdefs.h. */
43246 #include <math.h>
43247 int
43248 main ()
43249 {
43250 fmodl(0, 0);
43251 ;
43252 return 0;
43253 }
43254 _ACEOF
43255 if ac_fn_cxx_try_compile "$LINENO"; then :
43256 glibcxx_cv_func_fmodl_use=yes
43257 else
43258 glibcxx_cv_func_fmodl_use=no
43259 fi
43260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43261 ac_ext=c
43262 ac_cpp='$CPP $CPPFLAGS'
43263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43266
43267
43268 fi
43269
43270 fi
43271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43272 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43273
43274 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43275 for ac_func in fmodl
43276 do :
43277 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43278 if test "x$ac_cv_func_fmodl" = x""yes; then :
43279 cat >>confdefs.h <<_ACEOF
43280 #define HAVE_FMODL 1
43281 _ACEOF
43282
43283 fi
43284 done
43285
43286 else
43287
43288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43289 $as_echo_n "checking for _fmodl declaration... " >&6; }
43290 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43291 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43292 $as_echo_n "(cached) " >&6
43293 else
43294
43295
43296 ac_ext=cpp
43297 ac_cpp='$CXXCPP $CPPFLAGS'
43298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43301
43302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43303 /* end confdefs.h. */
43304 #include <math.h>
43305 int
43306 main ()
43307 {
43308 _fmodl(0, 0);
43309 ;
43310 return 0;
43311 }
43312 _ACEOF
43313 if ac_fn_cxx_try_compile "$LINENO"; then :
43314 glibcxx_cv_func__fmodl_use=yes
43315 else
43316 glibcxx_cv_func__fmodl_use=no
43317 fi
43318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43319 ac_ext=c
43320 ac_cpp='$CPP $CPPFLAGS'
43321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43324
43325
43326 fi
43327
43328 fi
43329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43330 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43331
43332 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43333 for ac_func in _fmodl
43334 do :
43335 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43336 if test "x$ac_cv_func__fmodl" = x""yes; then :
43337 cat >>confdefs.h <<_ACEOF
43338 #define HAVE__FMODL 1
43339 _ACEOF
43340
43341 fi
43342 done
43343
43344 fi
43345 fi
43346
43347
43348
43349
43350
43351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43352 $as_echo_n "checking for frexpl declaration... " >&6; }
43353 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43354 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43355 $as_echo_n "(cached) " >&6
43356 else
43357
43358
43359 ac_ext=cpp
43360 ac_cpp='$CXXCPP $CPPFLAGS'
43361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43364
43365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43366 /* end confdefs.h. */
43367 #include <math.h>
43368 int
43369 main ()
43370 {
43371 frexpl(0, 0);
43372 ;
43373 return 0;
43374 }
43375 _ACEOF
43376 if ac_fn_cxx_try_compile "$LINENO"; then :
43377 glibcxx_cv_func_frexpl_use=yes
43378 else
43379 glibcxx_cv_func_frexpl_use=no
43380 fi
43381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43382 ac_ext=c
43383 ac_cpp='$CPP $CPPFLAGS'
43384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43387
43388
43389 fi
43390
43391 fi
43392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43393 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43394
43395 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43396 for ac_func in frexpl
43397 do :
43398 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43399 if test "x$ac_cv_func_frexpl" = x""yes; then :
43400 cat >>confdefs.h <<_ACEOF
43401 #define HAVE_FREXPL 1
43402 _ACEOF
43403
43404 fi
43405 done
43406
43407 else
43408
43409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43410 $as_echo_n "checking for _frexpl declaration... " >&6; }
43411 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43412 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43413 $as_echo_n "(cached) " >&6
43414 else
43415
43416
43417 ac_ext=cpp
43418 ac_cpp='$CXXCPP $CPPFLAGS'
43419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43422
43423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43424 /* end confdefs.h. */
43425 #include <math.h>
43426 int
43427 main ()
43428 {
43429 _frexpl(0, 0);
43430 ;
43431 return 0;
43432 }
43433 _ACEOF
43434 if ac_fn_cxx_try_compile "$LINENO"; then :
43435 glibcxx_cv_func__frexpl_use=yes
43436 else
43437 glibcxx_cv_func__frexpl_use=no
43438 fi
43439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43440 ac_ext=c
43441 ac_cpp='$CPP $CPPFLAGS'
43442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43445
43446
43447 fi
43448
43449 fi
43450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43451 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43452
43453 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43454 for ac_func in _frexpl
43455 do :
43456 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43457 if test "x$ac_cv_func__frexpl" = x""yes; then :
43458 cat >>confdefs.h <<_ACEOF
43459 #define HAVE__FREXPL 1
43460 _ACEOF
43461
43462 fi
43463 done
43464
43465 fi
43466 fi
43467
43468
43469
43470
43471
43472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43473 $as_echo_n "checking for hypotl declaration... " >&6; }
43474 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43475 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43476 $as_echo_n "(cached) " >&6
43477 else
43478
43479
43480 ac_ext=cpp
43481 ac_cpp='$CXXCPP $CPPFLAGS'
43482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43485
43486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43487 /* end confdefs.h. */
43488 #include <math.h>
43489 int
43490 main ()
43491 {
43492 hypotl(0, 0);
43493 ;
43494 return 0;
43495 }
43496 _ACEOF
43497 if ac_fn_cxx_try_compile "$LINENO"; then :
43498 glibcxx_cv_func_hypotl_use=yes
43499 else
43500 glibcxx_cv_func_hypotl_use=no
43501 fi
43502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43503 ac_ext=c
43504 ac_cpp='$CPP $CPPFLAGS'
43505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43508
43509
43510 fi
43511
43512 fi
43513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43514 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43515
43516 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43517 for ac_func in hypotl
43518 do :
43519 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43520 if test "x$ac_cv_func_hypotl" = x""yes; then :
43521 cat >>confdefs.h <<_ACEOF
43522 #define HAVE_HYPOTL 1
43523 _ACEOF
43524
43525 fi
43526 done
43527
43528 else
43529
43530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43531 $as_echo_n "checking for _hypotl declaration... " >&6; }
43532 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43533 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43534 $as_echo_n "(cached) " >&6
43535 else
43536
43537
43538 ac_ext=cpp
43539 ac_cpp='$CXXCPP $CPPFLAGS'
43540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43543
43544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43545 /* end confdefs.h. */
43546 #include <math.h>
43547 int
43548 main ()
43549 {
43550 _hypotl(0, 0);
43551 ;
43552 return 0;
43553 }
43554 _ACEOF
43555 if ac_fn_cxx_try_compile "$LINENO"; then :
43556 glibcxx_cv_func__hypotl_use=yes
43557 else
43558 glibcxx_cv_func__hypotl_use=no
43559 fi
43560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43561 ac_ext=c
43562 ac_cpp='$CPP $CPPFLAGS'
43563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43566
43567
43568 fi
43569
43570 fi
43571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43572 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43573
43574 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43575 for ac_func in _hypotl
43576 do :
43577 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43578 if test "x$ac_cv_func__hypotl" = x""yes; then :
43579 cat >>confdefs.h <<_ACEOF
43580 #define HAVE__HYPOTL 1
43581 _ACEOF
43582
43583 fi
43584 done
43585
43586 fi
43587 fi
43588
43589
43590
43591
43592
43593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43594 $as_echo_n "checking for ldexpl declaration... " >&6; }
43595 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43596 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43597 $as_echo_n "(cached) " >&6
43598 else
43599
43600
43601 ac_ext=cpp
43602 ac_cpp='$CXXCPP $CPPFLAGS'
43603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43606
43607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43608 /* end confdefs.h. */
43609 #include <math.h>
43610 int
43611 main ()
43612 {
43613 ldexpl(0, 0);
43614 ;
43615 return 0;
43616 }
43617 _ACEOF
43618 if ac_fn_cxx_try_compile "$LINENO"; then :
43619 glibcxx_cv_func_ldexpl_use=yes
43620 else
43621 glibcxx_cv_func_ldexpl_use=no
43622 fi
43623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43624 ac_ext=c
43625 ac_cpp='$CPP $CPPFLAGS'
43626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43629
43630
43631 fi
43632
43633 fi
43634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43635 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43636
43637 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43638 for ac_func in ldexpl
43639 do :
43640 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43641 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43642 cat >>confdefs.h <<_ACEOF
43643 #define HAVE_LDEXPL 1
43644 _ACEOF
43645
43646 fi
43647 done
43648
43649 else
43650
43651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43652 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43653 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43654 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43655 $as_echo_n "(cached) " >&6
43656 else
43657
43658
43659 ac_ext=cpp
43660 ac_cpp='$CXXCPP $CPPFLAGS'
43661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43664
43665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43666 /* end confdefs.h. */
43667 #include <math.h>
43668 int
43669 main ()
43670 {
43671 _ldexpl(0, 0);
43672 ;
43673 return 0;
43674 }
43675 _ACEOF
43676 if ac_fn_cxx_try_compile "$LINENO"; then :
43677 glibcxx_cv_func__ldexpl_use=yes
43678 else
43679 glibcxx_cv_func__ldexpl_use=no
43680 fi
43681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43682 ac_ext=c
43683 ac_cpp='$CPP $CPPFLAGS'
43684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43687
43688
43689 fi
43690
43691 fi
43692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43693 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43694
43695 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43696 for ac_func in _ldexpl
43697 do :
43698 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43699 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43700 cat >>confdefs.h <<_ACEOF
43701 #define HAVE__LDEXPL 1
43702 _ACEOF
43703
43704 fi
43705 done
43706
43707 fi
43708 fi
43709
43710
43711
43712
43713
43714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43715 $as_echo_n "checking for logl declaration... " >&6; }
43716 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43717 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43718 $as_echo_n "(cached) " >&6
43719 else
43720
43721
43722 ac_ext=cpp
43723 ac_cpp='$CXXCPP $CPPFLAGS'
43724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43727
43728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43729 /* end confdefs.h. */
43730 #include <math.h>
43731 #ifdef HAVE_IEEEFP_H
43732 #include <ieeefp.h>
43733 #endif
43734
43735 int
43736 main ()
43737 {
43738 logl(0);
43739 ;
43740 return 0;
43741 }
43742 _ACEOF
43743 if ac_fn_cxx_try_compile "$LINENO"; then :
43744 glibcxx_cv_func_logl_use=yes
43745 else
43746 glibcxx_cv_func_logl_use=no
43747 fi
43748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43749 ac_ext=c
43750 ac_cpp='$CPP $CPPFLAGS'
43751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43754
43755
43756 fi
43757
43758 fi
43759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43760 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43761
43762 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43763 for ac_func in logl
43764 do :
43765 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43766 if test "x$ac_cv_func_logl" = x""yes; then :
43767 cat >>confdefs.h <<_ACEOF
43768 #define HAVE_LOGL 1
43769 _ACEOF
43770
43771 fi
43772 done
43773
43774 else
43775
43776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43777 $as_echo_n "checking for _logl declaration... " >&6; }
43778 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43779 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43780 $as_echo_n "(cached) " >&6
43781 else
43782
43783
43784 ac_ext=cpp
43785 ac_cpp='$CXXCPP $CPPFLAGS'
43786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43789
43790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43791 /* end confdefs.h. */
43792 #include <math.h>
43793 #ifdef HAVE_IEEEFP_H
43794 #include <ieeefp.h>
43795 #endif
43796
43797 int
43798 main ()
43799 {
43800 _logl(0);
43801 ;
43802 return 0;
43803 }
43804 _ACEOF
43805 if ac_fn_cxx_try_compile "$LINENO"; then :
43806 glibcxx_cv_func__logl_use=yes
43807 else
43808 glibcxx_cv_func__logl_use=no
43809 fi
43810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43811 ac_ext=c
43812 ac_cpp='$CPP $CPPFLAGS'
43813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43816
43817
43818 fi
43819
43820 fi
43821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43822 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43823
43824 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43825 for ac_func in _logl
43826 do :
43827 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43828 if test "x$ac_cv_func__logl" = x""yes; then :
43829 cat >>confdefs.h <<_ACEOF
43830 #define HAVE__LOGL 1
43831 _ACEOF
43832
43833 fi
43834 done
43835
43836 fi
43837 fi
43838
43839
43840
43841
43842
43843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43844 $as_echo_n "checking for log10l declaration... " >&6; }
43845 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43846 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43847 $as_echo_n "(cached) " >&6
43848 else
43849
43850
43851 ac_ext=cpp
43852 ac_cpp='$CXXCPP $CPPFLAGS'
43853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43856
43857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43858 /* end confdefs.h. */
43859 #include <math.h>
43860 #ifdef HAVE_IEEEFP_H
43861 #include <ieeefp.h>
43862 #endif
43863
43864 int
43865 main ()
43866 {
43867 log10l(0);
43868 ;
43869 return 0;
43870 }
43871 _ACEOF
43872 if ac_fn_cxx_try_compile "$LINENO"; then :
43873 glibcxx_cv_func_log10l_use=yes
43874 else
43875 glibcxx_cv_func_log10l_use=no
43876 fi
43877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43878 ac_ext=c
43879 ac_cpp='$CPP $CPPFLAGS'
43880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43883
43884
43885 fi
43886
43887 fi
43888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43889 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43890
43891 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43892 for ac_func in log10l
43893 do :
43894 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43895 if test "x$ac_cv_func_log10l" = x""yes; then :
43896 cat >>confdefs.h <<_ACEOF
43897 #define HAVE_LOG10L 1
43898 _ACEOF
43899
43900 fi
43901 done
43902
43903 else
43904
43905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43906 $as_echo_n "checking for _log10l declaration... " >&6; }
43907 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43908 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43909 $as_echo_n "(cached) " >&6
43910 else
43911
43912
43913 ac_ext=cpp
43914 ac_cpp='$CXXCPP $CPPFLAGS'
43915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43918
43919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43920 /* end confdefs.h. */
43921 #include <math.h>
43922 #ifdef HAVE_IEEEFP_H
43923 #include <ieeefp.h>
43924 #endif
43925
43926 int
43927 main ()
43928 {
43929 _log10l(0);
43930 ;
43931 return 0;
43932 }
43933 _ACEOF
43934 if ac_fn_cxx_try_compile "$LINENO"; then :
43935 glibcxx_cv_func__log10l_use=yes
43936 else
43937 glibcxx_cv_func__log10l_use=no
43938 fi
43939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43940 ac_ext=c
43941 ac_cpp='$CPP $CPPFLAGS'
43942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43945
43946
43947 fi
43948
43949 fi
43950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43951 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43952
43953 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43954 for ac_func in _log10l
43955 do :
43956 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43957 if test "x$ac_cv_func__log10l" = x""yes; then :
43958 cat >>confdefs.h <<_ACEOF
43959 #define HAVE__LOG10L 1
43960 _ACEOF
43961
43962 fi
43963 done
43964
43965 fi
43966 fi
43967
43968
43969
43970
43971
43972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43973 $as_echo_n "checking for modfl declaration... " >&6; }
43974 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43975 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43976 $as_echo_n "(cached) " >&6
43977 else
43978
43979
43980 ac_ext=cpp
43981 ac_cpp='$CXXCPP $CPPFLAGS'
43982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43985
43986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43987 /* end confdefs.h. */
43988 #include <math.h>
43989 int
43990 main ()
43991 {
43992 modfl(0, 0);
43993 ;
43994 return 0;
43995 }
43996 _ACEOF
43997 if ac_fn_cxx_try_compile "$LINENO"; then :
43998 glibcxx_cv_func_modfl_use=yes
43999 else
44000 glibcxx_cv_func_modfl_use=no
44001 fi
44002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44003 ac_ext=c
44004 ac_cpp='$CPP $CPPFLAGS'
44005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44008
44009
44010 fi
44011
44012 fi
44013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44014 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44015
44016 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44017 for ac_func in modfl
44018 do :
44019 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44020 if test "x$ac_cv_func_modfl" = x""yes; then :
44021 cat >>confdefs.h <<_ACEOF
44022 #define HAVE_MODFL 1
44023 _ACEOF
44024
44025 fi
44026 done
44027
44028 else
44029
44030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44031 $as_echo_n "checking for _modfl declaration... " >&6; }
44032 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44033 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44034 $as_echo_n "(cached) " >&6
44035 else
44036
44037
44038 ac_ext=cpp
44039 ac_cpp='$CXXCPP $CPPFLAGS'
44040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44043
44044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44045 /* end confdefs.h. */
44046 #include <math.h>
44047 int
44048 main ()
44049 {
44050 _modfl(0, 0);
44051 ;
44052 return 0;
44053 }
44054 _ACEOF
44055 if ac_fn_cxx_try_compile "$LINENO"; then :
44056 glibcxx_cv_func__modfl_use=yes
44057 else
44058 glibcxx_cv_func__modfl_use=no
44059 fi
44060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44061 ac_ext=c
44062 ac_cpp='$CPP $CPPFLAGS'
44063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44066
44067
44068 fi
44069
44070 fi
44071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44072 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44073
44074 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44075 for ac_func in _modfl
44076 do :
44077 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44078 if test "x$ac_cv_func__modfl" = x""yes; then :
44079 cat >>confdefs.h <<_ACEOF
44080 #define HAVE__MODFL 1
44081 _ACEOF
44082
44083 fi
44084 done
44085
44086 fi
44087 fi
44088
44089
44090
44091
44092
44093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44094 $as_echo_n "checking for powl declaration... " >&6; }
44095 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44096 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44097 $as_echo_n "(cached) " >&6
44098 else
44099
44100
44101 ac_ext=cpp
44102 ac_cpp='$CXXCPP $CPPFLAGS'
44103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44106
44107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44108 /* end confdefs.h. */
44109 #include <math.h>
44110 int
44111 main ()
44112 {
44113 powl(0, 0);
44114 ;
44115 return 0;
44116 }
44117 _ACEOF
44118 if ac_fn_cxx_try_compile "$LINENO"; then :
44119 glibcxx_cv_func_powl_use=yes
44120 else
44121 glibcxx_cv_func_powl_use=no
44122 fi
44123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44124 ac_ext=c
44125 ac_cpp='$CPP $CPPFLAGS'
44126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44129
44130
44131 fi
44132
44133 fi
44134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44135 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44136
44137 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44138 for ac_func in powl
44139 do :
44140 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44141 if test "x$ac_cv_func_powl" = x""yes; then :
44142 cat >>confdefs.h <<_ACEOF
44143 #define HAVE_POWL 1
44144 _ACEOF
44145
44146 fi
44147 done
44148
44149 else
44150
44151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44152 $as_echo_n "checking for _powl declaration... " >&6; }
44153 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44154 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44155 $as_echo_n "(cached) " >&6
44156 else
44157
44158
44159 ac_ext=cpp
44160 ac_cpp='$CXXCPP $CPPFLAGS'
44161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44164
44165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44166 /* end confdefs.h. */
44167 #include <math.h>
44168 int
44169 main ()
44170 {
44171 _powl(0, 0);
44172 ;
44173 return 0;
44174 }
44175 _ACEOF
44176 if ac_fn_cxx_try_compile "$LINENO"; then :
44177 glibcxx_cv_func__powl_use=yes
44178 else
44179 glibcxx_cv_func__powl_use=no
44180 fi
44181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44182 ac_ext=c
44183 ac_cpp='$CPP $CPPFLAGS'
44184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44187
44188
44189 fi
44190
44191 fi
44192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44193 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44194
44195 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44196 for ac_func in _powl
44197 do :
44198 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44199 if test "x$ac_cv_func__powl" = x""yes; then :
44200 cat >>confdefs.h <<_ACEOF
44201 #define HAVE__POWL 1
44202 _ACEOF
44203
44204 fi
44205 done
44206
44207 fi
44208 fi
44209
44210
44211
44212
44213
44214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44215 $as_echo_n "checking for sqrtl declaration... " >&6; }
44216 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44217 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44218 $as_echo_n "(cached) " >&6
44219 else
44220
44221
44222 ac_ext=cpp
44223 ac_cpp='$CXXCPP $CPPFLAGS'
44224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44227
44228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44229 /* end confdefs.h. */
44230 #include <math.h>
44231 #ifdef HAVE_IEEEFP_H
44232 #include <ieeefp.h>
44233 #endif
44234
44235 int
44236 main ()
44237 {
44238 sqrtl(0);
44239 ;
44240 return 0;
44241 }
44242 _ACEOF
44243 if ac_fn_cxx_try_compile "$LINENO"; then :
44244 glibcxx_cv_func_sqrtl_use=yes
44245 else
44246 glibcxx_cv_func_sqrtl_use=no
44247 fi
44248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44249 ac_ext=c
44250 ac_cpp='$CPP $CPPFLAGS'
44251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44254
44255
44256 fi
44257
44258 fi
44259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44260 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44261
44262 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44263 for ac_func in sqrtl
44264 do :
44265 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44266 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44267 cat >>confdefs.h <<_ACEOF
44268 #define HAVE_SQRTL 1
44269 _ACEOF
44270
44271 fi
44272 done
44273
44274 else
44275
44276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44277 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44278 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44279 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44280 $as_echo_n "(cached) " >&6
44281 else
44282
44283
44284 ac_ext=cpp
44285 ac_cpp='$CXXCPP $CPPFLAGS'
44286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44289
44290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44291 /* end confdefs.h. */
44292 #include <math.h>
44293 #ifdef HAVE_IEEEFP_H
44294 #include <ieeefp.h>
44295 #endif
44296
44297 int
44298 main ()
44299 {
44300 _sqrtl(0);
44301 ;
44302 return 0;
44303 }
44304 _ACEOF
44305 if ac_fn_cxx_try_compile "$LINENO"; then :
44306 glibcxx_cv_func__sqrtl_use=yes
44307 else
44308 glibcxx_cv_func__sqrtl_use=no
44309 fi
44310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44311 ac_ext=c
44312 ac_cpp='$CPP $CPPFLAGS'
44313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44316
44317
44318 fi
44319
44320 fi
44321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44322 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44323
44324 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44325 for ac_func in _sqrtl
44326 do :
44327 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44328 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44329 cat >>confdefs.h <<_ACEOF
44330 #define HAVE__SQRTL 1
44331 _ACEOF
44332
44333 fi
44334 done
44335
44336 fi
44337 fi
44338
44339
44340
44341
44342
44343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44344 $as_echo_n "checking for sincosl declaration... " >&6; }
44345 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44346 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44347 $as_echo_n "(cached) " >&6
44348 else
44349
44350
44351 ac_ext=cpp
44352 ac_cpp='$CXXCPP $CPPFLAGS'
44353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44356
44357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44358 /* end confdefs.h. */
44359 #include <math.h>
44360 int
44361 main ()
44362 {
44363 sincosl(0, 0, 0);
44364 ;
44365 return 0;
44366 }
44367 _ACEOF
44368 if ac_fn_cxx_try_compile "$LINENO"; then :
44369 glibcxx_cv_func_sincosl_use=yes
44370 else
44371 glibcxx_cv_func_sincosl_use=no
44372 fi
44373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44374 ac_ext=c
44375 ac_cpp='$CPP $CPPFLAGS'
44376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44379
44380
44381 fi
44382
44383 fi
44384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44385 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44386
44387 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44388 for ac_func in sincosl
44389 do :
44390 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44391 if test "x$ac_cv_func_sincosl" = x""yes; then :
44392 cat >>confdefs.h <<_ACEOF
44393 #define HAVE_SINCOSL 1
44394 _ACEOF
44395
44396 fi
44397 done
44398
44399 else
44400
44401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44402 $as_echo_n "checking for _sincosl declaration... " >&6; }
44403 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44404 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44405 $as_echo_n "(cached) " >&6
44406 else
44407
44408
44409 ac_ext=cpp
44410 ac_cpp='$CXXCPP $CPPFLAGS'
44411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44414
44415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44416 /* end confdefs.h. */
44417 #include <math.h>
44418 int
44419 main ()
44420 {
44421 _sincosl(0, 0, 0);
44422 ;
44423 return 0;
44424 }
44425 _ACEOF
44426 if ac_fn_cxx_try_compile "$LINENO"; then :
44427 glibcxx_cv_func__sincosl_use=yes
44428 else
44429 glibcxx_cv_func__sincosl_use=no
44430 fi
44431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44432 ac_ext=c
44433 ac_cpp='$CPP $CPPFLAGS'
44434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44437
44438
44439 fi
44440
44441 fi
44442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44443 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44444
44445 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44446 for ac_func in _sincosl
44447 do :
44448 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44449 if test "x$ac_cv_func__sincosl" = x""yes; then :
44450 cat >>confdefs.h <<_ACEOF
44451 #define HAVE__SINCOSL 1
44452 _ACEOF
44453
44454 fi
44455 done
44456
44457 fi
44458 fi
44459
44460
44461
44462
44463
44464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44465 $as_echo_n "checking for finitel declaration... " >&6; }
44466 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44467 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44468 $as_echo_n "(cached) " >&6
44469 else
44470
44471
44472 ac_ext=cpp
44473 ac_cpp='$CXXCPP $CPPFLAGS'
44474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44477
44478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44479 /* end confdefs.h. */
44480 #include <math.h>
44481 #ifdef HAVE_IEEEFP_H
44482 #include <ieeefp.h>
44483 #endif
44484
44485 int
44486 main ()
44487 {
44488 finitel(0);
44489 ;
44490 return 0;
44491 }
44492 _ACEOF
44493 if ac_fn_cxx_try_compile "$LINENO"; then :
44494 glibcxx_cv_func_finitel_use=yes
44495 else
44496 glibcxx_cv_func_finitel_use=no
44497 fi
44498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44499 ac_ext=c
44500 ac_cpp='$CPP $CPPFLAGS'
44501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44504
44505
44506 fi
44507
44508 fi
44509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44510 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44511
44512 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44513 for ac_func in finitel
44514 do :
44515 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44516 if test "x$ac_cv_func_finitel" = x""yes; then :
44517 cat >>confdefs.h <<_ACEOF
44518 #define HAVE_FINITEL 1
44519 _ACEOF
44520
44521 fi
44522 done
44523
44524 else
44525
44526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44527 $as_echo_n "checking for _finitel declaration... " >&6; }
44528 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44529 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44530 $as_echo_n "(cached) " >&6
44531 else
44532
44533
44534 ac_ext=cpp
44535 ac_cpp='$CXXCPP $CPPFLAGS'
44536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44539
44540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44541 /* end confdefs.h. */
44542 #include <math.h>
44543 #ifdef HAVE_IEEEFP_H
44544 #include <ieeefp.h>
44545 #endif
44546
44547 int
44548 main ()
44549 {
44550 _finitel(0);
44551 ;
44552 return 0;
44553 }
44554 _ACEOF
44555 if ac_fn_cxx_try_compile "$LINENO"; then :
44556 glibcxx_cv_func__finitel_use=yes
44557 else
44558 glibcxx_cv_func__finitel_use=no
44559 fi
44560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44561 ac_ext=c
44562 ac_cpp='$CPP $CPPFLAGS'
44563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44566
44567
44568 fi
44569
44570 fi
44571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44572 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44573
44574 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44575 for ac_func in _finitel
44576 do :
44577 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44578 if test "x$ac_cv_func__finitel" = x""yes; then :
44579 cat >>confdefs.h <<_ACEOF
44580 #define HAVE__FINITEL 1
44581 _ACEOF
44582
44583 fi
44584 done
44585
44586 fi
44587 fi
44588
44589
44590
44591
44592 LIBS="$ac_save_LIBS"
44593 CXXFLAGS="$ac_save_CXXFLAGS"
44594
44595
44596 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44597 ac_save_CXXFLAGS="$CXXFLAGS"
44598 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44599
44600
44601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44602 $as_echo_n "checking for strtold declaration... " >&6; }
44603 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44604 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44605 $as_echo_n "(cached) " >&6
44606 else
44607
44608
44609 ac_ext=cpp
44610 ac_cpp='$CXXCPP $CPPFLAGS'
44611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44614
44615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44616 /* end confdefs.h. */
44617 #include <stdlib.h>
44618 int
44619 main ()
44620 {
44621 strtold(0, 0);
44622 ;
44623 return 0;
44624 }
44625 _ACEOF
44626 if ac_fn_cxx_try_compile "$LINENO"; then :
44627 glibcxx_cv_func_strtold_use=yes
44628 else
44629 glibcxx_cv_func_strtold_use=no
44630 fi
44631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44632 ac_ext=c
44633 ac_cpp='$CPP $CPPFLAGS'
44634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44637
44638
44639 fi
44640
44641 fi
44642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44643 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44644 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44645 for ac_func in strtold
44646 do :
44647 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44648 if test "x$ac_cv_func_strtold" = x""yes; then :
44649 cat >>confdefs.h <<_ACEOF
44650 #define HAVE_STRTOLD 1
44651 _ACEOF
44652
44653 fi
44654 done
44655
44656 fi
44657
44658
44659
44660
44661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44662 $as_echo_n "checking for strtof declaration... " >&6; }
44663 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44664 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44665 $as_echo_n "(cached) " >&6
44666 else
44667
44668
44669 ac_ext=cpp
44670 ac_cpp='$CXXCPP $CPPFLAGS'
44671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44674
44675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44676 /* end confdefs.h. */
44677 #include <stdlib.h>
44678 int
44679 main ()
44680 {
44681 strtof(0, 0);
44682 ;
44683 return 0;
44684 }
44685 _ACEOF
44686 if ac_fn_cxx_try_compile "$LINENO"; then :
44687 glibcxx_cv_func_strtof_use=yes
44688 else
44689 glibcxx_cv_func_strtof_use=no
44690 fi
44691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44692 ac_ext=c
44693 ac_cpp='$CPP $CPPFLAGS'
44694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44697
44698
44699 fi
44700
44701 fi
44702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44703 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44704 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44705 for ac_func in strtof
44706 do :
44707 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44708 if test "x$ac_cv_func_strtof" = x""yes; then :
44709 cat >>confdefs.h <<_ACEOF
44710 #define HAVE_STRTOF 1
44711 _ACEOF
44712
44713 fi
44714 done
44715
44716 fi
44717
44718
44719
44720
44721 CXXFLAGS="$ac_save_CXXFLAGS"
44722
44723 ;;
44724
44725 *djgpp)
44726 # GLIBCXX_CHECK_MATH_SUPPORT
44727 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44728
44729 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44730
44731 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44732
44733 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44734
44735 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44736
44737 ;;
44738
44739 *-freebsd*)
44740 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44741
44742
44743 # If we're not using GNU ld, then there's no point in even trying these
44744 # tests. Check for that first. We should have already tested for gld
44745 # by now (in libtool), but require it now just to be safe...
44746 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44747 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44748
44749
44750
44751 # The name set by libtool depends on the version of libtool. Shame on us
44752 # for depending on an impl detail, but c'est la vie. Older versions used
44753 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44754 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44755 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44756 # set (hence we're using an older libtool), then set it.
44757 if test x${with_gnu_ld+set} != xset; then
44758 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44759 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44760 with_gnu_ld=no
44761 else
44762 with_gnu_ld=$ac_cv_prog_gnu_ld
44763 fi
44764 fi
44765
44766 # Start by getting the version number. I think the libtool test already
44767 # does some of this, but throws away the result.
44768 glibcxx_ld_is_gold=no
44769 if test x"$with_gnu_ld" = x"yes"; then
44770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44771 $as_echo_n "checking for ld version... " >&6; }
44772
44773 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44774 glibcxx_ld_is_gold=yes
44775 fi
44776 ldver=`$LD --version 2>/dev/null |
44777 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'`
44778
44779 glibcxx_gnu_ld_version=`echo $ldver | \
44780 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44782 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44783 fi
44784
44785 # Set --gc-sections.
44786 glibcxx_have_gc_sections=no
44787 if test "$glibcxx_ld_is_gold" = "yes"; then
44788 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44789 glibcxx_have_gc_sections=yes
44790 fi
44791 else
44792 glibcxx_gcsections_min_ld=21602
44793 if test x"$with_gnu_ld" = x"yes" &&
44794 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44795 glibcxx_have_gc_sections=yes
44796 fi
44797 fi
44798 if test "$glibcxx_have_gc_sections" = "yes"; then
44799 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44800 # NB: This flag only works reliably after 2.16.1. Configure tests
44801 # for this are difficult, so hard wire a value that should work.
44802
44803 ac_test_CFLAGS="${CFLAGS+set}"
44804 ac_save_CFLAGS="$CFLAGS"
44805 CFLAGS='-Wl,--gc-sections'
44806
44807 # Check for -Wl,--gc-sections
44808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44809 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44810 if test x$gcc_no_link = xyes; then
44811 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44812 fi
44813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44814 /* end confdefs.h. */
44815 int one(void) { return 1; }
44816 int two(void) { return 2; }
44817
44818 int
44819 main ()
44820 {
44821 two();
44822 ;
44823 return 0;
44824 }
44825 _ACEOF
44826 if ac_fn_c_try_link "$LINENO"; then :
44827 ac_gcsections=yes
44828 else
44829 ac_gcsections=no
44830 fi
44831 rm -f core conftest.err conftest.$ac_objext \
44832 conftest$ac_exeext conftest.$ac_ext
44833 if test "$ac_gcsections" = "yes"; then
44834 rm -f conftest.c
44835 touch conftest.c
44836 if $CC -c conftest.c; then
44837 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44838 grep "Warning: gc-sections option ignored" > /dev/null; then
44839 ac_gcsections=no
44840 fi
44841 fi
44842 rm -f conftest.c conftest.o conftest
44843 fi
44844 if test "$ac_gcsections" = "yes"; then
44845 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44846 fi
44847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44848 $as_echo "$ac_gcsections" >&6; }
44849
44850 if test "$ac_test_CFLAGS" = set; then
44851 CFLAGS="$ac_save_CFLAGS"
44852 else
44853 # this is the suspicious part
44854 CFLAGS=''
44855 fi
44856 fi
44857
44858 # Set -z,relro.
44859 # Note this is only for shared objects.
44860 ac_ld_relro=no
44861 if test x"$with_gnu_ld" = x"yes"; then
44862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44863 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44864 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44865 if test -n "$cxx_z_relo"; then
44866 OPT_LDFLAGS="-Wl,-z,relro"
44867 ac_ld_relro=yes
44868 fi
44869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44870 $as_echo "$ac_ld_relro" >&6; }
44871 fi
44872
44873 # Set linker optimization flags.
44874 if test x"$with_gnu_ld" = x"yes"; then
44875 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44876 fi
44877
44878
44879
44880
44881 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44882
44883 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44884
44885 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44886
44887 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44888
44889 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44890
44891 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44892
44893 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44894
44895 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44896
44897 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44898
44899
44900 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44901
44902 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44903
44904 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44905
44906 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44907
44908 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44909
44910 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44911
44912 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44913
44914 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44915
44916 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44917
44918 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44919
44920 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44921
44922 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44923
44924 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44925
44926 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44927
44928 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44929
44930 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44931
44932 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44933
44934 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44935
44936 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44937
44938 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44939
44940 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44941
44942 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44943
44944 if test x"long_double_math_on_this_cpu" = x"yes"; then
44945 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44946
44947 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44948
44949 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44950
44951 fi
44952 ;;
44953 *-hpux*)
44954 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44955
44956
44957 # If we're not using GNU ld, then there's no point in even trying these
44958 # tests. Check for that first. We should have already tested for gld
44959 # by now (in libtool), but require it now just to be safe...
44960 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44961 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44962
44963
44964
44965 # The name set by libtool depends on the version of libtool. Shame on us
44966 # for depending on an impl detail, but c'est la vie. Older versions used
44967 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44968 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44969 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44970 # set (hence we're using an older libtool), then set it.
44971 if test x${with_gnu_ld+set} != xset; then
44972 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44973 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44974 with_gnu_ld=no
44975 else
44976 with_gnu_ld=$ac_cv_prog_gnu_ld
44977 fi
44978 fi
44979
44980 # Start by getting the version number. I think the libtool test already
44981 # does some of this, but throws away the result.
44982 glibcxx_ld_is_gold=no
44983 if test x"$with_gnu_ld" = x"yes"; then
44984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44985 $as_echo_n "checking for ld version... " >&6; }
44986
44987 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44988 glibcxx_ld_is_gold=yes
44989 fi
44990 ldver=`$LD --version 2>/dev/null |
44991 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'`
44992
44993 glibcxx_gnu_ld_version=`echo $ldver | \
44994 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44996 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44997 fi
44998
44999 # Set --gc-sections.
45000 glibcxx_have_gc_sections=no
45001 if test "$glibcxx_ld_is_gold" = "yes"; then
45002 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45003 glibcxx_have_gc_sections=yes
45004 fi
45005 else
45006 glibcxx_gcsections_min_ld=21602
45007 if test x"$with_gnu_ld" = x"yes" &&
45008 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45009 glibcxx_have_gc_sections=yes
45010 fi
45011 fi
45012 if test "$glibcxx_have_gc_sections" = "yes"; then
45013 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45014 # NB: This flag only works reliably after 2.16.1. Configure tests
45015 # for this are difficult, so hard wire a value that should work.
45016
45017 ac_test_CFLAGS="${CFLAGS+set}"
45018 ac_save_CFLAGS="$CFLAGS"
45019 CFLAGS='-Wl,--gc-sections'
45020
45021 # Check for -Wl,--gc-sections
45022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45023 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45024 if test x$gcc_no_link = xyes; then
45025 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45026 fi
45027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45028 /* end confdefs.h. */
45029 int one(void) { return 1; }
45030 int two(void) { return 2; }
45031
45032 int
45033 main ()
45034 {
45035 two();
45036 ;
45037 return 0;
45038 }
45039 _ACEOF
45040 if ac_fn_c_try_link "$LINENO"; then :
45041 ac_gcsections=yes
45042 else
45043 ac_gcsections=no
45044 fi
45045 rm -f core conftest.err conftest.$ac_objext \
45046 conftest$ac_exeext conftest.$ac_ext
45047 if test "$ac_gcsections" = "yes"; then
45048 rm -f conftest.c
45049 touch conftest.c
45050 if $CC -c conftest.c; then
45051 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45052 grep "Warning: gc-sections option ignored" > /dev/null; then
45053 ac_gcsections=no
45054 fi
45055 fi
45056 rm -f conftest.c conftest.o conftest
45057 fi
45058 if test "$ac_gcsections" = "yes"; then
45059 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45060 fi
45061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45062 $as_echo "$ac_gcsections" >&6; }
45063
45064 if test "$ac_test_CFLAGS" = set; then
45065 CFLAGS="$ac_save_CFLAGS"
45066 else
45067 # this is the suspicious part
45068 CFLAGS=''
45069 fi
45070 fi
45071
45072 # Set -z,relro.
45073 # Note this is only for shared objects.
45074 ac_ld_relro=no
45075 if test x"$with_gnu_ld" = x"yes"; then
45076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45077 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45078 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45079 if test -n "$cxx_z_relo"; then
45080 OPT_LDFLAGS="-Wl,-z,relro"
45081 ac_ld_relro=yes
45082 fi
45083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45084 $as_echo "$ac_ld_relro" >&6; }
45085 fi
45086
45087 # Set linker optimization flags.
45088 if test x"$with_gnu_ld" = x"yes"; then
45089 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45090 fi
45091
45092
45093
45094
45095
45096 # GLIBCXX_CHECK_MATH_SUPPORT
45097 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45098
45099 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45100
45101 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45102
45103 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45104
45105 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45106
45107 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45108
45109 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45110
45111 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45112
45113 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45114
45115 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45116
45117 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45118
45119 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45120
45121 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45122
45123 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45124
45125 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45126
45127 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45128
45129 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45130
45131 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45132
45133 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45134
45135 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45136
45137 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45138
45139
45140 # GLIBCXX_CHECK_STDLIB_SUPPORT
45141 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45142
45143
45144
45145
45146 # Check whether --enable-tls was given.
45147 if test "${enable_tls+set}" = set; then :
45148 enableval=$enable_tls;
45149 case "$enableval" in
45150 yes|no) ;;
45151 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45152 esac
45153
45154 else
45155 enable_tls=yes
45156 fi
45157
45158
45159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45160 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45161 if test "${gcc_cv_have_tls+set}" = set; then :
45162 $as_echo_n "(cached) " >&6
45163 else
45164
45165 if test "$cross_compiling" = yes; then :
45166 if test x$gcc_no_link = xyes; then
45167 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45168 fi
45169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45170 /* end confdefs.h. */
45171 __thread int a; int b; int main() { return a = b; }
45172 _ACEOF
45173 if ac_fn_c_try_link "$LINENO"; then :
45174 chktls_save_LDFLAGS="$LDFLAGS"
45175 case $host in
45176 *-*-linux*)
45177 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45178 ;;
45179 esac
45180 chktls_save_CFLAGS="$CFLAGS"
45181 CFLAGS="-fPIC $CFLAGS"
45182 if test x$gcc_no_link = xyes; then
45183 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45184 fi
45185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45186 /* end confdefs.h. */
45187 int f() { return 0; }
45188 _ACEOF
45189 if ac_fn_c_try_link "$LINENO"; then :
45190 if test x$gcc_no_link = xyes; then
45191 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45192 fi
45193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45194 /* end confdefs.h. */
45195 __thread int a; int b; int f() { return a = b; }
45196 _ACEOF
45197 if ac_fn_c_try_link "$LINENO"; then :
45198 gcc_cv_have_tls=yes
45199 else
45200 gcc_cv_have_tls=no
45201 fi
45202 rm -f core conftest.err conftest.$ac_objext \
45203 conftest$ac_exeext conftest.$ac_ext
45204 else
45205 gcc_cv_have_tls=yes
45206 fi
45207 rm -f core conftest.err conftest.$ac_objext \
45208 conftest$ac_exeext conftest.$ac_ext
45209 CFLAGS="$chktls_save_CFLAGS"
45210 LDFLAGS="$chktls_save_LDFLAGS"
45211 else
45212 gcc_cv_have_tls=no
45213 fi
45214 rm -f core conftest.err conftest.$ac_objext \
45215 conftest$ac_exeext conftest.$ac_ext
45216
45217
45218 else
45219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45220 /* end confdefs.h. */
45221 __thread int a; int b; int main() { return a = b; }
45222 _ACEOF
45223 if ac_fn_c_try_run "$LINENO"; then :
45224 chktls_save_LDFLAGS="$LDFLAGS"
45225 LDFLAGS="-static $LDFLAGS"
45226 if test x$gcc_no_link = xyes; then
45227 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45228 fi
45229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45230 /* end confdefs.h. */
45231 int main() { return 0; }
45232 _ACEOF
45233 if ac_fn_c_try_link "$LINENO"; then :
45234 if test "$cross_compiling" = yes; then :
45235 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45236 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45237 as_fn_error "cannot run test program while cross compiling
45238 See \`config.log' for more details." "$LINENO" 5; }
45239 else
45240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45241 /* end confdefs.h. */
45242 __thread int a; int b; int main() { return a = b; }
45243 _ACEOF
45244 if ac_fn_c_try_run "$LINENO"; then :
45245 gcc_cv_have_tls=yes
45246 else
45247 gcc_cv_have_tls=no
45248 fi
45249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45250 conftest.$ac_objext conftest.beam conftest.$ac_ext
45251 fi
45252
45253 else
45254 gcc_cv_have_tls=yes
45255 fi
45256 rm -f core conftest.err conftest.$ac_objext \
45257 conftest$ac_exeext conftest.$ac_ext
45258 LDFLAGS="$chktls_save_LDFLAGS"
45259 if test $gcc_cv_have_tls = yes; then
45260 chktls_save_CFLAGS="$CFLAGS"
45261 thread_CFLAGS=failed
45262 for flag in '' '-pthread' '-lpthread'; do
45263 CFLAGS="$flag $chktls_save_CFLAGS"
45264 if test x$gcc_no_link = xyes; then
45265 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45266 fi
45267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45268 /* end confdefs.h. */
45269 #include <pthread.h>
45270 void *g(void *d) { return NULL; }
45271 int
45272 main ()
45273 {
45274 pthread_t t; pthread_create(&t,NULL,g,NULL);
45275 ;
45276 return 0;
45277 }
45278 _ACEOF
45279 if ac_fn_c_try_link "$LINENO"; then :
45280 thread_CFLAGS="$flag"
45281 fi
45282 rm -f core conftest.err conftest.$ac_objext \
45283 conftest$ac_exeext conftest.$ac_ext
45284 if test "X$thread_CFLAGS" != Xfailed; then
45285 break
45286 fi
45287 done
45288 CFLAGS="$chktls_save_CFLAGS"
45289 if test "X$thread_CFLAGS" != Xfailed; then
45290 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45291 if test "$cross_compiling" = yes; then :
45292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45293 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45294 as_fn_error "cannot run test program while cross compiling
45295 See \`config.log' for more details." "$LINENO" 5; }
45296 else
45297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45298 /* end confdefs.h. */
45299 #include <pthread.h>
45300 __thread int a;
45301 static int *volatile a_in_other_thread;
45302 static void *
45303 thread_func (void *arg)
45304 {
45305 a_in_other_thread = &a;
45306 return (void *)0;
45307 }
45308 int
45309 main ()
45310 {
45311 pthread_t thread;
45312 void *thread_retval;
45313 int *volatile a_in_main_thread;
45314 a_in_main_thread = &a;
45315 if (pthread_create (&thread, (pthread_attr_t *)0,
45316 thread_func, (void *)0))
45317 return 0;
45318 if (pthread_join (thread, &thread_retval))
45319 return 0;
45320 return (a_in_other_thread == a_in_main_thread);
45321 ;
45322 return 0;
45323 }
45324 _ACEOF
45325 if ac_fn_c_try_run "$LINENO"; then :
45326 gcc_cv_have_tls=yes
45327 else
45328 gcc_cv_have_tls=no
45329 fi
45330 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45331 conftest.$ac_objext conftest.beam conftest.$ac_ext
45332 fi
45333
45334 CFLAGS="$chktls_save_CFLAGS"
45335 fi
45336 fi
45337 else
45338 gcc_cv_have_tls=no
45339 fi
45340 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45341 conftest.$ac_objext conftest.beam conftest.$ac_ext
45342 fi
45343
45344 fi
45345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45346 $as_echo "$gcc_cv_have_tls" >&6; }
45347 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45348
45349 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45350
45351 fi
45352 case "$target" in
45353 *-hpux10*)
45354 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45355
45356 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45357
45358 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45359
45360 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45361
45362 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45363
45364 ;;
45365 esac
45366 ;;
45367 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45368
45369 # All these tests are for C++; save the language and the compiler flags.
45370 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45371 # found in GLIBCXX_CONFIGURE.
45372
45373 ac_ext=cpp
45374 ac_cpp='$CXXCPP $CPPFLAGS'
45375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45378
45379 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45380 ac_save_CXXFLAGS="$CXXFLAGS"
45381
45382 # Check for maintainer-mode bits.
45383 if test x"$USE_MAINTAINER_MODE" = xno; then
45384 WERROR=''
45385 else
45386 WERROR='-Werror'
45387 fi
45388
45389 # Check for -ffunction-sections -fdata-sections
45390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45391 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45392 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45394 /* end confdefs.h. */
45395 int foo; void bar() { };
45396 int
45397 main ()
45398 {
45399
45400 ;
45401 return 0;
45402 }
45403 _ACEOF
45404 if ac_fn_cxx_try_compile "$LINENO"; then :
45405 ac_fdsections=yes
45406 else
45407 ac_fdsections=no
45408 fi
45409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45410 if test "$ac_test_CXXFLAGS" = set; then
45411 CXXFLAGS="$ac_save_CXXFLAGS"
45412 else
45413 # this is the suspicious part
45414 CXXFLAGS=''
45415 fi
45416 if test x"$ac_fdsections" = x"yes"; then
45417 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45418 fi
45419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45420 $as_echo "$ac_fdsections" >&6; }
45421
45422 ac_ext=c
45423 ac_cpp='$CPP $CPPFLAGS'
45424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45427
45428
45429
45430
45431
45432 # If we're not using GNU ld, then there's no point in even trying these
45433 # tests. Check for that first. We should have already tested for gld
45434 # by now (in libtool), but require it now just to be safe...
45435 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45436 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45437
45438
45439
45440 # The name set by libtool depends on the version of libtool. Shame on us
45441 # for depending on an impl detail, but c'est la vie. Older versions used
45442 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45443 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45444 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45445 # set (hence we're using an older libtool), then set it.
45446 if test x${with_gnu_ld+set} != xset; then
45447 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45448 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45449 with_gnu_ld=no
45450 else
45451 with_gnu_ld=$ac_cv_prog_gnu_ld
45452 fi
45453 fi
45454
45455 # Start by getting the version number. I think the libtool test already
45456 # does some of this, but throws away the result.
45457 glibcxx_ld_is_gold=no
45458 if test x"$with_gnu_ld" = x"yes"; then
45459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45460 $as_echo_n "checking for ld version... " >&6; }
45461
45462 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45463 glibcxx_ld_is_gold=yes
45464 fi
45465 ldver=`$LD --version 2>/dev/null |
45466 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'`
45467
45468 glibcxx_gnu_ld_version=`echo $ldver | \
45469 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45471 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45472 fi
45473
45474 # Set --gc-sections.
45475 glibcxx_have_gc_sections=no
45476 if test "$glibcxx_ld_is_gold" = "yes"; then
45477 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45478 glibcxx_have_gc_sections=yes
45479 fi
45480 else
45481 glibcxx_gcsections_min_ld=21602
45482 if test x"$with_gnu_ld" = x"yes" &&
45483 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45484 glibcxx_have_gc_sections=yes
45485 fi
45486 fi
45487 if test "$glibcxx_have_gc_sections" = "yes"; then
45488 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45489 # NB: This flag only works reliably after 2.16.1. Configure tests
45490 # for this are difficult, so hard wire a value that should work.
45491
45492 ac_test_CFLAGS="${CFLAGS+set}"
45493 ac_save_CFLAGS="$CFLAGS"
45494 CFLAGS='-Wl,--gc-sections'
45495
45496 # Check for -Wl,--gc-sections
45497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45498 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45499 if test x$gcc_no_link = xyes; then
45500 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45501 fi
45502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45503 /* end confdefs.h. */
45504 int one(void) { return 1; }
45505 int two(void) { return 2; }
45506
45507 int
45508 main ()
45509 {
45510 two();
45511 ;
45512 return 0;
45513 }
45514 _ACEOF
45515 if ac_fn_c_try_link "$LINENO"; then :
45516 ac_gcsections=yes
45517 else
45518 ac_gcsections=no
45519 fi
45520 rm -f core conftest.err conftest.$ac_objext \
45521 conftest$ac_exeext conftest.$ac_ext
45522 if test "$ac_gcsections" = "yes"; then
45523 rm -f conftest.c
45524 touch conftest.c
45525 if $CC -c conftest.c; then
45526 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45527 grep "Warning: gc-sections option ignored" > /dev/null; then
45528 ac_gcsections=no
45529 fi
45530 fi
45531 rm -f conftest.c conftest.o conftest
45532 fi
45533 if test "$ac_gcsections" = "yes"; then
45534 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45535 fi
45536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45537 $as_echo "$ac_gcsections" >&6; }
45538
45539 if test "$ac_test_CFLAGS" = set; then
45540 CFLAGS="$ac_save_CFLAGS"
45541 else
45542 # this is the suspicious part
45543 CFLAGS=''
45544 fi
45545 fi
45546
45547 # Set -z,relro.
45548 # Note this is only for shared objects.
45549 ac_ld_relro=no
45550 if test x"$with_gnu_ld" = x"yes"; then
45551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45552 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45553 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45554 if test -n "$cxx_z_relo"; then
45555 OPT_LDFLAGS="-Wl,-z,relro"
45556 ac_ld_relro=yes
45557 fi
45558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45559 $as_echo "$ac_ld_relro" >&6; }
45560 fi
45561
45562 # Set linker optimization flags.
45563 if test x"$with_gnu_ld" = x"yes"; then
45564 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45565 fi
45566
45567
45568
45569
45570
45571 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45572 ac_save_CXXFLAGS="$CXXFLAGS"
45573 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45574
45575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45576 $as_echo_n "checking for sin in -lm... " >&6; }
45577 if test "${ac_cv_lib_m_sin+set}" = set; then :
45578 $as_echo_n "(cached) " >&6
45579 else
45580 ac_check_lib_save_LIBS=$LIBS
45581 LIBS="-lm $LIBS"
45582 if test x$gcc_no_link = xyes; then
45583 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45584 fi
45585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45586 /* end confdefs.h. */
45587
45588 /* Override any GCC internal prototype to avoid an error.
45589 Use char because int might match the return type of a GCC
45590 builtin and then its argument prototype would still apply. */
45591 #ifdef __cplusplus
45592 extern "C"
45593 #endif
45594 char sin ();
45595 int
45596 main ()
45597 {
45598 return sin ();
45599 ;
45600 return 0;
45601 }
45602 _ACEOF
45603 if ac_fn_c_try_link "$LINENO"; then :
45604 ac_cv_lib_m_sin=yes
45605 else
45606 ac_cv_lib_m_sin=no
45607 fi
45608 rm -f core conftest.err conftest.$ac_objext \
45609 conftest$ac_exeext conftest.$ac_ext
45610 LIBS=$ac_check_lib_save_LIBS
45611 fi
45612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45613 $as_echo "$ac_cv_lib_m_sin" >&6; }
45614 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45615 libm="-lm"
45616 fi
45617
45618 ac_save_LIBS="$LIBS"
45619 LIBS="$LIBS $libm"
45620
45621
45622
45623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45624 $as_echo_n "checking for isinf declaration... " >&6; }
45625 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45626 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45627 $as_echo_n "(cached) " >&6
45628 else
45629
45630
45631 ac_ext=cpp
45632 ac_cpp='$CXXCPP $CPPFLAGS'
45633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45636
45637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45638 /* end confdefs.h. */
45639 #include <math.h>
45640 #ifdef HAVE_IEEEFP_H
45641 #include <ieeefp.h>
45642 #endif
45643
45644 int
45645 main ()
45646 {
45647 isinf(0);
45648 ;
45649 return 0;
45650 }
45651 _ACEOF
45652 if ac_fn_cxx_try_compile "$LINENO"; then :
45653 glibcxx_cv_func_isinf_use=yes
45654 else
45655 glibcxx_cv_func_isinf_use=no
45656 fi
45657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45658 ac_ext=c
45659 ac_cpp='$CPP $CPPFLAGS'
45660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45663
45664
45665 fi
45666
45667 fi
45668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45669 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45670
45671 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45672 for ac_func in isinf
45673 do :
45674 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45675 if test "x$ac_cv_func_isinf" = x""yes; then :
45676 cat >>confdefs.h <<_ACEOF
45677 #define HAVE_ISINF 1
45678 _ACEOF
45679
45680 fi
45681 done
45682
45683 else
45684
45685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45686 $as_echo_n "checking for _isinf declaration... " >&6; }
45687 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45688 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45689 $as_echo_n "(cached) " >&6
45690 else
45691
45692
45693 ac_ext=cpp
45694 ac_cpp='$CXXCPP $CPPFLAGS'
45695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45698
45699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45700 /* end confdefs.h. */
45701 #include <math.h>
45702 #ifdef HAVE_IEEEFP_H
45703 #include <ieeefp.h>
45704 #endif
45705
45706 int
45707 main ()
45708 {
45709 _isinf(0);
45710 ;
45711 return 0;
45712 }
45713 _ACEOF
45714 if ac_fn_cxx_try_compile "$LINENO"; then :
45715 glibcxx_cv_func__isinf_use=yes
45716 else
45717 glibcxx_cv_func__isinf_use=no
45718 fi
45719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45720 ac_ext=c
45721 ac_cpp='$CPP $CPPFLAGS'
45722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45725
45726
45727 fi
45728
45729 fi
45730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45731 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45732
45733 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45734 for ac_func in _isinf
45735 do :
45736 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45737 if test "x$ac_cv_func__isinf" = x""yes; then :
45738 cat >>confdefs.h <<_ACEOF
45739 #define HAVE__ISINF 1
45740 _ACEOF
45741
45742 fi
45743 done
45744
45745 fi
45746 fi
45747
45748
45749
45750
45751
45752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45753 $as_echo_n "checking for isnan declaration... " >&6; }
45754 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45755 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45756 $as_echo_n "(cached) " >&6
45757 else
45758
45759
45760 ac_ext=cpp
45761 ac_cpp='$CXXCPP $CPPFLAGS'
45762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45765
45766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45767 /* end confdefs.h. */
45768 #include <math.h>
45769 #ifdef HAVE_IEEEFP_H
45770 #include <ieeefp.h>
45771 #endif
45772
45773 int
45774 main ()
45775 {
45776 isnan(0);
45777 ;
45778 return 0;
45779 }
45780 _ACEOF
45781 if ac_fn_cxx_try_compile "$LINENO"; then :
45782 glibcxx_cv_func_isnan_use=yes
45783 else
45784 glibcxx_cv_func_isnan_use=no
45785 fi
45786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45787 ac_ext=c
45788 ac_cpp='$CPP $CPPFLAGS'
45789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45792
45793
45794 fi
45795
45796 fi
45797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45798 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45799
45800 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45801 for ac_func in isnan
45802 do :
45803 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45804 if test "x$ac_cv_func_isnan" = x""yes; then :
45805 cat >>confdefs.h <<_ACEOF
45806 #define HAVE_ISNAN 1
45807 _ACEOF
45808
45809 fi
45810 done
45811
45812 else
45813
45814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45815 $as_echo_n "checking for _isnan declaration... " >&6; }
45816 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45817 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45818 $as_echo_n "(cached) " >&6
45819 else
45820
45821
45822 ac_ext=cpp
45823 ac_cpp='$CXXCPP $CPPFLAGS'
45824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45827
45828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45829 /* end confdefs.h. */
45830 #include <math.h>
45831 #ifdef HAVE_IEEEFP_H
45832 #include <ieeefp.h>
45833 #endif
45834
45835 int
45836 main ()
45837 {
45838 _isnan(0);
45839 ;
45840 return 0;
45841 }
45842 _ACEOF
45843 if ac_fn_cxx_try_compile "$LINENO"; then :
45844 glibcxx_cv_func__isnan_use=yes
45845 else
45846 glibcxx_cv_func__isnan_use=no
45847 fi
45848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45849 ac_ext=c
45850 ac_cpp='$CPP $CPPFLAGS'
45851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45854
45855
45856 fi
45857
45858 fi
45859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45860 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45861
45862 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45863 for ac_func in _isnan
45864 do :
45865 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45866 if test "x$ac_cv_func__isnan" = x""yes; then :
45867 cat >>confdefs.h <<_ACEOF
45868 #define HAVE__ISNAN 1
45869 _ACEOF
45870
45871 fi
45872 done
45873
45874 fi
45875 fi
45876
45877
45878
45879
45880
45881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45882 $as_echo_n "checking for finite declaration... " >&6; }
45883 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45884 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45885 $as_echo_n "(cached) " >&6
45886 else
45887
45888
45889 ac_ext=cpp
45890 ac_cpp='$CXXCPP $CPPFLAGS'
45891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45894
45895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45896 /* end confdefs.h. */
45897 #include <math.h>
45898 #ifdef HAVE_IEEEFP_H
45899 #include <ieeefp.h>
45900 #endif
45901
45902 int
45903 main ()
45904 {
45905 finite(0);
45906 ;
45907 return 0;
45908 }
45909 _ACEOF
45910 if ac_fn_cxx_try_compile "$LINENO"; then :
45911 glibcxx_cv_func_finite_use=yes
45912 else
45913 glibcxx_cv_func_finite_use=no
45914 fi
45915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45916 ac_ext=c
45917 ac_cpp='$CPP $CPPFLAGS'
45918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45921
45922
45923 fi
45924
45925 fi
45926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45927 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45928
45929 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45930 for ac_func in finite
45931 do :
45932 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45933 if test "x$ac_cv_func_finite" = x""yes; then :
45934 cat >>confdefs.h <<_ACEOF
45935 #define HAVE_FINITE 1
45936 _ACEOF
45937
45938 fi
45939 done
45940
45941 else
45942
45943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45944 $as_echo_n "checking for _finite declaration... " >&6; }
45945 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45946 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45947 $as_echo_n "(cached) " >&6
45948 else
45949
45950
45951 ac_ext=cpp
45952 ac_cpp='$CXXCPP $CPPFLAGS'
45953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45956
45957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45958 /* end confdefs.h. */
45959 #include <math.h>
45960 #ifdef HAVE_IEEEFP_H
45961 #include <ieeefp.h>
45962 #endif
45963
45964 int
45965 main ()
45966 {
45967 _finite(0);
45968 ;
45969 return 0;
45970 }
45971 _ACEOF
45972 if ac_fn_cxx_try_compile "$LINENO"; then :
45973 glibcxx_cv_func__finite_use=yes
45974 else
45975 glibcxx_cv_func__finite_use=no
45976 fi
45977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45978 ac_ext=c
45979 ac_cpp='$CPP $CPPFLAGS'
45980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45983
45984
45985 fi
45986
45987 fi
45988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45989 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45990
45991 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45992 for ac_func in _finite
45993 do :
45994 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45995 if test "x$ac_cv_func__finite" = x""yes; then :
45996 cat >>confdefs.h <<_ACEOF
45997 #define HAVE__FINITE 1
45998 _ACEOF
45999
46000 fi
46001 done
46002
46003 fi
46004 fi
46005
46006
46007
46008
46009
46010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46011 $as_echo_n "checking for sincos declaration... " >&6; }
46012 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46013 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46014 $as_echo_n "(cached) " >&6
46015 else
46016
46017
46018 ac_ext=cpp
46019 ac_cpp='$CXXCPP $CPPFLAGS'
46020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46023
46024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46025 /* end confdefs.h. */
46026 #include <math.h>
46027 int
46028 main ()
46029 {
46030 sincos(0, 0, 0);
46031 ;
46032 return 0;
46033 }
46034 _ACEOF
46035 if ac_fn_cxx_try_compile "$LINENO"; then :
46036 glibcxx_cv_func_sincos_use=yes
46037 else
46038 glibcxx_cv_func_sincos_use=no
46039 fi
46040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46041 ac_ext=c
46042 ac_cpp='$CPP $CPPFLAGS'
46043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46046
46047
46048 fi
46049
46050 fi
46051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46052 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46053
46054 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46055 for ac_func in sincos
46056 do :
46057 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46058 if test "x$ac_cv_func_sincos" = x""yes; then :
46059 cat >>confdefs.h <<_ACEOF
46060 #define HAVE_SINCOS 1
46061 _ACEOF
46062
46063 fi
46064 done
46065
46066 else
46067
46068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46069 $as_echo_n "checking for _sincos declaration... " >&6; }
46070 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46071 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46072 $as_echo_n "(cached) " >&6
46073 else
46074
46075
46076 ac_ext=cpp
46077 ac_cpp='$CXXCPP $CPPFLAGS'
46078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46081
46082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46083 /* end confdefs.h. */
46084 #include <math.h>
46085 int
46086 main ()
46087 {
46088 _sincos(0, 0, 0);
46089 ;
46090 return 0;
46091 }
46092 _ACEOF
46093 if ac_fn_cxx_try_compile "$LINENO"; then :
46094 glibcxx_cv_func__sincos_use=yes
46095 else
46096 glibcxx_cv_func__sincos_use=no
46097 fi
46098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46099 ac_ext=c
46100 ac_cpp='$CPP $CPPFLAGS'
46101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46104
46105
46106 fi
46107
46108 fi
46109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46110 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46111
46112 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46113 for ac_func in _sincos
46114 do :
46115 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46116 if test "x$ac_cv_func__sincos" = x""yes; then :
46117 cat >>confdefs.h <<_ACEOF
46118 #define HAVE__SINCOS 1
46119 _ACEOF
46120
46121 fi
46122 done
46123
46124 fi
46125 fi
46126
46127
46128
46129
46130
46131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46132 $as_echo_n "checking for fpclass declaration... " >&6; }
46133 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46134 if test "${glibcxx_cv_func_fpclass_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 fpclass(0);
46156 ;
46157 return 0;
46158 }
46159 _ACEOF
46160 if ac_fn_cxx_try_compile "$LINENO"; then :
46161 glibcxx_cv_func_fpclass_use=yes
46162 else
46163 glibcxx_cv_func_fpclass_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_fpclass_use" >&5
46177 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46178
46179 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46180 for ac_func in fpclass
46181 do :
46182 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46183 if test "x$ac_cv_func_fpclass" = x""yes; then :
46184 cat >>confdefs.h <<_ACEOF
46185 #define HAVE_FPCLASS 1
46186 _ACEOF
46187
46188 fi
46189 done
46190
46191 else
46192
46193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46194 $as_echo_n "checking for _fpclass declaration... " >&6; }
46195 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46196 if test "${glibcxx_cv_func__fpclass_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 _fpclass(0);
46218 ;
46219 return 0;
46220 }
46221 _ACEOF
46222 if ac_fn_cxx_try_compile "$LINENO"; then :
46223 glibcxx_cv_func__fpclass_use=yes
46224 else
46225 glibcxx_cv_func__fpclass_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__fpclass_use" >&5
46239 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46240
46241 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46242 for ac_func in _fpclass
46243 do :
46244 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46245 if test "x$ac_cv_func__fpclass" = x""yes; then :
46246 cat >>confdefs.h <<_ACEOF
46247 #define HAVE__FPCLASS 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 qfpclass declaration" >&5
46261 $as_echo_n "checking for qfpclass declaration... " >&6; }
46262 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46263 if test "${glibcxx_cv_func_qfpclass_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 qfpclass(0);
46285 ;
46286 return 0;
46287 }
46288 _ACEOF
46289 if ac_fn_cxx_try_compile "$LINENO"; then :
46290 glibcxx_cv_func_qfpclass_use=yes
46291 else
46292 glibcxx_cv_func_qfpclass_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_qfpclass_use" >&5
46306 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46307
46308 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46309 for ac_func in qfpclass
46310 do :
46311 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46312 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46313 cat >>confdefs.h <<_ACEOF
46314 #define HAVE_QFPCLASS 1
46315 _ACEOF
46316
46317 fi
46318 done
46319
46320 else
46321
46322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46323 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46324 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46325 if test "${glibcxx_cv_func__qfpclass_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 _qfpclass(0);
46347 ;
46348 return 0;
46349 }
46350 _ACEOF
46351 if ac_fn_cxx_try_compile "$LINENO"; then :
46352 glibcxx_cv_func__qfpclass_use=yes
46353 else
46354 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
46368 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46369
46370 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46371 for ac_func in _qfpclass
46372 do :
46373 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46374 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46375 cat >>confdefs.h <<_ACEOF
46376 #define HAVE__QFPCLASS 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 hypot declaration" >&5
46390 $as_echo_n "checking for hypot declaration... " >&6; }
46391 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46392 if test "${glibcxx_cv_func_hypot_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 int
46407 main ()
46408 {
46409 hypot(0, 0);
46410 ;
46411 return 0;
46412 }
46413 _ACEOF
46414 if ac_fn_cxx_try_compile "$LINENO"; then :
46415 glibcxx_cv_func_hypot_use=yes
46416 else
46417 glibcxx_cv_func_hypot_use=no
46418 fi
46419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46420 ac_ext=c
46421 ac_cpp='$CPP $CPPFLAGS'
46422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46425
46426
46427 fi
46428
46429 fi
46430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46431 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46432
46433 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46434 for ac_func in hypot
46435 do :
46436 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46437 if test "x$ac_cv_func_hypot" = x""yes; then :
46438 cat >>confdefs.h <<_ACEOF
46439 #define HAVE_HYPOT 1
46440 _ACEOF
46441
46442 fi
46443 done
46444
46445 else
46446
46447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46448 $as_echo_n "checking for _hypot declaration... " >&6; }
46449 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46450 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46451 $as_echo_n "(cached) " >&6
46452 else
46453
46454
46455 ac_ext=cpp
46456 ac_cpp='$CXXCPP $CPPFLAGS'
46457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46460
46461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46462 /* end confdefs.h. */
46463 #include <math.h>
46464 int
46465 main ()
46466 {
46467 _hypot(0, 0);
46468 ;
46469 return 0;
46470 }
46471 _ACEOF
46472 if ac_fn_cxx_try_compile "$LINENO"; then :
46473 glibcxx_cv_func__hypot_use=yes
46474 else
46475 glibcxx_cv_func__hypot_use=no
46476 fi
46477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46478 ac_ext=c
46479 ac_cpp='$CPP $CPPFLAGS'
46480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46483
46484
46485 fi
46486
46487 fi
46488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46489 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46490
46491 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46492 for ac_func in _hypot
46493 do :
46494 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46495 if test "x$ac_cv_func__hypot" = x""yes; then :
46496 cat >>confdefs.h <<_ACEOF
46497 #define HAVE__HYPOT 1
46498 _ACEOF
46499
46500 fi
46501 done
46502
46503 fi
46504 fi
46505
46506
46507
46508
46509
46510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46511 $as_echo_n "checking for float trig functions... " >&6; }
46512 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46513 $as_echo_n "(cached) " >&6
46514 else
46515
46516
46517 ac_ext=cpp
46518 ac_cpp='$CXXCPP $CPPFLAGS'
46519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46522
46523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46524 /* end confdefs.h. */
46525 #include <math.h>
46526 int
46527 main ()
46528 {
46529 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46530 ;
46531 return 0;
46532 }
46533 _ACEOF
46534 if ac_fn_cxx_try_compile "$LINENO"; then :
46535 glibcxx_cv_func_float_trig_use=yes
46536 else
46537 glibcxx_cv_func_float_trig_use=no
46538 fi
46539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46540 ac_ext=c
46541 ac_cpp='$CPP $CPPFLAGS'
46542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46545
46546 fi
46547
46548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46549 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46550 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46551 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46552 do :
46553 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46554 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46555 eval as_val=\$$as_ac_var
46556 if test "x$as_val" = x""yes; then :
46557 cat >>confdefs.h <<_ACEOF
46558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46559 _ACEOF
46560
46561 fi
46562 done
46563
46564 else
46565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46566 $as_echo_n "checking for _float trig functions... " >&6; }
46567 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46568 $as_echo_n "(cached) " >&6
46569 else
46570
46571
46572 ac_ext=cpp
46573 ac_cpp='$CXXCPP $CPPFLAGS'
46574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46577
46578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46579 /* end confdefs.h. */
46580 #include <math.h>
46581 int
46582 main ()
46583 {
46584 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46585 ;
46586 return 0;
46587 }
46588 _ACEOF
46589 if ac_fn_cxx_try_compile "$LINENO"; then :
46590 glibcxx_cv_func__float_trig_use=yes
46591 else
46592 glibcxx_cv_func__float_trig_use=no
46593 fi
46594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46595 ac_ext=c
46596 ac_cpp='$CPP $CPPFLAGS'
46597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46600
46601 fi
46602
46603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46604 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46605 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46606 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46607 do :
46608 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46609 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46610 eval as_val=\$$as_ac_var
46611 if test "x$as_val" = x""yes; then :
46612 cat >>confdefs.h <<_ACEOF
46613 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46614 _ACEOF
46615
46616 fi
46617 done
46618
46619 fi
46620 fi
46621
46622
46623
46624
46625
46626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46627 $as_echo_n "checking for float round functions... " >&6; }
46628 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46629 $as_echo_n "(cached) " >&6
46630 else
46631
46632
46633 ac_ext=cpp
46634 ac_cpp='$CXXCPP $CPPFLAGS'
46635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46638
46639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46640 /* end confdefs.h. */
46641 #include <math.h>
46642 int
46643 main ()
46644 {
46645 ceilf (0); floorf (0);
46646 ;
46647 return 0;
46648 }
46649 _ACEOF
46650 if ac_fn_cxx_try_compile "$LINENO"; then :
46651 glibcxx_cv_func_float_round_use=yes
46652 else
46653 glibcxx_cv_func_float_round_use=no
46654 fi
46655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46656 ac_ext=c
46657 ac_cpp='$CPP $CPPFLAGS'
46658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46661
46662 fi
46663
46664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46665 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46666 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46667 for ac_func in ceilf floorf
46668 do :
46669 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46670 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46671 eval as_val=\$$as_ac_var
46672 if test "x$as_val" = x""yes; then :
46673 cat >>confdefs.h <<_ACEOF
46674 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46675 _ACEOF
46676
46677 fi
46678 done
46679
46680 else
46681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46682 $as_echo_n "checking for _float round functions... " >&6; }
46683 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46684 $as_echo_n "(cached) " >&6
46685 else
46686
46687
46688 ac_ext=cpp
46689 ac_cpp='$CXXCPP $CPPFLAGS'
46690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46693
46694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46695 /* end confdefs.h. */
46696 #include <math.h>
46697 int
46698 main ()
46699 {
46700 _ceilf (0); _floorf (0);
46701 ;
46702 return 0;
46703 }
46704 _ACEOF
46705 if ac_fn_cxx_try_compile "$LINENO"; then :
46706 glibcxx_cv_func__float_round_use=yes
46707 else
46708 glibcxx_cv_func__float_round_use=no
46709 fi
46710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46711 ac_ext=c
46712 ac_cpp='$CPP $CPPFLAGS'
46713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46716
46717 fi
46718
46719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46720 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46721 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46722 for ac_func in _ceilf _floorf
46723 do :
46724 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46725 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46726 eval as_val=\$$as_ac_var
46727 if test "x$as_val" = x""yes; then :
46728 cat >>confdefs.h <<_ACEOF
46729 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46730 _ACEOF
46731
46732 fi
46733 done
46734
46735 fi
46736 fi
46737
46738
46739
46740
46741
46742
46743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46744 $as_echo_n "checking for expf declaration... " >&6; }
46745 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46746 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46747 $as_echo_n "(cached) " >&6
46748 else
46749
46750
46751 ac_ext=cpp
46752 ac_cpp='$CXXCPP $CPPFLAGS'
46753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46756
46757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46758 /* end confdefs.h. */
46759 #include <math.h>
46760 #ifdef HAVE_IEEEFP_H
46761 #include <ieeefp.h>
46762 #endif
46763
46764 int
46765 main ()
46766 {
46767 expf(0);
46768 ;
46769 return 0;
46770 }
46771 _ACEOF
46772 if ac_fn_cxx_try_compile "$LINENO"; then :
46773 glibcxx_cv_func_expf_use=yes
46774 else
46775 glibcxx_cv_func_expf_use=no
46776 fi
46777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46778 ac_ext=c
46779 ac_cpp='$CPP $CPPFLAGS'
46780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46783
46784
46785 fi
46786
46787 fi
46788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46789 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46790
46791 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46792 for ac_func in expf
46793 do :
46794 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46795 if test "x$ac_cv_func_expf" = x""yes; then :
46796 cat >>confdefs.h <<_ACEOF
46797 #define HAVE_EXPF 1
46798 _ACEOF
46799
46800 fi
46801 done
46802
46803 else
46804
46805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46806 $as_echo_n "checking for _expf declaration... " >&6; }
46807 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46808 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46809 $as_echo_n "(cached) " >&6
46810 else
46811
46812
46813 ac_ext=cpp
46814 ac_cpp='$CXXCPP $CPPFLAGS'
46815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46818
46819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46820 /* end confdefs.h. */
46821 #include <math.h>
46822 #ifdef HAVE_IEEEFP_H
46823 #include <ieeefp.h>
46824 #endif
46825
46826 int
46827 main ()
46828 {
46829 _expf(0);
46830 ;
46831 return 0;
46832 }
46833 _ACEOF
46834 if ac_fn_cxx_try_compile "$LINENO"; then :
46835 glibcxx_cv_func__expf_use=yes
46836 else
46837 glibcxx_cv_func__expf_use=no
46838 fi
46839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46840 ac_ext=c
46841 ac_cpp='$CPP $CPPFLAGS'
46842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46845
46846
46847 fi
46848
46849 fi
46850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46851 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46852
46853 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46854 for ac_func in _expf
46855 do :
46856 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46857 if test "x$ac_cv_func__expf" = x""yes; then :
46858 cat >>confdefs.h <<_ACEOF
46859 #define HAVE__EXPF 1
46860 _ACEOF
46861
46862 fi
46863 done
46864
46865 fi
46866 fi
46867
46868
46869
46870
46871
46872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46873 $as_echo_n "checking for isnanf declaration... " >&6; }
46874 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46875 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46876 $as_echo_n "(cached) " >&6
46877 else
46878
46879
46880 ac_ext=cpp
46881 ac_cpp='$CXXCPP $CPPFLAGS'
46882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46885
46886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46887 /* end confdefs.h. */
46888 #include <math.h>
46889 #ifdef HAVE_IEEEFP_H
46890 #include <ieeefp.h>
46891 #endif
46892
46893 int
46894 main ()
46895 {
46896 isnanf(0);
46897 ;
46898 return 0;
46899 }
46900 _ACEOF
46901 if ac_fn_cxx_try_compile "$LINENO"; then :
46902 glibcxx_cv_func_isnanf_use=yes
46903 else
46904 glibcxx_cv_func_isnanf_use=no
46905 fi
46906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46907 ac_ext=c
46908 ac_cpp='$CPP $CPPFLAGS'
46909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46912
46913
46914 fi
46915
46916 fi
46917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46918 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46919
46920 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46921 for ac_func in isnanf
46922 do :
46923 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46924 if test "x$ac_cv_func_isnanf" = x""yes; then :
46925 cat >>confdefs.h <<_ACEOF
46926 #define HAVE_ISNANF 1
46927 _ACEOF
46928
46929 fi
46930 done
46931
46932 else
46933
46934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46935 $as_echo_n "checking for _isnanf declaration... " >&6; }
46936 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46937 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46938 $as_echo_n "(cached) " >&6
46939 else
46940
46941
46942 ac_ext=cpp
46943 ac_cpp='$CXXCPP $CPPFLAGS'
46944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46947
46948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46949 /* end confdefs.h. */
46950 #include <math.h>
46951 #ifdef HAVE_IEEEFP_H
46952 #include <ieeefp.h>
46953 #endif
46954
46955 int
46956 main ()
46957 {
46958 _isnanf(0);
46959 ;
46960 return 0;
46961 }
46962 _ACEOF
46963 if ac_fn_cxx_try_compile "$LINENO"; then :
46964 glibcxx_cv_func__isnanf_use=yes
46965 else
46966 glibcxx_cv_func__isnanf_use=no
46967 fi
46968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46969 ac_ext=c
46970 ac_cpp='$CPP $CPPFLAGS'
46971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46974
46975
46976 fi
46977
46978 fi
46979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46980 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46981
46982 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46983 for ac_func in _isnanf
46984 do :
46985 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46986 if test "x$ac_cv_func__isnanf" = x""yes; then :
46987 cat >>confdefs.h <<_ACEOF
46988 #define HAVE__ISNANF 1
46989 _ACEOF
46990
46991 fi
46992 done
46993
46994 fi
46995 fi
46996
46997
46998
46999
47000
47001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47002 $as_echo_n "checking for isinff declaration... " >&6; }
47003 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47004 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47005 $as_echo_n "(cached) " >&6
47006 else
47007
47008
47009 ac_ext=cpp
47010 ac_cpp='$CXXCPP $CPPFLAGS'
47011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47014
47015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47016 /* end confdefs.h. */
47017 #include <math.h>
47018 #ifdef HAVE_IEEEFP_H
47019 #include <ieeefp.h>
47020 #endif
47021
47022 int
47023 main ()
47024 {
47025 isinff(0);
47026 ;
47027 return 0;
47028 }
47029 _ACEOF
47030 if ac_fn_cxx_try_compile "$LINENO"; then :
47031 glibcxx_cv_func_isinff_use=yes
47032 else
47033 glibcxx_cv_func_isinff_use=no
47034 fi
47035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47036 ac_ext=c
47037 ac_cpp='$CPP $CPPFLAGS'
47038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47041
47042
47043 fi
47044
47045 fi
47046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47047 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47048
47049 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47050 for ac_func in isinff
47051 do :
47052 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47053 if test "x$ac_cv_func_isinff" = x""yes; then :
47054 cat >>confdefs.h <<_ACEOF
47055 #define HAVE_ISINFF 1
47056 _ACEOF
47057
47058 fi
47059 done
47060
47061 else
47062
47063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47064 $as_echo_n "checking for _isinff declaration... " >&6; }
47065 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47066 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47067 $as_echo_n "(cached) " >&6
47068 else
47069
47070
47071 ac_ext=cpp
47072 ac_cpp='$CXXCPP $CPPFLAGS'
47073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47076
47077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47078 /* end confdefs.h. */
47079 #include <math.h>
47080 #ifdef HAVE_IEEEFP_H
47081 #include <ieeefp.h>
47082 #endif
47083
47084 int
47085 main ()
47086 {
47087 _isinff(0);
47088 ;
47089 return 0;
47090 }
47091 _ACEOF
47092 if ac_fn_cxx_try_compile "$LINENO"; then :
47093 glibcxx_cv_func__isinff_use=yes
47094 else
47095 glibcxx_cv_func__isinff_use=no
47096 fi
47097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47098 ac_ext=c
47099 ac_cpp='$CPP $CPPFLAGS'
47100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47103
47104
47105 fi
47106
47107 fi
47108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47109 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47110
47111 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47112 for ac_func in _isinff
47113 do :
47114 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47115 if test "x$ac_cv_func__isinff" = x""yes; then :
47116 cat >>confdefs.h <<_ACEOF
47117 #define HAVE__ISINFF 1
47118 _ACEOF
47119
47120 fi
47121 done
47122
47123 fi
47124 fi
47125
47126
47127
47128
47129
47130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47131 $as_echo_n "checking for atan2f declaration... " >&6; }
47132 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47133 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47134 $as_echo_n "(cached) " >&6
47135 else
47136
47137
47138 ac_ext=cpp
47139 ac_cpp='$CXXCPP $CPPFLAGS'
47140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47143
47144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47145 /* end confdefs.h. */
47146 #include <math.h>
47147 int
47148 main ()
47149 {
47150 atan2f(0, 0);
47151 ;
47152 return 0;
47153 }
47154 _ACEOF
47155 if ac_fn_cxx_try_compile "$LINENO"; then :
47156 glibcxx_cv_func_atan2f_use=yes
47157 else
47158 glibcxx_cv_func_atan2f_use=no
47159 fi
47160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47161 ac_ext=c
47162 ac_cpp='$CPP $CPPFLAGS'
47163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47166
47167
47168 fi
47169
47170 fi
47171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47172 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47173
47174 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47175 for ac_func in atan2f
47176 do :
47177 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47178 if test "x$ac_cv_func_atan2f" = x""yes; then :
47179 cat >>confdefs.h <<_ACEOF
47180 #define HAVE_ATAN2F 1
47181 _ACEOF
47182
47183 fi
47184 done
47185
47186 else
47187
47188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47189 $as_echo_n "checking for _atan2f declaration... " >&6; }
47190 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47191 if test "${glibcxx_cv_func__atan2f_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 _atan2f(0, 0);
47209 ;
47210 return 0;
47211 }
47212 _ACEOF
47213 if ac_fn_cxx_try_compile "$LINENO"; then :
47214 glibcxx_cv_func__atan2f_use=yes
47215 else
47216 glibcxx_cv_func__atan2f_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
47226 fi
47227
47228 fi
47229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47230 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47231
47232 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47233 for ac_func in _atan2f
47234 do :
47235 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47236 if test "x$ac_cv_func__atan2f" = x""yes; then :
47237 cat >>confdefs.h <<_ACEOF
47238 #define HAVE__ATAN2F 1
47239 _ACEOF
47240
47241 fi
47242 done
47243
47244 fi
47245 fi
47246
47247
47248
47249
47250
47251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47252 $as_echo_n "checking for fabsf declaration... " >&6; }
47253 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47254 if test "${glibcxx_cv_func_fabsf_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 fabsf(0);
47276 ;
47277 return 0;
47278 }
47279 _ACEOF
47280 if ac_fn_cxx_try_compile "$LINENO"; then :
47281 glibcxx_cv_func_fabsf_use=yes
47282 else
47283 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
47297 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47298
47299 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47300 for ac_func in fabsf
47301 do :
47302 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47303 if test "x$ac_cv_func_fabsf" = x""yes; then :
47304 cat >>confdefs.h <<_ACEOF
47305 #define HAVE_FABSF 1
47306 _ACEOF
47307
47308 fi
47309 done
47310
47311 else
47312
47313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47314 $as_echo_n "checking for _fabsf declaration... " >&6; }
47315 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47316 if test "${glibcxx_cv_func__fabsf_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 _fabsf(0);
47338 ;
47339 return 0;
47340 }
47341 _ACEOF
47342 if ac_fn_cxx_try_compile "$LINENO"; then :
47343 glibcxx_cv_func__fabsf_use=yes
47344 else
47345 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
47359 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47360
47361 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47362 for ac_func in _fabsf
47363 do :
47364 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47365 if test "x$ac_cv_func__fabsf" = x""yes; then :
47366 cat >>confdefs.h <<_ACEOF
47367 #define HAVE__FABSF 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 fmodf declaration" >&5
47381 $as_echo_n "checking for fmodf declaration... " >&6; }
47382 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47383 if test "${glibcxx_cv_func_fmodf_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 int
47398 main ()
47399 {
47400 fmodf(0, 0);
47401 ;
47402 return 0;
47403 }
47404 _ACEOF
47405 if ac_fn_cxx_try_compile "$LINENO"; then :
47406 glibcxx_cv_func_fmodf_use=yes
47407 else
47408 glibcxx_cv_func_fmodf_use=no
47409 fi
47410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47411 ac_ext=c
47412 ac_cpp='$CPP $CPPFLAGS'
47413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47416
47417
47418 fi
47419
47420 fi
47421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47422 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47423
47424 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47425 for ac_func in fmodf
47426 do :
47427 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47428 if test "x$ac_cv_func_fmodf" = x""yes; then :
47429 cat >>confdefs.h <<_ACEOF
47430 #define HAVE_FMODF 1
47431 _ACEOF
47432
47433 fi
47434 done
47435
47436 else
47437
47438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47439 $as_echo_n "checking for _fmodf declaration... " >&6; }
47440 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47441 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47442 $as_echo_n "(cached) " >&6
47443 else
47444
47445
47446 ac_ext=cpp
47447 ac_cpp='$CXXCPP $CPPFLAGS'
47448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47451
47452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47453 /* end confdefs.h. */
47454 #include <math.h>
47455 int
47456 main ()
47457 {
47458 _fmodf(0, 0);
47459 ;
47460 return 0;
47461 }
47462 _ACEOF
47463 if ac_fn_cxx_try_compile "$LINENO"; then :
47464 glibcxx_cv_func__fmodf_use=yes
47465 else
47466 glibcxx_cv_func__fmodf_use=no
47467 fi
47468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47469 ac_ext=c
47470 ac_cpp='$CPP $CPPFLAGS'
47471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47474
47475
47476 fi
47477
47478 fi
47479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47480 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47481
47482 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47483 for ac_func in _fmodf
47484 do :
47485 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47486 if test "x$ac_cv_func__fmodf" = x""yes; then :
47487 cat >>confdefs.h <<_ACEOF
47488 #define HAVE__FMODF 1
47489 _ACEOF
47490
47491 fi
47492 done
47493
47494 fi
47495 fi
47496
47497
47498
47499
47500
47501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47502 $as_echo_n "checking for frexpf declaration... " >&6; }
47503 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47504 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47505 $as_echo_n "(cached) " >&6
47506 else
47507
47508
47509 ac_ext=cpp
47510 ac_cpp='$CXXCPP $CPPFLAGS'
47511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47514
47515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47516 /* end confdefs.h. */
47517 #include <math.h>
47518 int
47519 main ()
47520 {
47521 frexpf(0, 0);
47522 ;
47523 return 0;
47524 }
47525 _ACEOF
47526 if ac_fn_cxx_try_compile "$LINENO"; then :
47527 glibcxx_cv_func_frexpf_use=yes
47528 else
47529 glibcxx_cv_func_frexpf_use=no
47530 fi
47531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47532 ac_ext=c
47533 ac_cpp='$CPP $CPPFLAGS'
47534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47537
47538
47539 fi
47540
47541 fi
47542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47543 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47544
47545 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47546 for ac_func in frexpf
47547 do :
47548 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47549 if test "x$ac_cv_func_frexpf" = x""yes; then :
47550 cat >>confdefs.h <<_ACEOF
47551 #define HAVE_FREXPF 1
47552 _ACEOF
47553
47554 fi
47555 done
47556
47557 else
47558
47559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47560 $as_echo_n "checking for _frexpf declaration... " >&6; }
47561 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47562 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47563 $as_echo_n "(cached) " >&6
47564 else
47565
47566
47567 ac_ext=cpp
47568 ac_cpp='$CXXCPP $CPPFLAGS'
47569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47572
47573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47574 /* end confdefs.h. */
47575 #include <math.h>
47576 int
47577 main ()
47578 {
47579 _frexpf(0, 0);
47580 ;
47581 return 0;
47582 }
47583 _ACEOF
47584 if ac_fn_cxx_try_compile "$LINENO"; then :
47585 glibcxx_cv_func__frexpf_use=yes
47586 else
47587 glibcxx_cv_func__frexpf_use=no
47588 fi
47589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47590 ac_ext=c
47591 ac_cpp='$CPP $CPPFLAGS'
47592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47595
47596
47597 fi
47598
47599 fi
47600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47601 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47602
47603 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47604 for ac_func in _frexpf
47605 do :
47606 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47607 if test "x$ac_cv_func__frexpf" = x""yes; then :
47608 cat >>confdefs.h <<_ACEOF
47609 #define HAVE__FREXPF 1
47610 _ACEOF
47611
47612 fi
47613 done
47614
47615 fi
47616 fi
47617
47618
47619
47620
47621
47622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47623 $as_echo_n "checking for hypotf declaration... " >&6; }
47624 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47625 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47626 $as_echo_n "(cached) " >&6
47627 else
47628
47629
47630 ac_ext=cpp
47631 ac_cpp='$CXXCPP $CPPFLAGS'
47632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47635
47636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47637 /* end confdefs.h. */
47638 #include <math.h>
47639 int
47640 main ()
47641 {
47642 hypotf(0, 0);
47643 ;
47644 return 0;
47645 }
47646 _ACEOF
47647 if ac_fn_cxx_try_compile "$LINENO"; then :
47648 glibcxx_cv_func_hypotf_use=yes
47649 else
47650 glibcxx_cv_func_hypotf_use=no
47651 fi
47652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47653 ac_ext=c
47654 ac_cpp='$CPP $CPPFLAGS'
47655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47658
47659
47660 fi
47661
47662 fi
47663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47664 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47665
47666 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47667 for ac_func in hypotf
47668 do :
47669 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47670 if test "x$ac_cv_func_hypotf" = x""yes; then :
47671 cat >>confdefs.h <<_ACEOF
47672 #define HAVE_HYPOTF 1
47673 _ACEOF
47674
47675 fi
47676 done
47677
47678 else
47679
47680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47681 $as_echo_n "checking for _hypotf declaration... " >&6; }
47682 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47683 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47684 $as_echo_n "(cached) " >&6
47685 else
47686
47687
47688 ac_ext=cpp
47689 ac_cpp='$CXXCPP $CPPFLAGS'
47690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47693
47694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47695 /* end confdefs.h. */
47696 #include <math.h>
47697 int
47698 main ()
47699 {
47700 _hypotf(0, 0);
47701 ;
47702 return 0;
47703 }
47704 _ACEOF
47705 if ac_fn_cxx_try_compile "$LINENO"; then :
47706 glibcxx_cv_func__hypotf_use=yes
47707 else
47708 glibcxx_cv_func__hypotf_use=no
47709 fi
47710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47711 ac_ext=c
47712 ac_cpp='$CPP $CPPFLAGS'
47713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47716
47717
47718 fi
47719
47720 fi
47721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47722 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47723
47724 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47725 for ac_func in _hypotf
47726 do :
47727 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47728 if test "x$ac_cv_func__hypotf" = x""yes; then :
47729 cat >>confdefs.h <<_ACEOF
47730 #define HAVE__HYPOTF 1
47731 _ACEOF
47732
47733 fi
47734 done
47735
47736 fi
47737 fi
47738
47739
47740
47741
47742
47743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47744 $as_echo_n "checking for ldexpf declaration... " >&6; }
47745 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47746 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47747 $as_echo_n "(cached) " >&6
47748 else
47749
47750
47751 ac_ext=cpp
47752 ac_cpp='$CXXCPP $CPPFLAGS'
47753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47756
47757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47758 /* end confdefs.h. */
47759 #include <math.h>
47760 int
47761 main ()
47762 {
47763 ldexpf(0, 0);
47764 ;
47765 return 0;
47766 }
47767 _ACEOF
47768 if ac_fn_cxx_try_compile "$LINENO"; then :
47769 glibcxx_cv_func_ldexpf_use=yes
47770 else
47771 glibcxx_cv_func_ldexpf_use=no
47772 fi
47773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47774 ac_ext=c
47775 ac_cpp='$CPP $CPPFLAGS'
47776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47779
47780
47781 fi
47782
47783 fi
47784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47785 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47786
47787 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47788 for ac_func in ldexpf
47789 do :
47790 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47791 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47792 cat >>confdefs.h <<_ACEOF
47793 #define HAVE_LDEXPF 1
47794 _ACEOF
47795
47796 fi
47797 done
47798
47799 else
47800
47801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47802 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47803 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47804 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47805 $as_echo_n "(cached) " >&6
47806 else
47807
47808
47809 ac_ext=cpp
47810 ac_cpp='$CXXCPP $CPPFLAGS'
47811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47814
47815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47816 /* end confdefs.h. */
47817 #include <math.h>
47818 int
47819 main ()
47820 {
47821 _ldexpf(0, 0);
47822 ;
47823 return 0;
47824 }
47825 _ACEOF
47826 if ac_fn_cxx_try_compile "$LINENO"; then :
47827 glibcxx_cv_func__ldexpf_use=yes
47828 else
47829 glibcxx_cv_func__ldexpf_use=no
47830 fi
47831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47832 ac_ext=c
47833 ac_cpp='$CPP $CPPFLAGS'
47834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47837
47838
47839 fi
47840
47841 fi
47842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47843 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47844
47845 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47846 for ac_func in _ldexpf
47847 do :
47848 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47849 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47850 cat >>confdefs.h <<_ACEOF
47851 #define HAVE__LDEXPF 1
47852 _ACEOF
47853
47854 fi
47855 done
47856
47857 fi
47858 fi
47859
47860
47861
47862
47863
47864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47865 $as_echo_n "checking for logf declaration... " >&6; }
47866 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47867 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47868 $as_echo_n "(cached) " >&6
47869 else
47870
47871
47872 ac_ext=cpp
47873 ac_cpp='$CXXCPP $CPPFLAGS'
47874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47877
47878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47879 /* end confdefs.h. */
47880 #include <math.h>
47881 #ifdef HAVE_IEEEFP_H
47882 #include <ieeefp.h>
47883 #endif
47884
47885 int
47886 main ()
47887 {
47888 logf(0);
47889 ;
47890 return 0;
47891 }
47892 _ACEOF
47893 if ac_fn_cxx_try_compile "$LINENO"; then :
47894 glibcxx_cv_func_logf_use=yes
47895 else
47896 glibcxx_cv_func_logf_use=no
47897 fi
47898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47899 ac_ext=c
47900 ac_cpp='$CPP $CPPFLAGS'
47901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47904
47905
47906 fi
47907
47908 fi
47909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47910 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47911
47912 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47913 for ac_func in logf
47914 do :
47915 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47916 if test "x$ac_cv_func_logf" = x""yes; then :
47917 cat >>confdefs.h <<_ACEOF
47918 #define HAVE_LOGF 1
47919 _ACEOF
47920
47921 fi
47922 done
47923
47924 else
47925
47926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47927 $as_echo_n "checking for _logf declaration... " >&6; }
47928 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47929 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47930 $as_echo_n "(cached) " >&6
47931 else
47932
47933
47934 ac_ext=cpp
47935 ac_cpp='$CXXCPP $CPPFLAGS'
47936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47939
47940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47941 /* end confdefs.h. */
47942 #include <math.h>
47943 #ifdef HAVE_IEEEFP_H
47944 #include <ieeefp.h>
47945 #endif
47946
47947 int
47948 main ()
47949 {
47950 _logf(0);
47951 ;
47952 return 0;
47953 }
47954 _ACEOF
47955 if ac_fn_cxx_try_compile "$LINENO"; then :
47956 glibcxx_cv_func__logf_use=yes
47957 else
47958 glibcxx_cv_func__logf_use=no
47959 fi
47960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47961 ac_ext=c
47962 ac_cpp='$CPP $CPPFLAGS'
47963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47966
47967
47968 fi
47969
47970 fi
47971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47972 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47973
47974 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47975 for ac_func in _logf
47976 do :
47977 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47978 if test "x$ac_cv_func__logf" = x""yes; then :
47979 cat >>confdefs.h <<_ACEOF
47980 #define HAVE__LOGF 1
47981 _ACEOF
47982
47983 fi
47984 done
47985
47986 fi
47987 fi
47988
47989
47990
47991
47992
47993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47994 $as_echo_n "checking for log10f declaration... " >&6; }
47995 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47996 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47997 $as_echo_n "(cached) " >&6
47998 else
47999
48000
48001 ac_ext=cpp
48002 ac_cpp='$CXXCPP $CPPFLAGS'
48003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48006
48007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48008 /* end confdefs.h. */
48009 #include <math.h>
48010 #ifdef HAVE_IEEEFP_H
48011 #include <ieeefp.h>
48012 #endif
48013
48014 int
48015 main ()
48016 {
48017 log10f(0);
48018 ;
48019 return 0;
48020 }
48021 _ACEOF
48022 if ac_fn_cxx_try_compile "$LINENO"; then :
48023 glibcxx_cv_func_log10f_use=yes
48024 else
48025 glibcxx_cv_func_log10f_use=no
48026 fi
48027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48028 ac_ext=c
48029 ac_cpp='$CPP $CPPFLAGS'
48030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48033
48034
48035 fi
48036
48037 fi
48038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48039 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48040
48041 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48042 for ac_func in log10f
48043 do :
48044 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48045 if test "x$ac_cv_func_log10f" = x""yes; then :
48046 cat >>confdefs.h <<_ACEOF
48047 #define HAVE_LOG10F 1
48048 _ACEOF
48049
48050 fi
48051 done
48052
48053 else
48054
48055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48056 $as_echo_n "checking for _log10f declaration... " >&6; }
48057 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48058 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48059 $as_echo_n "(cached) " >&6
48060 else
48061
48062
48063 ac_ext=cpp
48064 ac_cpp='$CXXCPP $CPPFLAGS'
48065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48068
48069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48070 /* end confdefs.h. */
48071 #include <math.h>
48072 #ifdef HAVE_IEEEFP_H
48073 #include <ieeefp.h>
48074 #endif
48075
48076 int
48077 main ()
48078 {
48079 _log10f(0);
48080 ;
48081 return 0;
48082 }
48083 _ACEOF
48084 if ac_fn_cxx_try_compile "$LINENO"; then :
48085 glibcxx_cv_func__log10f_use=yes
48086 else
48087 glibcxx_cv_func__log10f_use=no
48088 fi
48089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48090 ac_ext=c
48091 ac_cpp='$CPP $CPPFLAGS'
48092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48095
48096
48097 fi
48098
48099 fi
48100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48101 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48102
48103 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48104 for ac_func in _log10f
48105 do :
48106 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48107 if test "x$ac_cv_func__log10f" = x""yes; then :
48108 cat >>confdefs.h <<_ACEOF
48109 #define HAVE__LOG10F 1
48110 _ACEOF
48111
48112 fi
48113 done
48114
48115 fi
48116 fi
48117
48118
48119
48120
48121
48122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48123 $as_echo_n "checking for modff declaration... " >&6; }
48124 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48125 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48126 $as_echo_n "(cached) " >&6
48127 else
48128
48129
48130 ac_ext=cpp
48131 ac_cpp='$CXXCPP $CPPFLAGS'
48132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48135
48136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48137 /* end confdefs.h. */
48138 #include <math.h>
48139 int
48140 main ()
48141 {
48142 modff(0, 0);
48143 ;
48144 return 0;
48145 }
48146 _ACEOF
48147 if ac_fn_cxx_try_compile "$LINENO"; then :
48148 glibcxx_cv_func_modff_use=yes
48149 else
48150 glibcxx_cv_func_modff_use=no
48151 fi
48152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48153 ac_ext=c
48154 ac_cpp='$CPP $CPPFLAGS'
48155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48158
48159
48160 fi
48161
48162 fi
48163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48164 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48165
48166 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48167 for ac_func in modff
48168 do :
48169 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48170 if test "x$ac_cv_func_modff" = x""yes; then :
48171 cat >>confdefs.h <<_ACEOF
48172 #define HAVE_MODFF 1
48173 _ACEOF
48174
48175 fi
48176 done
48177
48178 else
48179
48180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48181 $as_echo_n "checking for _modff declaration... " >&6; }
48182 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48183 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48184 $as_echo_n "(cached) " >&6
48185 else
48186
48187
48188 ac_ext=cpp
48189 ac_cpp='$CXXCPP $CPPFLAGS'
48190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48193
48194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48195 /* end confdefs.h. */
48196 #include <math.h>
48197 int
48198 main ()
48199 {
48200 _modff(0, 0);
48201 ;
48202 return 0;
48203 }
48204 _ACEOF
48205 if ac_fn_cxx_try_compile "$LINENO"; then :
48206 glibcxx_cv_func__modff_use=yes
48207 else
48208 glibcxx_cv_func__modff_use=no
48209 fi
48210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48211 ac_ext=c
48212 ac_cpp='$CPP $CPPFLAGS'
48213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48216
48217
48218 fi
48219
48220 fi
48221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48222 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48223
48224 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48225 for ac_func in _modff
48226 do :
48227 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48228 if test "x$ac_cv_func__modff" = x""yes; then :
48229 cat >>confdefs.h <<_ACEOF
48230 #define HAVE__MODFF 1
48231 _ACEOF
48232
48233 fi
48234 done
48235
48236 fi
48237 fi
48238
48239
48240
48241
48242
48243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48244 $as_echo_n "checking for modf declaration... " >&6; }
48245 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48246 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48247 $as_echo_n "(cached) " >&6
48248 else
48249
48250
48251 ac_ext=cpp
48252 ac_cpp='$CXXCPP $CPPFLAGS'
48253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48256
48257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48258 /* end confdefs.h. */
48259 #include <math.h>
48260 int
48261 main ()
48262 {
48263 modf(0, 0);
48264 ;
48265 return 0;
48266 }
48267 _ACEOF
48268 if ac_fn_cxx_try_compile "$LINENO"; then :
48269 glibcxx_cv_func_modf_use=yes
48270 else
48271 glibcxx_cv_func_modf_use=no
48272 fi
48273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48274 ac_ext=c
48275 ac_cpp='$CPP $CPPFLAGS'
48276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48279
48280
48281 fi
48282
48283 fi
48284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48285 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48286
48287 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48288 for ac_func in modf
48289 do :
48290 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48291 if test "x$ac_cv_func_modf" = x""yes; then :
48292 cat >>confdefs.h <<_ACEOF
48293 #define HAVE_MODF 1
48294 _ACEOF
48295
48296 fi
48297 done
48298
48299 else
48300
48301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48302 $as_echo_n "checking for _modf declaration... " >&6; }
48303 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48304 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48305 $as_echo_n "(cached) " >&6
48306 else
48307
48308
48309 ac_ext=cpp
48310 ac_cpp='$CXXCPP $CPPFLAGS'
48311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48314
48315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48316 /* end confdefs.h. */
48317 #include <math.h>
48318 int
48319 main ()
48320 {
48321 _modf(0, 0);
48322 ;
48323 return 0;
48324 }
48325 _ACEOF
48326 if ac_fn_cxx_try_compile "$LINENO"; then :
48327 glibcxx_cv_func__modf_use=yes
48328 else
48329 glibcxx_cv_func__modf_use=no
48330 fi
48331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48332 ac_ext=c
48333 ac_cpp='$CPP $CPPFLAGS'
48334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48337
48338
48339 fi
48340
48341 fi
48342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48343 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48344
48345 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48346 for ac_func in _modf
48347 do :
48348 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48349 if test "x$ac_cv_func__modf" = x""yes; then :
48350 cat >>confdefs.h <<_ACEOF
48351 #define HAVE__MODF 1
48352 _ACEOF
48353
48354 fi
48355 done
48356
48357 fi
48358 fi
48359
48360
48361
48362
48363
48364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48365 $as_echo_n "checking for powf declaration... " >&6; }
48366 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48367 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48368 $as_echo_n "(cached) " >&6
48369 else
48370
48371
48372 ac_ext=cpp
48373 ac_cpp='$CXXCPP $CPPFLAGS'
48374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48377
48378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48379 /* end confdefs.h. */
48380 #include <math.h>
48381 int
48382 main ()
48383 {
48384 powf(0, 0);
48385 ;
48386 return 0;
48387 }
48388 _ACEOF
48389 if ac_fn_cxx_try_compile "$LINENO"; then :
48390 glibcxx_cv_func_powf_use=yes
48391 else
48392 glibcxx_cv_func_powf_use=no
48393 fi
48394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48395 ac_ext=c
48396 ac_cpp='$CPP $CPPFLAGS'
48397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48400
48401
48402 fi
48403
48404 fi
48405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48406 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48407
48408 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48409 for ac_func in powf
48410 do :
48411 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48412 if test "x$ac_cv_func_powf" = x""yes; then :
48413 cat >>confdefs.h <<_ACEOF
48414 #define HAVE_POWF 1
48415 _ACEOF
48416
48417 fi
48418 done
48419
48420 else
48421
48422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48423 $as_echo_n "checking for _powf declaration... " >&6; }
48424 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48425 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48426 $as_echo_n "(cached) " >&6
48427 else
48428
48429
48430 ac_ext=cpp
48431 ac_cpp='$CXXCPP $CPPFLAGS'
48432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48435
48436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48437 /* end confdefs.h. */
48438 #include <math.h>
48439 int
48440 main ()
48441 {
48442 _powf(0, 0);
48443 ;
48444 return 0;
48445 }
48446 _ACEOF
48447 if ac_fn_cxx_try_compile "$LINENO"; then :
48448 glibcxx_cv_func__powf_use=yes
48449 else
48450 glibcxx_cv_func__powf_use=no
48451 fi
48452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48453 ac_ext=c
48454 ac_cpp='$CPP $CPPFLAGS'
48455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48458
48459
48460 fi
48461
48462 fi
48463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48464 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48465
48466 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48467 for ac_func in _powf
48468 do :
48469 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48470 if test "x$ac_cv_func__powf" = x""yes; then :
48471 cat >>confdefs.h <<_ACEOF
48472 #define HAVE__POWF 1
48473 _ACEOF
48474
48475 fi
48476 done
48477
48478 fi
48479 fi
48480
48481
48482
48483
48484
48485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48486 $as_echo_n "checking for sqrtf declaration... " >&6; }
48487 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48488 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48489 $as_echo_n "(cached) " >&6
48490 else
48491
48492
48493 ac_ext=cpp
48494 ac_cpp='$CXXCPP $CPPFLAGS'
48495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48498
48499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48500 /* end confdefs.h. */
48501 #include <math.h>
48502 #ifdef HAVE_IEEEFP_H
48503 #include <ieeefp.h>
48504 #endif
48505
48506 int
48507 main ()
48508 {
48509 sqrtf(0);
48510 ;
48511 return 0;
48512 }
48513 _ACEOF
48514 if ac_fn_cxx_try_compile "$LINENO"; then :
48515 glibcxx_cv_func_sqrtf_use=yes
48516 else
48517 glibcxx_cv_func_sqrtf_use=no
48518 fi
48519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48520 ac_ext=c
48521 ac_cpp='$CPP $CPPFLAGS'
48522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48525
48526
48527 fi
48528
48529 fi
48530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48531 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48532
48533 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48534 for ac_func in sqrtf
48535 do :
48536 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48537 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48538 cat >>confdefs.h <<_ACEOF
48539 #define HAVE_SQRTF 1
48540 _ACEOF
48541
48542 fi
48543 done
48544
48545 else
48546
48547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48548 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48549 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48550 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48551 $as_echo_n "(cached) " >&6
48552 else
48553
48554
48555 ac_ext=cpp
48556 ac_cpp='$CXXCPP $CPPFLAGS'
48557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48560
48561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48562 /* end confdefs.h. */
48563 #include <math.h>
48564 #ifdef HAVE_IEEEFP_H
48565 #include <ieeefp.h>
48566 #endif
48567
48568 int
48569 main ()
48570 {
48571 _sqrtf(0);
48572 ;
48573 return 0;
48574 }
48575 _ACEOF
48576 if ac_fn_cxx_try_compile "$LINENO"; then :
48577 glibcxx_cv_func__sqrtf_use=yes
48578 else
48579 glibcxx_cv_func__sqrtf_use=no
48580 fi
48581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48582 ac_ext=c
48583 ac_cpp='$CPP $CPPFLAGS'
48584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48587
48588
48589 fi
48590
48591 fi
48592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48593 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48594
48595 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48596 for ac_func in _sqrtf
48597 do :
48598 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48599 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48600 cat >>confdefs.h <<_ACEOF
48601 #define HAVE__SQRTF 1
48602 _ACEOF
48603
48604 fi
48605 done
48606
48607 fi
48608 fi
48609
48610
48611
48612
48613
48614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48615 $as_echo_n "checking for sincosf declaration... " >&6; }
48616 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48617 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48618 $as_echo_n "(cached) " >&6
48619 else
48620
48621
48622 ac_ext=cpp
48623 ac_cpp='$CXXCPP $CPPFLAGS'
48624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48627
48628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48629 /* end confdefs.h. */
48630 #include <math.h>
48631 int
48632 main ()
48633 {
48634 sincosf(0, 0, 0);
48635 ;
48636 return 0;
48637 }
48638 _ACEOF
48639 if ac_fn_cxx_try_compile "$LINENO"; then :
48640 glibcxx_cv_func_sincosf_use=yes
48641 else
48642 glibcxx_cv_func_sincosf_use=no
48643 fi
48644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48645 ac_ext=c
48646 ac_cpp='$CPP $CPPFLAGS'
48647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48650
48651
48652 fi
48653
48654 fi
48655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48656 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48657
48658 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48659 for ac_func in sincosf
48660 do :
48661 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48662 if test "x$ac_cv_func_sincosf" = x""yes; then :
48663 cat >>confdefs.h <<_ACEOF
48664 #define HAVE_SINCOSF 1
48665 _ACEOF
48666
48667 fi
48668 done
48669
48670 else
48671
48672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48673 $as_echo_n "checking for _sincosf declaration... " >&6; }
48674 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48675 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48676 $as_echo_n "(cached) " >&6
48677 else
48678
48679
48680 ac_ext=cpp
48681 ac_cpp='$CXXCPP $CPPFLAGS'
48682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48685
48686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48687 /* end confdefs.h. */
48688 #include <math.h>
48689 int
48690 main ()
48691 {
48692 _sincosf(0, 0, 0);
48693 ;
48694 return 0;
48695 }
48696 _ACEOF
48697 if ac_fn_cxx_try_compile "$LINENO"; then :
48698 glibcxx_cv_func__sincosf_use=yes
48699 else
48700 glibcxx_cv_func__sincosf_use=no
48701 fi
48702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48703 ac_ext=c
48704 ac_cpp='$CPP $CPPFLAGS'
48705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48708
48709
48710 fi
48711
48712 fi
48713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48714 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48715
48716 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48717 for ac_func in _sincosf
48718 do :
48719 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48720 if test "x$ac_cv_func__sincosf" = x""yes; then :
48721 cat >>confdefs.h <<_ACEOF
48722 #define HAVE__SINCOSF 1
48723 _ACEOF
48724
48725 fi
48726 done
48727
48728 fi
48729 fi
48730
48731
48732
48733
48734
48735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48736 $as_echo_n "checking for finitef declaration... " >&6; }
48737 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48738 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48739 $as_echo_n "(cached) " >&6
48740 else
48741
48742
48743 ac_ext=cpp
48744 ac_cpp='$CXXCPP $CPPFLAGS'
48745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48748
48749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48750 /* end confdefs.h. */
48751 #include <math.h>
48752 #ifdef HAVE_IEEEFP_H
48753 #include <ieeefp.h>
48754 #endif
48755
48756 int
48757 main ()
48758 {
48759 finitef(0);
48760 ;
48761 return 0;
48762 }
48763 _ACEOF
48764 if ac_fn_cxx_try_compile "$LINENO"; then :
48765 glibcxx_cv_func_finitef_use=yes
48766 else
48767 glibcxx_cv_func_finitef_use=no
48768 fi
48769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48770 ac_ext=c
48771 ac_cpp='$CPP $CPPFLAGS'
48772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48775
48776
48777 fi
48778
48779 fi
48780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48781 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48782
48783 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48784 for ac_func in finitef
48785 do :
48786 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48787 if test "x$ac_cv_func_finitef" = x""yes; then :
48788 cat >>confdefs.h <<_ACEOF
48789 #define HAVE_FINITEF 1
48790 _ACEOF
48791
48792 fi
48793 done
48794
48795 else
48796
48797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48798 $as_echo_n "checking for _finitef declaration... " >&6; }
48799 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48800 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48801 $as_echo_n "(cached) " >&6
48802 else
48803
48804
48805 ac_ext=cpp
48806 ac_cpp='$CXXCPP $CPPFLAGS'
48807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48810
48811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48812 /* end confdefs.h. */
48813 #include <math.h>
48814 #ifdef HAVE_IEEEFP_H
48815 #include <ieeefp.h>
48816 #endif
48817
48818 int
48819 main ()
48820 {
48821 _finitef(0);
48822 ;
48823 return 0;
48824 }
48825 _ACEOF
48826 if ac_fn_cxx_try_compile "$LINENO"; then :
48827 glibcxx_cv_func__finitef_use=yes
48828 else
48829 glibcxx_cv_func__finitef_use=no
48830 fi
48831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48832 ac_ext=c
48833 ac_cpp='$CPP $CPPFLAGS'
48834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48837
48838
48839 fi
48840
48841 fi
48842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48843 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48844
48845 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48846 for ac_func in _finitef
48847 do :
48848 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48849 if test "x$ac_cv_func__finitef" = x""yes; then :
48850 cat >>confdefs.h <<_ACEOF
48851 #define HAVE__FINITEF 1
48852 _ACEOF
48853
48854 fi
48855 done
48856
48857 fi
48858 fi
48859
48860
48861
48862
48863
48864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48865 $as_echo_n "checking for long double trig functions... " >&6; }
48866 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48867 $as_echo_n "(cached) " >&6
48868 else
48869
48870
48871 ac_ext=cpp
48872 ac_cpp='$CXXCPP $CPPFLAGS'
48873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48876
48877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48878 /* end confdefs.h. */
48879 #include <math.h>
48880 int
48881 main ()
48882 {
48883 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48884 ;
48885 return 0;
48886 }
48887 _ACEOF
48888 if ac_fn_cxx_try_compile "$LINENO"; then :
48889 glibcxx_cv_func_long_double_trig_use=yes
48890 else
48891 glibcxx_cv_func_long_double_trig_use=no
48892 fi
48893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48894 ac_ext=c
48895 ac_cpp='$CPP $CPPFLAGS'
48896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48899
48900 fi
48901
48902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48903 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48904 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48905 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48906 do :
48907 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48908 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48909 eval as_val=\$$as_ac_var
48910 if test "x$as_val" = x""yes; then :
48911 cat >>confdefs.h <<_ACEOF
48912 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48913 _ACEOF
48914
48915 fi
48916 done
48917
48918 else
48919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48920 $as_echo_n "checking for _long double trig functions... " >&6; }
48921 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48922 $as_echo_n "(cached) " >&6
48923 else
48924
48925
48926 ac_ext=cpp
48927 ac_cpp='$CXXCPP $CPPFLAGS'
48928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48931
48932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48933 /* end confdefs.h. */
48934 #include <math.h>
48935 int
48936 main ()
48937 {
48938 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48939 ;
48940 return 0;
48941 }
48942 _ACEOF
48943 if ac_fn_cxx_try_compile "$LINENO"; then :
48944 glibcxx_cv_func__long_double_trig_use=yes
48945 else
48946 glibcxx_cv_func__long_double_trig_use=no
48947 fi
48948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48949 ac_ext=c
48950 ac_cpp='$CPP $CPPFLAGS'
48951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48954
48955 fi
48956
48957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48958 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48959 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48960 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48961 do :
48962 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48963 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48964 eval as_val=\$$as_ac_var
48965 if test "x$as_val" = x""yes; then :
48966 cat >>confdefs.h <<_ACEOF
48967 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48968 _ACEOF
48969
48970 fi
48971 done
48972
48973 fi
48974 fi
48975
48976
48977
48978
48979
48980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48981 $as_echo_n "checking for long double round functions... " >&6; }
48982 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48983 $as_echo_n "(cached) " >&6
48984 else
48985
48986
48987 ac_ext=cpp
48988 ac_cpp='$CXXCPP $CPPFLAGS'
48989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48992
48993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48994 /* end confdefs.h. */
48995 #include <math.h>
48996 int
48997 main ()
48998 {
48999 ceill (0); floorl (0);
49000 ;
49001 return 0;
49002 }
49003 _ACEOF
49004 if ac_fn_cxx_try_compile "$LINENO"; then :
49005 glibcxx_cv_func_long_double_round_use=yes
49006 else
49007 glibcxx_cv_func_long_double_round_use=no
49008 fi
49009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49010 ac_ext=c
49011 ac_cpp='$CPP $CPPFLAGS'
49012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49015
49016 fi
49017
49018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49019 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49020 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49021 for ac_func in ceill floorl
49022 do :
49023 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49024 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49025 eval as_val=\$$as_ac_var
49026 if test "x$as_val" = x""yes; then :
49027 cat >>confdefs.h <<_ACEOF
49028 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49029 _ACEOF
49030
49031 fi
49032 done
49033
49034 else
49035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49036 $as_echo_n "checking for _long double round functions... " >&6; }
49037 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49038 $as_echo_n "(cached) " >&6
49039 else
49040
49041
49042 ac_ext=cpp
49043 ac_cpp='$CXXCPP $CPPFLAGS'
49044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49047
49048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49049 /* end confdefs.h. */
49050 #include <math.h>
49051 int
49052 main ()
49053 {
49054 _ceill (0); _floorl (0);
49055 ;
49056 return 0;
49057 }
49058 _ACEOF
49059 if ac_fn_cxx_try_compile "$LINENO"; then :
49060 glibcxx_cv_func__long_double_round_use=yes
49061 else
49062 glibcxx_cv_func__long_double_round_use=no
49063 fi
49064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49065 ac_ext=c
49066 ac_cpp='$CPP $CPPFLAGS'
49067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49070
49071 fi
49072
49073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49074 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49075 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49076 for ac_func in _ceill _floorl
49077 do :
49078 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49079 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49080 eval as_val=\$$as_ac_var
49081 if test "x$as_val" = x""yes; then :
49082 cat >>confdefs.h <<_ACEOF
49083 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49084 _ACEOF
49085
49086 fi
49087 done
49088
49089 fi
49090 fi
49091
49092
49093
49094
49095
49096
49097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49098 $as_echo_n "checking for isnanl declaration... " >&6; }
49099 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49100 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49101 $as_echo_n "(cached) " >&6
49102 else
49103
49104
49105 ac_ext=cpp
49106 ac_cpp='$CXXCPP $CPPFLAGS'
49107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49110
49111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49112 /* end confdefs.h. */
49113 #include <math.h>
49114 #ifdef HAVE_IEEEFP_H
49115 #include <ieeefp.h>
49116 #endif
49117
49118 int
49119 main ()
49120 {
49121 isnanl(0);
49122 ;
49123 return 0;
49124 }
49125 _ACEOF
49126 if ac_fn_cxx_try_compile "$LINENO"; then :
49127 glibcxx_cv_func_isnanl_use=yes
49128 else
49129 glibcxx_cv_func_isnanl_use=no
49130 fi
49131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49132 ac_ext=c
49133 ac_cpp='$CPP $CPPFLAGS'
49134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49137
49138
49139 fi
49140
49141 fi
49142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49143 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49144
49145 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49146 for ac_func in isnanl
49147 do :
49148 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49149 if test "x$ac_cv_func_isnanl" = x""yes; then :
49150 cat >>confdefs.h <<_ACEOF
49151 #define HAVE_ISNANL 1
49152 _ACEOF
49153
49154 fi
49155 done
49156
49157 else
49158
49159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49160 $as_echo_n "checking for _isnanl declaration... " >&6; }
49161 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49162 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49163 $as_echo_n "(cached) " >&6
49164 else
49165
49166
49167 ac_ext=cpp
49168 ac_cpp='$CXXCPP $CPPFLAGS'
49169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49172
49173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49174 /* end confdefs.h. */
49175 #include <math.h>
49176 #ifdef HAVE_IEEEFP_H
49177 #include <ieeefp.h>
49178 #endif
49179
49180 int
49181 main ()
49182 {
49183 _isnanl(0);
49184 ;
49185 return 0;
49186 }
49187 _ACEOF
49188 if ac_fn_cxx_try_compile "$LINENO"; then :
49189 glibcxx_cv_func__isnanl_use=yes
49190 else
49191 glibcxx_cv_func__isnanl_use=no
49192 fi
49193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49194 ac_ext=c
49195 ac_cpp='$CPP $CPPFLAGS'
49196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49199
49200
49201 fi
49202
49203 fi
49204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49205 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49206
49207 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49208 for ac_func in _isnanl
49209 do :
49210 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49211 if test "x$ac_cv_func__isnanl" = x""yes; then :
49212 cat >>confdefs.h <<_ACEOF
49213 #define HAVE__ISNANL 1
49214 _ACEOF
49215
49216 fi
49217 done
49218
49219 fi
49220 fi
49221
49222
49223
49224
49225
49226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49227 $as_echo_n "checking for isinfl declaration... " >&6; }
49228 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49229 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49230 $as_echo_n "(cached) " >&6
49231 else
49232
49233
49234 ac_ext=cpp
49235 ac_cpp='$CXXCPP $CPPFLAGS'
49236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49239
49240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49241 /* end confdefs.h. */
49242 #include <math.h>
49243 #ifdef HAVE_IEEEFP_H
49244 #include <ieeefp.h>
49245 #endif
49246
49247 int
49248 main ()
49249 {
49250 isinfl(0);
49251 ;
49252 return 0;
49253 }
49254 _ACEOF
49255 if ac_fn_cxx_try_compile "$LINENO"; then :
49256 glibcxx_cv_func_isinfl_use=yes
49257 else
49258 glibcxx_cv_func_isinfl_use=no
49259 fi
49260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49261 ac_ext=c
49262 ac_cpp='$CPP $CPPFLAGS'
49263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49266
49267
49268 fi
49269
49270 fi
49271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49272 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49273
49274 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49275 for ac_func in isinfl
49276 do :
49277 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49278 if test "x$ac_cv_func_isinfl" = x""yes; then :
49279 cat >>confdefs.h <<_ACEOF
49280 #define HAVE_ISINFL 1
49281 _ACEOF
49282
49283 fi
49284 done
49285
49286 else
49287
49288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49289 $as_echo_n "checking for _isinfl declaration... " >&6; }
49290 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49291 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49292 $as_echo_n "(cached) " >&6
49293 else
49294
49295
49296 ac_ext=cpp
49297 ac_cpp='$CXXCPP $CPPFLAGS'
49298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49301
49302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49303 /* end confdefs.h. */
49304 #include <math.h>
49305 #ifdef HAVE_IEEEFP_H
49306 #include <ieeefp.h>
49307 #endif
49308
49309 int
49310 main ()
49311 {
49312 _isinfl(0);
49313 ;
49314 return 0;
49315 }
49316 _ACEOF
49317 if ac_fn_cxx_try_compile "$LINENO"; then :
49318 glibcxx_cv_func__isinfl_use=yes
49319 else
49320 glibcxx_cv_func__isinfl_use=no
49321 fi
49322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49323 ac_ext=c
49324 ac_cpp='$CPP $CPPFLAGS'
49325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49328
49329
49330 fi
49331
49332 fi
49333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49334 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49335
49336 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49337 for ac_func in _isinfl
49338 do :
49339 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49340 if test "x$ac_cv_func__isinfl" = x""yes; then :
49341 cat >>confdefs.h <<_ACEOF
49342 #define HAVE__ISINFL 1
49343 _ACEOF
49344
49345 fi
49346 done
49347
49348 fi
49349 fi
49350
49351
49352
49353
49354
49355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49356 $as_echo_n "checking for atan2l declaration... " >&6; }
49357 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49358 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49359 $as_echo_n "(cached) " >&6
49360 else
49361
49362
49363 ac_ext=cpp
49364 ac_cpp='$CXXCPP $CPPFLAGS'
49365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49368
49369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49370 /* end confdefs.h. */
49371 #include <math.h>
49372 int
49373 main ()
49374 {
49375 atan2l(0, 0);
49376 ;
49377 return 0;
49378 }
49379 _ACEOF
49380 if ac_fn_cxx_try_compile "$LINENO"; then :
49381 glibcxx_cv_func_atan2l_use=yes
49382 else
49383 glibcxx_cv_func_atan2l_use=no
49384 fi
49385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49386 ac_ext=c
49387 ac_cpp='$CPP $CPPFLAGS'
49388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49391
49392
49393 fi
49394
49395 fi
49396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49397 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49398
49399 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49400 for ac_func in atan2l
49401 do :
49402 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49403 if test "x$ac_cv_func_atan2l" = x""yes; then :
49404 cat >>confdefs.h <<_ACEOF
49405 #define HAVE_ATAN2L 1
49406 _ACEOF
49407
49408 fi
49409 done
49410
49411 else
49412
49413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49414 $as_echo_n "checking for _atan2l declaration... " >&6; }
49415 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49416 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49417 $as_echo_n "(cached) " >&6
49418 else
49419
49420
49421 ac_ext=cpp
49422 ac_cpp='$CXXCPP $CPPFLAGS'
49423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49426
49427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49428 /* end confdefs.h. */
49429 #include <math.h>
49430 int
49431 main ()
49432 {
49433 _atan2l(0, 0);
49434 ;
49435 return 0;
49436 }
49437 _ACEOF
49438 if ac_fn_cxx_try_compile "$LINENO"; then :
49439 glibcxx_cv_func__atan2l_use=yes
49440 else
49441 glibcxx_cv_func__atan2l_use=no
49442 fi
49443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49444 ac_ext=c
49445 ac_cpp='$CPP $CPPFLAGS'
49446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49449
49450
49451 fi
49452
49453 fi
49454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49455 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49456
49457 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49458 for ac_func in _atan2l
49459 do :
49460 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49461 if test "x$ac_cv_func__atan2l" = x""yes; then :
49462 cat >>confdefs.h <<_ACEOF
49463 #define HAVE__ATAN2L 1
49464 _ACEOF
49465
49466 fi
49467 done
49468
49469 fi
49470 fi
49471
49472
49473
49474
49475
49476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49477 $as_echo_n "checking for expl declaration... " >&6; }
49478 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49479 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49480 $as_echo_n "(cached) " >&6
49481 else
49482
49483
49484 ac_ext=cpp
49485 ac_cpp='$CXXCPP $CPPFLAGS'
49486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49489
49490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49491 /* end confdefs.h. */
49492 #include <math.h>
49493 #ifdef HAVE_IEEEFP_H
49494 #include <ieeefp.h>
49495 #endif
49496
49497 int
49498 main ()
49499 {
49500 expl(0);
49501 ;
49502 return 0;
49503 }
49504 _ACEOF
49505 if ac_fn_cxx_try_compile "$LINENO"; then :
49506 glibcxx_cv_func_expl_use=yes
49507 else
49508 glibcxx_cv_func_expl_use=no
49509 fi
49510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49511 ac_ext=c
49512 ac_cpp='$CPP $CPPFLAGS'
49513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49516
49517
49518 fi
49519
49520 fi
49521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49522 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49523
49524 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49525 for ac_func in expl
49526 do :
49527 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49528 if test "x$ac_cv_func_expl" = x""yes; then :
49529 cat >>confdefs.h <<_ACEOF
49530 #define HAVE_EXPL 1
49531 _ACEOF
49532
49533 fi
49534 done
49535
49536 else
49537
49538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49539 $as_echo_n "checking for _expl declaration... " >&6; }
49540 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49541 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49542 $as_echo_n "(cached) " >&6
49543 else
49544
49545
49546 ac_ext=cpp
49547 ac_cpp='$CXXCPP $CPPFLAGS'
49548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49551
49552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49553 /* end confdefs.h. */
49554 #include <math.h>
49555 #ifdef HAVE_IEEEFP_H
49556 #include <ieeefp.h>
49557 #endif
49558
49559 int
49560 main ()
49561 {
49562 _expl(0);
49563 ;
49564 return 0;
49565 }
49566 _ACEOF
49567 if ac_fn_cxx_try_compile "$LINENO"; then :
49568 glibcxx_cv_func__expl_use=yes
49569 else
49570 glibcxx_cv_func__expl_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
49580 fi
49581
49582 fi
49583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49584 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49585
49586 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49587 for ac_func in _expl
49588 do :
49589 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49590 if test "x$ac_cv_func__expl" = x""yes; then :
49591 cat >>confdefs.h <<_ACEOF
49592 #define HAVE__EXPL 1
49593 _ACEOF
49594
49595 fi
49596 done
49597
49598 fi
49599 fi
49600
49601
49602
49603
49604
49605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49606 $as_echo_n "checking for fabsl declaration... " >&6; }
49607 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49608 if test "${glibcxx_cv_func_fabsl_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 fabsl(0);
49630 ;
49631 return 0;
49632 }
49633 _ACEOF
49634 if ac_fn_cxx_try_compile "$LINENO"; then :
49635 glibcxx_cv_func_fabsl_use=yes
49636 else
49637 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
49651 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49652
49653 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49654 for ac_func in fabsl
49655 do :
49656 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49657 if test "x$ac_cv_func_fabsl" = x""yes; then :
49658 cat >>confdefs.h <<_ACEOF
49659 #define HAVE_FABSL 1
49660 _ACEOF
49661
49662 fi
49663 done
49664
49665 else
49666
49667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49668 $as_echo_n "checking for _fabsl declaration... " >&6; }
49669 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49670 if test "${glibcxx_cv_func__fabsl_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 _fabsl(0);
49692 ;
49693 return 0;
49694 }
49695 _ACEOF
49696 if ac_fn_cxx_try_compile "$LINENO"; then :
49697 glibcxx_cv_func__fabsl_use=yes
49698 else
49699 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
49713 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49714
49715 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49716 for ac_func in _fabsl
49717 do :
49718 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49719 if test "x$ac_cv_func__fabsl" = x""yes; then :
49720 cat >>confdefs.h <<_ACEOF
49721 #define HAVE__FABSL 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 fmodl declaration" >&5
49735 $as_echo_n "checking for fmodl declaration... " >&6; }
49736 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49737 if test "${glibcxx_cv_func_fmodl_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 int
49752 main ()
49753 {
49754 fmodl(0, 0);
49755 ;
49756 return 0;
49757 }
49758 _ACEOF
49759 if ac_fn_cxx_try_compile "$LINENO"; then :
49760 glibcxx_cv_func_fmodl_use=yes
49761 else
49762 glibcxx_cv_func_fmodl_use=no
49763 fi
49764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49765 ac_ext=c
49766 ac_cpp='$CPP $CPPFLAGS'
49767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49770
49771
49772 fi
49773
49774 fi
49775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49776 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49777
49778 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49779 for ac_func in fmodl
49780 do :
49781 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49782 if test "x$ac_cv_func_fmodl" = x""yes; then :
49783 cat >>confdefs.h <<_ACEOF
49784 #define HAVE_FMODL 1
49785 _ACEOF
49786
49787 fi
49788 done
49789
49790 else
49791
49792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49793 $as_echo_n "checking for _fmodl declaration... " >&6; }
49794 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49795 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49796 $as_echo_n "(cached) " >&6
49797 else
49798
49799
49800 ac_ext=cpp
49801 ac_cpp='$CXXCPP $CPPFLAGS'
49802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49805
49806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49807 /* end confdefs.h. */
49808 #include <math.h>
49809 int
49810 main ()
49811 {
49812 _fmodl(0, 0);
49813 ;
49814 return 0;
49815 }
49816 _ACEOF
49817 if ac_fn_cxx_try_compile "$LINENO"; then :
49818 glibcxx_cv_func__fmodl_use=yes
49819 else
49820 glibcxx_cv_func__fmodl_use=no
49821 fi
49822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49823 ac_ext=c
49824 ac_cpp='$CPP $CPPFLAGS'
49825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49828
49829
49830 fi
49831
49832 fi
49833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49834 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49835
49836 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49837 for ac_func in _fmodl
49838 do :
49839 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49840 if test "x$ac_cv_func__fmodl" = x""yes; then :
49841 cat >>confdefs.h <<_ACEOF
49842 #define HAVE__FMODL 1
49843 _ACEOF
49844
49845 fi
49846 done
49847
49848 fi
49849 fi
49850
49851
49852
49853
49854
49855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49856 $as_echo_n "checking for frexpl declaration... " >&6; }
49857 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49858 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49859 $as_echo_n "(cached) " >&6
49860 else
49861
49862
49863 ac_ext=cpp
49864 ac_cpp='$CXXCPP $CPPFLAGS'
49865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49868
49869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49870 /* end confdefs.h. */
49871 #include <math.h>
49872 int
49873 main ()
49874 {
49875 frexpl(0, 0);
49876 ;
49877 return 0;
49878 }
49879 _ACEOF
49880 if ac_fn_cxx_try_compile "$LINENO"; then :
49881 glibcxx_cv_func_frexpl_use=yes
49882 else
49883 glibcxx_cv_func_frexpl_use=no
49884 fi
49885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49886 ac_ext=c
49887 ac_cpp='$CPP $CPPFLAGS'
49888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49891
49892
49893 fi
49894
49895 fi
49896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49897 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49898
49899 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49900 for ac_func in frexpl
49901 do :
49902 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49903 if test "x$ac_cv_func_frexpl" = x""yes; then :
49904 cat >>confdefs.h <<_ACEOF
49905 #define HAVE_FREXPL 1
49906 _ACEOF
49907
49908 fi
49909 done
49910
49911 else
49912
49913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49914 $as_echo_n "checking for _frexpl declaration... " >&6; }
49915 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49916 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49917 $as_echo_n "(cached) " >&6
49918 else
49919
49920
49921 ac_ext=cpp
49922 ac_cpp='$CXXCPP $CPPFLAGS'
49923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49926
49927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49928 /* end confdefs.h. */
49929 #include <math.h>
49930 int
49931 main ()
49932 {
49933 _frexpl(0, 0);
49934 ;
49935 return 0;
49936 }
49937 _ACEOF
49938 if ac_fn_cxx_try_compile "$LINENO"; then :
49939 glibcxx_cv_func__frexpl_use=yes
49940 else
49941 glibcxx_cv_func__frexpl_use=no
49942 fi
49943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49944 ac_ext=c
49945 ac_cpp='$CPP $CPPFLAGS'
49946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49949
49950
49951 fi
49952
49953 fi
49954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49955 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49956
49957 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49958 for ac_func in _frexpl
49959 do :
49960 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49961 if test "x$ac_cv_func__frexpl" = x""yes; then :
49962 cat >>confdefs.h <<_ACEOF
49963 #define HAVE__FREXPL 1
49964 _ACEOF
49965
49966 fi
49967 done
49968
49969 fi
49970 fi
49971
49972
49973
49974
49975
49976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49977 $as_echo_n "checking for hypotl declaration... " >&6; }
49978 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49979 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49980 $as_echo_n "(cached) " >&6
49981 else
49982
49983
49984 ac_ext=cpp
49985 ac_cpp='$CXXCPP $CPPFLAGS'
49986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49989
49990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49991 /* end confdefs.h. */
49992 #include <math.h>
49993 int
49994 main ()
49995 {
49996 hypotl(0, 0);
49997 ;
49998 return 0;
49999 }
50000 _ACEOF
50001 if ac_fn_cxx_try_compile "$LINENO"; then :
50002 glibcxx_cv_func_hypotl_use=yes
50003 else
50004 glibcxx_cv_func_hypotl_use=no
50005 fi
50006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50007 ac_ext=c
50008 ac_cpp='$CPP $CPPFLAGS'
50009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50012
50013
50014 fi
50015
50016 fi
50017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50018 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50019
50020 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50021 for ac_func in hypotl
50022 do :
50023 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50024 if test "x$ac_cv_func_hypotl" = x""yes; then :
50025 cat >>confdefs.h <<_ACEOF
50026 #define HAVE_HYPOTL 1
50027 _ACEOF
50028
50029 fi
50030 done
50031
50032 else
50033
50034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50035 $as_echo_n "checking for _hypotl declaration... " >&6; }
50036 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50037 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50038 $as_echo_n "(cached) " >&6
50039 else
50040
50041
50042 ac_ext=cpp
50043 ac_cpp='$CXXCPP $CPPFLAGS'
50044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50047
50048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50049 /* end confdefs.h. */
50050 #include <math.h>
50051 int
50052 main ()
50053 {
50054 _hypotl(0, 0);
50055 ;
50056 return 0;
50057 }
50058 _ACEOF
50059 if ac_fn_cxx_try_compile "$LINENO"; then :
50060 glibcxx_cv_func__hypotl_use=yes
50061 else
50062 glibcxx_cv_func__hypotl_use=no
50063 fi
50064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50065 ac_ext=c
50066 ac_cpp='$CPP $CPPFLAGS'
50067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50070
50071
50072 fi
50073
50074 fi
50075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50076 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50077
50078 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50079 for ac_func in _hypotl
50080 do :
50081 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50082 if test "x$ac_cv_func__hypotl" = x""yes; then :
50083 cat >>confdefs.h <<_ACEOF
50084 #define HAVE__HYPOTL 1
50085 _ACEOF
50086
50087 fi
50088 done
50089
50090 fi
50091 fi
50092
50093
50094
50095
50096
50097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50098 $as_echo_n "checking for ldexpl declaration... " >&6; }
50099 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50100 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50101 $as_echo_n "(cached) " >&6
50102 else
50103
50104
50105 ac_ext=cpp
50106 ac_cpp='$CXXCPP $CPPFLAGS'
50107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50110
50111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50112 /* end confdefs.h. */
50113 #include <math.h>
50114 int
50115 main ()
50116 {
50117 ldexpl(0, 0);
50118 ;
50119 return 0;
50120 }
50121 _ACEOF
50122 if ac_fn_cxx_try_compile "$LINENO"; then :
50123 glibcxx_cv_func_ldexpl_use=yes
50124 else
50125 glibcxx_cv_func_ldexpl_use=no
50126 fi
50127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50128 ac_ext=c
50129 ac_cpp='$CPP $CPPFLAGS'
50130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50133
50134
50135 fi
50136
50137 fi
50138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50139 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50140
50141 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50142 for ac_func in ldexpl
50143 do :
50144 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50145 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50146 cat >>confdefs.h <<_ACEOF
50147 #define HAVE_LDEXPL 1
50148 _ACEOF
50149
50150 fi
50151 done
50152
50153 else
50154
50155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50156 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50157 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50158 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50159 $as_echo_n "(cached) " >&6
50160 else
50161
50162
50163 ac_ext=cpp
50164 ac_cpp='$CXXCPP $CPPFLAGS'
50165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50168
50169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50170 /* end confdefs.h. */
50171 #include <math.h>
50172 int
50173 main ()
50174 {
50175 _ldexpl(0, 0);
50176 ;
50177 return 0;
50178 }
50179 _ACEOF
50180 if ac_fn_cxx_try_compile "$LINENO"; then :
50181 glibcxx_cv_func__ldexpl_use=yes
50182 else
50183 glibcxx_cv_func__ldexpl_use=no
50184 fi
50185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50186 ac_ext=c
50187 ac_cpp='$CPP $CPPFLAGS'
50188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50191
50192
50193 fi
50194
50195 fi
50196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50197 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50198
50199 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50200 for ac_func in _ldexpl
50201 do :
50202 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50203 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50204 cat >>confdefs.h <<_ACEOF
50205 #define HAVE__LDEXPL 1
50206 _ACEOF
50207
50208 fi
50209 done
50210
50211 fi
50212 fi
50213
50214
50215
50216
50217
50218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50219 $as_echo_n "checking for logl declaration... " >&6; }
50220 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50221 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50222 $as_echo_n "(cached) " >&6
50223 else
50224
50225
50226 ac_ext=cpp
50227 ac_cpp='$CXXCPP $CPPFLAGS'
50228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50231
50232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50233 /* end confdefs.h. */
50234 #include <math.h>
50235 #ifdef HAVE_IEEEFP_H
50236 #include <ieeefp.h>
50237 #endif
50238
50239 int
50240 main ()
50241 {
50242 logl(0);
50243 ;
50244 return 0;
50245 }
50246 _ACEOF
50247 if ac_fn_cxx_try_compile "$LINENO"; then :
50248 glibcxx_cv_func_logl_use=yes
50249 else
50250 glibcxx_cv_func_logl_use=no
50251 fi
50252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50253 ac_ext=c
50254 ac_cpp='$CPP $CPPFLAGS'
50255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50258
50259
50260 fi
50261
50262 fi
50263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50264 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50265
50266 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50267 for ac_func in logl
50268 do :
50269 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50270 if test "x$ac_cv_func_logl" = x""yes; then :
50271 cat >>confdefs.h <<_ACEOF
50272 #define HAVE_LOGL 1
50273 _ACEOF
50274
50275 fi
50276 done
50277
50278 else
50279
50280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50281 $as_echo_n "checking for _logl declaration... " >&6; }
50282 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50283 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50284 $as_echo_n "(cached) " >&6
50285 else
50286
50287
50288 ac_ext=cpp
50289 ac_cpp='$CXXCPP $CPPFLAGS'
50290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50293
50294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50295 /* end confdefs.h. */
50296 #include <math.h>
50297 #ifdef HAVE_IEEEFP_H
50298 #include <ieeefp.h>
50299 #endif
50300
50301 int
50302 main ()
50303 {
50304 _logl(0);
50305 ;
50306 return 0;
50307 }
50308 _ACEOF
50309 if ac_fn_cxx_try_compile "$LINENO"; then :
50310 glibcxx_cv_func__logl_use=yes
50311 else
50312 glibcxx_cv_func__logl_use=no
50313 fi
50314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50315 ac_ext=c
50316 ac_cpp='$CPP $CPPFLAGS'
50317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50320
50321
50322 fi
50323
50324 fi
50325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50326 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50327
50328 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50329 for ac_func in _logl
50330 do :
50331 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50332 if test "x$ac_cv_func__logl" = x""yes; then :
50333 cat >>confdefs.h <<_ACEOF
50334 #define HAVE__LOGL 1
50335 _ACEOF
50336
50337 fi
50338 done
50339
50340 fi
50341 fi
50342
50343
50344
50345
50346
50347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50348 $as_echo_n "checking for log10l declaration... " >&6; }
50349 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50350 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50351 $as_echo_n "(cached) " >&6
50352 else
50353
50354
50355 ac_ext=cpp
50356 ac_cpp='$CXXCPP $CPPFLAGS'
50357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50360
50361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50362 /* end confdefs.h. */
50363 #include <math.h>
50364 #ifdef HAVE_IEEEFP_H
50365 #include <ieeefp.h>
50366 #endif
50367
50368 int
50369 main ()
50370 {
50371 log10l(0);
50372 ;
50373 return 0;
50374 }
50375 _ACEOF
50376 if ac_fn_cxx_try_compile "$LINENO"; then :
50377 glibcxx_cv_func_log10l_use=yes
50378 else
50379 glibcxx_cv_func_log10l_use=no
50380 fi
50381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50382 ac_ext=c
50383 ac_cpp='$CPP $CPPFLAGS'
50384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50387
50388
50389 fi
50390
50391 fi
50392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50393 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50394
50395 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50396 for ac_func in log10l
50397 do :
50398 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50399 if test "x$ac_cv_func_log10l" = x""yes; then :
50400 cat >>confdefs.h <<_ACEOF
50401 #define HAVE_LOG10L 1
50402 _ACEOF
50403
50404 fi
50405 done
50406
50407 else
50408
50409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50410 $as_echo_n "checking for _log10l declaration... " >&6; }
50411 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50412 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50413 $as_echo_n "(cached) " >&6
50414 else
50415
50416
50417 ac_ext=cpp
50418 ac_cpp='$CXXCPP $CPPFLAGS'
50419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50422
50423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50424 /* end confdefs.h. */
50425 #include <math.h>
50426 #ifdef HAVE_IEEEFP_H
50427 #include <ieeefp.h>
50428 #endif
50429
50430 int
50431 main ()
50432 {
50433 _log10l(0);
50434 ;
50435 return 0;
50436 }
50437 _ACEOF
50438 if ac_fn_cxx_try_compile "$LINENO"; then :
50439 glibcxx_cv_func__log10l_use=yes
50440 else
50441 glibcxx_cv_func__log10l_use=no
50442 fi
50443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50444 ac_ext=c
50445 ac_cpp='$CPP $CPPFLAGS'
50446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50449
50450
50451 fi
50452
50453 fi
50454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50455 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50456
50457 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50458 for ac_func in _log10l
50459 do :
50460 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50461 if test "x$ac_cv_func__log10l" = x""yes; then :
50462 cat >>confdefs.h <<_ACEOF
50463 #define HAVE__LOG10L 1
50464 _ACEOF
50465
50466 fi
50467 done
50468
50469 fi
50470 fi
50471
50472
50473
50474
50475
50476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50477 $as_echo_n "checking for modfl declaration... " >&6; }
50478 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50479 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50480 $as_echo_n "(cached) " >&6
50481 else
50482
50483
50484 ac_ext=cpp
50485 ac_cpp='$CXXCPP $CPPFLAGS'
50486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50489
50490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50491 /* end confdefs.h. */
50492 #include <math.h>
50493 int
50494 main ()
50495 {
50496 modfl(0, 0);
50497 ;
50498 return 0;
50499 }
50500 _ACEOF
50501 if ac_fn_cxx_try_compile "$LINENO"; then :
50502 glibcxx_cv_func_modfl_use=yes
50503 else
50504 glibcxx_cv_func_modfl_use=no
50505 fi
50506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50507 ac_ext=c
50508 ac_cpp='$CPP $CPPFLAGS'
50509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50512
50513
50514 fi
50515
50516 fi
50517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50518 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50519
50520 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50521 for ac_func in modfl
50522 do :
50523 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50524 if test "x$ac_cv_func_modfl" = x""yes; then :
50525 cat >>confdefs.h <<_ACEOF
50526 #define HAVE_MODFL 1
50527 _ACEOF
50528
50529 fi
50530 done
50531
50532 else
50533
50534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50535 $as_echo_n "checking for _modfl declaration... " >&6; }
50536 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50537 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50538 $as_echo_n "(cached) " >&6
50539 else
50540
50541
50542 ac_ext=cpp
50543 ac_cpp='$CXXCPP $CPPFLAGS'
50544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50547
50548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50549 /* end confdefs.h. */
50550 #include <math.h>
50551 int
50552 main ()
50553 {
50554 _modfl(0, 0);
50555 ;
50556 return 0;
50557 }
50558 _ACEOF
50559 if ac_fn_cxx_try_compile "$LINENO"; then :
50560 glibcxx_cv_func__modfl_use=yes
50561 else
50562 glibcxx_cv_func__modfl_use=no
50563 fi
50564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50565 ac_ext=c
50566 ac_cpp='$CPP $CPPFLAGS'
50567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50570
50571
50572 fi
50573
50574 fi
50575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50576 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50577
50578 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50579 for ac_func in _modfl
50580 do :
50581 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50582 if test "x$ac_cv_func__modfl" = x""yes; then :
50583 cat >>confdefs.h <<_ACEOF
50584 #define HAVE__MODFL 1
50585 _ACEOF
50586
50587 fi
50588 done
50589
50590 fi
50591 fi
50592
50593
50594
50595
50596
50597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50598 $as_echo_n "checking for powl declaration... " >&6; }
50599 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50600 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50601 $as_echo_n "(cached) " >&6
50602 else
50603
50604
50605 ac_ext=cpp
50606 ac_cpp='$CXXCPP $CPPFLAGS'
50607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50610
50611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50612 /* end confdefs.h. */
50613 #include <math.h>
50614 int
50615 main ()
50616 {
50617 powl(0, 0);
50618 ;
50619 return 0;
50620 }
50621 _ACEOF
50622 if ac_fn_cxx_try_compile "$LINENO"; then :
50623 glibcxx_cv_func_powl_use=yes
50624 else
50625 glibcxx_cv_func_powl_use=no
50626 fi
50627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50628 ac_ext=c
50629 ac_cpp='$CPP $CPPFLAGS'
50630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50633
50634
50635 fi
50636
50637 fi
50638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50639 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50640
50641 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50642 for ac_func in powl
50643 do :
50644 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50645 if test "x$ac_cv_func_powl" = x""yes; then :
50646 cat >>confdefs.h <<_ACEOF
50647 #define HAVE_POWL 1
50648 _ACEOF
50649
50650 fi
50651 done
50652
50653 else
50654
50655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50656 $as_echo_n "checking for _powl declaration... " >&6; }
50657 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50658 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50659 $as_echo_n "(cached) " >&6
50660 else
50661
50662
50663 ac_ext=cpp
50664 ac_cpp='$CXXCPP $CPPFLAGS'
50665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50668
50669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50670 /* end confdefs.h. */
50671 #include <math.h>
50672 int
50673 main ()
50674 {
50675 _powl(0, 0);
50676 ;
50677 return 0;
50678 }
50679 _ACEOF
50680 if ac_fn_cxx_try_compile "$LINENO"; then :
50681 glibcxx_cv_func__powl_use=yes
50682 else
50683 glibcxx_cv_func__powl_use=no
50684 fi
50685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50686 ac_ext=c
50687 ac_cpp='$CPP $CPPFLAGS'
50688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50691
50692
50693 fi
50694
50695 fi
50696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50697 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50698
50699 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50700 for ac_func in _powl
50701 do :
50702 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50703 if test "x$ac_cv_func__powl" = x""yes; then :
50704 cat >>confdefs.h <<_ACEOF
50705 #define HAVE__POWL 1
50706 _ACEOF
50707
50708 fi
50709 done
50710
50711 fi
50712 fi
50713
50714
50715
50716
50717
50718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50719 $as_echo_n "checking for sqrtl declaration... " >&6; }
50720 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50721 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50722 $as_echo_n "(cached) " >&6
50723 else
50724
50725
50726 ac_ext=cpp
50727 ac_cpp='$CXXCPP $CPPFLAGS'
50728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50731
50732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50733 /* end confdefs.h. */
50734 #include <math.h>
50735 #ifdef HAVE_IEEEFP_H
50736 #include <ieeefp.h>
50737 #endif
50738
50739 int
50740 main ()
50741 {
50742 sqrtl(0);
50743 ;
50744 return 0;
50745 }
50746 _ACEOF
50747 if ac_fn_cxx_try_compile "$LINENO"; then :
50748 glibcxx_cv_func_sqrtl_use=yes
50749 else
50750 glibcxx_cv_func_sqrtl_use=no
50751 fi
50752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50753 ac_ext=c
50754 ac_cpp='$CPP $CPPFLAGS'
50755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50758
50759
50760 fi
50761
50762 fi
50763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50764 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50765
50766 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50767 for ac_func in sqrtl
50768 do :
50769 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50770 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50771 cat >>confdefs.h <<_ACEOF
50772 #define HAVE_SQRTL 1
50773 _ACEOF
50774
50775 fi
50776 done
50777
50778 else
50779
50780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50781 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50782 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50783 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50784 $as_echo_n "(cached) " >&6
50785 else
50786
50787
50788 ac_ext=cpp
50789 ac_cpp='$CXXCPP $CPPFLAGS'
50790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50793
50794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50795 /* end confdefs.h. */
50796 #include <math.h>
50797 #ifdef HAVE_IEEEFP_H
50798 #include <ieeefp.h>
50799 #endif
50800
50801 int
50802 main ()
50803 {
50804 _sqrtl(0);
50805 ;
50806 return 0;
50807 }
50808 _ACEOF
50809 if ac_fn_cxx_try_compile "$LINENO"; then :
50810 glibcxx_cv_func__sqrtl_use=yes
50811 else
50812 glibcxx_cv_func__sqrtl_use=no
50813 fi
50814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50815 ac_ext=c
50816 ac_cpp='$CPP $CPPFLAGS'
50817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50820
50821
50822 fi
50823
50824 fi
50825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50826 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50827
50828 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50829 for ac_func in _sqrtl
50830 do :
50831 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50832 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50833 cat >>confdefs.h <<_ACEOF
50834 #define HAVE__SQRTL 1
50835 _ACEOF
50836
50837 fi
50838 done
50839
50840 fi
50841 fi
50842
50843
50844
50845
50846
50847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50848 $as_echo_n "checking for sincosl declaration... " >&6; }
50849 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50850 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50851 $as_echo_n "(cached) " >&6
50852 else
50853
50854
50855 ac_ext=cpp
50856 ac_cpp='$CXXCPP $CPPFLAGS'
50857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50860
50861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50862 /* end confdefs.h. */
50863 #include <math.h>
50864 int
50865 main ()
50866 {
50867 sincosl(0, 0, 0);
50868 ;
50869 return 0;
50870 }
50871 _ACEOF
50872 if ac_fn_cxx_try_compile "$LINENO"; then :
50873 glibcxx_cv_func_sincosl_use=yes
50874 else
50875 glibcxx_cv_func_sincosl_use=no
50876 fi
50877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50878 ac_ext=c
50879 ac_cpp='$CPP $CPPFLAGS'
50880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50883
50884
50885 fi
50886
50887 fi
50888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50889 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50890
50891 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50892 for ac_func in sincosl
50893 do :
50894 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50895 if test "x$ac_cv_func_sincosl" = x""yes; then :
50896 cat >>confdefs.h <<_ACEOF
50897 #define HAVE_SINCOSL 1
50898 _ACEOF
50899
50900 fi
50901 done
50902
50903 else
50904
50905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50906 $as_echo_n "checking for _sincosl declaration... " >&6; }
50907 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50908 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50909 $as_echo_n "(cached) " >&6
50910 else
50911
50912
50913 ac_ext=cpp
50914 ac_cpp='$CXXCPP $CPPFLAGS'
50915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50918
50919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50920 /* end confdefs.h. */
50921 #include <math.h>
50922 int
50923 main ()
50924 {
50925 _sincosl(0, 0, 0);
50926 ;
50927 return 0;
50928 }
50929 _ACEOF
50930 if ac_fn_cxx_try_compile "$LINENO"; then :
50931 glibcxx_cv_func__sincosl_use=yes
50932 else
50933 glibcxx_cv_func__sincosl_use=no
50934 fi
50935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50936 ac_ext=c
50937 ac_cpp='$CPP $CPPFLAGS'
50938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50941
50942
50943 fi
50944
50945 fi
50946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50947 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50948
50949 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50950 for ac_func in _sincosl
50951 do :
50952 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50953 if test "x$ac_cv_func__sincosl" = x""yes; then :
50954 cat >>confdefs.h <<_ACEOF
50955 #define HAVE__SINCOSL 1
50956 _ACEOF
50957
50958 fi
50959 done
50960
50961 fi
50962 fi
50963
50964
50965
50966
50967
50968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50969 $as_echo_n "checking for finitel declaration... " >&6; }
50970 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50971 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50972 $as_echo_n "(cached) " >&6
50973 else
50974
50975
50976 ac_ext=cpp
50977 ac_cpp='$CXXCPP $CPPFLAGS'
50978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50981
50982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50983 /* end confdefs.h. */
50984 #include <math.h>
50985 #ifdef HAVE_IEEEFP_H
50986 #include <ieeefp.h>
50987 #endif
50988
50989 int
50990 main ()
50991 {
50992 finitel(0);
50993 ;
50994 return 0;
50995 }
50996 _ACEOF
50997 if ac_fn_cxx_try_compile "$LINENO"; then :
50998 glibcxx_cv_func_finitel_use=yes
50999 else
51000 glibcxx_cv_func_finitel_use=no
51001 fi
51002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51003 ac_ext=c
51004 ac_cpp='$CPP $CPPFLAGS'
51005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51008
51009
51010 fi
51011
51012 fi
51013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51014 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51015
51016 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51017 for ac_func in finitel
51018 do :
51019 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51020 if test "x$ac_cv_func_finitel" = x""yes; then :
51021 cat >>confdefs.h <<_ACEOF
51022 #define HAVE_FINITEL 1
51023 _ACEOF
51024
51025 fi
51026 done
51027
51028 else
51029
51030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51031 $as_echo_n "checking for _finitel declaration... " >&6; }
51032 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51033 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51034 $as_echo_n "(cached) " >&6
51035 else
51036
51037
51038 ac_ext=cpp
51039 ac_cpp='$CXXCPP $CPPFLAGS'
51040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51043
51044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51045 /* end confdefs.h. */
51046 #include <math.h>
51047 #ifdef HAVE_IEEEFP_H
51048 #include <ieeefp.h>
51049 #endif
51050
51051 int
51052 main ()
51053 {
51054 _finitel(0);
51055 ;
51056 return 0;
51057 }
51058 _ACEOF
51059 if ac_fn_cxx_try_compile "$LINENO"; then :
51060 glibcxx_cv_func__finitel_use=yes
51061 else
51062 glibcxx_cv_func__finitel_use=no
51063 fi
51064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51065 ac_ext=c
51066 ac_cpp='$CPP $CPPFLAGS'
51067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51070
51071
51072 fi
51073
51074 fi
51075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51076 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51077
51078 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51079 for ac_func in _finitel
51080 do :
51081 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51082 if test "x$ac_cv_func__finitel" = x""yes; then :
51083 cat >>confdefs.h <<_ACEOF
51084 #define HAVE__FINITEL 1
51085 _ACEOF
51086
51087 fi
51088 done
51089
51090 fi
51091 fi
51092
51093
51094
51095
51096 LIBS="$ac_save_LIBS"
51097 CXXFLAGS="$ac_save_CXXFLAGS"
51098
51099
51100 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51101 ac_save_CXXFLAGS="$CXXFLAGS"
51102 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51103
51104
51105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51106 $as_echo_n "checking for strtold declaration... " >&6; }
51107 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51108 if test "${glibcxx_cv_func_strtold_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 <stdlib.h>
51122 int
51123 main ()
51124 {
51125 strtold(0, 0);
51126 ;
51127 return 0;
51128 }
51129 _ACEOF
51130 if ac_fn_cxx_try_compile "$LINENO"; then :
51131 glibcxx_cv_func_strtold_use=yes
51132 else
51133 glibcxx_cv_func_strtold_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_strtold_use" >&5
51147 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51148 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51149 for ac_func in strtold
51150 do :
51151 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51152 if test "x$ac_cv_func_strtold" = x""yes; then :
51153 cat >>confdefs.h <<_ACEOF
51154 #define HAVE_STRTOLD 1
51155 _ACEOF
51156
51157 fi
51158 done
51159
51160 fi
51161
51162
51163
51164
51165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51166 $as_echo_n "checking for strtof declaration... " >&6; }
51167 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51168 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51169 $as_echo_n "(cached) " >&6
51170 else
51171
51172
51173 ac_ext=cpp
51174 ac_cpp='$CXXCPP $CPPFLAGS'
51175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51178
51179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51180 /* end confdefs.h. */
51181 #include <stdlib.h>
51182 int
51183 main ()
51184 {
51185 strtof(0, 0);
51186 ;
51187 return 0;
51188 }
51189 _ACEOF
51190 if ac_fn_cxx_try_compile "$LINENO"; then :
51191 glibcxx_cv_func_strtof_use=yes
51192 else
51193 glibcxx_cv_func_strtof_use=no
51194 fi
51195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51196 ac_ext=c
51197 ac_cpp='$CPP $CPPFLAGS'
51198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51201
51202
51203 fi
51204
51205 fi
51206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51207 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51208 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51209 for ac_func in strtof
51210 do :
51211 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51212 if test "x$ac_cv_func_strtof" = x""yes; then :
51213 cat >>confdefs.h <<_ACEOF
51214 #define HAVE_STRTOF 1
51215 _ACEOF
51216
51217 fi
51218 done
51219
51220 fi
51221
51222
51223
51224
51225 CXXFLAGS="$ac_save_CXXFLAGS"
51226
51227 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51228
51229
51230
51231 # Check whether --enable-tls was given.
51232 if test "${enable_tls+set}" = set; then :
51233 enableval=$enable_tls;
51234 case "$enableval" in
51235 yes|no) ;;
51236 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51237 esac
51238
51239 else
51240 enable_tls=yes
51241 fi
51242
51243
51244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51245 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51246 if test "${gcc_cv_have_tls+set}" = set; then :
51247 $as_echo_n "(cached) " >&6
51248 else
51249
51250 if test "$cross_compiling" = yes; then :
51251 if test x$gcc_no_link = xyes; then
51252 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51253 fi
51254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51255 /* end confdefs.h. */
51256 __thread int a; int b; int main() { return a = b; }
51257 _ACEOF
51258 if ac_fn_c_try_link "$LINENO"; then :
51259 chktls_save_LDFLAGS="$LDFLAGS"
51260 case $host in
51261 *-*-linux*)
51262 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51263 ;;
51264 esac
51265 chktls_save_CFLAGS="$CFLAGS"
51266 CFLAGS="-fPIC $CFLAGS"
51267 if test x$gcc_no_link = xyes; then
51268 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51269 fi
51270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51271 /* end confdefs.h. */
51272 int f() { return 0; }
51273 _ACEOF
51274 if ac_fn_c_try_link "$LINENO"; then :
51275 if test x$gcc_no_link = xyes; then
51276 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51277 fi
51278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51279 /* end confdefs.h. */
51280 __thread int a; int b; int f() { return a = b; }
51281 _ACEOF
51282 if ac_fn_c_try_link "$LINENO"; then :
51283 gcc_cv_have_tls=yes
51284 else
51285 gcc_cv_have_tls=no
51286 fi
51287 rm -f core conftest.err conftest.$ac_objext \
51288 conftest$ac_exeext conftest.$ac_ext
51289 else
51290 gcc_cv_have_tls=yes
51291 fi
51292 rm -f core conftest.err conftest.$ac_objext \
51293 conftest$ac_exeext conftest.$ac_ext
51294 CFLAGS="$chktls_save_CFLAGS"
51295 LDFLAGS="$chktls_save_LDFLAGS"
51296 else
51297 gcc_cv_have_tls=no
51298 fi
51299 rm -f core conftest.err conftest.$ac_objext \
51300 conftest$ac_exeext conftest.$ac_ext
51301
51302
51303 else
51304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51305 /* end confdefs.h. */
51306 __thread int a; int b; int main() { return a = b; }
51307 _ACEOF
51308 if ac_fn_c_try_run "$LINENO"; then :
51309 chktls_save_LDFLAGS="$LDFLAGS"
51310 LDFLAGS="-static $LDFLAGS"
51311 if test x$gcc_no_link = xyes; then
51312 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51313 fi
51314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51315 /* end confdefs.h. */
51316 int main() { return 0; }
51317 _ACEOF
51318 if ac_fn_c_try_link "$LINENO"; then :
51319 if test "$cross_compiling" = yes; then :
51320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51321 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51322 as_fn_error "cannot run test program while cross compiling
51323 See \`config.log' for more details." "$LINENO" 5; }
51324 else
51325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51326 /* end confdefs.h. */
51327 __thread int a; int b; int main() { return a = b; }
51328 _ACEOF
51329 if ac_fn_c_try_run "$LINENO"; then :
51330 gcc_cv_have_tls=yes
51331 else
51332 gcc_cv_have_tls=no
51333 fi
51334 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51335 conftest.$ac_objext conftest.beam conftest.$ac_ext
51336 fi
51337
51338 else
51339 gcc_cv_have_tls=yes
51340 fi
51341 rm -f core conftest.err conftest.$ac_objext \
51342 conftest$ac_exeext conftest.$ac_ext
51343 LDFLAGS="$chktls_save_LDFLAGS"
51344 if test $gcc_cv_have_tls = yes; then
51345 chktls_save_CFLAGS="$CFLAGS"
51346 thread_CFLAGS=failed
51347 for flag in '' '-pthread' '-lpthread'; do
51348 CFLAGS="$flag $chktls_save_CFLAGS"
51349 if test x$gcc_no_link = xyes; then
51350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51351 fi
51352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51353 /* end confdefs.h. */
51354 #include <pthread.h>
51355 void *g(void *d) { return NULL; }
51356 int
51357 main ()
51358 {
51359 pthread_t t; pthread_create(&t,NULL,g,NULL);
51360 ;
51361 return 0;
51362 }
51363 _ACEOF
51364 if ac_fn_c_try_link "$LINENO"; then :
51365 thread_CFLAGS="$flag"
51366 fi
51367 rm -f core conftest.err conftest.$ac_objext \
51368 conftest$ac_exeext conftest.$ac_ext
51369 if test "X$thread_CFLAGS" != Xfailed; then
51370 break
51371 fi
51372 done
51373 CFLAGS="$chktls_save_CFLAGS"
51374 if test "X$thread_CFLAGS" != Xfailed; then
51375 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51376 if test "$cross_compiling" = yes; then :
51377 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51378 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51379 as_fn_error "cannot run test program while cross compiling
51380 See \`config.log' for more details." "$LINENO" 5; }
51381 else
51382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51383 /* end confdefs.h. */
51384 #include <pthread.h>
51385 __thread int a;
51386 static int *volatile a_in_other_thread;
51387 static void *
51388 thread_func (void *arg)
51389 {
51390 a_in_other_thread = &a;
51391 return (void *)0;
51392 }
51393 int
51394 main ()
51395 {
51396 pthread_t thread;
51397 void *thread_retval;
51398 int *volatile a_in_main_thread;
51399 a_in_main_thread = &a;
51400 if (pthread_create (&thread, (pthread_attr_t *)0,
51401 thread_func, (void *)0))
51402 return 0;
51403 if (pthread_join (thread, &thread_retval))
51404 return 0;
51405 return (a_in_other_thread == a_in_main_thread);
51406 ;
51407 return 0;
51408 }
51409 _ACEOF
51410 if ac_fn_c_try_run "$LINENO"; then :
51411 gcc_cv_have_tls=yes
51412 else
51413 gcc_cv_have_tls=no
51414 fi
51415 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51416 conftest.$ac_objext conftest.beam conftest.$ac_ext
51417 fi
51418
51419 CFLAGS="$chktls_save_CFLAGS"
51420 fi
51421 fi
51422 else
51423 gcc_cv_have_tls=no
51424 fi
51425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51426 conftest.$ac_objext conftest.beam conftest.$ac_ext
51427 fi
51428
51429 fi
51430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51431 $as_echo "$gcc_cv_have_tls" >&6; }
51432 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51433
51434 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51435
51436 fi
51437
51438
51439
51440
51441
51442 am_save_CPPFLAGS="$CPPFLAGS"
51443
51444 for element in $INCICONV; do
51445 haveit=
51446 for x in $CPPFLAGS; do
51447
51448 acl_save_prefix="$prefix"
51449 prefix="$acl_final_prefix"
51450 acl_save_exec_prefix="$exec_prefix"
51451 exec_prefix="$acl_final_exec_prefix"
51452 eval x=\"$x\"
51453 exec_prefix="$acl_save_exec_prefix"
51454 prefix="$acl_save_prefix"
51455
51456 if test "X$x" = "X$element"; then
51457 haveit=yes
51458 break
51459 fi
51460 done
51461 if test -z "$haveit"; then
51462 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51463 fi
51464 done
51465
51466
51467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51468 $as_echo_n "checking for iconv... " >&6; }
51469 if test "${am_cv_func_iconv+set}" = set; then :
51470 $as_echo_n "(cached) " >&6
51471 else
51472
51473 am_cv_func_iconv="no, consider installing GNU libiconv"
51474 am_cv_lib_iconv=no
51475 if test x$gcc_no_link = xyes; then
51476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51477 fi
51478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51479 /* end confdefs.h. */
51480 #include <stdlib.h>
51481 #include <iconv.h>
51482 int
51483 main ()
51484 {
51485 iconv_t cd = iconv_open("","");
51486 iconv(cd,NULL,NULL,NULL,NULL);
51487 iconv_close(cd);
51488 ;
51489 return 0;
51490 }
51491 _ACEOF
51492 if ac_fn_c_try_link "$LINENO"; then :
51493 am_cv_func_iconv=yes
51494 fi
51495 rm -f core conftest.err conftest.$ac_objext \
51496 conftest$ac_exeext conftest.$ac_ext
51497 if test "$am_cv_func_iconv" != yes; then
51498 am_save_LIBS="$LIBS"
51499 LIBS="$LIBS $LIBICONV"
51500 if test x$gcc_no_link = xyes; then
51501 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51502 fi
51503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51504 /* end confdefs.h. */
51505 #include <stdlib.h>
51506 #include <iconv.h>
51507 int
51508 main ()
51509 {
51510 iconv_t cd = iconv_open("","");
51511 iconv(cd,NULL,NULL,NULL,NULL);
51512 iconv_close(cd);
51513 ;
51514 return 0;
51515 }
51516 _ACEOF
51517 if ac_fn_c_try_link "$LINENO"; then :
51518 am_cv_lib_iconv=yes
51519 am_cv_func_iconv=yes
51520 fi
51521 rm -f core conftest.err conftest.$ac_objext \
51522 conftest$ac_exeext conftest.$ac_ext
51523 LIBS="$am_save_LIBS"
51524 fi
51525
51526 fi
51527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51528 $as_echo "$am_cv_func_iconv" >&6; }
51529 if test "$am_cv_func_iconv" = yes; then
51530
51531 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51532
51533 fi
51534 if test "$am_cv_lib_iconv" = yes; then
51535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51536 $as_echo_n "checking how to link with libiconv... " >&6; }
51537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51538 $as_echo "$LIBICONV" >&6; }
51539 else
51540 CPPFLAGS="$am_save_CPPFLAGS"
51541 LIBICONV=
51542 LTLIBICONV=
51543 fi
51544
51545
51546
51547 if test "$am_cv_func_iconv" = yes; then
51548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51549 $as_echo_n "checking for iconv declaration... " >&6; }
51550 if test "${am_cv_proto_iconv+set}" = set; then :
51551 $as_echo_n "(cached) " >&6
51552 else
51553
51554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51555 /* end confdefs.h. */
51556
51557 #include <stdlib.h>
51558 #include <iconv.h>
51559 extern
51560 #ifdef __cplusplus
51561 "C"
51562 #endif
51563 #if defined(__STDC__) || defined(__cplusplus)
51564 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51565 #else
51566 size_t iconv();
51567 #endif
51568
51569 int
51570 main ()
51571 {
51572
51573 ;
51574 return 0;
51575 }
51576 _ACEOF
51577 if ac_fn_c_try_compile "$LINENO"; then :
51578 am_cv_proto_iconv_arg1=""
51579 else
51580 am_cv_proto_iconv_arg1="const"
51581 fi
51582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51583 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);"
51584 fi
51585
51586 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51588 }$am_cv_proto_iconv" >&5
51589 $as_echo "${ac_t:-
51590 }$am_cv_proto_iconv" >&6; }
51591
51592 cat >>confdefs.h <<_ACEOF
51593 #define ICONV_CONST $am_cv_proto_iconv_arg1
51594 _ACEOF
51595
51596 fi
51597
51598 ;;
51599 *-mingw32*)
51600
51601 # If we're not using GNU ld, then there's no point in even trying these
51602 # tests. Check for that first. We should have already tested for gld
51603 # by now (in libtool), but require it now just to be safe...
51604 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51605 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51606
51607
51608
51609 # The name set by libtool depends on the version of libtool. Shame on us
51610 # for depending on an impl detail, but c'est la vie. Older versions used
51611 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51612 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51613 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51614 # set (hence we're using an older libtool), then set it.
51615 if test x${with_gnu_ld+set} != xset; then
51616 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51617 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51618 with_gnu_ld=no
51619 else
51620 with_gnu_ld=$ac_cv_prog_gnu_ld
51621 fi
51622 fi
51623
51624 # Start by getting the version number. I think the libtool test already
51625 # does some of this, but throws away the result.
51626 glibcxx_ld_is_gold=no
51627 if test x"$with_gnu_ld" = x"yes"; then
51628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51629 $as_echo_n "checking for ld version... " >&6; }
51630
51631 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51632 glibcxx_ld_is_gold=yes
51633 fi
51634 ldver=`$LD --version 2>/dev/null |
51635 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'`
51636
51637 glibcxx_gnu_ld_version=`echo $ldver | \
51638 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51640 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51641 fi
51642
51643 # Set --gc-sections.
51644 glibcxx_have_gc_sections=no
51645 if test "$glibcxx_ld_is_gold" = "yes"; then
51646 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51647 glibcxx_have_gc_sections=yes
51648 fi
51649 else
51650 glibcxx_gcsections_min_ld=21602
51651 if test x"$with_gnu_ld" = x"yes" &&
51652 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51653 glibcxx_have_gc_sections=yes
51654 fi
51655 fi
51656 if test "$glibcxx_have_gc_sections" = "yes"; then
51657 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51658 # NB: This flag only works reliably after 2.16.1. Configure tests
51659 # for this are difficult, so hard wire a value that should work.
51660
51661 ac_test_CFLAGS="${CFLAGS+set}"
51662 ac_save_CFLAGS="$CFLAGS"
51663 CFLAGS='-Wl,--gc-sections'
51664
51665 # Check for -Wl,--gc-sections
51666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51667 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51668 if test x$gcc_no_link = xyes; then
51669 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51670 fi
51671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51672 /* end confdefs.h. */
51673 int one(void) { return 1; }
51674 int two(void) { return 2; }
51675
51676 int
51677 main ()
51678 {
51679 two();
51680 ;
51681 return 0;
51682 }
51683 _ACEOF
51684 if ac_fn_c_try_link "$LINENO"; then :
51685 ac_gcsections=yes
51686 else
51687 ac_gcsections=no
51688 fi
51689 rm -f core conftest.err conftest.$ac_objext \
51690 conftest$ac_exeext conftest.$ac_ext
51691 if test "$ac_gcsections" = "yes"; then
51692 rm -f conftest.c
51693 touch conftest.c
51694 if $CC -c conftest.c; then
51695 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51696 grep "Warning: gc-sections option ignored" > /dev/null; then
51697 ac_gcsections=no
51698 fi
51699 fi
51700 rm -f conftest.c conftest.o conftest
51701 fi
51702 if test "$ac_gcsections" = "yes"; then
51703 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51704 fi
51705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51706 $as_echo "$ac_gcsections" >&6; }
51707
51708 if test "$ac_test_CFLAGS" = set; then
51709 CFLAGS="$ac_save_CFLAGS"
51710 else
51711 # this is the suspicious part
51712 CFLAGS=''
51713 fi
51714 fi
51715
51716 # Set -z,relro.
51717 # Note this is only for shared objects.
51718 ac_ld_relro=no
51719 if test x"$with_gnu_ld" = x"yes"; then
51720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51721 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51722 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51723 if test -n "$cxx_z_relo"; then
51724 OPT_LDFLAGS="-Wl,-z,relro"
51725 ac_ld_relro=yes
51726 fi
51727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51728 $as_echo "$ac_ld_relro" >&6; }
51729 fi
51730
51731 # Set linker optimization flags.
51732 if test x"$with_gnu_ld" = x"yes"; then
51733 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51734 fi
51735
51736
51737
51738
51739
51740 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51741 ac_save_CXXFLAGS="$CXXFLAGS"
51742 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51743
51744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51745 $as_echo_n "checking for sin in -lm... " >&6; }
51746 if test "${ac_cv_lib_m_sin+set}" = set; then :
51747 $as_echo_n "(cached) " >&6
51748 else
51749 ac_check_lib_save_LIBS=$LIBS
51750 LIBS="-lm $LIBS"
51751 if test x$gcc_no_link = xyes; then
51752 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51753 fi
51754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51755 /* end confdefs.h. */
51756
51757 /* Override any GCC internal prototype to avoid an error.
51758 Use char because int might match the return type of a GCC
51759 builtin and then its argument prototype would still apply. */
51760 #ifdef __cplusplus
51761 extern "C"
51762 #endif
51763 char sin ();
51764 int
51765 main ()
51766 {
51767 return sin ();
51768 ;
51769 return 0;
51770 }
51771 _ACEOF
51772 if ac_fn_c_try_link "$LINENO"; then :
51773 ac_cv_lib_m_sin=yes
51774 else
51775 ac_cv_lib_m_sin=no
51776 fi
51777 rm -f core conftest.err conftest.$ac_objext \
51778 conftest$ac_exeext conftest.$ac_ext
51779 LIBS=$ac_check_lib_save_LIBS
51780 fi
51781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51782 $as_echo "$ac_cv_lib_m_sin" >&6; }
51783 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51784 libm="-lm"
51785 fi
51786
51787 ac_save_LIBS="$LIBS"
51788 LIBS="$LIBS $libm"
51789
51790
51791
51792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51793 $as_echo_n "checking for isinf declaration... " >&6; }
51794 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51795 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51796 $as_echo_n "(cached) " >&6
51797 else
51798
51799
51800 ac_ext=cpp
51801 ac_cpp='$CXXCPP $CPPFLAGS'
51802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51805
51806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51807 /* end confdefs.h. */
51808 #include <math.h>
51809 #ifdef HAVE_IEEEFP_H
51810 #include <ieeefp.h>
51811 #endif
51812
51813 int
51814 main ()
51815 {
51816 isinf(0);
51817 ;
51818 return 0;
51819 }
51820 _ACEOF
51821 if ac_fn_cxx_try_compile "$LINENO"; then :
51822 glibcxx_cv_func_isinf_use=yes
51823 else
51824 glibcxx_cv_func_isinf_use=no
51825 fi
51826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51827 ac_ext=c
51828 ac_cpp='$CPP $CPPFLAGS'
51829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51832
51833
51834 fi
51835
51836 fi
51837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51838 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51839
51840 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51841 for ac_func in isinf
51842 do :
51843 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51844 if test "x$ac_cv_func_isinf" = x""yes; then :
51845 cat >>confdefs.h <<_ACEOF
51846 #define HAVE_ISINF 1
51847 _ACEOF
51848
51849 fi
51850 done
51851
51852 else
51853
51854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51855 $as_echo_n "checking for _isinf declaration... " >&6; }
51856 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51857 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51858 $as_echo_n "(cached) " >&6
51859 else
51860
51861
51862 ac_ext=cpp
51863 ac_cpp='$CXXCPP $CPPFLAGS'
51864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51867
51868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51869 /* end confdefs.h. */
51870 #include <math.h>
51871 #ifdef HAVE_IEEEFP_H
51872 #include <ieeefp.h>
51873 #endif
51874
51875 int
51876 main ()
51877 {
51878 _isinf(0);
51879 ;
51880 return 0;
51881 }
51882 _ACEOF
51883 if ac_fn_cxx_try_compile "$LINENO"; then :
51884 glibcxx_cv_func__isinf_use=yes
51885 else
51886 glibcxx_cv_func__isinf_use=no
51887 fi
51888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51889 ac_ext=c
51890 ac_cpp='$CPP $CPPFLAGS'
51891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51894
51895
51896 fi
51897
51898 fi
51899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51900 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51901
51902 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51903 for ac_func in _isinf
51904 do :
51905 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51906 if test "x$ac_cv_func__isinf" = x""yes; then :
51907 cat >>confdefs.h <<_ACEOF
51908 #define HAVE__ISINF 1
51909 _ACEOF
51910
51911 fi
51912 done
51913
51914 fi
51915 fi
51916
51917
51918
51919
51920
51921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51922 $as_echo_n "checking for isnan declaration... " >&6; }
51923 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51924 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51925 $as_echo_n "(cached) " >&6
51926 else
51927
51928
51929 ac_ext=cpp
51930 ac_cpp='$CXXCPP $CPPFLAGS'
51931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51934
51935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51936 /* end confdefs.h. */
51937 #include <math.h>
51938 #ifdef HAVE_IEEEFP_H
51939 #include <ieeefp.h>
51940 #endif
51941
51942 int
51943 main ()
51944 {
51945 isnan(0);
51946 ;
51947 return 0;
51948 }
51949 _ACEOF
51950 if ac_fn_cxx_try_compile "$LINENO"; then :
51951 glibcxx_cv_func_isnan_use=yes
51952 else
51953 glibcxx_cv_func_isnan_use=no
51954 fi
51955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51956 ac_ext=c
51957 ac_cpp='$CPP $CPPFLAGS'
51958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51961
51962
51963 fi
51964
51965 fi
51966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51967 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51968
51969 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51970 for ac_func in isnan
51971 do :
51972 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51973 if test "x$ac_cv_func_isnan" = x""yes; then :
51974 cat >>confdefs.h <<_ACEOF
51975 #define HAVE_ISNAN 1
51976 _ACEOF
51977
51978 fi
51979 done
51980
51981 else
51982
51983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51984 $as_echo_n "checking for _isnan declaration... " >&6; }
51985 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51986 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51987 $as_echo_n "(cached) " >&6
51988 else
51989
51990
51991 ac_ext=cpp
51992 ac_cpp='$CXXCPP $CPPFLAGS'
51993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51996
51997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51998 /* end confdefs.h. */
51999 #include <math.h>
52000 #ifdef HAVE_IEEEFP_H
52001 #include <ieeefp.h>
52002 #endif
52003
52004 int
52005 main ()
52006 {
52007 _isnan(0);
52008 ;
52009 return 0;
52010 }
52011 _ACEOF
52012 if ac_fn_cxx_try_compile "$LINENO"; then :
52013 glibcxx_cv_func__isnan_use=yes
52014 else
52015 glibcxx_cv_func__isnan_use=no
52016 fi
52017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52018 ac_ext=c
52019 ac_cpp='$CPP $CPPFLAGS'
52020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52023
52024
52025 fi
52026
52027 fi
52028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52029 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52030
52031 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52032 for ac_func in _isnan
52033 do :
52034 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52035 if test "x$ac_cv_func__isnan" = x""yes; then :
52036 cat >>confdefs.h <<_ACEOF
52037 #define HAVE__ISNAN 1
52038 _ACEOF
52039
52040 fi
52041 done
52042
52043 fi
52044 fi
52045
52046
52047
52048
52049
52050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52051 $as_echo_n "checking for finite declaration... " >&6; }
52052 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52053 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52054 $as_echo_n "(cached) " >&6
52055 else
52056
52057
52058 ac_ext=cpp
52059 ac_cpp='$CXXCPP $CPPFLAGS'
52060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52063
52064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52065 /* end confdefs.h. */
52066 #include <math.h>
52067 #ifdef HAVE_IEEEFP_H
52068 #include <ieeefp.h>
52069 #endif
52070
52071 int
52072 main ()
52073 {
52074 finite(0);
52075 ;
52076 return 0;
52077 }
52078 _ACEOF
52079 if ac_fn_cxx_try_compile "$LINENO"; then :
52080 glibcxx_cv_func_finite_use=yes
52081 else
52082 glibcxx_cv_func_finite_use=no
52083 fi
52084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52085 ac_ext=c
52086 ac_cpp='$CPP $CPPFLAGS'
52087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52090
52091
52092 fi
52093
52094 fi
52095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52096 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52097
52098 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52099 for ac_func in finite
52100 do :
52101 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52102 if test "x$ac_cv_func_finite" = x""yes; then :
52103 cat >>confdefs.h <<_ACEOF
52104 #define HAVE_FINITE 1
52105 _ACEOF
52106
52107 fi
52108 done
52109
52110 else
52111
52112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52113 $as_echo_n "checking for _finite declaration... " >&6; }
52114 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52115 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52116 $as_echo_n "(cached) " >&6
52117 else
52118
52119
52120 ac_ext=cpp
52121 ac_cpp='$CXXCPP $CPPFLAGS'
52122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52125
52126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52127 /* end confdefs.h. */
52128 #include <math.h>
52129 #ifdef HAVE_IEEEFP_H
52130 #include <ieeefp.h>
52131 #endif
52132
52133 int
52134 main ()
52135 {
52136 _finite(0);
52137 ;
52138 return 0;
52139 }
52140 _ACEOF
52141 if ac_fn_cxx_try_compile "$LINENO"; then :
52142 glibcxx_cv_func__finite_use=yes
52143 else
52144 glibcxx_cv_func__finite_use=no
52145 fi
52146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52147 ac_ext=c
52148 ac_cpp='$CPP $CPPFLAGS'
52149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52152
52153
52154 fi
52155
52156 fi
52157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52158 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52159
52160 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52161 for ac_func in _finite
52162 do :
52163 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52164 if test "x$ac_cv_func__finite" = x""yes; then :
52165 cat >>confdefs.h <<_ACEOF
52166 #define HAVE__FINITE 1
52167 _ACEOF
52168
52169 fi
52170 done
52171
52172 fi
52173 fi
52174
52175
52176
52177
52178
52179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52180 $as_echo_n "checking for sincos declaration... " >&6; }
52181 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52182 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52183 $as_echo_n "(cached) " >&6
52184 else
52185
52186
52187 ac_ext=cpp
52188 ac_cpp='$CXXCPP $CPPFLAGS'
52189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52192
52193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52194 /* end confdefs.h. */
52195 #include <math.h>
52196 int
52197 main ()
52198 {
52199 sincos(0, 0, 0);
52200 ;
52201 return 0;
52202 }
52203 _ACEOF
52204 if ac_fn_cxx_try_compile "$LINENO"; then :
52205 glibcxx_cv_func_sincos_use=yes
52206 else
52207 glibcxx_cv_func_sincos_use=no
52208 fi
52209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52210 ac_ext=c
52211 ac_cpp='$CPP $CPPFLAGS'
52212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52215
52216
52217 fi
52218
52219 fi
52220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52221 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52222
52223 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52224 for ac_func in sincos
52225 do :
52226 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52227 if test "x$ac_cv_func_sincos" = x""yes; then :
52228 cat >>confdefs.h <<_ACEOF
52229 #define HAVE_SINCOS 1
52230 _ACEOF
52231
52232 fi
52233 done
52234
52235 else
52236
52237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52238 $as_echo_n "checking for _sincos declaration... " >&6; }
52239 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52240 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52241 $as_echo_n "(cached) " >&6
52242 else
52243
52244
52245 ac_ext=cpp
52246 ac_cpp='$CXXCPP $CPPFLAGS'
52247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52250
52251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52252 /* end confdefs.h. */
52253 #include <math.h>
52254 int
52255 main ()
52256 {
52257 _sincos(0, 0, 0);
52258 ;
52259 return 0;
52260 }
52261 _ACEOF
52262 if ac_fn_cxx_try_compile "$LINENO"; then :
52263 glibcxx_cv_func__sincos_use=yes
52264 else
52265 glibcxx_cv_func__sincos_use=no
52266 fi
52267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52268 ac_ext=c
52269 ac_cpp='$CPP $CPPFLAGS'
52270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52273
52274
52275 fi
52276
52277 fi
52278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52279 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52280
52281 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52282 for ac_func in _sincos
52283 do :
52284 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52285 if test "x$ac_cv_func__sincos" = x""yes; then :
52286 cat >>confdefs.h <<_ACEOF
52287 #define HAVE__SINCOS 1
52288 _ACEOF
52289
52290 fi
52291 done
52292
52293 fi
52294 fi
52295
52296
52297
52298
52299
52300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52301 $as_echo_n "checking for fpclass declaration... " >&6; }
52302 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52303 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52304 $as_echo_n "(cached) " >&6
52305 else
52306
52307
52308 ac_ext=cpp
52309 ac_cpp='$CXXCPP $CPPFLAGS'
52310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52313
52314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52315 /* end confdefs.h. */
52316 #include <math.h>
52317 #ifdef HAVE_IEEEFP_H
52318 #include <ieeefp.h>
52319 #endif
52320
52321 int
52322 main ()
52323 {
52324 fpclass(0);
52325 ;
52326 return 0;
52327 }
52328 _ACEOF
52329 if ac_fn_cxx_try_compile "$LINENO"; then :
52330 glibcxx_cv_func_fpclass_use=yes
52331 else
52332 glibcxx_cv_func_fpclass_use=no
52333 fi
52334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52335 ac_ext=c
52336 ac_cpp='$CPP $CPPFLAGS'
52337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52340
52341
52342 fi
52343
52344 fi
52345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52346 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52347
52348 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52349 for ac_func in fpclass
52350 do :
52351 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52352 if test "x$ac_cv_func_fpclass" = x""yes; then :
52353 cat >>confdefs.h <<_ACEOF
52354 #define HAVE_FPCLASS 1
52355 _ACEOF
52356
52357 fi
52358 done
52359
52360 else
52361
52362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52363 $as_echo_n "checking for _fpclass declaration... " >&6; }
52364 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52365 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52366 $as_echo_n "(cached) " >&6
52367 else
52368
52369
52370 ac_ext=cpp
52371 ac_cpp='$CXXCPP $CPPFLAGS'
52372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52375
52376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52377 /* end confdefs.h. */
52378 #include <math.h>
52379 #ifdef HAVE_IEEEFP_H
52380 #include <ieeefp.h>
52381 #endif
52382
52383 int
52384 main ()
52385 {
52386 _fpclass(0);
52387 ;
52388 return 0;
52389 }
52390 _ACEOF
52391 if ac_fn_cxx_try_compile "$LINENO"; then :
52392 glibcxx_cv_func__fpclass_use=yes
52393 else
52394 glibcxx_cv_func__fpclass_use=no
52395 fi
52396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52397 ac_ext=c
52398 ac_cpp='$CPP $CPPFLAGS'
52399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52402
52403
52404 fi
52405
52406 fi
52407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52408 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52409
52410 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52411 for ac_func in _fpclass
52412 do :
52413 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52414 if test "x$ac_cv_func__fpclass" = x""yes; then :
52415 cat >>confdefs.h <<_ACEOF
52416 #define HAVE__FPCLASS 1
52417 _ACEOF
52418
52419 fi
52420 done
52421
52422 fi
52423 fi
52424
52425
52426
52427
52428
52429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52430 $as_echo_n "checking for qfpclass declaration... " >&6; }
52431 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52432 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52433 $as_echo_n "(cached) " >&6
52434 else
52435
52436
52437 ac_ext=cpp
52438 ac_cpp='$CXXCPP $CPPFLAGS'
52439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52442
52443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52444 /* end confdefs.h. */
52445 #include <math.h>
52446 #ifdef HAVE_IEEEFP_H
52447 #include <ieeefp.h>
52448 #endif
52449
52450 int
52451 main ()
52452 {
52453 qfpclass(0);
52454 ;
52455 return 0;
52456 }
52457 _ACEOF
52458 if ac_fn_cxx_try_compile "$LINENO"; then :
52459 glibcxx_cv_func_qfpclass_use=yes
52460 else
52461 glibcxx_cv_func_qfpclass_use=no
52462 fi
52463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52464 ac_ext=c
52465 ac_cpp='$CPP $CPPFLAGS'
52466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52469
52470
52471 fi
52472
52473 fi
52474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52475 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52476
52477 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52478 for ac_func in qfpclass
52479 do :
52480 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52481 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52482 cat >>confdefs.h <<_ACEOF
52483 #define HAVE_QFPCLASS 1
52484 _ACEOF
52485
52486 fi
52487 done
52488
52489 else
52490
52491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52492 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52493 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52494 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52495 $as_echo_n "(cached) " >&6
52496 else
52497
52498
52499 ac_ext=cpp
52500 ac_cpp='$CXXCPP $CPPFLAGS'
52501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52504
52505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52506 /* end confdefs.h. */
52507 #include <math.h>
52508 #ifdef HAVE_IEEEFP_H
52509 #include <ieeefp.h>
52510 #endif
52511
52512 int
52513 main ()
52514 {
52515 _qfpclass(0);
52516 ;
52517 return 0;
52518 }
52519 _ACEOF
52520 if ac_fn_cxx_try_compile "$LINENO"; then :
52521 glibcxx_cv_func__qfpclass_use=yes
52522 else
52523 glibcxx_cv_func__qfpclass_use=no
52524 fi
52525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52526 ac_ext=c
52527 ac_cpp='$CPP $CPPFLAGS'
52528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52531
52532
52533 fi
52534
52535 fi
52536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52537 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52538
52539 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52540 for ac_func in _qfpclass
52541 do :
52542 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52543 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52544 cat >>confdefs.h <<_ACEOF
52545 #define HAVE__QFPCLASS 1
52546 _ACEOF
52547
52548 fi
52549 done
52550
52551 fi
52552 fi
52553
52554
52555
52556
52557
52558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52559 $as_echo_n "checking for hypot declaration... " >&6; }
52560 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52561 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52562 $as_echo_n "(cached) " >&6
52563 else
52564
52565
52566 ac_ext=cpp
52567 ac_cpp='$CXXCPP $CPPFLAGS'
52568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52571
52572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52573 /* end confdefs.h. */
52574 #include <math.h>
52575 int
52576 main ()
52577 {
52578 hypot(0, 0);
52579 ;
52580 return 0;
52581 }
52582 _ACEOF
52583 if ac_fn_cxx_try_compile "$LINENO"; then :
52584 glibcxx_cv_func_hypot_use=yes
52585 else
52586 glibcxx_cv_func_hypot_use=no
52587 fi
52588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52589 ac_ext=c
52590 ac_cpp='$CPP $CPPFLAGS'
52591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52594
52595
52596 fi
52597
52598 fi
52599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52600 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52601
52602 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52603 for ac_func in hypot
52604 do :
52605 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52606 if test "x$ac_cv_func_hypot" = x""yes; then :
52607 cat >>confdefs.h <<_ACEOF
52608 #define HAVE_HYPOT 1
52609 _ACEOF
52610
52611 fi
52612 done
52613
52614 else
52615
52616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52617 $as_echo_n "checking for _hypot declaration... " >&6; }
52618 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52619 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52620 $as_echo_n "(cached) " >&6
52621 else
52622
52623
52624 ac_ext=cpp
52625 ac_cpp='$CXXCPP $CPPFLAGS'
52626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52629
52630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52631 /* end confdefs.h. */
52632 #include <math.h>
52633 int
52634 main ()
52635 {
52636 _hypot(0, 0);
52637 ;
52638 return 0;
52639 }
52640 _ACEOF
52641 if ac_fn_cxx_try_compile "$LINENO"; then :
52642 glibcxx_cv_func__hypot_use=yes
52643 else
52644 glibcxx_cv_func__hypot_use=no
52645 fi
52646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52647 ac_ext=c
52648 ac_cpp='$CPP $CPPFLAGS'
52649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52652
52653
52654 fi
52655
52656 fi
52657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52658 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52659
52660 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52661 for ac_func in _hypot
52662 do :
52663 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52664 if test "x$ac_cv_func__hypot" = x""yes; then :
52665 cat >>confdefs.h <<_ACEOF
52666 #define HAVE__HYPOT 1
52667 _ACEOF
52668
52669 fi
52670 done
52671
52672 fi
52673 fi
52674
52675
52676
52677
52678
52679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52680 $as_echo_n "checking for float trig functions... " >&6; }
52681 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52682 $as_echo_n "(cached) " >&6
52683 else
52684
52685
52686 ac_ext=cpp
52687 ac_cpp='$CXXCPP $CPPFLAGS'
52688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52691
52692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52693 /* end confdefs.h. */
52694 #include <math.h>
52695 int
52696 main ()
52697 {
52698 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52699 ;
52700 return 0;
52701 }
52702 _ACEOF
52703 if ac_fn_cxx_try_compile "$LINENO"; then :
52704 glibcxx_cv_func_float_trig_use=yes
52705 else
52706 glibcxx_cv_func_float_trig_use=no
52707 fi
52708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52709 ac_ext=c
52710 ac_cpp='$CPP $CPPFLAGS'
52711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52714
52715 fi
52716
52717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52718 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52719 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52720 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52721 do :
52722 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52723 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52724 eval as_val=\$$as_ac_var
52725 if test "x$as_val" = x""yes; then :
52726 cat >>confdefs.h <<_ACEOF
52727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52728 _ACEOF
52729
52730 fi
52731 done
52732
52733 else
52734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52735 $as_echo_n "checking for _float trig functions... " >&6; }
52736 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52737 $as_echo_n "(cached) " >&6
52738 else
52739
52740
52741 ac_ext=cpp
52742 ac_cpp='$CXXCPP $CPPFLAGS'
52743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52746
52747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52748 /* end confdefs.h. */
52749 #include <math.h>
52750 int
52751 main ()
52752 {
52753 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52754 ;
52755 return 0;
52756 }
52757 _ACEOF
52758 if ac_fn_cxx_try_compile "$LINENO"; then :
52759 glibcxx_cv_func__float_trig_use=yes
52760 else
52761 glibcxx_cv_func__float_trig_use=no
52762 fi
52763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52764 ac_ext=c
52765 ac_cpp='$CPP $CPPFLAGS'
52766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52769
52770 fi
52771
52772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52773 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52774 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52775 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52776 do :
52777 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52778 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52779 eval as_val=\$$as_ac_var
52780 if test "x$as_val" = x""yes; then :
52781 cat >>confdefs.h <<_ACEOF
52782 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52783 _ACEOF
52784
52785 fi
52786 done
52787
52788 fi
52789 fi
52790
52791
52792
52793
52794
52795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52796 $as_echo_n "checking for float round functions... " >&6; }
52797 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52798 $as_echo_n "(cached) " >&6
52799 else
52800
52801
52802 ac_ext=cpp
52803 ac_cpp='$CXXCPP $CPPFLAGS'
52804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52807
52808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52809 /* end confdefs.h. */
52810 #include <math.h>
52811 int
52812 main ()
52813 {
52814 ceilf (0); floorf (0);
52815 ;
52816 return 0;
52817 }
52818 _ACEOF
52819 if ac_fn_cxx_try_compile "$LINENO"; then :
52820 glibcxx_cv_func_float_round_use=yes
52821 else
52822 glibcxx_cv_func_float_round_use=no
52823 fi
52824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52825 ac_ext=c
52826 ac_cpp='$CPP $CPPFLAGS'
52827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52830
52831 fi
52832
52833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52834 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52835 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52836 for ac_func in ceilf floorf
52837 do :
52838 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52839 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52840 eval as_val=\$$as_ac_var
52841 if test "x$as_val" = x""yes; then :
52842 cat >>confdefs.h <<_ACEOF
52843 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52844 _ACEOF
52845
52846 fi
52847 done
52848
52849 else
52850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52851 $as_echo_n "checking for _float round functions... " >&6; }
52852 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52853 $as_echo_n "(cached) " >&6
52854 else
52855
52856
52857 ac_ext=cpp
52858 ac_cpp='$CXXCPP $CPPFLAGS'
52859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52862
52863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52864 /* end confdefs.h. */
52865 #include <math.h>
52866 int
52867 main ()
52868 {
52869 _ceilf (0); _floorf (0);
52870 ;
52871 return 0;
52872 }
52873 _ACEOF
52874 if ac_fn_cxx_try_compile "$LINENO"; then :
52875 glibcxx_cv_func__float_round_use=yes
52876 else
52877 glibcxx_cv_func__float_round_use=no
52878 fi
52879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52880 ac_ext=c
52881 ac_cpp='$CPP $CPPFLAGS'
52882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52885
52886 fi
52887
52888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52889 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52890 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52891 for ac_func in _ceilf _floorf
52892 do :
52893 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52894 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52895 eval as_val=\$$as_ac_var
52896 if test "x$as_val" = x""yes; then :
52897 cat >>confdefs.h <<_ACEOF
52898 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52899 _ACEOF
52900
52901 fi
52902 done
52903
52904 fi
52905 fi
52906
52907
52908
52909
52910
52911
52912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52913 $as_echo_n "checking for expf declaration... " >&6; }
52914 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52915 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52916 $as_echo_n "(cached) " >&6
52917 else
52918
52919
52920 ac_ext=cpp
52921 ac_cpp='$CXXCPP $CPPFLAGS'
52922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52925
52926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52927 /* end confdefs.h. */
52928 #include <math.h>
52929 #ifdef HAVE_IEEEFP_H
52930 #include <ieeefp.h>
52931 #endif
52932
52933 int
52934 main ()
52935 {
52936 expf(0);
52937 ;
52938 return 0;
52939 }
52940 _ACEOF
52941 if ac_fn_cxx_try_compile "$LINENO"; then :
52942 glibcxx_cv_func_expf_use=yes
52943 else
52944 glibcxx_cv_func_expf_use=no
52945 fi
52946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52947 ac_ext=c
52948 ac_cpp='$CPP $CPPFLAGS'
52949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52952
52953
52954 fi
52955
52956 fi
52957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52958 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52959
52960 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52961 for ac_func in expf
52962 do :
52963 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52964 if test "x$ac_cv_func_expf" = x""yes; then :
52965 cat >>confdefs.h <<_ACEOF
52966 #define HAVE_EXPF 1
52967 _ACEOF
52968
52969 fi
52970 done
52971
52972 else
52973
52974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52975 $as_echo_n "checking for _expf declaration... " >&6; }
52976 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52977 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52978 $as_echo_n "(cached) " >&6
52979 else
52980
52981
52982 ac_ext=cpp
52983 ac_cpp='$CXXCPP $CPPFLAGS'
52984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52987
52988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52989 /* end confdefs.h. */
52990 #include <math.h>
52991 #ifdef HAVE_IEEEFP_H
52992 #include <ieeefp.h>
52993 #endif
52994
52995 int
52996 main ()
52997 {
52998 _expf(0);
52999 ;
53000 return 0;
53001 }
53002 _ACEOF
53003 if ac_fn_cxx_try_compile "$LINENO"; then :
53004 glibcxx_cv_func__expf_use=yes
53005 else
53006 glibcxx_cv_func__expf_use=no
53007 fi
53008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53009 ac_ext=c
53010 ac_cpp='$CPP $CPPFLAGS'
53011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53014
53015
53016 fi
53017
53018 fi
53019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53020 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53021
53022 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53023 for ac_func in _expf
53024 do :
53025 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53026 if test "x$ac_cv_func__expf" = x""yes; then :
53027 cat >>confdefs.h <<_ACEOF
53028 #define HAVE__EXPF 1
53029 _ACEOF
53030
53031 fi
53032 done
53033
53034 fi
53035 fi
53036
53037
53038
53039
53040
53041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53042 $as_echo_n "checking for isnanf declaration... " >&6; }
53043 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53044 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53045 $as_echo_n "(cached) " >&6
53046 else
53047
53048
53049 ac_ext=cpp
53050 ac_cpp='$CXXCPP $CPPFLAGS'
53051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53054
53055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53056 /* end confdefs.h. */
53057 #include <math.h>
53058 #ifdef HAVE_IEEEFP_H
53059 #include <ieeefp.h>
53060 #endif
53061
53062 int
53063 main ()
53064 {
53065 isnanf(0);
53066 ;
53067 return 0;
53068 }
53069 _ACEOF
53070 if ac_fn_cxx_try_compile "$LINENO"; then :
53071 glibcxx_cv_func_isnanf_use=yes
53072 else
53073 glibcxx_cv_func_isnanf_use=no
53074 fi
53075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53076 ac_ext=c
53077 ac_cpp='$CPP $CPPFLAGS'
53078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53081
53082
53083 fi
53084
53085 fi
53086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53087 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53088
53089 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53090 for ac_func in isnanf
53091 do :
53092 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53093 if test "x$ac_cv_func_isnanf" = x""yes; then :
53094 cat >>confdefs.h <<_ACEOF
53095 #define HAVE_ISNANF 1
53096 _ACEOF
53097
53098 fi
53099 done
53100
53101 else
53102
53103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53104 $as_echo_n "checking for _isnanf declaration... " >&6; }
53105 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53106 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53107 $as_echo_n "(cached) " >&6
53108 else
53109
53110
53111 ac_ext=cpp
53112 ac_cpp='$CXXCPP $CPPFLAGS'
53113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53116
53117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53118 /* end confdefs.h. */
53119 #include <math.h>
53120 #ifdef HAVE_IEEEFP_H
53121 #include <ieeefp.h>
53122 #endif
53123
53124 int
53125 main ()
53126 {
53127 _isnanf(0);
53128 ;
53129 return 0;
53130 }
53131 _ACEOF
53132 if ac_fn_cxx_try_compile "$LINENO"; then :
53133 glibcxx_cv_func__isnanf_use=yes
53134 else
53135 glibcxx_cv_func__isnanf_use=no
53136 fi
53137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53138 ac_ext=c
53139 ac_cpp='$CPP $CPPFLAGS'
53140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53143
53144
53145 fi
53146
53147 fi
53148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53149 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53150
53151 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53152 for ac_func in _isnanf
53153 do :
53154 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53155 if test "x$ac_cv_func__isnanf" = x""yes; then :
53156 cat >>confdefs.h <<_ACEOF
53157 #define HAVE__ISNANF 1
53158 _ACEOF
53159
53160 fi
53161 done
53162
53163 fi
53164 fi
53165
53166
53167
53168
53169
53170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53171 $as_echo_n "checking for isinff declaration... " >&6; }
53172 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53173 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53174 $as_echo_n "(cached) " >&6
53175 else
53176
53177
53178 ac_ext=cpp
53179 ac_cpp='$CXXCPP $CPPFLAGS'
53180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53183
53184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53185 /* end confdefs.h. */
53186 #include <math.h>
53187 #ifdef HAVE_IEEEFP_H
53188 #include <ieeefp.h>
53189 #endif
53190
53191 int
53192 main ()
53193 {
53194 isinff(0);
53195 ;
53196 return 0;
53197 }
53198 _ACEOF
53199 if ac_fn_cxx_try_compile "$LINENO"; then :
53200 glibcxx_cv_func_isinff_use=yes
53201 else
53202 glibcxx_cv_func_isinff_use=no
53203 fi
53204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53205 ac_ext=c
53206 ac_cpp='$CPP $CPPFLAGS'
53207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53210
53211
53212 fi
53213
53214 fi
53215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53216 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53217
53218 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53219 for ac_func in isinff
53220 do :
53221 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53222 if test "x$ac_cv_func_isinff" = x""yes; then :
53223 cat >>confdefs.h <<_ACEOF
53224 #define HAVE_ISINFF 1
53225 _ACEOF
53226
53227 fi
53228 done
53229
53230 else
53231
53232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53233 $as_echo_n "checking for _isinff declaration... " >&6; }
53234 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53235 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53236 $as_echo_n "(cached) " >&6
53237 else
53238
53239
53240 ac_ext=cpp
53241 ac_cpp='$CXXCPP $CPPFLAGS'
53242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53245
53246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53247 /* end confdefs.h. */
53248 #include <math.h>
53249 #ifdef HAVE_IEEEFP_H
53250 #include <ieeefp.h>
53251 #endif
53252
53253 int
53254 main ()
53255 {
53256 _isinff(0);
53257 ;
53258 return 0;
53259 }
53260 _ACEOF
53261 if ac_fn_cxx_try_compile "$LINENO"; then :
53262 glibcxx_cv_func__isinff_use=yes
53263 else
53264 glibcxx_cv_func__isinff_use=no
53265 fi
53266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53267 ac_ext=c
53268 ac_cpp='$CPP $CPPFLAGS'
53269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53272
53273
53274 fi
53275
53276 fi
53277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53278 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53279
53280 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53281 for ac_func in _isinff
53282 do :
53283 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53284 if test "x$ac_cv_func__isinff" = x""yes; then :
53285 cat >>confdefs.h <<_ACEOF
53286 #define HAVE__ISINFF 1
53287 _ACEOF
53288
53289 fi
53290 done
53291
53292 fi
53293 fi
53294
53295
53296
53297
53298
53299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53300 $as_echo_n "checking for atan2f declaration... " >&6; }
53301 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53302 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53303 $as_echo_n "(cached) " >&6
53304 else
53305
53306
53307 ac_ext=cpp
53308 ac_cpp='$CXXCPP $CPPFLAGS'
53309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53312
53313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53314 /* end confdefs.h. */
53315 #include <math.h>
53316 int
53317 main ()
53318 {
53319 atan2f(0, 0);
53320 ;
53321 return 0;
53322 }
53323 _ACEOF
53324 if ac_fn_cxx_try_compile "$LINENO"; then :
53325 glibcxx_cv_func_atan2f_use=yes
53326 else
53327 glibcxx_cv_func_atan2f_use=no
53328 fi
53329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53330 ac_ext=c
53331 ac_cpp='$CPP $CPPFLAGS'
53332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53335
53336
53337 fi
53338
53339 fi
53340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53341 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53342
53343 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53344 for ac_func in atan2f
53345 do :
53346 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53347 if test "x$ac_cv_func_atan2f" = x""yes; then :
53348 cat >>confdefs.h <<_ACEOF
53349 #define HAVE_ATAN2F 1
53350 _ACEOF
53351
53352 fi
53353 done
53354
53355 else
53356
53357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53358 $as_echo_n "checking for _atan2f declaration... " >&6; }
53359 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53360 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53361 $as_echo_n "(cached) " >&6
53362 else
53363
53364
53365 ac_ext=cpp
53366 ac_cpp='$CXXCPP $CPPFLAGS'
53367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53370
53371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53372 /* end confdefs.h. */
53373 #include <math.h>
53374 int
53375 main ()
53376 {
53377 _atan2f(0, 0);
53378 ;
53379 return 0;
53380 }
53381 _ACEOF
53382 if ac_fn_cxx_try_compile "$LINENO"; then :
53383 glibcxx_cv_func__atan2f_use=yes
53384 else
53385 glibcxx_cv_func__atan2f_use=no
53386 fi
53387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53388 ac_ext=c
53389 ac_cpp='$CPP $CPPFLAGS'
53390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53393
53394
53395 fi
53396
53397 fi
53398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53399 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53400
53401 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53402 for ac_func in _atan2f
53403 do :
53404 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53405 if test "x$ac_cv_func__atan2f" = x""yes; then :
53406 cat >>confdefs.h <<_ACEOF
53407 #define HAVE__ATAN2F 1
53408 _ACEOF
53409
53410 fi
53411 done
53412
53413 fi
53414 fi
53415
53416
53417
53418
53419
53420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53421 $as_echo_n "checking for fabsf declaration... " >&6; }
53422 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53423 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53424 $as_echo_n "(cached) " >&6
53425 else
53426
53427
53428 ac_ext=cpp
53429 ac_cpp='$CXXCPP $CPPFLAGS'
53430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53433
53434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53435 /* end confdefs.h. */
53436 #include <math.h>
53437 #ifdef HAVE_IEEEFP_H
53438 #include <ieeefp.h>
53439 #endif
53440
53441 int
53442 main ()
53443 {
53444 fabsf(0);
53445 ;
53446 return 0;
53447 }
53448 _ACEOF
53449 if ac_fn_cxx_try_compile "$LINENO"; then :
53450 glibcxx_cv_func_fabsf_use=yes
53451 else
53452 glibcxx_cv_func_fabsf_use=no
53453 fi
53454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53455 ac_ext=c
53456 ac_cpp='$CPP $CPPFLAGS'
53457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53460
53461
53462 fi
53463
53464 fi
53465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53466 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53467
53468 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53469 for ac_func in fabsf
53470 do :
53471 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53472 if test "x$ac_cv_func_fabsf" = x""yes; then :
53473 cat >>confdefs.h <<_ACEOF
53474 #define HAVE_FABSF 1
53475 _ACEOF
53476
53477 fi
53478 done
53479
53480 else
53481
53482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53483 $as_echo_n "checking for _fabsf declaration... " >&6; }
53484 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53485 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53486 $as_echo_n "(cached) " >&6
53487 else
53488
53489
53490 ac_ext=cpp
53491 ac_cpp='$CXXCPP $CPPFLAGS'
53492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53495
53496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53497 /* end confdefs.h. */
53498 #include <math.h>
53499 #ifdef HAVE_IEEEFP_H
53500 #include <ieeefp.h>
53501 #endif
53502
53503 int
53504 main ()
53505 {
53506 _fabsf(0);
53507 ;
53508 return 0;
53509 }
53510 _ACEOF
53511 if ac_fn_cxx_try_compile "$LINENO"; then :
53512 glibcxx_cv_func__fabsf_use=yes
53513 else
53514 glibcxx_cv_func__fabsf_use=no
53515 fi
53516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53517 ac_ext=c
53518 ac_cpp='$CPP $CPPFLAGS'
53519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53522
53523
53524 fi
53525
53526 fi
53527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53528 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53529
53530 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53531 for ac_func in _fabsf
53532 do :
53533 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53534 if test "x$ac_cv_func__fabsf" = x""yes; then :
53535 cat >>confdefs.h <<_ACEOF
53536 #define HAVE__FABSF 1
53537 _ACEOF
53538
53539 fi
53540 done
53541
53542 fi
53543 fi
53544
53545
53546
53547
53548
53549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53550 $as_echo_n "checking for fmodf declaration... " >&6; }
53551 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53552 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53553 $as_echo_n "(cached) " >&6
53554 else
53555
53556
53557 ac_ext=cpp
53558 ac_cpp='$CXXCPP $CPPFLAGS'
53559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53562
53563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53564 /* end confdefs.h. */
53565 #include <math.h>
53566 int
53567 main ()
53568 {
53569 fmodf(0, 0);
53570 ;
53571 return 0;
53572 }
53573 _ACEOF
53574 if ac_fn_cxx_try_compile "$LINENO"; then :
53575 glibcxx_cv_func_fmodf_use=yes
53576 else
53577 glibcxx_cv_func_fmodf_use=no
53578 fi
53579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53580 ac_ext=c
53581 ac_cpp='$CPP $CPPFLAGS'
53582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53585
53586
53587 fi
53588
53589 fi
53590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53591 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53592
53593 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53594 for ac_func in fmodf
53595 do :
53596 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53597 if test "x$ac_cv_func_fmodf" = x""yes; then :
53598 cat >>confdefs.h <<_ACEOF
53599 #define HAVE_FMODF 1
53600 _ACEOF
53601
53602 fi
53603 done
53604
53605 else
53606
53607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53608 $as_echo_n "checking for _fmodf declaration... " >&6; }
53609 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53610 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53611 $as_echo_n "(cached) " >&6
53612 else
53613
53614
53615 ac_ext=cpp
53616 ac_cpp='$CXXCPP $CPPFLAGS'
53617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53620
53621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53622 /* end confdefs.h. */
53623 #include <math.h>
53624 int
53625 main ()
53626 {
53627 _fmodf(0, 0);
53628 ;
53629 return 0;
53630 }
53631 _ACEOF
53632 if ac_fn_cxx_try_compile "$LINENO"; then :
53633 glibcxx_cv_func__fmodf_use=yes
53634 else
53635 glibcxx_cv_func__fmodf_use=no
53636 fi
53637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53638 ac_ext=c
53639 ac_cpp='$CPP $CPPFLAGS'
53640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53643
53644
53645 fi
53646
53647 fi
53648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53649 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53650
53651 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53652 for ac_func in _fmodf
53653 do :
53654 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53655 if test "x$ac_cv_func__fmodf" = x""yes; then :
53656 cat >>confdefs.h <<_ACEOF
53657 #define HAVE__FMODF 1
53658 _ACEOF
53659
53660 fi
53661 done
53662
53663 fi
53664 fi
53665
53666
53667
53668
53669
53670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53671 $as_echo_n "checking for frexpf declaration... " >&6; }
53672 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53673 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53674 $as_echo_n "(cached) " >&6
53675 else
53676
53677
53678 ac_ext=cpp
53679 ac_cpp='$CXXCPP $CPPFLAGS'
53680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53683
53684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53685 /* end confdefs.h. */
53686 #include <math.h>
53687 int
53688 main ()
53689 {
53690 frexpf(0, 0);
53691 ;
53692 return 0;
53693 }
53694 _ACEOF
53695 if ac_fn_cxx_try_compile "$LINENO"; then :
53696 glibcxx_cv_func_frexpf_use=yes
53697 else
53698 glibcxx_cv_func_frexpf_use=no
53699 fi
53700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53701 ac_ext=c
53702 ac_cpp='$CPP $CPPFLAGS'
53703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53706
53707
53708 fi
53709
53710 fi
53711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53712 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53713
53714 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53715 for ac_func in frexpf
53716 do :
53717 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53718 if test "x$ac_cv_func_frexpf" = x""yes; then :
53719 cat >>confdefs.h <<_ACEOF
53720 #define HAVE_FREXPF 1
53721 _ACEOF
53722
53723 fi
53724 done
53725
53726 else
53727
53728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53729 $as_echo_n "checking for _frexpf declaration... " >&6; }
53730 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53731 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53732 $as_echo_n "(cached) " >&6
53733 else
53734
53735
53736 ac_ext=cpp
53737 ac_cpp='$CXXCPP $CPPFLAGS'
53738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53741
53742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53743 /* end confdefs.h. */
53744 #include <math.h>
53745 int
53746 main ()
53747 {
53748 _frexpf(0, 0);
53749 ;
53750 return 0;
53751 }
53752 _ACEOF
53753 if ac_fn_cxx_try_compile "$LINENO"; then :
53754 glibcxx_cv_func__frexpf_use=yes
53755 else
53756 glibcxx_cv_func__frexpf_use=no
53757 fi
53758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53759 ac_ext=c
53760 ac_cpp='$CPP $CPPFLAGS'
53761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53764
53765
53766 fi
53767
53768 fi
53769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53770 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53771
53772 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53773 for ac_func in _frexpf
53774 do :
53775 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53776 if test "x$ac_cv_func__frexpf" = x""yes; then :
53777 cat >>confdefs.h <<_ACEOF
53778 #define HAVE__FREXPF 1
53779 _ACEOF
53780
53781 fi
53782 done
53783
53784 fi
53785 fi
53786
53787
53788
53789
53790
53791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53792 $as_echo_n "checking for hypotf declaration... " >&6; }
53793 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53794 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53795 $as_echo_n "(cached) " >&6
53796 else
53797
53798
53799 ac_ext=cpp
53800 ac_cpp='$CXXCPP $CPPFLAGS'
53801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53804
53805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53806 /* end confdefs.h. */
53807 #include <math.h>
53808 int
53809 main ()
53810 {
53811 hypotf(0, 0);
53812 ;
53813 return 0;
53814 }
53815 _ACEOF
53816 if ac_fn_cxx_try_compile "$LINENO"; then :
53817 glibcxx_cv_func_hypotf_use=yes
53818 else
53819 glibcxx_cv_func_hypotf_use=no
53820 fi
53821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53822 ac_ext=c
53823 ac_cpp='$CPP $CPPFLAGS'
53824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53827
53828
53829 fi
53830
53831 fi
53832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53833 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53834
53835 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53836 for ac_func in hypotf
53837 do :
53838 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53839 if test "x$ac_cv_func_hypotf" = x""yes; then :
53840 cat >>confdefs.h <<_ACEOF
53841 #define HAVE_HYPOTF 1
53842 _ACEOF
53843
53844 fi
53845 done
53846
53847 else
53848
53849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53850 $as_echo_n "checking for _hypotf declaration... " >&6; }
53851 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53852 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53853 $as_echo_n "(cached) " >&6
53854 else
53855
53856
53857 ac_ext=cpp
53858 ac_cpp='$CXXCPP $CPPFLAGS'
53859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53862
53863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53864 /* end confdefs.h. */
53865 #include <math.h>
53866 int
53867 main ()
53868 {
53869 _hypotf(0, 0);
53870 ;
53871 return 0;
53872 }
53873 _ACEOF
53874 if ac_fn_cxx_try_compile "$LINENO"; then :
53875 glibcxx_cv_func__hypotf_use=yes
53876 else
53877 glibcxx_cv_func__hypotf_use=no
53878 fi
53879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53880 ac_ext=c
53881 ac_cpp='$CPP $CPPFLAGS'
53882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53885
53886
53887 fi
53888
53889 fi
53890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53891 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53892
53893 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53894 for ac_func in _hypotf
53895 do :
53896 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53897 if test "x$ac_cv_func__hypotf" = x""yes; then :
53898 cat >>confdefs.h <<_ACEOF
53899 #define HAVE__HYPOTF 1
53900 _ACEOF
53901
53902 fi
53903 done
53904
53905 fi
53906 fi
53907
53908
53909
53910
53911
53912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53913 $as_echo_n "checking for ldexpf declaration... " >&6; }
53914 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53915 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53916 $as_echo_n "(cached) " >&6
53917 else
53918
53919
53920 ac_ext=cpp
53921 ac_cpp='$CXXCPP $CPPFLAGS'
53922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53925
53926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53927 /* end confdefs.h. */
53928 #include <math.h>
53929 int
53930 main ()
53931 {
53932 ldexpf(0, 0);
53933 ;
53934 return 0;
53935 }
53936 _ACEOF
53937 if ac_fn_cxx_try_compile "$LINENO"; then :
53938 glibcxx_cv_func_ldexpf_use=yes
53939 else
53940 glibcxx_cv_func_ldexpf_use=no
53941 fi
53942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53943 ac_ext=c
53944 ac_cpp='$CPP $CPPFLAGS'
53945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53948
53949
53950 fi
53951
53952 fi
53953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53954 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53955
53956 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53957 for ac_func in ldexpf
53958 do :
53959 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53960 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53961 cat >>confdefs.h <<_ACEOF
53962 #define HAVE_LDEXPF 1
53963 _ACEOF
53964
53965 fi
53966 done
53967
53968 else
53969
53970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53971 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53972 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53973 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53974 $as_echo_n "(cached) " >&6
53975 else
53976
53977
53978 ac_ext=cpp
53979 ac_cpp='$CXXCPP $CPPFLAGS'
53980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53983
53984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53985 /* end confdefs.h. */
53986 #include <math.h>
53987 int
53988 main ()
53989 {
53990 _ldexpf(0, 0);
53991 ;
53992 return 0;
53993 }
53994 _ACEOF
53995 if ac_fn_cxx_try_compile "$LINENO"; then :
53996 glibcxx_cv_func__ldexpf_use=yes
53997 else
53998 glibcxx_cv_func__ldexpf_use=no
53999 fi
54000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54001 ac_ext=c
54002 ac_cpp='$CPP $CPPFLAGS'
54003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54006
54007
54008 fi
54009
54010 fi
54011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54012 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54013
54014 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54015 for ac_func in _ldexpf
54016 do :
54017 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54018 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54019 cat >>confdefs.h <<_ACEOF
54020 #define HAVE__LDEXPF 1
54021 _ACEOF
54022
54023 fi
54024 done
54025
54026 fi
54027 fi
54028
54029
54030
54031
54032
54033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54034 $as_echo_n "checking for logf declaration... " >&6; }
54035 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54036 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54037 $as_echo_n "(cached) " >&6
54038 else
54039
54040
54041 ac_ext=cpp
54042 ac_cpp='$CXXCPP $CPPFLAGS'
54043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54046
54047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54048 /* end confdefs.h. */
54049 #include <math.h>
54050 #ifdef HAVE_IEEEFP_H
54051 #include <ieeefp.h>
54052 #endif
54053
54054 int
54055 main ()
54056 {
54057 logf(0);
54058 ;
54059 return 0;
54060 }
54061 _ACEOF
54062 if ac_fn_cxx_try_compile "$LINENO"; then :
54063 glibcxx_cv_func_logf_use=yes
54064 else
54065 glibcxx_cv_func_logf_use=no
54066 fi
54067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54068 ac_ext=c
54069 ac_cpp='$CPP $CPPFLAGS'
54070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54073
54074
54075 fi
54076
54077 fi
54078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54079 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54080
54081 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54082 for ac_func in logf
54083 do :
54084 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54085 if test "x$ac_cv_func_logf" = x""yes; then :
54086 cat >>confdefs.h <<_ACEOF
54087 #define HAVE_LOGF 1
54088 _ACEOF
54089
54090 fi
54091 done
54092
54093 else
54094
54095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54096 $as_echo_n "checking for _logf declaration... " >&6; }
54097 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54098 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54099 $as_echo_n "(cached) " >&6
54100 else
54101
54102
54103 ac_ext=cpp
54104 ac_cpp='$CXXCPP $CPPFLAGS'
54105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54108
54109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54110 /* end confdefs.h. */
54111 #include <math.h>
54112 #ifdef HAVE_IEEEFP_H
54113 #include <ieeefp.h>
54114 #endif
54115
54116 int
54117 main ()
54118 {
54119 _logf(0);
54120 ;
54121 return 0;
54122 }
54123 _ACEOF
54124 if ac_fn_cxx_try_compile "$LINENO"; then :
54125 glibcxx_cv_func__logf_use=yes
54126 else
54127 glibcxx_cv_func__logf_use=no
54128 fi
54129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54130 ac_ext=c
54131 ac_cpp='$CPP $CPPFLAGS'
54132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54135
54136
54137 fi
54138
54139 fi
54140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54141 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54142
54143 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54144 for ac_func in _logf
54145 do :
54146 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54147 if test "x$ac_cv_func__logf" = x""yes; then :
54148 cat >>confdefs.h <<_ACEOF
54149 #define HAVE__LOGF 1
54150 _ACEOF
54151
54152 fi
54153 done
54154
54155 fi
54156 fi
54157
54158
54159
54160
54161
54162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54163 $as_echo_n "checking for log10f declaration... " >&6; }
54164 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54165 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54166 $as_echo_n "(cached) " >&6
54167 else
54168
54169
54170 ac_ext=cpp
54171 ac_cpp='$CXXCPP $CPPFLAGS'
54172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54175
54176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54177 /* end confdefs.h. */
54178 #include <math.h>
54179 #ifdef HAVE_IEEEFP_H
54180 #include <ieeefp.h>
54181 #endif
54182
54183 int
54184 main ()
54185 {
54186 log10f(0);
54187 ;
54188 return 0;
54189 }
54190 _ACEOF
54191 if ac_fn_cxx_try_compile "$LINENO"; then :
54192 glibcxx_cv_func_log10f_use=yes
54193 else
54194 glibcxx_cv_func_log10f_use=no
54195 fi
54196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54197 ac_ext=c
54198 ac_cpp='$CPP $CPPFLAGS'
54199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54202
54203
54204 fi
54205
54206 fi
54207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54208 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54209
54210 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54211 for ac_func in log10f
54212 do :
54213 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54214 if test "x$ac_cv_func_log10f" = x""yes; then :
54215 cat >>confdefs.h <<_ACEOF
54216 #define HAVE_LOG10F 1
54217 _ACEOF
54218
54219 fi
54220 done
54221
54222 else
54223
54224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54225 $as_echo_n "checking for _log10f declaration... " >&6; }
54226 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54227 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54228 $as_echo_n "(cached) " >&6
54229 else
54230
54231
54232 ac_ext=cpp
54233 ac_cpp='$CXXCPP $CPPFLAGS'
54234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54237
54238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54239 /* end confdefs.h. */
54240 #include <math.h>
54241 #ifdef HAVE_IEEEFP_H
54242 #include <ieeefp.h>
54243 #endif
54244
54245 int
54246 main ()
54247 {
54248 _log10f(0);
54249 ;
54250 return 0;
54251 }
54252 _ACEOF
54253 if ac_fn_cxx_try_compile "$LINENO"; then :
54254 glibcxx_cv_func__log10f_use=yes
54255 else
54256 glibcxx_cv_func__log10f_use=no
54257 fi
54258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54259 ac_ext=c
54260 ac_cpp='$CPP $CPPFLAGS'
54261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54264
54265
54266 fi
54267
54268 fi
54269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54270 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54271
54272 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54273 for ac_func in _log10f
54274 do :
54275 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54276 if test "x$ac_cv_func__log10f" = x""yes; then :
54277 cat >>confdefs.h <<_ACEOF
54278 #define HAVE__LOG10F 1
54279 _ACEOF
54280
54281 fi
54282 done
54283
54284 fi
54285 fi
54286
54287
54288
54289
54290
54291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54292 $as_echo_n "checking for modff declaration... " >&6; }
54293 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54294 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54295 $as_echo_n "(cached) " >&6
54296 else
54297
54298
54299 ac_ext=cpp
54300 ac_cpp='$CXXCPP $CPPFLAGS'
54301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54304
54305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54306 /* end confdefs.h. */
54307 #include <math.h>
54308 int
54309 main ()
54310 {
54311 modff(0, 0);
54312 ;
54313 return 0;
54314 }
54315 _ACEOF
54316 if ac_fn_cxx_try_compile "$LINENO"; then :
54317 glibcxx_cv_func_modff_use=yes
54318 else
54319 glibcxx_cv_func_modff_use=no
54320 fi
54321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54322 ac_ext=c
54323 ac_cpp='$CPP $CPPFLAGS'
54324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54327
54328
54329 fi
54330
54331 fi
54332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54333 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54334
54335 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54336 for ac_func in modff
54337 do :
54338 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54339 if test "x$ac_cv_func_modff" = x""yes; then :
54340 cat >>confdefs.h <<_ACEOF
54341 #define HAVE_MODFF 1
54342 _ACEOF
54343
54344 fi
54345 done
54346
54347 else
54348
54349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54350 $as_echo_n "checking for _modff declaration... " >&6; }
54351 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54352 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54353 $as_echo_n "(cached) " >&6
54354 else
54355
54356
54357 ac_ext=cpp
54358 ac_cpp='$CXXCPP $CPPFLAGS'
54359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54362
54363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54364 /* end confdefs.h. */
54365 #include <math.h>
54366 int
54367 main ()
54368 {
54369 _modff(0, 0);
54370 ;
54371 return 0;
54372 }
54373 _ACEOF
54374 if ac_fn_cxx_try_compile "$LINENO"; then :
54375 glibcxx_cv_func__modff_use=yes
54376 else
54377 glibcxx_cv_func__modff_use=no
54378 fi
54379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54380 ac_ext=c
54381 ac_cpp='$CPP $CPPFLAGS'
54382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54385
54386
54387 fi
54388
54389 fi
54390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54391 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54392
54393 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54394 for ac_func in _modff
54395 do :
54396 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54397 if test "x$ac_cv_func__modff" = x""yes; then :
54398 cat >>confdefs.h <<_ACEOF
54399 #define HAVE__MODFF 1
54400 _ACEOF
54401
54402 fi
54403 done
54404
54405 fi
54406 fi
54407
54408
54409
54410
54411
54412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54413 $as_echo_n "checking for modf declaration... " >&6; }
54414 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54415 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54416 $as_echo_n "(cached) " >&6
54417 else
54418
54419
54420 ac_ext=cpp
54421 ac_cpp='$CXXCPP $CPPFLAGS'
54422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54425
54426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54427 /* end confdefs.h. */
54428 #include <math.h>
54429 int
54430 main ()
54431 {
54432 modf(0, 0);
54433 ;
54434 return 0;
54435 }
54436 _ACEOF
54437 if ac_fn_cxx_try_compile "$LINENO"; then :
54438 glibcxx_cv_func_modf_use=yes
54439 else
54440 glibcxx_cv_func_modf_use=no
54441 fi
54442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54443 ac_ext=c
54444 ac_cpp='$CPP $CPPFLAGS'
54445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54448
54449
54450 fi
54451
54452 fi
54453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54454 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54455
54456 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54457 for ac_func in modf
54458 do :
54459 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54460 if test "x$ac_cv_func_modf" = x""yes; then :
54461 cat >>confdefs.h <<_ACEOF
54462 #define HAVE_MODF 1
54463 _ACEOF
54464
54465 fi
54466 done
54467
54468 else
54469
54470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54471 $as_echo_n "checking for _modf declaration... " >&6; }
54472 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54473 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54474 $as_echo_n "(cached) " >&6
54475 else
54476
54477
54478 ac_ext=cpp
54479 ac_cpp='$CXXCPP $CPPFLAGS'
54480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54483
54484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54485 /* end confdefs.h. */
54486 #include <math.h>
54487 int
54488 main ()
54489 {
54490 _modf(0, 0);
54491 ;
54492 return 0;
54493 }
54494 _ACEOF
54495 if ac_fn_cxx_try_compile "$LINENO"; then :
54496 glibcxx_cv_func__modf_use=yes
54497 else
54498 glibcxx_cv_func__modf_use=no
54499 fi
54500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54501 ac_ext=c
54502 ac_cpp='$CPP $CPPFLAGS'
54503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54506
54507
54508 fi
54509
54510 fi
54511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54512 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54513
54514 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54515 for ac_func in _modf
54516 do :
54517 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54518 if test "x$ac_cv_func__modf" = x""yes; then :
54519 cat >>confdefs.h <<_ACEOF
54520 #define HAVE__MODF 1
54521 _ACEOF
54522
54523 fi
54524 done
54525
54526 fi
54527 fi
54528
54529
54530
54531
54532
54533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54534 $as_echo_n "checking for powf declaration... " >&6; }
54535 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54536 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54537 $as_echo_n "(cached) " >&6
54538 else
54539
54540
54541 ac_ext=cpp
54542 ac_cpp='$CXXCPP $CPPFLAGS'
54543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54546
54547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54548 /* end confdefs.h. */
54549 #include <math.h>
54550 int
54551 main ()
54552 {
54553 powf(0, 0);
54554 ;
54555 return 0;
54556 }
54557 _ACEOF
54558 if ac_fn_cxx_try_compile "$LINENO"; then :
54559 glibcxx_cv_func_powf_use=yes
54560 else
54561 glibcxx_cv_func_powf_use=no
54562 fi
54563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54564 ac_ext=c
54565 ac_cpp='$CPP $CPPFLAGS'
54566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54569
54570
54571 fi
54572
54573 fi
54574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54575 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54576
54577 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54578 for ac_func in powf
54579 do :
54580 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54581 if test "x$ac_cv_func_powf" = x""yes; then :
54582 cat >>confdefs.h <<_ACEOF
54583 #define HAVE_POWF 1
54584 _ACEOF
54585
54586 fi
54587 done
54588
54589 else
54590
54591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54592 $as_echo_n "checking for _powf declaration... " >&6; }
54593 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54594 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54595 $as_echo_n "(cached) " >&6
54596 else
54597
54598
54599 ac_ext=cpp
54600 ac_cpp='$CXXCPP $CPPFLAGS'
54601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54604
54605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54606 /* end confdefs.h. */
54607 #include <math.h>
54608 int
54609 main ()
54610 {
54611 _powf(0, 0);
54612 ;
54613 return 0;
54614 }
54615 _ACEOF
54616 if ac_fn_cxx_try_compile "$LINENO"; then :
54617 glibcxx_cv_func__powf_use=yes
54618 else
54619 glibcxx_cv_func__powf_use=no
54620 fi
54621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54622 ac_ext=c
54623 ac_cpp='$CPP $CPPFLAGS'
54624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54627
54628
54629 fi
54630
54631 fi
54632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54633 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54634
54635 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54636 for ac_func in _powf
54637 do :
54638 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54639 if test "x$ac_cv_func__powf" = x""yes; then :
54640 cat >>confdefs.h <<_ACEOF
54641 #define HAVE__POWF 1
54642 _ACEOF
54643
54644 fi
54645 done
54646
54647 fi
54648 fi
54649
54650
54651
54652
54653
54654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54655 $as_echo_n "checking for sqrtf declaration... " >&6; }
54656 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54657 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54658 $as_echo_n "(cached) " >&6
54659 else
54660
54661
54662 ac_ext=cpp
54663 ac_cpp='$CXXCPP $CPPFLAGS'
54664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54667
54668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54669 /* end confdefs.h. */
54670 #include <math.h>
54671 #ifdef HAVE_IEEEFP_H
54672 #include <ieeefp.h>
54673 #endif
54674
54675 int
54676 main ()
54677 {
54678 sqrtf(0);
54679 ;
54680 return 0;
54681 }
54682 _ACEOF
54683 if ac_fn_cxx_try_compile "$LINENO"; then :
54684 glibcxx_cv_func_sqrtf_use=yes
54685 else
54686 glibcxx_cv_func_sqrtf_use=no
54687 fi
54688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54689 ac_ext=c
54690 ac_cpp='$CPP $CPPFLAGS'
54691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54694
54695
54696 fi
54697
54698 fi
54699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54700 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54701
54702 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54703 for ac_func in sqrtf
54704 do :
54705 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54706 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54707 cat >>confdefs.h <<_ACEOF
54708 #define HAVE_SQRTF 1
54709 _ACEOF
54710
54711 fi
54712 done
54713
54714 else
54715
54716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54717 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54718 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54719 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54720 $as_echo_n "(cached) " >&6
54721 else
54722
54723
54724 ac_ext=cpp
54725 ac_cpp='$CXXCPP $CPPFLAGS'
54726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54729
54730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54731 /* end confdefs.h. */
54732 #include <math.h>
54733 #ifdef HAVE_IEEEFP_H
54734 #include <ieeefp.h>
54735 #endif
54736
54737 int
54738 main ()
54739 {
54740 _sqrtf(0);
54741 ;
54742 return 0;
54743 }
54744 _ACEOF
54745 if ac_fn_cxx_try_compile "$LINENO"; then :
54746 glibcxx_cv_func__sqrtf_use=yes
54747 else
54748 glibcxx_cv_func__sqrtf_use=no
54749 fi
54750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54751 ac_ext=c
54752 ac_cpp='$CPP $CPPFLAGS'
54753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54756
54757
54758 fi
54759
54760 fi
54761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54762 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54763
54764 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54765 for ac_func in _sqrtf
54766 do :
54767 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54768 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54769 cat >>confdefs.h <<_ACEOF
54770 #define HAVE__SQRTF 1
54771 _ACEOF
54772
54773 fi
54774 done
54775
54776 fi
54777 fi
54778
54779
54780
54781
54782
54783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54784 $as_echo_n "checking for sincosf declaration... " >&6; }
54785 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54786 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54787 $as_echo_n "(cached) " >&6
54788 else
54789
54790
54791 ac_ext=cpp
54792 ac_cpp='$CXXCPP $CPPFLAGS'
54793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54796
54797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54798 /* end confdefs.h. */
54799 #include <math.h>
54800 int
54801 main ()
54802 {
54803 sincosf(0, 0, 0);
54804 ;
54805 return 0;
54806 }
54807 _ACEOF
54808 if ac_fn_cxx_try_compile "$LINENO"; then :
54809 glibcxx_cv_func_sincosf_use=yes
54810 else
54811 glibcxx_cv_func_sincosf_use=no
54812 fi
54813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54814 ac_ext=c
54815 ac_cpp='$CPP $CPPFLAGS'
54816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54819
54820
54821 fi
54822
54823 fi
54824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54825 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54826
54827 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54828 for ac_func in sincosf
54829 do :
54830 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54831 if test "x$ac_cv_func_sincosf" = x""yes; then :
54832 cat >>confdefs.h <<_ACEOF
54833 #define HAVE_SINCOSF 1
54834 _ACEOF
54835
54836 fi
54837 done
54838
54839 else
54840
54841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54842 $as_echo_n "checking for _sincosf declaration... " >&6; }
54843 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54844 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54845 $as_echo_n "(cached) " >&6
54846 else
54847
54848
54849 ac_ext=cpp
54850 ac_cpp='$CXXCPP $CPPFLAGS'
54851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54854
54855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54856 /* end confdefs.h. */
54857 #include <math.h>
54858 int
54859 main ()
54860 {
54861 _sincosf(0, 0, 0);
54862 ;
54863 return 0;
54864 }
54865 _ACEOF
54866 if ac_fn_cxx_try_compile "$LINENO"; then :
54867 glibcxx_cv_func__sincosf_use=yes
54868 else
54869 glibcxx_cv_func__sincosf_use=no
54870 fi
54871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54872 ac_ext=c
54873 ac_cpp='$CPP $CPPFLAGS'
54874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54877
54878
54879 fi
54880
54881 fi
54882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54883 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54884
54885 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54886 for ac_func in _sincosf
54887 do :
54888 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54889 if test "x$ac_cv_func__sincosf" = x""yes; then :
54890 cat >>confdefs.h <<_ACEOF
54891 #define HAVE__SINCOSF 1
54892 _ACEOF
54893
54894 fi
54895 done
54896
54897 fi
54898 fi
54899
54900
54901
54902
54903
54904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54905 $as_echo_n "checking for finitef declaration... " >&6; }
54906 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54907 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54908 $as_echo_n "(cached) " >&6
54909 else
54910
54911
54912 ac_ext=cpp
54913 ac_cpp='$CXXCPP $CPPFLAGS'
54914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54917
54918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54919 /* end confdefs.h. */
54920 #include <math.h>
54921 #ifdef HAVE_IEEEFP_H
54922 #include <ieeefp.h>
54923 #endif
54924
54925 int
54926 main ()
54927 {
54928 finitef(0);
54929 ;
54930 return 0;
54931 }
54932 _ACEOF
54933 if ac_fn_cxx_try_compile "$LINENO"; then :
54934 glibcxx_cv_func_finitef_use=yes
54935 else
54936 glibcxx_cv_func_finitef_use=no
54937 fi
54938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54939 ac_ext=c
54940 ac_cpp='$CPP $CPPFLAGS'
54941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54944
54945
54946 fi
54947
54948 fi
54949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54950 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54951
54952 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54953 for ac_func in finitef
54954 do :
54955 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54956 if test "x$ac_cv_func_finitef" = x""yes; then :
54957 cat >>confdefs.h <<_ACEOF
54958 #define HAVE_FINITEF 1
54959 _ACEOF
54960
54961 fi
54962 done
54963
54964 else
54965
54966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54967 $as_echo_n "checking for _finitef declaration... " >&6; }
54968 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54969 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54970 $as_echo_n "(cached) " >&6
54971 else
54972
54973
54974 ac_ext=cpp
54975 ac_cpp='$CXXCPP $CPPFLAGS'
54976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54979
54980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54981 /* end confdefs.h. */
54982 #include <math.h>
54983 #ifdef HAVE_IEEEFP_H
54984 #include <ieeefp.h>
54985 #endif
54986
54987 int
54988 main ()
54989 {
54990 _finitef(0);
54991 ;
54992 return 0;
54993 }
54994 _ACEOF
54995 if ac_fn_cxx_try_compile "$LINENO"; then :
54996 glibcxx_cv_func__finitef_use=yes
54997 else
54998 glibcxx_cv_func__finitef_use=no
54999 fi
55000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55001 ac_ext=c
55002 ac_cpp='$CPP $CPPFLAGS'
55003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55006
55007
55008 fi
55009
55010 fi
55011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55012 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55013
55014 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55015 for ac_func in _finitef
55016 do :
55017 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55018 if test "x$ac_cv_func__finitef" = x""yes; then :
55019 cat >>confdefs.h <<_ACEOF
55020 #define HAVE__FINITEF 1
55021 _ACEOF
55022
55023 fi
55024 done
55025
55026 fi
55027 fi
55028
55029
55030
55031
55032
55033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55034 $as_echo_n "checking for long double trig functions... " >&6; }
55035 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55036 $as_echo_n "(cached) " >&6
55037 else
55038
55039
55040 ac_ext=cpp
55041 ac_cpp='$CXXCPP $CPPFLAGS'
55042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55045
55046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55047 /* end confdefs.h. */
55048 #include <math.h>
55049 int
55050 main ()
55051 {
55052 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55053 ;
55054 return 0;
55055 }
55056 _ACEOF
55057 if ac_fn_cxx_try_compile "$LINENO"; then :
55058 glibcxx_cv_func_long_double_trig_use=yes
55059 else
55060 glibcxx_cv_func_long_double_trig_use=no
55061 fi
55062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55063 ac_ext=c
55064 ac_cpp='$CPP $CPPFLAGS'
55065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55068
55069 fi
55070
55071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55072 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55073 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55074 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55075 do :
55076 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55077 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55078 eval as_val=\$$as_ac_var
55079 if test "x$as_val" = x""yes; then :
55080 cat >>confdefs.h <<_ACEOF
55081 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55082 _ACEOF
55083
55084 fi
55085 done
55086
55087 else
55088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55089 $as_echo_n "checking for _long double trig functions... " >&6; }
55090 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55091 $as_echo_n "(cached) " >&6
55092 else
55093
55094
55095 ac_ext=cpp
55096 ac_cpp='$CXXCPP $CPPFLAGS'
55097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55100
55101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55102 /* end confdefs.h. */
55103 #include <math.h>
55104 int
55105 main ()
55106 {
55107 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55108 ;
55109 return 0;
55110 }
55111 _ACEOF
55112 if ac_fn_cxx_try_compile "$LINENO"; then :
55113 glibcxx_cv_func__long_double_trig_use=yes
55114 else
55115 glibcxx_cv_func__long_double_trig_use=no
55116 fi
55117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55118 ac_ext=c
55119 ac_cpp='$CPP $CPPFLAGS'
55120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55123
55124 fi
55125
55126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55127 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55128 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55129 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55130 do :
55131 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55132 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55133 eval as_val=\$$as_ac_var
55134 if test "x$as_val" = x""yes; then :
55135 cat >>confdefs.h <<_ACEOF
55136 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55137 _ACEOF
55138
55139 fi
55140 done
55141
55142 fi
55143 fi
55144
55145
55146
55147
55148
55149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55150 $as_echo_n "checking for long double round functions... " >&6; }
55151 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55152 $as_echo_n "(cached) " >&6
55153 else
55154
55155
55156 ac_ext=cpp
55157 ac_cpp='$CXXCPP $CPPFLAGS'
55158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55161
55162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55163 /* end confdefs.h. */
55164 #include <math.h>
55165 int
55166 main ()
55167 {
55168 ceill (0); floorl (0);
55169 ;
55170 return 0;
55171 }
55172 _ACEOF
55173 if ac_fn_cxx_try_compile "$LINENO"; then :
55174 glibcxx_cv_func_long_double_round_use=yes
55175 else
55176 glibcxx_cv_func_long_double_round_use=no
55177 fi
55178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55179 ac_ext=c
55180 ac_cpp='$CPP $CPPFLAGS'
55181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55184
55185 fi
55186
55187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55188 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55189 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55190 for ac_func in ceill floorl
55191 do :
55192 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55193 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55194 eval as_val=\$$as_ac_var
55195 if test "x$as_val" = x""yes; then :
55196 cat >>confdefs.h <<_ACEOF
55197 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55198 _ACEOF
55199
55200 fi
55201 done
55202
55203 else
55204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55205 $as_echo_n "checking for _long double round functions... " >&6; }
55206 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55207 $as_echo_n "(cached) " >&6
55208 else
55209
55210
55211 ac_ext=cpp
55212 ac_cpp='$CXXCPP $CPPFLAGS'
55213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55216
55217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55218 /* end confdefs.h. */
55219 #include <math.h>
55220 int
55221 main ()
55222 {
55223 _ceill (0); _floorl (0);
55224 ;
55225 return 0;
55226 }
55227 _ACEOF
55228 if ac_fn_cxx_try_compile "$LINENO"; then :
55229 glibcxx_cv_func__long_double_round_use=yes
55230 else
55231 glibcxx_cv_func__long_double_round_use=no
55232 fi
55233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55234 ac_ext=c
55235 ac_cpp='$CPP $CPPFLAGS'
55236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55239
55240 fi
55241
55242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55243 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55244 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55245 for ac_func in _ceill _floorl
55246 do :
55247 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55248 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55249 eval as_val=\$$as_ac_var
55250 if test "x$as_val" = x""yes; then :
55251 cat >>confdefs.h <<_ACEOF
55252 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55253 _ACEOF
55254
55255 fi
55256 done
55257
55258 fi
55259 fi
55260
55261
55262
55263
55264
55265
55266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55267 $as_echo_n "checking for isnanl declaration... " >&6; }
55268 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55269 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55270 $as_echo_n "(cached) " >&6
55271 else
55272
55273
55274 ac_ext=cpp
55275 ac_cpp='$CXXCPP $CPPFLAGS'
55276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55279
55280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55281 /* end confdefs.h. */
55282 #include <math.h>
55283 #ifdef HAVE_IEEEFP_H
55284 #include <ieeefp.h>
55285 #endif
55286
55287 int
55288 main ()
55289 {
55290 isnanl(0);
55291 ;
55292 return 0;
55293 }
55294 _ACEOF
55295 if ac_fn_cxx_try_compile "$LINENO"; then :
55296 glibcxx_cv_func_isnanl_use=yes
55297 else
55298 glibcxx_cv_func_isnanl_use=no
55299 fi
55300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55301 ac_ext=c
55302 ac_cpp='$CPP $CPPFLAGS'
55303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55306
55307
55308 fi
55309
55310 fi
55311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55312 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55313
55314 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55315 for ac_func in isnanl
55316 do :
55317 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55318 if test "x$ac_cv_func_isnanl" = x""yes; then :
55319 cat >>confdefs.h <<_ACEOF
55320 #define HAVE_ISNANL 1
55321 _ACEOF
55322
55323 fi
55324 done
55325
55326 else
55327
55328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55329 $as_echo_n "checking for _isnanl declaration... " >&6; }
55330 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55331 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55332 $as_echo_n "(cached) " >&6
55333 else
55334
55335
55336 ac_ext=cpp
55337 ac_cpp='$CXXCPP $CPPFLAGS'
55338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55341
55342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55343 /* end confdefs.h. */
55344 #include <math.h>
55345 #ifdef HAVE_IEEEFP_H
55346 #include <ieeefp.h>
55347 #endif
55348
55349 int
55350 main ()
55351 {
55352 _isnanl(0);
55353 ;
55354 return 0;
55355 }
55356 _ACEOF
55357 if ac_fn_cxx_try_compile "$LINENO"; then :
55358 glibcxx_cv_func__isnanl_use=yes
55359 else
55360 glibcxx_cv_func__isnanl_use=no
55361 fi
55362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55363 ac_ext=c
55364 ac_cpp='$CPP $CPPFLAGS'
55365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55368
55369
55370 fi
55371
55372 fi
55373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55374 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55375
55376 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55377 for ac_func in _isnanl
55378 do :
55379 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55380 if test "x$ac_cv_func__isnanl" = x""yes; then :
55381 cat >>confdefs.h <<_ACEOF
55382 #define HAVE__ISNANL 1
55383 _ACEOF
55384
55385 fi
55386 done
55387
55388 fi
55389 fi
55390
55391
55392
55393
55394
55395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55396 $as_echo_n "checking for isinfl declaration... " >&6; }
55397 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55398 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55399 $as_echo_n "(cached) " >&6
55400 else
55401
55402
55403 ac_ext=cpp
55404 ac_cpp='$CXXCPP $CPPFLAGS'
55405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55408
55409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55410 /* end confdefs.h. */
55411 #include <math.h>
55412 #ifdef HAVE_IEEEFP_H
55413 #include <ieeefp.h>
55414 #endif
55415
55416 int
55417 main ()
55418 {
55419 isinfl(0);
55420 ;
55421 return 0;
55422 }
55423 _ACEOF
55424 if ac_fn_cxx_try_compile "$LINENO"; then :
55425 glibcxx_cv_func_isinfl_use=yes
55426 else
55427 glibcxx_cv_func_isinfl_use=no
55428 fi
55429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55430 ac_ext=c
55431 ac_cpp='$CPP $CPPFLAGS'
55432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55435
55436
55437 fi
55438
55439 fi
55440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55441 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55442
55443 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55444 for ac_func in isinfl
55445 do :
55446 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55447 if test "x$ac_cv_func_isinfl" = x""yes; then :
55448 cat >>confdefs.h <<_ACEOF
55449 #define HAVE_ISINFL 1
55450 _ACEOF
55451
55452 fi
55453 done
55454
55455 else
55456
55457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55458 $as_echo_n "checking for _isinfl declaration... " >&6; }
55459 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55460 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55461 $as_echo_n "(cached) " >&6
55462 else
55463
55464
55465 ac_ext=cpp
55466 ac_cpp='$CXXCPP $CPPFLAGS'
55467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55470
55471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55472 /* end confdefs.h. */
55473 #include <math.h>
55474 #ifdef HAVE_IEEEFP_H
55475 #include <ieeefp.h>
55476 #endif
55477
55478 int
55479 main ()
55480 {
55481 _isinfl(0);
55482 ;
55483 return 0;
55484 }
55485 _ACEOF
55486 if ac_fn_cxx_try_compile "$LINENO"; then :
55487 glibcxx_cv_func__isinfl_use=yes
55488 else
55489 glibcxx_cv_func__isinfl_use=no
55490 fi
55491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55492 ac_ext=c
55493 ac_cpp='$CPP $CPPFLAGS'
55494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55497
55498
55499 fi
55500
55501 fi
55502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55503 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55504
55505 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55506 for ac_func in _isinfl
55507 do :
55508 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55509 if test "x$ac_cv_func__isinfl" = x""yes; then :
55510 cat >>confdefs.h <<_ACEOF
55511 #define HAVE__ISINFL 1
55512 _ACEOF
55513
55514 fi
55515 done
55516
55517 fi
55518 fi
55519
55520
55521
55522
55523
55524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55525 $as_echo_n "checking for atan2l declaration... " >&6; }
55526 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55527 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55528 $as_echo_n "(cached) " >&6
55529 else
55530
55531
55532 ac_ext=cpp
55533 ac_cpp='$CXXCPP $CPPFLAGS'
55534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55537
55538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55539 /* end confdefs.h. */
55540 #include <math.h>
55541 int
55542 main ()
55543 {
55544 atan2l(0, 0);
55545 ;
55546 return 0;
55547 }
55548 _ACEOF
55549 if ac_fn_cxx_try_compile "$LINENO"; then :
55550 glibcxx_cv_func_atan2l_use=yes
55551 else
55552 glibcxx_cv_func_atan2l_use=no
55553 fi
55554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55555 ac_ext=c
55556 ac_cpp='$CPP $CPPFLAGS'
55557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55560
55561
55562 fi
55563
55564 fi
55565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55566 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55567
55568 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55569 for ac_func in atan2l
55570 do :
55571 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55572 if test "x$ac_cv_func_atan2l" = x""yes; then :
55573 cat >>confdefs.h <<_ACEOF
55574 #define HAVE_ATAN2L 1
55575 _ACEOF
55576
55577 fi
55578 done
55579
55580 else
55581
55582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55583 $as_echo_n "checking for _atan2l declaration... " >&6; }
55584 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55585 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55586 $as_echo_n "(cached) " >&6
55587 else
55588
55589
55590 ac_ext=cpp
55591 ac_cpp='$CXXCPP $CPPFLAGS'
55592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55595
55596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55597 /* end confdefs.h. */
55598 #include <math.h>
55599 int
55600 main ()
55601 {
55602 _atan2l(0, 0);
55603 ;
55604 return 0;
55605 }
55606 _ACEOF
55607 if ac_fn_cxx_try_compile "$LINENO"; then :
55608 glibcxx_cv_func__atan2l_use=yes
55609 else
55610 glibcxx_cv_func__atan2l_use=no
55611 fi
55612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55613 ac_ext=c
55614 ac_cpp='$CPP $CPPFLAGS'
55615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55618
55619
55620 fi
55621
55622 fi
55623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55624 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55625
55626 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55627 for ac_func in _atan2l
55628 do :
55629 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55630 if test "x$ac_cv_func__atan2l" = x""yes; then :
55631 cat >>confdefs.h <<_ACEOF
55632 #define HAVE__ATAN2L 1
55633 _ACEOF
55634
55635 fi
55636 done
55637
55638 fi
55639 fi
55640
55641
55642
55643
55644
55645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55646 $as_echo_n "checking for expl declaration... " >&6; }
55647 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55648 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55649 $as_echo_n "(cached) " >&6
55650 else
55651
55652
55653 ac_ext=cpp
55654 ac_cpp='$CXXCPP $CPPFLAGS'
55655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55658
55659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55660 /* end confdefs.h. */
55661 #include <math.h>
55662 #ifdef HAVE_IEEEFP_H
55663 #include <ieeefp.h>
55664 #endif
55665
55666 int
55667 main ()
55668 {
55669 expl(0);
55670 ;
55671 return 0;
55672 }
55673 _ACEOF
55674 if ac_fn_cxx_try_compile "$LINENO"; then :
55675 glibcxx_cv_func_expl_use=yes
55676 else
55677 glibcxx_cv_func_expl_use=no
55678 fi
55679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55680 ac_ext=c
55681 ac_cpp='$CPP $CPPFLAGS'
55682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55685
55686
55687 fi
55688
55689 fi
55690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55691 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55692
55693 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55694 for ac_func in expl
55695 do :
55696 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55697 if test "x$ac_cv_func_expl" = x""yes; then :
55698 cat >>confdefs.h <<_ACEOF
55699 #define HAVE_EXPL 1
55700 _ACEOF
55701
55702 fi
55703 done
55704
55705 else
55706
55707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55708 $as_echo_n "checking for _expl declaration... " >&6; }
55709 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55710 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55711 $as_echo_n "(cached) " >&6
55712 else
55713
55714
55715 ac_ext=cpp
55716 ac_cpp='$CXXCPP $CPPFLAGS'
55717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55720
55721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55722 /* end confdefs.h. */
55723 #include <math.h>
55724 #ifdef HAVE_IEEEFP_H
55725 #include <ieeefp.h>
55726 #endif
55727
55728 int
55729 main ()
55730 {
55731 _expl(0);
55732 ;
55733 return 0;
55734 }
55735 _ACEOF
55736 if ac_fn_cxx_try_compile "$LINENO"; then :
55737 glibcxx_cv_func__expl_use=yes
55738 else
55739 glibcxx_cv_func__expl_use=no
55740 fi
55741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55742 ac_ext=c
55743 ac_cpp='$CPP $CPPFLAGS'
55744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55747
55748
55749 fi
55750
55751 fi
55752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55753 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55754
55755 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55756 for ac_func in _expl
55757 do :
55758 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55759 if test "x$ac_cv_func__expl" = x""yes; then :
55760 cat >>confdefs.h <<_ACEOF
55761 #define HAVE__EXPL 1
55762 _ACEOF
55763
55764 fi
55765 done
55766
55767 fi
55768 fi
55769
55770
55771
55772
55773
55774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55775 $as_echo_n "checking for fabsl declaration... " >&6; }
55776 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55777 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55778 $as_echo_n "(cached) " >&6
55779 else
55780
55781
55782 ac_ext=cpp
55783 ac_cpp='$CXXCPP $CPPFLAGS'
55784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55787
55788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55789 /* end confdefs.h. */
55790 #include <math.h>
55791 #ifdef HAVE_IEEEFP_H
55792 #include <ieeefp.h>
55793 #endif
55794
55795 int
55796 main ()
55797 {
55798 fabsl(0);
55799 ;
55800 return 0;
55801 }
55802 _ACEOF
55803 if ac_fn_cxx_try_compile "$LINENO"; then :
55804 glibcxx_cv_func_fabsl_use=yes
55805 else
55806 glibcxx_cv_func_fabsl_use=no
55807 fi
55808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55809 ac_ext=c
55810 ac_cpp='$CPP $CPPFLAGS'
55811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55814
55815
55816 fi
55817
55818 fi
55819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55820 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55821
55822 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55823 for ac_func in fabsl
55824 do :
55825 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55826 if test "x$ac_cv_func_fabsl" = x""yes; then :
55827 cat >>confdefs.h <<_ACEOF
55828 #define HAVE_FABSL 1
55829 _ACEOF
55830
55831 fi
55832 done
55833
55834 else
55835
55836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55837 $as_echo_n "checking for _fabsl declaration... " >&6; }
55838 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55839 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55840 $as_echo_n "(cached) " >&6
55841 else
55842
55843
55844 ac_ext=cpp
55845 ac_cpp='$CXXCPP $CPPFLAGS'
55846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55849
55850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55851 /* end confdefs.h. */
55852 #include <math.h>
55853 #ifdef HAVE_IEEEFP_H
55854 #include <ieeefp.h>
55855 #endif
55856
55857 int
55858 main ()
55859 {
55860 _fabsl(0);
55861 ;
55862 return 0;
55863 }
55864 _ACEOF
55865 if ac_fn_cxx_try_compile "$LINENO"; then :
55866 glibcxx_cv_func__fabsl_use=yes
55867 else
55868 glibcxx_cv_func__fabsl_use=no
55869 fi
55870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55871 ac_ext=c
55872 ac_cpp='$CPP $CPPFLAGS'
55873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55876
55877
55878 fi
55879
55880 fi
55881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55882 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55883
55884 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55885 for ac_func in _fabsl
55886 do :
55887 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55888 if test "x$ac_cv_func__fabsl" = x""yes; then :
55889 cat >>confdefs.h <<_ACEOF
55890 #define HAVE__FABSL 1
55891 _ACEOF
55892
55893 fi
55894 done
55895
55896 fi
55897 fi
55898
55899
55900
55901
55902
55903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55904 $as_echo_n "checking for fmodl declaration... " >&6; }
55905 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55906 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55907 $as_echo_n "(cached) " >&6
55908 else
55909
55910
55911 ac_ext=cpp
55912 ac_cpp='$CXXCPP $CPPFLAGS'
55913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55916
55917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55918 /* end confdefs.h. */
55919 #include <math.h>
55920 int
55921 main ()
55922 {
55923 fmodl(0, 0);
55924 ;
55925 return 0;
55926 }
55927 _ACEOF
55928 if ac_fn_cxx_try_compile "$LINENO"; then :
55929 glibcxx_cv_func_fmodl_use=yes
55930 else
55931 glibcxx_cv_func_fmodl_use=no
55932 fi
55933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55934 ac_ext=c
55935 ac_cpp='$CPP $CPPFLAGS'
55936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55939
55940
55941 fi
55942
55943 fi
55944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55945 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55946
55947 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55948 for ac_func in fmodl
55949 do :
55950 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55951 if test "x$ac_cv_func_fmodl" = x""yes; then :
55952 cat >>confdefs.h <<_ACEOF
55953 #define HAVE_FMODL 1
55954 _ACEOF
55955
55956 fi
55957 done
55958
55959 else
55960
55961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55962 $as_echo_n "checking for _fmodl declaration... " >&6; }
55963 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55964 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55965 $as_echo_n "(cached) " >&6
55966 else
55967
55968
55969 ac_ext=cpp
55970 ac_cpp='$CXXCPP $CPPFLAGS'
55971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55974
55975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55976 /* end confdefs.h. */
55977 #include <math.h>
55978 int
55979 main ()
55980 {
55981 _fmodl(0, 0);
55982 ;
55983 return 0;
55984 }
55985 _ACEOF
55986 if ac_fn_cxx_try_compile "$LINENO"; then :
55987 glibcxx_cv_func__fmodl_use=yes
55988 else
55989 glibcxx_cv_func__fmodl_use=no
55990 fi
55991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55992 ac_ext=c
55993 ac_cpp='$CPP $CPPFLAGS'
55994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55997
55998
55999 fi
56000
56001 fi
56002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56003 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56004
56005 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56006 for ac_func in _fmodl
56007 do :
56008 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56009 if test "x$ac_cv_func__fmodl" = x""yes; then :
56010 cat >>confdefs.h <<_ACEOF
56011 #define HAVE__FMODL 1
56012 _ACEOF
56013
56014 fi
56015 done
56016
56017 fi
56018 fi
56019
56020
56021
56022
56023
56024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56025 $as_echo_n "checking for frexpl declaration... " >&6; }
56026 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56027 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56028 $as_echo_n "(cached) " >&6
56029 else
56030
56031
56032 ac_ext=cpp
56033 ac_cpp='$CXXCPP $CPPFLAGS'
56034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56037
56038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56039 /* end confdefs.h. */
56040 #include <math.h>
56041 int
56042 main ()
56043 {
56044 frexpl(0, 0);
56045 ;
56046 return 0;
56047 }
56048 _ACEOF
56049 if ac_fn_cxx_try_compile "$LINENO"; then :
56050 glibcxx_cv_func_frexpl_use=yes
56051 else
56052 glibcxx_cv_func_frexpl_use=no
56053 fi
56054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56055 ac_ext=c
56056 ac_cpp='$CPP $CPPFLAGS'
56057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56060
56061
56062 fi
56063
56064 fi
56065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56066 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56067
56068 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56069 for ac_func in frexpl
56070 do :
56071 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56072 if test "x$ac_cv_func_frexpl" = x""yes; then :
56073 cat >>confdefs.h <<_ACEOF
56074 #define HAVE_FREXPL 1
56075 _ACEOF
56076
56077 fi
56078 done
56079
56080 else
56081
56082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56083 $as_echo_n "checking for _frexpl declaration... " >&6; }
56084 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56085 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56086 $as_echo_n "(cached) " >&6
56087 else
56088
56089
56090 ac_ext=cpp
56091 ac_cpp='$CXXCPP $CPPFLAGS'
56092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56095
56096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56097 /* end confdefs.h. */
56098 #include <math.h>
56099 int
56100 main ()
56101 {
56102 _frexpl(0, 0);
56103 ;
56104 return 0;
56105 }
56106 _ACEOF
56107 if ac_fn_cxx_try_compile "$LINENO"; then :
56108 glibcxx_cv_func__frexpl_use=yes
56109 else
56110 glibcxx_cv_func__frexpl_use=no
56111 fi
56112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56113 ac_ext=c
56114 ac_cpp='$CPP $CPPFLAGS'
56115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56118
56119
56120 fi
56121
56122 fi
56123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56124 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56125
56126 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56127 for ac_func in _frexpl
56128 do :
56129 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56130 if test "x$ac_cv_func__frexpl" = x""yes; then :
56131 cat >>confdefs.h <<_ACEOF
56132 #define HAVE__FREXPL 1
56133 _ACEOF
56134
56135 fi
56136 done
56137
56138 fi
56139 fi
56140
56141
56142
56143
56144
56145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56146 $as_echo_n "checking for hypotl declaration... " >&6; }
56147 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56148 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56149 $as_echo_n "(cached) " >&6
56150 else
56151
56152
56153 ac_ext=cpp
56154 ac_cpp='$CXXCPP $CPPFLAGS'
56155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56158
56159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56160 /* end confdefs.h. */
56161 #include <math.h>
56162 int
56163 main ()
56164 {
56165 hypotl(0, 0);
56166 ;
56167 return 0;
56168 }
56169 _ACEOF
56170 if ac_fn_cxx_try_compile "$LINENO"; then :
56171 glibcxx_cv_func_hypotl_use=yes
56172 else
56173 glibcxx_cv_func_hypotl_use=no
56174 fi
56175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56176 ac_ext=c
56177 ac_cpp='$CPP $CPPFLAGS'
56178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56181
56182
56183 fi
56184
56185 fi
56186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56187 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56188
56189 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56190 for ac_func in hypotl
56191 do :
56192 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56193 if test "x$ac_cv_func_hypotl" = x""yes; then :
56194 cat >>confdefs.h <<_ACEOF
56195 #define HAVE_HYPOTL 1
56196 _ACEOF
56197
56198 fi
56199 done
56200
56201 else
56202
56203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56204 $as_echo_n "checking for _hypotl declaration... " >&6; }
56205 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56206 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56207 $as_echo_n "(cached) " >&6
56208 else
56209
56210
56211 ac_ext=cpp
56212 ac_cpp='$CXXCPP $CPPFLAGS'
56213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56216
56217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56218 /* end confdefs.h. */
56219 #include <math.h>
56220 int
56221 main ()
56222 {
56223 _hypotl(0, 0);
56224 ;
56225 return 0;
56226 }
56227 _ACEOF
56228 if ac_fn_cxx_try_compile "$LINENO"; then :
56229 glibcxx_cv_func__hypotl_use=yes
56230 else
56231 glibcxx_cv_func__hypotl_use=no
56232 fi
56233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56234 ac_ext=c
56235 ac_cpp='$CPP $CPPFLAGS'
56236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56239
56240
56241 fi
56242
56243 fi
56244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56245 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56246
56247 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56248 for ac_func in _hypotl
56249 do :
56250 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56251 if test "x$ac_cv_func__hypotl" = x""yes; then :
56252 cat >>confdefs.h <<_ACEOF
56253 #define HAVE__HYPOTL 1
56254 _ACEOF
56255
56256 fi
56257 done
56258
56259 fi
56260 fi
56261
56262
56263
56264
56265
56266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56267 $as_echo_n "checking for ldexpl declaration... " >&6; }
56268 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56269 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56270 $as_echo_n "(cached) " >&6
56271 else
56272
56273
56274 ac_ext=cpp
56275 ac_cpp='$CXXCPP $CPPFLAGS'
56276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56279
56280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56281 /* end confdefs.h. */
56282 #include <math.h>
56283 int
56284 main ()
56285 {
56286 ldexpl(0, 0);
56287 ;
56288 return 0;
56289 }
56290 _ACEOF
56291 if ac_fn_cxx_try_compile "$LINENO"; then :
56292 glibcxx_cv_func_ldexpl_use=yes
56293 else
56294 glibcxx_cv_func_ldexpl_use=no
56295 fi
56296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56297 ac_ext=c
56298 ac_cpp='$CPP $CPPFLAGS'
56299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56302
56303
56304 fi
56305
56306 fi
56307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56308 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56309
56310 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56311 for ac_func in ldexpl
56312 do :
56313 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56314 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56315 cat >>confdefs.h <<_ACEOF
56316 #define HAVE_LDEXPL 1
56317 _ACEOF
56318
56319 fi
56320 done
56321
56322 else
56323
56324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56325 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56326 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56327 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56328 $as_echo_n "(cached) " >&6
56329 else
56330
56331
56332 ac_ext=cpp
56333 ac_cpp='$CXXCPP $CPPFLAGS'
56334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56337
56338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56339 /* end confdefs.h. */
56340 #include <math.h>
56341 int
56342 main ()
56343 {
56344 _ldexpl(0, 0);
56345 ;
56346 return 0;
56347 }
56348 _ACEOF
56349 if ac_fn_cxx_try_compile "$LINENO"; then :
56350 glibcxx_cv_func__ldexpl_use=yes
56351 else
56352 glibcxx_cv_func__ldexpl_use=no
56353 fi
56354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56355 ac_ext=c
56356 ac_cpp='$CPP $CPPFLAGS'
56357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56360
56361
56362 fi
56363
56364 fi
56365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56366 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56367
56368 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56369 for ac_func in _ldexpl
56370 do :
56371 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56372 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56373 cat >>confdefs.h <<_ACEOF
56374 #define HAVE__LDEXPL 1
56375 _ACEOF
56376
56377 fi
56378 done
56379
56380 fi
56381 fi
56382
56383
56384
56385
56386
56387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56388 $as_echo_n "checking for logl declaration... " >&6; }
56389 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56390 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56391 $as_echo_n "(cached) " >&6
56392 else
56393
56394
56395 ac_ext=cpp
56396 ac_cpp='$CXXCPP $CPPFLAGS'
56397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56400
56401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56402 /* end confdefs.h. */
56403 #include <math.h>
56404 #ifdef HAVE_IEEEFP_H
56405 #include <ieeefp.h>
56406 #endif
56407
56408 int
56409 main ()
56410 {
56411 logl(0);
56412 ;
56413 return 0;
56414 }
56415 _ACEOF
56416 if ac_fn_cxx_try_compile "$LINENO"; then :
56417 glibcxx_cv_func_logl_use=yes
56418 else
56419 glibcxx_cv_func_logl_use=no
56420 fi
56421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56422 ac_ext=c
56423 ac_cpp='$CPP $CPPFLAGS'
56424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56427
56428
56429 fi
56430
56431 fi
56432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56433 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56434
56435 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56436 for ac_func in logl
56437 do :
56438 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56439 if test "x$ac_cv_func_logl" = x""yes; then :
56440 cat >>confdefs.h <<_ACEOF
56441 #define HAVE_LOGL 1
56442 _ACEOF
56443
56444 fi
56445 done
56446
56447 else
56448
56449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56450 $as_echo_n "checking for _logl declaration... " >&6; }
56451 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56452 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56453 $as_echo_n "(cached) " >&6
56454 else
56455
56456
56457 ac_ext=cpp
56458 ac_cpp='$CXXCPP $CPPFLAGS'
56459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56462
56463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56464 /* end confdefs.h. */
56465 #include <math.h>
56466 #ifdef HAVE_IEEEFP_H
56467 #include <ieeefp.h>
56468 #endif
56469
56470 int
56471 main ()
56472 {
56473 _logl(0);
56474 ;
56475 return 0;
56476 }
56477 _ACEOF
56478 if ac_fn_cxx_try_compile "$LINENO"; then :
56479 glibcxx_cv_func__logl_use=yes
56480 else
56481 glibcxx_cv_func__logl_use=no
56482 fi
56483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56484 ac_ext=c
56485 ac_cpp='$CPP $CPPFLAGS'
56486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56489
56490
56491 fi
56492
56493 fi
56494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56495 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56496
56497 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56498 for ac_func in _logl
56499 do :
56500 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56501 if test "x$ac_cv_func__logl" = x""yes; then :
56502 cat >>confdefs.h <<_ACEOF
56503 #define HAVE__LOGL 1
56504 _ACEOF
56505
56506 fi
56507 done
56508
56509 fi
56510 fi
56511
56512
56513
56514
56515
56516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56517 $as_echo_n "checking for log10l declaration... " >&6; }
56518 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56519 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56520 $as_echo_n "(cached) " >&6
56521 else
56522
56523
56524 ac_ext=cpp
56525 ac_cpp='$CXXCPP $CPPFLAGS'
56526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56529
56530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56531 /* end confdefs.h. */
56532 #include <math.h>
56533 #ifdef HAVE_IEEEFP_H
56534 #include <ieeefp.h>
56535 #endif
56536
56537 int
56538 main ()
56539 {
56540 log10l(0);
56541 ;
56542 return 0;
56543 }
56544 _ACEOF
56545 if ac_fn_cxx_try_compile "$LINENO"; then :
56546 glibcxx_cv_func_log10l_use=yes
56547 else
56548 glibcxx_cv_func_log10l_use=no
56549 fi
56550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56551 ac_ext=c
56552 ac_cpp='$CPP $CPPFLAGS'
56553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56556
56557
56558 fi
56559
56560 fi
56561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56562 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56563
56564 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56565 for ac_func in log10l
56566 do :
56567 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56568 if test "x$ac_cv_func_log10l" = x""yes; then :
56569 cat >>confdefs.h <<_ACEOF
56570 #define HAVE_LOG10L 1
56571 _ACEOF
56572
56573 fi
56574 done
56575
56576 else
56577
56578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56579 $as_echo_n "checking for _log10l declaration... " >&6; }
56580 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56581 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56582 $as_echo_n "(cached) " >&6
56583 else
56584
56585
56586 ac_ext=cpp
56587 ac_cpp='$CXXCPP $CPPFLAGS'
56588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56591
56592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56593 /* end confdefs.h. */
56594 #include <math.h>
56595 #ifdef HAVE_IEEEFP_H
56596 #include <ieeefp.h>
56597 #endif
56598
56599 int
56600 main ()
56601 {
56602 _log10l(0);
56603 ;
56604 return 0;
56605 }
56606 _ACEOF
56607 if ac_fn_cxx_try_compile "$LINENO"; then :
56608 glibcxx_cv_func__log10l_use=yes
56609 else
56610 glibcxx_cv_func__log10l_use=no
56611 fi
56612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56613 ac_ext=c
56614 ac_cpp='$CPP $CPPFLAGS'
56615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56618
56619
56620 fi
56621
56622 fi
56623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56624 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56625
56626 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56627 for ac_func in _log10l
56628 do :
56629 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56630 if test "x$ac_cv_func__log10l" = x""yes; then :
56631 cat >>confdefs.h <<_ACEOF
56632 #define HAVE__LOG10L 1
56633 _ACEOF
56634
56635 fi
56636 done
56637
56638 fi
56639 fi
56640
56641
56642
56643
56644
56645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56646 $as_echo_n "checking for modfl declaration... " >&6; }
56647 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56648 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56649 $as_echo_n "(cached) " >&6
56650 else
56651
56652
56653 ac_ext=cpp
56654 ac_cpp='$CXXCPP $CPPFLAGS'
56655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56658
56659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56660 /* end confdefs.h. */
56661 #include <math.h>
56662 int
56663 main ()
56664 {
56665 modfl(0, 0);
56666 ;
56667 return 0;
56668 }
56669 _ACEOF
56670 if ac_fn_cxx_try_compile "$LINENO"; then :
56671 glibcxx_cv_func_modfl_use=yes
56672 else
56673 glibcxx_cv_func_modfl_use=no
56674 fi
56675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56676 ac_ext=c
56677 ac_cpp='$CPP $CPPFLAGS'
56678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56681
56682
56683 fi
56684
56685 fi
56686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56687 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56688
56689 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56690 for ac_func in modfl
56691 do :
56692 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56693 if test "x$ac_cv_func_modfl" = x""yes; then :
56694 cat >>confdefs.h <<_ACEOF
56695 #define HAVE_MODFL 1
56696 _ACEOF
56697
56698 fi
56699 done
56700
56701 else
56702
56703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56704 $as_echo_n "checking for _modfl declaration... " >&6; }
56705 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56706 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56707 $as_echo_n "(cached) " >&6
56708 else
56709
56710
56711 ac_ext=cpp
56712 ac_cpp='$CXXCPP $CPPFLAGS'
56713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56716
56717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56718 /* end confdefs.h. */
56719 #include <math.h>
56720 int
56721 main ()
56722 {
56723 _modfl(0, 0);
56724 ;
56725 return 0;
56726 }
56727 _ACEOF
56728 if ac_fn_cxx_try_compile "$LINENO"; then :
56729 glibcxx_cv_func__modfl_use=yes
56730 else
56731 glibcxx_cv_func__modfl_use=no
56732 fi
56733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56734 ac_ext=c
56735 ac_cpp='$CPP $CPPFLAGS'
56736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56739
56740
56741 fi
56742
56743 fi
56744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56745 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56746
56747 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56748 for ac_func in _modfl
56749 do :
56750 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56751 if test "x$ac_cv_func__modfl" = x""yes; then :
56752 cat >>confdefs.h <<_ACEOF
56753 #define HAVE__MODFL 1
56754 _ACEOF
56755
56756 fi
56757 done
56758
56759 fi
56760 fi
56761
56762
56763
56764
56765
56766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56767 $as_echo_n "checking for powl declaration... " >&6; }
56768 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56769 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56770 $as_echo_n "(cached) " >&6
56771 else
56772
56773
56774 ac_ext=cpp
56775 ac_cpp='$CXXCPP $CPPFLAGS'
56776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56779
56780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56781 /* end confdefs.h. */
56782 #include <math.h>
56783 int
56784 main ()
56785 {
56786 powl(0, 0);
56787 ;
56788 return 0;
56789 }
56790 _ACEOF
56791 if ac_fn_cxx_try_compile "$LINENO"; then :
56792 glibcxx_cv_func_powl_use=yes
56793 else
56794 glibcxx_cv_func_powl_use=no
56795 fi
56796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56797 ac_ext=c
56798 ac_cpp='$CPP $CPPFLAGS'
56799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56802
56803
56804 fi
56805
56806 fi
56807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56808 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56809
56810 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56811 for ac_func in powl
56812 do :
56813 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56814 if test "x$ac_cv_func_powl" = x""yes; then :
56815 cat >>confdefs.h <<_ACEOF
56816 #define HAVE_POWL 1
56817 _ACEOF
56818
56819 fi
56820 done
56821
56822 else
56823
56824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56825 $as_echo_n "checking for _powl declaration... " >&6; }
56826 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56827 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56828 $as_echo_n "(cached) " >&6
56829 else
56830
56831
56832 ac_ext=cpp
56833 ac_cpp='$CXXCPP $CPPFLAGS'
56834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56837
56838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56839 /* end confdefs.h. */
56840 #include <math.h>
56841 int
56842 main ()
56843 {
56844 _powl(0, 0);
56845 ;
56846 return 0;
56847 }
56848 _ACEOF
56849 if ac_fn_cxx_try_compile "$LINENO"; then :
56850 glibcxx_cv_func__powl_use=yes
56851 else
56852 glibcxx_cv_func__powl_use=no
56853 fi
56854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56855 ac_ext=c
56856 ac_cpp='$CPP $CPPFLAGS'
56857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56860
56861
56862 fi
56863
56864 fi
56865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56866 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56867
56868 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56869 for ac_func in _powl
56870 do :
56871 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56872 if test "x$ac_cv_func__powl" = x""yes; then :
56873 cat >>confdefs.h <<_ACEOF
56874 #define HAVE__POWL 1
56875 _ACEOF
56876
56877 fi
56878 done
56879
56880 fi
56881 fi
56882
56883
56884
56885
56886
56887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56888 $as_echo_n "checking for sqrtl declaration... " >&6; }
56889 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56890 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56891 $as_echo_n "(cached) " >&6
56892 else
56893
56894
56895 ac_ext=cpp
56896 ac_cpp='$CXXCPP $CPPFLAGS'
56897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56900
56901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56902 /* end confdefs.h. */
56903 #include <math.h>
56904 #ifdef HAVE_IEEEFP_H
56905 #include <ieeefp.h>
56906 #endif
56907
56908 int
56909 main ()
56910 {
56911 sqrtl(0);
56912 ;
56913 return 0;
56914 }
56915 _ACEOF
56916 if ac_fn_cxx_try_compile "$LINENO"; then :
56917 glibcxx_cv_func_sqrtl_use=yes
56918 else
56919 glibcxx_cv_func_sqrtl_use=no
56920 fi
56921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56922 ac_ext=c
56923 ac_cpp='$CPP $CPPFLAGS'
56924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56927
56928
56929 fi
56930
56931 fi
56932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56933 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56934
56935 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56936 for ac_func in sqrtl
56937 do :
56938 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56939 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56940 cat >>confdefs.h <<_ACEOF
56941 #define HAVE_SQRTL 1
56942 _ACEOF
56943
56944 fi
56945 done
56946
56947 else
56948
56949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56950 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56951 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56952 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56953 $as_echo_n "(cached) " >&6
56954 else
56955
56956
56957 ac_ext=cpp
56958 ac_cpp='$CXXCPP $CPPFLAGS'
56959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56962
56963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56964 /* end confdefs.h. */
56965 #include <math.h>
56966 #ifdef HAVE_IEEEFP_H
56967 #include <ieeefp.h>
56968 #endif
56969
56970 int
56971 main ()
56972 {
56973 _sqrtl(0);
56974 ;
56975 return 0;
56976 }
56977 _ACEOF
56978 if ac_fn_cxx_try_compile "$LINENO"; then :
56979 glibcxx_cv_func__sqrtl_use=yes
56980 else
56981 glibcxx_cv_func__sqrtl_use=no
56982 fi
56983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56984 ac_ext=c
56985 ac_cpp='$CPP $CPPFLAGS'
56986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56989
56990
56991 fi
56992
56993 fi
56994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56995 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56996
56997 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56998 for ac_func in _sqrtl
56999 do :
57000 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57001 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57002 cat >>confdefs.h <<_ACEOF
57003 #define HAVE__SQRTL 1
57004 _ACEOF
57005
57006 fi
57007 done
57008
57009 fi
57010 fi
57011
57012
57013
57014
57015
57016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57017 $as_echo_n "checking for sincosl declaration... " >&6; }
57018 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57019 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57020 $as_echo_n "(cached) " >&6
57021 else
57022
57023
57024 ac_ext=cpp
57025 ac_cpp='$CXXCPP $CPPFLAGS'
57026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57029
57030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57031 /* end confdefs.h. */
57032 #include <math.h>
57033 int
57034 main ()
57035 {
57036 sincosl(0, 0, 0);
57037 ;
57038 return 0;
57039 }
57040 _ACEOF
57041 if ac_fn_cxx_try_compile "$LINENO"; then :
57042 glibcxx_cv_func_sincosl_use=yes
57043 else
57044 glibcxx_cv_func_sincosl_use=no
57045 fi
57046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57047 ac_ext=c
57048 ac_cpp='$CPP $CPPFLAGS'
57049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57052
57053
57054 fi
57055
57056 fi
57057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57058 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57059
57060 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57061 for ac_func in sincosl
57062 do :
57063 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57064 if test "x$ac_cv_func_sincosl" = x""yes; then :
57065 cat >>confdefs.h <<_ACEOF
57066 #define HAVE_SINCOSL 1
57067 _ACEOF
57068
57069 fi
57070 done
57071
57072 else
57073
57074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57075 $as_echo_n "checking for _sincosl declaration... " >&6; }
57076 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57077 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57078 $as_echo_n "(cached) " >&6
57079 else
57080
57081
57082 ac_ext=cpp
57083 ac_cpp='$CXXCPP $CPPFLAGS'
57084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57087
57088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57089 /* end confdefs.h. */
57090 #include <math.h>
57091 int
57092 main ()
57093 {
57094 _sincosl(0, 0, 0);
57095 ;
57096 return 0;
57097 }
57098 _ACEOF
57099 if ac_fn_cxx_try_compile "$LINENO"; then :
57100 glibcxx_cv_func__sincosl_use=yes
57101 else
57102 glibcxx_cv_func__sincosl_use=no
57103 fi
57104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57105 ac_ext=c
57106 ac_cpp='$CPP $CPPFLAGS'
57107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57110
57111
57112 fi
57113
57114 fi
57115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57116 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57117
57118 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57119 for ac_func in _sincosl
57120 do :
57121 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57122 if test "x$ac_cv_func__sincosl" = x""yes; then :
57123 cat >>confdefs.h <<_ACEOF
57124 #define HAVE__SINCOSL 1
57125 _ACEOF
57126
57127 fi
57128 done
57129
57130 fi
57131 fi
57132
57133
57134
57135
57136
57137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57138 $as_echo_n "checking for finitel declaration... " >&6; }
57139 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57140 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57141 $as_echo_n "(cached) " >&6
57142 else
57143
57144
57145 ac_ext=cpp
57146 ac_cpp='$CXXCPP $CPPFLAGS'
57147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57150
57151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57152 /* end confdefs.h. */
57153 #include <math.h>
57154 #ifdef HAVE_IEEEFP_H
57155 #include <ieeefp.h>
57156 #endif
57157
57158 int
57159 main ()
57160 {
57161 finitel(0);
57162 ;
57163 return 0;
57164 }
57165 _ACEOF
57166 if ac_fn_cxx_try_compile "$LINENO"; then :
57167 glibcxx_cv_func_finitel_use=yes
57168 else
57169 glibcxx_cv_func_finitel_use=no
57170 fi
57171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57172 ac_ext=c
57173 ac_cpp='$CPP $CPPFLAGS'
57174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57177
57178
57179 fi
57180
57181 fi
57182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57183 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57184
57185 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57186 for ac_func in finitel
57187 do :
57188 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57189 if test "x$ac_cv_func_finitel" = x""yes; then :
57190 cat >>confdefs.h <<_ACEOF
57191 #define HAVE_FINITEL 1
57192 _ACEOF
57193
57194 fi
57195 done
57196
57197 else
57198
57199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57200 $as_echo_n "checking for _finitel declaration... " >&6; }
57201 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57202 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57203 $as_echo_n "(cached) " >&6
57204 else
57205
57206
57207 ac_ext=cpp
57208 ac_cpp='$CXXCPP $CPPFLAGS'
57209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57212
57213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57214 /* end confdefs.h. */
57215 #include <math.h>
57216 #ifdef HAVE_IEEEFP_H
57217 #include <ieeefp.h>
57218 #endif
57219
57220 int
57221 main ()
57222 {
57223 _finitel(0);
57224 ;
57225 return 0;
57226 }
57227 _ACEOF
57228 if ac_fn_cxx_try_compile "$LINENO"; then :
57229 glibcxx_cv_func__finitel_use=yes
57230 else
57231 glibcxx_cv_func__finitel_use=no
57232 fi
57233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57234 ac_ext=c
57235 ac_cpp='$CPP $CPPFLAGS'
57236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57239
57240
57241 fi
57242
57243 fi
57244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57245 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57246
57247 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57248 for ac_func in _finitel
57249 do :
57250 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57251 if test "x$ac_cv_func__finitel" = x""yes; then :
57252 cat >>confdefs.h <<_ACEOF
57253 #define HAVE__FINITEL 1
57254 _ACEOF
57255
57256 fi
57257 done
57258
57259 fi
57260 fi
57261
57262
57263
57264
57265 LIBS="$ac_save_LIBS"
57266 CXXFLAGS="$ac_save_CXXFLAGS"
57267
57268
57269 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57270 ac_save_CXXFLAGS="$CXXFLAGS"
57271 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57272
57273
57274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57275 $as_echo_n "checking for strtold declaration... " >&6; }
57276 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57277 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57278 $as_echo_n "(cached) " >&6
57279 else
57280
57281
57282 ac_ext=cpp
57283 ac_cpp='$CXXCPP $CPPFLAGS'
57284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57287
57288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57289 /* end confdefs.h. */
57290 #include <stdlib.h>
57291 int
57292 main ()
57293 {
57294 strtold(0, 0);
57295 ;
57296 return 0;
57297 }
57298 _ACEOF
57299 if ac_fn_cxx_try_compile "$LINENO"; then :
57300 glibcxx_cv_func_strtold_use=yes
57301 else
57302 glibcxx_cv_func_strtold_use=no
57303 fi
57304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57305 ac_ext=c
57306 ac_cpp='$CPP $CPPFLAGS'
57307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57310
57311
57312 fi
57313
57314 fi
57315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57316 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57317 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57318 for ac_func in strtold
57319 do :
57320 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57321 if test "x$ac_cv_func_strtold" = x""yes; then :
57322 cat >>confdefs.h <<_ACEOF
57323 #define HAVE_STRTOLD 1
57324 _ACEOF
57325
57326 fi
57327 done
57328
57329 fi
57330
57331
57332
57333
57334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57335 $as_echo_n "checking for strtof declaration... " >&6; }
57336 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57337 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57338 $as_echo_n "(cached) " >&6
57339 else
57340
57341
57342 ac_ext=cpp
57343 ac_cpp='$CXXCPP $CPPFLAGS'
57344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57347
57348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57349 /* end confdefs.h. */
57350 #include <stdlib.h>
57351 int
57352 main ()
57353 {
57354 strtof(0, 0);
57355 ;
57356 return 0;
57357 }
57358 _ACEOF
57359 if ac_fn_cxx_try_compile "$LINENO"; then :
57360 glibcxx_cv_func_strtof_use=yes
57361 else
57362 glibcxx_cv_func_strtof_use=no
57363 fi
57364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57365 ac_ext=c
57366 ac_cpp='$CPP $CPPFLAGS'
57367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57370
57371
57372 fi
57373
57374 fi
57375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57376 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57377 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57378 for ac_func in strtof
57379 do :
57380 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57381 if test "x$ac_cv_func_strtof" = x""yes; then :
57382 cat >>confdefs.h <<_ACEOF
57383 #define HAVE_STRTOF 1
57384 _ACEOF
57385
57386 fi
57387 done
57388
57389 fi
57390
57391
57392
57393
57394 CXXFLAGS="$ac_save_CXXFLAGS"
57395
57396 ;;
57397 *-netbsd*)
57398 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57399
57400
57401 # If we're not using GNU ld, then there's no point in even trying these
57402 # tests. Check for that first. We should have already tested for gld
57403 # by now (in libtool), but require it now just to be safe...
57404 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57405 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57406
57407
57408
57409 # The name set by libtool depends on the version of libtool. Shame on us
57410 # for depending on an impl detail, but c'est la vie. Older versions used
57411 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57412 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57413 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57414 # set (hence we're using an older libtool), then set it.
57415 if test x${with_gnu_ld+set} != xset; then
57416 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57417 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57418 with_gnu_ld=no
57419 else
57420 with_gnu_ld=$ac_cv_prog_gnu_ld
57421 fi
57422 fi
57423
57424 # Start by getting the version number. I think the libtool test already
57425 # does some of this, but throws away the result.
57426 glibcxx_ld_is_gold=no
57427 if test x"$with_gnu_ld" = x"yes"; then
57428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57429 $as_echo_n "checking for ld version... " >&6; }
57430
57431 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57432 glibcxx_ld_is_gold=yes
57433 fi
57434 ldver=`$LD --version 2>/dev/null |
57435 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'`
57436
57437 glibcxx_gnu_ld_version=`echo $ldver | \
57438 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57440 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57441 fi
57442
57443 # Set --gc-sections.
57444 glibcxx_have_gc_sections=no
57445 if test "$glibcxx_ld_is_gold" = "yes"; then
57446 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57447 glibcxx_have_gc_sections=yes
57448 fi
57449 else
57450 glibcxx_gcsections_min_ld=21602
57451 if test x"$with_gnu_ld" = x"yes" &&
57452 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57453 glibcxx_have_gc_sections=yes
57454 fi
57455 fi
57456 if test "$glibcxx_have_gc_sections" = "yes"; then
57457 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57458 # NB: This flag only works reliably after 2.16.1. Configure tests
57459 # for this are difficult, so hard wire a value that should work.
57460
57461 ac_test_CFLAGS="${CFLAGS+set}"
57462 ac_save_CFLAGS="$CFLAGS"
57463 CFLAGS='-Wl,--gc-sections'
57464
57465 # Check for -Wl,--gc-sections
57466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57467 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57468 if test x$gcc_no_link = xyes; then
57469 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57470 fi
57471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57472 /* end confdefs.h. */
57473 int one(void) { return 1; }
57474 int two(void) { return 2; }
57475
57476 int
57477 main ()
57478 {
57479 two();
57480 ;
57481 return 0;
57482 }
57483 _ACEOF
57484 if ac_fn_c_try_link "$LINENO"; then :
57485 ac_gcsections=yes
57486 else
57487 ac_gcsections=no
57488 fi
57489 rm -f core conftest.err conftest.$ac_objext \
57490 conftest$ac_exeext conftest.$ac_ext
57491 if test "$ac_gcsections" = "yes"; then
57492 rm -f conftest.c
57493 touch conftest.c
57494 if $CC -c conftest.c; then
57495 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57496 grep "Warning: gc-sections option ignored" > /dev/null; then
57497 ac_gcsections=no
57498 fi
57499 fi
57500 rm -f conftest.c conftest.o conftest
57501 fi
57502 if test "$ac_gcsections" = "yes"; then
57503 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57504 fi
57505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57506 $as_echo "$ac_gcsections" >&6; }
57507
57508 if test "$ac_test_CFLAGS" = set; then
57509 CFLAGS="$ac_save_CFLAGS"
57510 else
57511 # this is the suspicious part
57512 CFLAGS=''
57513 fi
57514 fi
57515
57516 # Set -z,relro.
57517 # Note this is only for shared objects.
57518 ac_ld_relro=no
57519 if test x"$with_gnu_ld" = x"yes"; then
57520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57521 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57522 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57523 if test -n "$cxx_z_relo"; then
57524 OPT_LDFLAGS="-Wl,-z,relro"
57525 ac_ld_relro=yes
57526 fi
57527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57528 $as_echo "$ac_ld_relro" >&6; }
57529 fi
57530
57531 # Set linker optimization flags.
57532 if test x"$with_gnu_ld" = x"yes"; then
57533 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57534 fi
57535
57536
57537
57538
57539 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57540
57541 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57542
57543 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57544
57545 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57546
57547 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57548
57549 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57550
57551 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57552
57553 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57554
57555 if test x"long_double_math_on_this_cpu" = x"yes"; then
57556 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57557
57558 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57559
57560 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57561
57562 fi
57563 ;;
57564 *-qnx6.1* | *-qnx6.2*)
57565 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57566
57567
57568 # If we're not using GNU ld, then there's no point in even trying these
57569 # tests. Check for that first. We should have already tested for gld
57570 # by now (in libtool), but require it now just to be safe...
57571 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57572 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57573
57574
57575
57576 # The name set by libtool depends on the version of libtool. Shame on us
57577 # for depending on an impl detail, but c'est la vie. Older versions used
57578 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57579 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57580 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57581 # set (hence we're using an older libtool), then set it.
57582 if test x${with_gnu_ld+set} != xset; then
57583 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57584 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57585 with_gnu_ld=no
57586 else
57587 with_gnu_ld=$ac_cv_prog_gnu_ld
57588 fi
57589 fi
57590
57591 # Start by getting the version number. I think the libtool test already
57592 # does some of this, but throws away the result.
57593 glibcxx_ld_is_gold=no
57594 if test x"$with_gnu_ld" = x"yes"; then
57595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57596 $as_echo_n "checking for ld version... " >&6; }
57597
57598 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57599 glibcxx_ld_is_gold=yes
57600 fi
57601 ldver=`$LD --version 2>/dev/null |
57602 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'`
57603
57604 glibcxx_gnu_ld_version=`echo $ldver | \
57605 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57607 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57608 fi
57609
57610 # Set --gc-sections.
57611 glibcxx_have_gc_sections=no
57612 if test "$glibcxx_ld_is_gold" = "yes"; then
57613 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57614 glibcxx_have_gc_sections=yes
57615 fi
57616 else
57617 glibcxx_gcsections_min_ld=21602
57618 if test x"$with_gnu_ld" = x"yes" &&
57619 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57620 glibcxx_have_gc_sections=yes
57621 fi
57622 fi
57623 if test "$glibcxx_have_gc_sections" = "yes"; then
57624 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57625 # NB: This flag only works reliably after 2.16.1. Configure tests
57626 # for this are difficult, so hard wire a value that should work.
57627
57628 ac_test_CFLAGS="${CFLAGS+set}"
57629 ac_save_CFLAGS="$CFLAGS"
57630 CFLAGS='-Wl,--gc-sections'
57631
57632 # Check for -Wl,--gc-sections
57633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57634 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57635 if test x$gcc_no_link = xyes; then
57636 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57637 fi
57638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57639 /* end confdefs.h. */
57640 int one(void) { return 1; }
57641 int two(void) { return 2; }
57642
57643 int
57644 main ()
57645 {
57646 two();
57647 ;
57648 return 0;
57649 }
57650 _ACEOF
57651 if ac_fn_c_try_link "$LINENO"; then :
57652 ac_gcsections=yes
57653 else
57654 ac_gcsections=no
57655 fi
57656 rm -f core conftest.err conftest.$ac_objext \
57657 conftest$ac_exeext conftest.$ac_ext
57658 if test "$ac_gcsections" = "yes"; then
57659 rm -f conftest.c
57660 touch conftest.c
57661 if $CC -c conftest.c; then
57662 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57663 grep "Warning: gc-sections option ignored" > /dev/null; then
57664 ac_gcsections=no
57665 fi
57666 fi
57667 rm -f conftest.c conftest.o conftest
57668 fi
57669 if test "$ac_gcsections" = "yes"; then
57670 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57671 fi
57672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57673 $as_echo "$ac_gcsections" >&6; }
57674
57675 if test "$ac_test_CFLAGS" = set; then
57676 CFLAGS="$ac_save_CFLAGS"
57677 else
57678 # this is the suspicious part
57679 CFLAGS=''
57680 fi
57681 fi
57682
57683 # Set -z,relro.
57684 # Note this is only for shared objects.
57685 ac_ld_relro=no
57686 if test x"$with_gnu_ld" = x"yes"; then
57687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57688 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57689 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57690 if test -n "$cxx_z_relo"; then
57691 OPT_LDFLAGS="-Wl,-z,relro"
57692 ac_ld_relro=yes
57693 fi
57694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57695 $as_echo "$ac_ld_relro" >&6; }
57696 fi
57697
57698 # Set linker optimization flags.
57699 if test x"$with_gnu_ld" = x"yes"; then
57700 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57701 fi
57702
57703
57704
57705
57706 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57707
57708 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57709
57710 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57711
57712 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57713
57714 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57715
57716 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57717
57718 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57719
57720 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57721
57722 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57723
57724 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57725
57726 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57727
57728 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57729
57730 ;;
57731 *-rtems*)
57732
57733 # All these tests are for C++; save the language and the compiler flags.
57734 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57735 # found in GLIBCXX_CONFIGURE.
57736
57737 ac_ext=cpp
57738 ac_cpp='$CXXCPP $CPPFLAGS'
57739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57742
57743 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57744 ac_save_CXXFLAGS="$CXXFLAGS"
57745
57746 # Check for maintainer-mode bits.
57747 if test x"$USE_MAINTAINER_MODE" = xno; then
57748 WERROR=''
57749 else
57750 WERROR='-Werror'
57751 fi
57752
57753 # Check for -ffunction-sections -fdata-sections
57754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57755 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57756 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57758 /* end confdefs.h. */
57759 int foo; void bar() { };
57760 int
57761 main ()
57762 {
57763
57764 ;
57765 return 0;
57766 }
57767 _ACEOF
57768 if ac_fn_cxx_try_compile "$LINENO"; then :
57769 ac_fdsections=yes
57770 else
57771 ac_fdsections=no
57772 fi
57773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57774 if test "$ac_test_CXXFLAGS" = set; then
57775 CXXFLAGS="$ac_save_CXXFLAGS"
57776 else
57777 # this is the suspicious part
57778 CXXFLAGS=''
57779 fi
57780 if test x"$ac_fdsections" = x"yes"; then
57781 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57782 fi
57783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57784 $as_echo "$ac_fdsections" >&6; }
57785
57786 ac_ext=c
57787 ac_cpp='$CPP $CPPFLAGS'
57788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57791
57792
57793
57794
57795
57796 # If we're not using GNU ld, then there's no point in even trying these
57797 # tests. Check for that first. We should have already tested for gld
57798 # by now (in libtool), but require it now just to be safe...
57799 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57800 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57801
57802
57803
57804 # The name set by libtool depends on the version of libtool. Shame on us
57805 # for depending on an impl detail, but c'est la vie. Older versions used
57806 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57807 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57808 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57809 # set (hence we're using an older libtool), then set it.
57810 if test x${with_gnu_ld+set} != xset; then
57811 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57812 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57813 with_gnu_ld=no
57814 else
57815 with_gnu_ld=$ac_cv_prog_gnu_ld
57816 fi
57817 fi
57818
57819 # Start by getting the version number. I think the libtool test already
57820 # does some of this, but throws away the result.
57821 glibcxx_ld_is_gold=no
57822 if test x"$with_gnu_ld" = x"yes"; then
57823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57824 $as_echo_n "checking for ld version... " >&6; }
57825
57826 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57827 glibcxx_ld_is_gold=yes
57828 fi
57829 ldver=`$LD --version 2>/dev/null |
57830 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'`
57831
57832 glibcxx_gnu_ld_version=`echo $ldver | \
57833 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57835 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57836 fi
57837
57838 # Set --gc-sections.
57839 glibcxx_have_gc_sections=no
57840 if test "$glibcxx_ld_is_gold" = "yes"; then
57841 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57842 glibcxx_have_gc_sections=yes
57843 fi
57844 else
57845 glibcxx_gcsections_min_ld=21602
57846 if test x"$with_gnu_ld" = x"yes" &&
57847 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57848 glibcxx_have_gc_sections=yes
57849 fi
57850 fi
57851 if test "$glibcxx_have_gc_sections" = "yes"; then
57852 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57853 # NB: This flag only works reliably after 2.16.1. Configure tests
57854 # for this are difficult, so hard wire a value that should work.
57855
57856 ac_test_CFLAGS="${CFLAGS+set}"
57857 ac_save_CFLAGS="$CFLAGS"
57858 CFLAGS='-Wl,--gc-sections'
57859
57860 # Check for -Wl,--gc-sections
57861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57862 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57863 if test x$gcc_no_link = xyes; then
57864 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57865 fi
57866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57867 /* end confdefs.h. */
57868 int one(void) { return 1; }
57869 int two(void) { return 2; }
57870
57871 int
57872 main ()
57873 {
57874 two();
57875 ;
57876 return 0;
57877 }
57878 _ACEOF
57879 if ac_fn_c_try_link "$LINENO"; then :
57880 ac_gcsections=yes
57881 else
57882 ac_gcsections=no
57883 fi
57884 rm -f core conftest.err conftest.$ac_objext \
57885 conftest$ac_exeext conftest.$ac_ext
57886 if test "$ac_gcsections" = "yes"; then
57887 rm -f conftest.c
57888 touch conftest.c
57889 if $CC -c conftest.c; then
57890 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57891 grep "Warning: gc-sections option ignored" > /dev/null; then
57892 ac_gcsections=no
57893 fi
57894 fi
57895 rm -f conftest.c conftest.o conftest
57896 fi
57897 if test "$ac_gcsections" = "yes"; then
57898 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57899 fi
57900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57901 $as_echo "$ac_gcsections" >&6; }
57902
57903 if test "$ac_test_CFLAGS" = set; then
57904 CFLAGS="$ac_save_CFLAGS"
57905 else
57906 # this is the suspicious part
57907 CFLAGS=''
57908 fi
57909 fi
57910
57911 # Set -z,relro.
57912 # Note this is only for shared objects.
57913 ac_ld_relro=no
57914 if test x"$with_gnu_ld" = x"yes"; then
57915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57916 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57917 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57918 if test -n "$cxx_z_relo"; then
57919 OPT_LDFLAGS="-Wl,-z,relro"
57920 ac_ld_relro=yes
57921 fi
57922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57923 $as_echo "$ac_ld_relro" >&6; }
57924 fi
57925
57926 # Set linker optimization flags.
57927 if test x"$with_gnu_ld" = x"yes"; then
57928 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57929 fi
57930
57931
57932
57933
57934
57935 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57936 ac_save_CXXFLAGS="$CXXFLAGS"
57937 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57938
57939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57940 $as_echo_n "checking for sin in -lm... " >&6; }
57941 if test "${ac_cv_lib_m_sin+set}" = set; then :
57942 $as_echo_n "(cached) " >&6
57943 else
57944 ac_check_lib_save_LIBS=$LIBS
57945 LIBS="-lm $LIBS"
57946 if test x$gcc_no_link = xyes; then
57947 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57948 fi
57949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57950 /* end confdefs.h. */
57951
57952 /* Override any GCC internal prototype to avoid an error.
57953 Use char because int might match the return type of a GCC
57954 builtin and then its argument prototype would still apply. */
57955 #ifdef __cplusplus
57956 extern "C"
57957 #endif
57958 char sin ();
57959 int
57960 main ()
57961 {
57962 return sin ();
57963 ;
57964 return 0;
57965 }
57966 _ACEOF
57967 if ac_fn_c_try_link "$LINENO"; then :
57968 ac_cv_lib_m_sin=yes
57969 else
57970 ac_cv_lib_m_sin=no
57971 fi
57972 rm -f core conftest.err conftest.$ac_objext \
57973 conftest$ac_exeext conftest.$ac_ext
57974 LIBS=$ac_check_lib_save_LIBS
57975 fi
57976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57977 $as_echo "$ac_cv_lib_m_sin" >&6; }
57978 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57979 libm="-lm"
57980 fi
57981
57982 ac_save_LIBS="$LIBS"
57983 LIBS="$LIBS $libm"
57984
57985
57986
57987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57988 $as_echo_n "checking for isinf declaration... " >&6; }
57989 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57990 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57991 $as_echo_n "(cached) " >&6
57992 else
57993
57994
57995 ac_ext=cpp
57996 ac_cpp='$CXXCPP $CPPFLAGS'
57997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58000
58001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58002 /* end confdefs.h. */
58003 #include <math.h>
58004 #ifdef HAVE_IEEEFP_H
58005 #include <ieeefp.h>
58006 #endif
58007
58008 int
58009 main ()
58010 {
58011 isinf(0);
58012 ;
58013 return 0;
58014 }
58015 _ACEOF
58016 if ac_fn_cxx_try_compile "$LINENO"; then :
58017 glibcxx_cv_func_isinf_use=yes
58018 else
58019 glibcxx_cv_func_isinf_use=no
58020 fi
58021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58022 ac_ext=c
58023 ac_cpp='$CPP $CPPFLAGS'
58024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58027
58028
58029 fi
58030
58031 fi
58032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58033 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58034
58035 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58036 for ac_func in isinf
58037 do :
58038 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58039 if test "x$ac_cv_func_isinf" = x""yes; then :
58040 cat >>confdefs.h <<_ACEOF
58041 #define HAVE_ISINF 1
58042 _ACEOF
58043
58044 fi
58045 done
58046
58047 else
58048
58049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58050 $as_echo_n "checking for _isinf declaration... " >&6; }
58051 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58052 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58053 $as_echo_n "(cached) " >&6
58054 else
58055
58056
58057 ac_ext=cpp
58058 ac_cpp='$CXXCPP $CPPFLAGS'
58059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58062
58063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58064 /* end confdefs.h. */
58065 #include <math.h>
58066 #ifdef HAVE_IEEEFP_H
58067 #include <ieeefp.h>
58068 #endif
58069
58070 int
58071 main ()
58072 {
58073 _isinf(0);
58074 ;
58075 return 0;
58076 }
58077 _ACEOF
58078 if ac_fn_cxx_try_compile "$LINENO"; then :
58079 glibcxx_cv_func__isinf_use=yes
58080 else
58081 glibcxx_cv_func__isinf_use=no
58082 fi
58083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58084 ac_ext=c
58085 ac_cpp='$CPP $CPPFLAGS'
58086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58089
58090
58091 fi
58092
58093 fi
58094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58095 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58096
58097 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58098 for ac_func in _isinf
58099 do :
58100 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58101 if test "x$ac_cv_func__isinf" = x""yes; then :
58102 cat >>confdefs.h <<_ACEOF
58103 #define HAVE__ISINF 1
58104 _ACEOF
58105
58106 fi
58107 done
58108
58109 fi
58110 fi
58111
58112
58113
58114
58115
58116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58117 $as_echo_n "checking for isnan declaration... " >&6; }
58118 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58119 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58120 $as_echo_n "(cached) " >&6
58121 else
58122
58123
58124 ac_ext=cpp
58125 ac_cpp='$CXXCPP $CPPFLAGS'
58126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58129
58130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58131 /* end confdefs.h. */
58132 #include <math.h>
58133 #ifdef HAVE_IEEEFP_H
58134 #include <ieeefp.h>
58135 #endif
58136
58137 int
58138 main ()
58139 {
58140 isnan(0);
58141 ;
58142 return 0;
58143 }
58144 _ACEOF
58145 if ac_fn_cxx_try_compile "$LINENO"; then :
58146 glibcxx_cv_func_isnan_use=yes
58147 else
58148 glibcxx_cv_func_isnan_use=no
58149 fi
58150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58151 ac_ext=c
58152 ac_cpp='$CPP $CPPFLAGS'
58153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58156
58157
58158 fi
58159
58160 fi
58161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58162 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58163
58164 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58165 for ac_func in isnan
58166 do :
58167 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58168 if test "x$ac_cv_func_isnan" = x""yes; then :
58169 cat >>confdefs.h <<_ACEOF
58170 #define HAVE_ISNAN 1
58171 _ACEOF
58172
58173 fi
58174 done
58175
58176 else
58177
58178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58179 $as_echo_n "checking for _isnan declaration... " >&6; }
58180 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58181 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58182 $as_echo_n "(cached) " >&6
58183 else
58184
58185
58186 ac_ext=cpp
58187 ac_cpp='$CXXCPP $CPPFLAGS'
58188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58191
58192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58193 /* end confdefs.h. */
58194 #include <math.h>
58195 #ifdef HAVE_IEEEFP_H
58196 #include <ieeefp.h>
58197 #endif
58198
58199 int
58200 main ()
58201 {
58202 _isnan(0);
58203 ;
58204 return 0;
58205 }
58206 _ACEOF
58207 if ac_fn_cxx_try_compile "$LINENO"; then :
58208 glibcxx_cv_func__isnan_use=yes
58209 else
58210 glibcxx_cv_func__isnan_use=no
58211 fi
58212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58213 ac_ext=c
58214 ac_cpp='$CPP $CPPFLAGS'
58215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58218
58219
58220 fi
58221
58222 fi
58223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58224 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58225
58226 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58227 for ac_func in _isnan
58228 do :
58229 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58230 if test "x$ac_cv_func__isnan" = x""yes; then :
58231 cat >>confdefs.h <<_ACEOF
58232 #define HAVE__ISNAN 1
58233 _ACEOF
58234
58235 fi
58236 done
58237
58238 fi
58239 fi
58240
58241
58242
58243
58244
58245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58246 $as_echo_n "checking for finite declaration... " >&6; }
58247 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58248 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58249 $as_echo_n "(cached) " >&6
58250 else
58251
58252
58253 ac_ext=cpp
58254 ac_cpp='$CXXCPP $CPPFLAGS'
58255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58258
58259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58260 /* end confdefs.h. */
58261 #include <math.h>
58262 #ifdef HAVE_IEEEFP_H
58263 #include <ieeefp.h>
58264 #endif
58265
58266 int
58267 main ()
58268 {
58269 finite(0);
58270 ;
58271 return 0;
58272 }
58273 _ACEOF
58274 if ac_fn_cxx_try_compile "$LINENO"; then :
58275 glibcxx_cv_func_finite_use=yes
58276 else
58277 glibcxx_cv_func_finite_use=no
58278 fi
58279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58280 ac_ext=c
58281 ac_cpp='$CPP $CPPFLAGS'
58282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58285
58286
58287 fi
58288
58289 fi
58290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58291 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58292
58293 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58294 for ac_func in finite
58295 do :
58296 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58297 if test "x$ac_cv_func_finite" = x""yes; then :
58298 cat >>confdefs.h <<_ACEOF
58299 #define HAVE_FINITE 1
58300 _ACEOF
58301
58302 fi
58303 done
58304
58305 else
58306
58307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58308 $as_echo_n "checking for _finite declaration... " >&6; }
58309 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58310 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58311 $as_echo_n "(cached) " >&6
58312 else
58313
58314
58315 ac_ext=cpp
58316 ac_cpp='$CXXCPP $CPPFLAGS'
58317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58320
58321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58322 /* end confdefs.h. */
58323 #include <math.h>
58324 #ifdef HAVE_IEEEFP_H
58325 #include <ieeefp.h>
58326 #endif
58327
58328 int
58329 main ()
58330 {
58331 _finite(0);
58332 ;
58333 return 0;
58334 }
58335 _ACEOF
58336 if ac_fn_cxx_try_compile "$LINENO"; then :
58337 glibcxx_cv_func__finite_use=yes
58338 else
58339 glibcxx_cv_func__finite_use=no
58340 fi
58341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58342 ac_ext=c
58343 ac_cpp='$CPP $CPPFLAGS'
58344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58347
58348
58349 fi
58350
58351 fi
58352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58353 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58354
58355 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58356 for ac_func in _finite
58357 do :
58358 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58359 if test "x$ac_cv_func__finite" = x""yes; then :
58360 cat >>confdefs.h <<_ACEOF
58361 #define HAVE__FINITE 1
58362 _ACEOF
58363
58364 fi
58365 done
58366
58367 fi
58368 fi
58369
58370
58371
58372
58373
58374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58375 $as_echo_n "checking for sincos declaration... " >&6; }
58376 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58377 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58378 $as_echo_n "(cached) " >&6
58379 else
58380
58381
58382 ac_ext=cpp
58383 ac_cpp='$CXXCPP $CPPFLAGS'
58384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58387
58388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58389 /* end confdefs.h. */
58390 #include <math.h>
58391 int
58392 main ()
58393 {
58394 sincos(0, 0, 0);
58395 ;
58396 return 0;
58397 }
58398 _ACEOF
58399 if ac_fn_cxx_try_compile "$LINENO"; then :
58400 glibcxx_cv_func_sincos_use=yes
58401 else
58402 glibcxx_cv_func_sincos_use=no
58403 fi
58404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58405 ac_ext=c
58406 ac_cpp='$CPP $CPPFLAGS'
58407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58410
58411
58412 fi
58413
58414 fi
58415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58416 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58417
58418 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58419 for ac_func in sincos
58420 do :
58421 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58422 if test "x$ac_cv_func_sincos" = x""yes; then :
58423 cat >>confdefs.h <<_ACEOF
58424 #define HAVE_SINCOS 1
58425 _ACEOF
58426
58427 fi
58428 done
58429
58430 else
58431
58432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58433 $as_echo_n "checking for _sincos declaration... " >&6; }
58434 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58435 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58436 $as_echo_n "(cached) " >&6
58437 else
58438
58439
58440 ac_ext=cpp
58441 ac_cpp='$CXXCPP $CPPFLAGS'
58442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58445
58446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58447 /* end confdefs.h. */
58448 #include <math.h>
58449 int
58450 main ()
58451 {
58452 _sincos(0, 0, 0);
58453 ;
58454 return 0;
58455 }
58456 _ACEOF
58457 if ac_fn_cxx_try_compile "$LINENO"; then :
58458 glibcxx_cv_func__sincos_use=yes
58459 else
58460 glibcxx_cv_func__sincos_use=no
58461 fi
58462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58463 ac_ext=c
58464 ac_cpp='$CPP $CPPFLAGS'
58465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58468
58469
58470 fi
58471
58472 fi
58473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58474 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58475
58476 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58477 for ac_func in _sincos
58478 do :
58479 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58480 if test "x$ac_cv_func__sincos" = x""yes; then :
58481 cat >>confdefs.h <<_ACEOF
58482 #define HAVE__SINCOS 1
58483 _ACEOF
58484
58485 fi
58486 done
58487
58488 fi
58489 fi
58490
58491
58492
58493
58494
58495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58496 $as_echo_n "checking for fpclass declaration... " >&6; }
58497 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58498 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58499 $as_echo_n "(cached) " >&6
58500 else
58501
58502
58503 ac_ext=cpp
58504 ac_cpp='$CXXCPP $CPPFLAGS'
58505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58508
58509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58510 /* end confdefs.h. */
58511 #include <math.h>
58512 #ifdef HAVE_IEEEFP_H
58513 #include <ieeefp.h>
58514 #endif
58515
58516 int
58517 main ()
58518 {
58519 fpclass(0);
58520 ;
58521 return 0;
58522 }
58523 _ACEOF
58524 if ac_fn_cxx_try_compile "$LINENO"; then :
58525 glibcxx_cv_func_fpclass_use=yes
58526 else
58527 glibcxx_cv_func_fpclass_use=no
58528 fi
58529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58530 ac_ext=c
58531 ac_cpp='$CPP $CPPFLAGS'
58532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58535
58536
58537 fi
58538
58539 fi
58540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58541 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58542
58543 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58544 for ac_func in fpclass
58545 do :
58546 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58547 if test "x$ac_cv_func_fpclass" = x""yes; then :
58548 cat >>confdefs.h <<_ACEOF
58549 #define HAVE_FPCLASS 1
58550 _ACEOF
58551
58552 fi
58553 done
58554
58555 else
58556
58557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58558 $as_echo_n "checking for _fpclass declaration... " >&6; }
58559 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58560 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58561 $as_echo_n "(cached) " >&6
58562 else
58563
58564
58565 ac_ext=cpp
58566 ac_cpp='$CXXCPP $CPPFLAGS'
58567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58570
58571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58572 /* end confdefs.h. */
58573 #include <math.h>
58574 #ifdef HAVE_IEEEFP_H
58575 #include <ieeefp.h>
58576 #endif
58577
58578 int
58579 main ()
58580 {
58581 _fpclass(0);
58582 ;
58583 return 0;
58584 }
58585 _ACEOF
58586 if ac_fn_cxx_try_compile "$LINENO"; then :
58587 glibcxx_cv_func__fpclass_use=yes
58588 else
58589 glibcxx_cv_func__fpclass_use=no
58590 fi
58591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58592 ac_ext=c
58593 ac_cpp='$CPP $CPPFLAGS'
58594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58597
58598
58599 fi
58600
58601 fi
58602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58603 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58604
58605 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58606 for ac_func in _fpclass
58607 do :
58608 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58609 if test "x$ac_cv_func__fpclass" = x""yes; then :
58610 cat >>confdefs.h <<_ACEOF
58611 #define HAVE__FPCLASS 1
58612 _ACEOF
58613
58614 fi
58615 done
58616
58617 fi
58618 fi
58619
58620
58621
58622
58623
58624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58625 $as_echo_n "checking for qfpclass declaration... " >&6; }
58626 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58627 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58628 $as_echo_n "(cached) " >&6
58629 else
58630
58631
58632 ac_ext=cpp
58633 ac_cpp='$CXXCPP $CPPFLAGS'
58634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58637
58638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58639 /* end confdefs.h. */
58640 #include <math.h>
58641 #ifdef HAVE_IEEEFP_H
58642 #include <ieeefp.h>
58643 #endif
58644
58645 int
58646 main ()
58647 {
58648 qfpclass(0);
58649 ;
58650 return 0;
58651 }
58652 _ACEOF
58653 if ac_fn_cxx_try_compile "$LINENO"; then :
58654 glibcxx_cv_func_qfpclass_use=yes
58655 else
58656 glibcxx_cv_func_qfpclass_use=no
58657 fi
58658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58659 ac_ext=c
58660 ac_cpp='$CPP $CPPFLAGS'
58661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58664
58665
58666 fi
58667
58668 fi
58669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58670 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58671
58672 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58673 for ac_func in qfpclass
58674 do :
58675 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58676 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58677 cat >>confdefs.h <<_ACEOF
58678 #define HAVE_QFPCLASS 1
58679 _ACEOF
58680
58681 fi
58682 done
58683
58684 else
58685
58686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58687 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58688 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58689 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58690 $as_echo_n "(cached) " >&6
58691 else
58692
58693
58694 ac_ext=cpp
58695 ac_cpp='$CXXCPP $CPPFLAGS'
58696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58699
58700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58701 /* end confdefs.h. */
58702 #include <math.h>
58703 #ifdef HAVE_IEEEFP_H
58704 #include <ieeefp.h>
58705 #endif
58706
58707 int
58708 main ()
58709 {
58710 _qfpclass(0);
58711 ;
58712 return 0;
58713 }
58714 _ACEOF
58715 if ac_fn_cxx_try_compile "$LINENO"; then :
58716 glibcxx_cv_func__qfpclass_use=yes
58717 else
58718 glibcxx_cv_func__qfpclass_use=no
58719 fi
58720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58721 ac_ext=c
58722 ac_cpp='$CPP $CPPFLAGS'
58723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58726
58727
58728 fi
58729
58730 fi
58731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58732 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58733
58734 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58735 for ac_func in _qfpclass
58736 do :
58737 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58738 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58739 cat >>confdefs.h <<_ACEOF
58740 #define HAVE__QFPCLASS 1
58741 _ACEOF
58742
58743 fi
58744 done
58745
58746 fi
58747 fi
58748
58749
58750
58751
58752
58753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58754 $as_echo_n "checking for hypot declaration... " >&6; }
58755 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58756 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58757 $as_echo_n "(cached) " >&6
58758 else
58759
58760
58761 ac_ext=cpp
58762 ac_cpp='$CXXCPP $CPPFLAGS'
58763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58766
58767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58768 /* end confdefs.h. */
58769 #include <math.h>
58770 int
58771 main ()
58772 {
58773 hypot(0, 0);
58774 ;
58775 return 0;
58776 }
58777 _ACEOF
58778 if ac_fn_cxx_try_compile "$LINENO"; then :
58779 glibcxx_cv_func_hypot_use=yes
58780 else
58781 glibcxx_cv_func_hypot_use=no
58782 fi
58783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58784 ac_ext=c
58785 ac_cpp='$CPP $CPPFLAGS'
58786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58789
58790
58791 fi
58792
58793 fi
58794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58795 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58796
58797 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58798 for ac_func in hypot
58799 do :
58800 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58801 if test "x$ac_cv_func_hypot" = x""yes; then :
58802 cat >>confdefs.h <<_ACEOF
58803 #define HAVE_HYPOT 1
58804 _ACEOF
58805
58806 fi
58807 done
58808
58809 else
58810
58811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58812 $as_echo_n "checking for _hypot declaration... " >&6; }
58813 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58814 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58815 $as_echo_n "(cached) " >&6
58816 else
58817
58818
58819 ac_ext=cpp
58820 ac_cpp='$CXXCPP $CPPFLAGS'
58821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58824
58825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58826 /* end confdefs.h. */
58827 #include <math.h>
58828 int
58829 main ()
58830 {
58831 _hypot(0, 0);
58832 ;
58833 return 0;
58834 }
58835 _ACEOF
58836 if ac_fn_cxx_try_compile "$LINENO"; then :
58837 glibcxx_cv_func__hypot_use=yes
58838 else
58839 glibcxx_cv_func__hypot_use=no
58840 fi
58841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58842 ac_ext=c
58843 ac_cpp='$CPP $CPPFLAGS'
58844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58847
58848
58849 fi
58850
58851 fi
58852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58853 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58854
58855 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58856 for ac_func in _hypot
58857 do :
58858 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58859 if test "x$ac_cv_func__hypot" = x""yes; then :
58860 cat >>confdefs.h <<_ACEOF
58861 #define HAVE__HYPOT 1
58862 _ACEOF
58863
58864 fi
58865 done
58866
58867 fi
58868 fi
58869
58870
58871
58872
58873
58874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58875 $as_echo_n "checking for float trig functions... " >&6; }
58876 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58877 $as_echo_n "(cached) " >&6
58878 else
58879
58880
58881 ac_ext=cpp
58882 ac_cpp='$CXXCPP $CPPFLAGS'
58883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58886
58887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58888 /* end confdefs.h. */
58889 #include <math.h>
58890 int
58891 main ()
58892 {
58893 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58894 ;
58895 return 0;
58896 }
58897 _ACEOF
58898 if ac_fn_cxx_try_compile "$LINENO"; then :
58899 glibcxx_cv_func_float_trig_use=yes
58900 else
58901 glibcxx_cv_func_float_trig_use=no
58902 fi
58903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58904 ac_ext=c
58905 ac_cpp='$CPP $CPPFLAGS'
58906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58909
58910 fi
58911
58912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58913 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58914 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58915 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58916 do :
58917 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58918 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58919 eval as_val=\$$as_ac_var
58920 if test "x$as_val" = x""yes; then :
58921 cat >>confdefs.h <<_ACEOF
58922 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58923 _ACEOF
58924
58925 fi
58926 done
58927
58928 else
58929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58930 $as_echo_n "checking for _float trig functions... " >&6; }
58931 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58932 $as_echo_n "(cached) " >&6
58933 else
58934
58935
58936 ac_ext=cpp
58937 ac_cpp='$CXXCPP $CPPFLAGS'
58938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58941
58942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58943 /* end confdefs.h. */
58944 #include <math.h>
58945 int
58946 main ()
58947 {
58948 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58949 ;
58950 return 0;
58951 }
58952 _ACEOF
58953 if ac_fn_cxx_try_compile "$LINENO"; then :
58954 glibcxx_cv_func__float_trig_use=yes
58955 else
58956 glibcxx_cv_func__float_trig_use=no
58957 fi
58958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58959 ac_ext=c
58960 ac_cpp='$CPP $CPPFLAGS'
58961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58964
58965 fi
58966
58967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58968 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58969 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58970 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58971 do :
58972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58973 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58974 eval as_val=\$$as_ac_var
58975 if test "x$as_val" = x""yes; then :
58976 cat >>confdefs.h <<_ACEOF
58977 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58978 _ACEOF
58979
58980 fi
58981 done
58982
58983 fi
58984 fi
58985
58986
58987
58988
58989
58990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58991 $as_echo_n "checking for float round functions... " >&6; }
58992 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
58993 $as_echo_n "(cached) " >&6
58994 else
58995
58996
58997 ac_ext=cpp
58998 ac_cpp='$CXXCPP $CPPFLAGS'
58999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59002
59003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59004 /* end confdefs.h. */
59005 #include <math.h>
59006 int
59007 main ()
59008 {
59009 ceilf (0); floorf (0);
59010 ;
59011 return 0;
59012 }
59013 _ACEOF
59014 if ac_fn_cxx_try_compile "$LINENO"; then :
59015 glibcxx_cv_func_float_round_use=yes
59016 else
59017 glibcxx_cv_func_float_round_use=no
59018 fi
59019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59020 ac_ext=c
59021 ac_cpp='$CPP $CPPFLAGS'
59022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59025
59026 fi
59027
59028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59029 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59030 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59031 for ac_func in ceilf floorf
59032 do :
59033 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59034 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59035 eval as_val=\$$as_ac_var
59036 if test "x$as_val" = x""yes; then :
59037 cat >>confdefs.h <<_ACEOF
59038 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59039 _ACEOF
59040
59041 fi
59042 done
59043
59044 else
59045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59046 $as_echo_n "checking for _float round functions... " >&6; }
59047 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59048 $as_echo_n "(cached) " >&6
59049 else
59050
59051
59052 ac_ext=cpp
59053 ac_cpp='$CXXCPP $CPPFLAGS'
59054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59057
59058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59059 /* end confdefs.h. */
59060 #include <math.h>
59061 int
59062 main ()
59063 {
59064 _ceilf (0); _floorf (0);
59065 ;
59066 return 0;
59067 }
59068 _ACEOF
59069 if ac_fn_cxx_try_compile "$LINENO"; then :
59070 glibcxx_cv_func__float_round_use=yes
59071 else
59072 glibcxx_cv_func__float_round_use=no
59073 fi
59074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59075 ac_ext=c
59076 ac_cpp='$CPP $CPPFLAGS'
59077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59080
59081 fi
59082
59083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59084 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59085 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59086 for ac_func in _ceilf _floorf
59087 do :
59088 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59089 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59090 eval as_val=\$$as_ac_var
59091 if test "x$as_val" = x""yes; then :
59092 cat >>confdefs.h <<_ACEOF
59093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59094 _ACEOF
59095
59096 fi
59097 done
59098
59099 fi
59100 fi
59101
59102
59103
59104
59105
59106
59107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59108 $as_echo_n "checking for expf declaration... " >&6; }
59109 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59110 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59111 $as_echo_n "(cached) " >&6
59112 else
59113
59114
59115 ac_ext=cpp
59116 ac_cpp='$CXXCPP $CPPFLAGS'
59117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59120
59121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59122 /* end confdefs.h. */
59123 #include <math.h>
59124 #ifdef HAVE_IEEEFP_H
59125 #include <ieeefp.h>
59126 #endif
59127
59128 int
59129 main ()
59130 {
59131 expf(0);
59132 ;
59133 return 0;
59134 }
59135 _ACEOF
59136 if ac_fn_cxx_try_compile "$LINENO"; then :
59137 glibcxx_cv_func_expf_use=yes
59138 else
59139 glibcxx_cv_func_expf_use=no
59140 fi
59141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59142 ac_ext=c
59143 ac_cpp='$CPP $CPPFLAGS'
59144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59147
59148
59149 fi
59150
59151 fi
59152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59153 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59154
59155 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59156 for ac_func in expf
59157 do :
59158 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59159 if test "x$ac_cv_func_expf" = x""yes; then :
59160 cat >>confdefs.h <<_ACEOF
59161 #define HAVE_EXPF 1
59162 _ACEOF
59163
59164 fi
59165 done
59166
59167 else
59168
59169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59170 $as_echo_n "checking for _expf declaration... " >&6; }
59171 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59172 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59173 $as_echo_n "(cached) " >&6
59174 else
59175
59176
59177 ac_ext=cpp
59178 ac_cpp='$CXXCPP $CPPFLAGS'
59179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59182
59183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59184 /* end confdefs.h. */
59185 #include <math.h>
59186 #ifdef HAVE_IEEEFP_H
59187 #include <ieeefp.h>
59188 #endif
59189
59190 int
59191 main ()
59192 {
59193 _expf(0);
59194 ;
59195 return 0;
59196 }
59197 _ACEOF
59198 if ac_fn_cxx_try_compile "$LINENO"; then :
59199 glibcxx_cv_func__expf_use=yes
59200 else
59201 glibcxx_cv_func__expf_use=no
59202 fi
59203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59204 ac_ext=c
59205 ac_cpp='$CPP $CPPFLAGS'
59206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59209
59210
59211 fi
59212
59213 fi
59214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59215 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59216
59217 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59218 for ac_func in _expf
59219 do :
59220 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59221 if test "x$ac_cv_func__expf" = x""yes; then :
59222 cat >>confdefs.h <<_ACEOF
59223 #define HAVE__EXPF 1
59224 _ACEOF
59225
59226 fi
59227 done
59228
59229 fi
59230 fi
59231
59232
59233
59234
59235
59236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59237 $as_echo_n "checking for isnanf declaration... " >&6; }
59238 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59239 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59240 $as_echo_n "(cached) " >&6
59241 else
59242
59243
59244 ac_ext=cpp
59245 ac_cpp='$CXXCPP $CPPFLAGS'
59246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59249
59250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59251 /* end confdefs.h. */
59252 #include <math.h>
59253 #ifdef HAVE_IEEEFP_H
59254 #include <ieeefp.h>
59255 #endif
59256
59257 int
59258 main ()
59259 {
59260 isnanf(0);
59261 ;
59262 return 0;
59263 }
59264 _ACEOF
59265 if ac_fn_cxx_try_compile "$LINENO"; then :
59266 glibcxx_cv_func_isnanf_use=yes
59267 else
59268 glibcxx_cv_func_isnanf_use=no
59269 fi
59270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59271 ac_ext=c
59272 ac_cpp='$CPP $CPPFLAGS'
59273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59276
59277
59278 fi
59279
59280 fi
59281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59282 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59283
59284 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59285 for ac_func in isnanf
59286 do :
59287 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59288 if test "x$ac_cv_func_isnanf" = x""yes; then :
59289 cat >>confdefs.h <<_ACEOF
59290 #define HAVE_ISNANF 1
59291 _ACEOF
59292
59293 fi
59294 done
59295
59296 else
59297
59298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59299 $as_echo_n "checking for _isnanf declaration... " >&6; }
59300 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59301 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59302 $as_echo_n "(cached) " >&6
59303 else
59304
59305
59306 ac_ext=cpp
59307 ac_cpp='$CXXCPP $CPPFLAGS'
59308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59311
59312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59313 /* end confdefs.h. */
59314 #include <math.h>
59315 #ifdef HAVE_IEEEFP_H
59316 #include <ieeefp.h>
59317 #endif
59318
59319 int
59320 main ()
59321 {
59322 _isnanf(0);
59323 ;
59324 return 0;
59325 }
59326 _ACEOF
59327 if ac_fn_cxx_try_compile "$LINENO"; then :
59328 glibcxx_cv_func__isnanf_use=yes
59329 else
59330 glibcxx_cv_func__isnanf_use=no
59331 fi
59332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59333 ac_ext=c
59334 ac_cpp='$CPP $CPPFLAGS'
59335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59338
59339
59340 fi
59341
59342 fi
59343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59344 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59345
59346 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59347 for ac_func in _isnanf
59348 do :
59349 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59350 if test "x$ac_cv_func__isnanf" = x""yes; then :
59351 cat >>confdefs.h <<_ACEOF
59352 #define HAVE__ISNANF 1
59353 _ACEOF
59354
59355 fi
59356 done
59357
59358 fi
59359 fi
59360
59361
59362
59363
59364
59365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59366 $as_echo_n "checking for isinff declaration... " >&6; }
59367 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59368 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59369 $as_echo_n "(cached) " >&6
59370 else
59371
59372
59373 ac_ext=cpp
59374 ac_cpp='$CXXCPP $CPPFLAGS'
59375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59378
59379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59380 /* end confdefs.h. */
59381 #include <math.h>
59382 #ifdef HAVE_IEEEFP_H
59383 #include <ieeefp.h>
59384 #endif
59385
59386 int
59387 main ()
59388 {
59389 isinff(0);
59390 ;
59391 return 0;
59392 }
59393 _ACEOF
59394 if ac_fn_cxx_try_compile "$LINENO"; then :
59395 glibcxx_cv_func_isinff_use=yes
59396 else
59397 glibcxx_cv_func_isinff_use=no
59398 fi
59399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59400 ac_ext=c
59401 ac_cpp='$CPP $CPPFLAGS'
59402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59405
59406
59407 fi
59408
59409 fi
59410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59411 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59412
59413 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59414 for ac_func in isinff
59415 do :
59416 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59417 if test "x$ac_cv_func_isinff" = x""yes; then :
59418 cat >>confdefs.h <<_ACEOF
59419 #define HAVE_ISINFF 1
59420 _ACEOF
59421
59422 fi
59423 done
59424
59425 else
59426
59427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59428 $as_echo_n "checking for _isinff declaration... " >&6; }
59429 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59430 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59431 $as_echo_n "(cached) " >&6
59432 else
59433
59434
59435 ac_ext=cpp
59436 ac_cpp='$CXXCPP $CPPFLAGS'
59437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59440
59441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59442 /* end confdefs.h. */
59443 #include <math.h>
59444 #ifdef HAVE_IEEEFP_H
59445 #include <ieeefp.h>
59446 #endif
59447
59448 int
59449 main ()
59450 {
59451 _isinff(0);
59452 ;
59453 return 0;
59454 }
59455 _ACEOF
59456 if ac_fn_cxx_try_compile "$LINENO"; then :
59457 glibcxx_cv_func__isinff_use=yes
59458 else
59459 glibcxx_cv_func__isinff_use=no
59460 fi
59461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59462 ac_ext=c
59463 ac_cpp='$CPP $CPPFLAGS'
59464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59467
59468
59469 fi
59470
59471 fi
59472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59473 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59474
59475 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59476 for ac_func in _isinff
59477 do :
59478 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59479 if test "x$ac_cv_func__isinff" = x""yes; then :
59480 cat >>confdefs.h <<_ACEOF
59481 #define HAVE__ISINFF 1
59482 _ACEOF
59483
59484 fi
59485 done
59486
59487 fi
59488 fi
59489
59490
59491
59492
59493
59494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59495 $as_echo_n "checking for atan2f declaration... " >&6; }
59496 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59497 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59498 $as_echo_n "(cached) " >&6
59499 else
59500
59501
59502 ac_ext=cpp
59503 ac_cpp='$CXXCPP $CPPFLAGS'
59504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59507
59508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59509 /* end confdefs.h. */
59510 #include <math.h>
59511 int
59512 main ()
59513 {
59514 atan2f(0, 0);
59515 ;
59516 return 0;
59517 }
59518 _ACEOF
59519 if ac_fn_cxx_try_compile "$LINENO"; then :
59520 glibcxx_cv_func_atan2f_use=yes
59521 else
59522 glibcxx_cv_func_atan2f_use=no
59523 fi
59524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59525 ac_ext=c
59526 ac_cpp='$CPP $CPPFLAGS'
59527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59530
59531
59532 fi
59533
59534 fi
59535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59536 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59537
59538 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59539 for ac_func in atan2f
59540 do :
59541 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59542 if test "x$ac_cv_func_atan2f" = x""yes; then :
59543 cat >>confdefs.h <<_ACEOF
59544 #define HAVE_ATAN2F 1
59545 _ACEOF
59546
59547 fi
59548 done
59549
59550 else
59551
59552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59553 $as_echo_n "checking for _atan2f declaration... " >&6; }
59554 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59555 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59556 $as_echo_n "(cached) " >&6
59557 else
59558
59559
59560 ac_ext=cpp
59561 ac_cpp='$CXXCPP $CPPFLAGS'
59562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59565
59566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59567 /* end confdefs.h. */
59568 #include <math.h>
59569 int
59570 main ()
59571 {
59572 _atan2f(0, 0);
59573 ;
59574 return 0;
59575 }
59576 _ACEOF
59577 if ac_fn_cxx_try_compile "$LINENO"; then :
59578 glibcxx_cv_func__atan2f_use=yes
59579 else
59580 glibcxx_cv_func__atan2f_use=no
59581 fi
59582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59583 ac_ext=c
59584 ac_cpp='$CPP $CPPFLAGS'
59585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59588
59589
59590 fi
59591
59592 fi
59593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59594 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59595
59596 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59597 for ac_func in _atan2f
59598 do :
59599 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59600 if test "x$ac_cv_func__atan2f" = x""yes; then :
59601 cat >>confdefs.h <<_ACEOF
59602 #define HAVE__ATAN2F 1
59603 _ACEOF
59604
59605 fi
59606 done
59607
59608 fi
59609 fi
59610
59611
59612
59613
59614
59615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59616 $as_echo_n "checking for fabsf declaration... " >&6; }
59617 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59618 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59619 $as_echo_n "(cached) " >&6
59620 else
59621
59622
59623 ac_ext=cpp
59624 ac_cpp='$CXXCPP $CPPFLAGS'
59625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59628
59629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59630 /* end confdefs.h. */
59631 #include <math.h>
59632 #ifdef HAVE_IEEEFP_H
59633 #include <ieeefp.h>
59634 #endif
59635
59636 int
59637 main ()
59638 {
59639 fabsf(0);
59640 ;
59641 return 0;
59642 }
59643 _ACEOF
59644 if ac_fn_cxx_try_compile "$LINENO"; then :
59645 glibcxx_cv_func_fabsf_use=yes
59646 else
59647 glibcxx_cv_func_fabsf_use=no
59648 fi
59649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59650 ac_ext=c
59651 ac_cpp='$CPP $CPPFLAGS'
59652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59655
59656
59657 fi
59658
59659 fi
59660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59661 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59662
59663 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59664 for ac_func in fabsf
59665 do :
59666 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59667 if test "x$ac_cv_func_fabsf" = x""yes; then :
59668 cat >>confdefs.h <<_ACEOF
59669 #define HAVE_FABSF 1
59670 _ACEOF
59671
59672 fi
59673 done
59674
59675 else
59676
59677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59678 $as_echo_n "checking for _fabsf declaration... " >&6; }
59679 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59680 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59681 $as_echo_n "(cached) " >&6
59682 else
59683
59684
59685 ac_ext=cpp
59686 ac_cpp='$CXXCPP $CPPFLAGS'
59687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59690
59691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59692 /* end confdefs.h. */
59693 #include <math.h>
59694 #ifdef HAVE_IEEEFP_H
59695 #include <ieeefp.h>
59696 #endif
59697
59698 int
59699 main ()
59700 {
59701 _fabsf(0);
59702 ;
59703 return 0;
59704 }
59705 _ACEOF
59706 if ac_fn_cxx_try_compile "$LINENO"; then :
59707 glibcxx_cv_func__fabsf_use=yes
59708 else
59709 glibcxx_cv_func__fabsf_use=no
59710 fi
59711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59712 ac_ext=c
59713 ac_cpp='$CPP $CPPFLAGS'
59714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59717
59718
59719 fi
59720
59721 fi
59722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59723 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59724
59725 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59726 for ac_func in _fabsf
59727 do :
59728 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59729 if test "x$ac_cv_func__fabsf" = x""yes; then :
59730 cat >>confdefs.h <<_ACEOF
59731 #define HAVE__FABSF 1
59732 _ACEOF
59733
59734 fi
59735 done
59736
59737 fi
59738 fi
59739
59740
59741
59742
59743
59744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59745 $as_echo_n "checking for fmodf declaration... " >&6; }
59746 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59747 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59748 $as_echo_n "(cached) " >&6
59749 else
59750
59751
59752 ac_ext=cpp
59753 ac_cpp='$CXXCPP $CPPFLAGS'
59754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59757
59758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59759 /* end confdefs.h. */
59760 #include <math.h>
59761 int
59762 main ()
59763 {
59764 fmodf(0, 0);
59765 ;
59766 return 0;
59767 }
59768 _ACEOF
59769 if ac_fn_cxx_try_compile "$LINENO"; then :
59770 glibcxx_cv_func_fmodf_use=yes
59771 else
59772 glibcxx_cv_func_fmodf_use=no
59773 fi
59774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59775 ac_ext=c
59776 ac_cpp='$CPP $CPPFLAGS'
59777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59780
59781
59782 fi
59783
59784 fi
59785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59786 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59787
59788 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59789 for ac_func in fmodf
59790 do :
59791 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59792 if test "x$ac_cv_func_fmodf" = x""yes; then :
59793 cat >>confdefs.h <<_ACEOF
59794 #define HAVE_FMODF 1
59795 _ACEOF
59796
59797 fi
59798 done
59799
59800 else
59801
59802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59803 $as_echo_n "checking for _fmodf declaration... " >&6; }
59804 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59805 if test "${glibcxx_cv_func__fmodf_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 _fmodf(0, 0);
59823 ;
59824 return 0;
59825 }
59826 _ACEOF
59827 if ac_fn_cxx_try_compile "$LINENO"; then :
59828 glibcxx_cv_func__fmodf_use=yes
59829 else
59830 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
59844 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59845
59846 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59847 for ac_func in _fmodf
59848 do :
59849 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59850 if test "x$ac_cv_func__fmodf" = x""yes; then :
59851 cat >>confdefs.h <<_ACEOF
59852 #define HAVE__FMODF 1
59853 _ACEOF
59854
59855 fi
59856 done
59857
59858 fi
59859 fi
59860
59861
59862
59863
59864
59865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59866 $as_echo_n "checking for frexpf declaration... " >&6; }
59867 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59868 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59869 $as_echo_n "(cached) " >&6
59870 else
59871
59872
59873 ac_ext=cpp
59874 ac_cpp='$CXXCPP $CPPFLAGS'
59875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59878
59879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59880 /* end confdefs.h. */
59881 #include <math.h>
59882 int
59883 main ()
59884 {
59885 frexpf(0, 0);
59886 ;
59887 return 0;
59888 }
59889 _ACEOF
59890 if ac_fn_cxx_try_compile "$LINENO"; then :
59891 glibcxx_cv_func_frexpf_use=yes
59892 else
59893 glibcxx_cv_func_frexpf_use=no
59894 fi
59895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59896 ac_ext=c
59897 ac_cpp='$CPP $CPPFLAGS'
59898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59901
59902
59903 fi
59904
59905 fi
59906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59907 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59908
59909 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59910 for ac_func in frexpf
59911 do :
59912 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59913 if test "x$ac_cv_func_frexpf" = x""yes; then :
59914 cat >>confdefs.h <<_ACEOF
59915 #define HAVE_FREXPF 1
59916 _ACEOF
59917
59918 fi
59919 done
59920
59921 else
59922
59923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59924 $as_echo_n "checking for _frexpf declaration... " >&6; }
59925 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59926 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59927 $as_echo_n "(cached) " >&6
59928 else
59929
59930
59931 ac_ext=cpp
59932 ac_cpp='$CXXCPP $CPPFLAGS'
59933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59936
59937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59938 /* end confdefs.h. */
59939 #include <math.h>
59940 int
59941 main ()
59942 {
59943 _frexpf(0, 0);
59944 ;
59945 return 0;
59946 }
59947 _ACEOF
59948 if ac_fn_cxx_try_compile "$LINENO"; then :
59949 glibcxx_cv_func__frexpf_use=yes
59950 else
59951 glibcxx_cv_func__frexpf_use=no
59952 fi
59953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59954 ac_ext=c
59955 ac_cpp='$CPP $CPPFLAGS'
59956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59959
59960
59961 fi
59962
59963 fi
59964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59965 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59966
59967 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59968 for ac_func in _frexpf
59969 do :
59970 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59971 if test "x$ac_cv_func__frexpf" = x""yes; then :
59972 cat >>confdefs.h <<_ACEOF
59973 #define HAVE__FREXPF 1
59974 _ACEOF
59975
59976 fi
59977 done
59978
59979 fi
59980 fi
59981
59982
59983
59984
59985
59986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59987 $as_echo_n "checking for hypotf declaration... " >&6; }
59988 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59989 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59990 $as_echo_n "(cached) " >&6
59991 else
59992
59993
59994 ac_ext=cpp
59995 ac_cpp='$CXXCPP $CPPFLAGS'
59996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59999
60000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60001 /* end confdefs.h. */
60002 #include <math.h>
60003 int
60004 main ()
60005 {
60006 hypotf(0, 0);
60007 ;
60008 return 0;
60009 }
60010 _ACEOF
60011 if ac_fn_cxx_try_compile "$LINENO"; then :
60012 glibcxx_cv_func_hypotf_use=yes
60013 else
60014 glibcxx_cv_func_hypotf_use=no
60015 fi
60016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60017 ac_ext=c
60018 ac_cpp='$CPP $CPPFLAGS'
60019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60022
60023
60024 fi
60025
60026 fi
60027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60028 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60029
60030 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60031 for ac_func in hypotf
60032 do :
60033 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60034 if test "x$ac_cv_func_hypotf" = x""yes; then :
60035 cat >>confdefs.h <<_ACEOF
60036 #define HAVE_HYPOTF 1
60037 _ACEOF
60038
60039 fi
60040 done
60041
60042 else
60043
60044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60045 $as_echo_n "checking for _hypotf declaration... " >&6; }
60046 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60047 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60048 $as_echo_n "(cached) " >&6
60049 else
60050
60051
60052 ac_ext=cpp
60053 ac_cpp='$CXXCPP $CPPFLAGS'
60054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60057
60058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60059 /* end confdefs.h. */
60060 #include <math.h>
60061 int
60062 main ()
60063 {
60064 _hypotf(0, 0);
60065 ;
60066 return 0;
60067 }
60068 _ACEOF
60069 if ac_fn_cxx_try_compile "$LINENO"; then :
60070 glibcxx_cv_func__hypotf_use=yes
60071 else
60072 glibcxx_cv_func__hypotf_use=no
60073 fi
60074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60075 ac_ext=c
60076 ac_cpp='$CPP $CPPFLAGS'
60077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60080
60081
60082 fi
60083
60084 fi
60085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60086 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60087
60088 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60089 for ac_func in _hypotf
60090 do :
60091 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60092 if test "x$ac_cv_func__hypotf" = x""yes; then :
60093 cat >>confdefs.h <<_ACEOF
60094 #define HAVE__HYPOTF 1
60095 _ACEOF
60096
60097 fi
60098 done
60099
60100 fi
60101 fi
60102
60103
60104
60105
60106
60107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60108 $as_echo_n "checking for ldexpf declaration... " >&6; }
60109 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60110 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60111 $as_echo_n "(cached) " >&6
60112 else
60113
60114
60115 ac_ext=cpp
60116 ac_cpp='$CXXCPP $CPPFLAGS'
60117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60120
60121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60122 /* end confdefs.h. */
60123 #include <math.h>
60124 int
60125 main ()
60126 {
60127 ldexpf(0, 0);
60128 ;
60129 return 0;
60130 }
60131 _ACEOF
60132 if ac_fn_cxx_try_compile "$LINENO"; then :
60133 glibcxx_cv_func_ldexpf_use=yes
60134 else
60135 glibcxx_cv_func_ldexpf_use=no
60136 fi
60137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60138 ac_ext=c
60139 ac_cpp='$CPP $CPPFLAGS'
60140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60143
60144
60145 fi
60146
60147 fi
60148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60149 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60150
60151 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60152 for ac_func in ldexpf
60153 do :
60154 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60155 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60156 cat >>confdefs.h <<_ACEOF
60157 #define HAVE_LDEXPF 1
60158 _ACEOF
60159
60160 fi
60161 done
60162
60163 else
60164
60165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60166 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60167 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60168 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60169 $as_echo_n "(cached) " >&6
60170 else
60171
60172
60173 ac_ext=cpp
60174 ac_cpp='$CXXCPP $CPPFLAGS'
60175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60178
60179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60180 /* end confdefs.h. */
60181 #include <math.h>
60182 int
60183 main ()
60184 {
60185 _ldexpf(0, 0);
60186 ;
60187 return 0;
60188 }
60189 _ACEOF
60190 if ac_fn_cxx_try_compile "$LINENO"; then :
60191 glibcxx_cv_func__ldexpf_use=yes
60192 else
60193 glibcxx_cv_func__ldexpf_use=no
60194 fi
60195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60196 ac_ext=c
60197 ac_cpp='$CPP $CPPFLAGS'
60198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60201
60202
60203 fi
60204
60205 fi
60206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60207 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60208
60209 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60210 for ac_func in _ldexpf
60211 do :
60212 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60213 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60214 cat >>confdefs.h <<_ACEOF
60215 #define HAVE__LDEXPF 1
60216 _ACEOF
60217
60218 fi
60219 done
60220
60221 fi
60222 fi
60223
60224
60225
60226
60227
60228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60229 $as_echo_n "checking for logf declaration... " >&6; }
60230 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60231 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60232 $as_echo_n "(cached) " >&6
60233 else
60234
60235
60236 ac_ext=cpp
60237 ac_cpp='$CXXCPP $CPPFLAGS'
60238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60241
60242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60243 /* end confdefs.h. */
60244 #include <math.h>
60245 #ifdef HAVE_IEEEFP_H
60246 #include <ieeefp.h>
60247 #endif
60248
60249 int
60250 main ()
60251 {
60252 logf(0);
60253 ;
60254 return 0;
60255 }
60256 _ACEOF
60257 if ac_fn_cxx_try_compile "$LINENO"; then :
60258 glibcxx_cv_func_logf_use=yes
60259 else
60260 glibcxx_cv_func_logf_use=no
60261 fi
60262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60263 ac_ext=c
60264 ac_cpp='$CPP $CPPFLAGS'
60265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60268
60269
60270 fi
60271
60272 fi
60273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60274 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60275
60276 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60277 for ac_func in logf
60278 do :
60279 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60280 if test "x$ac_cv_func_logf" = x""yes; then :
60281 cat >>confdefs.h <<_ACEOF
60282 #define HAVE_LOGF 1
60283 _ACEOF
60284
60285 fi
60286 done
60287
60288 else
60289
60290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60291 $as_echo_n "checking for _logf declaration... " >&6; }
60292 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60293 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60294 $as_echo_n "(cached) " >&6
60295 else
60296
60297
60298 ac_ext=cpp
60299 ac_cpp='$CXXCPP $CPPFLAGS'
60300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60303
60304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60305 /* end confdefs.h. */
60306 #include <math.h>
60307 #ifdef HAVE_IEEEFP_H
60308 #include <ieeefp.h>
60309 #endif
60310
60311 int
60312 main ()
60313 {
60314 _logf(0);
60315 ;
60316 return 0;
60317 }
60318 _ACEOF
60319 if ac_fn_cxx_try_compile "$LINENO"; then :
60320 glibcxx_cv_func__logf_use=yes
60321 else
60322 glibcxx_cv_func__logf_use=no
60323 fi
60324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60325 ac_ext=c
60326 ac_cpp='$CPP $CPPFLAGS'
60327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60330
60331
60332 fi
60333
60334 fi
60335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60336 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60337
60338 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60339 for ac_func in _logf
60340 do :
60341 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60342 if test "x$ac_cv_func__logf" = x""yes; then :
60343 cat >>confdefs.h <<_ACEOF
60344 #define HAVE__LOGF 1
60345 _ACEOF
60346
60347 fi
60348 done
60349
60350 fi
60351 fi
60352
60353
60354
60355
60356
60357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60358 $as_echo_n "checking for log10f declaration... " >&6; }
60359 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60360 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60361 $as_echo_n "(cached) " >&6
60362 else
60363
60364
60365 ac_ext=cpp
60366 ac_cpp='$CXXCPP $CPPFLAGS'
60367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60370
60371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60372 /* end confdefs.h. */
60373 #include <math.h>
60374 #ifdef HAVE_IEEEFP_H
60375 #include <ieeefp.h>
60376 #endif
60377
60378 int
60379 main ()
60380 {
60381 log10f(0);
60382 ;
60383 return 0;
60384 }
60385 _ACEOF
60386 if ac_fn_cxx_try_compile "$LINENO"; then :
60387 glibcxx_cv_func_log10f_use=yes
60388 else
60389 glibcxx_cv_func_log10f_use=no
60390 fi
60391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60392 ac_ext=c
60393 ac_cpp='$CPP $CPPFLAGS'
60394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60397
60398
60399 fi
60400
60401 fi
60402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60403 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60404
60405 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60406 for ac_func in log10f
60407 do :
60408 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60409 if test "x$ac_cv_func_log10f" = x""yes; then :
60410 cat >>confdefs.h <<_ACEOF
60411 #define HAVE_LOG10F 1
60412 _ACEOF
60413
60414 fi
60415 done
60416
60417 else
60418
60419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60420 $as_echo_n "checking for _log10f declaration... " >&6; }
60421 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60422 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60423 $as_echo_n "(cached) " >&6
60424 else
60425
60426
60427 ac_ext=cpp
60428 ac_cpp='$CXXCPP $CPPFLAGS'
60429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60432
60433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60434 /* end confdefs.h. */
60435 #include <math.h>
60436 #ifdef HAVE_IEEEFP_H
60437 #include <ieeefp.h>
60438 #endif
60439
60440 int
60441 main ()
60442 {
60443 _log10f(0);
60444 ;
60445 return 0;
60446 }
60447 _ACEOF
60448 if ac_fn_cxx_try_compile "$LINENO"; then :
60449 glibcxx_cv_func__log10f_use=yes
60450 else
60451 glibcxx_cv_func__log10f_use=no
60452 fi
60453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60454 ac_ext=c
60455 ac_cpp='$CPP $CPPFLAGS'
60456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60459
60460
60461 fi
60462
60463 fi
60464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60465 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60466
60467 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60468 for ac_func in _log10f
60469 do :
60470 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60471 if test "x$ac_cv_func__log10f" = x""yes; then :
60472 cat >>confdefs.h <<_ACEOF
60473 #define HAVE__LOG10F 1
60474 _ACEOF
60475
60476 fi
60477 done
60478
60479 fi
60480 fi
60481
60482
60483
60484
60485
60486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60487 $as_echo_n "checking for modff declaration... " >&6; }
60488 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60489 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60490 $as_echo_n "(cached) " >&6
60491 else
60492
60493
60494 ac_ext=cpp
60495 ac_cpp='$CXXCPP $CPPFLAGS'
60496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60499
60500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60501 /* end confdefs.h. */
60502 #include <math.h>
60503 int
60504 main ()
60505 {
60506 modff(0, 0);
60507 ;
60508 return 0;
60509 }
60510 _ACEOF
60511 if ac_fn_cxx_try_compile "$LINENO"; then :
60512 glibcxx_cv_func_modff_use=yes
60513 else
60514 glibcxx_cv_func_modff_use=no
60515 fi
60516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60517 ac_ext=c
60518 ac_cpp='$CPP $CPPFLAGS'
60519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60522
60523
60524 fi
60525
60526 fi
60527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60528 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60529
60530 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60531 for ac_func in modff
60532 do :
60533 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60534 if test "x$ac_cv_func_modff" = x""yes; then :
60535 cat >>confdefs.h <<_ACEOF
60536 #define HAVE_MODFF 1
60537 _ACEOF
60538
60539 fi
60540 done
60541
60542 else
60543
60544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60545 $as_echo_n "checking for _modff declaration... " >&6; }
60546 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60547 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60548 $as_echo_n "(cached) " >&6
60549 else
60550
60551
60552 ac_ext=cpp
60553 ac_cpp='$CXXCPP $CPPFLAGS'
60554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60557
60558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60559 /* end confdefs.h. */
60560 #include <math.h>
60561 int
60562 main ()
60563 {
60564 _modff(0, 0);
60565 ;
60566 return 0;
60567 }
60568 _ACEOF
60569 if ac_fn_cxx_try_compile "$LINENO"; then :
60570 glibcxx_cv_func__modff_use=yes
60571 else
60572 glibcxx_cv_func__modff_use=no
60573 fi
60574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60575 ac_ext=c
60576 ac_cpp='$CPP $CPPFLAGS'
60577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60580
60581
60582 fi
60583
60584 fi
60585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60586 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60587
60588 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60589 for ac_func in _modff
60590 do :
60591 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60592 if test "x$ac_cv_func__modff" = x""yes; then :
60593 cat >>confdefs.h <<_ACEOF
60594 #define HAVE__MODFF 1
60595 _ACEOF
60596
60597 fi
60598 done
60599
60600 fi
60601 fi
60602
60603
60604
60605
60606
60607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60608 $as_echo_n "checking for modf declaration... " >&6; }
60609 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60610 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60611 $as_echo_n "(cached) " >&6
60612 else
60613
60614
60615 ac_ext=cpp
60616 ac_cpp='$CXXCPP $CPPFLAGS'
60617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60620
60621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60622 /* end confdefs.h. */
60623 #include <math.h>
60624 int
60625 main ()
60626 {
60627 modf(0, 0);
60628 ;
60629 return 0;
60630 }
60631 _ACEOF
60632 if ac_fn_cxx_try_compile "$LINENO"; then :
60633 glibcxx_cv_func_modf_use=yes
60634 else
60635 glibcxx_cv_func_modf_use=no
60636 fi
60637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60638 ac_ext=c
60639 ac_cpp='$CPP $CPPFLAGS'
60640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60643
60644
60645 fi
60646
60647 fi
60648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60649 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60650
60651 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60652 for ac_func in modf
60653 do :
60654 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60655 if test "x$ac_cv_func_modf" = x""yes; then :
60656 cat >>confdefs.h <<_ACEOF
60657 #define HAVE_MODF 1
60658 _ACEOF
60659
60660 fi
60661 done
60662
60663 else
60664
60665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60666 $as_echo_n "checking for _modf declaration... " >&6; }
60667 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60668 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60669 $as_echo_n "(cached) " >&6
60670 else
60671
60672
60673 ac_ext=cpp
60674 ac_cpp='$CXXCPP $CPPFLAGS'
60675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60678
60679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60680 /* end confdefs.h. */
60681 #include <math.h>
60682 int
60683 main ()
60684 {
60685 _modf(0, 0);
60686 ;
60687 return 0;
60688 }
60689 _ACEOF
60690 if ac_fn_cxx_try_compile "$LINENO"; then :
60691 glibcxx_cv_func__modf_use=yes
60692 else
60693 glibcxx_cv_func__modf_use=no
60694 fi
60695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60696 ac_ext=c
60697 ac_cpp='$CPP $CPPFLAGS'
60698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60701
60702
60703 fi
60704
60705 fi
60706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60707 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60708
60709 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60710 for ac_func in _modf
60711 do :
60712 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60713 if test "x$ac_cv_func__modf" = x""yes; then :
60714 cat >>confdefs.h <<_ACEOF
60715 #define HAVE__MODF 1
60716 _ACEOF
60717
60718 fi
60719 done
60720
60721 fi
60722 fi
60723
60724
60725
60726
60727
60728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60729 $as_echo_n "checking for powf declaration... " >&6; }
60730 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60731 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60732 $as_echo_n "(cached) " >&6
60733 else
60734
60735
60736 ac_ext=cpp
60737 ac_cpp='$CXXCPP $CPPFLAGS'
60738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60741
60742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60743 /* end confdefs.h. */
60744 #include <math.h>
60745 int
60746 main ()
60747 {
60748 powf(0, 0);
60749 ;
60750 return 0;
60751 }
60752 _ACEOF
60753 if ac_fn_cxx_try_compile "$LINENO"; then :
60754 glibcxx_cv_func_powf_use=yes
60755 else
60756 glibcxx_cv_func_powf_use=no
60757 fi
60758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60759 ac_ext=c
60760 ac_cpp='$CPP $CPPFLAGS'
60761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60764
60765
60766 fi
60767
60768 fi
60769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60770 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60771
60772 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60773 for ac_func in powf
60774 do :
60775 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60776 if test "x$ac_cv_func_powf" = x""yes; then :
60777 cat >>confdefs.h <<_ACEOF
60778 #define HAVE_POWF 1
60779 _ACEOF
60780
60781 fi
60782 done
60783
60784 else
60785
60786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60787 $as_echo_n "checking for _powf declaration... " >&6; }
60788 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60789 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60790 $as_echo_n "(cached) " >&6
60791 else
60792
60793
60794 ac_ext=cpp
60795 ac_cpp='$CXXCPP $CPPFLAGS'
60796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60799
60800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60801 /* end confdefs.h. */
60802 #include <math.h>
60803 int
60804 main ()
60805 {
60806 _powf(0, 0);
60807 ;
60808 return 0;
60809 }
60810 _ACEOF
60811 if ac_fn_cxx_try_compile "$LINENO"; then :
60812 glibcxx_cv_func__powf_use=yes
60813 else
60814 glibcxx_cv_func__powf_use=no
60815 fi
60816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60817 ac_ext=c
60818 ac_cpp='$CPP $CPPFLAGS'
60819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60822
60823
60824 fi
60825
60826 fi
60827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60828 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60829
60830 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60831 for ac_func in _powf
60832 do :
60833 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60834 if test "x$ac_cv_func__powf" = x""yes; then :
60835 cat >>confdefs.h <<_ACEOF
60836 #define HAVE__POWF 1
60837 _ACEOF
60838
60839 fi
60840 done
60841
60842 fi
60843 fi
60844
60845
60846
60847
60848
60849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60850 $as_echo_n "checking for sqrtf declaration... " >&6; }
60851 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60852 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60853 $as_echo_n "(cached) " >&6
60854 else
60855
60856
60857 ac_ext=cpp
60858 ac_cpp='$CXXCPP $CPPFLAGS'
60859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60862
60863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60864 /* end confdefs.h. */
60865 #include <math.h>
60866 #ifdef HAVE_IEEEFP_H
60867 #include <ieeefp.h>
60868 #endif
60869
60870 int
60871 main ()
60872 {
60873 sqrtf(0);
60874 ;
60875 return 0;
60876 }
60877 _ACEOF
60878 if ac_fn_cxx_try_compile "$LINENO"; then :
60879 glibcxx_cv_func_sqrtf_use=yes
60880 else
60881 glibcxx_cv_func_sqrtf_use=no
60882 fi
60883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60884 ac_ext=c
60885 ac_cpp='$CPP $CPPFLAGS'
60886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60889
60890
60891 fi
60892
60893 fi
60894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60895 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60896
60897 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60898 for ac_func in sqrtf
60899 do :
60900 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60901 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60902 cat >>confdefs.h <<_ACEOF
60903 #define HAVE_SQRTF 1
60904 _ACEOF
60905
60906 fi
60907 done
60908
60909 else
60910
60911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60912 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60913 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60914 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60915 $as_echo_n "(cached) " >&6
60916 else
60917
60918
60919 ac_ext=cpp
60920 ac_cpp='$CXXCPP $CPPFLAGS'
60921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60924
60925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60926 /* end confdefs.h. */
60927 #include <math.h>
60928 #ifdef HAVE_IEEEFP_H
60929 #include <ieeefp.h>
60930 #endif
60931
60932 int
60933 main ()
60934 {
60935 _sqrtf(0);
60936 ;
60937 return 0;
60938 }
60939 _ACEOF
60940 if ac_fn_cxx_try_compile "$LINENO"; then :
60941 glibcxx_cv_func__sqrtf_use=yes
60942 else
60943 glibcxx_cv_func__sqrtf_use=no
60944 fi
60945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60946 ac_ext=c
60947 ac_cpp='$CPP $CPPFLAGS'
60948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60951
60952
60953 fi
60954
60955 fi
60956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60957 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60958
60959 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60960 for ac_func in _sqrtf
60961 do :
60962 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60963 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60964 cat >>confdefs.h <<_ACEOF
60965 #define HAVE__SQRTF 1
60966 _ACEOF
60967
60968 fi
60969 done
60970
60971 fi
60972 fi
60973
60974
60975
60976
60977
60978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60979 $as_echo_n "checking for sincosf declaration... " >&6; }
60980 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60981 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60982 $as_echo_n "(cached) " >&6
60983 else
60984
60985
60986 ac_ext=cpp
60987 ac_cpp='$CXXCPP $CPPFLAGS'
60988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60991
60992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60993 /* end confdefs.h. */
60994 #include <math.h>
60995 int
60996 main ()
60997 {
60998 sincosf(0, 0, 0);
60999 ;
61000 return 0;
61001 }
61002 _ACEOF
61003 if ac_fn_cxx_try_compile "$LINENO"; then :
61004 glibcxx_cv_func_sincosf_use=yes
61005 else
61006 glibcxx_cv_func_sincosf_use=no
61007 fi
61008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61009 ac_ext=c
61010 ac_cpp='$CPP $CPPFLAGS'
61011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61014
61015
61016 fi
61017
61018 fi
61019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61020 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61021
61022 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61023 for ac_func in sincosf
61024 do :
61025 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61026 if test "x$ac_cv_func_sincosf" = x""yes; then :
61027 cat >>confdefs.h <<_ACEOF
61028 #define HAVE_SINCOSF 1
61029 _ACEOF
61030
61031 fi
61032 done
61033
61034 else
61035
61036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61037 $as_echo_n "checking for _sincosf declaration... " >&6; }
61038 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61039 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61040 $as_echo_n "(cached) " >&6
61041 else
61042
61043
61044 ac_ext=cpp
61045 ac_cpp='$CXXCPP $CPPFLAGS'
61046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61049
61050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61051 /* end confdefs.h. */
61052 #include <math.h>
61053 int
61054 main ()
61055 {
61056 _sincosf(0, 0, 0);
61057 ;
61058 return 0;
61059 }
61060 _ACEOF
61061 if ac_fn_cxx_try_compile "$LINENO"; then :
61062 glibcxx_cv_func__sincosf_use=yes
61063 else
61064 glibcxx_cv_func__sincosf_use=no
61065 fi
61066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61067 ac_ext=c
61068 ac_cpp='$CPP $CPPFLAGS'
61069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61072
61073
61074 fi
61075
61076 fi
61077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61078 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61079
61080 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61081 for ac_func in _sincosf
61082 do :
61083 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61084 if test "x$ac_cv_func__sincosf" = x""yes; then :
61085 cat >>confdefs.h <<_ACEOF
61086 #define HAVE__SINCOSF 1
61087 _ACEOF
61088
61089 fi
61090 done
61091
61092 fi
61093 fi
61094
61095
61096
61097
61098
61099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61100 $as_echo_n "checking for finitef declaration... " >&6; }
61101 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61102 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61103 $as_echo_n "(cached) " >&6
61104 else
61105
61106
61107 ac_ext=cpp
61108 ac_cpp='$CXXCPP $CPPFLAGS'
61109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61112
61113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61114 /* end confdefs.h. */
61115 #include <math.h>
61116 #ifdef HAVE_IEEEFP_H
61117 #include <ieeefp.h>
61118 #endif
61119
61120 int
61121 main ()
61122 {
61123 finitef(0);
61124 ;
61125 return 0;
61126 }
61127 _ACEOF
61128 if ac_fn_cxx_try_compile "$LINENO"; then :
61129 glibcxx_cv_func_finitef_use=yes
61130 else
61131 glibcxx_cv_func_finitef_use=no
61132 fi
61133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61134 ac_ext=c
61135 ac_cpp='$CPP $CPPFLAGS'
61136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61139
61140
61141 fi
61142
61143 fi
61144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61145 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61146
61147 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61148 for ac_func in finitef
61149 do :
61150 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61151 if test "x$ac_cv_func_finitef" = x""yes; then :
61152 cat >>confdefs.h <<_ACEOF
61153 #define HAVE_FINITEF 1
61154 _ACEOF
61155
61156 fi
61157 done
61158
61159 else
61160
61161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61162 $as_echo_n "checking for _finitef declaration... " >&6; }
61163 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61164 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61165 $as_echo_n "(cached) " >&6
61166 else
61167
61168
61169 ac_ext=cpp
61170 ac_cpp='$CXXCPP $CPPFLAGS'
61171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61174
61175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61176 /* end confdefs.h. */
61177 #include <math.h>
61178 #ifdef HAVE_IEEEFP_H
61179 #include <ieeefp.h>
61180 #endif
61181
61182 int
61183 main ()
61184 {
61185 _finitef(0);
61186 ;
61187 return 0;
61188 }
61189 _ACEOF
61190 if ac_fn_cxx_try_compile "$LINENO"; then :
61191 glibcxx_cv_func__finitef_use=yes
61192 else
61193 glibcxx_cv_func__finitef_use=no
61194 fi
61195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61196 ac_ext=c
61197 ac_cpp='$CPP $CPPFLAGS'
61198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61201
61202
61203 fi
61204
61205 fi
61206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61207 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61208
61209 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61210 for ac_func in _finitef
61211 do :
61212 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61213 if test "x$ac_cv_func__finitef" = x""yes; then :
61214 cat >>confdefs.h <<_ACEOF
61215 #define HAVE__FINITEF 1
61216 _ACEOF
61217
61218 fi
61219 done
61220
61221 fi
61222 fi
61223
61224
61225
61226
61227
61228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61229 $as_echo_n "checking for long double trig functions... " >&6; }
61230 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61231 $as_echo_n "(cached) " >&6
61232 else
61233
61234
61235 ac_ext=cpp
61236 ac_cpp='$CXXCPP $CPPFLAGS'
61237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61240
61241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61242 /* end confdefs.h. */
61243 #include <math.h>
61244 int
61245 main ()
61246 {
61247 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61248 ;
61249 return 0;
61250 }
61251 _ACEOF
61252 if ac_fn_cxx_try_compile "$LINENO"; then :
61253 glibcxx_cv_func_long_double_trig_use=yes
61254 else
61255 glibcxx_cv_func_long_double_trig_use=no
61256 fi
61257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61258 ac_ext=c
61259 ac_cpp='$CPP $CPPFLAGS'
61260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61263
61264 fi
61265
61266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61267 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61268 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61269 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61270 do :
61271 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61272 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61273 eval as_val=\$$as_ac_var
61274 if test "x$as_val" = x""yes; then :
61275 cat >>confdefs.h <<_ACEOF
61276 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61277 _ACEOF
61278
61279 fi
61280 done
61281
61282 else
61283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61284 $as_echo_n "checking for _long double trig functions... " >&6; }
61285 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61286 $as_echo_n "(cached) " >&6
61287 else
61288
61289
61290 ac_ext=cpp
61291 ac_cpp='$CXXCPP $CPPFLAGS'
61292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61295
61296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61297 /* end confdefs.h. */
61298 #include <math.h>
61299 int
61300 main ()
61301 {
61302 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61303 ;
61304 return 0;
61305 }
61306 _ACEOF
61307 if ac_fn_cxx_try_compile "$LINENO"; then :
61308 glibcxx_cv_func__long_double_trig_use=yes
61309 else
61310 glibcxx_cv_func__long_double_trig_use=no
61311 fi
61312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61313 ac_ext=c
61314 ac_cpp='$CPP $CPPFLAGS'
61315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61318
61319 fi
61320
61321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61322 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61323 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61324 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61325 do :
61326 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61327 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61328 eval as_val=\$$as_ac_var
61329 if test "x$as_val" = x""yes; then :
61330 cat >>confdefs.h <<_ACEOF
61331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61332 _ACEOF
61333
61334 fi
61335 done
61336
61337 fi
61338 fi
61339
61340
61341
61342
61343
61344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61345 $as_echo_n "checking for long double round functions... " >&6; }
61346 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61347 $as_echo_n "(cached) " >&6
61348 else
61349
61350
61351 ac_ext=cpp
61352 ac_cpp='$CXXCPP $CPPFLAGS'
61353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61356
61357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61358 /* end confdefs.h. */
61359 #include <math.h>
61360 int
61361 main ()
61362 {
61363 ceill (0); floorl (0);
61364 ;
61365 return 0;
61366 }
61367 _ACEOF
61368 if ac_fn_cxx_try_compile "$LINENO"; then :
61369 glibcxx_cv_func_long_double_round_use=yes
61370 else
61371 glibcxx_cv_func_long_double_round_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 fi
61381
61382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61383 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61384 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61385 for ac_func in ceill floorl
61386 do :
61387 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61388 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61389 eval as_val=\$$as_ac_var
61390 if test "x$as_val" = x""yes; then :
61391 cat >>confdefs.h <<_ACEOF
61392 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61393 _ACEOF
61394
61395 fi
61396 done
61397
61398 else
61399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61400 $as_echo_n "checking for _long double round functions... " >&6; }
61401 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61402 $as_echo_n "(cached) " >&6
61403 else
61404
61405
61406 ac_ext=cpp
61407 ac_cpp='$CXXCPP $CPPFLAGS'
61408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61411
61412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61413 /* end confdefs.h. */
61414 #include <math.h>
61415 int
61416 main ()
61417 {
61418 _ceill (0); _floorl (0);
61419 ;
61420 return 0;
61421 }
61422 _ACEOF
61423 if ac_fn_cxx_try_compile "$LINENO"; then :
61424 glibcxx_cv_func__long_double_round_use=yes
61425 else
61426 glibcxx_cv_func__long_double_round_use=no
61427 fi
61428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61429 ac_ext=c
61430 ac_cpp='$CPP $CPPFLAGS'
61431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61434
61435 fi
61436
61437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61438 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61439 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61440 for ac_func in _ceill _floorl
61441 do :
61442 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61443 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61444 eval as_val=\$$as_ac_var
61445 if test "x$as_val" = x""yes; then :
61446 cat >>confdefs.h <<_ACEOF
61447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61448 _ACEOF
61449
61450 fi
61451 done
61452
61453 fi
61454 fi
61455
61456
61457
61458
61459
61460
61461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61462 $as_echo_n "checking for isnanl declaration... " >&6; }
61463 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61464 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61465 $as_echo_n "(cached) " >&6
61466 else
61467
61468
61469 ac_ext=cpp
61470 ac_cpp='$CXXCPP $CPPFLAGS'
61471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61474
61475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61476 /* end confdefs.h. */
61477 #include <math.h>
61478 #ifdef HAVE_IEEEFP_H
61479 #include <ieeefp.h>
61480 #endif
61481
61482 int
61483 main ()
61484 {
61485 isnanl(0);
61486 ;
61487 return 0;
61488 }
61489 _ACEOF
61490 if ac_fn_cxx_try_compile "$LINENO"; then :
61491 glibcxx_cv_func_isnanl_use=yes
61492 else
61493 glibcxx_cv_func_isnanl_use=no
61494 fi
61495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61496 ac_ext=c
61497 ac_cpp='$CPP $CPPFLAGS'
61498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61501
61502
61503 fi
61504
61505 fi
61506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61507 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61508
61509 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61510 for ac_func in isnanl
61511 do :
61512 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61513 if test "x$ac_cv_func_isnanl" = x""yes; then :
61514 cat >>confdefs.h <<_ACEOF
61515 #define HAVE_ISNANL 1
61516 _ACEOF
61517
61518 fi
61519 done
61520
61521 else
61522
61523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61524 $as_echo_n "checking for _isnanl declaration... " >&6; }
61525 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61526 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61527 $as_echo_n "(cached) " >&6
61528 else
61529
61530
61531 ac_ext=cpp
61532 ac_cpp='$CXXCPP $CPPFLAGS'
61533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61536
61537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61538 /* end confdefs.h. */
61539 #include <math.h>
61540 #ifdef HAVE_IEEEFP_H
61541 #include <ieeefp.h>
61542 #endif
61543
61544 int
61545 main ()
61546 {
61547 _isnanl(0);
61548 ;
61549 return 0;
61550 }
61551 _ACEOF
61552 if ac_fn_cxx_try_compile "$LINENO"; then :
61553 glibcxx_cv_func__isnanl_use=yes
61554 else
61555 glibcxx_cv_func__isnanl_use=no
61556 fi
61557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61558 ac_ext=c
61559 ac_cpp='$CPP $CPPFLAGS'
61560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61563
61564
61565 fi
61566
61567 fi
61568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61569 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61570
61571 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61572 for ac_func in _isnanl
61573 do :
61574 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61575 if test "x$ac_cv_func__isnanl" = x""yes; then :
61576 cat >>confdefs.h <<_ACEOF
61577 #define HAVE__ISNANL 1
61578 _ACEOF
61579
61580 fi
61581 done
61582
61583 fi
61584 fi
61585
61586
61587
61588
61589
61590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61591 $as_echo_n "checking for isinfl declaration... " >&6; }
61592 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61593 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61594 $as_echo_n "(cached) " >&6
61595 else
61596
61597
61598 ac_ext=cpp
61599 ac_cpp='$CXXCPP $CPPFLAGS'
61600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61603
61604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61605 /* end confdefs.h. */
61606 #include <math.h>
61607 #ifdef HAVE_IEEEFP_H
61608 #include <ieeefp.h>
61609 #endif
61610
61611 int
61612 main ()
61613 {
61614 isinfl(0);
61615 ;
61616 return 0;
61617 }
61618 _ACEOF
61619 if ac_fn_cxx_try_compile "$LINENO"; then :
61620 glibcxx_cv_func_isinfl_use=yes
61621 else
61622 glibcxx_cv_func_isinfl_use=no
61623 fi
61624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61625 ac_ext=c
61626 ac_cpp='$CPP $CPPFLAGS'
61627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61630
61631
61632 fi
61633
61634 fi
61635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61636 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61637
61638 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61639 for ac_func in isinfl
61640 do :
61641 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61642 if test "x$ac_cv_func_isinfl" = x""yes; then :
61643 cat >>confdefs.h <<_ACEOF
61644 #define HAVE_ISINFL 1
61645 _ACEOF
61646
61647 fi
61648 done
61649
61650 else
61651
61652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61653 $as_echo_n "checking for _isinfl declaration... " >&6; }
61654 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61655 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61656 $as_echo_n "(cached) " >&6
61657 else
61658
61659
61660 ac_ext=cpp
61661 ac_cpp='$CXXCPP $CPPFLAGS'
61662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61665
61666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61667 /* end confdefs.h. */
61668 #include <math.h>
61669 #ifdef HAVE_IEEEFP_H
61670 #include <ieeefp.h>
61671 #endif
61672
61673 int
61674 main ()
61675 {
61676 _isinfl(0);
61677 ;
61678 return 0;
61679 }
61680 _ACEOF
61681 if ac_fn_cxx_try_compile "$LINENO"; then :
61682 glibcxx_cv_func__isinfl_use=yes
61683 else
61684 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
61698 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61699
61700 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61701 for ac_func in _isinfl
61702 do :
61703 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61704 if test "x$ac_cv_func__isinfl" = x""yes; then :
61705 cat >>confdefs.h <<_ACEOF
61706 #define HAVE__ISINFL 1
61707 _ACEOF
61708
61709 fi
61710 done
61711
61712 fi
61713 fi
61714
61715
61716
61717
61718
61719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61720 $as_echo_n "checking for atan2l declaration... " >&6; }
61721 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61722 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61723 $as_echo_n "(cached) " >&6
61724 else
61725
61726
61727 ac_ext=cpp
61728 ac_cpp='$CXXCPP $CPPFLAGS'
61729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61732
61733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61734 /* end confdefs.h. */
61735 #include <math.h>
61736 int
61737 main ()
61738 {
61739 atan2l(0, 0);
61740 ;
61741 return 0;
61742 }
61743 _ACEOF
61744 if ac_fn_cxx_try_compile "$LINENO"; then :
61745 glibcxx_cv_func_atan2l_use=yes
61746 else
61747 glibcxx_cv_func_atan2l_use=no
61748 fi
61749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61750 ac_ext=c
61751 ac_cpp='$CPP $CPPFLAGS'
61752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61755
61756
61757 fi
61758
61759 fi
61760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61761 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61762
61763 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61764 for ac_func in atan2l
61765 do :
61766 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61767 if test "x$ac_cv_func_atan2l" = x""yes; then :
61768 cat >>confdefs.h <<_ACEOF
61769 #define HAVE_ATAN2L 1
61770 _ACEOF
61771
61772 fi
61773 done
61774
61775 else
61776
61777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61778 $as_echo_n "checking for _atan2l declaration... " >&6; }
61779 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61780 if test "${glibcxx_cv_func__atan2l_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 _atan2l(0, 0);
61798 ;
61799 return 0;
61800 }
61801 _ACEOF
61802 if ac_fn_cxx_try_compile "$LINENO"; then :
61803 glibcxx_cv_func__atan2l_use=yes
61804 else
61805 glibcxx_cv_func__atan2l_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__atan2l_use" >&5
61819 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61820
61821 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61822 for ac_func in _atan2l
61823 do :
61824 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61825 if test "x$ac_cv_func__atan2l" = x""yes; then :
61826 cat >>confdefs.h <<_ACEOF
61827 #define HAVE__ATAN2L 1
61828 _ACEOF
61829
61830 fi
61831 done
61832
61833 fi
61834 fi
61835
61836
61837
61838
61839
61840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61841 $as_echo_n "checking for expl declaration... " >&6; }
61842 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61843 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61844 $as_echo_n "(cached) " >&6
61845 else
61846
61847
61848 ac_ext=cpp
61849 ac_cpp='$CXXCPP $CPPFLAGS'
61850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61853
61854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61855 /* end confdefs.h. */
61856 #include <math.h>
61857 #ifdef HAVE_IEEEFP_H
61858 #include <ieeefp.h>
61859 #endif
61860
61861 int
61862 main ()
61863 {
61864 expl(0);
61865 ;
61866 return 0;
61867 }
61868 _ACEOF
61869 if ac_fn_cxx_try_compile "$LINENO"; then :
61870 glibcxx_cv_func_expl_use=yes
61871 else
61872 glibcxx_cv_func_expl_use=no
61873 fi
61874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61875 ac_ext=c
61876 ac_cpp='$CPP $CPPFLAGS'
61877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61880
61881
61882 fi
61883
61884 fi
61885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61886 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61887
61888 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61889 for ac_func in expl
61890 do :
61891 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61892 if test "x$ac_cv_func_expl" = x""yes; then :
61893 cat >>confdefs.h <<_ACEOF
61894 #define HAVE_EXPL 1
61895 _ACEOF
61896
61897 fi
61898 done
61899
61900 else
61901
61902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61903 $as_echo_n "checking for _expl declaration... " >&6; }
61904 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61905 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61906 $as_echo_n "(cached) " >&6
61907 else
61908
61909
61910 ac_ext=cpp
61911 ac_cpp='$CXXCPP $CPPFLAGS'
61912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61915
61916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61917 /* end confdefs.h. */
61918 #include <math.h>
61919 #ifdef HAVE_IEEEFP_H
61920 #include <ieeefp.h>
61921 #endif
61922
61923 int
61924 main ()
61925 {
61926 _expl(0);
61927 ;
61928 return 0;
61929 }
61930 _ACEOF
61931 if ac_fn_cxx_try_compile "$LINENO"; then :
61932 glibcxx_cv_func__expl_use=yes
61933 else
61934 glibcxx_cv_func__expl_use=no
61935 fi
61936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61937 ac_ext=c
61938 ac_cpp='$CPP $CPPFLAGS'
61939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61942
61943
61944 fi
61945
61946 fi
61947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61948 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61949
61950 if test x$glibcxx_cv_func__expl_use = x"yes"; then
61951 for ac_func in _expl
61952 do :
61953 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61954 if test "x$ac_cv_func__expl" = x""yes; then :
61955 cat >>confdefs.h <<_ACEOF
61956 #define HAVE__EXPL 1
61957 _ACEOF
61958
61959 fi
61960 done
61961
61962 fi
61963 fi
61964
61965
61966
61967
61968
61969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61970 $as_echo_n "checking for fabsl declaration... " >&6; }
61971 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61972 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61973 $as_echo_n "(cached) " >&6
61974 else
61975
61976
61977 ac_ext=cpp
61978 ac_cpp='$CXXCPP $CPPFLAGS'
61979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61982
61983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61984 /* end confdefs.h. */
61985 #include <math.h>
61986 #ifdef HAVE_IEEEFP_H
61987 #include <ieeefp.h>
61988 #endif
61989
61990 int
61991 main ()
61992 {
61993 fabsl(0);
61994 ;
61995 return 0;
61996 }
61997 _ACEOF
61998 if ac_fn_cxx_try_compile "$LINENO"; then :
61999 glibcxx_cv_func_fabsl_use=yes
62000 else
62001 glibcxx_cv_func_fabsl_use=no
62002 fi
62003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62004 ac_ext=c
62005 ac_cpp='$CPP $CPPFLAGS'
62006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62009
62010
62011 fi
62012
62013 fi
62014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62015 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62016
62017 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62018 for ac_func in fabsl
62019 do :
62020 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62021 if test "x$ac_cv_func_fabsl" = x""yes; then :
62022 cat >>confdefs.h <<_ACEOF
62023 #define HAVE_FABSL 1
62024 _ACEOF
62025
62026 fi
62027 done
62028
62029 else
62030
62031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62032 $as_echo_n "checking for _fabsl declaration... " >&6; }
62033 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62034 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62035 $as_echo_n "(cached) " >&6
62036 else
62037
62038
62039 ac_ext=cpp
62040 ac_cpp='$CXXCPP $CPPFLAGS'
62041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62044
62045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62046 /* end confdefs.h. */
62047 #include <math.h>
62048 #ifdef HAVE_IEEEFP_H
62049 #include <ieeefp.h>
62050 #endif
62051
62052 int
62053 main ()
62054 {
62055 _fabsl(0);
62056 ;
62057 return 0;
62058 }
62059 _ACEOF
62060 if ac_fn_cxx_try_compile "$LINENO"; then :
62061 glibcxx_cv_func__fabsl_use=yes
62062 else
62063 glibcxx_cv_func__fabsl_use=no
62064 fi
62065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62066 ac_ext=c
62067 ac_cpp='$CPP $CPPFLAGS'
62068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62071
62072
62073 fi
62074
62075 fi
62076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62077 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62078
62079 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62080 for ac_func in _fabsl
62081 do :
62082 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62083 if test "x$ac_cv_func__fabsl" = x""yes; then :
62084 cat >>confdefs.h <<_ACEOF
62085 #define HAVE__FABSL 1
62086 _ACEOF
62087
62088 fi
62089 done
62090
62091 fi
62092 fi
62093
62094
62095
62096
62097
62098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62099 $as_echo_n "checking for fmodl declaration... " >&6; }
62100 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62101 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62102 $as_echo_n "(cached) " >&6
62103 else
62104
62105
62106 ac_ext=cpp
62107 ac_cpp='$CXXCPP $CPPFLAGS'
62108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62111
62112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62113 /* end confdefs.h. */
62114 #include <math.h>
62115 int
62116 main ()
62117 {
62118 fmodl(0, 0);
62119 ;
62120 return 0;
62121 }
62122 _ACEOF
62123 if ac_fn_cxx_try_compile "$LINENO"; then :
62124 glibcxx_cv_func_fmodl_use=yes
62125 else
62126 glibcxx_cv_func_fmodl_use=no
62127 fi
62128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62129 ac_ext=c
62130 ac_cpp='$CPP $CPPFLAGS'
62131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62134
62135
62136 fi
62137
62138 fi
62139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62140 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62141
62142 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62143 for ac_func in fmodl
62144 do :
62145 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62146 if test "x$ac_cv_func_fmodl" = x""yes; then :
62147 cat >>confdefs.h <<_ACEOF
62148 #define HAVE_FMODL 1
62149 _ACEOF
62150
62151 fi
62152 done
62153
62154 else
62155
62156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62157 $as_echo_n "checking for _fmodl declaration... " >&6; }
62158 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62159 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62160 $as_echo_n "(cached) " >&6
62161 else
62162
62163
62164 ac_ext=cpp
62165 ac_cpp='$CXXCPP $CPPFLAGS'
62166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62169
62170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62171 /* end confdefs.h. */
62172 #include <math.h>
62173 int
62174 main ()
62175 {
62176 _fmodl(0, 0);
62177 ;
62178 return 0;
62179 }
62180 _ACEOF
62181 if ac_fn_cxx_try_compile "$LINENO"; then :
62182 glibcxx_cv_func__fmodl_use=yes
62183 else
62184 glibcxx_cv_func__fmodl_use=no
62185 fi
62186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62187 ac_ext=c
62188 ac_cpp='$CPP $CPPFLAGS'
62189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62192
62193
62194 fi
62195
62196 fi
62197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62198 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62199
62200 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62201 for ac_func in _fmodl
62202 do :
62203 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62204 if test "x$ac_cv_func__fmodl" = x""yes; then :
62205 cat >>confdefs.h <<_ACEOF
62206 #define HAVE__FMODL 1
62207 _ACEOF
62208
62209 fi
62210 done
62211
62212 fi
62213 fi
62214
62215
62216
62217
62218
62219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62220 $as_echo_n "checking for frexpl declaration... " >&6; }
62221 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62222 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62223 $as_echo_n "(cached) " >&6
62224 else
62225
62226
62227 ac_ext=cpp
62228 ac_cpp='$CXXCPP $CPPFLAGS'
62229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62232
62233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62234 /* end confdefs.h. */
62235 #include <math.h>
62236 int
62237 main ()
62238 {
62239 frexpl(0, 0);
62240 ;
62241 return 0;
62242 }
62243 _ACEOF
62244 if ac_fn_cxx_try_compile "$LINENO"; then :
62245 glibcxx_cv_func_frexpl_use=yes
62246 else
62247 glibcxx_cv_func_frexpl_use=no
62248 fi
62249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62250 ac_ext=c
62251 ac_cpp='$CPP $CPPFLAGS'
62252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62255
62256
62257 fi
62258
62259 fi
62260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62261 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62262
62263 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62264 for ac_func in frexpl
62265 do :
62266 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62267 if test "x$ac_cv_func_frexpl" = x""yes; then :
62268 cat >>confdefs.h <<_ACEOF
62269 #define HAVE_FREXPL 1
62270 _ACEOF
62271
62272 fi
62273 done
62274
62275 else
62276
62277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62278 $as_echo_n "checking for _frexpl declaration... " >&6; }
62279 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62280 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62281 $as_echo_n "(cached) " >&6
62282 else
62283
62284
62285 ac_ext=cpp
62286 ac_cpp='$CXXCPP $CPPFLAGS'
62287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62290
62291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62292 /* end confdefs.h. */
62293 #include <math.h>
62294 int
62295 main ()
62296 {
62297 _frexpl(0, 0);
62298 ;
62299 return 0;
62300 }
62301 _ACEOF
62302 if ac_fn_cxx_try_compile "$LINENO"; then :
62303 glibcxx_cv_func__frexpl_use=yes
62304 else
62305 glibcxx_cv_func__frexpl_use=no
62306 fi
62307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62308 ac_ext=c
62309 ac_cpp='$CPP $CPPFLAGS'
62310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62313
62314
62315 fi
62316
62317 fi
62318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62319 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62320
62321 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62322 for ac_func in _frexpl
62323 do :
62324 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62325 if test "x$ac_cv_func__frexpl" = x""yes; then :
62326 cat >>confdefs.h <<_ACEOF
62327 #define HAVE__FREXPL 1
62328 _ACEOF
62329
62330 fi
62331 done
62332
62333 fi
62334 fi
62335
62336
62337
62338
62339
62340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62341 $as_echo_n "checking for hypotl declaration... " >&6; }
62342 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62343 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62344 $as_echo_n "(cached) " >&6
62345 else
62346
62347
62348 ac_ext=cpp
62349 ac_cpp='$CXXCPP $CPPFLAGS'
62350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62353
62354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62355 /* end confdefs.h. */
62356 #include <math.h>
62357 int
62358 main ()
62359 {
62360 hypotl(0, 0);
62361 ;
62362 return 0;
62363 }
62364 _ACEOF
62365 if ac_fn_cxx_try_compile "$LINENO"; then :
62366 glibcxx_cv_func_hypotl_use=yes
62367 else
62368 glibcxx_cv_func_hypotl_use=no
62369 fi
62370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62371 ac_ext=c
62372 ac_cpp='$CPP $CPPFLAGS'
62373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62376
62377
62378 fi
62379
62380 fi
62381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62382 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62383
62384 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62385 for ac_func in hypotl
62386 do :
62387 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62388 if test "x$ac_cv_func_hypotl" = x""yes; then :
62389 cat >>confdefs.h <<_ACEOF
62390 #define HAVE_HYPOTL 1
62391 _ACEOF
62392
62393 fi
62394 done
62395
62396 else
62397
62398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62399 $as_echo_n "checking for _hypotl declaration... " >&6; }
62400 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62401 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62402 $as_echo_n "(cached) " >&6
62403 else
62404
62405
62406 ac_ext=cpp
62407 ac_cpp='$CXXCPP $CPPFLAGS'
62408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62411
62412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62413 /* end confdefs.h. */
62414 #include <math.h>
62415 int
62416 main ()
62417 {
62418 _hypotl(0, 0);
62419 ;
62420 return 0;
62421 }
62422 _ACEOF
62423 if ac_fn_cxx_try_compile "$LINENO"; then :
62424 glibcxx_cv_func__hypotl_use=yes
62425 else
62426 glibcxx_cv_func__hypotl_use=no
62427 fi
62428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62429 ac_ext=c
62430 ac_cpp='$CPP $CPPFLAGS'
62431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62434
62435
62436 fi
62437
62438 fi
62439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62440 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62441
62442 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62443 for ac_func in _hypotl
62444 do :
62445 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62446 if test "x$ac_cv_func__hypotl" = x""yes; then :
62447 cat >>confdefs.h <<_ACEOF
62448 #define HAVE__HYPOTL 1
62449 _ACEOF
62450
62451 fi
62452 done
62453
62454 fi
62455 fi
62456
62457
62458
62459
62460
62461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62462 $as_echo_n "checking for ldexpl declaration... " >&6; }
62463 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62464 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62465 $as_echo_n "(cached) " >&6
62466 else
62467
62468
62469 ac_ext=cpp
62470 ac_cpp='$CXXCPP $CPPFLAGS'
62471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62474
62475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62476 /* end confdefs.h. */
62477 #include <math.h>
62478 int
62479 main ()
62480 {
62481 ldexpl(0, 0);
62482 ;
62483 return 0;
62484 }
62485 _ACEOF
62486 if ac_fn_cxx_try_compile "$LINENO"; then :
62487 glibcxx_cv_func_ldexpl_use=yes
62488 else
62489 glibcxx_cv_func_ldexpl_use=no
62490 fi
62491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62492 ac_ext=c
62493 ac_cpp='$CPP $CPPFLAGS'
62494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62497
62498
62499 fi
62500
62501 fi
62502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62503 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62504
62505 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62506 for ac_func in ldexpl
62507 do :
62508 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62509 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62510 cat >>confdefs.h <<_ACEOF
62511 #define HAVE_LDEXPL 1
62512 _ACEOF
62513
62514 fi
62515 done
62516
62517 else
62518
62519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62520 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62521 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62522 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62523 $as_echo_n "(cached) " >&6
62524 else
62525
62526
62527 ac_ext=cpp
62528 ac_cpp='$CXXCPP $CPPFLAGS'
62529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62532
62533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62534 /* end confdefs.h. */
62535 #include <math.h>
62536 int
62537 main ()
62538 {
62539 _ldexpl(0, 0);
62540 ;
62541 return 0;
62542 }
62543 _ACEOF
62544 if ac_fn_cxx_try_compile "$LINENO"; then :
62545 glibcxx_cv_func__ldexpl_use=yes
62546 else
62547 glibcxx_cv_func__ldexpl_use=no
62548 fi
62549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62550 ac_ext=c
62551 ac_cpp='$CPP $CPPFLAGS'
62552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62555
62556
62557 fi
62558
62559 fi
62560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62561 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62562
62563 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62564 for ac_func in _ldexpl
62565 do :
62566 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62567 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62568 cat >>confdefs.h <<_ACEOF
62569 #define HAVE__LDEXPL 1
62570 _ACEOF
62571
62572 fi
62573 done
62574
62575 fi
62576 fi
62577
62578
62579
62580
62581
62582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62583 $as_echo_n "checking for logl declaration... " >&6; }
62584 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62585 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62586 $as_echo_n "(cached) " >&6
62587 else
62588
62589
62590 ac_ext=cpp
62591 ac_cpp='$CXXCPP $CPPFLAGS'
62592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62595
62596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62597 /* end confdefs.h. */
62598 #include <math.h>
62599 #ifdef HAVE_IEEEFP_H
62600 #include <ieeefp.h>
62601 #endif
62602
62603 int
62604 main ()
62605 {
62606 logl(0);
62607 ;
62608 return 0;
62609 }
62610 _ACEOF
62611 if ac_fn_cxx_try_compile "$LINENO"; then :
62612 glibcxx_cv_func_logl_use=yes
62613 else
62614 glibcxx_cv_func_logl_use=no
62615 fi
62616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62617 ac_ext=c
62618 ac_cpp='$CPP $CPPFLAGS'
62619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62622
62623
62624 fi
62625
62626 fi
62627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62628 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62629
62630 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62631 for ac_func in logl
62632 do :
62633 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62634 if test "x$ac_cv_func_logl" = x""yes; then :
62635 cat >>confdefs.h <<_ACEOF
62636 #define HAVE_LOGL 1
62637 _ACEOF
62638
62639 fi
62640 done
62641
62642 else
62643
62644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62645 $as_echo_n "checking for _logl declaration... " >&6; }
62646 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62647 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62648 $as_echo_n "(cached) " >&6
62649 else
62650
62651
62652 ac_ext=cpp
62653 ac_cpp='$CXXCPP $CPPFLAGS'
62654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62657
62658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62659 /* end confdefs.h. */
62660 #include <math.h>
62661 #ifdef HAVE_IEEEFP_H
62662 #include <ieeefp.h>
62663 #endif
62664
62665 int
62666 main ()
62667 {
62668 _logl(0);
62669 ;
62670 return 0;
62671 }
62672 _ACEOF
62673 if ac_fn_cxx_try_compile "$LINENO"; then :
62674 glibcxx_cv_func__logl_use=yes
62675 else
62676 glibcxx_cv_func__logl_use=no
62677 fi
62678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62679 ac_ext=c
62680 ac_cpp='$CPP $CPPFLAGS'
62681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62684
62685
62686 fi
62687
62688 fi
62689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62690 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62691
62692 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62693 for ac_func in _logl
62694 do :
62695 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62696 if test "x$ac_cv_func__logl" = x""yes; then :
62697 cat >>confdefs.h <<_ACEOF
62698 #define HAVE__LOGL 1
62699 _ACEOF
62700
62701 fi
62702 done
62703
62704 fi
62705 fi
62706
62707
62708
62709
62710
62711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62712 $as_echo_n "checking for log10l declaration... " >&6; }
62713 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62714 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62715 $as_echo_n "(cached) " >&6
62716 else
62717
62718
62719 ac_ext=cpp
62720 ac_cpp='$CXXCPP $CPPFLAGS'
62721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62724
62725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62726 /* end confdefs.h. */
62727 #include <math.h>
62728 #ifdef HAVE_IEEEFP_H
62729 #include <ieeefp.h>
62730 #endif
62731
62732 int
62733 main ()
62734 {
62735 log10l(0);
62736 ;
62737 return 0;
62738 }
62739 _ACEOF
62740 if ac_fn_cxx_try_compile "$LINENO"; then :
62741 glibcxx_cv_func_log10l_use=yes
62742 else
62743 glibcxx_cv_func_log10l_use=no
62744 fi
62745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62746 ac_ext=c
62747 ac_cpp='$CPP $CPPFLAGS'
62748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62751
62752
62753 fi
62754
62755 fi
62756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62757 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62758
62759 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62760 for ac_func in log10l
62761 do :
62762 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62763 if test "x$ac_cv_func_log10l" = x""yes; then :
62764 cat >>confdefs.h <<_ACEOF
62765 #define HAVE_LOG10L 1
62766 _ACEOF
62767
62768 fi
62769 done
62770
62771 else
62772
62773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62774 $as_echo_n "checking for _log10l declaration... " >&6; }
62775 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62776 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62777 $as_echo_n "(cached) " >&6
62778 else
62779
62780
62781 ac_ext=cpp
62782 ac_cpp='$CXXCPP $CPPFLAGS'
62783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62786
62787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62788 /* end confdefs.h. */
62789 #include <math.h>
62790 #ifdef HAVE_IEEEFP_H
62791 #include <ieeefp.h>
62792 #endif
62793
62794 int
62795 main ()
62796 {
62797 _log10l(0);
62798 ;
62799 return 0;
62800 }
62801 _ACEOF
62802 if ac_fn_cxx_try_compile "$LINENO"; then :
62803 glibcxx_cv_func__log10l_use=yes
62804 else
62805 glibcxx_cv_func__log10l_use=no
62806 fi
62807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62808 ac_ext=c
62809 ac_cpp='$CPP $CPPFLAGS'
62810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62813
62814
62815 fi
62816
62817 fi
62818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62819 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62820
62821 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62822 for ac_func in _log10l
62823 do :
62824 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62825 if test "x$ac_cv_func__log10l" = x""yes; then :
62826 cat >>confdefs.h <<_ACEOF
62827 #define HAVE__LOG10L 1
62828 _ACEOF
62829
62830 fi
62831 done
62832
62833 fi
62834 fi
62835
62836
62837
62838
62839
62840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62841 $as_echo_n "checking for modfl declaration... " >&6; }
62842 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62843 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62844 $as_echo_n "(cached) " >&6
62845 else
62846
62847
62848 ac_ext=cpp
62849 ac_cpp='$CXXCPP $CPPFLAGS'
62850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62853
62854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62855 /* end confdefs.h. */
62856 #include <math.h>
62857 int
62858 main ()
62859 {
62860 modfl(0, 0);
62861 ;
62862 return 0;
62863 }
62864 _ACEOF
62865 if ac_fn_cxx_try_compile "$LINENO"; then :
62866 glibcxx_cv_func_modfl_use=yes
62867 else
62868 glibcxx_cv_func_modfl_use=no
62869 fi
62870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62871 ac_ext=c
62872 ac_cpp='$CPP $CPPFLAGS'
62873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62876
62877
62878 fi
62879
62880 fi
62881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62882 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62883
62884 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62885 for ac_func in modfl
62886 do :
62887 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62888 if test "x$ac_cv_func_modfl" = x""yes; then :
62889 cat >>confdefs.h <<_ACEOF
62890 #define HAVE_MODFL 1
62891 _ACEOF
62892
62893 fi
62894 done
62895
62896 else
62897
62898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62899 $as_echo_n "checking for _modfl declaration... " >&6; }
62900 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62901 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62902 $as_echo_n "(cached) " >&6
62903 else
62904
62905
62906 ac_ext=cpp
62907 ac_cpp='$CXXCPP $CPPFLAGS'
62908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62911
62912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62913 /* end confdefs.h. */
62914 #include <math.h>
62915 int
62916 main ()
62917 {
62918 _modfl(0, 0);
62919 ;
62920 return 0;
62921 }
62922 _ACEOF
62923 if ac_fn_cxx_try_compile "$LINENO"; then :
62924 glibcxx_cv_func__modfl_use=yes
62925 else
62926 glibcxx_cv_func__modfl_use=no
62927 fi
62928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62929 ac_ext=c
62930 ac_cpp='$CPP $CPPFLAGS'
62931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62934
62935
62936 fi
62937
62938 fi
62939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62940 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62941
62942 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62943 for ac_func in _modfl
62944 do :
62945 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62946 if test "x$ac_cv_func__modfl" = x""yes; then :
62947 cat >>confdefs.h <<_ACEOF
62948 #define HAVE__MODFL 1
62949 _ACEOF
62950
62951 fi
62952 done
62953
62954 fi
62955 fi
62956
62957
62958
62959
62960
62961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62962 $as_echo_n "checking for powl declaration... " >&6; }
62963 if test x${glibcxx_cv_func_powl_use+set} != xset; then
62964 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62965 $as_echo_n "(cached) " >&6
62966 else
62967
62968
62969 ac_ext=cpp
62970 ac_cpp='$CXXCPP $CPPFLAGS'
62971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62974
62975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62976 /* end confdefs.h. */
62977 #include <math.h>
62978 int
62979 main ()
62980 {
62981 powl(0, 0);
62982 ;
62983 return 0;
62984 }
62985 _ACEOF
62986 if ac_fn_cxx_try_compile "$LINENO"; then :
62987 glibcxx_cv_func_powl_use=yes
62988 else
62989 glibcxx_cv_func_powl_use=no
62990 fi
62991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62992 ac_ext=c
62993 ac_cpp='$CPP $CPPFLAGS'
62994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62997
62998
62999 fi
63000
63001 fi
63002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63003 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63004
63005 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63006 for ac_func in powl
63007 do :
63008 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63009 if test "x$ac_cv_func_powl" = x""yes; then :
63010 cat >>confdefs.h <<_ACEOF
63011 #define HAVE_POWL 1
63012 _ACEOF
63013
63014 fi
63015 done
63016
63017 else
63018
63019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63020 $as_echo_n "checking for _powl declaration... " >&6; }
63021 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63022 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63023 $as_echo_n "(cached) " >&6
63024 else
63025
63026
63027 ac_ext=cpp
63028 ac_cpp='$CXXCPP $CPPFLAGS'
63029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63032
63033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63034 /* end confdefs.h. */
63035 #include <math.h>
63036 int
63037 main ()
63038 {
63039 _powl(0, 0);
63040 ;
63041 return 0;
63042 }
63043 _ACEOF
63044 if ac_fn_cxx_try_compile "$LINENO"; then :
63045 glibcxx_cv_func__powl_use=yes
63046 else
63047 glibcxx_cv_func__powl_use=no
63048 fi
63049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63050 ac_ext=c
63051 ac_cpp='$CPP $CPPFLAGS'
63052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63055
63056
63057 fi
63058
63059 fi
63060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63061 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63062
63063 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63064 for ac_func in _powl
63065 do :
63066 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63067 if test "x$ac_cv_func__powl" = x""yes; then :
63068 cat >>confdefs.h <<_ACEOF
63069 #define HAVE__POWL 1
63070 _ACEOF
63071
63072 fi
63073 done
63074
63075 fi
63076 fi
63077
63078
63079
63080
63081
63082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63083 $as_echo_n "checking for sqrtl declaration... " >&6; }
63084 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63085 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63086 $as_echo_n "(cached) " >&6
63087 else
63088
63089
63090 ac_ext=cpp
63091 ac_cpp='$CXXCPP $CPPFLAGS'
63092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63095
63096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63097 /* end confdefs.h. */
63098 #include <math.h>
63099 #ifdef HAVE_IEEEFP_H
63100 #include <ieeefp.h>
63101 #endif
63102
63103 int
63104 main ()
63105 {
63106 sqrtl(0);
63107 ;
63108 return 0;
63109 }
63110 _ACEOF
63111 if ac_fn_cxx_try_compile "$LINENO"; then :
63112 glibcxx_cv_func_sqrtl_use=yes
63113 else
63114 glibcxx_cv_func_sqrtl_use=no
63115 fi
63116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63117 ac_ext=c
63118 ac_cpp='$CPP $CPPFLAGS'
63119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63122
63123
63124 fi
63125
63126 fi
63127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63128 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63129
63130 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63131 for ac_func in sqrtl
63132 do :
63133 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63134 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63135 cat >>confdefs.h <<_ACEOF
63136 #define HAVE_SQRTL 1
63137 _ACEOF
63138
63139 fi
63140 done
63141
63142 else
63143
63144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63145 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63146 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63147 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63148 $as_echo_n "(cached) " >&6
63149 else
63150
63151
63152 ac_ext=cpp
63153 ac_cpp='$CXXCPP $CPPFLAGS'
63154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63157
63158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63159 /* end confdefs.h. */
63160 #include <math.h>
63161 #ifdef HAVE_IEEEFP_H
63162 #include <ieeefp.h>
63163 #endif
63164
63165 int
63166 main ()
63167 {
63168 _sqrtl(0);
63169 ;
63170 return 0;
63171 }
63172 _ACEOF
63173 if ac_fn_cxx_try_compile "$LINENO"; then :
63174 glibcxx_cv_func__sqrtl_use=yes
63175 else
63176 glibcxx_cv_func__sqrtl_use=no
63177 fi
63178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63179 ac_ext=c
63180 ac_cpp='$CPP $CPPFLAGS'
63181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63184
63185
63186 fi
63187
63188 fi
63189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63190 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63191
63192 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63193 for ac_func in _sqrtl
63194 do :
63195 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63196 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63197 cat >>confdefs.h <<_ACEOF
63198 #define HAVE__SQRTL 1
63199 _ACEOF
63200
63201 fi
63202 done
63203
63204 fi
63205 fi
63206
63207
63208
63209
63210
63211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63212 $as_echo_n "checking for sincosl declaration... " >&6; }
63213 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63214 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63215 $as_echo_n "(cached) " >&6
63216 else
63217
63218
63219 ac_ext=cpp
63220 ac_cpp='$CXXCPP $CPPFLAGS'
63221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63224
63225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63226 /* end confdefs.h. */
63227 #include <math.h>
63228 int
63229 main ()
63230 {
63231 sincosl(0, 0, 0);
63232 ;
63233 return 0;
63234 }
63235 _ACEOF
63236 if ac_fn_cxx_try_compile "$LINENO"; then :
63237 glibcxx_cv_func_sincosl_use=yes
63238 else
63239 glibcxx_cv_func_sincosl_use=no
63240 fi
63241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63242 ac_ext=c
63243 ac_cpp='$CPP $CPPFLAGS'
63244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63247
63248
63249 fi
63250
63251 fi
63252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63253 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63254
63255 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63256 for ac_func in sincosl
63257 do :
63258 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63259 if test "x$ac_cv_func_sincosl" = x""yes; then :
63260 cat >>confdefs.h <<_ACEOF
63261 #define HAVE_SINCOSL 1
63262 _ACEOF
63263
63264 fi
63265 done
63266
63267 else
63268
63269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63270 $as_echo_n "checking for _sincosl declaration... " >&6; }
63271 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63272 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63273 $as_echo_n "(cached) " >&6
63274 else
63275
63276
63277 ac_ext=cpp
63278 ac_cpp='$CXXCPP $CPPFLAGS'
63279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63282
63283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63284 /* end confdefs.h. */
63285 #include <math.h>
63286 int
63287 main ()
63288 {
63289 _sincosl(0, 0, 0);
63290 ;
63291 return 0;
63292 }
63293 _ACEOF
63294 if ac_fn_cxx_try_compile "$LINENO"; then :
63295 glibcxx_cv_func__sincosl_use=yes
63296 else
63297 glibcxx_cv_func__sincosl_use=no
63298 fi
63299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63300 ac_ext=c
63301 ac_cpp='$CPP $CPPFLAGS'
63302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63305
63306
63307 fi
63308
63309 fi
63310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63311 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63312
63313 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63314 for ac_func in _sincosl
63315 do :
63316 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63317 if test "x$ac_cv_func__sincosl" = x""yes; then :
63318 cat >>confdefs.h <<_ACEOF
63319 #define HAVE__SINCOSL 1
63320 _ACEOF
63321
63322 fi
63323 done
63324
63325 fi
63326 fi
63327
63328
63329
63330
63331
63332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63333 $as_echo_n "checking for finitel declaration... " >&6; }
63334 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63335 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63336 $as_echo_n "(cached) " >&6
63337 else
63338
63339
63340 ac_ext=cpp
63341 ac_cpp='$CXXCPP $CPPFLAGS'
63342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63345
63346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63347 /* end confdefs.h. */
63348 #include <math.h>
63349 #ifdef HAVE_IEEEFP_H
63350 #include <ieeefp.h>
63351 #endif
63352
63353 int
63354 main ()
63355 {
63356 finitel(0);
63357 ;
63358 return 0;
63359 }
63360 _ACEOF
63361 if ac_fn_cxx_try_compile "$LINENO"; then :
63362 glibcxx_cv_func_finitel_use=yes
63363 else
63364 glibcxx_cv_func_finitel_use=no
63365 fi
63366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63367 ac_ext=c
63368 ac_cpp='$CPP $CPPFLAGS'
63369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63372
63373
63374 fi
63375
63376 fi
63377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63378 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63379
63380 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63381 for ac_func in finitel
63382 do :
63383 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63384 if test "x$ac_cv_func_finitel" = x""yes; then :
63385 cat >>confdefs.h <<_ACEOF
63386 #define HAVE_FINITEL 1
63387 _ACEOF
63388
63389 fi
63390 done
63391
63392 else
63393
63394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63395 $as_echo_n "checking for _finitel declaration... " >&6; }
63396 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63397 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63398 $as_echo_n "(cached) " >&6
63399 else
63400
63401
63402 ac_ext=cpp
63403 ac_cpp='$CXXCPP $CPPFLAGS'
63404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63407
63408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63409 /* end confdefs.h. */
63410 #include <math.h>
63411 #ifdef HAVE_IEEEFP_H
63412 #include <ieeefp.h>
63413 #endif
63414
63415 int
63416 main ()
63417 {
63418 _finitel(0);
63419 ;
63420 return 0;
63421 }
63422 _ACEOF
63423 if ac_fn_cxx_try_compile "$LINENO"; then :
63424 glibcxx_cv_func__finitel_use=yes
63425 else
63426 glibcxx_cv_func__finitel_use=no
63427 fi
63428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63429 ac_ext=c
63430 ac_cpp='$CPP $CPPFLAGS'
63431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63434
63435
63436 fi
63437
63438 fi
63439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63440 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63441
63442 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63443 for ac_func in _finitel
63444 do :
63445 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63446 if test "x$ac_cv_func__finitel" = x""yes; then :
63447 cat >>confdefs.h <<_ACEOF
63448 #define HAVE__FINITEL 1
63449 _ACEOF
63450
63451 fi
63452 done
63453
63454 fi
63455 fi
63456
63457
63458
63459
63460 LIBS="$ac_save_LIBS"
63461 CXXFLAGS="$ac_save_CXXFLAGS"
63462
63463
63464 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63465 ac_save_CXXFLAGS="$CXXFLAGS"
63466 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63467
63468
63469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63470 $as_echo_n "checking for strtold declaration... " >&6; }
63471 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63472 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63473 $as_echo_n "(cached) " >&6
63474 else
63475
63476
63477 ac_ext=cpp
63478 ac_cpp='$CXXCPP $CPPFLAGS'
63479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63482
63483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63484 /* end confdefs.h. */
63485 #include <stdlib.h>
63486 int
63487 main ()
63488 {
63489 strtold(0, 0);
63490 ;
63491 return 0;
63492 }
63493 _ACEOF
63494 if ac_fn_cxx_try_compile "$LINENO"; then :
63495 glibcxx_cv_func_strtold_use=yes
63496 else
63497 glibcxx_cv_func_strtold_use=no
63498 fi
63499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63500 ac_ext=c
63501 ac_cpp='$CPP $CPPFLAGS'
63502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63505
63506
63507 fi
63508
63509 fi
63510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63511 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63512 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63513 for ac_func in strtold
63514 do :
63515 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63516 if test "x$ac_cv_func_strtold" = x""yes; then :
63517 cat >>confdefs.h <<_ACEOF
63518 #define HAVE_STRTOLD 1
63519 _ACEOF
63520
63521 fi
63522 done
63523
63524 fi
63525
63526
63527
63528
63529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63530 $as_echo_n "checking for strtof declaration... " >&6; }
63531 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63532 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63533 $as_echo_n "(cached) " >&6
63534 else
63535
63536
63537 ac_ext=cpp
63538 ac_cpp='$CXXCPP $CPPFLAGS'
63539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63542
63543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63544 /* end confdefs.h. */
63545 #include <stdlib.h>
63546 int
63547 main ()
63548 {
63549 strtof(0, 0);
63550 ;
63551 return 0;
63552 }
63553 _ACEOF
63554 if ac_fn_cxx_try_compile "$LINENO"; then :
63555 glibcxx_cv_func_strtof_use=yes
63556 else
63557 glibcxx_cv_func_strtof_use=no
63558 fi
63559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63560 ac_ext=c
63561 ac_cpp='$CPP $CPPFLAGS'
63562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63565
63566
63567 fi
63568
63569 fi
63570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63571 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63572 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63573 for ac_func in strtof
63574 do :
63575 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63576 if test "x$ac_cv_func_strtof" = x""yes; then :
63577 cat >>confdefs.h <<_ACEOF
63578 #define HAVE_STRTOF 1
63579 _ACEOF
63580
63581 fi
63582 done
63583
63584 fi
63585
63586
63587
63588
63589 CXXFLAGS="$ac_save_CXXFLAGS"
63590
63591 ;;
63592 *-solaris*)
63593 case "$target" in
63594 *-solaris2.9 | *-solaris2.10)
63595
63596 # If we're not using GNU ld, then there's no point in even trying these
63597 # tests. Check for that first. We should have already tested for gld
63598 # by now (in libtool), but require it now just to be safe...
63599 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63600 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63601
63602
63603
63604 # The name set by libtool depends on the version of libtool. Shame on us
63605 # for depending on an impl detail, but c'est la vie. Older versions used
63606 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63607 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63608 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63609 # set (hence we're using an older libtool), then set it.
63610 if test x${with_gnu_ld+set} != xset; then
63611 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63612 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63613 with_gnu_ld=no
63614 else
63615 with_gnu_ld=$ac_cv_prog_gnu_ld
63616 fi
63617 fi
63618
63619 # Start by getting the version number. I think the libtool test already
63620 # does some of this, but throws away the result.
63621 glibcxx_ld_is_gold=no
63622 if test x"$with_gnu_ld" = x"yes"; then
63623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63624 $as_echo_n "checking for ld version... " >&6; }
63625
63626 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63627 glibcxx_ld_is_gold=yes
63628 fi
63629 ldver=`$LD --version 2>/dev/null |
63630 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'`
63631
63632 glibcxx_gnu_ld_version=`echo $ldver | \
63633 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63635 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63636 fi
63637
63638 # Set --gc-sections.
63639 glibcxx_have_gc_sections=no
63640 if test "$glibcxx_ld_is_gold" = "yes"; then
63641 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63642 glibcxx_have_gc_sections=yes
63643 fi
63644 else
63645 glibcxx_gcsections_min_ld=21602
63646 if test x"$with_gnu_ld" = x"yes" &&
63647 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63648 glibcxx_have_gc_sections=yes
63649 fi
63650 fi
63651 if test "$glibcxx_have_gc_sections" = "yes"; then
63652 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63653 # NB: This flag only works reliably after 2.16.1. Configure tests
63654 # for this are difficult, so hard wire a value that should work.
63655
63656 ac_test_CFLAGS="${CFLAGS+set}"
63657 ac_save_CFLAGS="$CFLAGS"
63658 CFLAGS='-Wl,--gc-sections'
63659
63660 # Check for -Wl,--gc-sections
63661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63662 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63663 if test x$gcc_no_link = xyes; then
63664 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63665 fi
63666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63667 /* end confdefs.h. */
63668 int one(void) { return 1; }
63669 int two(void) { return 2; }
63670
63671 int
63672 main ()
63673 {
63674 two();
63675 ;
63676 return 0;
63677 }
63678 _ACEOF
63679 if ac_fn_c_try_link "$LINENO"; then :
63680 ac_gcsections=yes
63681 else
63682 ac_gcsections=no
63683 fi
63684 rm -f core conftest.err conftest.$ac_objext \
63685 conftest$ac_exeext conftest.$ac_ext
63686 if test "$ac_gcsections" = "yes"; then
63687 rm -f conftest.c
63688 touch conftest.c
63689 if $CC -c conftest.c; then
63690 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63691 grep "Warning: gc-sections option ignored" > /dev/null; then
63692 ac_gcsections=no
63693 fi
63694 fi
63695 rm -f conftest.c conftest.o conftest
63696 fi
63697 if test "$ac_gcsections" = "yes"; then
63698 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63699 fi
63700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63701 $as_echo "$ac_gcsections" >&6; }
63702
63703 if test "$ac_test_CFLAGS" = set; then
63704 CFLAGS="$ac_save_CFLAGS"
63705 else
63706 # this is the suspicious part
63707 CFLAGS=''
63708 fi
63709 fi
63710
63711 # Set -z,relro.
63712 # Note this is only for shared objects.
63713 ac_ld_relro=no
63714 if test x"$with_gnu_ld" = x"yes"; then
63715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63716 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63717 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63718 if test -n "$cxx_z_relo"; then
63719 OPT_LDFLAGS="-Wl,-z,relro"
63720 ac_ld_relro=yes
63721 fi
63722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63723 $as_echo "$ac_ld_relro" >&6; }
63724 fi
63725
63726 # Set linker optimization flags.
63727 if test x"$with_gnu_ld" = x"yes"; then
63728 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63729 fi
63730
63731
63732
63733
63734 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63735
63736 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63737
63738 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63739
63740 # All of the dependencies for wide character support are here, so
63741 # turn it on.
63742 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63743
63744 ;;
63745 esac
63746 case "$target" in
63747 *-*-solaris2.10)
63748 # These two C99 functions are present only in Solaris >= 10
63749 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63750
63751 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63752
63753 ;;
63754 esac
63755 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63756
63757 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63758
63759 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63760
63761 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63762
63763 ;;
63764 *-tpf)
63765 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63766
63767
63768 # If we're not using GNU ld, then there's no point in even trying these
63769 # tests. Check for that first. We should have already tested for gld
63770 # by now (in libtool), but require it now just to be safe...
63771 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63772 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63773
63774
63775
63776 # The name set by libtool depends on the version of libtool. Shame on us
63777 # for depending on an impl detail, but c'est la vie. Older versions used
63778 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63779 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63780 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63781 # set (hence we're using an older libtool), then set it.
63782 if test x${with_gnu_ld+set} != xset; then
63783 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63784 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63785 with_gnu_ld=no
63786 else
63787 with_gnu_ld=$ac_cv_prog_gnu_ld
63788 fi
63789 fi
63790
63791 # Start by getting the version number. I think the libtool test already
63792 # does some of this, but throws away the result.
63793 glibcxx_ld_is_gold=no
63794 if test x"$with_gnu_ld" = x"yes"; then
63795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63796 $as_echo_n "checking for ld version... " >&6; }
63797
63798 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63799 glibcxx_ld_is_gold=yes
63800 fi
63801 ldver=`$LD --version 2>/dev/null |
63802 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'`
63803
63804 glibcxx_gnu_ld_version=`echo $ldver | \
63805 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63807 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63808 fi
63809
63810 # Set --gc-sections.
63811 glibcxx_have_gc_sections=no
63812 if test "$glibcxx_ld_is_gold" = "yes"; then
63813 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63814 glibcxx_have_gc_sections=yes
63815 fi
63816 else
63817 glibcxx_gcsections_min_ld=21602
63818 if test x"$with_gnu_ld" = x"yes" &&
63819 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63820 glibcxx_have_gc_sections=yes
63821 fi
63822 fi
63823 if test "$glibcxx_have_gc_sections" = "yes"; then
63824 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63825 # NB: This flag only works reliably after 2.16.1. Configure tests
63826 # for this are difficult, so hard wire a value that should work.
63827
63828 ac_test_CFLAGS="${CFLAGS+set}"
63829 ac_save_CFLAGS="$CFLAGS"
63830 CFLAGS='-Wl,--gc-sections'
63831
63832 # Check for -Wl,--gc-sections
63833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63834 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63835 if test x$gcc_no_link = xyes; then
63836 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63837 fi
63838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63839 /* end confdefs.h. */
63840 int one(void) { return 1; }
63841 int two(void) { return 2; }
63842
63843 int
63844 main ()
63845 {
63846 two();
63847 ;
63848 return 0;
63849 }
63850 _ACEOF
63851 if ac_fn_c_try_link "$LINENO"; then :
63852 ac_gcsections=yes
63853 else
63854 ac_gcsections=no
63855 fi
63856 rm -f core conftest.err conftest.$ac_objext \
63857 conftest$ac_exeext conftest.$ac_ext
63858 if test "$ac_gcsections" = "yes"; then
63859 rm -f conftest.c
63860 touch conftest.c
63861 if $CC -c conftest.c; then
63862 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63863 grep "Warning: gc-sections option ignored" > /dev/null; then
63864 ac_gcsections=no
63865 fi
63866 fi
63867 rm -f conftest.c conftest.o conftest
63868 fi
63869 if test "$ac_gcsections" = "yes"; then
63870 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63871 fi
63872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63873 $as_echo "$ac_gcsections" >&6; }
63874
63875 if test "$ac_test_CFLAGS" = set; then
63876 CFLAGS="$ac_save_CFLAGS"
63877 else
63878 # this is the suspicious part
63879 CFLAGS=''
63880 fi
63881 fi
63882
63883 # Set -z,relro.
63884 # Note this is only for shared objects.
63885 ac_ld_relro=no
63886 if test x"$with_gnu_ld" = x"yes"; then
63887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63888 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63889 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63890 if test -n "$cxx_z_relo"; then
63891 OPT_LDFLAGS="-Wl,-z,relro"
63892 ac_ld_relro=yes
63893 fi
63894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63895 $as_echo "$ac_ld_relro" >&6; }
63896 fi
63897
63898 # Set linker optimization flags.
63899 if test x"$with_gnu_ld" = x"yes"; then
63900 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63901 fi
63902
63903
63904
63905
63906 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63907
63908 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63909
63910 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63911
63912 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63913
63914 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63915
63916 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63917
63918 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63919
63920 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63921
63922 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63923
63924 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63925
63926 if test x"long_double_math_on_this_cpu" = x"yes"; then
63927 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63928
63929 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63930
63931 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63932
63933 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63934
63935 fi
63936 ;;
63937 *-*vms*)
63938 # Check for available headers.
63939 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
63940
63941 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63942 ac_save_CXXFLAGS="$CXXFLAGS"
63943 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63944
63945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
63946 $as_echo_n "checking for sin in -lm... " >&6; }
63947 if test "${ac_cv_lib_m_sin+set}" = set; then :
63948 $as_echo_n "(cached) " >&6
63949 else
63950 ac_check_lib_save_LIBS=$LIBS
63951 LIBS="-lm $LIBS"
63952 if test x$gcc_no_link = xyes; then
63953 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63954 fi
63955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63956 /* end confdefs.h. */
63957
63958 /* Override any GCC internal prototype to avoid an error.
63959 Use char because int might match the return type of a GCC
63960 builtin and then its argument prototype would still apply. */
63961 #ifdef __cplusplus
63962 extern "C"
63963 #endif
63964 char sin ();
63965 int
63966 main ()
63967 {
63968 return sin ();
63969 ;
63970 return 0;
63971 }
63972 _ACEOF
63973 if ac_fn_c_try_link "$LINENO"; then :
63974 ac_cv_lib_m_sin=yes
63975 else
63976 ac_cv_lib_m_sin=no
63977 fi
63978 rm -f core conftest.err conftest.$ac_objext \
63979 conftest$ac_exeext conftest.$ac_ext
63980 LIBS=$ac_check_lib_save_LIBS
63981 fi
63982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
63983 $as_echo "$ac_cv_lib_m_sin" >&6; }
63984 if test "x$ac_cv_lib_m_sin" = x""yes; then :
63985 libm="-lm"
63986 fi
63987
63988 ac_save_LIBS="$LIBS"
63989 LIBS="$LIBS $libm"
63990
63991
63992
63993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
63994 $as_echo_n "checking for isinf declaration... " >&6; }
63995 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
63996 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
63997 $as_echo_n "(cached) " >&6
63998 else
63999
64000
64001 ac_ext=cpp
64002 ac_cpp='$CXXCPP $CPPFLAGS'
64003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64006
64007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64008 /* end confdefs.h. */
64009 #include <math.h>
64010 #ifdef HAVE_IEEEFP_H
64011 #include <ieeefp.h>
64012 #endif
64013
64014 int
64015 main ()
64016 {
64017 isinf(0);
64018 ;
64019 return 0;
64020 }
64021 _ACEOF
64022 if ac_fn_cxx_try_compile "$LINENO"; then :
64023 glibcxx_cv_func_isinf_use=yes
64024 else
64025 glibcxx_cv_func_isinf_use=no
64026 fi
64027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64028 ac_ext=c
64029 ac_cpp='$CPP $CPPFLAGS'
64030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64033
64034
64035 fi
64036
64037 fi
64038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
64039 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
64040
64041 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64042 for ac_func in isinf
64043 do :
64044 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
64045 if test "x$ac_cv_func_isinf" = x""yes; then :
64046 cat >>confdefs.h <<_ACEOF
64047 #define HAVE_ISINF 1
64048 _ACEOF
64049
64050 fi
64051 done
64052
64053 else
64054
64055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
64056 $as_echo_n "checking for _isinf declaration... " >&6; }
64057 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64058 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
64059 $as_echo_n "(cached) " >&6
64060 else
64061
64062
64063 ac_ext=cpp
64064 ac_cpp='$CXXCPP $CPPFLAGS'
64065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64068
64069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64070 /* end confdefs.h. */
64071 #include <math.h>
64072 #ifdef HAVE_IEEEFP_H
64073 #include <ieeefp.h>
64074 #endif
64075
64076 int
64077 main ()
64078 {
64079 _isinf(0);
64080 ;
64081 return 0;
64082 }
64083 _ACEOF
64084 if ac_fn_cxx_try_compile "$LINENO"; then :
64085 glibcxx_cv_func__isinf_use=yes
64086 else
64087 glibcxx_cv_func__isinf_use=no
64088 fi
64089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64090 ac_ext=c
64091 ac_cpp='$CPP $CPPFLAGS'
64092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64095
64096
64097 fi
64098
64099 fi
64100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
64101 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
64102
64103 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64104 for ac_func in _isinf
64105 do :
64106 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
64107 if test "x$ac_cv_func__isinf" = x""yes; then :
64108 cat >>confdefs.h <<_ACEOF
64109 #define HAVE__ISINF 1
64110 _ACEOF
64111
64112 fi
64113 done
64114
64115 fi
64116 fi
64117
64118
64119
64120
64121
64122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
64123 $as_echo_n "checking for isnan declaration... " >&6; }
64124 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64125 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
64126 $as_echo_n "(cached) " >&6
64127 else
64128
64129
64130 ac_ext=cpp
64131 ac_cpp='$CXXCPP $CPPFLAGS'
64132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64135
64136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64137 /* end confdefs.h. */
64138 #include <math.h>
64139 #ifdef HAVE_IEEEFP_H
64140 #include <ieeefp.h>
64141 #endif
64142
64143 int
64144 main ()
64145 {
64146 isnan(0);
64147 ;
64148 return 0;
64149 }
64150 _ACEOF
64151 if ac_fn_cxx_try_compile "$LINENO"; then :
64152 glibcxx_cv_func_isnan_use=yes
64153 else
64154 glibcxx_cv_func_isnan_use=no
64155 fi
64156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64157 ac_ext=c
64158 ac_cpp='$CPP $CPPFLAGS'
64159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64162
64163
64164 fi
64165
64166 fi
64167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
64168 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
64169
64170 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64171 for ac_func in isnan
64172 do :
64173 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
64174 if test "x$ac_cv_func_isnan" = x""yes; then :
64175 cat >>confdefs.h <<_ACEOF
64176 #define HAVE_ISNAN 1
64177 _ACEOF
64178
64179 fi
64180 done
64181
64182 else
64183
64184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
64185 $as_echo_n "checking for _isnan declaration... " >&6; }
64186 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64187 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
64188 $as_echo_n "(cached) " >&6
64189 else
64190
64191
64192 ac_ext=cpp
64193 ac_cpp='$CXXCPP $CPPFLAGS'
64194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64197
64198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64199 /* end confdefs.h. */
64200 #include <math.h>
64201 #ifdef HAVE_IEEEFP_H
64202 #include <ieeefp.h>
64203 #endif
64204
64205 int
64206 main ()
64207 {
64208 _isnan(0);
64209 ;
64210 return 0;
64211 }
64212 _ACEOF
64213 if ac_fn_cxx_try_compile "$LINENO"; then :
64214 glibcxx_cv_func__isnan_use=yes
64215 else
64216 glibcxx_cv_func__isnan_use=no
64217 fi
64218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64219 ac_ext=c
64220 ac_cpp='$CPP $CPPFLAGS'
64221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64224
64225
64226 fi
64227
64228 fi
64229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
64230 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
64231
64232 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64233 for ac_func in _isnan
64234 do :
64235 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
64236 if test "x$ac_cv_func__isnan" = x""yes; then :
64237 cat >>confdefs.h <<_ACEOF
64238 #define HAVE__ISNAN 1
64239 _ACEOF
64240
64241 fi
64242 done
64243
64244 fi
64245 fi
64246
64247
64248
64249
64250
64251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
64252 $as_echo_n "checking for finite declaration... " >&6; }
64253 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64254 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
64255 $as_echo_n "(cached) " >&6
64256 else
64257
64258
64259 ac_ext=cpp
64260 ac_cpp='$CXXCPP $CPPFLAGS'
64261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64264
64265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64266 /* end confdefs.h. */
64267 #include <math.h>
64268 #ifdef HAVE_IEEEFP_H
64269 #include <ieeefp.h>
64270 #endif
64271
64272 int
64273 main ()
64274 {
64275 finite(0);
64276 ;
64277 return 0;
64278 }
64279 _ACEOF
64280 if ac_fn_cxx_try_compile "$LINENO"; then :
64281 glibcxx_cv_func_finite_use=yes
64282 else
64283 glibcxx_cv_func_finite_use=no
64284 fi
64285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64286 ac_ext=c
64287 ac_cpp='$CPP $CPPFLAGS'
64288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64291
64292
64293 fi
64294
64295 fi
64296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
64297 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
64298
64299 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64300 for ac_func in finite
64301 do :
64302 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
64303 if test "x$ac_cv_func_finite" = x""yes; then :
64304 cat >>confdefs.h <<_ACEOF
64305 #define HAVE_FINITE 1
64306 _ACEOF
64307
64308 fi
64309 done
64310
64311 else
64312
64313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
64314 $as_echo_n "checking for _finite declaration... " >&6; }
64315 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64316 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
64317 $as_echo_n "(cached) " >&6
64318 else
64319
64320
64321 ac_ext=cpp
64322 ac_cpp='$CXXCPP $CPPFLAGS'
64323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64326
64327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64328 /* end confdefs.h. */
64329 #include <math.h>
64330 #ifdef HAVE_IEEEFP_H
64331 #include <ieeefp.h>
64332 #endif
64333
64334 int
64335 main ()
64336 {
64337 _finite(0);
64338 ;
64339 return 0;
64340 }
64341 _ACEOF
64342 if ac_fn_cxx_try_compile "$LINENO"; then :
64343 glibcxx_cv_func__finite_use=yes
64344 else
64345 glibcxx_cv_func__finite_use=no
64346 fi
64347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64348 ac_ext=c
64349 ac_cpp='$CPP $CPPFLAGS'
64350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64353
64354
64355 fi
64356
64357 fi
64358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
64359 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
64360
64361 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64362 for ac_func in _finite
64363 do :
64364 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
64365 if test "x$ac_cv_func__finite" = x""yes; then :
64366 cat >>confdefs.h <<_ACEOF
64367 #define HAVE__FINITE 1
64368 _ACEOF
64369
64370 fi
64371 done
64372
64373 fi
64374 fi
64375
64376
64377
64378
64379
64380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
64381 $as_echo_n "checking for sincos declaration... " >&6; }
64382 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
64383 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
64384 $as_echo_n "(cached) " >&6
64385 else
64386
64387
64388 ac_ext=cpp
64389 ac_cpp='$CXXCPP $CPPFLAGS'
64390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64393
64394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64395 /* end confdefs.h. */
64396 #include <math.h>
64397 int
64398 main ()
64399 {
64400 sincos(0, 0, 0);
64401 ;
64402 return 0;
64403 }
64404 _ACEOF
64405 if ac_fn_cxx_try_compile "$LINENO"; then :
64406 glibcxx_cv_func_sincos_use=yes
64407 else
64408 glibcxx_cv_func_sincos_use=no
64409 fi
64410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64411 ac_ext=c
64412 ac_cpp='$CPP $CPPFLAGS'
64413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64416
64417
64418 fi
64419
64420 fi
64421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
64422 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
64423
64424 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
64425 for ac_func in sincos
64426 do :
64427 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
64428 if test "x$ac_cv_func_sincos" = x""yes; then :
64429 cat >>confdefs.h <<_ACEOF
64430 #define HAVE_SINCOS 1
64431 _ACEOF
64432
64433 fi
64434 done
64435
64436 else
64437
64438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
64439 $as_echo_n "checking for _sincos declaration... " >&6; }
64440 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
64441 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
64442 $as_echo_n "(cached) " >&6
64443 else
64444
64445
64446 ac_ext=cpp
64447 ac_cpp='$CXXCPP $CPPFLAGS'
64448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64451
64452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64453 /* end confdefs.h. */
64454 #include <math.h>
64455 int
64456 main ()
64457 {
64458 _sincos(0, 0, 0);
64459 ;
64460 return 0;
64461 }
64462 _ACEOF
64463 if ac_fn_cxx_try_compile "$LINENO"; then :
64464 glibcxx_cv_func__sincos_use=yes
64465 else
64466 glibcxx_cv_func__sincos_use=no
64467 fi
64468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64469 ac_ext=c
64470 ac_cpp='$CPP $CPPFLAGS'
64471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64474
64475
64476 fi
64477
64478 fi
64479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
64480 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
64481
64482 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
64483 for ac_func in _sincos
64484 do :
64485 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
64486 if test "x$ac_cv_func__sincos" = x""yes; then :
64487 cat >>confdefs.h <<_ACEOF
64488 #define HAVE__SINCOS 1
64489 _ACEOF
64490
64491 fi
64492 done
64493
64494 fi
64495 fi
64496
64497
64498
64499
64500
64501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
64502 $as_echo_n "checking for fpclass declaration... " >&6; }
64503 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
64504 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
64505 $as_echo_n "(cached) " >&6
64506 else
64507
64508
64509 ac_ext=cpp
64510 ac_cpp='$CXXCPP $CPPFLAGS'
64511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64514
64515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64516 /* end confdefs.h. */
64517 #include <math.h>
64518 #ifdef HAVE_IEEEFP_H
64519 #include <ieeefp.h>
64520 #endif
64521
64522 int
64523 main ()
64524 {
64525 fpclass(0);
64526 ;
64527 return 0;
64528 }
64529 _ACEOF
64530 if ac_fn_cxx_try_compile "$LINENO"; then :
64531 glibcxx_cv_func_fpclass_use=yes
64532 else
64533 glibcxx_cv_func_fpclass_use=no
64534 fi
64535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64536 ac_ext=c
64537 ac_cpp='$CPP $CPPFLAGS'
64538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64541
64542
64543 fi
64544
64545 fi
64546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
64547 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
64548
64549 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
64550 for ac_func in fpclass
64551 do :
64552 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
64553 if test "x$ac_cv_func_fpclass" = x""yes; then :
64554 cat >>confdefs.h <<_ACEOF
64555 #define HAVE_FPCLASS 1
64556 _ACEOF
64557
64558 fi
64559 done
64560
64561 else
64562
64563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
64564 $as_echo_n "checking for _fpclass declaration... " >&6; }
64565 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
64566 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
64567 $as_echo_n "(cached) " >&6
64568 else
64569
64570
64571 ac_ext=cpp
64572 ac_cpp='$CXXCPP $CPPFLAGS'
64573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64576
64577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64578 /* end confdefs.h. */
64579 #include <math.h>
64580 #ifdef HAVE_IEEEFP_H
64581 #include <ieeefp.h>
64582 #endif
64583
64584 int
64585 main ()
64586 {
64587 _fpclass(0);
64588 ;
64589 return 0;
64590 }
64591 _ACEOF
64592 if ac_fn_cxx_try_compile "$LINENO"; then :
64593 glibcxx_cv_func__fpclass_use=yes
64594 else
64595 glibcxx_cv_func__fpclass_use=no
64596 fi
64597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64598 ac_ext=c
64599 ac_cpp='$CPP $CPPFLAGS'
64600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64603
64604
64605 fi
64606
64607 fi
64608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
64609 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
64610
64611 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
64612 for ac_func in _fpclass
64613 do :
64614 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
64615 if test "x$ac_cv_func__fpclass" = x""yes; then :
64616 cat >>confdefs.h <<_ACEOF
64617 #define HAVE__FPCLASS 1
64618 _ACEOF
64619
64620 fi
64621 done
64622
64623 fi
64624 fi
64625
64626
64627
64628
64629
64630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
64631 $as_echo_n "checking for qfpclass declaration... " >&6; }
64632 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
64633 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
64634 $as_echo_n "(cached) " >&6
64635 else
64636
64637
64638 ac_ext=cpp
64639 ac_cpp='$CXXCPP $CPPFLAGS'
64640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64643
64644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64645 /* end confdefs.h. */
64646 #include <math.h>
64647 #ifdef HAVE_IEEEFP_H
64648 #include <ieeefp.h>
64649 #endif
64650
64651 int
64652 main ()
64653 {
64654 qfpclass(0);
64655 ;
64656 return 0;
64657 }
64658 _ACEOF
64659 if ac_fn_cxx_try_compile "$LINENO"; then :
64660 glibcxx_cv_func_qfpclass_use=yes
64661 else
64662 glibcxx_cv_func_qfpclass_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_qfpclass_use" >&5
64676 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
64677
64678 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
64679 for ac_func in qfpclass
64680 do :
64681 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
64682 if test "x$ac_cv_func_qfpclass" = x""yes; then :
64683 cat >>confdefs.h <<_ACEOF
64684 #define HAVE_QFPCLASS 1
64685 _ACEOF
64686
64687 fi
64688 done
64689
64690 else
64691
64692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
64693 $as_echo_n "checking for _qfpclass declaration... " >&6; }
64694 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64695 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
64696 $as_echo_n "(cached) " >&6
64697 else
64698
64699
64700 ac_ext=cpp
64701 ac_cpp='$CXXCPP $CPPFLAGS'
64702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64705
64706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64707 /* end confdefs.h. */
64708 #include <math.h>
64709 #ifdef HAVE_IEEEFP_H
64710 #include <ieeefp.h>
64711 #endif
64712
64713 int
64714 main ()
64715 {
64716 _qfpclass(0);
64717 ;
64718 return 0;
64719 }
64720 _ACEOF
64721 if ac_fn_cxx_try_compile "$LINENO"; then :
64722 glibcxx_cv_func__qfpclass_use=yes
64723 else
64724 glibcxx_cv_func__qfpclass_use=no
64725 fi
64726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64727 ac_ext=c
64728 ac_cpp='$CPP $CPPFLAGS'
64729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64732
64733
64734 fi
64735
64736 fi
64737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
64738 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
64739
64740 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64741 for ac_func in _qfpclass
64742 do :
64743 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
64744 if test "x$ac_cv_func__qfpclass" = x""yes; then :
64745 cat >>confdefs.h <<_ACEOF
64746 #define HAVE__QFPCLASS 1
64747 _ACEOF
64748
64749 fi
64750 done
64751
64752 fi
64753 fi
64754
64755
64756
64757
64758
64759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
64760 $as_echo_n "checking for hypot declaration... " >&6; }
64761 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64762 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
64763 $as_echo_n "(cached) " >&6
64764 else
64765
64766
64767 ac_ext=cpp
64768 ac_cpp='$CXXCPP $CPPFLAGS'
64769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64772
64773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64774 /* end confdefs.h. */
64775 #include <math.h>
64776 int
64777 main ()
64778 {
64779 hypot(0, 0);
64780 ;
64781 return 0;
64782 }
64783 _ACEOF
64784 if ac_fn_cxx_try_compile "$LINENO"; then :
64785 glibcxx_cv_func_hypot_use=yes
64786 else
64787 glibcxx_cv_func_hypot_use=no
64788 fi
64789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64790 ac_ext=c
64791 ac_cpp='$CPP $CPPFLAGS'
64792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64795
64796
64797 fi
64798
64799 fi
64800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
64801 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
64802
64803 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64804 for ac_func in hypot
64805 do :
64806 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
64807 if test "x$ac_cv_func_hypot" = x""yes; then :
64808 cat >>confdefs.h <<_ACEOF
64809 #define HAVE_HYPOT 1
64810 _ACEOF
64811
64812 fi
64813 done
64814
64815 else
64816
64817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
64818 $as_echo_n "checking for _hypot declaration... " >&6; }
64819 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64820 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
64821 $as_echo_n "(cached) " >&6
64822 else
64823
64824
64825 ac_ext=cpp
64826 ac_cpp='$CXXCPP $CPPFLAGS'
64827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64830
64831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64832 /* end confdefs.h. */
64833 #include <math.h>
64834 int
64835 main ()
64836 {
64837 _hypot(0, 0);
64838 ;
64839 return 0;
64840 }
64841 _ACEOF
64842 if ac_fn_cxx_try_compile "$LINENO"; then :
64843 glibcxx_cv_func__hypot_use=yes
64844 else
64845 glibcxx_cv_func__hypot_use=no
64846 fi
64847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64848 ac_ext=c
64849 ac_cpp='$CPP $CPPFLAGS'
64850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64853
64854
64855 fi
64856
64857 fi
64858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
64859 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
64860
64861 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64862 for ac_func in _hypot
64863 do :
64864 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
64865 if test "x$ac_cv_func__hypot" = x""yes; then :
64866 cat >>confdefs.h <<_ACEOF
64867 #define HAVE__HYPOT 1
64868 _ACEOF
64869
64870 fi
64871 done
64872
64873 fi
64874 fi
64875
64876
64877
64878
64879
64880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
64881 $as_echo_n "checking for float trig functions... " >&6; }
64882 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
64883 $as_echo_n "(cached) " >&6
64884 else
64885
64886
64887 ac_ext=cpp
64888 ac_cpp='$CXXCPP $CPPFLAGS'
64889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64892
64893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64894 /* end confdefs.h. */
64895 #include <math.h>
64896 int
64897 main ()
64898 {
64899 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64900 ;
64901 return 0;
64902 }
64903 _ACEOF
64904 if ac_fn_cxx_try_compile "$LINENO"; then :
64905 glibcxx_cv_func_float_trig_use=yes
64906 else
64907 glibcxx_cv_func_float_trig_use=no
64908 fi
64909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64910 ac_ext=c
64911 ac_cpp='$CPP $CPPFLAGS'
64912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64915
64916 fi
64917
64918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
64919 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
64920 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64921 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64922 do :
64923 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64924 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64925 eval as_val=\$$as_ac_var
64926 if test "x$as_val" = x""yes; then :
64927 cat >>confdefs.h <<_ACEOF
64928 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64929 _ACEOF
64930
64931 fi
64932 done
64933
64934 else
64935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
64936 $as_echo_n "checking for _float trig functions... " >&6; }
64937 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
64938 $as_echo_n "(cached) " >&6
64939 else
64940
64941
64942 ac_ext=cpp
64943 ac_cpp='$CXXCPP $CPPFLAGS'
64944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64947
64948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64949 /* end confdefs.h. */
64950 #include <math.h>
64951 int
64952 main ()
64953 {
64954 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64955 ;
64956 return 0;
64957 }
64958 _ACEOF
64959 if ac_fn_cxx_try_compile "$LINENO"; then :
64960 glibcxx_cv_func__float_trig_use=yes
64961 else
64962 glibcxx_cv_func__float_trig_use=no
64963 fi
64964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64965 ac_ext=c
64966 ac_cpp='$CPP $CPPFLAGS'
64967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64970
64971 fi
64972
64973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
64974 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
64975 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
64976 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
64977 do :
64978 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64979 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64980 eval as_val=\$$as_ac_var
64981 if test "x$as_val" = x""yes; then :
64982 cat >>confdefs.h <<_ACEOF
64983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64984 _ACEOF
64985
64986 fi
64987 done
64988
64989 fi
64990 fi
64991
64992
64993
64994
64995
64996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
64997 $as_echo_n "checking for float round functions... " >&6; }
64998 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
64999 $as_echo_n "(cached) " >&6
65000 else
65001
65002
65003 ac_ext=cpp
65004 ac_cpp='$CXXCPP $CPPFLAGS'
65005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65008
65009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65010 /* end confdefs.h. */
65011 #include <math.h>
65012 int
65013 main ()
65014 {
65015 ceilf (0); floorf (0);
65016 ;
65017 return 0;
65018 }
65019 _ACEOF
65020 if ac_fn_cxx_try_compile "$LINENO"; then :
65021 glibcxx_cv_func_float_round_use=yes
65022 else
65023 glibcxx_cv_func_float_round_use=no
65024 fi
65025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65026 ac_ext=c
65027 ac_cpp='$CPP $CPPFLAGS'
65028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65031
65032 fi
65033
65034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
65035 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
65036 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
65037 for ac_func in ceilf floorf
65038 do :
65039 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65040 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65041 eval as_val=\$$as_ac_var
65042 if test "x$as_val" = x""yes; then :
65043 cat >>confdefs.h <<_ACEOF
65044 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65045 _ACEOF
65046
65047 fi
65048 done
65049
65050 else
65051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
65052 $as_echo_n "checking for _float round functions... " >&6; }
65053 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
65054 $as_echo_n "(cached) " >&6
65055 else
65056
65057
65058 ac_ext=cpp
65059 ac_cpp='$CXXCPP $CPPFLAGS'
65060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65063
65064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65065 /* end confdefs.h. */
65066 #include <math.h>
65067 int
65068 main ()
65069 {
65070 _ceilf (0); _floorf (0);
65071 ;
65072 return 0;
65073 }
65074 _ACEOF
65075 if ac_fn_cxx_try_compile "$LINENO"; then :
65076 glibcxx_cv_func__float_round_use=yes
65077 else
65078 glibcxx_cv_func__float_round_use=no
65079 fi
65080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65081 ac_ext=c
65082 ac_cpp='$CPP $CPPFLAGS'
65083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65086
65087 fi
65088
65089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
65090 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
65091 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
65092 for ac_func in _ceilf _floorf
65093 do :
65094 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65096 eval as_val=\$$as_ac_var
65097 if test "x$as_val" = x""yes; then :
65098 cat >>confdefs.h <<_ACEOF
65099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65100 _ACEOF
65101
65102 fi
65103 done
65104
65105 fi
65106 fi
65107
65108
65109
65110
65111
65112
65113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
65114 $as_echo_n "checking for expf declaration... " >&6; }
65115 if test x${glibcxx_cv_func_expf_use+set} != xset; then
65116 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
65117 $as_echo_n "(cached) " >&6
65118 else
65119
65120
65121 ac_ext=cpp
65122 ac_cpp='$CXXCPP $CPPFLAGS'
65123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65126
65127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65128 /* end confdefs.h. */
65129 #include <math.h>
65130 #ifdef HAVE_IEEEFP_H
65131 #include <ieeefp.h>
65132 #endif
65133
65134 int
65135 main ()
65136 {
65137 expf(0);
65138 ;
65139 return 0;
65140 }
65141 _ACEOF
65142 if ac_fn_cxx_try_compile "$LINENO"; then :
65143 glibcxx_cv_func_expf_use=yes
65144 else
65145 glibcxx_cv_func_expf_use=no
65146 fi
65147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65148 ac_ext=c
65149 ac_cpp='$CPP $CPPFLAGS'
65150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65153
65154
65155 fi
65156
65157 fi
65158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
65159 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
65160
65161 if test x$glibcxx_cv_func_expf_use = x"yes"; then
65162 for ac_func in expf
65163 do :
65164 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
65165 if test "x$ac_cv_func_expf" = x""yes; then :
65166 cat >>confdefs.h <<_ACEOF
65167 #define HAVE_EXPF 1
65168 _ACEOF
65169
65170 fi
65171 done
65172
65173 else
65174
65175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
65176 $as_echo_n "checking for _expf declaration... " >&6; }
65177 if test x${glibcxx_cv_func__expf_use+set} != xset; then
65178 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
65179 $as_echo_n "(cached) " >&6
65180 else
65181
65182
65183 ac_ext=cpp
65184 ac_cpp='$CXXCPP $CPPFLAGS'
65185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65188
65189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65190 /* end confdefs.h. */
65191 #include <math.h>
65192 #ifdef HAVE_IEEEFP_H
65193 #include <ieeefp.h>
65194 #endif
65195
65196 int
65197 main ()
65198 {
65199 _expf(0);
65200 ;
65201 return 0;
65202 }
65203 _ACEOF
65204 if ac_fn_cxx_try_compile "$LINENO"; then :
65205 glibcxx_cv_func__expf_use=yes
65206 else
65207 glibcxx_cv_func__expf_use=no
65208 fi
65209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65210 ac_ext=c
65211 ac_cpp='$CPP $CPPFLAGS'
65212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65215
65216
65217 fi
65218
65219 fi
65220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
65221 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
65222
65223 if test x$glibcxx_cv_func__expf_use = x"yes"; then
65224 for ac_func in _expf
65225 do :
65226 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
65227 if test "x$ac_cv_func__expf" = x""yes; then :
65228 cat >>confdefs.h <<_ACEOF
65229 #define HAVE__EXPF 1
65230 _ACEOF
65231
65232 fi
65233 done
65234
65235 fi
65236 fi
65237
65238
65239
65240
65241
65242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
65243 $as_echo_n "checking for isnanf declaration... " >&6; }
65244 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65245 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
65246 $as_echo_n "(cached) " >&6
65247 else
65248
65249
65250 ac_ext=cpp
65251 ac_cpp='$CXXCPP $CPPFLAGS'
65252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65255
65256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65257 /* end confdefs.h. */
65258 #include <math.h>
65259 #ifdef HAVE_IEEEFP_H
65260 #include <ieeefp.h>
65261 #endif
65262
65263 int
65264 main ()
65265 {
65266 isnanf(0);
65267 ;
65268 return 0;
65269 }
65270 _ACEOF
65271 if ac_fn_cxx_try_compile "$LINENO"; then :
65272 glibcxx_cv_func_isnanf_use=yes
65273 else
65274 glibcxx_cv_func_isnanf_use=no
65275 fi
65276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65277 ac_ext=c
65278 ac_cpp='$CPP $CPPFLAGS'
65279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65282
65283
65284 fi
65285
65286 fi
65287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
65288 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
65289
65290 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65291 for ac_func in isnanf
65292 do :
65293 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
65294 if test "x$ac_cv_func_isnanf" = x""yes; then :
65295 cat >>confdefs.h <<_ACEOF
65296 #define HAVE_ISNANF 1
65297 _ACEOF
65298
65299 fi
65300 done
65301
65302 else
65303
65304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
65305 $as_echo_n "checking for _isnanf declaration... " >&6; }
65306 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65307 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
65308 $as_echo_n "(cached) " >&6
65309 else
65310
65311
65312 ac_ext=cpp
65313 ac_cpp='$CXXCPP $CPPFLAGS'
65314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65317
65318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65319 /* end confdefs.h. */
65320 #include <math.h>
65321 #ifdef HAVE_IEEEFP_H
65322 #include <ieeefp.h>
65323 #endif
65324
65325 int
65326 main ()
65327 {
65328 _isnanf(0);
65329 ;
65330 return 0;
65331 }
65332 _ACEOF
65333 if ac_fn_cxx_try_compile "$LINENO"; then :
65334 glibcxx_cv_func__isnanf_use=yes
65335 else
65336 glibcxx_cv_func__isnanf_use=no
65337 fi
65338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65339 ac_ext=c
65340 ac_cpp='$CPP $CPPFLAGS'
65341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65344
65345
65346 fi
65347
65348 fi
65349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
65350 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
65351
65352 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
65353 for ac_func in _isnanf
65354 do :
65355 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
65356 if test "x$ac_cv_func__isnanf" = x""yes; then :
65357 cat >>confdefs.h <<_ACEOF
65358 #define HAVE__ISNANF 1
65359 _ACEOF
65360
65361 fi
65362 done
65363
65364 fi
65365 fi
65366
65367
65368
65369
65370
65371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
65372 $as_echo_n "checking for isinff declaration... " >&6; }
65373 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
65374 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
65375 $as_echo_n "(cached) " >&6
65376 else
65377
65378
65379 ac_ext=cpp
65380 ac_cpp='$CXXCPP $CPPFLAGS'
65381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65384
65385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65386 /* end confdefs.h. */
65387 #include <math.h>
65388 #ifdef HAVE_IEEEFP_H
65389 #include <ieeefp.h>
65390 #endif
65391
65392 int
65393 main ()
65394 {
65395 isinff(0);
65396 ;
65397 return 0;
65398 }
65399 _ACEOF
65400 if ac_fn_cxx_try_compile "$LINENO"; then :
65401 glibcxx_cv_func_isinff_use=yes
65402 else
65403 glibcxx_cv_func_isinff_use=no
65404 fi
65405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65406 ac_ext=c
65407 ac_cpp='$CPP $CPPFLAGS'
65408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65411
65412
65413 fi
65414
65415 fi
65416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
65417 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
65418
65419 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
65420 for ac_func in isinff
65421 do :
65422 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
65423 if test "x$ac_cv_func_isinff" = x""yes; then :
65424 cat >>confdefs.h <<_ACEOF
65425 #define HAVE_ISINFF 1
65426 _ACEOF
65427
65428 fi
65429 done
65430
65431 else
65432
65433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
65434 $as_echo_n "checking for _isinff declaration... " >&6; }
65435 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
65436 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
65437 $as_echo_n "(cached) " >&6
65438 else
65439
65440
65441 ac_ext=cpp
65442 ac_cpp='$CXXCPP $CPPFLAGS'
65443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65446
65447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65448 /* end confdefs.h. */
65449 #include <math.h>
65450 #ifdef HAVE_IEEEFP_H
65451 #include <ieeefp.h>
65452 #endif
65453
65454 int
65455 main ()
65456 {
65457 _isinff(0);
65458 ;
65459 return 0;
65460 }
65461 _ACEOF
65462 if ac_fn_cxx_try_compile "$LINENO"; then :
65463 glibcxx_cv_func__isinff_use=yes
65464 else
65465 glibcxx_cv_func__isinff_use=no
65466 fi
65467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65468 ac_ext=c
65469 ac_cpp='$CPP $CPPFLAGS'
65470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65473
65474
65475 fi
65476
65477 fi
65478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
65479 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
65480
65481 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
65482 for ac_func in _isinff
65483 do :
65484 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
65485 if test "x$ac_cv_func__isinff" = x""yes; then :
65486 cat >>confdefs.h <<_ACEOF
65487 #define HAVE__ISINFF 1
65488 _ACEOF
65489
65490 fi
65491 done
65492
65493 fi
65494 fi
65495
65496
65497
65498
65499
65500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
65501 $as_echo_n "checking for atan2f declaration... " >&6; }
65502 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
65503 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
65504 $as_echo_n "(cached) " >&6
65505 else
65506
65507
65508 ac_ext=cpp
65509 ac_cpp='$CXXCPP $CPPFLAGS'
65510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65513
65514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65515 /* end confdefs.h. */
65516 #include <math.h>
65517 int
65518 main ()
65519 {
65520 atan2f(0, 0);
65521 ;
65522 return 0;
65523 }
65524 _ACEOF
65525 if ac_fn_cxx_try_compile "$LINENO"; then :
65526 glibcxx_cv_func_atan2f_use=yes
65527 else
65528 glibcxx_cv_func_atan2f_use=no
65529 fi
65530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65531 ac_ext=c
65532 ac_cpp='$CPP $CPPFLAGS'
65533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65536
65537
65538 fi
65539
65540 fi
65541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
65542 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
65543
65544 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
65545 for ac_func in atan2f
65546 do :
65547 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
65548 if test "x$ac_cv_func_atan2f" = x""yes; then :
65549 cat >>confdefs.h <<_ACEOF
65550 #define HAVE_ATAN2F 1
65551 _ACEOF
65552
65553 fi
65554 done
65555
65556 else
65557
65558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
65559 $as_echo_n "checking for _atan2f declaration... " >&6; }
65560 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
65561 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
65562 $as_echo_n "(cached) " >&6
65563 else
65564
65565
65566 ac_ext=cpp
65567 ac_cpp='$CXXCPP $CPPFLAGS'
65568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65571
65572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65573 /* end confdefs.h. */
65574 #include <math.h>
65575 int
65576 main ()
65577 {
65578 _atan2f(0, 0);
65579 ;
65580 return 0;
65581 }
65582 _ACEOF
65583 if ac_fn_cxx_try_compile "$LINENO"; then :
65584 glibcxx_cv_func__atan2f_use=yes
65585 else
65586 glibcxx_cv_func__atan2f_use=no
65587 fi
65588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65589 ac_ext=c
65590 ac_cpp='$CPP $CPPFLAGS'
65591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65594
65595
65596 fi
65597
65598 fi
65599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
65600 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
65601
65602 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
65603 for ac_func in _atan2f
65604 do :
65605 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
65606 if test "x$ac_cv_func__atan2f" = x""yes; then :
65607 cat >>confdefs.h <<_ACEOF
65608 #define HAVE__ATAN2F 1
65609 _ACEOF
65610
65611 fi
65612 done
65613
65614 fi
65615 fi
65616
65617
65618
65619
65620
65621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
65622 $as_echo_n "checking for fabsf declaration... " >&6; }
65623 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
65624 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
65625 $as_echo_n "(cached) " >&6
65626 else
65627
65628
65629 ac_ext=cpp
65630 ac_cpp='$CXXCPP $CPPFLAGS'
65631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65634
65635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65636 /* end confdefs.h. */
65637 #include <math.h>
65638 #ifdef HAVE_IEEEFP_H
65639 #include <ieeefp.h>
65640 #endif
65641
65642 int
65643 main ()
65644 {
65645 fabsf(0);
65646 ;
65647 return 0;
65648 }
65649 _ACEOF
65650 if ac_fn_cxx_try_compile "$LINENO"; then :
65651 glibcxx_cv_func_fabsf_use=yes
65652 else
65653 glibcxx_cv_func_fabsf_use=no
65654 fi
65655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65656 ac_ext=c
65657 ac_cpp='$CPP $CPPFLAGS'
65658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65661
65662
65663 fi
65664
65665 fi
65666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
65667 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
65668
65669 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
65670 for ac_func in fabsf
65671 do :
65672 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
65673 if test "x$ac_cv_func_fabsf" = x""yes; then :
65674 cat >>confdefs.h <<_ACEOF
65675 #define HAVE_FABSF 1
65676 _ACEOF
65677
65678 fi
65679 done
65680
65681 else
65682
65683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
65684 $as_echo_n "checking for _fabsf declaration... " >&6; }
65685 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
65686 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
65687 $as_echo_n "(cached) " >&6
65688 else
65689
65690
65691 ac_ext=cpp
65692 ac_cpp='$CXXCPP $CPPFLAGS'
65693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65696
65697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65698 /* end confdefs.h. */
65699 #include <math.h>
65700 #ifdef HAVE_IEEEFP_H
65701 #include <ieeefp.h>
65702 #endif
65703
65704 int
65705 main ()
65706 {
65707 _fabsf(0);
65708 ;
65709 return 0;
65710 }
65711 _ACEOF
65712 if ac_fn_cxx_try_compile "$LINENO"; then :
65713 glibcxx_cv_func__fabsf_use=yes
65714 else
65715 glibcxx_cv_func__fabsf_use=no
65716 fi
65717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65718 ac_ext=c
65719 ac_cpp='$CPP $CPPFLAGS'
65720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65723
65724
65725 fi
65726
65727 fi
65728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
65729 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
65730
65731 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
65732 for ac_func in _fabsf
65733 do :
65734 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
65735 if test "x$ac_cv_func__fabsf" = x""yes; then :
65736 cat >>confdefs.h <<_ACEOF
65737 #define HAVE__FABSF 1
65738 _ACEOF
65739
65740 fi
65741 done
65742
65743 fi
65744 fi
65745
65746
65747
65748
65749
65750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
65751 $as_echo_n "checking for fmodf declaration... " >&6; }
65752 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
65753 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
65754 $as_echo_n "(cached) " >&6
65755 else
65756
65757
65758 ac_ext=cpp
65759 ac_cpp='$CXXCPP $CPPFLAGS'
65760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65763
65764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65765 /* end confdefs.h. */
65766 #include <math.h>
65767 int
65768 main ()
65769 {
65770 fmodf(0, 0);
65771 ;
65772 return 0;
65773 }
65774 _ACEOF
65775 if ac_fn_cxx_try_compile "$LINENO"; then :
65776 glibcxx_cv_func_fmodf_use=yes
65777 else
65778 glibcxx_cv_func_fmodf_use=no
65779 fi
65780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65781 ac_ext=c
65782 ac_cpp='$CPP $CPPFLAGS'
65783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65786
65787
65788 fi
65789
65790 fi
65791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
65792 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
65793
65794 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
65795 for ac_func in fmodf
65796 do :
65797 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
65798 if test "x$ac_cv_func_fmodf" = x""yes; then :
65799 cat >>confdefs.h <<_ACEOF
65800 #define HAVE_FMODF 1
65801 _ACEOF
65802
65803 fi
65804 done
65805
65806 else
65807
65808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
65809 $as_echo_n "checking for _fmodf declaration... " >&6; }
65810 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
65811 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
65812 $as_echo_n "(cached) " >&6
65813 else
65814
65815
65816 ac_ext=cpp
65817 ac_cpp='$CXXCPP $CPPFLAGS'
65818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65821
65822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65823 /* end confdefs.h. */
65824 #include <math.h>
65825 int
65826 main ()
65827 {
65828 _fmodf(0, 0);
65829 ;
65830 return 0;
65831 }
65832 _ACEOF
65833 if ac_fn_cxx_try_compile "$LINENO"; then :
65834 glibcxx_cv_func__fmodf_use=yes
65835 else
65836 glibcxx_cv_func__fmodf_use=no
65837 fi
65838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65839 ac_ext=c
65840 ac_cpp='$CPP $CPPFLAGS'
65841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65844
65845
65846 fi
65847
65848 fi
65849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
65850 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
65851
65852 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
65853 for ac_func in _fmodf
65854 do :
65855 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
65856 if test "x$ac_cv_func__fmodf" = x""yes; then :
65857 cat >>confdefs.h <<_ACEOF
65858 #define HAVE__FMODF 1
65859 _ACEOF
65860
65861 fi
65862 done
65863
65864 fi
65865 fi
65866
65867
65868
65869
65870
65871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
65872 $as_echo_n "checking for frexpf declaration... " >&6; }
65873 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65874 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
65875 $as_echo_n "(cached) " >&6
65876 else
65877
65878
65879 ac_ext=cpp
65880 ac_cpp='$CXXCPP $CPPFLAGS'
65881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65884
65885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65886 /* end confdefs.h. */
65887 #include <math.h>
65888 int
65889 main ()
65890 {
65891 frexpf(0, 0);
65892 ;
65893 return 0;
65894 }
65895 _ACEOF
65896 if ac_fn_cxx_try_compile "$LINENO"; then :
65897 glibcxx_cv_func_frexpf_use=yes
65898 else
65899 glibcxx_cv_func_frexpf_use=no
65900 fi
65901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65902 ac_ext=c
65903 ac_cpp='$CPP $CPPFLAGS'
65904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65907
65908
65909 fi
65910
65911 fi
65912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
65913 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
65914
65915 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65916 for ac_func in frexpf
65917 do :
65918 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
65919 if test "x$ac_cv_func_frexpf" = x""yes; then :
65920 cat >>confdefs.h <<_ACEOF
65921 #define HAVE_FREXPF 1
65922 _ACEOF
65923
65924 fi
65925 done
65926
65927 else
65928
65929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
65930 $as_echo_n "checking for _frexpf declaration... " >&6; }
65931 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65932 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
65933 $as_echo_n "(cached) " >&6
65934 else
65935
65936
65937 ac_ext=cpp
65938 ac_cpp='$CXXCPP $CPPFLAGS'
65939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65942
65943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65944 /* end confdefs.h. */
65945 #include <math.h>
65946 int
65947 main ()
65948 {
65949 _frexpf(0, 0);
65950 ;
65951 return 0;
65952 }
65953 _ACEOF
65954 if ac_fn_cxx_try_compile "$LINENO"; then :
65955 glibcxx_cv_func__frexpf_use=yes
65956 else
65957 glibcxx_cv_func__frexpf_use=no
65958 fi
65959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65960 ac_ext=c
65961 ac_cpp='$CPP $CPPFLAGS'
65962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65965
65966
65967 fi
65968
65969 fi
65970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
65971 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
65972
65973 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
65974 for ac_func in _frexpf
65975 do :
65976 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
65977 if test "x$ac_cv_func__frexpf" = x""yes; then :
65978 cat >>confdefs.h <<_ACEOF
65979 #define HAVE__FREXPF 1
65980 _ACEOF
65981
65982 fi
65983 done
65984
65985 fi
65986 fi
65987
65988
65989
65990
65991
65992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
65993 $as_echo_n "checking for hypotf declaration... " >&6; }
65994 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
65995 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
65996 $as_echo_n "(cached) " >&6
65997 else
65998
65999
66000 ac_ext=cpp
66001 ac_cpp='$CXXCPP $CPPFLAGS'
66002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66005
66006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66007 /* end confdefs.h. */
66008 #include <math.h>
66009 int
66010 main ()
66011 {
66012 hypotf(0, 0);
66013 ;
66014 return 0;
66015 }
66016 _ACEOF
66017 if ac_fn_cxx_try_compile "$LINENO"; then :
66018 glibcxx_cv_func_hypotf_use=yes
66019 else
66020 glibcxx_cv_func_hypotf_use=no
66021 fi
66022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66023 ac_ext=c
66024 ac_cpp='$CPP $CPPFLAGS'
66025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66028
66029
66030 fi
66031
66032 fi
66033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
66034 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
66035
66036 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
66037 for ac_func in hypotf
66038 do :
66039 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
66040 if test "x$ac_cv_func_hypotf" = x""yes; then :
66041 cat >>confdefs.h <<_ACEOF
66042 #define HAVE_HYPOTF 1
66043 _ACEOF
66044
66045 fi
66046 done
66047
66048 else
66049
66050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
66051 $as_echo_n "checking for _hypotf declaration... " >&6; }
66052 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
66053 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
66054 $as_echo_n "(cached) " >&6
66055 else
66056
66057
66058 ac_ext=cpp
66059 ac_cpp='$CXXCPP $CPPFLAGS'
66060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66063
66064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66065 /* end confdefs.h. */
66066 #include <math.h>
66067 int
66068 main ()
66069 {
66070 _hypotf(0, 0);
66071 ;
66072 return 0;
66073 }
66074 _ACEOF
66075 if ac_fn_cxx_try_compile "$LINENO"; then :
66076 glibcxx_cv_func__hypotf_use=yes
66077 else
66078 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
66092 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
66093
66094 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
66095 for ac_func in _hypotf
66096 do :
66097 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
66098 if test "x$ac_cv_func__hypotf" = x""yes; then :
66099 cat >>confdefs.h <<_ACEOF
66100 #define HAVE__HYPOTF 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 ldexpf declaration" >&5
66114 $as_echo_n "checking for ldexpf declaration... " >&6; }
66115 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
66116 if test "${glibcxx_cv_func_ldexpf_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 ldexpf(0, 0);
66134 ;
66135 return 0;
66136 }
66137 _ACEOF
66138 if ac_fn_cxx_try_compile "$LINENO"; then :
66139 glibcxx_cv_func_ldexpf_use=yes
66140 else
66141 glibcxx_cv_func_ldexpf_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_ldexpf_use" >&5
66155 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
66156
66157 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
66158 for ac_func in ldexpf
66159 do :
66160 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
66161 if test "x$ac_cv_func_ldexpf" = x""yes; then :
66162 cat >>confdefs.h <<_ACEOF
66163 #define HAVE_LDEXPF 1
66164 _ACEOF
66165
66166 fi
66167 done
66168
66169 else
66170
66171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
66172 $as_echo_n "checking for _ldexpf declaration... " >&6; }
66173 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
66174 if test "${glibcxx_cv_func__ldexpf_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 _ldexpf(0, 0);
66192 ;
66193 return 0;
66194 }
66195 _ACEOF
66196 if ac_fn_cxx_try_compile "$LINENO"; then :
66197 glibcxx_cv_func__ldexpf_use=yes
66198 else
66199 glibcxx_cv_func__ldexpf_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__ldexpf_use" >&5
66213 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
66214
66215 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
66216 for ac_func in _ldexpf
66217 do :
66218 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
66219 if test "x$ac_cv_func__ldexpf" = x""yes; then :
66220 cat >>confdefs.h <<_ACEOF
66221 #define HAVE__LDEXPF 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 logf declaration" >&5
66235 $as_echo_n "checking for logf declaration... " >&6; }
66236 if test x${glibcxx_cv_func_logf_use+set} != xset; then
66237 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
66238 $as_echo_n "(cached) " >&6
66239 else
66240
66241
66242 ac_ext=cpp
66243 ac_cpp='$CXXCPP $CPPFLAGS'
66244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66247
66248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66249 /* end confdefs.h. */
66250 #include <math.h>
66251 #ifdef HAVE_IEEEFP_H
66252 #include <ieeefp.h>
66253 #endif
66254
66255 int
66256 main ()
66257 {
66258 logf(0);
66259 ;
66260 return 0;
66261 }
66262 _ACEOF
66263 if ac_fn_cxx_try_compile "$LINENO"; then :
66264 glibcxx_cv_func_logf_use=yes
66265 else
66266 glibcxx_cv_func_logf_use=no
66267 fi
66268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66269 ac_ext=c
66270 ac_cpp='$CPP $CPPFLAGS'
66271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66274
66275
66276 fi
66277
66278 fi
66279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
66280 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
66281
66282 if test x$glibcxx_cv_func_logf_use = x"yes"; then
66283 for ac_func in logf
66284 do :
66285 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
66286 if test "x$ac_cv_func_logf" = x""yes; then :
66287 cat >>confdefs.h <<_ACEOF
66288 #define HAVE_LOGF 1
66289 _ACEOF
66290
66291 fi
66292 done
66293
66294 else
66295
66296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
66297 $as_echo_n "checking for _logf declaration... " >&6; }
66298 if test x${glibcxx_cv_func__logf_use+set} != xset; then
66299 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
66300 $as_echo_n "(cached) " >&6
66301 else
66302
66303
66304 ac_ext=cpp
66305 ac_cpp='$CXXCPP $CPPFLAGS'
66306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66309
66310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66311 /* end confdefs.h. */
66312 #include <math.h>
66313 #ifdef HAVE_IEEEFP_H
66314 #include <ieeefp.h>
66315 #endif
66316
66317 int
66318 main ()
66319 {
66320 _logf(0);
66321 ;
66322 return 0;
66323 }
66324 _ACEOF
66325 if ac_fn_cxx_try_compile "$LINENO"; then :
66326 glibcxx_cv_func__logf_use=yes
66327 else
66328 glibcxx_cv_func__logf_use=no
66329 fi
66330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66331 ac_ext=c
66332 ac_cpp='$CPP $CPPFLAGS'
66333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66336
66337
66338 fi
66339
66340 fi
66341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
66342 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
66343
66344 if test x$glibcxx_cv_func__logf_use = x"yes"; then
66345 for ac_func in _logf
66346 do :
66347 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
66348 if test "x$ac_cv_func__logf" = x""yes; then :
66349 cat >>confdefs.h <<_ACEOF
66350 #define HAVE__LOGF 1
66351 _ACEOF
66352
66353 fi
66354 done
66355
66356 fi
66357 fi
66358
66359
66360
66361
66362
66363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
66364 $as_echo_n "checking for log10f declaration... " >&6; }
66365 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66366 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
66367 $as_echo_n "(cached) " >&6
66368 else
66369
66370
66371 ac_ext=cpp
66372 ac_cpp='$CXXCPP $CPPFLAGS'
66373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66376
66377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66378 /* end confdefs.h. */
66379 #include <math.h>
66380 #ifdef HAVE_IEEEFP_H
66381 #include <ieeefp.h>
66382 #endif
66383
66384 int
66385 main ()
66386 {
66387 log10f(0);
66388 ;
66389 return 0;
66390 }
66391 _ACEOF
66392 if ac_fn_cxx_try_compile "$LINENO"; then :
66393 glibcxx_cv_func_log10f_use=yes
66394 else
66395 glibcxx_cv_func_log10f_use=no
66396 fi
66397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66398 ac_ext=c
66399 ac_cpp='$CPP $CPPFLAGS'
66400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66403
66404
66405 fi
66406
66407 fi
66408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
66409 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
66410
66411 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66412 for ac_func in log10f
66413 do :
66414 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
66415 if test "x$ac_cv_func_log10f" = x""yes; then :
66416 cat >>confdefs.h <<_ACEOF
66417 #define HAVE_LOG10F 1
66418 _ACEOF
66419
66420 fi
66421 done
66422
66423 else
66424
66425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
66426 $as_echo_n "checking for _log10f declaration... " >&6; }
66427 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
66428 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
66429 $as_echo_n "(cached) " >&6
66430 else
66431
66432
66433 ac_ext=cpp
66434 ac_cpp='$CXXCPP $CPPFLAGS'
66435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66438
66439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66440 /* end confdefs.h. */
66441 #include <math.h>
66442 #ifdef HAVE_IEEEFP_H
66443 #include <ieeefp.h>
66444 #endif
66445
66446 int
66447 main ()
66448 {
66449 _log10f(0);
66450 ;
66451 return 0;
66452 }
66453 _ACEOF
66454 if ac_fn_cxx_try_compile "$LINENO"; then :
66455 glibcxx_cv_func__log10f_use=yes
66456 else
66457 glibcxx_cv_func__log10f_use=no
66458 fi
66459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66460 ac_ext=c
66461 ac_cpp='$CPP $CPPFLAGS'
66462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66465
66466
66467 fi
66468
66469 fi
66470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
66471 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
66472
66473 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
66474 for ac_func in _log10f
66475 do :
66476 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
66477 if test "x$ac_cv_func__log10f" = x""yes; then :
66478 cat >>confdefs.h <<_ACEOF
66479 #define HAVE__LOG10F 1
66480 _ACEOF
66481
66482 fi
66483 done
66484
66485 fi
66486 fi
66487
66488
66489
66490
66491
66492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
66493 $as_echo_n "checking for modff declaration... " >&6; }
66494 if test x${glibcxx_cv_func_modff_use+set} != xset; then
66495 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
66496 $as_echo_n "(cached) " >&6
66497 else
66498
66499
66500 ac_ext=cpp
66501 ac_cpp='$CXXCPP $CPPFLAGS'
66502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66505
66506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66507 /* end confdefs.h. */
66508 #include <math.h>
66509 int
66510 main ()
66511 {
66512 modff(0, 0);
66513 ;
66514 return 0;
66515 }
66516 _ACEOF
66517 if ac_fn_cxx_try_compile "$LINENO"; then :
66518 glibcxx_cv_func_modff_use=yes
66519 else
66520 glibcxx_cv_func_modff_use=no
66521 fi
66522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66523 ac_ext=c
66524 ac_cpp='$CPP $CPPFLAGS'
66525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66528
66529
66530 fi
66531
66532 fi
66533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
66534 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
66535
66536 if test x$glibcxx_cv_func_modff_use = x"yes"; then
66537 for ac_func in modff
66538 do :
66539 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
66540 if test "x$ac_cv_func_modff" = x""yes; then :
66541 cat >>confdefs.h <<_ACEOF
66542 #define HAVE_MODFF 1
66543 _ACEOF
66544
66545 fi
66546 done
66547
66548 else
66549
66550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
66551 $as_echo_n "checking for _modff declaration... " >&6; }
66552 if test x${glibcxx_cv_func__modff_use+set} != xset; then
66553 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
66554 $as_echo_n "(cached) " >&6
66555 else
66556
66557
66558 ac_ext=cpp
66559 ac_cpp='$CXXCPP $CPPFLAGS'
66560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66563
66564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66565 /* end confdefs.h. */
66566 #include <math.h>
66567 int
66568 main ()
66569 {
66570 _modff(0, 0);
66571 ;
66572 return 0;
66573 }
66574 _ACEOF
66575 if ac_fn_cxx_try_compile "$LINENO"; then :
66576 glibcxx_cv_func__modff_use=yes
66577 else
66578 glibcxx_cv_func__modff_use=no
66579 fi
66580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66581 ac_ext=c
66582 ac_cpp='$CPP $CPPFLAGS'
66583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66586
66587
66588 fi
66589
66590 fi
66591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
66592 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
66593
66594 if test x$glibcxx_cv_func__modff_use = x"yes"; then
66595 for ac_func in _modff
66596 do :
66597 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
66598 if test "x$ac_cv_func__modff" = x""yes; then :
66599 cat >>confdefs.h <<_ACEOF
66600 #define HAVE__MODFF 1
66601 _ACEOF
66602
66603 fi
66604 done
66605
66606 fi
66607 fi
66608
66609
66610
66611
66612
66613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
66614 $as_echo_n "checking for modf declaration... " >&6; }
66615 if test x${glibcxx_cv_func_modf_use+set} != xset; then
66616 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
66617 $as_echo_n "(cached) " >&6
66618 else
66619
66620
66621 ac_ext=cpp
66622 ac_cpp='$CXXCPP $CPPFLAGS'
66623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66626
66627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66628 /* end confdefs.h. */
66629 #include <math.h>
66630 int
66631 main ()
66632 {
66633 modf(0, 0);
66634 ;
66635 return 0;
66636 }
66637 _ACEOF
66638 if ac_fn_cxx_try_compile "$LINENO"; then :
66639 glibcxx_cv_func_modf_use=yes
66640 else
66641 glibcxx_cv_func_modf_use=no
66642 fi
66643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66644 ac_ext=c
66645 ac_cpp='$CPP $CPPFLAGS'
66646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66649
66650
66651 fi
66652
66653 fi
66654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
66655 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
66656
66657 if test x$glibcxx_cv_func_modf_use = x"yes"; then
66658 for ac_func in modf
66659 do :
66660 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
66661 if test "x$ac_cv_func_modf" = x""yes; then :
66662 cat >>confdefs.h <<_ACEOF
66663 #define HAVE_MODF 1
66664 _ACEOF
66665
66666 fi
66667 done
66668
66669 else
66670
66671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
66672 $as_echo_n "checking for _modf declaration... " >&6; }
66673 if test x${glibcxx_cv_func__modf_use+set} != xset; then
66674 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
66675 $as_echo_n "(cached) " >&6
66676 else
66677
66678
66679 ac_ext=cpp
66680 ac_cpp='$CXXCPP $CPPFLAGS'
66681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66684
66685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66686 /* end confdefs.h. */
66687 #include <math.h>
66688 int
66689 main ()
66690 {
66691 _modf(0, 0);
66692 ;
66693 return 0;
66694 }
66695 _ACEOF
66696 if ac_fn_cxx_try_compile "$LINENO"; then :
66697 glibcxx_cv_func__modf_use=yes
66698 else
66699 glibcxx_cv_func__modf_use=no
66700 fi
66701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66702 ac_ext=c
66703 ac_cpp='$CPP $CPPFLAGS'
66704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66707
66708
66709 fi
66710
66711 fi
66712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
66713 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
66714
66715 if test x$glibcxx_cv_func__modf_use = x"yes"; then
66716 for ac_func in _modf
66717 do :
66718 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
66719 if test "x$ac_cv_func__modf" = x""yes; then :
66720 cat >>confdefs.h <<_ACEOF
66721 #define HAVE__MODF 1
66722 _ACEOF
66723
66724 fi
66725 done
66726
66727 fi
66728 fi
66729
66730
66731
66732
66733
66734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
66735 $as_echo_n "checking for powf declaration... " >&6; }
66736 if test x${glibcxx_cv_func_powf_use+set} != xset; then
66737 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
66738 $as_echo_n "(cached) " >&6
66739 else
66740
66741
66742 ac_ext=cpp
66743 ac_cpp='$CXXCPP $CPPFLAGS'
66744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66747
66748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66749 /* end confdefs.h. */
66750 #include <math.h>
66751 int
66752 main ()
66753 {
66754 powf(0, 0);
66755 ;
66756 return 0;
66757 }
66758 _ACEOF
66759 if ac_fn_cxx_try_compile "$LINENO"; then :
66760 glibcxx_cv_func_powf_use=yes
66761 else
66762 glibcxx_cv_func_powf_use=no
66763 fi
66764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66765 ac_ext=c
66766 ac_cpp='$CPP $CPPFLAGS'
66767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66770
66771
66772 fi
66773
66774 fi
66775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
66776 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
66777
66778 if test x$glibcxx_cv_func_powf_use = x"yes"; then
66779 for ac_func in powf
66780 do :
66781 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
66782 if test "x$ac_cv_func_powf" = x""yes; then :
66783 cat >>confdefs.h <<_ACEOF
66784 #define HAVE_POWF 1
66785 _ACEOF
66786
66787 fi
66788 done
66789
66790 else
66791
66792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
66793 $as_echo_n "checking for _powf declaration... " >&6; }
66794 if test x${glibcxx_cv_func__powf_use+set} != xset; then
66795 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
66796 $as_echo_n "(cached) " >&6
66797 else
66798
66799
66800 ac_ext=cpp
66801 ac_cpp='$CXXCPP $CPPFLAGS'
66802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66805
66806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66807 /* end confdefs.h. */
66808 #include <math.h>
66809 int
66810 main ()
66811 {
66812 _powf(0, 0);
66813 ;
66814 return 0;
66815 }
66816 _ACEOF
66817 if ac_fn_cxx_try_compile "$LINENO"; then :
66818 glibcxx_cv_func__powf_use=yes
66819 else
66820 glibcxx_cv_func__powf_use=no
66821 fi
66822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66823 ac_ext=c
66824 ac_cpp='$CPP $CPPFLAGS'
66825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66828
66829
66830 fi
66831
66832 fi
66833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
66834 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
66835
66836 if test x$glibcxx_cv_func__powf_use = x"yes"; then
66837 for ac_func in _powf
66838 do :
66839 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
66840 if test "x$ac_cv_func__powf" = x""yes; then :
66841 cat >>confdefs.h <<_ACEOF
66842 #define HAVE__POWF 1
66843 _ACEOF
66844
66845 fi
66846 done
66847
66848 fi
66849 fi
66850
66851
66852
66853
66854
66855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
66856 $as_echo_n "checking for sqrtf declaration... " >&6; }
66857 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
66858 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
66859 $as_echo_n "(cached) " >&6
66860 else
66861
66862
66863 ac_ext=cpp
66864 ac_cpp='$CXXCPP $CPPFLAGS'
66865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66868
66869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66870 /* end confdefs.h. */
66871 #include <math.h>
66872 #ifdef HAVE_IEEEFP_H
66873 #include <ieeefp.h>
66874 #endif
66875
66876 int
66877 main ()
66878 {
66879 sqrtf(0);
66880 ;
66881 return 0;
66882 }
66883 _ACEOF
66884 if ac_fn_cxx_try_compile "$LINENO"; then :
66885 glibcxx_cv_func_sqrtf_use=yes
66886 else
66887 glibcxx_cv_func_sqrtf_use=no
66888 fi
66889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66890 ac_ext=c
66891 ac_cpp='$CPP $CPPFLAGS'
66892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66895
66896
66897 fi
66898
66899 fi
66900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
66901 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
66902
66903 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
66904 for ac_func in sqrtf
66905 do :
66906 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
66907 if test "x$ac_cv_func_sqrtf" = x""yes; then :
66908 cat >>confdefs.h <<_ACEOF
66909 #define HAVE_SQRTF 1
66910 _ACEOF
66911
66912 fi
66913 done
66914
66915 else
66916
66917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
66918 $as_echo_n "checking for _sqrtf declaration... " >&6; }
66919 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
66920 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
66921 $as_echo_n "(cached) " >&6
66922 else
66923
66924
66925 ac_ext=cpp
66926 ac_cpp='$CXXCPP $CPPFLAGS'
66927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66930
66931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66932 /* end confdefs.h. */
66933 #include <math.h>
66934 #ifdef HAVE_IEEEFP_H
66935 #include <ieeefp.h>
66936 #endif
66937
66938 int
66939 main ()
66940 {
66941 _sqrtf(0);
66942 ;
66943 return 0;
66944 }
66945 _ACEOF
66946 if ac_fn_cxx_try_compile "$LINENO"; then :
66947 glibcxx_cv_func__sqrtf_use=yes
66948 else
66949 glibcxx_cv_func__sqrtf_use=no
66950 fi
66951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66952 ac_ext=c
66953 ac_cpp='$CPP $CPPFLAGS'
66954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66957
66958
66959 fi
66960
66961 fi
66962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
66963 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
66964
66965 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
66966 for ac_func in _sqrtf
66967 do :
66968 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
66969 if test "x$ac_cv_func__sqrtf" = x""yes; then :
66970 cat >>confdefs.h <<_ACEOF
66971 #define HAVE__SQRTF 1
66972 _ACEOF
66973
66974 fi
66975 done
66976
66977 fi
66978 fi
66979
66980
66981
66982
66983
66984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
66985 $as_echo_n "checking for sincosf declaration... " >&6; }
66986 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
66987 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
66988 $as_echo_n "(cached) " >&6
66989 else
66990
66991
66992 ac_ext=cpp
66993 ac_cpp='$CXXCPP $CPPFLAGS'
66994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66997
66998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66999 /* end confdefs.h. */
67000 #include <math.h>
67001 int
67002 main ()
67003 {
67004 sincosf(0, 0, 0);
67005 ;
67006 return 0;
67007 }
67008 _ACEOF
67009 if ac_fn_cxx_try_compile "$LINENO"; then :
67010 glibcxx_cv_func_sincosf_use=yes
67011 else
67012 glibcxx_cv_func_sincosf_use=no
67013 fi
67014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67015 ac_ext=c
67016 ac_cpp='$CPP $CPPFLAGS'
67017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67020
67021
67022 fi
67023
67024 fi
67025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
67026 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
67027
67028 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
67029 for ac_func in sincosf
67030 do :
67031 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
67032 if test "x$ac_cv_func_sincosf" = x""yes; then :
67033 cat >>confdefs.h <<_ACEOF
67034 #define HAVE_SINCOSF 1
67035 _ACEOF
67036
67037 fi
67038 done
67039
67040 else
67041
67042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
67043 $as_echo_n "checking for _sincosf declaration... " >&6; }
67044 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
67045 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
67046 $as_echo_n "(cached) " >&6
67047 else
67048
67049
67050 ac_ext=cpp
67051 ac_cpp='$CXXCPP $CPPFLAGS'
67052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67055
67056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67057 /* end confdefs.h. */
67058 #include <math.h>
67059 int
67060 main ()
67061 {
67062 _sincosf(0, 0, 0);
67063 ;
67064 return 0;
67065 }
67066 _ACEOF
67067 if ac_fn_cxx_try_compile "$LINENO"; then :
67068 glibcxx_cv_func__sincosf_use=yes
67069 else
67070 glibcxx_cv_func__sincosf_use=no
67071 fi
67072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67073 ac_ext=c
67074 ac_cpp='$CPP $CPPFLAGS'
67075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67078
67079
67080 fi
67081
67082 fi
67083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
67084 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
67085
67086 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
67087 for ac_func in _sincosf
67088 do :
67089 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
67090 if test "x$ac_cv_func__sincosf" = x""yes; then :
67091 cat >>confdefs.h <<_ACEOF
67092 #define HAVE__SINCOSF 1
67093 _ACEOF
67094
67095 fi
67096 done
67097
67098 fi
67099 fi
67100
67101
67102
67103
67104
67105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
67106 $as_echo_n "checking for finitef declaration... " >&6; }
67107 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
67108 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
67109 $as_echo_n "(cached) " >&6
67110 else
67111
67112
67113 ac_ext=cpp
67114 ac_cpp='$CXXCPP $CPPFLAGS'
67115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67118
67119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67120 /* end confdefs.h. */
67121 #include <math.h>
67122 #ifdef HAVE_IEEEFP_H
67123 #include <ieeefp.h>
67124 #endif
67125
67126 int
67127 main ()
67128 {
67129 finitef(0);
67130 ;
67131 return 0;
67132 }
67133 _ACEOF
67134 if ac_fn_cxx_try_compile "$LINENO"; then :
67135 glibcxx_cv_func_finitef_use=yes
67136 else
67137 glibcxx_cv_func_finitef_use=no
67138 fi
67139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67140 ac_ext=c
67141 ac_cpp='$CPP $CPPFLAGS'
67142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67145
67146
67147 fi
67148
67149 fi
67150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
67151 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
67152
67153 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
67154 for ac_func in finitef
67155 do :
67156 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
67157 if test "x$ac_cv_func_finitef" = x""yes; then :
67158 cat >>confdefs.h <<_ACEOF
67159 #define HAVE_FINITEF 1
67160 _ACEOF
67161
67162 fi
67163 done
67164
67165 else
67166
67167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
67168 $as_echo_n "checking for _finitef declaration... " >&6; }
67169 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
67170 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
67171 $as_echo_n "(cached) " >&6
67172 else
67173
67174
67175 ac_ext=cpp
67176 ac_cpp='$CXXCPP $CPPFLAGS'
67177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67180
67181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67182 /* end confdefs.h. */
67183 #include <math.h>
67184 #ifdef HAVE_IEEEFP_H
67185 #include <ieeefp.h>
67186 #endif
67187
67188 int
67189 main ()
67190 {
67191 _finitef(0);
67192 ;
67193 return 0;
67194 }
67195 _ACEOF
67196 if ac_fn_cxx_try_compile "$LINENO"; then :
67197 glibcxx_cv_func__finitef_use=yes
67198 else
67199 glibcxx_cv_func__finitef_use=no
67200 fi
67201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67202 ac_ext=c
67203 ac_cpp='$CPP $CPPFLAGS'
67204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67207
67208
67209 fi
67210
67211 fi
67212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
67213 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
67214
67215 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
67216 for ac_func in _finitef
67217 do :
67218 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
67219 if test "x$ac_cv_func__finitef" = x""yes; then :
67220 cat >>confdefs.h <<_ACEOF
67221 #define HAVE__FINITEF 1
67222 _ACEOF
67223
67224 fi
67225 done
67226
67227 fi
67228 fi
67229
67230
67231
67232
67233
67234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
67235 $as_echo_n "checking for long double trig functions... " >&6; }
67236 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
67237 $as_echo_n "(cached) " >&6
67238 else
67239
67240
67241 ac_ext=cpp
67242 ac_cpp='$CXXCPP $CPPFLAGS'
67243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67246
67247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67248 /* end confdefs.h. */
67249 #include <math.h>
67250 int
67251 main ()
67252 {
67253 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
67254 ;
67255 return 0;
67256 }
67257 _ACEOF
67258 if ac_fn_cxx_try_compile "$LINENO"; then :
67259 glibcxx_cv_func_long_double_trig_use=yes
67260 else
67261 glibcxx_cv_func_long_double_trig_use=no
67262 fi
67263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67264 ac_ext=c
67265 ac_cpp='$CPP $CPPFLAGS'
67266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67269
67270 fi
67271
67272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
67273 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
67274 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
67275 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
67276 do :
67277 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67278 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67279 eval as_val=\$$as_ac_var
67280 if test "x$as_val" = x""yes; then :
67281 cat >>confdefs.h <<_ACEOF
67282 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67283 _ACEOF
67284
67285 fi
67286 done
67287
67288 else
67289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
67290 $as_echo_n "checking for _long double trig functions... " >&6; }
67291 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
67292 $as_echo_n "(cached) " >&6
67293 else
67294
67295
67296 ac_ext=cpp
67297 ac_cpp='$CXXCPP $CPPFLAGS'
67298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67301
67302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67303 /* end confdefs.h. */
67304 #include <math.h>
67305 int
67306 main ()
67307 {
67308 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
67309 ;
67310 return 0;
67311 }
67312 _ACEOF
67313 if ac_fn_cxx_try_compile "$LINENO"; then :
67314 glibcxx_cv_func__long_double_trig_use=yes
67315 else
67316 glibcxx_cv_func__long_double_trig_use=no
67317 fi
67318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67319 ac_ext=c
67320 ac_cpp='$CPP $CPPFLAGS'
67321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67324
67325 fi
67326
67327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
67328 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
67329 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
67330 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
67331 do :
67332 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67333 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67334 eval as_val=\$$as_ac_var
67335 if test "x$as_val" = x""yes; then :
67336 cat >>confdefs.h <<_ACEOF
67337 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67338 _ACEOF
67339
67340 fi
67341 done
67342
67343 fi
67344 fi
67345
67346
67347
67348
67349
67350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
67351 $as_echo_n "checking for long double round functions... " >&6; }
67352 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
67353 $as_echo_n "(cached) " >&6
67354 else
67355
67356
67357 ac_ext=cpp
67358 ac_cpp='$CXXCPP $CPPFLAGS'
67359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67362
67363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67364 /* end confdefs.h. */
67365 #include <math.h>
67366 int
67367 main ()
67368 {
67369 ceill (0); floorl (0);
67370 ;
67371 return 0;
67372 }
67373 _ACEOF
67374 if ac_fn_cxx_try_compile "$LINENO"; then :
67375 glibcxx_cv_func_long_double_round_use=yes
67376 else
67377 glibcxx_cv_func_long_double_round_use=no
67378 fi
67379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67380 ac_ext=c
67381 ac_cpp='$CPP $CPPFLAGS'
67382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67385
67386 fi
67387
67388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
67389 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
67390 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
67391 for ac_func in ceill floorl
67392 do :
67393 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67394 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67395 eval as_val=\$$as_ac_var
67396 if test "x$as_val" = x""yes; then :
67397 cat >>confdefs.h <<_ACEOF
67398 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67399 _ACEOF
67400
67401 fi
67402 done
67403
67404 else
67405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
67406 $as_echo_n "checking for _long double round functions... " >&6; }
67407 if test "${glibcxx_cv_func__long_double_round_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 _ceill (0); _floorl (0);
67425 ;
67426 return 0;
67427 }
67428 _ACEOF
67429 if ac_fn_cxx_try_compile "$LINENO"; then :
67430 glibcxx_cv_func__long_double_round_use=yes
67431 else
67432 glibcxx_cv_func__long_double_round_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 fi
67442
67443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
67444 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
67445 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
67446 for ac_func in _ceill _floorl
67447 do :
67448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67450 eval as_val=\$$as_ac_var
67451 if test "x$as_val" = x""yes; then :
67452 cat >>confdefs.h <<_ACEOF
67453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67454 _ACEOF
67455
67456 fi
67457 done
67458
67459 fi
67460 fi
67461
67462
67463
67464
67465
67466
67467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
67468 $as_echo_n "checking for isnanl declaration... " >&6; }
67469 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
67470 if test "${glibcxx_cv_func_isnanl_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 #ifdef HAVE_IEEEFP_H
67485 #include <ieeefp.h>
67486 #endif
67487
67488 int
67489 main ()
67490 {
67491 isnanl(0);
67492 ;
67493 return 0;
67494 }
67495 _ACEOF
67496 if ac_fn_cxx_try_compile "$LINENO"; then :
67497 glibcxx_cv_func_isnanl_use=yes
67498 else
67499 glibcxx_cv_func_isnanl_use=no
67500 fi
67501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67502 ac_ext=c
67503 ac_cpp='$CPP $CPPFLAGS'
67504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67507
67508
67509 fi
67510
67511 fi
67512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
67513 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
67514
67515 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
67516 for ac_func in isnanl
67517 do :
67518 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
67519 if test "x$ac_cv_func_isnanl" = x""yes; then :
67520 cat >>confdefs.h <<_ACEOF
67521 #define HAVE_ISNANL 1
67522 _ACEOF
67523
67524 fi
67525 done
67526
67527 else
67528
67529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
67530 $as_echo_n "checking for _isnanl declaration... " >&6; }
67531 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
67532 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
67533 $as_echo_n "(cached) " >&6
67534 else
67535
67536
67537 ac_ext=cpp
67538 ac_cpp='$CXXCPP $CPPFLAGS'
67539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67542
67543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67544 /* end confdefs.h. */
67545 #include <math.h>
67546 #ifdef HAVE_IEEEFP_H
67547 #include <ieeefp.h>
67548 #endif
67549
67550 int
67551 main ()
67552 {
67553 _isnanl(0);
67554 ;
67555 return 0;
67556 }
67557 _ACEOF
67558 if ac_fn_cxx_try_compile "$LINENO"; then :
67559 glibcxx_cv_func__isnanl_use=yes
67560 else
67561 glibcxx_cv_func__isnanl_use=no
67562 fi
67563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67564 ac_ext=c
67565 ac_cpp='$CPP $CPPFLAGS'
67566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67569
67570
67571 fi
67572
67573 fi
67574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
67575 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
67576
67577 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
67578 for ac_func in _isnanl
67579 do :
67580 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
67581 if test "x$ac_cv_func__isnanl" = x""yes; then :
67582 cat >>confdefs.h <<_ACEOF
67583 #define HAVE__ISNANL 1
67584 _ACEOF
67585
67586 fi
67587 done
67588
67589 fi
67590 fi
67591
67592
67593
67594
67595
67596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
67597 $as_echo_n "checking for isinfl declaration... " >&6; }
67598 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
67599 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
67600 $as_echo_n "(cached) " >&6
67601 else
67602
67603
67604 ac_ext=cpp
67605 ac_cpp='$CXXCPP $CPPFLAGS'
67606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67609
67610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67611 /* end confdefs.h. */
67612 #include <math.h>
67613 #ifdef HAVE_IEEEFP_H
67614 #include <ieeefp.h>
67615 #endif
67616
67617 int
67618 main ()
67619 {
67620 isinfl(0);
67621 ;
67622 return 0;
67623 }
67624 _ACEOF
67625 if ac_fn_cxx_try_compile "$LINENO"; then :
67626 glibcxx_cv_func_isinfl_use=yes
67627 else
67628 glibcxx_cv_func_isinfl_use=no
67629 fi
67630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67631 ac_ext=c
67632 ac_cpp='$CPP $CPPFLAGS'
67633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67636
67637
67638 fi
67639
67640 fi
67641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
67642 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
67643
67644 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
67645 for ac_func in isinfl
67646 do :
67647 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
67648 if test "x$ac_cv_func_isinfl" = x""yes; then :
67649 cat >>confdefs.h <<_ACEOF
67650 #define HAVE_ISINFL 1
67651 _ACEOF
67652
67653 fi
67654 done
67655
67656 else
67657
67658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
67659 $as_echo_n "checking for _isinfl declaration... " >&6; }
67660 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
67661 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
67662 $as_echo_n "(cached) " >&6
67663 else
67664
67665
67666 ac_ext=cpp
67667 ac_cpp='$CXXCPP $CPPFLAGS'
67668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67671
67672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67673 /* end confdefs.h. */
67674 #include <math.h>
67675 #ifdef HAVE_IEEEFP_H
67676 #include <ieeefp.h>
67677 #endif
67678
67679 int
67680 main ()
67681 {
67682 _isinfl(0);
67683 ;
67684 return 0;
67685 }
67686 _ACEOF
67687 if ac_fn_cxx_try_compile "$LINENO"; then :
67688 glibcxx_cv_func__isinfl_use=yes
67689 else
67690 glibcxx_cv_func__isinfl_use=no
67691 fi
67692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67693 ac_ext=c
67694 ac_cpp='$CPP $CPPFLAGS'
67695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67698
67699
67700 fi
67701
67702 fi
67703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
67704 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
67705
67706 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
67707 for ac_func in _isinfl
67708 do :
67709 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
67710 if test "x$ac_cv_func__isinfl" = x""yes; then :
67711 cat >>confdefs.h <<_ACEOF
67712 #define HAVE__ISINFL 1
67713 _ACEOF
67714
67715 fi
67716 done
67717
67718 fi
67719 fi
67720
67721
67722
67723
67724
67725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
67726 $as_echo_n "checking for atan2l declaration... " >&6; }
67727 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
67728 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
67729 $as_echo_n "(cached) " >&6
67730 else
67731
67732
67733 ac_ext=cpp
67734 ac_cpp='$CXXCPP $CPPFLAGS'
67735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67738
67739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67740 /* end confdefs.h. */
67741 #include <math.h>
67742 int
67743 main ()
67744 {
67745 atan2l(0, 0);
67746 ;
67747 return 0;
67748 }
67749 _ACEOF
67750 if ac_fn_cxx_try_compile "$LINENO"; then :
67751 glibcxx_cv_func_atan2l_use=yes
67752 else
67753 glibcxx_cv_func_atan2l_use=no
67754 fi
67755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67756 ac_ext=c
67757 ac_cpp='$CPP $CPPFLAGS'
67758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67761
67762
67763 fi
67764
67765 fi
67766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
67767 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
67768
67769 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
67770 for ac_func in atan2l
67771 do :
67772 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
67773 if test "x$ac_cv_func_atan2l" = x""yes; then :
67774 cat >>confdefs.h <<_ACEOF
67775 #define HAVE_ATAN2L 1
67776 _ACEOF
67777
67778 fi
67779 done
67780
67781 else
67782
67783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
67784 $as_echo_n "checking for _atan2l declaration... " >&6; }
67785 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
67786 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
67787 $as_echo_n "(cached) " >&6
67788 else
67789
67790
67791 ac_ext=cpp
67792 ac_cpp='$CXXCPP $CPPFLAGS'
67793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67796
67797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67798 /* end confdefs.h. */
67799 #include <math.h>
67800 int
67801 main ()
67802 {
67803 _atan2l(0, 0);
67804 ;
67805 return 0;
67806 }
67807 _ACEOF
67808 if ac_fn_cxx_try_compile "$LINENO"; then :
67809 glibcxx_cv_func__atan2l_use=yes
67810 else
67811 glibcxx_cv_func__atan2l_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__atan2l_use" >&5
67825 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
67826
67827 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
67828 for ac_func in _atan2l
67829 do :
67830 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
67831 if test "x$ac_cv_func__atan2l" = x""yes; then :
67832 cat >>confdefs.h <<_ACEOF
67833 #define HAVE__ATAN2L 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 expl declaration" >&5
67847 $as_echo_n "checking for expl declaration... " >&6; }
67848 if test x${glibcxx_cv_func_expl_use+set} != xset; then
67849 if test "${glibcxx_cv_func_expl_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 #ifdef HAVE_IEEEFP_H
67864 #include <ieeefp.h>
67865 #endif
67866
67867 int
67868 main ()
67869 {
67870 expl(0);
67871 ;
67872 return 0;
67873 }
67874 _ACEOF
67875 if ac_fn_cxx_try_compile "$LINENO"; then :
67876 glibcxx_cv_func_expl_use=yes
67877 else
67878 glibcxx_cv_func_expl_use=no
67879 fi
67880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67881 ac_ext=c
67882 ac_cpp='$CPP $CPPFLAGS'
67883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67886
67887
67888 fi
67889
67890 fi
67891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67892 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67893
67894 if test x$glibcxx_cv_func_expl_use = x"yes"; then
67895 for ac_func in expl
67896 do :
67897 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
67898 if test "x$ac_cv_func_expl" = x""yes; then :
67899 cat >>confdefs.h <<_ACEOF
67900 #define HAVE_EXPL 1
67901 _ACEOF
67902
67903 fi
67904 done
67905
67906 else
67907
67908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
67909 $as_echo_n "checking for _expl declaration... " >&6; }
67910 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67911 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
67912 $as_echo_n "(cached) " >&6
67913 else
67914
67915
67916 ac_ext=cpp
67917 ac_cpp='$CXXCPP $CPPFLAGS'
67918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67921
67922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67923 /* end confdefs.h. */
67924 #include <math.h>
67925 #ifdef HAVE_IEEEFP_H
67926 #include <ieeefp.h>
67927 #endif
67928
67929 int
67930 main ()
67931 {
67932 _expl(0);
67933 ;
67934 return 0;
67935 }
67936 _ACEOF
67937 if ac_fn_cxx_try_compile "$LINENO"; then :
67938 glibcxx_cv_func__expl_use=yes
67939 else
67940 glibcxx_cv_func__expl_use=no
67941 fi
67942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67943 ac_ext=c
67944 ac_cpp='$CPP $CPPFLAGS'
67945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67948
67949
67950 fi
67951
67952 fi
67953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
67954 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
67955
67956 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67957 for ac_func in _expl
67958 do :
67959 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
67960 if test "x$ac_cv_func__expl" = x""yes; then :
67961 cat >>confdefs.h <<_ACEOF
67962 #define HAVE__EXPL 1
67963 _ACEOF
67964
67965 fi
67966 done
67967
67968 fi
67969 fi
67970
67971
67972
67973
67974
67975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
67976 $as_echo_n "checking for fabsl declaration... " >&6; }
67977 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67978 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
67979 $as_echo_n "(cached) " >&6
67980 else
67981
67982
67983 ac_ext=cpp
67984 ac_cpp='$CXXCPP $CPPFLAGS'
67985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67988
67989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67990 /* end confdefs.h. */
67991 #include <math.h>
67992 #ifdef HAVE_IEEEFP_H
67993 #include <ieeefp.h>
67994 #endif
67995
67996 int
67997 main ()
67998 {
67999 fabsl(0);
68000 ;
68001 return 0;
68002 }
68003 _ACEOF
68004 if ac_fn_cxx_try_compile "$LINENO"; then :
68005 glibcxx_cv_func_fabsl_use=yes
68006 else
68007 glibcxx_cv_func_fabsl_use=no
68008 fi
68009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68010 ac_ext=c
68011 ac_cpp='$CPP $CPPFLAGS'
68012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68015
68016
68017 fi
68018
68019 fi
68020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
68021 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
68022
68023 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
68024 for ac_func in fabsl
68025 do :
68026 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
68027 if test "x$ac_cv_func_fabsl" = x""yes; then :
68028 cat >>confdefs.h <<_ACEOF
68029 #define HAVE_FABSL 1
68030 _ACEOF
68031
68032 fi
68033 done
68034
68035 else
68036
68037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
68038 $as_echo_n "checking for _fabsl declaration... " >&6; }
68039 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
68040 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
68041 $as_echo_n "(cached) " >&6
68042 else
68043
68044
68045 ac_ext=cpp
68046 ac_cpp='$CXXCPP $CPPFLAGS'
68047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68050
68051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68052 /* end confdefs.h. */
68053 #include <math.h>
68054 #ifdef HAVE_IEEEFP_H
68055 #include <ieeefp.h>
68056 #endif
68057
68058 int
68059 main ()
68060 {
68061 _fabsl(0);
68062 ;
68063 return 0;
68064 }
68065 _ACEOF
68066 if ac_fn_cxx_try_compile "$LINENO"; then :
68067 glibcxx_cv_func__fabsl_use=yes
68068 else
68069 glibcxx_cv_func__fabsl_use=no
68070 fi
68071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68072 ac_ext=c
68073 ac_cpp='$CPP $CPPFLAGS'
68074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68077
68078
68079 fi
68080
68081 fi
68082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
68083 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
68084
68085 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
68086 for ac_func in _fabsl
68087 do :
68088 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
68089 if test "x$ac_cv_func__fabsl" = x""yes; then :
68090 cat >>confdefs.h <<_ACEOF
68091 #define HAVE__FABSL 1
68092 _ACEOF
68093
68094 fi
68095 done
68096
68097 fi
68098 fi
68099
68100
68101
68102
68103
68104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
68105 $as_echo_n "checking for fmodl declaration... " >&6; }
68106 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
68107 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
68108 $as_echo_n "(cached) " >&6
68109 else
68110
68111
68112 ac_ext=cpp
68113 ac_cpp='$CXXCPP $CPPFLAGS'
68114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68117
68118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68119 /* end confdefs.h. */
68120 #include <math.h>
68121 int
68122 main ()
68123 {
68124 fmodl(0, 0);
68125 ;
68126 return 0;
68127 }
68128 _ACEOF
68129 if ac_fn_cxx_try_compile "$LINENO"; then :
68130 glibcxx_cv_func_fmodl_use=yes
68131 else
68132 glibcxx_cv_func_fmodl_use=no
68133 fi
68134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68135 ac_ext=c
68136 ac_cpp='$CPP $CPPFLAGS'
68137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68140
68141
68142 fi
68143
68144 fi
68145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
68146 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
68147
68148 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
68149 for ac_func in fmodl
68150 do :
68151 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
68152 if test "x$ac_cv_func_fmodl" = x""yes; then :
68153 cat >>confdefs.h <<_ACEOF
68154 #define HAVE_FMODL 1
68155 _ACEOF
68156
68157 fi
68158 done
68159
68160 else
68161
68162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
68163 $as_echo_n "checking for _fmodl declaration... " >&6; }
68164 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
68165 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
68166 $as_echo_n "(cached) " >&6
68167 else
68168
68169
68170 ac_ext=cpp
68171 ac_cpp='$CXXCPP $CPPFLAGS'
68172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68175
68176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68177 /* end confdefs.h. */
68178 #include <math.h>
68179 int
68180 main ()
68181 {
68182 _fmodl(0, 0);
68183 ;
68184 return 0;
68185 }
68186 _ACEOF
68187 if ac_fn_cxx_try_compile "$LINENO"; then :
68188 glibcxx_cv_func__fmodl_use=yes
68189 else
68190 glibcxx_cv_func__fmodl_use=no
68191 fi
68192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68193 ac_ext=c
68194 ac_cpp='$CPP $CPPFLAGS'
68195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68198
68199
68200 fi
68201
68202 fi
68203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
68204 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
68205
68206 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
68207 for ac_func in _fmodl
68208 do :
68209 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
68210 if test "x$ac_cv_func__fmodl" = x""yes; then :
68211 cat >>confdefs.h <<_ACEOF
68212 #define HAVE__FMODL 1
68213 _ACEOF
68214
68215 fi
68216 done
68217
68218 fi
68219 fi
68220
68221
68222
68223
68224
68225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
68226 $as_echo_n "checking for frexpl declaration... " >&6; }
68227 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68228 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
68229 $as_echo_n "(cached) " >&6
68230 else
68231
68232
68233 ac_ext=cpp
68234 ac_cpp='$CXXCPP $CPPFLAGS'
68235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68238
68239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68240 /* end confdefs.h. */
68241 #include <math.h>
68242 int
68243 main ()
68244 {
68245 frexpl(0, 0);
68246 ;
68247 return 0;
68248 }
68249 _ACEOF
68250 if ac_fn_cxx_try_compile "$LINENO"; then :
68251 glibcxx_cv_func_frexpl_use=yes
68252 else
68253 glibcxx_cv_func_frexpl_use=no
68254 fi
68255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68256 ac_ext=c
68257 ac_cpp='$CPP $CPPFLAGS'
68258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68261
68262
68263 fi
68264
68265 fi
68266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
68267 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
68268
68269 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68270 for ac_func in frexpl
68271 do :
68272 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
68273 if test "x$ac_cv_func_frexpl" = x""yes; then :
68274 cat >>confdefs.h <<_ACEOF
68275 #define HAVE_FREXPL 1
68276 _ACEOF
68277
68278 fi
68279 done
68280
68281 else
68282
68283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
68284 $as_echo_n "checking for _frexpl declaration... " >&6; }
68285 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68286 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
68287 $as_echo_n "(cached) " >&6
68288 else
68289
68290
68291 ac_ext=cpp
68292 ac_cpp='$CXXCPP $CPPFLAGS'
68293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68296
68297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68298 /* end confdefs.h. */
68299 #include <math.h>
68300 int
68301 main ()
68302 {
68303 _frexpl(0, 0);
68304 ;
68305 return 0;
68306 }
68307 _ACEOF
68308 if ac_fn_cxx_try_compile "$LINENO"; then :
68309 glibcxx_cv_func__frexpl_use=yes
68310 else
68311 glibcxx_cv_func__frexpl_use=no
68312 fi
68313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68314 ac_ext=c
68315 ac_cpp='$CPP $CPPFLAGS'
68316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68319
68320
68321 fi
68322
68323 fi
68324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
68325 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
68326
68327 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68328 for ac_func in _frexpl
68329 do :
68330 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
68331 if test "x$ac_cv_func__frexpl" = x""yes; then :
68332 cat >>confdefs.h <<_ACEOF
68333 #define HAVE__FREXPL 1
68334 _ACEOF
68335
68336 fi
68337 done
68338
68339 fi
68340 fi
68341
68342
68343
68344
68345
68346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
68347 $as_echo_n "checking for hypotl declaration... " >&6; }
68348 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68349 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
68350 $as_echo_n "(cached) " >&6
68351 else
68352
68353
68354 ac_ext=cpp
68355 ac_cpp='$CXXCPP $CPPFLAGS'
68356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68359
68360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68361 /* end confdefs.h. */
68362 #include <math.h>
68363 int
68364 main ()
68365 {
68366 hypotl(0, 0);
68367 ;
68368 return 0;
68369 }
68370 _ACEOF
68371 if ac_fn_cxx_try_compile "$LINENO"; then :
68372 glibcxx_cv_func_hypotl_use=yes
68373 else
68374 glibcxx_cv_func_hypotl_use=no
68375 fi
68376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68377 ac_ext=c
68378 ac_cpp='$CPP $CPPFLAGS'
68379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68382
68383
68384 fi
68385
68386 fi
68387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
68388 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
68389
68390 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68391 for ac_func in hypotl
68392 do :
68393 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
68394 if test "x$ac_cv_func_hypotl" = x""yes; then :
68395 cat >>confdefs.h <<_ACEOF
68396 #define HAVE_HYPOTL 1
68397 _ACEOF
68398
68399 fi
68400 done
68401
68402 else
68403
68404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
68405 $as_echo_n "checking for _hypotl declaration... " >&6; }
68406 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68407 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
68408 $as_echo_n "(cached) " >&6
68409 else
68410
68411
68412 ac_ext=cpp
68413 ac_cpp='$CXXCPP $CPPFLAGS'
68414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68417
68418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68419 /* end confdefs.h. */
68420 #include <math.h>
68421 int
68422 main ()
68423 {
68424 _hypotl(0, 0);
68425 ;
68426 return 0;
68427 }
68428 _ACEOF
68429 if ac_fn_cxx_try_compile "$LINENO"; then :
68430 glibcxx_cv_func__hypotl_use=yes
68431 else
68432 glibcxx_cv_func__hypotl_use=no
68433 fi
68434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68435 ac_ext=c
68436 ac_cpp='$CPP $CPPFLAGS'
68437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68440
68441
68442 fi
68443
68444 fi
68445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
68446 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
68447
68448 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68449 for ac_func in _hypotl
68450 do :
68451 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
68452 if test "x$ac_cv_func__hypotl" = x""yes; then :
68453 cat >>confdefs.h <<_ACEOF
68454 #define HAVE__HYPOTL 1
68455 _ACEOF
68456
68457 fi
68458 done
68459
68460 fi
68461 fi
68462
68463
68464
68465
68466
68467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
68468 $as_echo_n "checking for ldexpl declaration... " >&6; }
68469 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68470 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
68471 $as_echo_n "(cached) " >&6
68472 else
68473
68474
68475 ac_ext=cpp
68476 ac_cpp='$CXXCPP $CPPFLAGS'
68477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68480
68481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68482 /* end confdefs.h. */
68483 #include <math.h>
68484 int
68485 main ()
68486 {
68487 ldexpl(0, 0);
68488 ;
68489 return 0;
68490 }
68491 _ACEOF
68492 if ac_fn_cxx_try_compile "$LINENO"; then :
68493 glibcxx_cv_func_ldexpl_use=yes
68494 else
68495 glibcxx_cv_func_ldexpl_use=no
68496 fi
68497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68498 ac_ext=c
68499 ac_cpp='$CPP $CPPFLAGS'
68500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68503
68504
68505 fi
68506
68507 fi
68508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
68509 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
68510
68511 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68512 for ac_func in ldexpl
68513 do :
68514 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
68515 if test "x$ac_cv_func_ldexpl" = x""yes; then :
68516 cat >>confdefs.h <<_ACEOF
68517 #define HAVE_LDEXPL 1
68518 _ACEOF
68519
68520 fi
68521 done
68522
68523 else
68524
68525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
68526 $as_echo_n "checking for _ldexpl declaration... " >&6; }
68527 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68528 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
68529 $as_echo_n "(cached) " >&6
68530 else
68531
68532
68533 ac_ext=cpp
68534 ac_cpp='$CXXCPP $CPPFLAGS'
68535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68538
68539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68540 /* end confdefs.h. */
68541 #include <math.h>
68542 int
68543 main ()
68544 {
68545 _ldexpl(0, 0);
68546 ;
68547 return 0;
68548 }
68549 _ACEOF
68550 if ac_fn_cxx_try_compile "$LINENO"; then :
68551 glibcxx_cv_func__ldexpl_use=yes
68552 else
68553 glibcxx_cv_func__ldexpl_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__ldexpl_use" >&5
68567 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
68568
68569 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68570 for ac_func in _ldexpl
68571 do :
68572 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
68573 if test "x$ac_cv_func__ldexpl" = x""yes; then :
68574 cat >>confdefs.h <<_ACEOF
68575 #define HAVE__LDEXPL 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 logl declaration" >&5
68589 $as_echo_n "checking for logl declaration... " >&6; }
68590 if test x${glibcxx_cv_func_logl_use+set} != xset; then
68591 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
68592 $as_echo_n "(cached) " >&6
68593 else
68594
68595
68596 ac_ext=cpp
68597 ac_cpp='$CXXCPP $CPPFLAGS'
68598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68601
68602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68603 /* end confdefs.h. */
68604 #include <math.h>
68605 #ifdef HAVE_IEEEFP_H
68606 #include <ieeefp.h>
68607 #endif
68608
68609 int
68610 main ()
68611 {
68612 logl(0);
68613 ;
68614 return 0;
68615 }
68616 _ACEOF
68617 if ac_fn_cxx_try_compile "$LINENO"; then :
68618 glibcxx_cv_func_logl_use=yes
68619 else
68620 glibcxx_cv_func_logl_use=no
68621 fi
68622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68623 ac_ext=c
68624 ac_cpp='$CPP $CPPFLAGS'
68625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68628
68629
68630 fi
68631
68632 fi
68633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
68634 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
68635
68636 if test x$glibcxx_cv_func_logl_use = x"yes"; then
68637 for ac_func in logl
68638 do :
68639 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
68640 if test "x$ac_cv_func_logl" = x""yes; then :
68641 cat >>confdefs.h <<_ACEOF
68642 #define HAVE_LOGL 1
68643 _ACEOF
68644
68645 fi
68646 done
68647
68648 else
68649
68650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
68651 $as_echo_n "checking for _logl declaration... " >&6; }
68652 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68653 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
68654 $as_echo_n "(cached) " >&6
68655 else
68656
68657
68658 ac_ext=cpp
68659 ac_cpp='$CXXCPP $CPPFLAGS'
68660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68663
68664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68665 /* end confdefs.h. */
68666 #include <math.h>
68667 #ifdef HAVE_IEEEFP_H
68668 #include <ieeefp.h>
68669 #endif
68670
68671 int
68672 main ()
68673 {
68674 _logl(0);
68675 ;
68676 return 0;
68677 }
68678 _ACEOF
68679 if ac_fn_cxx_try_compile "$LINENO"; then :
68680 glibcxx_cv_func__logl_use=yes
68681 else
68682 glibcxx_cv_func__logl_use=no
68683 fi
68684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68685 ac_ext=c
68686 ac_cpp='$CPP $CPPFLAGS'
68687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68690
68691
68692 fi
68693
68694 fi
68695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
68696 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
68697
68698 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68699 for ac_func in _logl
68700 do :
68701 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
68702 if test "x$ac_cv_func__logl" = x""yes; then :
68703 cat >>confdefs.h <<_ACEOF
68704 #define HAVE__LOGL 1
68705 _ACEOF
68706
68707 fi
68708 done
68709
68710 fi
68711 fi
68712
68713
68714
68715
68716
68717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
68718 $as_echo_n "checking for log10l declaration... " >&6; }
68719 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68720 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
68721 $as_echo_n "(cached) " >&6
68722 else
68723
68724
68725 ac_ext=cpp
68726 ac_cpp='$CXXCPP $CPPFLAGS'
68727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68730
68731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68732 /* end confdefs.h. */
68733 #include <math.h>
68734 #ifdef HAVE_IEEEFP_H
68735 #include <ieeefp.h>
68736 #endif
68737
68738 int
68739 main ()
68740 {
68741 log10l(0);
68742 ;
68743 return 0;
68744 }
68745 _ACEOF
68746 if ac_fn_cxx_try_compile "$LINENO"; then :
68747 glibcxx_cv_func_log10l_use=yes
68748 else
68749 glibcxx_cv_func_log10l_use=no
68750 fi
68751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68752 ac_ext=c
68753 ac_cpp='$CPP $CPPFLAGS'
68754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68757
68758
68759 fi
68760
68761 fi
68762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
68763 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
68764
68765 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68766 for ac_func in log10l
68767 do :
68768 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
68769 if test "x$ac_cv_func_log10l" = x""yes; then :
68770 cat >>confdefs.h <<_ACEOF
68771 #define HAVE_LOG10L 1
68772 _ACEOF
68773
68774 fi
68775 done
68776
68777 else
68778
68779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
68780 $as_echo_n "checking for _log10l declaration... " >&6; }
68781 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68782 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
68783 $as_echo_n "(cached) " >&6
68784 else
68785
68786
68787 ac_ext=cpp
68788 ac_cpp='$CXXCPP $CPPFLAGS'
68789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68792
68793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68794 /* end confdefs.h. */
68795 #include <math.h>
68796 #ifdef HAVE_IEEEFP_H
68797 #include <ieeefp.h>
68798 #endif
68799
68800 int
68801 main ()
68802 {
68803 _log10l(0);
68804 ;
68805 return 0;
68806 }
68807 _ACEOF
68808 if ac_fn_cxx_try_compile "$LINENO"; then :
68809 glibcxx_cv_func__log10l_use=yes
68810 else
68811 glibcxx_cv_func__log10l_use=no
68812 fi
68813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68814 ac_ext=c
68815 ac_cpp='$CPP $CPPFLAGS'
68816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68819
68820
68821 fi
68822
68823 fi
68824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
68825 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
68826
68827 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68828 for ac_func in _log10l
68829 do :
68830 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
68831 if test "x$ac_cv_func__log10l" = x""yes; then :
68832 cat >>confdefs.h <<_ACEOF
68833 #define HAVE__LOG10L 1
68834 _ACEOF
68835
68836 fi
68837 done
68838
68839 fi
68840 fi
68841
68842
68843
68844
68845
68846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
68847 $as_echo_n "checking for modfl declaration... " >&6; }
68848 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68849 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
68850 $as_echo_n "(cached) " >&6
68851 else
68852
68853
68854 ac_ext=cpp
68855 ac_cpp='$CXXCPP $CPPFLAGS'
68856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68859
68860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68861 /* end confdefs.h. */
68862 #include <math.h>
68863 int
68864 main ()
68865 {
68866 modfl(0, 0);
68867 ;
68868 return 0;
68869 }
68870 _ACEOF
68871 if ac_fn_cxx_try_compile "$LINENO"; then :
68872 glibcxx_cv_func_modfl_use=yes
68873 else
68874 glibcxx_cv_func_modfl_use=no
68875 fi
68876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68877 ac_ext=c
68878 ac_cpp='$CPP $CPPFLAGS'
68879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68882
68883
68884 fi
68885
68886 fi
68887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
68888 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
68889
68890 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68891 for ac_func in modfl
68892 do :
68893 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
68894 if test "x$ac_cv_func_modfl" = x""yes; then :
68895 cat >>confdefs.h <<_ACEOF
68896 #define HAVE_MODFL 1
68897 _ACEOF
68898
68899 fi
68900 done
68901
68902 else
68903
68904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
68905 $as_echo_n "checking for _modfl declaration... " >&6; }
68906 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68907 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
68908 $as_echo_n "(cached) " >&6
68909 else
68910
68911
68912 ac_ext=cpp
68913 ac_cpp='$CXXCPP $CPPFLAGS'
68914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68917
68918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68919 /* end confdefs.h. */
68920 #include <math.h>
68921 int
68922 main ()
68923 {
68924 _modfl(0, 0);
68925 ;
68926 return 0;
68927 }
68928 _ACEOF
68929 if ac_fn_cxx_try_compile "$LINENO"; then :
68930 glibcxx_cv_func__modfl_use=yes
68931 else
68932 glibcxx_cv_func__modfl_use=no
68933 fi
68934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68935 ac_ext=c
68936 ac_cpp='$CPP $CPPFLAGS'
68937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68940
68941
68942 fi
68943
68944 fi
68945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
68946 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
68947
68948 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68949 for ac_func in _modfl
68950 do :
68951 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
68952 if test "x$ac_cv_func__modfl" = x""yes; then :
68953 cat >>confdefs.h <<_ACEOF
68954 #define HAVE__MODFL 1
68955 _ACEOF
68956
68957 fi
68958 done
68959
68960 fi
68961 fi
68962
68963
68964
68965
68966
68967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
68968 $as_echo_n "checking for powl declaration... " >&6; }
68969 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68970 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
68971 $as_echo_n "(cached) " >&6
68972 else
68973
68974
68975 ac_ext=cpp
68976 ac_cpp='$CXXCPP $CPPFLAGS'
68977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68980
68981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68982 /* end confdefs.h. */
68983 #include <math.h>
68984 int
68985 main ()
68986 {
68987 powl(0, 0);
68988 ;
68989 return 0;
68990 }
68991 _ACEOF
68992 if ac_fn_cxx_try_compile "$LINENO"; then :
68993 glibcxx_cv_func_powl_use=yes
68994 else
68995 glibcxx_cv_func_powl_use=no
68996 fi
68997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68998 ac_ext=c
68999 ac_cpp='$CPP $CPPFLAGS'
69000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69003
69004
69005 fi
69006
69007 fi
69008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
69009 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
69010
69011 if test x$glibcxx_cv_func_powl_use = x"yes"; then
69012 for ac_func in powl
69013 do :
69014 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
69015 if test "x$ac_cv_func_powl" = x""yes; then :
69016 cat >>confdefs.h <<_ACEOF
69017 #define HAVE_POWL 1
69018 _ACEOF
69019
69020 fi
69021 done
69022
69023 else
69024
69025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
69026 $as_echo_n "checking for _powl declaration... " >&6; }
69027 if test x${glibcxx_cv_func__powl_use+set} != xset; then
69028 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
69029 $as_echo_n "(cached) " >&6
69030 else
69031
69032
69033 ac_ext=cpp
69034 ac_cpp='$CXXCPP $CPPFLAGS'
69035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69038
69039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69040 /* end confdefs.h. */
69041 #include <math.h>
69042 int
69043 main ()
69044 {
69045 _powl(0, 0);
69046 ;
69047 return 0;
69048 }
69049 _ACEOF
69050 if ac_fn_cxx_try_compile "$LINENO"; then :
69051 glibcxx_cv_func__powl_use=yes
69052 else
69053 glibcxx_cv_func__powl_use=no
69054 fi
69055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69056 ac_ext=c
69057 ac_cpp='$CPP $CPPFLAGS'
69058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69061
69062
69063 fi
69064
69065 fi
69066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
69067 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
69068
69069 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69070 for ac_func in _powl
69071 do :
69072 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
69073 if test "x$ac_cv_func__powl" = x""yes; then :
69074 cat >>confdefs.h <<_ACEOF
69075 #define HAVE__POWL 1
69076 _ACEOF
69077
69078 fi
69079 done
69080
69081 fi
69082 fi
69083
69084
69085
69086
69087
69088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
69089 $as_echo_n "checking for sqrtl declaration... " >&6; }
69090 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69091 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
69092 $as_echo_n "(cached) " >&6
69093 else
69094
69095
69096 ac_ext=cpp
69097 ac_cpp='$CXXCPP $CPPFLAGS'
69098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69101
69102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69103 /* end confdefs.h. */
69104 #include <math.h>
69105 #ifdef HAVE_IEEEFP_H
69106 #include <ieeefp.h>
69107 #endif
69108
69109 int
69110 main ()
69111 {
69112 sqrtl(0);
69113 ;
69114 return 0;
69115 }
69116 _ACEOF
69117 if ac_fn_cxx_try_compile "$LINENO"; then :
69118 glibcxx_cv_func_sqrtl_use=yes
69119 else
69120 glibcxx_cv_func_sqrtl_use=no
69121 fi
69122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69123 ac_ext=c
69124 ac_cpp='$CPP $CPPFLAGS'
69125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69128
69129
69130 fi
69131
69132 fi
69133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69134 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69135
69136 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69137 for ac_func in sqrtl
69138 do :
69139 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
69140 if test "x$ac_cv_func_sqrtl" = x""yes; then :
69141 cat >>confdefs.h <<_ACEOF
69142 #define HAVE_SQRTL 1
69143 _ACEOF
69144
69145 fi
69146 done
69147
69148 else
69149
69150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
69151 $as_echo_n "checking for _sqrtl declaration... " >&6; }
69152 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69153 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
69154 $as_echo_n "(cached) " >&6
69155 else
69156
69157
69158 ac_ext=cpp
69159 ac_cpp='$CXXCPP $CPPFLAGS'
69160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69163
69164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69165 /* end confdefs.h. */
69166 #include <math.h>
69167 #ifdef HAVE_IEEEFP_H
69168 #include <ieeefp.h>
69169 #endif
69170
69171 int
69172 main ()
69173 {
69174 _sqrtl(0);
69175 ;
69176 return 0;
69177 }
69178 _ACEOF
69179 if ac_fn_cxx_try_compile "$LINENO"; then :
69180 glibcxx_cv_func__sqrtl_use=yes
69181 else
69182 glibcxx_cv_func__sqrtl_use=no
69183 fi
69184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69185 ac_ext=c
69186 ac_cpp='$CPP $CPPFLAGS'
69187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69190
69191
69192 fi
69193
69194 fi
69195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
69196 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
69197
69198 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69199 for ac_func in _sqrtl
69200 do :
69201 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
69202 if test "x$ac_cv_func__sqrtl" = x""yes; then :
69203 cat >>confdefs.h <<_ACEOF
69204 #define HAVE__SQRTL 1
69205 _ACEOF
69206
69207 fi
69208 done
69209
69210 fi
69211 fi
69212
69213
69214
69215
69216
69217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
69218 $as_echo_n "checking for sincosl declaration... " >&6; }
69219 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69220 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
69221 $as_echo_n "(cached) " >&6
69222 else
69223
69224
69225 ac_ext=cpp
69226 ac_cpp='$CXXCPP $CPPFLAGS'
69227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69230
69231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69232 /* end confdefs.h. */
69233 #include <math.h>
69234 int
69235 main ()
69236 {
69237 sincosl(0, 0, 0);
69238 ;
69239 return 0;
69240 }
69241 _ACEOF
69242 if ac_fn_cxx_try_compile "$LINENO"; then :
69243 glibcxx_cv_func_sincosl_use=yes
69244 else
69245 glibcxx_cv_func_sincosl_use=no
69246 fi
69247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69248 ac_ext=c
69249 ac_cpp='$CPP $CPPFLAGS'
69250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69253
69254
69255 fi
69256
69257 fi
69258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
69259 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
69260
69261 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69262 for ac_func in sincosl
69263 do :
69264 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
69265 if test "x$ac_cv_func_sincosl" = x""yes; then :
69266 cat >>confdefs.h <<_ACEOF
69267 #define HAVE_SINCOSL 1
69268 _ACEOF
69269
69270 fi
69271 done
69272
69273 else
69274
69275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
69276 $as_echo_n "checking for _sincosl declaration... " >&6; }
69277 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69278 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
69279 $as_echo_n "(cached) " >&6
69280 else
69281
69282
69283 ac_ext=cpp
69284 ac_cpp='$CXXCPP $CPPFLAGS'
69285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69288
69289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69290 /* end confdefs.h. */
69291 #include <math.h>
69292 int
69293 main ()
69294 {
69295 _sincosl(0, 0, 0);
69296 ;
69297 return 0;
69298 }
69299 _ACEOF
69300 if ac_fn_cxx_try_compile "$LINENO"; then :
69301 glibcxx_cv_func__sincosl_use=yes
69302 else
69303 glibcxx_cv_func__sincosl_use=no
69304 fi
69305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69306 ac_ext=c
69307 ac_cpp='$CPP $CPPFLAGS'
69308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69311
69312
69313 fi
69314
69315 fi
69316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
69317 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
69318
69319 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69320 for ac_func in _sincosl
69321 do :
69322 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
69323 if test "x$ac_cv_func__sincosl" = x""yes; then :
69324 cat >>confdefs.h <<_ACEOF
69325 #define HAVE__SINCOSL 1
69326 _ACEOF
69327
69328 fi
69329 done
69330
69331 fi
69332 fi
69333
69334
69335
69336
69337
69338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
69339 $as_echo_n "checking for finitel declaration... " >&6; }
69340 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69341 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
69342 $as_echo_n "(cached) " >&6
69343 else
69344
69345
69346 ac_ext=cpp
69347 ac_cpp='$CXXCPP $CPPFLAGS'
69348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69351
69352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69353 /* end confdefs.h. */
69354 #include <math.h>
69355 #ifdef HAVE_IEEEFP_H
69356 #include <ieeefp.h>
69357 #endif
69358
69359 int
69360 main ()
69361 {
69362 finitel(0);
69363 ;
69364 return 0;
69365 }
69366 _ACEOF
69367 if ac_fn_cxx_try_compile "$LINENO"; then :
69368 glibcxx_cv_func_finitel_use=yes
69369 else
69370 glibcxx_cv_func_finitel_use=no
69371 fi
69372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69373 ac_ext=c
69374 ac_cpp='$CPP $CPPFLAGS'
69375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69378
69379
69380 fi
69381
69382 fi
69383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
69384 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
69385
69386 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69387 for ac_func in finitel
69388 do :
69389 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
69390 if test "x$ac_cv_func_finitel" = x""yes; then :
69391 cat >>confdefs.h <<_ACEOF
69392 #define HAVE_FINITEL 1
69393 _ACEOF
69394
69395 fi
69396 done
69397
69398 else
69399
69400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
69401 $as_echo_n "checking for _finitel declaration... " >&6; }
69402 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69403 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
69404 $as_echo_n "(cached) " >&6
69405 else
69406
69407
69408 ac_ext=cpp
69409 ac_cpp='$CXXCPP $CPPFLAGS'
69410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69413
69414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69415 /* end confdefs.h. */
69416 #include <math.h>
69417 #ifdef HAVE_IEEEFP_H
69418 #include <ieeefp.h>
69419 #endif
69420
69421 int
69422 main ()
69423 {
69424 _finitel(0);
69425 ;
69426 return 0;
69427 }
69428 _ACEOF
69429 if ac_fn_cxx_try_compile "$LINENO"; then :
69430 glibcxx_cv_func__finitel_use=yes
69431 else
69432 glibcxx_cv_func__finitel_use=no
69433 fi
69434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69435 ac_ext=c
69436 ac_cpp='$CPP $CPPFLAGS'
69437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69440
69441
69442 fi
69443
69444 fi
69445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
69446 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
69447
69448 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69449 for ac_func in _finitel
69450 do :
69451 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
69452 if test "x$ac_cv_func__finitel" = x""yes; then :
69453 cat >>confdefs.h <<_ACEOF
69454 #define HAVE__FINITEL 1
69455 _ACEOF
69456
69457 fi
69458 done
69459
69460 fi
69461 fi
69462
69463
69464
69465
69466 LIBS="$ac_save_LIBS"
69467 CXXFLAGS="$ac_save_CXXFLAGS"
69468
69469
69470 ac_test_CXXFLAGS="${CXXFLAGS+set}"
69471 ac_save_CXXFLAGS="$CXXFLAGS"
69472 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
69473
69474
69475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
69476 $as_echo_n "checking for strtold declaration... " >&6; }
69477 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
69478 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
69479 $as_echo_n "(cached) " >&6
69480 else
69481
69482
69483 ac_ext=cpp
69484 ac_cpp='$CXXCPP $CPPFLAGS'
69485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69488
69489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69490 /* end confdefs.h. */
69491 #include <stdlib.h>
69492 int
69493 main ()
69494 {
69495 strtold(0, 0);
69496 ;
69497 return 0;
69498 }
69499 _ACEOF
69500 if ac_fn_cxx_try_compile "$LINENO"; then :
69501 glibcxx_cv_func_strtold_use=yes
69502 else
69503 glibcxx_cv_func_strtold_use=no
69504 fi
69505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69506 ac_ext=c
69507 ac_cpp='$CPP $CPPFLAGS'
69508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69511
69512
69513 fi
69514
69515 fi
69516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
69517 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
69518 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
69519 for ac_func in strtold
69520 do :
69521 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
69522 if test "x$ac_cv_func_strtold" = x""yes; then :
69523 cat >>confdefs.h <<_ACEOF
69524 #define HAVE_STRTOLD 1
69525 _ACEOF
69526
69527 fi
69528 done
69529
69530 fi
69531
69532
69533
69534
69535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
69536 $as_echo_n "checking for strtof declaration... " >&6; }
69537 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
69538 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
69539 $as_echo_n "(cached) " >&6
69540 else
69541
69542
69543 ac_ext=cpp
69544 ac_cpp='$CXXCPP $CPPFLAGS'
69545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69548
69549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69550 /* end confdefs.h. */
69551 #include <stdlib.h>
69552 int
69553 main ()
69554 {
69555 strtof(0, 0);
69556 ;
69557 return 0;
69558 }
69559 _ACEOF
69560 if ac_fn_cxx_try_compile "$LINENO"; then :
69561 glibcxx_cv_func_strtof_use=yes
69562 else
69563 glibcxx_cv_func_strtof_use=no
69564 fi
69565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69566 ac_ext=c
69567 ac_cpp='$CPP $CPPFLAGS'
69568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69571
69572
69573 fi
69574
69575 fi
69576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
69577 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
69578 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
69579 for ac_func in strtof
69580 do :
69581 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
69582 if test "x$ac_cv_func_strtof" = x""yes; then :
69583 cat >>confdefs.h <<_ACEOF
69584 #define HAVE_STRTOF 1
69585 _ACEOF
69586
69587 fi
69588 done
69589
69590 fi
69591
69592
69593
69594
69595 CXXFLAGS="$ac_save_CXXFLAGS"
69596
69597 ;;
69598 *-vxworks)
69599 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
69600
69601 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
69602
69603 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
69604
69605 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
69606
69607 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
69608
69609 $as_echo "#define HAVE_COSF 1" >>confdefs.h
69610
69611 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
69612
69613 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
69614
69615 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
69616
69617 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
69618
69619 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
69620
69621 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
69622
69623 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
69624
69625 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
69626
69627 $as_echo "#define HAVE_POWF 1" >>confdefs.h
69628
69629 $as_echo "#define HAVE_SINF 1" >>confdefs.h
69630
69631 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
69632
69633 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
69634
69635 $as_echo "#define HAVE_TANF 1" >>confdefs.h
69636
69637 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
69638
69639 ;;
69640 *)
69641 as_fn_error "No support for this host/target combination." "$LINENO" 5
69642 ;;
69643 esac
69644
69645 fi
69646
69647 # At some point, we should differentiate between architectures
69648 # like x86, which have long double versions, and alpha/powerpc/etc.,
69649 # which don't. For the time being, punt.
69650 if test x"long_double_math_on_this_cpu" = x"yes"; then
69651 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
69652
69653 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
69654
69655 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
69656
69657 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
69658
69659 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
69660
69661 $as_echo "#define HAVE_COSL 1" >>confdefs.h
69662
69663 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
69664
69665 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
69666
69667 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
69668
69669 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
69670
69671 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
69672
69673 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
69674
69675 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
69676
69677 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
69678
69679 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
69680
69681 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
69682
69683 $as_echo "#define HAVE_POWL 1" >>confdefs.h
69684
69685 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
69686
69687 $as_echo "#define HAVE_SINL 1" >>confdefs.h
69688
69689 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
69690
69691 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
69692
69693 $as_echo "#define HAVE_TANL 1" >>confdefs.h
69694
69695 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
69696
69697 fi
69698 fi
69699
69700 # Check for _Unwind_GetIPInfo.
69701
69702
69703 # Check whether --with-system-libunwind was given.
69704 if test "${with_system_libunwind+set}" = set; then :
69705 withval=$with_system_libunwind;
69706 fi
69707
69708 # If system-libunwind was not specifically set, pick a default setting.
69709 if test x$with_system_libunwind = x; then
69710 case ${target} in
69711 ia64-*-hpux*) with_system_libunwind=yes ;;
69712 *) with_system_libunwind=no ;;
69713 esac
69714 fi
69715 # Based on system-libunwind and target, do we have ipinfo?
69716 if test x$with_system_libunwind = xyes; then
69717 case ${target} in
69718 ia64-*-*) have_unwind_getipinfo=no ;;
69719 *) have_unwind_getipinfo=yes ;;
69720 esac
69721 else
69722 # Darwin before version 9 does not have _Unwind_GetIPInfo.
69723
69724 case ${target} in
69725 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
69726 *) have_unwind_getipinfo=yes ;;
69727 esac
69728
69729 fi
69730
69731 if test x$have_unwind_getipinfo = xyes; then
69732
69733 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
69734
69735 fi
69736
69737
69738 # Check whether --enable-linux-futex was given.
69739 if test "${enable_linux_futex+set}" = set; then :
69740 enableval=$enable_linux_futex;
69741 case "$enableval" in
69742 yes|no|default) ;;
69743 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
69744 esac
69745
69746 else
69747 enable_linux_futex=default
69748 fi
69749
69750
69751 case "$target" in
69752 *-linux*)
69753 case "$enable_linux_futex" in
69754 default)
69755 # If headers don't have gettid/futex syscalls definition, then
69756 # default to no, otherwise there will be compile time failures.
69757 # Otherwise, default to yes. If we don't detect we are
69758 # compiled/linked against NPTL and not cross-compiling, check
69759 # if programs are run by default against NPTL and if not, issue
69760 # a warning.
69761 enable_linux_futex=no
69762 if test x$gcc_no_link = xyes; then
69763 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69764 fi
69765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69766 /* end confdefs.h. */
69767 #include <sys/syscall.h>
69768 int lk;
69769 int
69770 main ()
69771 {
69772 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69773 ;
69774 return 0;
69775 }
69776 _ACEOF
69777 if ac_fn_c_try_link "$LINENO"; then :
69778 save_LIBS="$LIBS"
69779 LIBS="-lpthread $LIBS"
69780 if test x$gcc_no_link = xyes; then
69781 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69782 fi
69783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69784 /* end confdefs.h. */
69785 #ifndef _GNU_SOURCE
69786 #define _GNU_SOURCE 1
69787 #endif
69788 #include <pthread.h>
69789 pthread_t th; void *status;
69790 int
69791 main ()
69792 {
69793 pthread_tryjoin_np (th, &status);
69794 ;
69795 return 0;
69796 }
69797 _ACEOF
69798 if ac_fn_c_try_link "$LINENO"; then :
69799 enable_linux_futex=yes
69800 else
69801 if test x$cross_compiling = xno; then
69802 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
69803 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
69804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
69805 If so, please configure with --disable-linux-futex" >&5
69806 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
69807 If so, please configure with --disable-linux-futex" >&2;}
69808 fi
69809 fi
69810 enable_linux_futex=yes
69811 fi
69812 rm -f core conftest.err conftest.$ac_objext \
69813 conftest$ac_exeext conftest.$ac_ext
69814 LIBS="$save_LIBS"
69815 fi
69816 rm -f core conftest.err conftest.$ac_objext \
69817 conftest$ac_exeext conftest.$ac_ext
69818 ;;
69819 yes)
69820 if test x$gcc_no_link = xyes; then
69821 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69822 fi
69823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69824 /* end confdefs.h. */
69825 #include <sys/syscall.h>
69826 int lk;
69827 int
69828 main ()
69829 {
69830 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69831 ;
69832 return 0;
69833 }
69834 _ACEOF
69835 if ac_fn_c_try_link "$LINENO"; then :
69836
69837 else
69838 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
69839 fi
69840 rm -f core conftest.err conftest.$ac_objext \
69841 conftest$ac_exeext conftest.$ac_ext
69842 ;;
69843 esac
69844 ;;
69845 *)
69846 enable_linux_futex=no
69847 ;;
69848 esac
69849 if test x$enable_linux_futex = xyes; then
69850
69851 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
69852
69853 fi
69854
69855
69856
69857
69858 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
69859
69860 acx_cv_header_stdint=stddef.h
69861 acx_cv_header_stdint_kind="(already complete)"
69862 for i in stdint.h $inttype_headers; do
69863 unset ac_cv_type_uintptr_t
69864 unset ac_cv_type_uintmax_t
69865 unset ac_cv_type_int_least32_t
69866 unset ac_cv_type_int_fast32_t
69867 unset ac_cv_type_uint64_t
69868 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
69869 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
69870 #include <$i>
69871 "
69872 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
69873 acx_cv_header_stdint=$i
69874 else
69875 continue
69876 fi
69877
69878 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69879 #include <$i>
69880 "
69881 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69882
69883 else
69884 acx_cv_header_stdint_kind="(mostly complete)"
69885 fi
69886
69887 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
69888 #include <$i>
69889 "
69890 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
69891
69892 else
69893 acx_cv_header_stdint_kind="(mostly complete)"
69894 fi
69895
69896 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
69897 #include <$i>
69898 "
69899 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
69900
69901 else
69902 acx_cv_header_stdint_kind="(mostly complete)"
69903 fi
69904
69905 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69906 #include <$i>
69907 "
69908 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69909
69910 else
69911 acx_cv_header_stdint_kind="(lacks uint64_t)"
69912 fi
69913
69914 break
69915 done
69916 if test "$acx_cv_header_stdint" = stddef.h; then
69917 acx_cv_header_stdint_kind="(lacks uintmax_t)"
69918 for i in stdint.h $inttype_headers; do
69919 unset ac_cv_type_uintptr_t
69920 unset ac_cv_type_uint32_t
69921 unset ac_cv_type_uint64_t
69922 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
69923 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
69924 #include <$i>
69925 "
69926 if test "x$ac_cv_type_uint32_t" = x""yes; then :
69927 acx_cv_header_stdint=$i
69928 else
69929 continue
69930 fi
69931
69932 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69933 #include <$i>
69934 "
69935 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69936
69937 fi
69938
69939 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69940 #include <$i>
69941 "
69942 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69943
69944 fi
69945
69946 break
69947 done
69948 fi
69949 if test "$acx_cv_header_stdint" = stddef.h; then
69950 acx_cv_header_stdint_kind="(u_intXX_t style)"
69951 for i in sys/types.h $inttype_headers; do
69952 unset ac_cv_type_u_int32_t
69953 unset ac_cv_type_u_int64_t
69954 $as_echo_n "looking for u_intXX_t types in $i, " >&6
69955 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
69956 #include <$i>
69957 "
69958 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
69959 acx_cv_header_stdint=$i
69960 else
69961 continue
69962 fi
69963
69964 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
69965 #include <$i>
69966 "
69967 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
69968
69969 fi
69970
69971 break
69972 done
69973 fi
69974 if test "$acx_cv_header_stdint" = stddef.h; then
69975 acx_cv_header_stdint_kind="(using manual detection)"
69976 fi
69977
69978 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
69979 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
69980 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
69981 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
69982 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
69983
69984 # ----------------- Summarize what we found so far
69985
69986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
69987 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
69988
69989 case `$as_basename -- include/gstdint.h ||
69990 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
69991 Xinclude/gstdint.h : 'X\(//\)$' \| \
69992 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
69993 $as_echo X/include/gstdint.h |
69994 sed '/^.*\/\([^/][^/]*\)\/*$/{
69995 s//\1/
69996 q
69997 }
69998 /^X\/\(\/\/\)$/{
69999 s//\1/
70000 q
70001 }
70002 /^X\/\(\/\).*/{
70003 s//\1/
70004 q
70005 }
70006 s/.*/./; q'` in
70007 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
70008 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
70009 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
70010 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
70011 *) ;;
70012 esac
70013
70014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
70015 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
70016
70017 # ----------------- done included file, check C basic types --------
70018
70019 # Lacking an uintptr_t? Test size of void *
70020 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
70021 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
70022 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70023 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70024 # This bug is HP SR number 8606223364.
70025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
70026 $as_echo_n "checking size of void *... " >&6; }
70027 if test "${ac_cv_sizeof_void_p+set}" = set; then :
70028 $as_echo_n "(cached) " >&6
70029 else
70030 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
70031
70032 else
70033 if test "$ac_cv_type_void_p" = yes; then
70034 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70036 { as_fn_set_status 77
70037 as_fn_error "cannot compute sizeof (void *)
70038 See \`config.log' for more details." "$LINENO" 5; }; }
70039 else
70040 ac_cv_sizeof_void_p=0
70041 fi
70042 fi
70043
70044 fi
70045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
70046 $as_echo "$ac_cv_sizeof_void_p" >&6; }
70047
70048
70049
70050 cat >>confdefs.h <<_ACEOF
70051 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
70052 _ACEOF
70053
70054 ;;
70055 esac
70056
70057 # Lacking an uint64_t? Test size of long
70058 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
70059 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
70060 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70061 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70062 # This bug is HP SR number 8606223364.
70063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
70064 $as_echo_n "checking size of long... " >&6; }
70065 if test "${ac_cv_sizeof_long+set}" = set; then :
70066 $as_echo_n "(cached) " >&6
70067 else
70068 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
70069
70070 else
70071 if test "$ac_cv_type_long" = yes; then
70072 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70074 { as_fn_set_status 77
70075 as_fn_error "cannot compute sizeof (long)
70076 See \`config.log' for more details." "$LINENO" 5; }; }
70077 else
70078 ac_cv_sizeof_long=0
70079 fi
70080 fi
70081
70082 fi
70083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
70084 $as_echo "$ac_cv_sizeof_long" >&6; }
70085
70086
70087
70088 cat >>confdefs.h <<_ACEOF
70089 #define SIZEOF_LONG $ac_cv_sizeof_long
70090 _ACEOF
70091
70092 ;;
70093 esac
70094
70095 if test $acx_cv_header_stdint = stddef.h; then
70096 # Lacking a good header? Test size of everything and deduce all types.
70097 # The cast to long int works around a bug in the HP C Compiler
70098 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70099 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70100 # This bug is HP SR number 8606223364.
70101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
70102 $as_echo_n "checking size of int... " >&6; }
70103 if test "${ac_cv_sizeof_int+set}" = set; then :
70104 $as_echo_n "(cached) " >&6
70105 else
70106 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
70107
70108 else
70109 if test "$ac_cv_type_int" = yes; then
70110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70111 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70112 { as_fn_set_status 77
70113 as_fn_error "cannot compute sizeof (int)
70114 See \`config.log' for more details." "$LINENO" 5; }; }
70115 else
70116 ac_cv_sizeof_int=0
70117 fi
70118 fi
70119
70120 fi
70121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
70122 $as_echo "$ac_cv_sizeof_int" >&6; }
70123
70124
70125
70126 cat >>confdefs.h <<_ACEOF
70127 #define SIZEOF_INT $ac_cv_sizeof_int
70128 _ACEOF
70129
70130
70131 # The cast to long int works around a bug in the HP C Compiler
70132 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70133 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70134 # This bug is HP SR number 8606223364.
70135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
70136 $as_echo_n "checking size of short... " >&6; }
70137 if test "${ac_cv_sizeof_short+set}" = set; then :
70138 $as_echo_n "(cached) " >&6
70139 else
70140 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
70141
70142 else
70143 if test "$ac_cv_type_short" = yes; then
70144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70146 { as_fn_set_status 77
70147 as_fn_error "cannot compute sizeof (short)
70148 See \`config.log' for more details." "$LINENO" 5; }; }
70149 else
70150 ac_cv_sizeof_short=0
70151 fi
70152 fi
70153
70154 fi
70155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
70156 $as_echo "$ac_cv_sizeof_short" >&6; }
70157
70158
70159
70160 cat >>confdefs.h <<_ACEOF
70161 #define SIZEOF_SHORT $ac_cv_sizeof_short
70162 _ACEOF
70163
70164
70165 # The cast to long int works around a bug in the HP C Compiler
70166 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70167 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70168 # This bug is HP SR number 8606223364.
70169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
70170 $as_echo_n "checking size of char... " >&6; }
70171 if test "${ac_cv_sizeof_char+set}" = set; then :
70172 $as_echo_n "(cached) " >&6
70173 else
70174 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
70175
70176 else
70177 if test "$ac_cv_type_char" = yes; then
70178 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70180 { as_fn_set_status 77
70181 as_fn_error "cannot compute sizeof (char)
70182 See \`config.log' for more details." "$LINENO" 5; }; }
70183 else
70184 ac_cv_sizeof_char=0
70185 fi
70186 fi
70187
70188 fi
70189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
70190 $as_echo "$ac_cv_sizeof_char" >&6; }
70191
70192
70193
70194 cat >>confdefs.h <<_ACEOF
70195 #define SIZEOF_CHAR $ac_cv_sizeof_char
70196 _ACEOF
70197
70198
70199
70200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
70201 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
70202 case "$ac_cv_sizeof_char" in
70203 1) acx_cv_type_int8_t=char ;;
70204 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
70205 esac
70206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
70207 $as_echo "$acx_cv_type_int8_t" >&6; }
70208
70209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
70210 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
70211 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
70212 2:*) acx_cv_type_int16_t=int ;;
70213 *:2) acx_cv_type_int16_t=short ;;
70214 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
70215 esac
70216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
70217 $as_echo "$acx_cv_type_int16_t" >&6; }
70218
70219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
70220 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
70221 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
70222 4:*) acx_cv_type_int32_t=int ;;
70223 *:4) acx_cv_type_int32_t=long ;;
70224 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
70225 esac
70226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
70227 $as_echo "$acx_cv_type_int32_t" >&6; }
70228 fi
70229
70230 # These tests are here to make the output prettier
70231
70232 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
70233 case "$ac_cv_sizeof_long" in
70234 8) acx_cv_type_int64_t=long ;;
70235 esac
70236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
70237 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
70238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
70239 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
70240 fi
70241
70242 # Now we can use the above types
70243
70244 if test "$ac_cv_type_uintptr_t" != yes; then
70245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
70246 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
70247 case $ac_cv_sizeof_void_p in
70248 2) acx_cv_type_intptr_t=int16_t ;;
70249 4) acx_cv_type_intptr_t=int32_t ;;
70250 8) acx_cv_type_intptr_t=int64_t ;;
70251 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
70252 esac
70253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
70254 $as_echo "$acx_cv_type_intptr_t" >&6; }
70255 fi
70256
70257 # ----------------- done all checks, emit header -------------
70258 ac_config_commands="$ac_config_commands include/gstdint.h"
70259
70260
70261
70262
70263
70264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70265 $as_echo_n "checking for GNU c++filt... " >&6; }
70266 if test "${ac_cv_path_CXXFILT+set}" = set; then :
70267 $as_echo_n "(cached) " >&6
70268 else
70269 if test -z "$CXXFILT"; then
70270 ac_path_CXXFILT_found=false
70271 # Loop through the user's path and test for each of PROGNAME-LIST
70272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70273 for as_dir in $PATH
70274 do
70275 IFS=$as_save_IFS
70276 test -z "$as_dir" && as_dir=.
70277 for ac_prog in c++filt gc++filt; do
70278 for ac_exec_ext in '' $ac_executable_extensions; do
70279 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70280 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
70281 # Check for GNU $ac_path_CXXFILT
70282 case `"$ac_path_CXXFILT" --version 2>&1` in
70283 *GNU*)
70284 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70285 esac
70286
70287 $ac_path_CXXFILT_found && break 3
70288 done
70289 done
70290 done
70291 IFS=$as_save_IFS
70292 if test -z "$ac_cv_path_CXXFILT"; then
70293 :
70294 fi
70295 else
70296 ac_cv_path_CXXFILT=$CXXFILT
70297 fi
70298
70299 fi
70300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70301 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70302 CXXFILT=$ac_cv_path_CXXFILT
70303
70304
70305
70306 # Check whether --enable-symvers was given.
70307 if test "${enable_symvers+set}" = set; then :
70308 enableval=$enable_symvers;
70309 case "$enableval" in
70310 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70311 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70312 esac
70313
70314 else
70315 enable_symvers=yes
70316 fi
70317
70318
70319
70320 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70321 # don't know enough about $LD to do tricks...
70322
70323 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70324 # with extern "C++" in version scripts.
70325
70326
70327 # Turn a 'yes' into a suitable default.
70328 if test x$enable_symvers = xyes ; then
70329 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70330 enable_symvers=no
70331 else
70332 if test $with_gnu_ld = yes ; then
70333 case ${target_os} in
70334 hpux*)
70335 enable_symvers=no ;;
70336 *)
70337 enable_symvers=gnu ;;
70338 esac
70339 else
70340 case ${target_os} in
70341 darwin*)
70342 enable_symvers=darwin ;;
70343 # Sun symbol versioning exists since Solaris 2.5.
70344 solaris2.[5-9]* | solaris2.1[0-9]*)
70345 # make_sunver.pl needs GNU c++filt to support extern "C++" in
70346 # version scripts, so disable symbol versioning if none can be
70347 # found.
70348 if test -z "$ac_cv_path_CXXFILT"; then
70349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70350 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
70352 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
70353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70354 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70355 enable_symvers=no
70356 else
70357 enable_symvers=sun
70358 fi
70359 ;;
70360 *)
70361 enable_symvers=no ;;
70362 esac
70363 fi
70364 fi
70365 fi
70366
70367 # Check to see if 'darwin' or 'darwin-export' can win.
70368 if test x$enable_symvers = xdarwin-export ; then
70369 enable_symvers=darwin
70370 fi
70371
70372 # Check if 'sun' was requested on non-Solaris 2 platforms.
70373 if test x$enable_symvers = xsun ; then
70374 case ${target_os} in
70375 solaris2*)
70376 # All fine.
70377 ;;
70378 *)
70379 # Unlikely to work.
70380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70381 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70383 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70385 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70386 enable_symvers=no
70387 ;;
70388 esac
70389 fi
70390
70391 # Check to see if 'gnu' can win.
70392 if test $enable_symvers = gnu ||
70393 test $enable_symvers = gnu-versioned-namespace ||
70394 test $enable_symvers = sun; then
70395 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70397 $as_echo_n "checking for shared libgcc... " >&6; }
70398 ac_save_CFLAGS="$CFLAGS"
70399 CFLAGS=' -lgcc_s'
70400 if test x$gcc_no_link = xyes; then
70401 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70402 fi
70403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70404 /* end confdefs.h. */
70405
70406 int
70407 main ()
70408 {
70409 return 0;
70410 ;
70411 return 0;
70412 }
70413 _ACEOF
70414 if ac_fn_c_try_link "$LINENO"; then :
70415 glibcxx_shared_libgcc=yes
70416 else
70417 glibcxx_shared_libgcc=no
70418 fi
70419 rm -f core conftest.err conftest.$ac_objext \
70420 conftest$ac_exeext conftest.$ac_ext
70421 CFLAGS="$ac_save_CFLAGS"
70422 if test $glibcxx_shared_libgcc = no; then
70423 cat > conftest.c <<EOF
70424 int main (void) { return 0; }
70425 EOF
70426 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70427 -shared -shared-libgcc -o conftest.so \
70428 conftest.c -v 2>&1 >/dev/null \
70429 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70430 rm -f conftest.c conftest.so
70431 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70432 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70433 if test x$gcc_no_link = xyes; then
70434 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70435 fi
70436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70437 /* end confdefs.h. */
70438
70439 int
70440 main ()
70441 {
70442 return 0;
70443 ;
70444 return 0;
70445 }
70446 _ACEOF
70447 if ac_fn_c_try_link "$LINENO"; then :
70448 glibcxx_shared_libgcc=yes
70449 fi
70450 rm -f core conftest.err conftest.$ac_objext \
70451 conftest$ac_exeext conftest.$ac_ext
70452 CFLAGS="$ac_save_CFLAGS"
70453 fi
70454 fi
70455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70456 $as_echo "$glibcxx_shared_libgcc" >&6; }
70457
70458 # For GNU ld, we need at least this version. The format is described in
70459 # GLIBCXX_CHECK_LINKER_FEATURES above.
70460 glibcxx_min_gnu_ld_version=21400
70461
70462 # If no shared libgcc, can't win.
70463 if test $glibcxx_shared_libgcc != yes; then
70464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70465 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70467 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70469 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70470 enable_symvers=no
70471 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70472 : All interesting versions of Sun ld support sun style symbol versioning.
70473 elif test $with_gnu_ld != yes ; then
70474 # just fail for now
70475 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70476 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70478 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70480 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70481 enable_symvers=no
70482 elif test $glibcxx_ld_is_gold = yes ; then
70483 : All versions of gold support symbol versioning.
70484 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70485 # The right tools, the right setup, but too old. Fallbacks?
70486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70487 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70489 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70490 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70491 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70493 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70495 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70496 enable_symvers=no
70497 fi
70498 fi
70499
70500 # For libtool versioning info, format is CURRENT:REVISION:AGE
70501 libtool_VERSION=6:17:0
70502
70503 # Everything parsed; figure out what files and settings to use.
70504 case $enable_symvers in
70505 no)
70506 SYMVER_FILE=config/abi/pre/none.ver
70507 ;;
70508 gnu)
70509 SYMVER_FILE=config/abi/pre/gnu.ver
70510
70511 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70512
70513 ;;
70514 gnu-versioned-namespace)
70515 libtool_VERSION=7:0:0
70516 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70517
70518 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70519
70520 ;;
70521 darwin)
70522 SYMVER_FILE=config/abi/pre/gnu.ver
70523
70524 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70525
70526 ;;
70527 sun)
70528 SYMVER_FILE=config/abi/pre/gnu.ver
70529
70530 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70531
70532 ;;
70533 esac
70534
70535 if test x$enable_symvers != xno ; then
70536
70537 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70538
70539 fi
70540
70541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70542 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70543 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
70544 $as_echo_n "(cached) " >&6
70545 else
70546
70547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70548 /* end confdefs.h. */
70549 void foo (void); __asm (".symver foo, bar@SYMVER");
70550 int
70551 main ()
70552 {
70553
70554 ;
70555 return 0;
70556 }
70557 _ACEOF
70558 if ac_fn_c_try_compile "$LINENO"; then :
70559 glibcxx_cv_have_as_symver_directive=yes
70560 else
70561 glibcxx_cv_have_as_symver_directive=no
70562 fi
70563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70564 fi
70565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70566 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70567 if test $glibcxx_cv_have_as_symver_directive = yes; then
70568
70569 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70570
70571 fi
70572
70573
70574
70575
70576
70577
70578
70579
70580 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70581 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70582
70583 if test $enable_symvers != no ; then
70584 case ${target_os} in
70585 # The Solaris 2 runtime linker doesn't support the GNU extension of
70586 # binding the same symbol to different versions
70587 solaris2*)
70588 ;;
70589 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70590 *)
70591
70592 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70593
70594 ;;
70595 esac
70596 fi
70597
70598 # Now, set up compatibility support, if any.
70599 # In addition, need this to deal with std::size_t mangling in
70600 # src/compatibility.cc. In a perfect world, could use
70601 # typeid(std::size_t).name()[0] to do direct substitution.
70602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70603 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70604 ac_save_CFLAGS="$CFLAGS"
70605 CFLAGS="-Werror"
70606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70607 /* end confdefs.h. */
70608
70609 int
70610 main ()
70611 {
70612 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70613 ;
70614 return 0;
70615 }
70616 _ACEOF
70617 if ac_fn_c_try_compile "$LINENO"; then :
70618 glibcxx_size_t_is_i=yes
70619 else
70620 glibcxx_size_t_is_i=no
70621 fi
70622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70623 CFLAGS=$ac_save_CFLAGS
70624 if test "$glibcxx_size_t_is_i" = yes; then
70625
70626 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70627
70628 fi
70629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70630 $as_echo "$glibcxx_size_t_is_i" >&6; }
70631
70632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70633 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70634 ac_save_CFLAGS="$CFLAGS"
70635 CFLAGS="-Werror"
70636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70637 /* end confdefs.h. */
70638
70639 int
70640 main ()
70641 {
70642 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70643 ;
70644 return 0;
70645 }
70646 _ACEOF
70647 if ac_fn_c_try_compile "$LINENO"; then :
70648 glibcxx_ptrdiff_t_is_i=yes
70649 else
70650 glibcxx_ptrdiff_t_is_i=no
70651 fi
70652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70653 CFLAGS=$ac_save_CFLAGS
70654 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70655
70656 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70657
70658 fi
70659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70660 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70661
70662
70663
70664
70665 # Check whether --enable-libstdcxx-visibility was given.
70666 if test "${enable_libstdcxx_visibility+set}" = set; then :
70667 enableval=$enable_libstdcxx_visibility;
70668 case "$enableval" in
70669 yes|no) ;;
70670 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70671 esac
70672
70673 else
70674 enable_libstdcxx_visibility=yes
70675 fi
70676
70677
70678
70679 if test x$enable_libstdcxx_visibility = xyes ; then
70680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70681 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70682 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
70683 $as_echo_n "(cached) " >&6
70684 else
70685
70686 save_CFLAGS="$CFLAGS"
70687 CFLAGS="$CFLAGS -Werror"
70688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70689 /* end confdefs.h. */
70690 void __attribute__((visibility("hidden"))) foo(void) { }
70691 int
70692 main ()
70693 {
70694
70695 ;
70696 return 0;
70697 }
70698 _ACEOF
70699 if ac_fn_c_try_compile "$LINENO"; then :
70700 glibcxx_cv_have_attribute_visibility=yes
70701 else
70702 glibcxx_cv_have_attribute_visibility=no
70703 fi
70704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70705 CFLAGS="$save_CFLAGS"
70706 fi
70707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70708 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70709 if test $glibcxx_cv_have_attribute_visibility = no; then
70710 enable_libstdcxx_visibility=no
70711 fi
70712 fi
70713
70714
70715 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70716 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70717
70718
70719 ac_ldbl_compat=no
70720 case "$target" in
70721 powerpc*-*-linux* | \
70722 sparc*-*-linux* | \
70723 s390*-*-linux* | \
70724 alpha*-*-linux*)
70725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70726 /* end confdefs.h. */
70727
70728 int
70729 main ()
70730 {
70731
70732 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70733 #error no need for long double compatibility
70734 #endif
70735
70736 ;
70737 return 0;
70738 }
70739 _ACEOF
70740 if ac_fn_c_try_compile "$LINENO"; then :
70741 ac_ldbl_compat=yes
70742 else
70743 ac_ldbl_compat=no
70744 fi
70745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70746 if test "$ac_ldbl_compat" = yes; then
70747
70748 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70749
70750 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70751 fi
70752 esac
70753
70754
70755 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
70756
70757 if $GLIBCXX_IS_NATIVE ; then
70758 # Do checks for resource limit functions.
70759
70760 setrlimit_have_headers=yes
70761 for ac_header in unistd.h sys/time.h sys/resource.h
70762 do :
70763 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70764 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70765 eval as_val=\$$as_ac_Header
70766 if test "x$as_val" = x""yes; then :
70767 cat >>confdefs.h <<_ACEOF
70768 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70769 _ACEOF
70770
70771 else
70772 setrlimit_have_headers=no
70773 fi
70774
70775 done
70776
70777 # If don't have the headers, then we can't run the tests now, and we
70778 # won't be seeing any of these during testsuite compilation.
70779 if test $setrlimit_have_headers = yes; then
70780 # Can't do these in a loop, else the resulting syntax is wrong.
70781
70782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
70783 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
70784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70785 /* end confdefs.h. */
70786 #include <unistd.h>
70787 #include <sys/time.h>
70788 #include <sys/resource.h>
70789
70790 int
70791 main ()
70792 {
70793 int f = RLIMIT_DATA ;
70794 ;
70795 return 0;
70796 }
70797 _ACEOF
70798 if ac_fn_c_try_compile "$LINENO"; then :
70799 glibcxx_mresult=1
70800 else
70801 glibcxx_mresult=0
70802 fi
70803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70804
70805 cat >>confdefs.h <<_ACEOF
70806 #define HAVE_LIMIT_DATA $glibcxx_mresult
70807 _ACEOF
70808
70809 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70811 $as_echo "$res" >&6; }
70812
70813
70814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
70815 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
70816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70817 /* end confdefs.h. */
70818 #include <unistd.h>
70819 #include <sys/time.h>
70820 #include <sys/resource.h>
70821
70822 int
70823 main ()
70824 {
70825 int f = RLIMIT_RSS ;
70826 ;
70827 return 0;
70828 }
70829 _ACEOF
70830 if ac_fn_c_try_compile "$LINENO"; then :
70831 glibcxx_mresult=1
70832 else
70833 glibcxx_mresult=0
70834 fi
70835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70836
70837 cat >>confdefs.h <<_ACEOF
70838 #define HAVE_LIMIT_RSS $glibcxx_mresult
70839 _ACEOF
70840
70841 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70843 $as_echo "$res" >&6; }
70844
70845
70846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
70847 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
70848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70849 /* end confdefs.h. */
70850 #include <unistd.h>
70851 #include <sys/time.h>
70852 #include <sys/resource.h>
70853
70854 int
70855 main ()
70856 {
70857 int f = RLIMIT_VMEM ;
70858 ;
70859 return 0;
70860 }
70861 _ACEOF
70862 if ac_fn_c_try_compile "$LINENO"; then :
70863 glibcxx_mresult=1
70864 else
70865 glibcxx_mresult=0
70866 fi
70867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70868
70869 cat >>confdefs.h <<_ACEOF
70870 #define HAVE_LIMIT_VMEM $glibcxx_mresult
70871 _ACEOF
70872
70873 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70875 $as_echo "$res" >&6; }
70876
70877
70878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
70879 $as_echo_n "checking for RLIMIT_AS... " >&6; }
70880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70881 /* end confdefs.h. */
70882 #include <unistd.h>
70883 #include <sys/time.h>
70884 #include <sys/resource.h>
70885
70886 int
70887 main ()
70888 {
70889 int f = RLIMIT_AS ;
70890 ;
70891 return 0;
70892 }
70893 _ACEOF
70894 if ac_fn_c_try_compile "$LINENO"; then :
70895 glibcxx_mresult=1
70896 else
70897 glibcxx_mresult=0
70898 fi
70899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70900
70901 cat >>confdefs.h <<_ACEOF
70902 #define HAVE_LIMIT_AS $glibcxx_mresult
70903 _ACEOF
70904
70905 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70907 $as_echo "$res" >&6; }
70908
70909
70910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
70911 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
70912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70913 /* end confdefs.h. */
70914 #include <unistd.h>
70915 #include <sys/time.h>
70916 #include <sys/resource.h>
70917
70918 int
70919 main ()
70920 {
70921 int f = RLIMIT_FSIZE ;
70922 ;
70923 return 0;
70924 }
70925 _ACEOF
70926 if ac_fn_c_try_compile "$LINENO"; then :
70927 glibcxx_mresult=1
70928 else
70929 glibcxx_mresult=0
70930 fi
70931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70932
70933 cat >>confdefs.h <<_ACEOF
70934 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
70935 _ACEOF
70936
70937 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70939 $as_echo "$res" >&6; }
70940
70941
70942 # Check for rlimit, setrlimit.
70943 if test "${glibcxx_cv_setrlimit+set}" = set; then :
70944 $as_echo_n "(cached) " >&6
70945 else
70946
70947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70948 /* end confdefs.h. */
70949 #include <unistd.h>
70950 #include <sys/time.h>
70951 #include <sys/resource.h>
70952
70953 int
70954 main ()
70955 {
70956 struct rlimit r;
70957 setrlimit(0, &r);
70958 ;
70959 return 0;
70960 }
70961 _ACEOF
70962 if ac_fn_c_try_compile "$LINENO"; then :
70963 glibcxx_cv_setrlimit=yes
70964 else
70965 glibcxx_cv_setrlimit=no
70966 fi
70967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70968
70969 fi
70970
70971 fi
70972
70973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
70974 $as_echo_n "checking for testsuite resource limits support... " >&6; }
70975 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
70976 ac_res_limits=yes
70977
70978 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
70979
70980 else
70981 ac_res_limits=no
70982 fi
70983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
70984 $as_echo "$ac_res_limits" >&6; }
70985
70986
70987 # Look for setenv, so that extended locale tests can be performed.
70988
70989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
70990 $as_echo_n "checking for setenv declaration... " >&6; }
70991 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
70992 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
70993 $as_echo_n "(cached) " >&6
70994 else
70995
70996
70997 ac_ext=cpp
70998 ac_cpp='$CXXCPP $CPPFLAGS'
70999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71002
71003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71004 /* end confdefs.h. */
71005 #include <stdlib.h>
71006 int
71007 main ()
71008 {
71009 setenv(0, 0, 0);
71010 ;
71011 return 0;
71012 }
71013 _ACEOF
71014 if ac_fn_cxx_try_compile "$LINENO"; then :
71015 glibcxx_cv_func_setenv_use=yes
71016 else
71017 glibcxx_cv_func_setenv_use=no
71018 fi
71019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71020 ac_ext=c
71021 ac_cpp='$CPP $CPPFLAGS'
71022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71025
71026
71027 fi
71028
71029 fi
71030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
71031 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
71032 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
71033 for ac_func in setenv
71034 do :
71035 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
71036 if test "x$ac_cv_func_setenv" = x""yes; then :
71037 cat >>confdefs.h <<_ACEOF
71038 #define HAVE_SETENV 1
71039 _ACEOF
71040
71041 fi
71042 done
71043
71044 fi
71045
71046 fi
71047
71048 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
71049 test $enable_symvers != no; then
71050 case "$host" in
71051 *-*-cygwin*)
71052 enable_abi_check=no ;;
71053 *)
71054 enable_abi_check=yes ;;
71055 esac
71056 else
71057 # Only build this as native, since automake does not understand
71058 # CXX_FOR_BUILD.
71059 enable_abi_check=no
71060 fi
71061
71062 # Export file names for ABI checking.
71063 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
71064
71065 baseline_subdir_switch="$abi_baseline_subdir_switch"
71066
71067
71068
71069 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
71070
71071 # Check whether --enable-libstdcxx-threads was given.
71072 if test "${enable_libstdcxx_threads+set}" = set; then :
71073 enableval=$enable_libstdcxx_threads;
71074 case "$enableval" in
71075 yes|no) ;;
71076 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
71077 esac
71078
71079 else
71080 enable_libstdcxx_threads=auto
71081 fi
71082
71083
71084
71085 if test x$enable_libstdcxx_threads = xauto ||
71086 test x$enable_libstdcxx_threads = xyes; then
71087
71088
71089 ac_ext=cpp
71090 ac_cpp='$CXXCPP $CPPFLAGS'
71091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71094
71095
71096 ac_save_CXXFLAGS="$CXXFLAGS"
71097 CXXFLAGS="$CXXFLAGS -fno-exceptions \
71098 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
71099
71100 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
71101 case $target_thread_file in
71102 posix)
71103 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
71104 esac
71105
71106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
71107 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
71108
71109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71110 /* end confdefs.h. */
71111 #include <unistd.h>
71112 int
71113 main ()
71114 {
71115
71116 // In case of POSIX threads check _POSIX_TIMEOUTS.
71117 #if (defined(_PTHREADS) \
71118 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
71119 #error
71120 #endif
71121
71122 ;
71123 return 0;
71124 }
71125 _ACEOF
71126 if ac_fn_cxx_try_compile "$LINENO"; then :
71127 ac_gthread_use_mutex_timedlock=1
71128 else
71129 ac_gthread_use_mutex_timedlock=0
71130 fi
71131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71132
71133
71134 cat >>confdefs.h <<_ACEOF
71135 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
71136 _ACEOF
71137
71138
71139 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71140 else res_mutex_timedlock=no ; fi
71141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71142 $as_echo "$res_mutex_timedlock" >&6; }
71143
71144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71145 $as_echo_n "checking for gthreads library... " >&6; }
71146
71147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71148 /* end confdefs.h. */
71149 #include "gthr.h"
71150 int
71151 main ()
71152 {
71153
71154 #ifndef __GTHREADS_CXX0X
71155 #error
71156 #endif
71157
71158 ;
71159 return 0;
71160 }
71161 _ACEOF
71162 if ac_fn_cxx_try_compile "$LINENO"; then :
71163 case $target_os in
71164 # gthreads support breaks symbol versioning on Solaris 9 (PR
71165 # libstdc++/52189).
71166 solaris2.9*)
71167 if test x$enable_symvers = xno; then
71168 ac_has_gthreads=yes
71169 elif test x$enable_libstdcxx_threads = xyes; then
71170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
71171 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
71172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
71173 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
71174 ac_has_gthreads=yes
71175 else
71176 ac_has_gthreads=no
71177 fi
71178 ;;
71179 *)
71180 ac_has_gthreads=yes
71181 ;;
71182 esac
71183 else
71184 ac_has_gthreads=no
71185 fi
71186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71187 else
71188 ac_has_gthreads=no
71189 fi
71190
71191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71192 $as_echo "$ac_has_gthreads" >&6; }
71193
71194 if test x"$ac_has_gthreads" = x"yes"; then
71195
71196 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71197
71198 fi
71199
71200 CXXFLAGS="$ac_save_CXXFLAGS"
71201 ac_ext=c
71202 ac_cpp='$CPP $CPPFLAGS'
71203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71206
71207
71208
71209 # Define documentation rules conditionally.
71210
71211 # See if makeinfo has been installed and is modern enough
71212 # that we can use it.
71213
71214 # Extract the first word of "makeinfo", so it can be a program name with args.
71215 set dummy makeinfo; ac_word=$2
71216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71217 $as_echo_n "checking for $ac_word... " >&6; }
71218 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
71219 $as_echo_n "(cached) " >&6
71220 else
71221 if test -n "$MAKEINFO"; then
71222 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
71223 else
71224 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71225 for as_dir in $PATH
71226 do
71227 IFS=$as_save_IFS
71228 test -z "$as_dir" && as_dir=.
71229 for ac_exec_ext in '' $ac_executable_extensions; do
71230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71231 ac_cv_prog_MAKEINFO="makeinfo"
71232 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71233 break 2
71234 fi
71235 done
71236 done
71237 IFS=$as_save_IFS
71238
71239 fi
71240 fi
71241 MAKEINFO=$ac_cv_prog_MAKEINFO
71242 if test -n "$MAKEINFO"; then
71243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
71244 $as_echo "$MAKEINFO" >&6; }
71245 else
71246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71247 $as_echo "no" >&6; }
71248 fi
71249
71250
71251 if test -n "$MAKEINFO"; then
71252 # Found it, now check the version.
71253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
71254 $as_echo_n "checking for modern makeinfo... " >&6; }
71255 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
71256 $as_echo_n "(cached) " >&6
71257 else
71258 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
71259 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
71260
71261 case $ac_prog_version in
71262 '') gcc_cv_prog_makeinfo_modern=no;;
71263 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
71264 *) gcc_cv_prog_makeinfo_modern=no;;
71265 esac
71266
71267 fi
71268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
71269 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
71270 else
71271 gcc_cv_prog_makeinfo_modern=no
71272 fi
71273 if test $gcc_cv_prog_makeinfo_modern = no; then
71274 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
71275 fi
71276
71277 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
71278 BUILD_INFO_TRUE=
71279 BUILD_INFO_FALSE='#'
71280 else
71281 BUILD_INFO_TRUE='#'
71282 BUILD_INFO_FALSE=
71283 fi
71284
71285
71286 # Check for doxygen
71287 # Extract the first word of "doxygen", so it can be a program name with args.
71288 set dummy doxygen; ac_word=$2
71289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71290 $as_echo_n "checking for $ac_word... " >&6; }
71291 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
71292 $as_echo_n "(cached) " >&6
71293 else
71294 if test -n "$DOXYGEN"; then
71295 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
71296 else
71297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71298 for as_dir in $PATH
71299 do
71300 IFS=$as_save_IFS
71301 test -z "$as_dir" && as_dir=.
71302 for ac_exec_ext in '' $ac_executable_extensions; do
71303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71304 ac_cv_prog_DOXYGEN="yes"
71305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71306 break 2
71307 fi
71308 done
71309 done
71310 IFS=$as_save_IFS
71311
71312 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
71313 fi
71314 fi
71315 DOXYGEN=$ac_cv_prog_DOXYGEN
71316 if test -n "$DOXYGEN"; then
71317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
71318 $as_echo "$DOXYGEN" >&6; }
71319 else
71320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71321 $as_echo "no" >&6; }
71322 fi
71323
71324
71325 # Extract the first word of "dot", so it can be a program name with args.
71326 set dummy dot; ac_word=$2
71327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71328 $as_echo_n "checking for $ac_word... " >&6; }
71329 if test "${ac_cv_prog_DOT+set}" = set; then :
71330 $as_echo_n "(cached) " >&6
71331 else
71332 if test -n "$DOT"; then
71333 ac_cv_prog_DOT="$DOT" # Let the user override the test.
71334 else
71335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71336 for as_dir in $PATH
71337 do
71338 IFS=$as_save_IFS
71339 test -z "$as_dir" && as_dir=.
71340 for ac_exec_ext in '' $ac_executable_extensions; do
71341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71342 ac_cv_prog_DOT="yes"
71343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71344 break 2
71345 fi
71346 done
71347 done
71348 IFS=$as_save_IFS
71349
71350 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
71351 fi
71352 fi
71353 DOT=$ac_cv_prog_DOT
71354 if test -n "$DOT"; then
71355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
71356 $as_echo "$DOT" >&6; }
71357 else
71358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71359 $as_echo "no" >&6; }
71360 fi
71361
71362
71363
71364 # Check for docbook
71365 # Extract the first word of "xsltproc", so it can be a program name with args.
71366 set dummy xsltproc; ac_word=$2
71367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71368 $as_echo_n "checking for $ac_word... " >&6; }
71369 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
71370 $as_echo_n "(cached) " >&6
71371 else
71372 if test -n "$XSLTPROC"; then
71373 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
71374 else
71375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71376 for as_dir in $PATH
71377 do
71378 IFS=$as_save_IFS
71379 test -z "$as_dir" && as_dir=.
71380 for ac_exec_ext in '' $ac_executable_extensions; do
71381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71382 ac_cv_prog_XSLTPROC="yes"
71383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71384 break 2
71385 fi
71386 done
71387 done
71388 IFS=$as_save_IFS
71389
71390 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
71391 fi
71392 fi
71393 XSLTPROC=$ac_cv_prog_XSLTPROC
71394 if test -n "$XSLTPROC"; then
71395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
71396 $as_echo "$XSLTPROC" >&6; }
71397 else
71398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71399 $as_echo "no" >&6; }
71400 fi
71401
71402
71403 # Extract the first word of "xmllint", so it can be a program name with args.
71404 set dummy xmllint; ac_word=$2
71405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71406 $as_echo_n "checking for $ac_word... " >&6; }
71407 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
71408 $as_echo_n "(cached) " >&6
71409 else
71410 if test -n "$XMLLINT"; then
71411 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
71412 else
71413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71414 for as_dir in $PATH
71415 do
71416 IFS=$as_save_IFS
71417 test -z "$as_dir" && as_dir=.
71418 for ac_exec_ext in '' $ac_executable_extensions; do
71419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71420 ac_cv_prog_XMLLINT="yes"
71421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71422 break 2
71423 fi
71424 done
71425 done
71426 IFS=$as_save_IFS
71427
71428 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
71429 fi
71430 fi
71431 XMLLINT=$ac_cv_prog_XMLLINT
71432 if test -n "$XMLLINT"; then
71433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
71434 $as_echo "$XMLLINT" >&6; }
71435 else
71436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71437 $as_echo "no" >&6; }
71438 fi
71439
71440
71441
71442
71443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
71444 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
71445 glibcxx_stylesheets=no
71446 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
71447 glibcxx_stylesheets=yes
71448 fi
71449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
71450 $as_echo "$glibcxx_stylesheets" >&6; }
71451
71452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
71453 $as_echo_n "checking for local stylesheet directory... " >&6; }
71454 glibcxx_local_stylesheets=no
71455 if test x"$glibcxx_stylesheets" = x"yes"; then
71456 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
71457 glibcxx_local_stylesheets=yes
71458 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
71459 fi
71460 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
71461 glibcxx_local_stylesheets=yes
71462 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
71463 fi
71464 fi
71465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
71466 $as_echo "$glibcxx_local_stylesheets" >&6; }
71467
71468 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71469
71470 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
71471 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
71472 else
71473 glibcxx_stylesheets=no
71474 fi
71475
71476 # Check for epub3 dependencies.
71477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
71478 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
71479 glibcxx_epub_stylesheets=no
71480 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71481 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
71482 glibcxx_epub_stylesheets=yes
71483 fi
71484 fi
71485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
71486 $as_echo "$glibcxx_epub_stylesheets" >&6; }
71487 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
71488 BUILD_EPUB_TRUE=
71489 BUILD_EPUB_FALSE='#'
71490 else
71491 BUILD_EPUB_TRUE='#'
71492 BUILD_EPUB_FALSE=
71493 fi
71494
71495
71496
71497
71498 # Check for xml/html dependencies.
71499 if test $ac_cv_prog_DOXYGEN = "yes" &&
71500 test $ac_cv_prog_DOT = "yes" &&
71501 test $ac_cv_prog_XSLTPROC = "yes" &&
71502 test $ac_cv_prog_XMLLINT = "yes" &&
71503 test $glibcxx_stylesheets = "yes"; then
71504 BUILD_XML_TRUE=
71505 BUILD_XML_FALSE='#'
71506 else
71507 BUILD_XML_TRUE='#'
71508 BUILD_XML_FALSE=
71509 fi
71510
71511
71512 if test $ac_cv_prog_DOXYGEN = "yes" &&
71513 test $ac_cv_prog_DOT = "yes" &&
71514 test $ac_cv_prog_XSLTPROC = "yes" &&
71515 test $ac_cv_prog_XMLLINT = "yes" &&
71516 test $glibcxx_stylesheets = "yes"; then
71517 BUILD_HTML_TRUE=
71518 BUILD_HTML_FALSE='#'
71519 else
71520 BUILD_HTML_TRUE='#'
71521 BUILD_HTML_FALSE=
71522 fi
71523
71524
71525 # Check for man dependencies.
71526 if test $ac_cv_prog_DOXYGEN = "yes" &&
71527 test $ac_cv_prog_DOT = "yes"; then
71528 BUILD_MAN_TRUE=
71529 BUILD_MAN_FALSE='#'
71530 else
71531 BUILD_MAN_TRUE='#'
71532 BUILD_MAN_FALSE=
71533 fi
71534
71535
71536 # Check for pdf dependencies.
71537 # Extract the first word of "dblatex", so it can be a program name with args.
71538 set dummy dblatex; ac_word=$2
71539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71540 $as_echo_n "checking for $ac_word... " >&6; }
71541 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
71542 $as_echo_n "(cached) " >&6
71543 else
71544 if test -n "$DBLATEX"; then
71545 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
71546 else
71547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71548 for as_dir in $PATH
71549 do
71550 IFS=$as_save_IFS
71551 test -z "$as_dir" && as_dir=.
71552 for ac_exec_ext in '' $ac_executable_extensions; do
71553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71554 ac_cv_prog_DBLATEX="yes"
71555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71556 break 2
71557 fi
71558 done
71559 done
71560 IFS=$as_save_IFS
71561
71562 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
71563 fi
71564 fi
71565 DBLATEX=$ac_cv_prog_DBLATEX
71566 if test -n "$DBLATEX"; then
71567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
71568 $as_echo "$DBLATEX" >&6; }
71569 else
71570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71571 $as_echo "no" >&6; }
71572 fi
71573
71574
71575 # Extract the first word of "pdflatex", so it can be a program name with args.
71576 set dummy pdflatex; ac_word=$2
71577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71578 $as_echo_n "checking for $ac_word... " >&6; }
71579 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
71580 $as_echo_n "(cached) " >&6
71581 else
71582 if test -n "$PDFLATEX"; then
71583 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
71584 else
71585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71586 for as_dir in $PATH
71587 do
71588 IFS=$as_save_IFS
71589 test -z "$as_dir" && as_dir=.
71590 for ac_exec_ext in '' $ac_executable_extensions; do
71591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71592 ac_cv_prog_PDFLATEX="yes"
71593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71594 break 2
71595 fi
71596 done
71597 done
71598 IFS=$as_save_IFS
71599
71600 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
71601 fi
71602 fi
71603 PDFLATEX=$ac_cv_prog_PDFLATEX
71604 if test -n "$PDFLATEX"; then
71605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
71606 $as_echo "$PDFLATEX" >&6; }
71607 else
71608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71609 $as_echo "no" >&6; }
71610 fi
71611
71612
71613 if test $ac_cv_prog_DBLATEX = "yes" &&
71614 test $ac_cv_prog_PDFLATEX = "yes"; then
71615 BUILD_PDF_TRUE=
71616 BUILD_PDF_FALSE='#'
71617 else
71618 BUILD_PDF_TRUE='#'
71619 BUILD_PDF_FALSE=
71620 fi
71621
71622
71623
71624 # Propagate the target-specific source directories through the build chain.
71625 ATOMICITY_SRCDIR=config/${atomicity_dir}
71626 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
71627 ATOMIC_FLAGS=${atomic_flags}
71628 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
71629 OS_INC_SRCDIR=config/${os_include_dir}
71630 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
71631 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
71632
71633
71634
71635
71636
71637
71638
71639
71640
71641 # Determine cross-compile flags and AM_CONDITIONALs.
71642 #AC_SUBST(GLIBCXX_IS_NATIVE)
71643 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
71644 if test $is_hosted = yes; then
71645 GLIBCXX_HOSTED_TRUE=
71646 GLIBCXX_HOSTED_FALSE='#'
71647 else
71648 GLIBCXX_HOSTED_TRUE='#'
71649 GLIBCXX_HOSTED_FALSE=
71650 fi
71651
71652
71653 if test $enable_libstdcxx_pch = yes; then
71654 GLIBCXX_BUILD_PCH_TRUE=
71655 GLIBCXX_BUILD_PCH_FALSE='#'
71656 else
71657 GLIBCXX_BUILD_PCH_TRUE='#'
71658 GLIBCXX_BUILD_PCH_FALSE=
71659 fi
71660
71661
71662 if test $enable_cheaders = c; then
71663 GLIBCXX_C_HEADERS_C_TRUE=
71664 GLIBCXX_C_HEADERS_C_FALSE='#'
71665 else
71666 GLIBCXX_C_HEADERS_C_TRUE='#'
71667 GLIBCXX_C_HEADERS_C_FALSE=
71668 fi
71669
71670
71671 if test $enable_cheaders = c_std; then
71672 GLIBCXX_C_HEADERS_C_STD_TRUE=
71673 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
71674 else
71675 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
71676 GLIBCXX_C_HEADERS_C_STD_FALSE=
71677 fi
71678
71679
71680 if test $enable_cheaders = c_global; then
71681 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
71682 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
71683 else
71684 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
71685 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
71686 fi
71687
71688
71689 if test $c_compatibility = yes; then
71690 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
71691 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
71692 else
71693 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
71694 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
71695 fi
71696
71697
71698 if test $enable_libstdcxx_debug = yes; then
71699 GLIBCXX_BUILD_DEBUG_TRUE=
71700 GLIBCXX_BUILD_DEBUG_FALSE='#'
71701 else
71702 GLIBCXX_BUILD_DEBUG_TRUE='#'
71703 GLIBCXX_BUILD_DEBUG_FALSE=
71704 fi
71705
71706
71707 if test $enable_parallel = yes; then
71708 ENABLE_PARALLEL_TRUE=
71709 ENABLE_PARALLEL_FALSE='#'
71710 else
71711 ENABLE_PARALLEL_TRUE='#'
71712 ENABLE_PARALLEL_FALSE=
71713 fi
71714
71715
71716 if test $enable_extern_template = yes; then
71717 ENABLE_EXTERN_TEMPLATE_TRUE=
71718 ENABLE_EXTERN_TEMPLATE_FALSE='#'
71719 else
71720 ENABLE_EXTERN_TEMPLATE_TRUE='#'
71721 ENABLE_EXTERN_TEMPLATE_FALSE=
71722 fi
71723
71724
71725 if test $python_mod_dir != no; then
71726 ENABLE_PYTHONDIR_TRUE=
71727 ENABLE_PYTHONDIR_FALSE='#'
71728 else
71729 ENABLE_PYTHONDIR_TRUE='#'
71730 ENABLE_PYTHONDIR_FALSE=
71731 fi
71732
71733
71734 if test $enable_werror = yes; then
71735 ENABLE_WERROR_TRUE=
71736 ENABLE_WERROR_FALSE='#'
71737 else
71738 ENABLE_WERROR_TRUE='#'
71739 ENABLE_WERROR_FALSE=
71740 fi
71741
71742
71743 if test $enable_symvers != no; then
71744 ENABLE_SYMVERS_TRUE=
71745 ENABLE_SYMVERS_FALSE='#'
71746 else
71747 ENABLE_SYMVERS_TRUE='#'
71748 ENABLE_SYMVERS_FALSE=
71749 fi
71750
71751
71752 if test $enable_symvers = gnu; then
71753 ENABLE_SYMVERS_GNU_TRUE=
71754 ENABLE_SYMVERS_GNU_FALSE='#'
71755 else
71756 ENABLE_SYMVERS_GNU_TRUE='#'
71757 ENABLE_SYMVERS_GNU_FALSE=
71758 fi
71759
71760
71761 if test $enable_symvers = gnu-versioned-namespace; then
71762 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
71763 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
71764 else
71765 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
71766 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
71767 fi
71768
71769
71770 if test $enable_symvers = darwin; then
71771 ENABLE_SYMVERS_DARWIN_TRUE=
71772 ENABLE_SYMVERS_DARWIN_FALSE='#'
71773 else
71774 ENABLE_SYMVERS_DARWIN_TRUE='#'
71775 ENABLE_SYMVERS_DARWIN_FALSE=
71776 fi
71777
71778
71779 if test $enable_symvers = sun; then
71780 ENABLE_SYMVERS_SUN_TRUE=
71781 ENABLE_SYMVERS_SUN_FALSE='#'
71782 else
71783 ENABLE_SYMVERS_SUN_TRUE='#'
71784 ENABLE_SYMVERS_SUN_FALSE=
71785 fi
71786
71787
71788 if test $enable_libstdcxx_visibility = yes; then
71789 ENABLE_VISIBILITY_TRUE=
71790 ENABLE_VISIBILITY_FALSE='#'
71791 else
71792 ENABLE_VISIBILITY_TRUE='#'
71793 ENABLE_VISIBILITY_FALSE=
71794 fi
71795
71796
71797 if test $ac_ldbl_compat = yes; then
71798 GLIBCXX_LDBL_COMPAT_TRUE=
71799 GLIBCXX_LDBL_COMPAT_FALSE='#'
71800 else
71801 GLIBCXX_LDBL_COMPAT_TRUE='#'
71802 GLIBCXX_LDBL_COMPAT_FALSE=
71803 fi
71804
71805
71806
71807
71808 cat >confcache <<\_ACEOF
71809 # This file is a shell script that caches the results of configure
71810 # tests run on this system so they can be shared between configure
71811 # scripts and configure runs, see configure's option --config-cache.
71812 # It is not useful on other systems. If it contains results you don't
71813 # want to keep, you may remove or edit it.
71814 #
71815 # config.status only pays attention to the cache file if you give it
71816 # the --recheck option to rerun configure.
71817 #
71818 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71819 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71820 # following values.
71821
71822 _ACEOF
71823
71824 # The following way of writing the cache mishandles newlines in values,
71825 # but we know of no workaround that is simple, portable, and efficient.
71826 # So, we kill variables containing newlines.
71827 # Ultrix sh set writes to stderr and can't be redirected directly,
71828 # and sets the high bit in the cache file unless we assign to the vars.
71829 (
71830 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
71831 eval ac_val=\$$ac_var
71832 case $ac_val in #(
71833 *${as_nl}*)
71834 case $ac_var in #(
71835 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
71836 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
71837 esac
71838 case $ac_var in #(
71839 _ | IFS | as_nl) ;; #(
71840 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
71841 *) { eval $ac_var=; unset $ac_var;} ;;
71842 esac ;;
71843 esac
71844 done
71845
71846 (set) 2>&1 |
71847 case $as_nl`(ac_space=' '; set) 2>&1` in #(
71848 *${as_nl}ac_space=\ *)
71849 # `set' does not quote correctly, so add quotes: double-quote
71850 # substitution turns \\\\ into \\, and sed turns \\ into \.
71851 sed -n \
71852 "s/'/'\\\\''/g;
71853 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
71854 ;; #(
71855 *)
71856 # `set' quotes correctly as required by POSIX, so do not add quotes.
71857 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
71858 ;;
71859 esac |
71860 sort
71861 ) |
71862 sed '
71863 /^ac_cv_env_/b end
71864 t clear
71865 :clear
71866 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
71867 t end
71868 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
71869 :end' >>confcache
71870 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
71871 if test -w "$cache_file"; then
71872 test "x$cache_file" != "x/dev/null" &&
71873 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
71874 $as_echo "$as_me: updating cache $cache_file" >&6;}
71875 cat confcache >$cache_file
71876 else
71877 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
71878 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
71879 fi
71880 fi
71881 rm -f confcache
71882
71883 if test ${multilib} = yes; then
71884 multilib_arg="--enable-multilib"
71885 else
71886 multilib_arg=
71887 fi
71888
71889 # Export all the install information.
71890
71891 glibcxx_toolexecdir=no
71892 glibcxx_toolexeclibdir=no
71893 glibcxx_prefixdir=$prefix
71894
71895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
71896 $as_echo_n "checking for gxx-include-dir... " >&6; }
71897
71898 # Check whether --with-gxx-include-dir was given.
71899 if test "${with_gxx_include_dir+set}" = set; then :
71900 withval=$with_gxx_include_dir; case "$withval" in
71901 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
71902 no) gxx_include_dir=no ;;
71903 *) gxx_include_dir=$withval ;;
71904 esac
71905 else
71906 gxx_include_dir=no
71907 fi
71908
71909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71910 $as_echo "$gxx_include_dir" >&6; }
71911
71912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
71913 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
71914 # Check whether --enable-version-specific-runtime-libs was given.
71915 if test "${enable_version_specific_runtime_libs+set}" = set; then :
71916 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
71917 yes) version_specific_libs=yes ;;
71918 no) version_specific_libs=no ;;
71919 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
71920 esac
71921 else
71922 version_specific_libs=no
71923 fi
71924
71925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
71926 $as_echo "$version_specific_libs" >&6; }
71927
71928 # Default case for install directory for include files.
71929 if test $version_specific_libs = no && test $gxx_include_dir = no; then
71930 gxx_include_dir='include/c++/${gcc_version}'
71931 if test -n "$with_cross_host" &&
71932 test x"$with_cross_host" != x"no"; then
71933 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
71934 else
71935 gxx_include_dir='${prefix}/'"$gxx_include_dir"
71936 fi
71937 fi
71938
71939 # Version-specific runtime libs processing.
71940 if test $version_specific_libs = yes; then
71941 # Need the gcc compiler version to know where to install libraries
71942 # and header files if --enable-version-specific-runtime-libs option
71943 # is selected. FIXME: these variables are misnamed, there are
71944 # no executables installed in _toolexecdir or _toolexeclibdir.
71945 if test x"$gxx_include_dir" = x"no"; then
71946 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
71947 fi
71948 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71949 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
71950 fi
71951
71952 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
71953 # Install a library built with a cross compiler in tooldir, not libdir.
71954 if test x"$glibcxx_toolexecdir" = x"no"; then
71955 if test -n "$with_cross_host" &&
71956 test x"$with_cross_host" != x"no"; then
71957 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
71958 glibcxx_toolexeclibdir='${toolexecdir}/lib'
71959 else
71960 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71961 glibcxx_toolexeclibdir='${libdir}'
71962 fi
71963 multi_os_directory=`$CXX -print-multi-os-directory`
71964 case $multi_os_directory in
71965 .) ;; # Avoid trailing /.
71966 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
71967 esac
71968 fi
71969
71970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
71971 $as_echo_n "checking for install location... " >&6; }
71972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71973 $as_echo "$gxx_include_dir" >&6; }
71974
71975
71976
71977
71978
71979
71980
71981 # Export all the include and flag information to Makefiles.
71982
71983 # Used for every C++ compile we perform.
71984 GLIBCXX_INCLUDES="\
71985 -I$glibcxx_builddir/include/$host_alias \
71986 -I$glibcxx_builddir/include \
71987 -I$glibcxx_srcdir/libsupc++"
71988
71989 # For Canadian crosses, pick this up too.
71990 if test $CANADIAN = yes; then
71991 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
71992 fi
71993
71994 # Stuff in the actual top level. Currently only used by libsupc++ to
71995 # get unwind* headers from the libgcc dir.
71996 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
71997 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
71998
71999 # Now, export this to all the little Makefiles....
72000
72001
72002
72003
72004 # Optimization flags that are probably a good idea for thrill-seekers. Just
72005 # uncomment the lines below and make, everything else is ready to go...
72006 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
72007 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
72008
72009
72010 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
72011
72012
72013
72014 if test "$enable_shared" = yes; then
72015 PIC_CXXFLAGS="-prefer-pic"
72016 else
72017 PIC_CXXFLAGS=
72018 fi
72019
72020
72021 ac_config_files="$ac_config_files Makefile"
72022
72023 ac_config_files="$ac_config_files scripts/testsuite_flags"
72024
72025 ac_config_files="$ac_config_files scripts/extract_symvers"
72026
72027
72028 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
72029 # that multilib installs will end up installed in the correct place.
72030 # The testsuite needs it for multilib-aware ABI baseline files.
72031 # To work around this not being passed down from config-ml.in ->
72032 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
72033 # append it here. Only modify Makefiles that have just been created.
72034 #
72035 # Also, get rid of this simulated-VPATH thing that automake does.
72036 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"
72037
72038
72039 ac_config_commands="$ac_config_commands generate-headers"
72040
72041
72042 cat >confcache <<\_ACEOF
72043 # This file is a shell script that caches the results of configure
72044 # tests run on this system so they can be shared between configure
72045 # scripts and configure runs, see configure's option --config-cache.
72046 # It is not useful on other systems. If it contains results you don't
72047 # want to keep, you may remove or edit it.
72048 #
72049 # config.status only pays attention to the cache file if you give it
72050 # the --recheck option to rerun configure.
72051 #
72052 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72053 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72054 # following values.
72055
72056 _ACEOF
72057
72058 # The following way of writing the cache mishandles newlines in values,
72059 # but we know of no workaround that is simple, portable, and efficient.
72060 # So, we kill variables containing newlines.
72061 # Ultrix sh set writes to stderr and can't be redirected directly,
72062 # and sets the high bit in the cache file unless we assign to the vars.
72063 (
72064 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72065 eval ac_val=\$$ac_var
72066 case $ac_val in #(
72067 *${as_nl}*)
72068 case $ac_var in #(
72069 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72070 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72071 esac
72072 case $ac_var in #(
72073 _ | IFS | as_nl) ;; #(
72074 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72075 *) { eval $ac_var=; unset $ac_var;} ;;
72076 esac ;;
72077 esac
72078 done
72079
72080 (set) 2>&1 |
72081 case $as_nl`(ac_space=' '; set) 2>&1` in #(
72082 *${as_nl}ac_space=\ *)
72083 # `set' does not quote correctly, so add quotes: double-quote
72084 # substitution turns \\\\ into \\, and sed turns \\ into \.
72085 sed -n \
72086 "s/'/'\\\\''/g;
72087 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72088 ;; #(
72089 *)
72090 # `set' quotes correctly as required by POSIX, so do not add quotes.
72091 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72092 ;;
72093 esac |
72094 sort
72095 ) |
72096 sed '
72097 /^ac_cv_env_/b end
72098 t clear
72099 :clear
72100 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72101 t end
72102 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72103 :end' >>confcache
72104 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72105 if test -w "$cache_file"; then
72106 test "x$cache_file" != "x/dev/null" &&
72107 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72108 $as_echo "$as_me: updating cache $cache_file" >&6;}
72109 cat confcache >$cache_file
72110 else
72111 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72112 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72113 fi
72114 fi
72115 rm -f confcache
72116
72117 test "x$prefix" = xNONE && prefix=$ac_default_prefix
72118 # Let make expand exec_prefix.
72119 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
72120
72121 DEFS=-DHAVE_CONFIG_H
72122
72123 ac_libobjs=
72124 ac_ltlibobjs=
72125 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
72126 # 1. Remove the extension, and $U if already installed.
72127 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
72128 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
72129 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
72130 # will be set to the directory where LIBOBJS objects are built.
72131 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
72132 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
72133 done
72134 LIBOBJS=$ac_libobjs
72135
72136 LTLIBOBJS=$ac_ltlibobjs
72137
72138
72139 if test -n "$EXEEXT"; then
72140 am__EXEEXT_TRUE=
72141 am__EXEEXT_FALSE='#'
72142 else
72143 am__EXEEXT_TRUE='#'
72144 am__EXEEXT_FALSE=
72145 fi
72146
72147 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
72148 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
72149 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72150 fi
72151 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
72152 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
72153 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72154 fi
72155 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
72156 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
72157 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72158 fi
72159 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
72160 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
72161 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72162 fi
72163 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
72164 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
72165 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72166 fi
72167 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
72168 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
72169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72170 fi
72171 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
72172 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
72173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72174 fi
72175 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
72176 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
72177 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72178 fi
72179 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
72180 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
72181 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72182 fi
72183 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
72184 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
72185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72186 fi
72187 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
72188 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
72189 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72190 fi
72191 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
72192 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
72193 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72194 fi
72195 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
72196 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
72197 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72198 fi
72199 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
72200 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
72201 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72202 fi
72203 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
72204 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
72205 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72206 fi
72207 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
72208 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
72209 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72210 fi
72211 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
72212 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
72213 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72214 fi
72215 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
72216 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
72217 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72218 fi
72219 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
72220 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
72221 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72222 fi
72223 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
72224 as_fn_error "conditional \"BUILD_INFO\" was never defined.
72225 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72226 fi
72227 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
72228 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
72229 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72230 fi
72231 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
72232 as_fn_error "conditional \"BUILD_XML\" was never defined.
72233 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72234 fi
72235 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
72236 as_fn_error "conditional \"BUILD_HTML\" was never defined.
72237 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72238 fi
72239 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
72240 as_fn_error "conditional \"BUILD_MAN\" was never defined.
72241 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72242 fi
72243 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
72244 as_fn_error "conditional \"BUILD_PDF\" was never defined.
72245 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72246 fi
72247
72248 : ${CONFIG_STATUS=./config.status}
72249 ac_write_fail=0
72250 ac_clean_files_save=$ac_clean_files
72251 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
72252 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
72253 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
72254 as_write_fail=0
72255 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
72256 #! $SHELL
72257 # Generated by $as_me.
72258 # Run this file to recreate the current configuration.
72259 # Compiler output produced by configure, useful for debugging
72260 # configure, is in config.log if it exists.
72261
72262 debug=false
72263 ac_cs_recheck=false
72264 ac_cs_silent=false
72265
72266 SHELL=\${CONFIG_SHELL-$SHELL}
72267 export SHELL
72268 _ASEOF
72269 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
72270 ## -------------------- ##
72271 ## M4sh Initialization. ##
72272 ## -------------------- ##
72273
72274 # Be more Bourne compatible
72275 DUALCASE=1; export DUALCASE # for MKS sh
72276 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
72277 emulate sh
72278 NULLCMD=:
72279 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
72280 # is contrary to our usage. Disable this feature.
72281 alias -g '${1+"$@"}'='"$@"'
72282 setopt NO_GLOB_SUBST
72283 else
72284 case `(set -o) 2>/dev/null` in #(
72285 *posix*) :
72286 set -o posix ;; #(
72287 *) :
72288 ;;
72289 esac
72290 fi
72291
72292
72293 as_nl='
72294 '
72295 export as_nl
72296 # Printing a long string crashes Solaris 7 /usr/bin/printf.
72297 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
72298 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
72299 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
72300 # Prefer a ksh shell builtin over an external printf program on Solaris,
72301 # but without wasting forks for bash or zsh.
72302 if test -z "$BASH_VERSION$ZSH_VERSION" \
72303 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
72304 as_echo='print -r --'
72305 as_echo_n='print -rn --'
72306 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
72307 as_echo='printf %s\n'
72308 as_echo_n='printf %s'
72309 else
72310 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
72311 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
72312 as_echo_n='/usr/ucb/echo -n'
72313 else
72314 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
72315 as_echo_n_body='eval
72316 arg=$1;
72317 case $arg in #(
72318 *"$as_nl"*)
72319 expr "X$arg" : "X\\(.*\\)$as_nl";
72320 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
72321 esac;
72322 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72323 '
72324 export as_echo_n_body
72325 as_echo_n='sh -c $as_echo_n_body as_echo'
72326 fi
72327 export as_echo_body
72328 as_echo='sh -c $as_echo_body as_echo'
72329 fi
72330
72331 # The user is always right.
72332 if test "${PATH_SEPARATOR+set}" != set; then
72333 PATH_SEPARATOR=:
72334 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
72335 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
72336 PATH_SEPARATOR=';'
72337 }
72338 fi
72339
72340
72341 # IFS
72342 # We need space, tab and new line, in precisely that order. Quoting is
72343 # there to prevent editors from complaining about space-tab.
72344 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
72345 # splitting by setting IFS to empty value.)
72346 IFS=" "" $as_nl"
72347
72348 # Find who we are. Look in the path if we contain no directory separator.
72349 case $0 in #((
72350 *[\\/]* ) as_myself=$0 ;;
72351 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72352 for as_dir in $PATH
72353 do
72354 IFS=$as_save_IFS
72355 test -z "$as_dir" && as_dir=.
72356 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
72357 done
72358 IFS=$as_save_IFS
72359
72360 ;;
72361 esac
72362 # We did not find ourselves, most probably we were run as `sh COMMAND'
72363 # in which case we are not to be found in the path.
72364 if test "x$as_myself" = x; then
72365 as_myself=$0
72366 fi
72367 if test ! -f "$as_myself"; then
72368 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
72369 exit 1
72370 fi
72371
72372 # Unset variables that we do not need and which cause bugs (e.g. in
72373 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
72374 # suppresses any "Segmentation fault" message there. '((' could
72375 # trigger a bug in pdksh 5.2.14.
72376 for as_var in BASH_ENV ENV MAIL MAILPATH
72377 do eval test x\${$as_var+set} = xset \
72378 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72379 done
72380 PS1='$ '
72381 PS2='> '
72382 PS4='+ '
72383
72384 # NLS nuisances.
72385 LC_ALL=C
72386 export LC_ALL
72387 LANGUAGE=C
72388 export LANGUAGE
72389
72390 # CDPATH.
72391 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72392
72393
72394 # as_fn_error ERROR [LINENO LOG_FD]
72395 # ---------------------------------
72396 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
72397 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
72398 # script with status $?, using 1 if that was 0.
72399 as_fn_error ()
72400 {
72401 as_status=$?; test $as_status -eq 0 && as_status=1
72402 if test "$3"; then
72403 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
72404 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
72405 fi
72406 $as_echo "$as_me: error: $1" >&2
72407 as_fn_exit $as_status
72408 } # as_fn_error
72409
72410
72411 # as_fn_set_status STATUS
72412 # -----------------------
72413 # Set $? to STATUS, without forking.
72414 as_fn_set_status ()
72415 {
72416 return $1
72417 } # as_fn_set_status
72418
72419 # as_fn_exit STATUS
72420 # -----------------
72421 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
72422 as_fn_exit ()
72423 {
72424 set +e
72425 as_fn_set_status $1
72426 exit $1
72427 } # as_fn_exit
72428
72429 # as_fn_unset VAR
72430 # ---------------
72431 # Portably unset VAR.
72432 as_fn_unset ()
72433 {
72434 { eval $1=; unset $1;}
72435 }
72436 as_unset=as_fn_unset
72437 # as_fn_append VAR VALUE
72438 # ----------------------
72439 # Append the text in VALUE to the end of the definition contained in VAR. Take
72440 # advantage of any shell optimizations that allow amortized linear growth over
72441 # repeated appends, instead of the typical quadratic growth present in naive
72442 # implementations.
72443 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
72444 eval 'as_fn_append ()
72445 {
72446 eval $1+=\$2
72447 }'
72448 else
72449 as_fn_append ()
72450 {
72451 eval $1=\$$1\$2
72452 }
72453 fi # as_fn_append
72454
72455 # as_fn_arith ARG...
72456 # ------------------
72457 # Perform arithmetic evaluation on the ARGs, and store the result in the
72458 # global $as_val. Take advantage of shells that can avoid forks. The arguments
72459 # must be portable across $(()) and expr.
72460 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
72461 eval 'as_fn_arith ()
72462 {
72463 as_val=$(( $* ))
72464 }'
72465 else
72466 as_fn_arith ()
72467 {
72468 as_val=`expr "$@" || test $? -eq 1`
72469 }
72470 fi # as_fn_arith
72471
72472
72473 if expr a : '\(a\)' >/dev/null 2>&1 &&
72474 test "X`expr 00001 : '.*\(...\)'`" = X001; then
72475 as_expr=expr
72476 else
72477 as_expr=false
72478 fi
72479
72480 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
72481 as_basename=basename
72482 else
72483 as_basename=false
72484 fi
72485
72486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
72487 as_dirname=dirname
72488 else
72489 as_dirname=false
72490 fi
72491
72492 as_me=`$as_basename -- "$0" ||
72493 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
72494 X"$0" : 'X\(//\)$' \| \
72495 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72496 $as_echo X/"$0" |
72497 sed '/^.*\/\([^/][^/]*\)\/*$/{
72498 s//\1/
72499 q
72500 }
72501 /^X\/\(\/\/\)$/{
72502 s//\1/
72503 q
72504 }
72505 /^X\/\(\/\).*/{
72506 s//\1/
72507 q
72508 }
72509 s/.*/./; q'`
72510
72511 # Avoid depending upon Character Ranges.
72512 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
72513 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
72514 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
72515 as_cr_digits='0123456789'
72516 as_cr_alnum=$as_cr_Letters$as_cr_digits
72517
72518 ECHO_C= ECHO_N= ECHO_T=
72519 case `echo -n x` in #(((((
72520 -n*)
72521 case `echo 'xy\c'` in
72522 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
72523 xy) ECHO_C='\c';;
72524 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
72525 ECHO_T=' ';;
72526 esac;;
72527 *)
72528 ECHO_N='-n';;
72529 esac
72530
72531 rm -f conf$$ conf$$.exe conf$$.file
72532 if test -d conf$$.dir; then
72533 rm -f conf$$.dir/conf$$.file
72534 else
72535 rm -f conf$$.dir
72536 mkdir conf$$.dir 2>/dev/null
72537 fi
72538 if (echo >conf$$.file) 2>/dev/null; then
72539 if ln -s conf$$.file conf$$ 2>/dev/null; then
72540 as_ln_s='ln -s'
72541 # ... but there are two gotchas:
72542 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
72543 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
72544 # In both cases, we have to default to `cp -p'.
72545 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
72546 as_ln_s='cp -p'
72547 elif ln conf$$.file conf$$ 2>/dev/null; then
72548 as_ln_s=ln
72549 else
72550 as_ln_s='cp -p'
72551 fi
72552 else
72553 as_ln_s='cp -p'
72554 fi
72555 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
72556 rmdir conf$$.dir 2>/dev/null
72557
72558
72559 # as_fn_mkdir_p
72560 # -------------
72561 # Create "$as_dir" as a directory, including parents if necessary.
72562 as_fn_mkdir_p ()
72563 {
72564
72565 case $as_dir in #(
72566 -*) as_dir=./$as_dir;;
72567 esac
72568 test -d "$as_dir" || eval $as_mkdir_p || {
72569 as_dirs=
72570 while :; do
72571 case $as_dir in #(
72572 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
72573 *) as_qdir=$as_dir;;
72574 esac
72575 as_dirs="'$as_qdir' $as_dirs"
72576 as_dir=`$as_dirname -- "$as_dir" ||
72577 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
72578 X"$as_dir" : 'X\(//\)[^/]' \| \
72579 X"$as_dir" : 'X\(//\)$' \| \
72580 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
72581 $as_echo X"$as_dir" |
72582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
72583 s//\1/
72584 q
72585 }
72586 /^X\(\/\/\)[^/].*/{
72587 s//\1/
72588 q
72589 }
72590 /^X\(\/\/\)$/{
72591 s//\1/
72592 q
72593 }
72594 /^X\(\/\).*/{
72595 s//\1/
72596 q
72597 }
72598 s/.*/./; q'`
72599 test -d "$as_dir" && break
72600 done
72601 test -z "$as_dirs" || eval "mkdir $as_dirs"
72602 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
72603
72604
72605 } # as_fn_mkdir_p
72606 if mkdir -p . 2>/dev/null; then
72607 as_mkdir_p='mkdir -p "$as_dir"'
72608 else
72609 test -d ./-p && rmdir ./-p
72610 as_mkdir_p=false
72611 fi
72612
72613 if test -x / >/dev/null 2>&1; then
72614 as_test_x='test -x'
72615 else
72616 if ls -dL / >/dev/null 2>&1; then
72617 as_ls_L_option=L
72618 else
72619 as_ls_L_option=
72620 fi
72621 as_test_x='
72622 eval sh -c '\''
72623 if test -d "$1"; then
72624 test -d "$1/.";
72625 else
72626 case $1 in #(
72627 -*)set "./$1";;
72628 esac;
72629 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
72630 ???[sx]*):;;*)false;;esac;fi
72631 '\'' sh
72632 '
72633 fi
72634 as_executable_p=$as_test_x
72635
72636 # Sed expression to map a string onto a valid CPP name.
72637 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
72638
72639 # Sed expression to map a string onto a valid variable name.
72640 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
72641
72642
72643 exec 6>&1
72644 ## ----------------------------------- ##
72645 ## Main body of $CONFIG_STATUS script. ##
72646 ## ----------------------------------- ##
72647 _ASEOF
72648 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
72649
72650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72651 # Save the log message, to keep $0 and so on meaningful, and to
72652 # report actual input values of CONFIG_FILES etc. instead of their
72653 # values after options handling.
72654 ac_log="
72655 This file was extended by package-unused $as_me version-unused, which was
72656 generated by GNU Autoconf 2.64. Invocation command line was
72657
72658 CONFIG_FILES = $CONFIG_FILES
72659 CONFIG_HEADERS = $CONFIG_HEADERS
72660 CONFIG_LINKS = $CONFIG_LINKS
72661 CONFIG_COMMANDS = $CONFIG_COMMANDS
72662 $ $0 $@
72663
72664 on `(hostname || uname -n) 2>/dev/null | sed 1q`
72665 "
72666
72667 _ACEOF
72668
72669 case $ac_config_files in *"
72670 "*) set x $ac_config_files; shift; ac_config_files=$*;;
72671 esac
72672
72673 case $ac_config_headers in *"
72674 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
72675 esac
72676
72677
72678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72679 # Files that config.status was made for.
72680 config_files="$ac_config_files"
72681 config_headers="$ac_config_headers"
72682 config_commands="$ac_config_commands"
72683
72684 _ACEOF
72685
72686 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72687 ac_cs_usage="\
72688 \`$as_me' instantiates files and other configuration actions
72689 from templates according to the current configuration. Unless the files
72690 and actions are specified as TAGs, all are instantiated by default.
72691
72692 Usage: $0 [OPTION]... [TAG]...
72693
72694 -h, --help print this help, then exit
72695 -V, --version print version number and configuration settings, then exit
72696 -q, --quiet, --silent
72697 do not print progress messages
72698 -d, --debug don't remove temporary files
72699 --recheck update $as_me by reconfiguring in the same conditions
72700 --file=FILE[:TEMPLATE]
72701 instantiate the configuration file FILE
72702 --header=FILE[:TEMPLATE]
72703 instantiate the configuration header FILE
72704
72705 Configuration files:
72706 $config_files
72707
72708 Configuration headers:
72709 $config_headers
72710
72711 Configuration commands:
72712 $config_commands
72713
72714 Report bugs to the package provider."
72715
72716 _ACEOF
72717 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72718 ac_cs_version="\\
72719 package-unused config.status version-unused
72720 configured by $0, generated by GNU Autoconf 2.64,
72721 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
72722
72723 Copyright (C) 2009 Free Software Foundation, Inc.
72724 This config.status script is free software; the Free Software Foundation
72725 gives unlimited permission to copy, distribute and modify it."
72726
72727 ac_pwd='$ac_pwd'
72728 srcdir='$srcdir'
72729 INSTALL='$INSTALL'
72730 MKDIR_P='$MKDIR_P'
72731 AWK='$AWK'
72732 test -n "\$AWK" || AWK=awk
72733 _ACEOF
72734
72735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72736 # The default lists apply if the user does not specify any file.
72737 ac_need_defaults=:
72738 while test $# != 0
72739 do
72740 case $1 in
72741 --*=*)
72742 ac_option=`expr "X$1" : 'X\([^=]*\)='`
72743 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
72744 ac_shift=:
72745 ;;
72746 *)
72747 ac_option=$1
72748 ac_optarg=$2
72749 ac_shift=shift
72750 ;;
72751 esac
72752
72753 case $ac_option in
72754 # Handling of the options.
72755 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
72756 ac_cs_recheck=: ;;
72757 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
72758 $as_echo "$ac_cs_version"; exit ;;
72759 --debug | --debu | --deb | --de | --d | -d )
72760 debug=: ;;
72761 --file | --fil | --fi | --f )
72762 $ac_shift
72763 case $ac_optarg in
72764 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72765 esac
72766 as_fn_append CONFIG_FILES " '$ac_optarg'"
72767 ac_need_defaults=false;;
72768 --header | --heade | --head | --hea )
72769 $ac_shift
72770 case $ac_optarg in
72771 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72772 esac
72773 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
72774 ac_need_defaults=false;;
72775 --he | --h)
72776 # Conflict between --help and --header
72777 as_fn_error "ambiguous option: \`$1'
72778 Try \`$0 --help' for more information.";;
72779 --help | --hel | -h )
72780 $as_echo "$ac_cs_usage"; exit ;;
72781 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
72782 | -silent | --silent | --silen | --sile | --sil | --si | --s)
72783 ac_cs_silent=: ;;
72784
72785 # This is an error.
72786 -*) as_fn_error "unrecognized option: \`$1'
72787 Try \`$0 --help' for more information." ;;
72788
72789 *) as_fn_append ac_config_targets " $1"
72790 ac_need_defaults=false ;;
72791
72792 esac
72793 shift
72794 done
72795
72796 ac_configure_extra_args=
72797
72798 if $ac_cs_silent; then
72799 exec 6>/dev/null
72800 ac_configure_extra_args="$ac_configure_extra_args --silent"
72801 fi
72802
72803 _ACEOF
72804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72805 if \$ac_cs_recheck; then
72806 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
72807 shift
72808 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
72809 CONFIG_SHELL='$SHELL'
72810 export CONFIG_SHELL
72811 exec "\$@"
72812 fi
72813
72814 _ACEOF
72815 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72816 exec 5>>config.log
72817 {
72818 echo
72819 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
72820 ## Running $as_me. ##
72821 _ASBOX
72822 $as_echo "$ac_log"
72823 } >&5
72824
72825 _ACEOF
72826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72827 #
72828 # INIT-COMMANDS
72829 #
72830
72831 srcdir="$srcdir"
72832 host="$host"
72833 target="$target"
72834 with_multisubdir="$with_multisubdir"
72835 with_multisrctop="$with_multisrctop"
72836 with_target_subdir="$with_target_subdir"
72837 ac_configure_args="${multilib_arg} ${ac_configure_args}"
72838 multi_basedir="$multi_basedir"
72839 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
72840 CC="$CC"
72841 CXX="$CXX"
72842 GFORTRAN="$GFORTRAN"
72843 GCJ="$GCJ"
72844
72845
72846 # The HP-UX ksh and POSIX shell print the target directory to stdout
72847 # if CDPATH is set.
72848 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72849
72850 sed_quote_subst='$sed_quote_subst'
72851 double_quote_subst='$double_quote_subst'
72852 delay_variable_subst='$delay_variable_subst'
72853 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
72854 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
72855 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
72856 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
72857 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
72858 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
72859 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
72860 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
72861 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
72862 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
72863 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
72864 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
72865 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
72866 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
72867 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
72868 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
72869 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
72870 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
72871 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
72872 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
72873 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
72874 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
72875 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
72876 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
72877 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
72878 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
72879 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
72880 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
72881 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
72882 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
72883 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
72884 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
72885 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
72886 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
72887 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
72888 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
72889 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
72890 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72891 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72892 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
72893 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
72894 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
72895 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
72896 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
72897 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
72898 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
72899 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
72900 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
72901 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"`'
72902 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
72903 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
72904 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
72905 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
72906 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
72907 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
72908 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
72909 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
72910 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
72911 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
72912 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
72913 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
72914 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
72915 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
72916 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
72917 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72918 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
72919 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
72920 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
72921 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
72922 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
72923 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
72924 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72925 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
72926 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72927 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
72928 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72929 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
72930 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
72931 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
72932 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
72933 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
72934 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
72935 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
72936 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
72937 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
72938 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
72939 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
72940 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
72941 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
72942 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
72943 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
72944 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
72945 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
72946 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
72947 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
72948 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
72949 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
72950 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
72951 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
72952 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
72953 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
72954 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
72955 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
72956 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
72957 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
72958 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
72959 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
72960 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72961 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72962 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
72963 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
72964 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
72965 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
72966 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
72967 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
72968 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
72969 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
72970 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
72971 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
72972 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
72973 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
72974 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
72975 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
72976 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
72977 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
72978 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
72979 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
72980 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
72981 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72982 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72983 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
72984 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
72985 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
72986 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
72987 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
72988 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
72989 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
72990 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
72991 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
72992 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
72993 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
72994 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
72995 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72996 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72997 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72998 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72999 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73000 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73001 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
73002 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73003 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73004 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73005 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
73006 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
73007 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
73008 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
73009 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
73010 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
73011 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
73012 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
73013 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
73014 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
73015 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
73016 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73017 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73018 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73019 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73020 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
73021 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
73022 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
73023 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73024 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73025 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
73026 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
73027 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
73028
73029 LTCC='$LTCC'
73030 LTCFLAGS='$LTCFLAGS'
73031 compiler='$compiler_DEFAULT'
73032
73033 # A function that is used when there is no print builtin or printf.
73034 func_fallback_echo ()
73035 {
73036 eval 'cat <<_LTECHO_EOF
73037 \$1
73038 _LTECHO_EOF'
73039 }
73040
73041 # Quote evaled strings.
73042 for var in SHELL \
73043 ECHO \
73044 SED \
73045 GREP \
73046 EGREP \
73047 FGREP \
73048 LD \
73049 NM \
73050 LN_S \
73051 lt_SP2NL \
73052 lt_NL2SP \
73053 reload_flag \
73054 OBJDUMP \
73055 deplibs_check_method \
73056 file_magic_cmd \
73057 AR \
73058 AR_FLAGS \
73059 STRIP \
73060 RANLIB \
73061 CC \
73062 CFLAGS \
73063 compiler \
73064 lt_cv_sys_global_symbol_pipe \
73065 lt_cv_sys_global_symbol_to_cdecl \
73066 lt_cv_sys_global_symbol_to_c_name_address \
73067 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
73068 lt_prog_compiler_no_builtin_flag \
73069 lt_prog_compiler_wl \
73070 lt_prog_compiler_pic \
73071 lt_prog_compiler_static \
73072 lt_cv_prog_compiler_c_o \
73073 need_locks \
73074 DSYMUTIL \
73075 NMEDIT \
73076 LIPO \
73077 OTOOL \
73078 OTOOL64 \
73079 shrext_cmds \
73080 export_dynamic_flag_spec \
73081 whole_archive_flag_spec \
73082 compiler_needs_object \
73083 with_gnu_ld \
73084 allow_undefined_flag \
73085 no_undefined_flag \
73086 hardcode_libdir_flag_spec \
73087 hardcode_libdir_flag_spec_ld \
73088 hardcode_libdir_separator \
73089 fix_srcfile_path \
73090 exclude_expsyms \
73091 include_expsyms \
73092 file_list_spec \
73093 variables_saved_for_relink \
73094 libname_spec \
73095 library_names_spec \
73096 soname_spec \
73097 install_override_mode \
73098 finish_eval \
73099 old_striplib \
73100 striplib \
73101 compiler_lib_search_dirs \
73102 predep_objects \
73103 postdep_objects \
73104 predeps \
73105 postdeps \
73106 compiler_lib_search_path \
73107 LD_CXX \
73108 reload_flag_CXX \
73109 compiler_CXX \
73110 lt_prog_compiler_no_builtin_flag_CXX \
73111 lt_prog_compiler_wl_CXX \
73112 lt_prog_compiler_pic_CXX \
73113 lt_prog_compiler_static_CXX \
73114 lt_cv_prog_compiler_c_o_CXX \
73115 export_dynamic_flag_spec_CXX \
73116 whole_archive_flag_spec_CXX \
73117 compiler_needs_object_CXX \
73118 with_gnu_ld_CXX \
73119 allow_undefined_flag_CXX \
73120 no_undefined_flag_CXX \
73121 hardcode_libdir_flag_spec_CXX \
73122 hardcode_libdir_flag_spec_ld_CXX \
73123 hardcode_libdir_separator_CXX \
73124 fix_srcfile_path_CXX \
73125 exclude_expsyms_CXX \
73126 include_expsyms_CXX \
73127 file_list_spec_CXX \
73128 compiler_lib_search_dirs_CXX \
73129 predep_objects_CXX \
73130 postdep_objects_CXX \
73131 predeps_CXX \
73132 postdeps_CXX \
73133 compiler_lib_search_path_CXX; do
73134 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73135 *[\\\\\\\`\\"\\\$]*)
73136 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
73137 ;;
73138 *)
73139 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73140 ;;
73141 esac
73142 done
73143
73144 # Double-quote double-evaled strings.
73145 for var in reload_cmds \
73146 old_postinstall_cmds \
73147 old_postuninstall_cmds \
73148 old_archive_cmds \
73149 extract_expsyms_cmds \
73150 old_archive_from_new_cmds \
73151 old_archive_from_expsyms_cmds \
73152 archive_cmds \
73153 archive_expsym_cmds \
73154 module_cmds \
73155 module_expsym_cmds \
73156 export_symbols_cmds \
73157 prelink_cmds \
73158 postinstall_cmds \
73159 postuninstall_cmds \
73160 finish_cmds \
73161 sys_lib_search_path_spec \
73162 sys_lib_dlsearch_path_spec \
73163 reload_cmds_CXX \
73164 old_archive_cmds_CXX \
73165 old_archive_from_new_cmds_CXX \
73166 old_archive_from_expsyms_cmds_CXX \
73167 archive_cmds_CXX \
73168 archive_expsym_cmds_CXX \
73169 module_cmds_CXX \
73170 module_expsym_cmds_CXX \
73171 export_symbols_cmds_CXX \
73172 prelink_cmds_CXX; do
73173 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73174 *[\\\\\\\`\\"\\\$]*)
73175 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
73176 ;;
73177 *)
73178 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73179 ;;
73180 esac
73181 done
73182
73183 ac_aux_dir='$ac_aux_dir'
73184 xsi_shell='$xsi_shell'
73185 lt_shell_append='$lt_shell_append'
73186
73187 # See if we are running on zsh, and set the options which allow our
73188 # commands through without removal of \ escapes INIT.
73189 if test -n "\${ZSH_VERSION+set}" ; then
73190 setopt NO_GLOB_SUBST
73191 fi
73192
73193
73194 PACKAGE='$PACKAGE'
73195 VERSION='$VERSION'
73196 TIMESTAMP='$TIMESTAMP'
73197 RM='$RM'
73198 ofile='$ofile'
73199
73200
73201
73202
73203
73204
73205 GCC="$GCC"
73206 CC="$CC"
73207 acx_cv_header_stdint="$acx_cv_header_stdint"
73208 acx_cv_type_int8_t="$acx_cv_type_int8_t"
73209 acx_cv_type_int16_t="$acx_cv_type_int16_t"
73210 acx_cv_type_int32_t="$acx_cv_type_int32_t"
73211 acx_cv_type_int64_t="$acx_cv_type_int64_t"
73212 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
73213 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
73214 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
73215 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
73216 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
73217 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
73218 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
73219 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
73220 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
73221
73222
73223 _ACEOF
73224
73225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73226
73227 # Handling of arguments.
73228 for ac_config_target in $ac_config_targets
73229 do
73230 case $ac_config_target in
73231 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
73232 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
73233 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
73234 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
73235 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
73236 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
73237 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
73238 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
73239 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
73240 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
73241 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
73242 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
73243 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
73244 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
73245 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
73246 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
73247 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
73248
73249 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
73250 esac
73251 done
73252
73253
73254 # If the user did not use the arguments to specify the items to instantiate,
73255 # then the envvar interface is used. Set only those that are not.
73256 # We use the long form for the default assignment because of an extremely
73257 # bizarre bug on SunOS 4.1.3.
73258 if $ac_need_defaults; then
73259 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
73260 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
73261 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
73262 fi
73263
73264 # Have a temporary directory for convenience. Make it in the build tree
73265 # simply because there is no reason against having it here, and in addition,
73266 # creating and moving files from /tmp can sometimes cause problems.
73267 # Hook for its removal unless debugging.
73268 # Note that there is a small window in which the directory will not be cleaned:
73269 # after its creation but before its name has been assigned to `$tmp'.
73270 $debug ||
73271 {
73272 tmp=
73273 trap 'exit_status=$?
73274 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
73275 ' 0
73276 trap 'as_fn_exit 1' 1 2 13 15
73277 }
73278 # Create a (secure) tmp directory for tmp files.
73279
73280 {
73281 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
73282 test -n "$tmp" && test -d "$tmp"
73283 } ||
73284 {
73285 tmp=./conf$$-$RANDOM
73286 (umask 077 && mkdir "$tmp")
73287 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
73288
73289 # Set up the scripts for CONFIG_FILES section.
73290 # No need to generate them if there are no CONFIG_FILES.
73291 # This happens for instance with `./config.status config.h'.
73292 if test -n "$CONFIG_FILES"; then
73293
73294
73295 ac_cr=`echo X | tr X '\015'`
73296 # On cygwin, bash can eat \r inside `` if the user requested igncr.
73297 # But we know of no other shell where ac_cr would be empty at this
73298 # point, so we can use a bashism as a fallback.
73299 if test "x$ac_cr" = x; then
73300 eval ac_cr=\$\'\\r\'
73301 fi
73302 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
73303 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
73304 ac_cs_awk_cr='\r'
73305 else
73306 ac_cs_awk_cr=$ac_cr
73307 fi
73308
73309 echo 'BEGIN {' >"$tmp/subs1.awk" &&
73310 _ACEOF
73311
73312
73313 {
73314 echo "cat >conf$$subs.awk <<_ACEOF" &&
73315 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
73316 echo "_ACEOF"
73317 } >conf$$subs.sh ||
73318 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73319 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
73320 ac_delim='%!_!# '
73321 for ac_last_try in false false false false false :; do
73322 . ./conf$$subs.sh ||
73323 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73324
73325 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
73326 if test $ac_delim_n = $ac_delim_num; then
73327 break
73328 elif $ac_last_try; then
73329 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73330 else
73331 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73332 fi
73333 done
73334 rm -f conf$$subs.sh
73335
73336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73337 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
73338 _ACEOF
73339 sed -n '
73340 h
73341 s/^/S["/; s/!.*/"]=/
73342 p
73343 g
73344 s/^[^!]*!//
73345 :repl
73346 t repl
73347 s/'"$ac_delim"'$//
73348 t delim
73349 :nl
73350 h
73351 s/\(.\{148\}\).*/\1/
73352 t more1
73353 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
73354 p
73355 n
73356 b repl
73357 :more1
73358 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73359 p
73360 g
73361 s/.\{148\}//
73362 t nl
73363 :delim
73364 h
73365 s/\(.\{148\}\).*/\1/
73366 t more2
73367 s/["\\]/\\&/g; s/^/"/; s/$/"/
73368 p
73369 b
73370 :more2
73371 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73372 p
73373 g
73374 s/.\{148\}//
73375 t delim
73376 ' <conf$$subs.awk | sed '
73377 /^[^""]/{
73378 N
73379 s/\n//
73380 }
73381 ' >>$CONFIG_STATUS || ac_write_fail=1
73382 rm -f conf$$subs.awk
73383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73384 _ACAWK
73385 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
73386 for (key in S) S_is_set[key] = 1
73387 FS = "\a"
73388
73389 }
73390 {
73391 line = $ 0
73392 nfields = split(line, field, "@")
73393 substed = 0
73394 len = length(field[1])
73395 for (i = 2; i < nfields; i++) {
73396 key = field[i]
73397 keylen = length(key)
73398 if (S_is_set[key]) {
73399 value = S[key]
73400 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
73401 len += length(value) + length(field[++i])
73402 substed = 1
73403 } else
73404 len += 1 + keylen
73405 }
73406
73407 print line
73408 }
73409
73410 _ACAWK
73411 _ACEOF
73412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73413 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
73414 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
73415 else
73416 cat
73417 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
73418 || as_fn_error "could not setup config files machinery" "$LINENO" 5
73419 _ACEOF
73420
73421 # VPATH may cause trouble with some makes, so we remove $(srcdir),
73422 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
73423 # trailing colons and then remove the whole line if VPATH becomes empty
73424 # (actually we leave an empty line to preserve line numbers).
73425 if test "x$srcdir" = x.; then
73426 ac_vpsub='/^[ ]*VPATH[ ]*=/{
73427 s/:*\$(srcdir):*/:/
73428 s/:*\${srcdir}:*/:/
73429 s/:*@srcdir@:*/:/
73430 s/^\([^=]*=[ ]*\):*/\1/
73431 s/:*$//
73432 s/^[^=]*=[ ]*$//
73433 }'
73434 fi
73435
73436 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73437 fi # test -n "$CONFIG_FILES"
73438
73439 # Set up the scripts for CONFIG_HEADERS section.
73440 # No need to generate them if there are no CONFIG_HEADERS.
73441 # This happens for instance with `./config.status Makefile'.
73442 if test -n "$CONFIG_HEADERS"; then
73443 cat >"$tmp/defines.awk" <<\_ACAWK ||
73444 BEGIN {
73445 _ACEOF
73446
73447 # Transform confdefs.h into an awk script `defines.awk', embedded as
73448 # here-document in config.status, that substitutes the proper values into
73449 # config.h.in to produce config.h.
73450
73451 # Create a delimiter string that does not exist in confdefs.h, to ease
73452 # handling of long lines.
73453 ac_delim='%!_!# '
73454 for ac_last_try in false false :; do
73455 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
73456 if test -z "$ac_t"; then
73457 break
73458 elif $ac_last_try; then
73459 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
73460 else
73461 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73462 fi
73463 done
73464
73465 # For the awk script, D is an array of macro values keyed by name,
73466 # likewise P contains macro parameters if any. Preserve backslash
73467 # newline sequences.
73468
73469 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
73470 sed -n '
73471 s/.\{148\}/&'"$ac_delim"'/g
73472 t rset
73473 :rset
73474 s/^[ ]*#[ ]*define[ ][ ]*/ /
73475 t def
73476 d
73477 :def
73478 s/\\$//
73479 t bsnl
73480 s/["\\]/\\&/g
73481 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73482 D["\1"]=" \3"/p
73483 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
73484 d
73485 :bsnl
73486 s/["\\]/\\&/g
73487 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73488 D["\1"]=" \3\\\\\\n"\\/p
73489 t cont
73490 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
73491 t cont
73492 d
73493 :cont
73494 n
73495 s/.\{148\}/&'"$ac_delim"'/g
73496 t clear
73497 :clear
73498 s/\\$//
73499 t bsnlc
73500 s/["\\]/\\&/g; s/^/"/; s/$/"/p
73501 d
73502 :bsnlc
73503 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
73504 b cont
73505 ' <confdefs.h | sed '
73506 s/'"$ac_delim"'/"\\\
73507 "/g' >>$CONFIG_STATUS || ac_write_fail=1
73508
73509 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73510 for (key in D) D_is_set[key] = 1
73511 FS = "\a"
73512 }
73513 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
73514 line = \$ 0
73515 split(line, arg, " ")
73516 if (arg[1] == "#") {
73517 defundef = arg[2]
73518 mac1 = arg[3]
73519 } else {
73520 defundef = substr(arg[1], 2)
73521 mac1 = arg[2]
73522 }
73523 split(mac1, mac2, "(") #)
73524 macro = mac2[1]
73525 prefix = substr(line, 1, index(line, defundef) - 1)
73526 if (D_is_set[macro]) {
73527 # Preserve the white space surrounding the "#".
73528 print prefix "define", macro P[macro] D[macro]
73529 next
73530 } else {
73531 # Replace #undef with comments. This is necessary, for example,
73532 # in the case of _POSIX_SOURCE, which is predefined and required
73533 # on some systems where configure will not decide to define it.
73534 if (defundef == "undef") {
73535 print "/*", prefix defundef, macro, "*/"
73536 next
73537 }
73538 }
73539 }
73540 { print }
73541 _ACAWK
73542 _ACEOF
73543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73544 as_fn_error "could not setup config headers machinery" "$LINENO" 5
73545 fi # test -n "$CONFIG_HEADERS"
73546
73547
73548 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
73549 shift
73550 for ac_tag
73551 do
73552 case $ac_tag in
73553 :[FHLC]) ac_mode=$ac_tag; continue;;
73554 esac
73555 case $ac_mode$ac_tag in
73556 :[FHL]*:*);;
73557 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
73558 :[FH]-) ac_tag=-:-;;
73559 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
73560 esac
73561 ac_save_IFS=$IFS
73562 IFS=:
73563 set x $ac_tag
73564 IFS=$ac_save_IFS
73565 shift
73566 ac_file=$1
73567 shift
73568
73569 case $ac_mode in
73570 :L) ac_source=$1;;
73571 :[FH])
73572 ac_file_inputs=
73573 for ac_f
73574 do
73575 case $ac_f in
73576 -) ac_f="$tmp/stdin";;
73577 *) # Look for the file first in the build tree, then in the source tree
73578 # (if the path is not absolute). The absolute path cannot be DOS-style,
73579 # because $ac_f cannot contain `:'.
73580 test -f "$ac_f" ||
73581 case $ac_f in
73582 [\\/$]*) false;;
73583 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
73584 esac ||
73585 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
73586 esac
73587 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
73588 as_fn_append ac_file_inputs " '$ac_f'"
73589 done
73590
73591 # Let's still pretend it is `configure' which instantiates (i.e., don't
73592 # use $as_me), people would be surprised to read:
73593 # /* config.h. Generated by config.status. */
73594 configure_input='Generated from '`
73595 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
73596 `' by configure.'
73597 if test x"$ac_file" != x-; then
73598 configure_input="$ac_file. $configure_input"
73599 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
73600 $as_echo "$as_me: creating $ac_file" >&6;}
73601 fi
73602 # Neutralize special characters interpreted by sed in replacement strings.
73603 case $configure_input in #(
73604 *\&* | *\|* | *\\* )
73605 ac_sed_conf_input=`$as_echo "$configure_input" |
73606 sed 's/[\\\\&|]/\\\\&/g'`;; #(
73607 *) ac_sed_conf_input=$configure_input;;
73608 esac
73609
73610 case $ac_tag in
73611 *:-:* | *:-) cat >"$tmp/stdin" \
73612 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
73613 esac
73614 ;;
73615 esac
73616
73617 ac_dir=`$as_dirname -- "$ac_file" ||
73618 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73619 X"$ac_file" : 'X\(//\)[^/]' \| \
73620 X"$ac_file" : 'X\(//\)$' \| \
73621 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
73622 $as_echo X"$ac_file" |
73623 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73624 s//\1/
73625 q
73626 }
73627 /^X\(\/\/\)[^/].*/{
73628 s//\1/
73629 q
73630 }
73631 /^X\(\/\/\)$/{
73632 s//\1/
73633 q
73634 }
73635 /^X\(\/\).*/{
73636 s//\1/
73637 q
73638 }
73639 s/.*/./; q'`
73640 as_dir="$ac_dir"; as_fn_mkdir_p
73641 ac_builddir=.
73642
73643 case "$ac_dir" in
73644 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
73645 *)
73646 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
73647 # A ".." for each directory in $ac_dir_suffix.
73648 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
73649 case $ac_top_builddir_sub in
73650 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
73651 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
73652 esac ;;
73653 esac
73654 ac_abs_top_builddir=$ac_pwd
73655 ac_abs_builddir=$ac_pwd$ac_dir_suffix
73656 # for backward compatibility:
73657 ac_top_builddir=$ac_top_build_prefix
73658
73659 case $srcdir in
73660 .) # We are building in place.
73661 ac_srcdir=.
73662 ac_top_srcdir=$ac_top_builddir_sub
73663 ac_abs_top_srcdir=$ac_pwd ;;
73664 [\\/]* | ?:[\\/]* ) # Absolute name.
73665 ac_srcdir=$srcdir$ac_dir_suffix;
73666 ac_top_srcdir=$srcdir
73667 ac_abs_top_srcdir=$srcdir ;;
73668 *) # Relative name.
73669 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
73670 ac_top_srcdir=$ac_top_build_prefix$srcdir
73671 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
73672 esac
73673 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
73674
73675
73676 case $ac_mode in
73677 :F)
73678 #
73679 # CONFIG_FILE
73680 #
73681
73682 case $INSTALL in
73683 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
73684 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
73685 esac
73686 ac_MKDIR_P=$MKDIR_P
73687 case $MKDIR_P in
73688 [\\/$]* | ?:[\\/]* ) ;;
73689 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
73690 esac
73691 _ACEOF
73692
73693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73694 # If the template does not know about datarootdir, expand it.
73695 # FIXME: This hack should be removed a few years after 2.60.
73696 ac_datarootdir_hack=; ac_datarootdir_seen=
73697 ac_sed_dataroot='
73698 /datarootdir/ {
73699 p
73700 q
73701 }
73702 /@datadir@/p
73703 /@docdir@/p
73704 /@infodir@/p
73705 /@localedir@/p
73706 /@mandir@/p'
73707 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
73708 *datarootdir*) ac_datarootdir_seen=yes;;
73709 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
73710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
73711 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
73712 _ACEOF
73713 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73714 ac_datarootdir_hack='
73715 s&@datadir@&$datadir&g
73716 s&@docdir@&$docdir&g
73717 s&@infodir@&$infodir&g
73718 s&@localedir@&$localedir&g
73719 s&@mandir@&$mandir&g
73720 s&\\\${datarootdir}&$datarootdir&g' ;;
73721 esac
73722 _ACEOF
73723
73724 # Neutralize VPATH when `$srcdir' = `.'.
73725 # Shell code in configure.ac might set extrasub.
73726 # FIXME: do we really want to maintain this feature?
73727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73728 ac_sed_extra="$ac_vpsub
73729 $extrasub
73730 _ACEOF
73731 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73732 :t
73733 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
73734 s|@configure_input@|$ac_sed_conf_input|;t t
73735 s&@top_builddir@&$ac_top_builddir_sub&;t t
73736 s&@top_build_prefix@&$ac_top_build_prefix&;t t
73737 s&@srcdir@&$ac_srcdir&;t t
73738 s&@abs_srcdir@&$ac_abs_srcdir&;t t
73739 s&@top_srcdir@&$ac_top_srcdir&;t t
73740 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
73741 s&@builddir@&$ac_builddir&;t t
73742 s&@abs_builddir@&$ac_abs_builddir&;t t
73743 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
73744 s&@INSTALL@&$ac_INSTALL&;t t
73745 s&@MKDIR_P@&$ac_MKDIR_P&;t t
73746 $ac_datarootdir_hack
73747 "
73748 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
73749 || as_fn_error "could not create $ac_file" "$LINENO" 5
73750
73751 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
73752 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
73753 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
73754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73755 which seems to be undefined. Please make sure it is defined." >&5
73756 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73757 which seems to be undefined. Please make sure it is defined." >&2;}
73758
73759 rm -f "$tmp/stdin"
73760 case $ac_file in
73761 -) cat "$tmp/out" && rm -f "$tmp/out";;
73762 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
73763 esac \
73764 || as_fn_error "could not create $ac_file" "$LINENO" 5
73765 ;;
73766 :H)
73767 #
73768 # CONFIG_HEADER
73769 #
73770 if test x"$ac_file" != x-; then
73771 {
73772 $as_echo "/* $configure_input */" \
73773 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
73774 } >"$tmp/config.h" \
73775 || as_fn_error "could not create $ac_file" "$LINENO" 5
73776 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
73777 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
73778 $as_echo "$as_me: $ac_file is unchanged" >&6;}
73779 else
73780 rm -f "$ac_file"
73781 mv "$tmp/config.h" "$ac_file" \
73782 || as_fn_error "could not create $ac_file" "$LINENO" 5
73783 fi
73784 else
73785 $as_echo "/* $configure_input */" \
73786 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
73787 || as_fn_error "could not create -" "$LINENO" 5
73788 fi
73789 # Compute "$ac_file"'s index in $config_headers.
73790 _am_arg="$ac_file"
73791 _am_stamp_count=1
73792 for _am_header in $config_headers :; do
73793 case $_am_header in
73794 $_am_arg | $_am_arg:* )
73795 break ;;
73796 * )
73797 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
73798 esac
73799 done
73800 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
73801 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73802 X"$_am_arg" : 'X\(//\)[^/]' \| \
73803 X"$_am_arg" : 'X\(//\)$' \| \
73804 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
73805 $as_echo X"$_am_arg" |
73806 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73807 s//\1/
73808 q
73809 }
73810 /^X\(\/\/\)[^/].*/{
73811 s//\1/
73812 q
73813 }
73814 /^X\(\/\/\)$/{
73815 s//\1/
73816 q
73817 }
73818 /^X\(\/\).*/{
73819 s//\1/
73820 q
73821 }
73822 s/.*/./; q'`/stamp-h$_am_stamp_count
73823 ;;
73824
73825 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
73826 $as_echo "$as_me: executing $ac_file commands" >&6;}
73827 ;;
73828 esac
73829
73830
73831 case $ac_file$ac_mode in
73832 "default-1":C)
73833 # Only add multilib support code if we just rebuilt the top-level
73834 # Makefile.
73835 case " $CONFIG_FILES " in
73836 *" Makefile "*)
73837 ac_file=Makefile . ${multi_basedir}/config-ml.in
73838 ;;
73839 esac ;;
73840 "libtool":C)
73841
73842 # See if we are running on zsh, and set the options which allow our
73843 # commands through without removal of \ escapes.
73844 if test -n "${ZSH_VERSION+set}" ; then
73845 setopt NO_GLOB_SUBST
73846 fi
73847
73848 cfgfile="${ofile}T"
73849 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
73850 $RM "$cfgfile"
73851
73852 cat <<_LT_EOF >> "$cfgfile"
73853 #! $SHELL
73854
73855 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
73856 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
73857 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
73858 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
73859 #
73860 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
73861 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
73862 # Written by Gordon Matzigkeit, 1996
73863 #
73864 # This file is part of GNU Libtool.
73865 #
73866 # GNU Libtool is free software; you can redistribute it and/or
73867 # modify it under the terms of the GNU General Public License as
73868 # published by the Free Software Foundation; either version 2 of
73869 # the License, or (at your option) any later version.
73870 #
73871 # As a special exception to the GNU General Public License,
73872 # if you distribute this file as part of a program or library that
73873 # is built using GNU Libtool, you may include this file under the
73874 # same distribution terms that you use for the rest of that program.
73875 #
73876 # GNU Libtool is distributed in the hope that it will be useful,
73877 # but WITHOUT ANY WARRANTY; without even the implied warranty of
73878 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
73879 # GNU General Public License for more details.
73880 #
73881 # You should have received a copy of the GNU General Public License
73882 # along with GNU Libtool; see the file COPYING. If not, a copy
73883 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
73884 # obtained by writing to the Free Software Foundation, Inc.,
73885 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
73886
73887
73888 # The names of the tagged configurations supported by this script.
73889 available_tags="CXX "
73890
73891 # ### BEGIN LIBTOOL CONFIG
73892
73893 # Which release of libtool.m4 was used?
73894 macro_version=$macro_version
73895 macro_revision=$macro_revision
73896
73897 # Whether or not to build shared libraries.
73898 build_libtool_libs=$enable_shared
73899
73900 # Whether or not to build static libraries.
73901 build_old_libs=$enable_static
73902
73903 # What type of objects to build.
73904 pic_mode=$pic_mode
73905
73906 # Whether or not to optimize for fast installation.
73907 fast_install=$enable_fast_install
73908
73909 # Shell to use when invoking shell scripts.
73910 SHELL=$lt_SHELL
73911
73912 # An echo program that protects backslashes.
73913 ECHO=$lt_ECHO
73914
73915 # The host system.
73916 host_alias=$host_alias
73917 host=$host
73918 host_os=$host_os
73919
73920 # The build system.
73921 build_alias=$build_alias
73922 build=$build
73923 build_os=$build_os
73924
73925 # A sed program that does not truncate output.
73926 SED=$lt_SED
73927
73928 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
73929 Xsed="\$SED -e 1s/^X//"
73930
73931 # A grep program that handles long lines.
73932 GREP=$lt_GREP
73933
73934 # An ERE matcher.
73935 EGREP=$lt_EGREP
73936
73937 # A literal string matcher.
73938 FGREP=$lt_FGREP
73939
73940 # A BSD- or MS-compatible name lister.
73941 NM=$lt_NM
73942
73943 # Whether we need soft or hard links.
73944 LN_S=$lt_LN_S
73945
73946 # What is the maximum length of a command?
73947 max_cmd_len=$max_cmd_len
73948
73949 # Object file suffix (normally "o").
73950 objext=$ac_objext
73951
73952 # Executable file suffix (normally "").
73953 exeext=$exeext
73954
73955 # whether the shell understands "unset".
73956 lt_unset=$lt_unset
73957
73958 # turn spaces into newlines.
73959 SP2NL=$lt_lt_SP2NL
73960
73961 # turn newlines into spaces.
73962 NL2SP=$lt_lt_NL2SP
73963
73964 # An object symbol dumper.
73965 OBJDUMP=$lt_OBJDUMP
73966
73967 # Method to check whether dependent libraries are shared objects.
73968 deplibs_check_method=$lt_deplibs_check_method
73969
73970 # Command to use when deplibs_check_method == "file_magic".
73971 file_magic_cmd=$lt_file_magic_cmd
73972
73973 # The archiver.
73974 AR=$lt_AR
73975 AR_FLAGS=$lt_AR_FLAGS
73976
73977 # A symbol stripping program.
73978 STRIP=$lt_STRIP
73979
73980 # Commands used to install an old-style archive.
73981 RANLIB=$lt_RANLIB
73982 old_postinstall_cmds=$lt_old_postinstall_cmds
73983 old_postuninstall_cmds=$lt_old_postuninstall_cmds
73984
73985 # Whether to use a lock for old archive extraction.
73986 lock_old_archive_extraction=$lock_old_archive_extraction
73987
73988 # A C compiler.
73989 LTCC=$lt_CC
73990
73991 # LTCC compiler flags.
73992 LTCFLAGS=$lt_CFLAGS
73993
73994 # Take the output of nm and produce a listing of raw symbols and C names.
73995 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
73996
73997 # Transform the output of nm in a proper C declaration.
73998 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
73999
74000 # Transform the output of nm in a C name address pair.
74001 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
74002
74003 # Transform the output of nm in a C name address pair when lib prefix is needed.
74004 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
74005
74006 # The name of the directory that contains temporary libtool files.
74007 objdir=$objdir
74008
74009 # Used to examine libraries when file_magic_cmd begins with "file".
74010 MAGIC_CMD=$MAGIC_CMD
74011
74012 # Must we lock files when doing compilation?
74013 need_locks=$lt_need_locks
74014
74015 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
74016 DSYMUTIL=$lt_DSYMUTIL
74017
74018 # Tool to change global to local symbols on Mac OS X.
74019 NMEDIT=$lt_NMEDIT
74020
74021 # Tool to manipulate fat objects and archives on Mac OS X.
74022 LIPO=$lt_LIPO
74023
74024 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
74025 OTOOL=$lt_OTOOL
74026
74027 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
74028 OTOOL64=$lt_OTOOL64
74029
74030 # Old archive suffix (normally "a").
74031 libext=$libext
74032
74033 # Shared library suffix (normally ".so").
74034 shrext_cmds=$lt_shrext_cmds
74035
74036 # The commands to extract the exported symbol list from a shared archive.
74037 extract_expsyms_cmds=$lt_extract_expsyms_cmds
74038
74039 # Variables whose values should be saved in libtool wrapper scripts and
74040 # restored at link time.
74041 variables_saved_for_relink=$lt_variables_saved_for_relink
74042
74043 # Do we need the "lib" prefix for modules?
74044 need_lib_prefix=$need_lib_prefix
74045
74046 # Do we need a version for libraries?
74047 need_version=$need_version
74048
74049 # Library versioning type.
74050 version_type=$version_type
74051
74052 # Shared library runtime path variable.
74053 runpath_var=$runpath_var
74054
74055 # Shared library path variable.
74056 shlibpath_var=$shlibpath_var
74057
74058 # Is shlibpath searched before the hard-coded library search path?
74059 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
74060
74061 # Format of library name prefix.
74062 libname_spec=$lt_libname_spec
74063
74064 # List of archive names. First name is the real one, the rest are links.
74065 # The last name is the one that the linker finds with -lNAME
74066 library_names_spec=$lt_library_names_spec
74067
74068 # The coded name of the library, if different from the real name.
74069 soname_spec=$lt_soname_spec
74070
74071 # Permission mode override for installation of shared libraries.
74072 install_override_mode=$lt_install_override_mode
74073
74074 # Command to use after installation of a shared archive.
74075 postinstall_cmds=$lt_postinstall_cmds
74076
74077 # Command to use after uninstallation of a shared archive.
74078 postuninstall_cmds=$lt_postuninstall_cmds
74079
74080 # Commands used to finish a libtool library installation in a directory.
74081 finish_cmds=$lt_finish_cmds
74082
74083 # As "finish_cmds", except a single script fragment to be evaled but
74084 # not shown.
74085 finish_eval=$lt_finish_eval
74086
74087 # Whether we should hardcode library paths into libraries.
74088 hardcode_into_libs=$hardcode_into_libs
74089
74090 # Compile-time system search path for libraries.
74091 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
74092
74093 # Run-time system search path for libraries.
74094 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
74095
74096 # Whether dlopen is supported.
74097 dlopen_support=$enable_dlopen
74098
74099 # Whether dlopen of programs is supported.
74100 dlopen_self=$enable_dlopen_self
74101
74102 # Whether dlopen of statically linked programs is supported.
74103 dlopen_self_static=$enable_dlopen_self_static
74104
74105 # Commands to strip libraries.
74106 old_striplib=$lt_old_striplib
74107 striplib=$lt_striplib
74108
74109
74110 # The linker used to build libraries.
74111 LD=$lt_LD
74112
74113 # How to create reloadable object files.
74114 reload_flag=$lt_reload_flag
74115 reload_cmds=$lt_reload_cmds
74116
74117 # Commands used to build an old-style archive.
74118 old_archive_cmds=$lt_old_archive_cmds
74119
74120 # A language specific compiler.
74121 CC=$lt_compiler
74122
74123 # Is the compiler the GNU compiler?
74124 with_gcc=$GCC
74125
74126 # Compiler flag to turn off builtin functions.
74127 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
74128
74129 # How to pass a linker flag through the compiler.
74130 wl=$lt_lt_prog_compiler_wl
74131
74132 # Additional compiler flags for building library objects.
74133 pic_flag=$lt_lt_prog_compiler_pic
74134
74135 # Compiler flag to prevent dynamic linking.
74136 link_static_flag=$lt_lt_prog_compiler_static
74137
74138 # Does compiler simultaneously support -c and -o options?
74139 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
74140
74141 # Whether or not to add -lc for building shared libraries.
74142 build_libtool_need_lc=$archive_cmds_need_lc
74143
74144 # Whether or not to disallow shared libs when runtime libs are static.
74145 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
74146
74147 # Compiler flag to allow reflexive dlopens.
74148 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
74149
74150 # Compiler flag to generate shared objects directly from archives.
74151 whole_archive_flag_spec=$lt_whole_archive_flag_spec
74152
74153 # Whether the compiler copes with passing no objects directly.
74154 compiler_needs_object=$lt_compiler_needs_object
74155
74156 # Create an old-style archive from a shared archive.
74157 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
74158
74159 # Create a temporary old-style archive to link instead of a shared archive.
74160 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
74161
74162 # Commands used to build a shared archive.
74163 archive_cmds=$lt_archive_cmds
74164 archive_expsym_cmds=$lt_archive_expsym_cmds
74165
74166 # Commands used to build a loadable module if different from building
74167 # a shared archive.
74168 module_cmds=$lt_module_cmds
74169 module_expsym_cmds=$lt_module_expsym_cmds
74170
74171 # Whether we are building with GNU ld or not.
74172 with_gnu_ld=$lt_with_gnu_ld
74173
74174 # Flag that allows shared libraries with undefined symbols to be built.
74175 allow_undefined_flag=$lt_allow_undefined_flag
74176
74177 # Flag that enforces no undefined symbols.
74178 no_undefined_flag=$lt_no_undefined_flag
74179
74180 # Flag to hardcode \$libdir into a binary during linking.
74181 # This must work even if \$libdir does not exist
74182 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
74183
74184 # If ld is used when linking, flag to hardcode \$libdir into a binary
74185 # during linking. This must work even if \$libdir does not exist.
74186 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
74187
74188 # Whether we need a single "-rpath" flag with a separated argument.
74189 hardcode_libdir_separator=$lt_hardcode_libdir_separator
74190
74191 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74192 # DIR into the resulting binary.
74193 hardcode_direct=$hardcode_direct
74194
74195 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74196 # DIR into the resulting binary and the resulting library dependency is
74197 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74198 # library is relocated.
74199 hardcode_direct_absolute=$hardcode_direct_absolute
74200
74201 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74202 # into the resulting binary.
74203 hardcode_minus_L=$hardcode_minus_L
74204
74205 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74206 # into the resulting binary.
74207 hardcode_shlibpath_var=$hardcode_shlibpath_var
74208
74209 # Set to "yes" if building a shared library automatically hardcodes DIR
74210 # into the library and all subsequent libraries and executables linked
74211 # against it.
74212 hardcode_automatic=$hardcode_automatic
74213
74214 # Set to yes if linker adds runtime paths of dependent libraries
74215 # to runtime path list.
74216 inherit_rpath=$inherit_rpath
74217
74218 # Whether libtool must link a program against all its dependency libraries.
74219 link_all_deplibs=$link_all_deplibs
74220
74221 # Fix the shell variable \$srcfile for the compiler.
74222 fix_srcfile_path=$lt_fix_srcfile_path
74223
74224 # Set to "yes" if exported symbols are required.
74225 always_export_symbols=$always_export_symbols
74226
74227 # The commands to list exported symbols.
74228 export_symbols_cmds=$lt_export_symbols_cmds
74229
74230 # Symbols that should not be listed in the preloaded symbols.
74231 exclude_expsyms=$lt_exclude_expsyms
74232
74233 # Symbols that must always be exported.
74234 include_expsyms=$lt_include_expsyms
74235
74236 # Commands necessary for linking programs (against libraries) with templates.
74237 prelink_cmds=$lt_prelink_cmds
74238
74239 # Specify filename containing input files.
74240 file_list_spec=$lt_file_list_spec
74241
74242 # How to hardcode a shared library path into an executable.
74243 hardcode_action=$hardcode_action
74244
74245 # The directories searched by this compiler when creating a shared library.
74246 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
74247
74248 # Dependencies to place before and after the objects being linked to
74249 # create a shared library.
74250 predep_objects=$lt_predep_objects
74251 postdep_objects=$lt_postdep_objects
74252 predeps=$lt_predeps
74253 postdeps=$lt_postdeps
74254
74255 # The library search path used internally by the compiler when linking
74256 # a shared library.
74257 compiler_lib_search_path=$lt_compiler_lib_search_path
74258
74259 # ### END LIBTOOL CONFIG
74260
74261 _LT_EOF
74262
74263 case $host_os in
74264 aix3*)
74265 cat <<\_LT_EOF >> "$cfgfile"
74266 # AIX sometimes has problems with the GCC collect2 program. For some
74267 # reason, if we set the COLLECT_NAMES environment variable, the problems
74268 # vanish in a puff of smoke.
74269 if test "X${COLLECT_NAMES+set}" != Xset; then
74270 COLLECT_NAMES=
74271 export COLLECT_NAMES
74272 fi
74273 _LT_EOF
74274 ;;
74275 esac
74276
74277
74278 ltmain="$ac_aux_dir/ltmain.sh"
74279
74280
74281 # We use sed instead of cat because bash on DJGPP gets confused if
74282 # if finds mixed CR/LF and LF-only lines. Since sed operates in
74283 # text mode, it properly converts lines to CR/LF. This bash problem
74284 # is reportedly fixed, but why not run on old versions too?
74285 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
74286 || (rm -f "$cfgfile"; exit 1)
74287
74288 case $xsi_shell in
74289 yes)
74290 cat << \_LT_EOF >> "$cfgfile"
74291
74292 # func_dirname file append nondir_replacement
74293 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74294 # otherwise set result to NONDIR_REPLACEMENT.
74295 func_dirname ()
74296 {
74297 case ${1} in
74298 */*) func_dirname_result="${1%/*}${2}" ;;
74299 * ) func_dirname_result="${3}" ;;
74300 esac
74301 }
74302
74303 # func_basename file
74304 func_basename ()
74305 {
74306 func_basename_result="${1##*/}"
74307 }
74308
74309 # func_dirname_and_basename file append nondir_replacement
74310 # perform func_basename and func_dirname in a single function
74311 # call:
74312 # dirname: Compute the dirname of FILE. If nonempty,
74313 # add APPEND to the result, otherwise set result
74314 # to NONDIR_REPLACEMENT.
74315 # value returned in "$func_dirname_result"
74316 # basename: Compute filename of FILE.
74317 # value retuned in "$func_basename_result"
74318 # Implementation must be kept synchronized with func_dirname
74319 # and func_basename. For efficiency, we do not delegate to
74320 # those functions but instead duplicate the functionality here.
74321 func_dirname_and_basename ()
74322 {
74323 case ${1} in
74324 */*) func_dirname_result="${1%/*}${2}" ;;
74325 * ) func_dirname_result="${3}" ;;
74326 esac
74327 func_basename_result="${1##*/}"
74328 }
74329
74330 # func_stripname prefix suffix name
74331 # strip PREFIX and SUFFIX off of NAME.
74332 # PREFIX and SUFFIX must not contain globbing or regex special
74333 # characters, hashes, percent signs, but SUFFIX may contain a leading
74334 # dot (in which case that matches only a dot).
74335 func_stripname ()
74336 {
74337 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
74338 # positional parameters, so assign one to ordinary parameter first.
74339 func_stripname_result=${3}
74340 func_stripname_result=${func_stripname_result#"${1}"}
74341 func_stripname_result=${func_stripname_result%"${2}"}
74342 }
74343
74344 # func_opt_split
74345 func_opt_split ()
74346 {
74347 func_opt_split_opt=${1%%=*}
74348 func_opt_split_arg=${1#*=}
74349 }
74350
74351 # func_lo2o object
74352 func_lo2o ()
74353 {
74354 case ${1} in
74355 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
74356 *) func_lo2o_result=${1} ;;
74357 esac
74358 }
74359
74360 # func_xform libobj-or-source
74361 func_xform ()
74362 {
74363 func_xform_result=${1%.*}.lo
74364 }
74365
74366 # func_arith arithmetic-term...
74367 func_arith ()
74368 {
74369 func_arith_result=$(( $* ))
74370 }
74371
74372 # func_len string
74373 # STRING may not start with a hyphen.
74374 func_len ()
74375 {
74376 func_len_result=${#1}
74377 }
74378
74379 _LT_EOF
74380 ;;
74381 *) # Bourne compatible functions.
74382 cat << \_LT_EOF >> "$cfgfile"
74383
74384 # func_dirname file append nondir_replacement
74385 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74386 # otherwise set result to NONDIR_REPLACEMENT.
74387 func_dirname ()
74388 {
74389 # Extract subdirectory from the argument.
74390 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
74391 if test "X$func_dirname_result" = "X${1}"; then
74392 func_dirname_result="${3}"
74393 else
74394 func_dirname_result="$func_dirname_result${2}"
74395 fi
74396 }
74397
74398 # func_basename file
74399 func_basename ()
74400 {
74401 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
74402 }
74403
74404
74405 # func_stripname prefix suffix name
74406 # strip PREFIX and SUFFIX off of NAME.
74407 # PREFIX and SUFFIX must not contain globbing or regex special
74408 # characters, hashes, percent signs, but SUFFIX may contain a leading
74409 # dot (in which case that matches only a dot).
74410 # func_strip_suffix prefix name
74411 func_stripname ()
74412 {
74413 case ${2} in
74414 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
74415 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
74416 esac
74417 }
74418
74419 # sed scripts:
74420 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
74421 my_sed_long_arg='1s/^-[^=]*=//'
74422
74423 # func_opt_split
74424 func_opt_split ()
74425 {
74426 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
74427 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
74428 }
74429
74430 # func_lo2o object
74431 func_lo2o ()
74432 {
74433 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
74434 }
74435
74436 # func_xform libobj-or-source
74437 func_xform ()
74438 {
74439 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
74440 }
74441
74442 # func_arith arithmetic-term...
74443 func_arith ()
74444 {
74445 func_arith_result=`expr "$@"`
74446 }
74447
74448 # func_len string
74449 # STRING may not start with a hyphen.
74450 func_len ()
74451 {
74452 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
74453 }
74454
74455 _LT_EOF
74456 esac
74457
74458 case $lt_shell_append in
74459 yes)
74460 cat << \_LT_EOF >> "$cfgfile"
74461
74462 # func_append var value
74463 # Append VALUE to the end of shell variable VAR.
74464 func_append ()
74465 {
74466 eval "$1+=\$2"
74467 }
74468 _LT_EOF
74469 ;;
74470 *)
74471 cat << \_LT_EOF >> "$cfgfile"
74472
74473 # func_append var value
74474 # Append VALUE to the end of shell variable VAR.
74475 func_append ()
74476 {
74477 eval "$1=\$$1\$2"
74478 }
74479
74480 _LT_EOF
74481 ;;
74482 esac
74483
74484
74485 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
74486 || (rm -f "$cfgfile"; exit 1)
74487
74488 mv -f "$cfgfile" "$ofile" ||
74489 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
74490 chmod +x "$ofile"
74491
74492
74493 cat <<_LT_EOF >> "$ofile"
74494
74495 # ### BEGIN LIBTOOL TAG CONFIG: CXX
74496
74497 # The linker used to build libraries.
74498 LD=$lt_LD_CXX
74499
74500 # How to create reloadable object files.
74501 reload_flag=$lt_reload_flag_CXX
74502 reload_cmds=$lt_reload_cmds_CXX
74503
74504 # Commands used to build an old-style archive.
74505 old_archive_cmds=$lt_old_archive_cmds_CXX
74506
74507 # A language specific compiler.
74508 CC=$lt_compiler_CXX
74509
74510 # Is the compiler the GNU compiler?
74511 with_gcc=$GCC_CXX
74512
74513 # Compiler flag to turn off builtin functions.
74514 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
74515
74516 # How to pass a linker flag through the compiler.
74517 wl=$lt_lt_prog_compiler_wl_CXX
74518
74519 # Additional compiler flags for building library objects.
74520 pic_flag=$lt_lt_prog_compiler_pic_CXX
74521
74522 # Compiler flag to prevent dynamic linking.
74523 link_static_flag=$lt_lt_prog_compiler_static_CXX
74524
74525 # Does compiler simultaneously support -c and -o options?
74526 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
74527
74528 # Whether or not to add -lc for building shared libraries.
74529 build_libtool_need_lc=$archive_cmds_need_lc_CXX
74530
74531 # Whether or not to disallow shared libs when runtime libs are static.
74532 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
74533
74534 # Compiler flag to allow reflexive dlopens.
74535 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
74536
74537 # Compiler flag to generate shared objects directly from archives.
74538 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
74539
74540 # Whether the compiler copes with passing no objects directly.
74541 compiler_needs_object=$lt_compiler_needs_object_CXX
74542
74543 # Create an old-style archive from a shared archive.
74544 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
74545
74546 # Create a temporary old-style archive to link instead of a shared archive.
74547 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
74548
74549 # Commands used to build a shared archive.
74550 archive_cmds=$lt_archive_cmds_CXX
74551 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
74552
74553 # Commands used to build a loadable module if different from building
74554 # a shared archive.
74555 module_cmds=$lt_module_cmds_CXX
74556 module_expsym_cmds=$lt_module_expsym_cmds_CXX
74557
74558 # Whether we are building with GNU ld or not.
74559 with_gnu_ld=$lt_with_gnu_ld_CXX
74560
74561 # Flag that allows shared libraries with undefined symbols to be built.
74562 allow_undefined_flag=$lt_allow_undefined_flag_CXX
74563
74564 # Flag that enforces no undefined symbols.
74565 no_undefined_flag=$lt_no_undefined_flag_CXX
74566
74567 # Flag to hardcode \$libdir into a binary during linking.
74568 # This must work even if \$libdir does not exist
74569 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
74570
74571 # If ld is used when linking, flag to hardcode \$libdir into a binary
74572 # during linking. This must work even if \$libdir does not exist.
74573 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
74574
74575 # Whether we need a single "-rpath" flag with a separated argument.
74576 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
74577
74578 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74579 # DIR into the resulting binary.
74580 hardcode_direct=$hardcode_direct_CXX
74581
74582 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74583 # DIR into the resulting binary and the resulting library dependency is
74584 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74585 # library is relocated.
74586 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
74587
74588 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74589 # into the resulting binary.
74590 hardcode_minus_L=$hardcode_minus_L_CXX
74591
74592 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74593 # into the resulting binary.
74594 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
74595
74596 # Set to "yes" if building a shared library automatically hardcodes DIR
74597 # into the library and all subsequent libraries and executables linked
74598 # against it.
74599 hardcode_automatic=$hardcode_automatic_CXX
74600
74601 # Set to yes if linker adds runtime paths of dependent libraries
74602 # to runtime path list.
74603 inherit_rpath=$inherit_rpath_CXX
74604
74605 # Whether libtool must link a program against all its dependency libraries.
74606 link_all_deplibs=$link_all_deplibs_CXX
74607
74608 # Fix the shell variable \$srcfile for the compiler.
74609 fix_srcfile_path=$lt_fix_srcfile_path_CXX
74610
74611 # Set to "yes" if exported symbols are required.
74612 always_export_symbols=$always_export_symbols_CXX
74613
74614 # The commands to list exported symbols.
74615 export_symbols_cmds=$lt_export_symbols_cmds_CXX
74616
74617 # Symbols that should not be listed in the preloaded symbols.
74618 exclude_expsyms=$lt_exclude_expsyms_CXX
74619
74620 # Symbols that must always be exported.
74621 include_expsyms=$lt_include_expsyms_CXX
74622
74623 # Commands necessary for linking programs (against libraries) with templates.
74624 prelink_cmds=$lt_prelink_cmds_CXX
74625
74626 # Specify filename containing input files.
74627 file_list_spec=$lt_file_list_spec_CXX
74628
74629 # How to hardcode a shared library path into an executable.
74630 hardcode_action=$hardcode_action_CXX
74631
74632 # The directories searched by this compiler when creating a shared library.
74633 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
74634
74635 # Dependencies to place before and after the objects being linked to
74636 # create a shared library.
74637 predep_objects=$lt_predep_objects_CXX
74638 postdep_objects=$lt_postdep_objects_CXX
74639 predeps=$lt_predeps_CXX
74640 postdeps=$lt_postdeps_CXX
74641
74642 # The library search path used internally by the compiler when linking
74643 # a shared library.
74644 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
74645
74646 # ### END LIBTOOL TAG CONFIG: CXX
74647 _LT_EOF
74648
74649 ;;
74650 "include/gstdint.h":C)
74651 if test "$GCC" = yes; then
74652 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
74653 else
74654 echo "/* generated for $CC */" > tmp-stdint.h
74655 fi
74656
74657 sed 's/^ *//' >> tmp-stdint.h <<EOF
74658
74659 #ifndef GCC_GENERATED_STDINT_H
74660 #define GCC_GENERATED_STDINT_H 1
74661
74662 #include <sys/types.h>
74663 EOF
74664
74665 if test "$acx_cv_header_stdint" != stdint.h; then
74666 echo "#include <stddef.h>" >> tmp-stdint.h
74667 fi
74668 if test "$acx_cv_header_stdint" != stddef.h; then
74669 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
74670 fi
74671
74672 sed 's/^ *//' >> tmp-stdint.h <<EOF
74673 /* glibc uses these symbols as guards to prevent redefinitions. */
74674 #ifdef __int8_t_defined
74675 #define _INT8_T
74676 #define _INT16_T
74677 #define _INT32_T
74678 #endif
74679 #ifdef __uint32_t_defined
74680 #define _UINT32_T
74681 #endif
74682
74683 EOF
74684
74685 # ----------------- done header, emit basic int types -------------
74686 if test "$acx_cv_header_stdint" = stddef.h; then
74687 sed 's/^ *//' >> tmp-stdint.h <<EOF
74688
74689 #ifndef _UINT8_T
74690 #define _UINT8_T
74691 #ifndef __uint8_t_defined
74692 #define __uint8_t_defined
74693 #ifndef uint8_t
74694 typedef unsigned $acx_cv_type_int8_t uint8_t;
74695 #endif
74696 #endif
74697 #endif
74698
74699 #ifndef _UINT16_T
74700 #define _UINT16_T
74701 #ifndef __uint16_t_defined
74702 #define __uint16_t_defined
74703 #ifndef uint16_t
74704 typedef unsigned $acx_cv_type_int16_t uint16_t;
74705 #endif
74706 #endif
74707 #endif
74708
74709 #ifndef _UINT32_T
74710 #define _UINT32_T
74711 #ifndef __uint32_t_defined
74712 #define __uint32_t_defined
74713 #ifndef uint32_t
74714 typedef unsigned $acx_cv_type_int32_t uint32_t;
74715 #endif
74716 #endif
74717 #endif
74718
74719 #ifndef _INT8_T
74720 #define _INT8_T
74721 #ifndef __int8_t_defined
74722 #define __int8_t_defined
74723 #ifndef int8_t
74724 typedef $acx_cv_type_int8_t int8_t;
74725 #endif
74726 #endif
74727 #endif
74728
74729 #ifndef _INT16_T
74730 #define _INT16_T
74731 #ifndef __int16_t_defined
74732 #define __int16_t_defined
74733 #ifndef int16_t
74734 typedef $acx_cv_type_int16_t int16_t;
74735 #endif
74736 #endif
74737 #endif
74738
74739 #ifndef _INT32_T
74740 #define _INT32_T
74741 #ifndef __int32_t_defined
74742 #define __int32_t_defined
74743 #ifndef int32_t
74744 typedef $acx_cv_type_int32_t int32_t;
74745 #endif
74746 #endif
74747 #endif
74748 EOF
74749 elif test "$ac_cv_type_u_int32_t" = yes; then
74750 sed 's/^ *//' >> tmp-stdint.h <<EOF
74751
74752 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
74753 #ifndef _INT8_T
74754 #define _INT8_T
74755 #endif
74756 #ifndef _INT16_T
74757 #define _INT16_T
74758 #endif
74759 #ifndef _INT32_T
74760 #define _INT32_T
74761 #endif
74762
74763 #ifndef _UINT8_T
74764 #define _UINT8_T
74765 #ifndef __uint8_t_defined
74766 #define __uint8_t_defined
74767 #ifndef uint8_t
74768 typedef u_int8_t uint8_t;
74769 #endif
74770 #endif
74771 #endif
74772
74773 #ifndef _UINT16_T
74774 #define _UINT16_T
74775 #ifndef __uint16_t_defined
74776 #define __uint16_t_defined
74777 #ifndef uint16_t
74778 typedef u_int16_t uint16_t;
74779 #endif
74780 #endif
74781 #endif
74782
74783 #ifndef _UINT32_T
74784 #define _UINT32_T
74785 #ifndef __uint32_t_defined
74786 #define __uint32_t_defined
74787 #ifndef uint32_t
74788 typedef u_int32_t uint32_t;
74789 #endif
74790 #endif
74791 #endif
74792 EOF
74793 else
74794 sed 's/^ *//' >> tmp-stdint.h <<EOF
74795
74796 /* Some systems have guard macros to prevent redefinitions, define them. */
74797 #ifndef _INT8_T
74798 #define _INT8_T
74799 #endif
74800 #ifndef _INT16_T
74801 #define _INT16_T
74802 #endif
74803 #ifndef _INT32_T
74804 #define _INT32_T
74805 #endif
74806 #ifndef _UINT8_T
74807 #define _UINT8_T
74808 #endif
74809 #ifndef _UINT16_T
74810 #define _UINT16_T
74811 #endif
74812 #ifndef _UINT32_T
74813 #define _UINT32_T
74814 #endif
74815 EOF
74816 fi
74817
74818 # ------------- done basic int types, emit int64_t types ------------
74819 if test "$ac_cv_type_uint64_t" = yes; then
74820 sed 's/^ *//' >> tmp-stdint.h <<EOF
74821
74822 /* system headers have good uint64_t and int64_t */
74823 #ifndef _INT64_T
74824 #define _INT64_T
74825 #endif
74826 #ifndef _UINT64_T
74827 #define _UINT64_T
74828 #endif
74829 EOF
74830 elif test "$ac_cv_type_u_int64_t" = yes; then
74831 sed 's/^ *//' >> tmp-stdint.h <<EOF
74832
74833 /* system headers have an u_int64_t (and int64_t) */
74834 #ifndef _INT64_T
74835 #define _INT64_T
74836 #endif
74837 #ifndef _UINT64_T
74838 #define _UINT64_T
74839 #ifndef __uint64_t_defined
74840 #define __uint64_t_defined
74841 #ifndef uint64_t
74842 typedef u_int64_t uint64_t;
74843 #endif
74844 #endif
74845 #endif
74846 EOF
74847 elif test -n "$acx_cv_type_int64_t"; then
74848 sed 's/^ *//' >> tmp-stdint.h <<EOF
74849
74850 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
74851 #ifndef _INT64_T
74852 #define _INT64_T
74853 #ifndef int64_t
74854 typedef $acx_cv_type_int64_t int64_t;
74855 #endif
74856 #endif
74857 #ifndef _UINT64_T
74858 #define _UINT64_T
74859 #ifndef __uint64_t_defined
74860 #define __uint64_t_defined
74861 #ifndef uint64_t
74862 typedef unsigned $acx_cv_type_int64_t uint64_t;
74863 #endif
74864 #endif
74865 #endif
74866 EOF
74867 else
74868 sed 's/^ *//' >> tmp-stdint.h <<EOF
74869
74870 /* some common heuristics for int64_t, using compiler-specific tests */
74871 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
74872 #ifndef _INT64_T
74873 #define _INT64_T
74874 #ifndef __int64_t_defined
74875 #ifndef int64_t
74876 typedef long long int64_t;
74877 #endif
74878 #endif
74879 #endif
74880 #ifndef _UINT64_T
74881 #define _UINT64_T
74882 #ifndef uint64_t
74883 typedef unsigned long long uint64_t;
74884 #endif
74885 #endif
74886
74887 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
74888 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
74889 does not implement __extension__. But that compiler doesn't define
74890 __GNUC_MINOR__. */
74891 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
74892 # define __extension__
74893 # endif
74894
74895 # ifndef _INT64_T
74896 # define _INT64_T
74897 # ifndef int64_t
74898 __extension__ typedef long long int64_t;
74899 # endif
74900 # endif
74901 # ifndef _UINT64_T
74902 # define _UINT64_T
74903 # ifndef uint64_t
74904 __extension__ typedef unsigned long long uint64_t;
74905 # endif
74906 # endif
74907
74908 #elif !defined __STRICT_ANSI__
74909 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
74910
74911 # ifndef _INT64_T
74912 # define _INT64_T
74913 # ifndef int64_t
74914 typedef __int64 int64_t;
74915 # endif
74916 # endif
74917 # ifndef _UINT64_T
74918 # define _UINT64_T
74919 # ifndef uint64_t
74920 typedef unsigned __int64 uint64_t;
74921 # endif
74922 # endif
74923 # endif /* compiler */
74924
74925 #endif /* ANSI version */
74926 EOF
74927 fi
74928
74929 # ------------- done int64_t types, emit intptr types ------------
74930 if test "$ac_cv_type_uintptr_t" != yes; then
74931 sed 's/^ *//' >> tmp-stdint.h <<EOF
74932
74933 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
74934 #ifndef __uintptr_t_defined
74935 #ifndef uintptr_t
74936 typedef u$acx_cv_type_intptr_t uintptr_t;
74937 #endif
74938 #endif
74939 #ifndef __intptr_t_defined
74940 #ifndef intptr_t
74941 typedef $acx_cv_type_intptr_t intptr_t;
74942 #endif
74943 #endif
74944 EOF
74945 fi
74946
74947 # ------------- done intptr types, emit int_least types ------------
74948 if test "$ac_cv_type_int_least32_t" != yes; then
74949 sed 's/^ *//' >> tmp-stdint.h <<EOF
74950
74951 /* Define int_least types */
74952 typedef int8_t int_least8_t;
74953 typedef int16_t int_least16_t;
74954 typedef int32_t int_least32_t;
74955 #ifdef _INT64_T
74956 typedef int64_t int_least64_t;
74957 #endif
74958
74959 typedef uint8_t uint_least8_t;
74960 typedef uint16_t uint_least16_t;
74961 typedef uint32_t uint_least32_t;
74962 #ifdef _UINT64_T
74963 typedef uint64_t uint_least64_t;
74964 #endif
74965 EOF
74966 fi
74967
74968 # ------------- done intptr types, emit int_fast types ------------
74969 if test "$ac_cv_type_int_fast32_t" != yes; then
74970 sed 's/^ *//' >> tmp-stdint.h <<EOF
74971
74972 /* Define int_fast types. short is often slow */
74973 typedef int8_t int_fast8_t;
74974 typedef int int_fast16_t;
74975 typedef int32_t int_fast32_t;
74976 #ifdef _INT64_T
74977 typedef int64_t int_fast64_t;
74978 #endif
74979
74980 typedef uint8_t uint_fast8_t;
74981 typedef unsigned int uint_fast16_t;
74982 typedef uint32_t uint_fast32_t;
74983 #ifdef _UINT64_T
74984 typedef uint64_t uint_fast64_t;
74985 #endif
74986 EOF
74987 fi
74988
74989 if test "$ac_cv_type_uintmax_t" != yes; then
74990 sed 's/^ *//' >> tmp-stdint.h <<EOF
74991
74992 /* Define intmax based on what we found */
74993 #ifndef intmax_t
74994 #ifdef _INT64_T
74995 typedef int64_t intmax_t;
74996 #else
74997 typedef long intmax_t;
74998 #endif
74999 #endif
75000 #ifndef uintmax_t
75001 #ifdef _UINT64_T
75002 typedef uint64_t uintmax_t;
75003 #else
75004 typedef unsigned long uintmax_t;
75005 #endif
75006 #endif
75007 EOF
75008 fi
75009
75010 sed 's/^ *//' >> tmp-stdint.h <<EOF
75011
75012 #endif /* GCC_GENERATED_STDINT_H */
75013 EOF
75014
75015 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
75016 rm -f tmp-stdint.h
75017 else
75018 mv -f tmp-stdint.h include/gstdint.h
75019 fi
75020
75021 ;;
75022 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
75023 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
75024 "include/Makefile":F) cat > vpsed$$ << \_EOF
75025 s!`test -f '$<' || echo '$(srcdir)/'`!!
75026 _EOF
75027 sed -f vpsed$$ $ac_file > tmp$$
75028 mv tmp$$ $ac_file
75029 rm vpsed$$
75030 echo 'MULTISUBDIR =' >> $ac_file
75031 ml_norecursion=yes
75032 . ${multi_basedir}/config-ml.in
75033 { ml_norecursion=; unset ml_norecursion;}
75034 ;;
75035 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
75036 s!`test -f '$<' || echo '$(srcdir)/'`!!
75037 _EOF
75038 sed -f vpsed$$ $ac_file > tmp$$
75039 mv tmp$$ $ac_file
75040 rm vpsed$$
75041 echo 'MULTISUBDIR =' >> $ac_file
75042 ml_norecursion=yes
75043 . ${multi_basedir}/config-ml.in
75044 { ml_norecursion=; unset ml_norecursion;}
75045 ;;
75046 "python/Makefile":F) cat > vpsed$$ << \_EOF
75047 s!`test -f '$<' || echo '$(srcdir)/'`!!
75048 _EOF
75049 sed -f vpsed$$ $ac_file > tmp$$
75050 mv tmp$$ $ac_file
75051 rm vpsed$$
75052 echo 'MULTISUBDIR =' >> $ac_file
75053 ml_norecursion=yes
75054 . ${multi_basedir}/config-ml.in
75055 { ml_norecursion=; unset ml_norecursion;}
75056 ;;
75057 "src/Makefile":F) cat > vpsed$$ << \_EOF
75058 s!`test -f '$<' || echo '$(srcdir)/'`!!
75059 _EOF
75060 sed -f vpsed$$ $ac_file > tmp$$
75061 mv tmp$$ $ac_file
75062 rm vpsed$$
75063 echo 'MULTISUBDIR =' >> $ac_file
75064 ml_norecursion=yes
75065 . ${multi_basedir}/config-ml.in
75066 { ml_norecursion=; unset ml_norecursion;}
75067 ;;
75068 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
75069 s!`test -f '$<' || echo '$(srcdir)/'`!!
75070 _EOF
75071 sed -f vpsed$$ $ac_file > tmp$$
75072 mv tmp$$ $ac_file
75073 rm vpsed$$
75074 echo 'MULTISUBDIR =' >> $ac_file
75075 ml_norecursion=yes
75076 . ${multi_basedir}/config-ml.in
75077 { ml_norecursion=; unset ml_norecursion;}
75078 ;;
75079 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
75080 s!`test -f '$<' || echo '$(srcdir)/'`!!
75081 _EOF
75082 sed -f vpsed$$ $ac_file > tmp$$
75083 mv tmp$$ $ac_file
75084 rm vpsed$$
75085 echo 'MULTISUBDIR =' >> $ac_file
75086 ml_norecursion=yes
75087 . ${multi_basedir}/config-ml.in
75088 { ml_norecursion=; unset ml_norecursion;}
75089 ;;
75090 "doc/Makefile":F) cat > vpsed$$ << \_EOF
75091 s!`test -f '$<' || echo '$(srcdir)/'`!!
75092 _EOF
75093 sed -f vpsed$$ $ac_file > tmp$$
75094 mv tmp$$ $ac_file
75095 rm vpsed$$
75096 echo 'MULTISUBDIR =' >> $ac_file
75097 ml_norecursion=yes
75098 . ${multi_basedir}/config-ml.in
75099 { ml_norecursion=; unset ml_norecursion;}
75100 ;;
75101 "po/Makefile":F) cat > vpsed$$ << \_EOF
75102 s!`test -f '$<' || echo '$(srcdir)/'`!!
75103 _EOF
75104 sed -f vpsed$$ $ac_file > tmp$$
75105 mv tmp$$ $ac_file
75106 rm vpsed$$
75107 echo 'MULTISUBDIR =' >> $ac_file
75108 ml_norecursion=yes
75109 . ${multi_basedir}/config-ml.in
75110 { ml_norecursion=; unset ml_norecursion;}
75111 ;;
75112 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
75113 s!`test -f '$<' || echo '$(srcdir)/'`!!
75114 _EOF
75115 sed -f vpsed$$ $ac_file > tmp$$
75116 mv tmp$$ $ac_file
75117 rm vpsed$$
75118 echo 'MULTISUBDIR =' >> $ac_file
75119 ml_norecursion=yes
75120 . ${multi_basedir}/config-ml.in
75121 { ml_norecursion=; unset ml_norecursion;}
75122 ;;
75123 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
75124
75125 esac
75126 done # for ac_tag
75127
75128
75129 as_fn_exit 0
75130 _ACEOF
75131 ac_clean_files=$ac_clean_files_save
75132
75133 test $ac_write_fail = 0 ||
75134 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
75135
75136
75137 # configure is writing to config.log, and then calls config.status.
75138 # config.status does its own redirection, appending to config.log.
75139 # Unfortunately, on DOS this fails, as config.log is still kept open
75140 # by configure, so config.status won't be able to write to it; its
75141 # output is simply discarded. So we exec the FD to /dev/null,
75142 # effectively closing config.log, so it can be properly (re)opened and
75143 # appended to by config.status. When coming back to configure, we
75144 # need to make the FD available again.
75145 if test "$no_create" != yes; then
75146 ac_cs_success=:
75147 ac_config_status_args=
75148 test "$silent" = yes &&
75149 ac_config_status_args="$ac_config_status_args --quiet"
75150 exec 5>/dev/null
75151 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
75152 exec 5>>config.log
75153 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
75154 # would make configure fail if this is the last instruction.
75155 $ac_cs_success || as_fn_exit $?
75156 fi
75157 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
75158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
75159 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
75160 fi
75161