unwind-cxx.h: Include sys/sdt.h if detected.
[gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
78 }
79 fi
80
81
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148 esac
149 fi
150 "
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165 exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
185 fi
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
197 /*)
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
206 fi
207 fi
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241 fi
242 exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260 { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269 return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
307 q
308 }
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)$/{
314 s//\1/
315 q
316 }
317 /^X\(\/\).*/{
318 s//\1/
319 q
320 }
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
337 {
338 eval $1+=\$2
339 }'
340 else
341 as_fn_append ()
342 {
343 eval $1=\$$1\$2
344 }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
354 {
355 as_val=$(( $* ))
356 }'
357 else
358 as_fn_arith ()
359 {
360 as_val=`expr "$@" || test $? -eq 1`
361 }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376 fi
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
407 q
408 }
409 /^X\/\(\/\/\)$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\).*/{
414 s//\1/
415 q
416 }
417 s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
433 p
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
439 b
440 :lineno
441 N
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
467 *)
468 ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
491 fi
492 else
493 as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
512 fi
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
524 '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
637 DOT
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_WERROR_FALSE
668 ENABLE_WERROR_TRUE
669 ENABLE_PYTHONDIR_FALSE
670 ENABLE_PYTHONDIR_TRUE
671 python_mod_dir
672 ENABLE_EXTERN_TEMPLATE_FALSE
673 ENABLE_EXTERN_TEMPLATE_TRUE
674 EXTRA_CXX_FLAGS
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 thread_header
712 glibcxx_PCHFLAGS
713 GLIBCXX_BUILD_PCH_FALSE
714 GLIBCXX_BUILD_PCH_TRUE
715 GLIBCXX_HOSTED_FALSE
716 GLIBCXX_HOSTED_TRUE
717 glibcxx_compiler_shared_flag
718 glibcxx_compiler_pic_flag
719 glibcxx_lt_pic_flag
720 enable_static
721 enable_shared
722 lt_host_flags
723 CXXCPP
724 OTOOL64
725 OTOOL
726 LIPO
727 NMEDIT
728 DSYMUTIL
729 OBJDUMP
730 NM
731 ac_ct_DUMPBIN
732 DUMPBIN
733 LD
734 FGREP
735 SED
736 LIBTOOL
737 EGREP
738 GREP
739 CPP
740 MAINT
741 MAINTAINER_MODE_FALSE
742 MAINTAINER_MODE_TRUE
743 RANLIB
744 AR
745 AS
746 LN_S
747 toplevel_srcdir
748 toplevel_builddir
749 glibcxx_srcdir
750 glibcxx_builddir
751 ac_ct_CXX
752 CXXFLAGS
753 CXX
754 OBJEXT
755 EXEEXT
756 ac_ct_CC
757 CPPFLAGS
758 LDFLAGS
759 CFLAGS
760 CC
761 am__untar
762 am__tar
763 AMTAR
764 am__leading_dot
765 SET_MAKE
766 AWK
767 mkdir_p
768 MKDIR_P
769 INSTALL_STRIP_PROGRAM
770 STRIP
771 install_sh
772 MAKEINFO
773 AUTOHEADER
774 AUTOMAKE
775 AUTOCONF
776 ACLOCAL
777 VERSION
778 PACKAGE
779 CYGPATH_W
780 am__isrc
781 INSTALL_DATA
782 INSTALL_SCRIPT
783 INSTALL_PROGRAM
784 target_os
785 target_vendor
786 target_cpu
787 target
788 host_os
789 host_vendor
790 host_cpu
791 host
792 build_os
793 build_vendor
794 build_cpu
795 build
796 multi_basedir
797 target_alias
798 host_alias
799 build_alias
800 LIBS
801 ECHO_T
802 ECHO_N
803 ECHO_C
804 DEFS
805 mandir
806 localedir
807 libdir
808 psdir
809 pdfdir
810 dvidir
811 htmldir
812 infodir
813 docdir
814 oldincludedir
815 includedir
816 localstatedir
817 sharedstatedir
818 sysconfdir
819 datadir
820 datarootdir
821 libexecdir
822 sbindir
823 bindir
824 program_transform_name
825 prefix
826 exec_prefix
827 PACKAGE_URL
828 PACKAGE_BUGREPORT
829 PACKAGE_STRING
830 PACKAGE_VERSION
831 PACKAGE_TARNAME
832 PACKAGE_NAME
833 PATH_SEPARATOR
834 SHELL'
835 ac_subst_files=''
836 ac_user_opts='
837 enable_option_checking
838 enable_multilib
839 with_target_subdir
840 with_cross_host
841 with_newlib
842 enable_maintainer_mode
843 enable_shared
844 enable_static
845 with_pic
846 enable_fast_install
847 with_gnu_ld
848 enable_libtool_lock
849 enable_hosted_libstdcxx
850 enable_libstdcxx_verbose
851 enable_sjlj_exceptions
852 enable_libstdcxx_pch
853 enable_cstdio
854 enable_clocale
855 enable_nls
856 enable_libstdcxx_allocator
857 enable_cheaders
858 enable_long_long
859 enable_wchar_t
860 enable_c99
861 enable_concept_checks
862 enable_libstdcxx_debug_flags
863 enable_libstdcxx_debug
864 enable_cxx_flags
865 enable_fully_dynamic_string
866 enable_extern_template
867 with_python_dir
868 enable_werror
869 enable_libstdcxx_time
870 enable_tls
871 enable_rpath
872 with_libiconv_prefix
873 with_system_libunwind
874 enable_linux_futex
875 enable_symvers
876 enable_libstdcxx_visibility
877 enable_libstdcxx_threads
878 with_gxx_include_dir
879 enable_version_specific_runtime_libs
880 '
881 ac_precious_vars='build_alias
882 host_alias
883 target_alias
884 CC
885 CFLAGS
886 LDFLAGS
887 LIBS
888 CPPFLAGS
889 CXX
890 CXXFLAGS
891 CCC
892 CPP
893 CXXCPP
894 CXXFILT'
895
896
897 # Initialize some variables set by options.
898 ac_init_help=
899 ac_init_version=false
900 ac_unrecognized_opts=
901 ac_unrecognized_sep=
902 # The variables have the same names as the options, with
903 # dashes changed to underlines.
904 cache_file=/dev/null
905 exec_prefix=NONE
906 no_create=
907 no_recursion=
908 prefix=NONE
909 program_prefix=NONE
910 program_suffix=NONE
911 program_transform_name=s,x,x,
912 silent=
913 site=
914 srcdir=
915 verbose=
916 x_includes=NONE
917 x_libraries=NONE
918
919 # Installation directory options.
920 # These are left unexpanded so users can "make install exec_prefix=/foo"
921 # and all the variables that are supposed to be based on exec_prefix
922 # by default will actually change.
923 # Use braces instead of parens because sh, perl, etc. also accept them.
924 # (The list follows the same order as the GNU Coding Standards.)
925 bindir='${exec_prefix}/bin'
926 sbindir='${exec_prefix}/sbin'
927 libexecdir='${exec_prefix}/libexec'
928 datarootdir='${prefix}/share'
929 datadir='${datarootdir}'
930 sysconfdir='${prefix}/etc'
931 sharedstatedir='${prefix}/com'
932 localstatedir='${prefix}/var'
933 includedir='${prefix}/include'
934 oldincludedir='/usr/include'
935 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
936 infodir='${datarootdir}/info'
937 htmldir='${docdir}'
938 dvidir='${docdir}'
939 pdfdir='${docdir}'
940 psdir='${docdir}'
941 libdir='${exec_prefix}/lib'
942 localedir='${datarootdir}/locale'
943 mandir='${datarootdir}/man'
944
945 ac_prev=
946 ac_dashdash=
947 for ac_option
948 do
949 # If the previous option needs an argument, assign it.
950 if test -n "$ac_prev"; then
951 eval $ac_prev=\$ac_option
952 ac_prev=
953 continue
954 fi
955
956 case $ac_option in
957 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958 *) ac_optarg=yes ;;
959 esac
960
961 # Accept the important Cygnus configure options, so we can diagnose typos.
962
963 case $ac_dashdash$ac_option in
964 --)
965 ac_dashdash=yes ;;
966
967 -bindir | --bindir | --bindi | --bind | --bin | --bi)
968 ac_prev=bindir ;;
969 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
970 bindir=$ac_optarg ;;
971
972 -build | --build | --buil | --bui | --bu)
973 ac_prev=build_alias ;;
974 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
975 build_alias=$ac_optarg ;;
976
977 -cache-file | --cache-file | --cache-fil | --cache-fi \
978 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
979 ac_prev=cache_file ;;
980 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
981 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
982 cache_file=$ac_optarg ;;
983
984 --config-cache | -C)
985 cache_file=config.cache ;;
986
987 -datadir | --datadir | --datadi | --datad)
988 ac_prev=datadir ;;
989 -datadir=* | --datadir=* | --datadi=* | --datad=*)
990 datadir=$ac_optarg ;;
991
992 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
993 | --dataroo | --dataro | --datar)
994 ac_prev=datarootdir ;;
995 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
996 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
997 datarootdir=$ac_optarg ;;
998
999 -disable-* | --disable-*)
1000 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003 as_fn_error "invalid feature name: $ac_useropt"
1004 ac_useropt_orig=$ac_useropt
1005 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006 case $ac_user_opts in
1007 *"
1008 "enable_$ac_useropt"
1009 "*) ;;
1010 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1011 ac_unrecognized_sep=', ';;
1012 esac
1013 eval enable_$ac_useropt=no ;;
1014
1015 -docdir | --docdir | --docdi | --doc | --do)
1016 ac_prev=docdir ;;
1017 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1018 docdir=$ac_optarg ;;
1019
1020 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1021 ac_prev=dvidir ;;
1022 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1023 dvidir=$ac_optarg ;;
1024
1025 -enable-* | --enable-*)
1026 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 as_fn_error "invalid feature name: $ac_useropt"
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1033 *"
1034 "enable_$ac_useropt"
1035 "*) ;;
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1038 esac
1039 eval enable_$ac_useropt=\$ac_optarg ;;
1040
1041 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1042 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1043 | --exec | --exe | --ex)
1044 ac_prev=exec_prefix ;;
1045 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1046 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1047 | --exec=* | --exe=* | --ex=*)
1048 exec_prefix=$ac_optarg ;;
1049
1050 -gas | --gas | --ga | --g)
1051 # Obsolete; use --with-gas.
1052 with_gas=yes ;;
1053
1054 -help | --help | --hel | --he | -h)
1055 ac_init_help=long ;;
1056 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1057 ac_init_help=recursive ;;
1058 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1059 ac_init_help=short ;;
1060
1061 -host | --host | --hos | --ho)
1062 ac_prev=host_alias ;;
1063 -host=* | --host=* | --hos=* | --ho=*)
1064 host_alias=$ac_optarg ;;
1065
1066 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1067 ac_prev=htmldir ;;
1068 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1069 | --ht=*)
1070 htmldir=$ac_optarg ;;
1071
1072 -includedir | --includedir | --includedi | --included | --include \
1073 | --includ | --inclu | --incl | --inc)
1074 ac_prev=includedir ;;
1075 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1076 | --includ=* | --inclu=* | --incl=* | --inc=*)
1077 includedir=$ac_optarg ;;
1078
1079 -infodir | --infodir | --infodi | --infod | --info | --inf)
1080 ac_prev=infodir ;;
1081 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1082 infodir=$ac_optarg ;;
1083
1084 -libdir | --libdir | --libdi | --libd)
1085 ac_prev=libdir ;;
1086 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1087 libdir=$ac_optarg ;;
1088
1089 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1090 | --libexe | --libex | --libe)
1091 ac_prev=libexecdir ;;
1092 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1093 | --libexe=* | --libex=* | --libe=*)
1094 libexecdir=$ac_optarg ;;
1095
1096 -localedir | --localedir | --localedi | --localed | --locale)
1097 ac_prev=localedir ;;
1098 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1099 localedir=$ac_optarg ;;
1100
1101 -localstatedir | --localstatedir | --localstatedi | --localstated \
1102 | --localstate | --localstat | --localsta | --localst | --locals)
1103 ac_prev=localstatedir ;;
1104 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1105 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1106 localstatedir=$ac_optarg ;;
1107
1108 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1109 ac_prev=mandir ;;
1110 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1111 mandir=$ac_optarg ;;
1112
1113 -nfp | --nfp | --nf)
1114 # Obsolete; use --without-fp.
1115 with_fp=no ;;
1116
1117 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1118 | --no-cr | --no-c | -n)
1119 no_create=yes ;;
1120
1121 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1122 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1123 no_recursion=yes ;;
1124
1125 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1126 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1127 | --oldin | --oldi | --old | --ol | --o)
1128 ac_prev=oldincludedir ;;
1129 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1130 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1131 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1132 oldincludedir=$ac_optarg ;;
1133
1134 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1135 ac_prev=prefix ;;
1136 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1137 prefix=$ac_optarg ;;
1138
1139 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1140 | --program-pre | --program-pr | --program-p)
1141 ac_prev=program_prefix ;;
1142 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1143 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1144 program_prefix=$ac_optarg ;;
1145
1146 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1147 | --program-suf | --program-su | --program-s)
1148 ac_prev=program_suffix ;;
1149 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1150 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1151 program_suffix=$ac_optarg ;;
1152
1153 -program-transform-name | --program-transform-name \
1154 | --program-transform-nam | --program-transform-na \
1155 | --program-transform-n | --program-transform- \
1156 | --program-transform | --program-transfor \
1157 | --program-transfo | --program-transf \
1158 | --program-trans | --program-tran \
1159 | --progr-tra | --program-tr | --program-t)
1160 ac_prev=program_transform_name ;;
1161 -program-transform-name=* | --program-transform-name=* \
1162 | --program-transform-nam=* | --program-transform-na=* \
1163 | --program-transform-n=* | --program-transform-=* \
1164 | --program-transform=* | --program-transfor=* \
1165 | --program-transfo=* | --program-transf=* \
1166 | --program-trans=* | --program-tran=* \
1167 | --progr-tra=* | --program-tr=* | --program-t=*)
1168 program_transform_name=$ac_optarg ;;
1169
1170 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1171 ac_prev=pdfdir ;;
1172 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1173 pdfdir=$ac_optarg ;;
1174
1175 -psdir | --psdir | --psdi | --psd | --ps)
1176 ac_prev=psdir ;;
1177 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1178 psdir=$ac_optarg ;;
1179
1180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1181 | -silent | --silent | --silen | --sile | --sil)
1182 silent=yes ;;
1183
1184 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1185 ac_prev=sbindir ;;
1186 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1187 | --sbi=* | --sb=*)
1188 sbindir=$ac_optarg ;;
1189
1190 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1191 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1192 | --sharedst | --shareds | --shared | --share | --shar \
1193 | --sha | --sh)
1194 ac_prev=sharedstatedir ;;
1195 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1196 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1197 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1198 | --sha=* | --sh=*)
1199 sharedstatedir=$ac_optarg ;;
1200
1201 -site | --site | --sit)
1202 ac_prev=site ;;
1203 -site=* | --site=* | --sit=*)
1204 site=$ac_optarg ;;
1205
1206 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1207 ac_prev=srcdir ;;
1208 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1209 srcdir=$ac_optarg ;;
1210
1211 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1212 | --syscon | --sysco | --sysc | --sys | --sy)
1213 ac_prev=sysconfdir ;;
1214 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1215 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1216 sysconfdir=$ac_optarg ;;
1217
1218 -target | --target | --targe | --targ | --tar | --ta | --t)
1219 ac_prev=target_alias ;;
1220 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1221 target_alias=$ac_optarg ;;
1222
1223 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1224 verbose=yes ;;
1225
1226 -version | --version | --versio | --versi | --vers | -V)
1227 ac_init_version=: ;;
1228
1229 -with-* | --with-*)
1230 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1233 as_fn_error "invalid package name: $ac_useropt"
1234 ac_useropt_orig=$ac_useropt
1235 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236 case $ac_user_opts in
1237 *"
1238 "with_$ac_useropt"
1239 "*) ;;
1240 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1241 ac_unrecognized_sep=', ';;
1242 esac
1243 eval with_$ac_useropt=\$ac_optarg ;;
1244
1245 -without-* | --without-*)
1246 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1249 as_fn_error "invalid package name: $ac_useropt"
1250 ac_useropt_orig=$ac_useropt
1251 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252 case $ac_user_opts in
1253 *"
1254 "with_$ac_useropt"
1255 "*) ;;
1256 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1257 ac_unrecognized_sep=', ';;
1258 esac
1259 eval with_$ac_useropt=no ;;
1260
1261 --x)
1262 # Obsolete; use --with-x.
1263 with_x=yes ;;
1264
1265 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1266 | --x-incl | --x-inc | --x-in | --x-i)
1267 ac_prev=x_includes ;;
1268 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1269 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1270 x_includes=$ac_optarg ;;
1271
1272 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1273 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1274 ac_prev=x_libraries ;;
1275 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1276 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1277 x_libraries=$ac_optarg ;;
1278
1279 -*) as_fn_error "unrecognized option: \`$ac_option'
1280 Try \`$0 --help' for more information."
1281 ;;
1282
1283 *=*)
1284 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1285 # Reject names that are not valid shell variable names.
1286 case $ac_envvar in #(
1287 '' | [0-9]* | *[!_$as_cr_alnum]* )
1288 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1289 esac
1290 eval $ac_envvar=\$ac_optarg
1291 export $ac_envvar ;;
1292
1293 *)
1294 # FIXME: should be removed in autoconf 3.0.
1295 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1296 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1297 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1298 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1299 ;;
1300
1301 esac
1302 done
1303
1304 if test -n "$ac_prev"; then
1305 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1306 as_fn_error "missing argument to $ac_option"
1307 fi
1308
1309 if test -n "$ac_unrecognized_opts"; then
1310 case $enable_option_checking in
1311 no) ;;
1312 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1313 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1314 esac
1315 fi
1316
1317 # Check all directory arguments for consistency.
1318 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1319 datadir sysconfdir sharedstatedir localstatedir includedir \
1320 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1321 libdir localedir mandir
1322 do
1323 eval ac_val=\$$ac_var
1324 # Remove trailing slashes.
1325 case $ac_val in
1326 */ )
1327 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1328 eval $ac_var=\$ac_val;;
1329 esac
1330 # Be sure to have absolute directory names.
1331 case $ac_val in
1332 [\\/$]* | ?:[\\/]* ) continue;;
1333 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1334 esac
1335 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1336 done
1337
1338 # There might be people who depend on the old broken behavior: `$host'
1339 # used to hold the argument of --host etc.
1340 # FIXME: To remove some day.
1341 build=$build_alias
1342 host=$host_alias
1343 target=$target_alias
1344
1345 # FIXME: To remove some day.
1346 if test "x$host_alias" != x; then
1347 if test "x$build_alias" = x; then
1348 cross_compiling=maybe
1349 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1350 If a cross compiler is detected then cross compile mode will be used." >&2
1351 elif test "x$build_alias" != "x$host_alias"; then
1352 cross_compiling=yes
1353 fi
1354 fi
1355
1356 ac_tool_prefix=
1357 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1358
1359 test "$silent" = yes && exec 6>/dev/null
1360
1361
1362 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1363 ac_ls_di=`ls -di .` &&
1364 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1365 as_fn_error "working directory cannot be determined"
1366 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1367 as_fn_error "pwd does not report name of working directory"
1368
1369
1370 # Find the source files, if location was not specified.
1371 if test -z "$srcdir"; then
1372 ac_srcdir_defaulted=yes
1373 # Try the directory containing this script, then the parent directory.
1374 ac_confdir=`$as_dirname -- "$as_myself" ||
1375 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1376 X"$as_myself" : 'X\(//\)[^/]' \| \
1377 X"$as_myself" : 'X\(//\)$' \| \
1378 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1379 $as_echo X"$as_myself" |
1380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1381 s//\1/
1382 q
1383 }
1384 /^X\(\/\/\)[^/].*/{
1385 s//\1/
1386 q
1387 }
1388 /^X\(\/\/\)$/{
1389 s//\1/
1390 q
1391 }
1392 /^X\(\/\).*/{
1393 s//\1/
1394 q
1395 }
1396 s/.*/./; q'`
1397 srcdir=$ac_confdir
1398 if test ! -r "$srcdir/$ac_unique_file"; then
1399 srcdir=..
1400 fi
1401 else
1402 ac_srcdir_defaulted=no
1403 fi
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1406 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1407 fi
1408 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1409 ac_abs_confdir=`(
1410 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1411 pwd)`
1412 # When building in place, set srcdir=.
1413 if test "$ac_abs_confdir" = "$ac_pwd"; then
1414 srcdir=.
1415 fi
1416 # Remove unnecessary trailing slashes from srcdir.
1417 # Double slashes in file names in object file debugging info
1418 # mess up M-x gdb in Emacs.
1419 case $srcdir in
1420 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1421 esac
1422 for ac_var in $ac_precious_vars; do
1423 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1424 eval ac_env_${ac_var}_value=\$${ac_var}
1425 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1426 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1427 done
1428
1429 #
1430 # Report the --help message.
1431 #
1432 if test "$ac_init_help" = "long"; then
1433 # Omit some internal or obsolete options to make the list less imposing.
1434 # This message is too long to be a string in the A/UX 3.1 sh.
1435 cat <<_ACEOF
1436 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1437
1438 Usage: $0 [OPTION]... [VAR=VALUE]...
1439
1440 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1441 VAR=VALUE. See below for descriptions of some of the useful variables.
1442
1443 Defaults for the options are specified in brackets.
1444
1445 Configuration:
1446 -h, --help display this help and exit
1447 --help=short display options specific to this package
1448 --help=recursive display the short help of all the included packages
1449 -V, --version display version information and exit
1450 -q, --quiet, --silent do not print \`checking...' messages
1451 --cache-file=FILE cache test results in FILE [disabled]
1452 -C, --config-cache alias for \`--cache-file=config.cache'
1453 -n, --no-create do not create output files
1454 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1455
1456 Installation directories:
1457 --prefix=PREFIX install architecture-independent files in PREFIX
1458 [$ac_default_prefix]
1459 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1460 [PREFIX]
1461
1462 By default, \`make install' will install all the files in
1463 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1464 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1465 for instance \`--prefix=\$HOME'.
1466
1467 For better control, use the options below.
1468
1469 Fine tuning of the installation directories:
1470 --bindir=DIR user executables [EPREFIX/bin]
1471 --sbindir=DIR system admin executables [EPREFIX/sbin]
1472 --libexecdir=DIR program executables [EPREFIX/libexec]
1473 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1474 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1475 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1476 --libdir=DIR object code libraries [EPREFIX/lib]
1477 --includedir=DIR C header files [PREFIX/include]
1478 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1479 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1480 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1481 --infodir=DIR info documentation [DATAROOTDIR/info]
1482 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1483 --mandir=DIR man documentation [DATAROOTDIR/man]
1484 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1485 --htmldir=DIR html documentation [DOCDIR]
1486 --dvidir=DIR dvi documentation [DOCDIR]
1487 --pdfdir=DIR pdf documentation [DOCDIR]
1488 --psdir=DIR ps documentation [DOCDIR]
1489 _ACEOF
1490
1491 cat <<\_ACEOF
1492
1493 Program names:
1494 --program-prefix=PREFIX prepend PREFIX to installed program names
1495 --program-suffix=SUFFIX append SUFFIX to installed program names
1496 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1497
1498 System types:
1499 --build=BUILD configure for building on BUILD [guessed]
1500 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1501 --target=TARGET configure for building compilers for TARGET [HOST]
1502 _ACEOF
1503 fi
1504
1505 if test -n "$ac_init_help"; then
1506 case $ac_init_help in
1507 short | recursive ) echo "Configuration of package-unused version-unused:";;
1508 esac
1509 cat <<\_ACEOF
1510
1511 Optional Features:
1512 --disable-option-checking ignore unrecognized --enable/--with options
1513 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1514 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1515 --enable-multilib build many library versions (default)
1516 --enable-maintainer-mode enable make rules and dependencies not useful
1517 (and sometimes confusing) to the casual installer
1518 --enable-shared[=PKGS] build shared libraries [default=yes]
1519 --enable-static[=PKGS] build static libraries [default=yes]
1520 --enable-fast-install[=PKGS]
1521 optimize for fast installation [default=yes]
1522 --disable-libtool-lock avoid locking (might break parallel builds)
1523 --disable-hosted-libstdcxx
1524 only build freestanding C++ runtime support
1525 --disable-libstdcxx-verbose
1526 disable termination messages to standard error
1527 --enable-sjlj-exceptions
1528 force use of builtin_setjmp for exceptions
1529 [default=auto]
1530 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1531 [default=$is_hosted]
1532 --enable-cstdio[=PACKAGE]
1533 use target-specific I/O package [default=stdio]
1534 --enable-clocale[=MODEL]
1535 use MODEL for target locale package [default=auto]
1536 --enable-nls use Native Language Support (default)
1537 --enable-libstdcxx-allocator[=KIND]
1538 use KIND for target std::allocator base
1539 [default=auto]
1540 --enable-cheaders[=KIND]
1541 construct "C" headers for g++ [default=$c_model]
1542 --enable-long-long enable template specializations for 'long long'
1543 [default=yes]
1544 --enable-wchar_t enable template specializations for 'wchar_t'
1545 [default=yes]
1546 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1547 --enable-concept-checks use Boost-derived template checks [default=no]
1548 --enable-libstdcxx-debug-flags=FLAGS
1549 pass compiler FLAGS when building debug library
1550 [default="-gdwarf-4 -g3 -O0"]
1551 --enable-libstdcxx-debug
1552 build extra debug library [default=no]
1553 --enable-cxx-flags=FLAGS
1554 pass compiler FLAGS when building library [default=]
1555 --enable-fully-dynamic-string
1556 do not put empty strings in per-process static
1557 memory [default=no]
1558 --enable-extern-template
1559 enable extern template [default=yes]
1560 --enable-werror turns on -Werror [default=yes]
1561 --enable-libstdcxx-time[=KIND]
1562 use KIND for check type [default=no]
1563 --enable-tls Use thread-local storage [default=yes]
1564 --disable-rpath do not hardcode runtime library paths
1565 --enable-linux-futex use the Linux futex system call [default=default]
1566 --enable-symvers[=STYLE]
1567 enables symbol versioning of the shared library
1568 [default=yes]
1569 --enable-libstdcxx-visibility
1570 enables visibility safe usage [default=yes]
1571 --enable-libstdcxx-threads
1572 enable C++11 threads support [default=auto]
1573 --enable-version-specific-runtime-libs
1574 Specify that runtime libraries should be installed
1575 in a compiler-specific directory
1576
1577 Optional Packages:
1578 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1579 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1580 --with-target-subdir=SUBDIR
1581 configuring in a subdirectory
1582 --with-cross-host=HOST configuring with a cross compiler
1583 --with-newlib assume newlib as a system C library
1584 --with-pic try to use only PIC/non-PIC objects [default=use
1585 both]
1586 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1587 --with-python-dir the location to install Python modules. This path is
1588 relative starting from the prefix.
1589 --with-gnu-ld assume the C compiler uses GNU ld default=no
1590 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1591 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1592 --with-system-libunwind use installed libunwind
1593 --with-gxx-include-dir=DIR
1594 installation directory for include files
1595
1596 Some influential environment variables:
1597 CC C compiler command
1598 CFLAGS C compiler flags
1599 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1600 nonstandard directory <lib dir>
1601 LIBS libraries to pass to the linker, e.g. -l<library>
1602 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1603 you have headers in a nonstandard directory <include dir>
1604 CXX C++ compiler command
1605 CXXFLAGS C++ compiler flags
1606 CPP C preprocessor
1607 CXXCPP C++ preprocessor
1608 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1609 `c++filt', `gc++filt' on PATH.
1610
1611 Use these variables to override the choices made by `configure' or to help
1612 it to find libraries and programs with nonstandard names/locations.
1613
1614 Report bugs to the package provider.
1615 _ACEOF
1616 ac_status=$?
1617 fi
1618
1619 if test "$ac_init_help" = "recursive"; then
1620 # If there are subdirs, report their specific --help.
1621 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1622 test -d "$ac_dir" ||
1623 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1624 continue
1625 ac_builddir=.
1626
1627 case "$ac_dir" in
1628 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1629 *)
1630 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1631 # A ".." for each directory in $ac_dir_suffix.
1632 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1633 case $ac_top_builddir_sub in
1634 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1636 esac ;;
1637 esac
1638 ac_abs_top_builddir=$ac_pwd
1639 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1640 # for backward compatibility:
1641 ac_top_builddir=$ac_top_build_prefix
1642
1643 case $srcdir in
1644 .) # We are building in place.
1645 ac_srcdir=.
1646 ac_top_srcdir=$ac_top_builddir_sub
1647 ac_abs_top_srcdir=$ac_pwd ;;
1648 [\\/]* | ?:[\\/]* ) # Absolute name.
1649 ac_srcdir=$srcdir$ac_dir_suffix;
1650 ac_top_srcdir=$srcdir
1651 ac_abs_top_srcdir=$srcdir ;;
1652 *) # Relative name.
1653 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1654 ac_top_srcdir=$ac_top_build_prefix$srcdir
1655 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1656 esac
1657 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1658
1659 cd "$ac_dir" || { ac_status=$?; continue; }
1660 # Check for guested configure.
1661 if test -f "$ac_srcdir/configure.gnu"; then
1662 echo &&
1663 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1664 elif test -f "$ac_srcdir/configure"; then
1665 echo &&
1666 $SHELL "$ac_srcdir/configure" --help=recursive
1667 else
1668 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1669 fi || ac_status=$?
1670 cd "$ac_pwd" || { ac_status=$?; break; }
1671 done
1672 fi
1673
1674 test -n "$ac_init_help" && exit $ac_status
1675 if $ac_init_version; then
1676 cat <<\_ACEOF
1677 package-unused configure version-unused
1678 generated by GNU Autoconf 2.64
1679
1680 Copyright (C) 2009 Free Software Foundation, Inc.
1681 This configure script is free software; the Free Software Foundation
1682 gives unlimited permission to copy, distribute and modify it.
1683 _ACEOF
1684 exit
1685 fi
1686
1687 ## ------------------------ ##
1688 ## Autoconf initialization. ##
1689 ## ------------------------ ##
1690
1691 # ac_fn_c_try_compile LINENO
1692 # --------------------------
1693 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1694 ac_fn_c_try_compile ()
1695 {
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 rm -f conftest.$ac_objext
1698 if { { ac_try="$ac_compile"
1699 case "(($ac_try" in
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1702 esac
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_compile") 2>conftest.err
1706 ac_status=$?
1707 if test -s conftest.err; then
1708 grep -v '^ *+' conftest.err >conftest.er1
1709 cat conftest.er1 >&5
1710 mv -f conftest.er1 conftest.err
1711 fi
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && {
1714 test -z "$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1716 } && test -s conftest.$ac_objext; then :
1717 ac_retval=0
1718 else
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1721
1722 ac_retval=1
1723 fi
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1725 return $ac_retval
1726
1727 } # ac_fn_c_try_compile
1728
1729 # ac_fn_cxx_try_compile LINENO
1730 # ----------------------------
1731 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1732 ac_fn_cxx_try_compile ()
1733 {
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 rm -f conftest.$ac_objext
1736 if { { ac_try="$ac_compile"
1737 case "(($ac_try" in
1738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1740 esac
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_compile") 2>conftest.err
1744 ac_status=$?
1745 if test -s conftest.err; then
1746 grep -v '^ *+' conftest.err >conftest.er1
1747 cat conftest.er1 >&5
1748 mv -f conftest.er1 conftest.err
1749 fi
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && {
1752 test -z "$ac_cxx_werror_flag" ||
1753 test ! -s conftest.err
1754 } && test -s conftest.$ac_objext; then :
1755 ac_retval=0
1756 else
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1759
1760 ac_retval=1
1761 fi
1762 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763 return $ac_retval
1764
1765 } # ac_fn_cxx_try_compile
1766
1767 # ac_fn_c_try_cpp LINENO
1768 # ----------------------
1769 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1770 ac_fn_c_try_cpp ()
1771 {
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 if { { ac_try="$ac_cpp conftest.$ac_ext"
1774 case "(($ac_try" in
1775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776 *) ac_try_echo=$ac_try;;
1777 esac
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1781 ac_status=$?
1782 if test -s conftest.err; then
1783 grep -v '^ *+' conftest.err >conftest.er1
1784 cat conftest.er1 >&5
1785 mv -f conftest.er1 conftest.err
1786 fi
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; } >/dev/null && {
1789 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1790 test ! -s conftest.err
1791 }; then :
1792 ac_retval=0
1793 else
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.$ac_ext >&5
1796
1797 ac_retval=1
1798 fi
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800 return $ac_retval
1801
1802 } # ac_fn_c_try_cpp
1803
1804 # ac_fn_c_try_link LINENO
1805 # -----------------------
1806 # Try to link conftest.$ac_ext, and return whether this succeeded.
1807 ac_fn_c_try_link ()
1808 {
1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810 rm -f conftest.$ac_objext conftest$ac_exeext
1811 if { { ac_try="$ac_link"
1812 case "(($ac_try" in
1813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1814 *) ac_try_echo=$ac_try;;
1815 esac
1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818 (eval "$ac_link") 2>conftest.err
1819 ac_status=$?
1820 if test -s conftest.err; then
1821 grep -v '^ *+' conftest.err >conftest.er1
1822 cat conftest.er1 >&5
1823 mv -f conftest.er1 conftest.err
1824 fi
1825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826 test $ac_status = 0; } && {
1827 test -z "$ac_c_werror_flag" ||
1828 test ! -s conftest.err
1829 } && test -s conftest$ac_exeext && {
1830 test "$cross_compiling" = yes ||
1831 $as_test_x conftest$ac_exeext
1832 }; then :
1833 ac_retval=0
1834 else
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1837
1838 ac_retval=1
1839 fi
1840 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1841 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1842 # interfere with the next link command; also delete a directory that is
1843 # left behind by Apple's compiler. We do this before executing the actions.
1844 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1846 return $ac_retval
1847
1848 } # ac_fn_c_try_link
1849
1850 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1851 # -------------------------------------------------------
1852 # Tests whether HEADER exists and can be compiled using the include files in
1853 # INCLUDES, setting the cache variable VAR accordingly.
1854 ac_fn_c_check_header_compile ()
1855 {
1856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858 $as_echo_n "checking for $2... " >&6; }
1859 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1860 $as_echo_n "(cached) " >&6
1861 else
1862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1864 $4
1865 #include <$2>
1866 _ACEOF
1867 if ac_fn_c_try_compile "$LINENO"; then :
1868 eval "$3=yes"
1869 else
1870 eval "$3=no"
1871 fi
1872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1873 fi
1874 eval ac_res=\$$3
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876 $as_echo "$ac_res" >&6; }
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1878
1879 } # ac_fn_c_check_header_compile
1880
1881 # ac_fn_c_try_run LINENO
1882 # ----------------------
1883 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1884 # that executables *can* be run.
1885 ac_fn_c_try_run ()
1886 {
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 if { { ac_try="$ac_link"
1889 case "(($ac_try" in
1890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891 *) ac_try_echo=$ac_try;;
1892 esac
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_link") 2>&5
1896 ac_status=$?
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1899 { { case "(($ac_try" in
1900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1901 *) ac_try_echo=$ac_try;;
1902 esac
1903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 $as_echo "$ac_try_echo"; } >&5
1905 (eval "$ac_try") 2>&5
1906 ac_status=$?
1907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908 test $ac_status = 0; }; }; then :
1909 ac_retval=0
1910 else
1911 $as_echo "$as_me: program exited with status $ac_status" >&5
1912 $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.$ac_ext >&5
1914
1915 ac_retval=$ac_status
1916 fi
1917 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1919 return $ac_retval
1920
1921 } # ac_fn_c_try_run
1922
1923 # ac_fn_c_check_func LINENO FUNC VAR
1924 # ----------------------------------
1925 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1926 ac_fn_c_check_func ()
1927 {
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1932 $as_echo_n "(cached) " >&6
1933 else
1934 if test x$gcc_no_link = xyes; then
1935 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1936 fi
1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h. */
1939 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1941 #define $2 innocuous_$2
1942
1943 /* System header to define __stub macros and hopefully few prototypes,
1944 which can conflict with char $2 (); below.
1945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1946 <limits.h> exists even on freestanding compilers. */
1947
1948 #ifdef __STDC__
1949 # include <limits.h>
1950 #else
1951 # include <assert.h>
1952 #endif
1953
1954 #undef $2
1955
1956 /* Override any GCC internal prototype to avoid an error.
1957 Use char because int might match the return type of a GCC
1958 builtin and then its argument prototype would still apply. */
1959 #ifdef __cplusplus
1960 extern "C"
1961 #endif
1962 char $2 ();
1963 /* The GNU C library defines this for functions which it implements
1964 to always fail with ENOSYS. Some functions are actually named
1965 something starting with __ and the normal name is an alias. */
1966 #if defined __stub_$2 || defined __stub___$2
1967 choke me
1968 #endif
1969
1970 int
1971 main ()
1972 {
1973 return $2 ();
1974 ;
1975 return 0;
1976 }
1977 _ACEOF
1978 if ac_fn_c_try_link "$LINENO"; then :
1979 eval "$3=yes"
1980 else
1981 eval "$3=no"
1982 fi
1983 rm -f core conftest.err conftest.$ac_objext \
1984 conftest$ac_exeext conftest.$ac_ext
1985 fi
1986 eval ac_res=\$$3
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1989 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1990
1991 } # ac_fn_c_check_func
1992
1993 # ac_fn_cxx_try_cpp LINENO
1994 # ------------------------
1995 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1996 ac_fn_cxx_try_cpp ()
1997 {
1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 if { { ac_try="$ac_cpp conftest.$ac_ext"
2000 case "(($ac_try" in
2001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2002 *) ac_try_echo=$ac_try;;
2003 esac
2004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2007 ac_status=$?
2008 if test -s conftest.err; then
2009 grep -v '^ *+' conftest.err >conftest.er1
2010 cat conftest.er1 >&5
2011 mv -f conftest.er1 conftest.err
2012 fi
2013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014 test $ac_status = 0; } >/dev/null && {
2015 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2016 test ! -s conftest.err
2017 }; then :
2018 ac_retval=0
2019 else
2020 $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2022
2023 ac_retval=1
2024 fi
2025 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2026 return $ac_retval
2027
2028 } # ac_fn_cxx_try_cpp
2029
2030 # ac_fn_cxx_try_link LINENO
2031 # -------------------------
2032 # Try to link conftest.$ac_ext, and return whether this succeeded.
2033 ac_fn_cxx_try_link ()
2034 {
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 rm -f conftest.$ac_objext conftest$ac_exeext
2037 if { { ac_try="$ac_link"
2038 case "(($ac_try" in
2039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2040 *) ac_try_echo=$ac_try;;
2041 esac
2042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2043 $as_echo "$ac_try_echo"; } >&5
2044 (eval "$ac_link") 2>conftest.err
2045 ac_status=$?
2046 if test -s conftest.err; then
2047 grep -v '^ *+' conftest.err >conftest.er1
2048 cat conftest.er1 >&5
2049 mv -f conftest.er1 conftest.err
2050 fi
2051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2052 test $ac_status = 0; } && {
2053 test -z "$ac_cxx_werror_flag" ||
2054 test ! -s conftest.err
2055 } && test -s conftest$ac_exeext && {
2056 test "$cross_compiling" = yes ||
2057 $as_test_x conftest$ac_exeext
2058 }; then :
2059 ac_retval=0
2060 else
2061 $as_echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.$ac_ext >&5
2063
2064 ac_retval=1
2065 fi
2066 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2067 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2068 # interfere with the next link command; also delete a directory that is
2069 # left behind by Apple's compiler. We do this before executing the actions.
2070 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2071 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2072 return $ac_retval
2073
2074 } # ac_fn_cxx_try_link
2075
2076 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2077 # -------------------------------------------------------
2078 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2079 # the include files in INCLUDES and setting the cache variable VAR
2080 # accordingly.
2081 ac_fn_c_check_header_mongrel ()
2082 {
2083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086 $as_echo_n "checking for $2... " >&6; }
2087 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2088 $as_echo_n "(cached) " >&6
2089 fi
2090 eval ac_res=\$$3
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092 $as_echo "$ac_res" >&6; }
2093 else
2094 # Is the header compilable?
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2096 $as_echo_n "checking $2 usability... " >&6; }
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2099 $4
2100 #include <$2>
2101 _ACEOF
2102 if ac_fn_c_try_compile "$LINENO"; then :
2103 ac_header_compiler=yes
2104 else
2105 ac_header_compiler=no
2106 fi
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2109 $as_echo "$ac_header_compiler" >&6; }
2110
2111 # Is the header present?
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2113 $as_echo_n "checking $2 presence... " >&6; }
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h. */
2116 #include <$2>
2117 _ACEOF
2118 if ac_fn_c_try_cpp "$LINENO"; then :
2119 ac_header_preproc=yes
2120 else
2121 ac_header_preproc=no
2122 fi
2123 rm -f conftest.err conftest.$ac_ext
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2125 $as_echo "$ac_header_preproc" >&6; }
2126
2127 # So? What about this header?
2128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2129 yes:no: )
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2131 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2133 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2134 ;;
2135 no:yes:* )
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2137 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2139 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2141 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2143 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2145 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2146 ;;
2147 esac
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149 $as_echo_n "checking for $2... " >&6; }
2150 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2151 $as_echo_n "(cached) " >&6
2152 else
2153 eval "$3=\$ac_header_compiler"
2154 fi
2155 eval ac_res=\$$3
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2157 $as_echo "$ac_res" >&6; }
2158 fi
2159 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2160
2161 } # ac_fn_c_check_header_mongrel
2162
2163 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2164 # ---------------------------------------------------------
2165 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2166 # the include files in INCLUDES and setting the cache variable VAR
2167 # accordingly.
2168 ac_fn_cxx_check_header_mongrel ()
2169 {
2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173 $as_echo_n "checking for $2... " >&6; }
2174 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2175 $as_echo_n "(cached) " >&6
2176 fi
2177 eval ac_res=\$$3
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2179 $as_echo "$ac_res" >&6; }
2180 else
2181 # Is the header compilable?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2183 $as_echo_n "checking $2 usability... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h. */
2186 $4
2187 #include <$2>
2188 _ACEOF
2189 if ac_fn_cxx_try_compile "$LINENO"; then :
2190 ac_header_compiler=yes
2191 else
2192 ac_header_compiler=no
2193 fi
2194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2196 $as_echo "$ac_header_compiler" >&6; }
2197
2198 # Is the header present?
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2200 $as_echo_n "checking $2 presence... " >&6; }
2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202 /* end confdefs.h. */
2203 #include <$2>
2204 _ACEOF
2205 if ac_fn_cxx_try_cpp "$LINENO"; then :
2206 ac_header_preproc=yes
2207 else
2208 ac_header_preproc=no
2209 fi
2210 rm -f conftest.err conftest.$ac_ext
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2212 $as_echo "$ac_header_preproc" >&6; }
2213
2214 # So? What about this header?
2215 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2216 yes:no: )
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2218 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2220 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2221 ;;
2222 no:yes:* )
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2224 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2226 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2228 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2230 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2232 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2233 ;;
2234 esac
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2236 $as_echo_n "checking for $2... " >&6; }
2237 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2238 $as_echo_n "(cached) " >&6
2239 else
2240 eval "$3=\$ac_header_compiler"
2241 fi
2242 eval ac_res=\$$3
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2244 $as_echo "$ac_res" >&6; }
2245 fi
2246 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2247
2248 } # ac_fn_cxx_check_header_mongrel
2249
2250 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2251 # --------------------------------------------
2252 # Tries to find the compile-time value of EXPR in a program that includes
2253 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2254 # computed
2255 ac_fn_c_compute_int ()
2256 {
2257 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258 if test "$cross_compiling" = yes; then
2259 # Depending upon the size, compute the lo and hi bounds.
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h. */
2262 $4
2263 int
2264 main ()
2265 {
2266 static int test_array [1 - 2 * !(($2) >= 0)];
2267 test_array [0] = 0
2268
2269 ;
2270 return 0;
2271 }
2272 _ACEOF
2273 if ac_fn_c_try_compile "$LINENO"; then :
2274 ac_lo=0 ac_mid=0
2275 while :; do
2276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h. */
2278 $4
2279 int
2280 main ()
2281 {
2282 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2283 test_array [0] = 0
2284
2285 ;
2286 return 0;
2287 }
2288 _ACEOF
2289 if ac_fn_c_try_compile "$LINENO"; then :
2290 ac_hi=$ac_mid; break
2291 else
2292 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2293 if test $ac_lo -le $ac_mid; then
2294 ac_lo= ac_hi=
2295 break
2296 fi
2297 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2298 fi
2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2300 done
2301 else
2302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303 /* end confdefs.h. */
2304 $4
2305 int
2306 main ()
2307 {
2308 static int test_array [1 - 2 * !(($2) < 0)];
2309 test_array [0] = 0
2310
2311 ;
2312 return 0;
2313 }
2314 _ACEOF
2315 if ac_fn_c_try_compile "$LINENO"; then :
2316 ac_hi=-1 ac_mid=-1
2317 while :; do
2318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h. */
2320 $4
2321 int
2322 main ()
2323 {
2324 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2325 test_array [0] = 0
2326
2327 ;
2328 return 0;
2329 }
2330 _ACEOF
2331 if ac_fn_c_try_compile "$LINENO"; then :
2332 ac_lo=$ac_mid; break
2333 else
2334 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2335 if test $ac_mid -le $ac_hi; then
2336 ac_lo= ac_hi=
2337 break
2338 fi
2339 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2340 fi
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 done
2343 else
2344 ac_lo= ac_hi=
2345 fi
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2347 fi
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 # Binary search between lo and hi bounds.
2350 while test "x$ac_lo" != "x$ac_hi"; do
2351 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h. */
2354 $4
2355 int
2356 main ()
2357 {
2358 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2359 test_array [0] = 0
2360
2361 ;
2362 return 0;
2363 }
2364 _ACEOF
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366 ac_hi=$ac_mid
2367 else
2368 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2369 fi
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 done
2372 case $ac_lo in #((
2373 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2374 '') ac_retval=1 ;;
2375 esac
2376 else
2377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h. */
2379 $4
2380 static long int longval () { return $2; }
2381 static unsigned long int ulongval () { return $2; }
2382 #include <stdio.h>
2383 #include <stdlib.h>
2384 int
2385 main ()
2386 {
2387
2388 FILE *f = fopen ("conftest.val", "w");
2389 if (! f)
2390 return 1;
2391 if (($2) < 0)
2392 {
2393 long int i = longval ();
2394 if (i != ($2))
2395 return 1;
2396 fprintf (f, "%ld", i);
2397 }
2398 else
2399 {
2400 unsigned long int i = ulongval ();
2401 if (i != ($2))
2402 return 1;
2403 fprintf (f, "%lu", i);
2404 }
2405 /* Do not output a trailing newline, as this causes \r\n confusion
2406 on some platforms. */
2407 return ferror (f) || fclose (f) != 0;
2408
2409 ;
2410 return 0;
2411 }
2412 _ACEOF
2413 if ac_fn_c_try_run "$LINENO"; then :
2414 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2415 else
2416 ac_retval=1
2417 fi
2418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2419 conftest.$ac_objext conftest.beam conftest.$ac_ext
2420 rm -f conftest.val
2421
2422 fi
2423 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2424 return $ac_retval
2425
2426 } # ac_fn_c_compute_int
2427
2428 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2429 # -------------------------------------------
2430 # Tests whether TYPE exists after having included INCLUDES, setting cache
2431 # variable VAR accordingly.
2432 ac_fn_c_check_type ()
2433 {
2434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2436 $as_echo_n "checking for $2... " >&6; }
2437 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2438 $as_echo_n "(cached) " >&6
2439 else
2440 eval "$3=no"
2441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442 /* end confdefs.h. */
2443 $4
2444 int
2445 main ()
2446 {
2447 if (sizeof ($2))
2448 return 0;
2449 ;
2450 return 0;
2451 }
2452 _ACEOF
2453 if ac_fn_c_try_compile "$LINENO"; then :
2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2456 $4
2457 int
2458 main ()
2459 {
2460 if (sizeof (($2)))
2461 return 0;
2462 ;
2463 return 0;
2464 }
2465 _ACEOF
2466 if ac_fn_c_try_compile "$LINENO"; then :
2467
2468 else
2469 eval "$3=yes"
2470 fi
2471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2472 fi
2473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2474 fi
2475 eval ac_res=\$$3
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2477 $as_echo "$ac_res" >&6; }
2478 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2479
2480 } # ac_fn_c_check_type
2481 cat >config.log <<_ACEOF
2482 This file contains any messages produced by compilers while
2483 running configure, to aid debugging if configure makes a mistake.
2484
2485 It was created by package-unused $as_me version-unused, which was
2486 generated by GNU Autoconf 2.64. Invocation command line was
2487
2488 $ $0 $@
2489
2490 _ACEOF
2491 exec 5>>config.log
2492 {
2493 cat <<_ASUNAME
2494 ## --------- ##
2495 ## Platform. ##
2496 ## --------- ##
2497
2498 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2499 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2500 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2501 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2502 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2503
2504 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2505 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2506
2507 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2508 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2509 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2510 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2511 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2512 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2513 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2514
2515 _ASUNAME
2516
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH
2519 do
2520 IFS=$as_save_IFS
2521 test -z "$as_dir" && as_dir=.
2522 $as_echo "PATH: $as_dir"
2523 done
2524 IFS=$as_save_IFS
2525
2526 } >&5
2527
2528 cat >&5 <<_ACEOF
2529
2530
2531 ## ----------- ##
2532 ## Core tests. ##
2533 ## ----------- ##
2534
2535 _ACEOF
2536
2537
2538 # Keep a trace of the command line.
2539 # Strip out --no-create and --no-recursion so they do not pile up.
2540 # Strip out --silent because we don't want to record it for future runs.
2541 # Also quote any args containing shell meta-characters.
2542 # Make two passes to allow for proper duplicate-argument suppression.
2543 ac_configure_args=
2544 ac_configure_args0=
2545 ac_configure_args1=
2546 ac_must_keep_next=false
2547 for ac_pass in 1 2
2548 do
2549 for ac_arg
2550 do
2551 case $ac_arg in
2552 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2553 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2554 | -silent | --silent | --silen | --sile | --sil)
2555 continue ;;
2556 *\'*)
2557 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2558 esac
2559 case $ac_pass in
2560 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2561 2)
2562 as_fn_append ac_configure_args1 " '$ac_arg'"
2563 if test $ac_must_keep_next = true; then
2564 ac_must_keep_next=false # Got value, back to normal.
2565 else
2566 case $ac_arg in
2567 *=* | --config-cache | -C | -disable-* | --disable-* \
2568 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2569 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2570 | -with-* | --with-* | -without-* | --without-* | --x)
2571 case "$ac_configure_args0 " in
2572 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2573 esac
2574 ;;
2575 -* ) ac_must_keep_next=true ;;
2576 esac
2577 fi
2578 as_fn_append ac_configure_args " '$ac_arg'"
2579 ;;
2580 esac
2581 done
2582 done
2583 { ac_configure_args0=; unset ac_configure_args0;}
2584 { ac_configure_args1=; unset ac_configure_args1;}
2585
2586 # When interrupted or exit'd, cleanup temporary files, and complete
2587 # config.log. We remove comments because anyway the quotes in there
2588 # would cause problems or look ugly.
2589 # WARNING: Use '\'' to represent an apostrophe within the trap.
2590 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2591 trap 'exit_status=$?
2592 # Save into config.log some information that might help in debugging.
2593 {
2594 echo
2595
2596 cat <<\_ASBOX
2597 ## ---------------- ##
2598 ## Cache variables. ##
2599 ## ---------------- ##
2600 _ASBOX
2601 echo
2602 # The following way of writing the cache mishandles newlines in values,
2603 (
2604 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2605 eval ac_val=\$$ac_var
2606 case $ac_val in #(
2607 *${as_nl}*)
2608 case $ac_var in #(
2609 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2610 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2611 esac
2612 case $ac_var in #(
2613 _ | IFS | as_nl) ;; #(
2614 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2615 *) { eval $ac_var=; unset $ac_var;} ;;
2616 esac ;;
2617 esac
2618 done
2619 (set) 2>&1 |
2620 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2621 *${as_nl}ac_space=\ *)
2622 sed -n \
2623 "s/'\''/'\''\\\\'\'''\''/g;
2624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2625 ;; #(
2626 *)
2627 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2628 ;;
2629 esac |
2630 sort
2631 )
2632 echo
2633
2634 cat <<\_ASBOX
2635 ## ----------------- ##
2636 ## Output variables. ##
2637 ## ----------------- ##
2638 _ASBOX
2639 echo
2640 for ac_var in $ac_subst_vars
2641 do
2642 eval ac_val=\$$ac_var
2643 case $ac_val in
2644 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2645 esac
2646 $as_echo "$ac_var='\''$ac_val'\''"
2647 done | sort
2648 echo
2649
2650 if test -n "$ac_subst_files"; then
2651 cat <<\_ASBOX
2652 ## ------------------- ##
2653 ## File substitutions. ##
2654 ## ------------------- ##
2655 _ASBOX
2656 echo
2657 for ac_var in $ac_subst_files
2658 do
2659 eval ac_val=\$$ac_var
2660 case $ac_val in
2661 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2662 esac
2663 $as_echo "$ac_var='\''$ac_val'\''"
2664 done | sort
2665 echo
2666 fi
2667
2668 if test -s confdefs.h; then
2669 cat <<\_ASBOX
2670 ## ----------- ##
2671 ## confdefs.h. ##
2672 ## ----------- ##
2673 _ASBOX
2674 echo
2675 cat confdefs.h
2676 echo
2677 fi
2678 test "$ac_signal" != 0 &&
2679 $as_echo "$as_me: caught signal $ac_signal"
2680 $as_echo "$as_me: exit $exit_status"
2681 } >&5
2682 rm -f core *.core core.conftest.* &&
2683 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2684 exit $exit_status
2685 ' 0
2686 for ac_signal in 1 2 13 15; do
2687 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2688 done
2689 ac_signal=0
2690
2691 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2692 rm -f -r conftest* confdefs.h
2693
2694 $as_echo "/* confdefs.h */" > confdefs.h
2695
2696 # Predefined preprocessor variables.
2697
2698 cat >>confdefs.h <<_ACEOF
2699 #define PACKAGE_NAME "$PACKAGE_NAME"
2700 _ACEOF
2701
2702 cat >>confdefs.h <<_ACEOF
2703 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2704 _ACEOF
2705
2706 cat >>confdefs.h <<_ACEOF
2707 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2708 _ACEOF
2709
2710 cat >>confdefs.h <<_ACEOF
2711 #define PACKAGE_STRING "$PACKAGE_STRING"
2712 _ACEOF
2713
2714 cat >>confdefs.h <<_ACEOF
2715 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2716 _ACEOF
2717
2718 cat >>confdefs.h <<_ACEOF
2719 #define PACKAGE_URL "$PACKAGE_URL"
2720 _ACEOF
2721
2722
2723 # Let the site file select an alternate cache file if it wants to.
2724 # Prefer an explicitly selected file to automatically selected ones.
2725 ac_site_file1=NONE
2726 ac_site_file2=NONE
2727 if test -n "$CONFIG_SITE"; then
2728 ac_site_file1=$CONFIG_SITE
2729 elif test "x$prefix" != xNONE; then
2730 ac_site_file1=$prefix/share/config.site
2731 ac_site_file2=$prefix/etc/config.site
2732 else
2733 ac_site_file1=$ac_default_prefix/share/config.site
2734 ac_site_file2=$ac_default_prefix/etc/config.site
2735 fi
2736 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2737 do
2738 test "x$ac_site_file" = xNONE && continue
2739 if test -r "$ac_site_file"; then
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2741 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2742 sed 's/^/| /' "$ac_site_file" >&5
2743 . "$ac_site_file"
2744 fi
2745 done
2746
2747 if test -r "$cache_file"; then
2748 # Some versions of bash will fail to source /dev/null (special
2749 # files actually), so we avoid doing that.
2750 if test -f "$cache_file"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2752 $as_echo "$as_me: loading cache $cache_file" >&6;}
2753 case $cache_file in
2754 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2755 *) . "./$cache_file";;
2756 esac
2757 fi
2758 else
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2760 $as_echo "$as_me: creating cache $cache_file" >&6;}
2761 >$cache_file
2762 fi
2763
2764 # Check that the precious variables saved in the cache have kept the same
2765 # value.
2766 ac_cache_corrupted=false
2767 for ac_var in $ac_precious_vars; do
2768 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2769 eval ac_new_set=\$ac_env_${ac_var}_set
2770 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2771 eval ac_new_val=\$ac_env_${ac_var}_value
2772 case $ac_old_set,$ac_new_set in
2773 set,)
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2775 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2776 ac_cache_corrupted=: ;;
2777 ,set)
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2779 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2780 ac_cache_corrupted=: ;;
2781 ,);;
2782 *)
2783 if test "x$ac_old_val" != "x$ac_new_val"; then
2784 # differences in whitespace do not lead to failure.
2785 ac_old_val_w=`echo x $ac_old_val`
2786 ac_new_val_w=`echo x $ac_new_val`
2787 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2789 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2790 ac_cache_corrupted=:
2791 else
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2793 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2794 eval $ac_var=\$ac_old_val
2795 fi
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2797 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2799 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2800 fi;;
2801 esac
2802 # Pass precious variables to config.status.
2803 if test "$ac_new_set" = set; then
2804 case $ac_new_val in
2805 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2806 *) ac_arg=$ac_var=$ac_new_val ;;
2807 esac
2808 case " $ac_configure_args " in
2809 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2810 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2811 esac
2812 fi
2813 done
2814 if $ac_cache_corrupted; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2818 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2819 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2820 fi
2821 ## -------------------- ##
2822 ## Main body of script. ##
2823 ## -------------------- ##
2824
2825 ac_ext=c
2826 ac_cpp='$CPP $CPPFLAGS'
2827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2830
2831
2832
2833
2834
2835
2836 ac_config_headers="$ac_config_headers config.h"
2837
2838
2839 # This works around the fact that libtool configuration may change LD
2840 # for this particular configuration, but some shells, instead of
2841 # keeping the changes in LD private, export them just because LD is
2842 # exported. Only used at the end of this file.
2843 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2844
2845 # Find the rest of the source tree framework.
2846 # Default to --enable-multilib
2847 # Check whether --enable-multilib was given.
2848 if test "${enable_multilib+set}" = set; then :
2849 enableval=$enable_multilib; case "$enableval" in
2850 yes) multilib=yes ;;
2851 no) multilib=no ;;
2852 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2853 esac
2854 else
2855 multilib=yes
2856 fi
2857
2858
2859 # We may get other options which we leave undocumented:
2860 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2861 # See config-ml.in if you want the gory details.
2862
2863 if test "$srcdir" = "."; then
2864 if test "$with_target_subdir" != "."; then
2865 multi_basedir="$srcdir/$with_multisrctop../.."
2866 else
2867 multi_basedir="$srcdir/$with_multisrctop.."
2868 fi
2869 else
2870 multi_basedir="$srcdir/.."
2871 fi
2872
2873
2874 # Even if the default multilib is not a cross compilation,
2875 # it may be that some of the other multilibs are.
2876 if test $cross_compiling = no && test $multilib = yes \
2877 && test "x${with_multisubdir}" != x ; then
2878 cross_compiling=maybe
2879 fi
2880
2881 ac_config_commands="$ac_config_commands default-1"
2882
2883
2884 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2885 #
2886 # You will slowly go insane if you do not grok the following fact: when
2887 # building v3 as part of the compiler, the top-level /target/ becomes the
2888 # library's /host/. configure then causes --target to default to --host,
2889 # exactly like any other package using autoconf. Therefore, 'target' and
2890 # 'host' will always be the same. This makes sense both for native and
2891 # cross compilers, just think about it for a little while. :-)
2892 #
2893 # Also, if v3 is being configured as part of a cross compiler, the top-level
2894 # configure script will pass the "real" host as $with_cross_host.
2895 #
2896 # Do not delete or change the following two lines. For why, see
2897 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2898 ac_aux_dir=
2899 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2900 for ac_t in install-sh install.sh shtool; do
2901 if test -f "$ac_dir/$ac_t"; then
2902 ac_aux_dir=$ac_dir
2903 ac_install_sh="$ac_aux_dir/$ac_t -c"
2904 break 2
2905 fi
2906 done
2907 done
2908 if test -z "$ac_aux_dir"; then
2909 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2910 fi
2911
2912 # These three variables are undocumented and unsupported,
2913 # and are intended to be withdrawn in a future Autoconf release.
2914 # They can cause serious problems if a builder's source tree is in a directory
2915 # whose full name contains unusual characters.
2916 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2917 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2918 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2919
2920
2921 # Make sure we can run config.sub.
2922 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2923 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2924
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2926 $as_echo_n "checking build system type... " >&6; }
2927 if test "${ac_cv_build+set}" = set; then :
2928 $as_echo_n "(cached) " >&6
2929 else
2930 ac_build_alias=$build_alias
2931 test "x$ac_build_alias" = x &&
2932 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2933 test "x$ac_build_alias" = x &&
2934 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2935 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2936 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2937
2938 fi
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2940 $as_echo "$ac_cv_build" >&6; }
2941 case $ac_cv_build in
2942 *-*-*) ;;
2943 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2944 esac
2945 build=$ac_cv_build
2946 ac_save_IFS=$IFS; IFS='-'
2947 set x $ac_cv_build
2948 shift
2949 build_cpu=$1
2950 build_vendor=$2
2951 shift; shift
2952 # Remember, the first character of IFS is used to create $*,
2953 # except with old shells:
2954 build_os=$*
2955 IFS=$ac_save_IFS
2956 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2957
2958
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2960 $as_echo_n "checking host system type... " >&6; }
2961 if test "${ac_cv_host+set}" = set; then :
2962 $as_echo_n "(cached) " >&6
2963 else
2964 if test "x$host_alias" = x; then
2965 ac_cv_host=$ac_cv_build
2966 else
2967 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2968 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2969 fi
2970
2971 fi
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2973 $as_echo "$ac_cv_host" >&6; }
2974 case $ac_cv_host in
2975 *-*-*) ;;
2976 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2977 esac
2978 host=$ac_cv_host
2979 ac_save_IFS=$IFS; IFS='-'
2980 set x $ac_cv_host
2981 shift
2982 host_cpu=$1
2983 host_vendor=$2
2984 shift; shift
2985 # Remember, the first character of IFS is used to create $*,
2986 # except with old shells:
2987 host_os=$*
2988 IFS=$ac_save_IFS
2989 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2990
2991
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2993 $as_echo_n "checking target system type... " >&6; }
2994 if test "${ac_cv_target+set}" = set; then :
2995 $as_echo_n "(cached) " >&6
2996 else
2997 if test "x$target_alias" = x; then
2998 ac_cv_target=$ac_cv_host
2999 else
3000 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3001 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3002 fi
3003
3004 fi
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3006 $as_echo "$ac_cv_target" >&6; }
3007 case $ac_cv_target in
3008 *-*-*) ;;
3009 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3010 esac
3011 target=$ac_cv_target
3012 ac_save_IFS=$IFS; IFS='-'
3013 set x $ac_cv_target
3014 shift
3015 target_cpu=$1
3016 target_vendor=$2
3017 shift; shift
3018 # Remember, the first character of IFS is used to create $*,
3019 # except with old shells:
3020 target_os=$*
3021 IFS=$ac_save_IFS
3022 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3023
3024
3025 # The aliases save the names the user supplied, while $host etc.
3026 # will get canonicalized.
3027 test -n "$target_alias" &&
3028 test "$program_prefix$program_suffix$program_transform_name" = \
3029 NONENONEs,x,x, &&
3030 program_prefix=${target_alias}-
3031
3032 target_alias=${target_alias-$host_alias}
3033
3034 # Handy for debugging:
3035 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3036
3037 if test "$build" != "$host"; then
3038 # We are being configured with some form of cross compiler.
3039 GLIBCXX_IS_NATIVE=false
3040 case "$host","$target" in
3041 # Darwin crosses can use the host system's libraries and headers,
3042 # because of the fat library support. Of course, it must be the
3043 # same version of Darwin on both sides. Allow the user to
3044 # just say --target=foo-darwin without a version number to mean
3045 # "the version on this system".
3046 *-*-darwin*,*-*-darwin*)
3047 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3048 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3049 if test $hostos = $targetos -o $targetos = darwin ; then
3050 GLIBCXX_IS_NATIVE=true
3051 fi
3052 ;;
3053
3054 *)
3055
3056 ;;
3057 esac
3058 else
3059 GLIBCXX_IS_NATIVE=true
3060 fi
3061
3062 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3063 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3064 # 1.x: minimum required version
3065 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3066 # of other PACKAGE_* variables will, however, and there's nothing
3067 # we can do about that; they come from AC_INIT).
3068 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3069 # file in the top srcdir, etc, etc), so stop complaining.
3070 # no-dependencies: turns off auto dependency generation (just for now)
3071 # no-dist: we don't want 'dist' and related rules.
3072 # -Wall: turns on all automake warnings...
3073 # -Wno-portability: ...except this one, since GNU make is now required.
3074 am__api_version='1.11'
3075
3076 # Find a good install program. We prefer a C program (faster),
3077 # so one script is as good as another. But avoid the broken or
3078 # incompatible versions:
3079 # SysV /etc/install, /usr/sbin/install
3080 # SunOS /usr/etc/install
3081 # IRIX /sbin/install
3082 # AIX /bin/install
3083 # AmigaOS /C/install, which installs bootblocks on floppy discs
3084 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3085 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3086 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3087 # OS/2's system install, which has a completely different semantic
3088 # ./install, which can be erroneously created by make from ./install.sh.
3089 # Reject install programs that cannot install multiple files.
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3091 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3092 if test -z "$INSTALL"; then
3093 if test "${ac_cv_path_install+set}" = set; then :
3094 $as_echo_n "(cached) " >&6
3095 else
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 for as_dir in $PATH
3098 do
3099 IFS=$as_save_IFS
3100 test -z "$as_dir" && as_dir=.
3101 # Account for people who put trailing slashes in PATH elements.
3102 case $as_dir/ in #((
3103 ./ | .// | /[cC]/* | \
3104 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3105 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3106 /usr/ucb/* ) ;;
3107 *)
3108 # OSF1 and SCO ODT 3.0 have their own names for install.
3109 # Don't use installbsd from OSF since it installs stuff as root
3110 # by default.
3111 for ac_prog in ginstall scoinst install; do
3112 for ac_exec_ext in '' $ac_executable_extensions; do
3113 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3114 if test $ac_prog = install &&
3115 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3116 # AIX install. It has an incompatible calling convention.
3117 :
3118 elif test $ac_prog = install &&
3119 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3120 # program-specific install script used by HP pwplus--don't use.
3121 :
3122 else
3123 rm -rf conftest.one conftest.two conftest.dir
3124 echo one > conftest.one
3125 echo two > conftest.two
3126 mkdir conftest.dir
3127 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3128 test -s conftest.one && test -s conftest.two &&
3129 test -s conftest.dir/conftest.one &&
3130 test -s conftest.dir/conftest.two
3131 then
3132 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3133 break 3
3134 fi
3135 fi
3136 fi
3137 done
3138 done
3139 ;;
3140 esac
3141
3142 done
3143 IFS=$as_save_IFS
3144
3145 rm -rf conftest.one conftest.two conftest.dir
3146
3147 fi
3148 if test "${ac_cv_path_install+set}" = set; then
3149 INSTALL=$ac_cv_path_install
3150 else
3151 # As a last resort, use the slow shell script. Don't cache a
3152 # value for INSTALL within a source directory, because that will
3153 # break other packages using the cache if that directory is
3154 # removed, or if the value is a relative name.
3155 INSTALL=$ac_install_sh
3156 fi
3157 fi
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3159 $as_echo "$INSTALL" >&6; }
3160
3161 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3162 # It thinks the first close brace ends the variable substitution.
3163 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3164
3165 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3166
3167 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3168
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3170 $as_echo_n "checking whether build environment is sane... " >&6; }
3171 # Just in case
3172 sleep 1
3173 echo timestamp > conftest.file
3174 # Reject unsafe characters in $srcdir or the absolute working directory
3175 # name. Accept space and tab only in the latter.
3176 am_lf='
3177 '
3178 case `pwd` in
3179 *[\\\"\#\$\&\'\`$am_lf]*)
3180 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3181 esac
3182 case $srcdir in
3183 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3184 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3185 esac
3186
3187 # Do `set' in a subshell so we don't clobber the current shell's
3188 # arguments. Must try -L first in case configure is actually a
3189 # symlink; some systems play weird games with the mod time of symlinks
3190 # (eg FreeBSD returns the mod time of the symlink's containing
3191 # directory).
3192 if (
3193 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3194 if test "$*" = "X"; then
3195 # -L didn't work.
3196 set X `ls -t "$srcdir/configure" conftest.file`
3197 fi
3198 rm -f conftest.file
3199 if test "$*" != "X $srcdir/configure conftest.file" \
3200 && test "$*" != "X conftest.file $srcdir/configure"; then
3201
3202 # If neither matched, then we have a broken ls. This can happen
3203 # if, for instance, CONFIG_SHELL is bash and it inherits a
3204 # broken ls alias from the environment. This has actually
3205 # happened. Such a system could not be considered "sane".
3206 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3207 alias in your environment" "$LINENO" 5
3208 fi
3209
3210 test "$2" = conftest.file
3211 )
3212 then
3213 # Ok.
3214 :
3215 else
3216 as_fn_error "newly created file is older than distributed files!
3217 Check your system clock" "$LINENO" 5
3218 fi
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3220 $as_echo "yes" >&6; }
3221 test "$program_prefix" != NONE &&
3222 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3223 # Use a double $ so make ignores it.
3224 test "$program_suffix" != NONE &&
3225 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3226 # Double any \ or $.
3227 # By default was `s,x,x', remove it if useless.
3228 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3229 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3230
3231 # expand $ac_aux_dir to an absolute path
3232 am_aux_dir=`cd $ac_aux_dir && pwd`
3233
3234 if test x"${MISSING+set}" != xset; then
3235 case $am_aux_dir in
3236 *\ * | *\ *)
3237 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3238 *)
3239 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3240 esac
3241 fi
3242 # Use eval to expand $SHELL
3243 if eval "$MISSING --run true"; then
3244 am_missing_run="$MISSING --run "
3245 else
3246 am_missing_run=
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3248 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3249 fi
3250
3251 if test x"${install_sh}" != xset; then
3252 case $am_aux_dir in
3253 *\ * | *\ *)
3254 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3255 *)
3256 install_sh="\${SHELL} $am_aux_dir/install-sh"
3257 esac
3258 fi
3259
3260 # Installed binaries are usually stripped using `strip' when the user
3261 # run `make install-strip'. However `strip' might not be the right
3262 # tool to use in cross-compilation environments, therefore Automake
3263 # will honor the `STRIP' environment variable to overrule this program.
3264 if test "$cross_compiling" != no; then
3265 if test -n "$ac_tool_prefix"; then
3266 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3267 set dummy ${ac_tool_prefix}strip; ac_word=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if test "${ac_cv_prog_STRIP+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3272 else
3273 if test -n "$STRIP"; then
3274 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3275 else
3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 for as_dir in $PATH
3278 do
3279 IFS=$as_save_IFS
3280 test -z "$as_dir" && as_dir=.
3281 for ac_exec_ext in '' $ac_executable_extensions; do
3282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 break 2
3286 fi
3287 done
3288 done
3289 IFS=$as_save_IFS
3290
3291 fi
3292 fi
3293 STRIP=$ac_cv_prog_STRIP
3294 if test -n "$STRIP"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3296 $as_echo "$STRIP" >&6; }
3297 else
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3300 fi
3301
3302
3303 fi
3304 if test -z "$ac_cv_prog_STRIP"; then
3305 ac_ct_STRIP=$STRIP
3306 # Extract the first word of "strip", so it can be a program name with args.
3307 set dummy strip; ac_word=$2
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309 $as_echo_n "checking for $ac_word... " >&6; }
3310 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3311 $as_echo_n "(cached) " >&6
3312 else
3313 if test -n "$ac_ct_STRIP"; then
3314 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3315 else
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH
3318 do
3319 IFS=$as_save_IFS
3320 test -z "$as_dir" && as_dir=.
3321 for ac_exec_ext in '' $ac_executable_extensions; do
3322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3323 ac_cv_prog_ac_ct_STRIP="strip"
3324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 break 2
3326 fi
3327 done
3328 done
3329 IFS=$as_save_IFS
3330
3331 fi
3332 fi
3333 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3334 if test -n "$ac_ct_STRIP"; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3336 $as_echo "$ac_ct_STRIP" >&6; }
3337 else
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3340 fi
3341
3342 if test "x$ac_ct_STRIP" = x; then
3343 STRIP=":"
3344 else
3345 case $cross_compiling:$ac_tool_warned in
3346 yes:)
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3349 ac_tool_warned=yes ;;
3350 esac
3351 STRIP=$ac_ct_STRIP
3352 fi
3353 else
3354 STRIP="$ac_cv_prog_STRIP"
3355 fi
3356
3357 fi
3358 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3359
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3361 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3362 if test -z "$MKDIR_P"; then
3363 if test "${ac_cv_path_mkdir+set}" = set; then :
3364 $as_echo_n "(cached) " >&6
3365 else
3366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3368 do
3369 IFS=$as_save_IFS
3370 test -z "$as_dir" && as_dir=.
3371 for ac_prog in mkdir gmkdir; do
3372 for ac_exec_ext in '' $ac_executable_extensions; do
3373 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3374 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3375 'mkdir (GNU coreutils) '* | \
3376 'mkdir (coreutils) '* | \
3377 'mkdir (fileutils) '4.1*)
3378 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3379 break 3;;
3380 esac
3381 done
3382 done
3383 done
3384 IFS=$as_save_IFS
3385
3386 fi
3387
3388 if test "${ac_cv_path_mkdir+set}" = set; then
3389 MKDIR_P="$ac_cv_path_mkdir -p"
3390 else
3391 # As a last resort, use the slow shell script. Don't cache a
3392 # value for MKDIR_P within a source directory, because that will
3393 # break other packages using the cache if that directory is
3394 # removed, or if the value is a relative name.
3395 test -d ./--version && rmdir ./--version
3396 MKDIR_P="$ac_install_sh -d"
3397 fi
3398 fi
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3400 $as_echo "$MKDIR_P" >&6; }
3401
3402 mkdir_p="$MKDIR_P"
3403 case $mkdir_p in
3404 [\\/$]* | ?:[\\/]*) ;;
3405 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3406 esac
3407
3408 for ac_prog in gawk mawk nawk awk
3409 do
3410 # Extract the first word of "$ac_prog", so it can be a program name with args.
3411 set dummy $ac_prog; ac_word=$2
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413 $as_echo_n "checking for $ac_word... " >&6; }
3414 if test "${ac_cv_prog_AWK+set}" = set; then :
3415 $as_echo_n "(cached) " >&6
3416 else
3417 if test -n "$AWK"; then
3418 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3419 else
3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 for as_dir in $PATH
3422 do
3423 IFS=$as_save_IFS
3424 test -z "$as_dir" && as_dir=.
3425 for ac_exec_ext in '' $ac_executable_extensions; do
3426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3427 ac_cv_prog_AWK="$ac_prog"
3428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 break 2
3430 fi
3431 done
3432 done
3433 IFS=$as_save_IFS
3434
3435 fi
3436 fi
3437 AWK=$ac_cv_prog_AWK
3438 if test -n "$AWK"; then
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3440 $as_echo "$AWK" >&6; }
3441 else
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3443 $as_echo "no" >&6; }
3444 fi
3445
3446
3447 test -n "$AWK" && break
3448 done
3449
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3451 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3452 set x ${MAKE-make}
3453 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3454 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3455 $as_echo_n "(cached) " >&6
3456 else
3457 cat >conftest.make <<\_ACEOF
3458 SHELL = /bin/sh
3459 all:
3460 @echo '@@@%%%=$(MAKE)=@@@%%%'
3461 _ACEOF
3462 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3463 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3464 *@@@%%%=?*=@@@%%%*)
3465 eval ac_cv_prog_make_${ac_make}_set=yes;;
3466 *)
3467 eval ac_cv_prog_make_${ac_make}_set=no;;
3468 esac
3469 rm -f conftest.make
3470 fi
3471 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3473 $as_echo "yes" >&6; }
3474 SET_MAKE=
3475 else
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477 $as_echo "no" >&6; }
3478 SET_MAKE="MAKE=${MAKE-make}"
3479 fi
3480
3481 rm -rf .tst 2>/dev/null
3482 mkdir .tst 2>/dev/null
3483 if test -d .tst; then
3484 am__leading_dot=.
3485 else
3486 am__leading_dot=_
3487 fi
3488 rmdir .tst 2>/dev/null
3489
3490 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3491 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3492 # is not polluted with repeated "-I."
3493 am__isrc=' -I$(srcdir)'
3494 # test to see if srcdir already configured
3495 if test -f $srcdir/config.status; then
3496 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3497 fi
3498 fi
3499
3500 # test whether we have cygpath
3501 if test -z "$CYGPATH_W"; then
3502 if (cygpath --version) >/dev/null 2>/dev/null; then
3503 CYGPATH_W='cygpath -w'
3504 else
3505 CYGPATH_W=echo
3506 fi
3507 fi
3508
3509
3510 # Define the identity of the package.
3511 PACKAGE='libstdc++'
3512 VERSION='version-unused'
3513
3514
3515 # Some tools Automake needs.
3516
3517 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3518
3519
3520 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3521
3522
3523 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3524
3525
3526 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3527
3528
3529 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3530
3531 # We need awk for the "check" target. The system "awk" is bad on
3532 # some platforms.
3533 # Always define AMTAR for backward compatibility.
3534
3535 AMTAR=${AMTAR-"${am_missing_run}tar"}
3536
3537 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3538
3539
3540
3541
3542
3543
3544
3545
3546 # -fno-builtin must be present here so that a non-conflicting form of
3547 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3548
3549 save_CXXFLAGS="$CXXFLAGS"
3550 CXXFLAGS="$CXXFLAGS -fno-builtin"
3551 ac_ext=c
3552 ac_cpp='$CPP $CPPFLAGS'
3553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3556 if test -n "$ac_tool_prefix"; then
3557 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3558 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if test "${ac_cv_prog_CC+set}" = set; then :
3562 $as_echo_n "(cached) " >&6
3563 else
3564 if test -n "$CC"; then
3565 ac_cv_prog_CC="$CC" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3569 do
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3577 fi
3578 done
3579 done
3580 IFS=$as_save_IFS
3581
3582 fi
3583 fi
3584 CC=$ac_cv_prog_CC
3585 if test -n "$CC"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3587 $as_echo "$CC" >&6; }
3588 else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3591 fi
3592
3593
3594 fi
3595 if test -z "$ac_cv_prog_CC"; then
3596 ac_ct_CC=$CC
3597 # Extract the first word of "gcc", so it can be a program name with args.
3598 set dummy gcc; ac_word=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3602 $as_echo_n "(cached) " >&6
3603 else
3604 if test -n "$ac_ct_CC"; then
3605 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3609 do
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3614 ac_cv_prog_ac_ct_CC="gcc"
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 break 2
3617 fi
3618 done
3619 done
3620 IFS=$as_save_IFS
3621
3622 fi
3623 fi
3624 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3625 if test -n "$ac_ct_CC"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3627 $as_echo "$ac_ct_CC" >&6; }
3628 else
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3631 fi
3632
3633 if test "x$ac_ct_CC" = x; then
3634 CC=""
3635 else
3636 case $cross_compiling:$ac_tool_warned in
3637 yes:)
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3640 ac_tool_warned=yes ;;
3641 esac
3642 CC=$ac_ct_CC
3643 fi
3644 else
3645 CC="$ac_cv_prog_CC"
3646 fi
3647
3648 if test -z "$CC"; then
3649 if test -n "$ac_tool_prefix"; then
3650 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3651 set dummy ${ac_tool_prefix}cc; ac_word=$2
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 $as_echo_n "checking for $ac_word... " >&6; }
3654 if test "${ac_cv_prog_CC+set}" = set; then :
3655 $as_echo_n "(cached) " >&6
3656 else
3657 if test -n "$CC"; then
3658 ac_cv_prog_CC="$CC" # Let the user override the test.
3659 else
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 for as_dir in $PATH
3662 do
3663 IFS=$as_save_IFS
3664 test -z "$as_dir" && as_dir=.
3665 for ac_exec_ext in '' $ac_executable_extensions; do
3666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3667 ac_cv_prog_CC="${ac_tool_prefix}cc"
3668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669 break 2
3670 fi
3671 done
3672 done
3673 IFS=$as_save_IFS
3674
3675 fi
3676 fi
3677 CC=$ac_cv_prog_CC
3678 if test -n "$CC"; then
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3680 $as_echo "$CC" >&6; }
3681 else
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3683 $as_echo "no" >&6; }
3684 fi
3685
3686
3687 fi
3688 fi
3689 if test -z "$CC"; then
3690 # Extract the first word of "cc", so it can be a program name with args.
3691 set dummy cc; ac_word=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if test "${ac_cv_prog_CC+set}" = set; then :
3695 $as_echo_n "(cached) " >&6
3696 else
3697 if test -n "$CC"; then
3698 ac_cv_prog_CC="$CC" # Let the user override the test.
3699 else
3700 ac_prog_rejected=no
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3703 do
3704 IFS=$as_save_IFS
3705 test -z "$as_dir" && as_dir=.
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3708 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3709 ac_prog_rejected=yes
3710 continue
3711 fi
3712 ac_cv_prog_CC="cc"
3713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714 break 2
3715 fi
3716 done
3717 done
3718 IFS=$as_save_IFS
3719
3720 if test $ac_prog_rejected = yes; then
3721 # We found a bogon in the path, so make sure we never use it.
3722 set dummy $ac_cv_prog_CC
3723 shift
3724 if test $# != 0; then
3725 # We chose a different compiler from the bogus one.
3726 # However, it has the same basename, so the bogon will be chosen
3727 # first if we set CC to just the basename; use the full file name.
3728 shift
3729 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3730 fi
3731 fi
3732 fi
3733 fi
3734 CC=$ac_cv_prog_CC
3735 if test -n "$CC"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737 $as_echo "$CC" >&6; }
3738 else
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3741 fi
3742
3743
3744 fi
3745 if test -z "$CC"; then
3746 if test -n "$ac_tool_prefix"; then
3747 for ac_prog in cl.exe
3748 do
3749 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3750 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if test "${ac_cv_prog_CC+set}" = set; then :
3754 $as_echo_n "(cached) " >&6
3755 else
3756 if test -n "$CC"; then
3757 ac_cv_prog_CC="$CC" # Let the user override the test.
3758 else
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 for as_dir in $PATH
3761 do
3762 IFS=$as_save_IFS
3763 test -z "$as_dir" && as_dir=.
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3766 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 break 2
3769 fi
3770 done
3771 done
3772 IFS=$as_save_IFS
3773
3774 fi
3775 fi
3776 CC=$ac_cv_prog_CC
3777 if test -n "$CC"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3779 $as_echo "$CC" >&6; }
3780 else
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3783 fi
3784
3785
3786 test -n "$CC" && break
3787 done
3788 fi
3789 if test -z "$CC"; then
3790 ac_ct_CC=$CC
3791 for ac_prog in cl.exe
3792 do
3793 # Extract the first word of "$ac_prog", so it can be a program name with args.
3794 set dummy $ac_prog; ac_word=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3798 $as_echo_n "(cached) " >&6
3799 else
3800 if test -n "$ac_ct_CC"; then
3801 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3802 else
3803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804 for as_dir in $PATH
3805 do
3806 IFS=$as_save_IFS
3807 test -z "$as_dir" && as_dir=.
3808 for ac_exec_ext in '' $ac_executable_extensions; do
3809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3810 ac_cv_prog_ac_ct_CC="$ac_prog"
3811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812 break 2
3813 fi
3814 done
3815 done
3816 IFS=$as_save_IFS
3817
3818 fi
3819 fi
3820 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3821 if test -n "$ac_ct_CC"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3823 $as_echo "$ac_ct_CC" >&6; }
3824 else
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3827 fi
3828
3829
3830 test -n "$ac_ct_CC" && break
3831 done
3832
3833 if test "x$ac_ct_CC" = x; then
3834 CC=""
3835 else
3836 case $cross_compiling:$ac_tool_warned in
3837 yes:)
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3840 ac_tool_warned=yes ;;
3841 esac
3842 CC=$ac_ct_CC
3843 fi
3844 fi
3845
3846 fi
3847
3848
3849 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3851 as_fn_error "no acceptable C compiler found in \$PATH
3852 See \`config.log' for more details." "$LINENO" 5; }
3853
3854 # Provide some information about the compiler.
3855 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3856 set X $ac_compile
3857 ac_compiler=$2
3858 for ac_option in --version -v -V -qversion; do
3859 { { ac_try="$ac_compiler $ac_option >&5"
3860 case "(($ac_try" in
3861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3863 esac
3864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865 $as_echo "$ac_try_echo"; } >&5
3866 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3867 ac_status=$?
3868 if test -s conftest.err; then
3869 sed '10a\
3870 ... rest of stderr output deleted ...
3871 10q' conftest.err >conftest.er1
3872 cat conftest.er1 >&5
3873 rm -f conftest.er1 conftest.err
3874 fi
3875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3876 test $ac_status = 0; }
3877 done
3878
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3881
3882 int
3883 main ()
3884 {
3885
3886 ;
3887 return 0;
3888 }
3889 _ACEOF
3890 # FIXME: Cleanup?
3891 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3892 (eval $ac_link) 2>&5
3893 ac_status=$?
3894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3895 test $ac_status = 0; }; then :
3896 gcc_no_link=no
3897 else
3898 gcc_no_link=yes
3899 fi
3900 if test x$gcc_no_link = xyes; then
3901 # Setting cross_compile will disable run tests; it will
3902 # also disable AC_CHECK_FILE but that's generally
3903 # correct if we can't link.
3904 cross_compiling=yes
3905 EXEEXT=
3906 else
3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h. */
3909
3910 int
3911 main ()
3912 {
3913
3914 ;
3915 return 0;
3916 }
3917 _ACEOF
3918 ac_clean_files_save=$ac_clean_files
3919 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3920 # Try to create an executable without -o first, disregard a.out.
3921 # It will help us diagnose broken compilers, and finding out an intuition
3922 # of exeext.
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3924 $as_echo_n "checking for C compiler default output file name... " >&6; }
3925 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3926
3927 # The possible output files:
3928 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3929
3930 ac_rmfiles=
3931 for ac_file in $ac_files
3932 do
3933 case $ac_file in
3934 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3935 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3936 esac
3937 done
3938 rm -f $ac_rmfiles
3939
3940 if { { ac_try="$ac_link_default"
3941 case "(($ac_try" in
3942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3943 *) ac_try_echo=$ac_try;;
3944 esac
3945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3946 $as_echo "$ac_try_echo"; } >&5
3947 (eval "$ac_link_default") 2>&5
3948 ac_status=$?
3949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3950 test $ac_status = 0; }; then :
3951 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3952 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3953 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3954 # so that the user can short-circuit this test for compilers unknown to
3955 # Autoconf.
3956 for ac_file in $ac_files ''
3957 do
3958 test -f "$ac_file" || continue
3959 case $ac_file in
3960 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3961 ;;
3962 [ab].out )
3963 # We found the default executable, but exeext='' is most
3964 # certainly right.
3965 break;;
3966 *.* )
3967 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3968 then :; else
3969 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3970 fi
3971 # We set ac_cv_exeext here because the later test for it is not
3972 # safe: cross compilers may not add the suffix if given an `-o'
3973 # argument, so we may need to know it at that point already.
3974 # Even if this section looks crufty: it has the advantage of
3975 # actually working.
3976 break;;
3977 * )
3978 break;;
3979 esac
3980 done
3981 test "$ac_cv_exeext" = no && ac_cv_exeext=
3982
3983 else
3984 ac_file=''
3985 fi
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3987 $as_echo "$ac_file" >&6; }
3988 if test -z "$ac_file"; then :
3989 $as_echo "$as_me: failed program was:" >&5
3990 sed 's/^/| /' conftest.$ac_ext >&5
3991
3992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3994 { as_fn_set_status 77
3995 as_fn_error "C compiler cannot create executables
3996 See \`config.log' for more details." "$LINENO" 5; }; }
3997 fi
3998 ac_exeext=$ac_cv_exeext
3999
4000 # Check that the compiler produces executables we can run. If not, either
4001 # the compiler is broken, or we cross compile.
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4003 $as_echo_n "checking whether the C compiler works... " >&6; }
4004 # If not cross compiling, check that we can run a simple program.
4005 if test "$cross_compiling" != yes; then
4006 if { ac_try='./$ac_file'
4007 { { case "(($ac_try" in
4008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009 *) ac_try_echo=$ac_try;;
4010 esac
4011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4012 $as_echo "$ac_try_echo"; } >&5
4013 (eval "$ac_try") 2>&5
4014 ac_status=$?
4015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4016 test $ac_status = 0; }; }; then
4017 cross_compiling=no
4018 else
4019 if test "$cross_compiling" = maybe; then
4020 cross_compiling=yes
4021 else
4022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4024 as_fn_error "cannot run C compiled programs.
4025 If you meant to cross compile, use \`--host'.
4026 See \`config.log' for more details." "$LINENO" 5; }
4027 fi
4028 fi
4029 fi
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4031 $as_echo "yes" >&6; }
4032
4033 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4034 ac_clean_files=$ac_clean_files_save
4035 # Check that the compiler produces executables we can run. If not, either
4036 # the compiler is broken, or we cross compile.
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4038 $as_echo_n "checking whether we are cross compiling... " >&6; }
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4040 $as_echo "$cross_compiling" >&6; }
4041
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4043 $as_echo_n "checking for suffix of executables... " >&6; }
4044 if { { ac_try="$ac_link"
4045 case "(($ac_try" in
4046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4047 *) ac_try_echo=$ac_try;;
4048 esac
4049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4050 $as_echo "$ac_try_echo"; } >&5
4051 (eval "$ac_link") 2>&5
4052 ac_status=$?
4053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4054 test $ac_status = 0; }; then :
4055 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4056 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4057 # work properly (i.e., refer to `conftest.exe'), while it won't with
4058 # `rm'.
4059 for ac_file in conftest.exe conftest conftest.*; do
4060 test -f "$ac_file" || continue
4061 case $ac_file in
4062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4063 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4064 break;;
4065 * ) break;;
4066 esac
4067 done
4068 else
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error "cannot compute suffix of executables: cannot compile and link
4072 See \`config.log' for more details." "$LINENO" 5; }
4073 fi
4074 rm -f conftest$ac_cv_exeext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4076 $as_echo "$ac_cv_exeext" >&6; }
4077
4078 rm -f conftest.$ac_ext
4079 EXEEXT=$ac_cv_exeext
4080 ac_exeext=$EXEEXT
4081 fi
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4083 $as_echo_n "checking for suffix of object files... " >&6; }
4084 if test "${ac_cv_objext+set}" = set; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4089
4090 int
4091 main ()
4092 {
4093
4094 ;
4095 return 0;
4096 }
4097 _ACEOF
4098 rm -f conftest.o conftest.obj
4099 if { { ac_try="$ac_compile"
4100 case "(($ac_try" in
4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102 *) ac_try_echo=$ac_try;;
4103 esac
4104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4105 $as_echo "$ac_try_echo"; } >&5
4106 (eval "$ac_compile") 2>&5
4107 ac_status=$?
4108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4109 test $ac_status = 0; }; then :
4110 for ac_file in conftest.o conftest.obj conftest.*; do
4111 test -f "$ac_file" || continue;
4112 case $ac_file in
4113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4114 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4115 break;;
4116 esac
4117 done
4118 else
4119 $as_echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.$ac_ext >&5
4121
4122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124 as_fn_error "cannot compute suffix of object files: cannot compile
4125 See \`config.log' for more details." "$LINENO" 5; }
4126 fi
4127 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4128 fi
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4130 $as_echo "$ac_cv_objext" >&6; }
4131 OBJEXT=$ac_cv_objext
4132 ac_objext=$OBJEXT
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4134 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4135 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4136 $as_echo_n "(cached) " >&6
4137 else
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4140
4141 int
4142 main ()
4143 {
4144 #ifndef __GNUC__
4145 choke me
4146 #endif
4147
4148 ;
4149 return 0;
4150 }
4151 _ACEOF
4152 if ac_fn_c_try_compile "$LINENO"; then :
4153 ac_compiler_gnu=yes
4154 else
4155 ac_compiler_gnu=no
4156 fi
4157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4159
4160 fi
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4162 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4163 if test $ac_compiler_gnu = yes; then
4164 GCC=yes
4165 else
4166 GCC=
4167 fi
4168 ac_test_CFLAGS=${CFLAGS+set}
4169 ac_save_CFLAGS=$CFLAGS
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4171 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4172 if test "${ac_cv_prog_cc_g+set}" = set; then :
4173 $as_echo_n "(cached) " >&6
4174 else
4175 ac_save_c_werror_flag=$ac_c_werror_flag
4176 ac_c_werror_flag=yes
4177 ac_cv_prog_cc_g=no
4178 CFLAGS="-g"
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4181
4182 int
4183 main ()
4184 {
4185
4186 ;
4187 return 0;
4188 }
4189 _ACEOF
4190 if ac_fn_c_try_compile "$LINENO"; then :
4191 ac_cv_prog_cc_g=yes
4192 else
4193 CFLAGS=""
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4196
4197 int
4198 main ()
4199 {
4200
4201 ;
4202 return 0;
4203 }
4204 _ACEOF
4205 if ac_fn_c_try_compile "$LINENO"; then :
4206
4207 else
4208 ac_c_werror_flag=$ac_save_c_werror_flag
4209 CFLAGS="-g"
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4212
4213 int
4214 main ()
4215 {
4216
4217 ;
4218 return 0;
4219 }
4220 _ACEOF
4221 if ac_fn_c_try_compile "$LINENO"; then :
4222 ac_cv_prog_cc_g=yes
4223 fi
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4225 fi
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4227 fi
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 ac_c_werror_flag=$ac_save_c_werror_flag
4230 fi
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4232 $as_echo "$ac_cv_prog_cc_g" >&6; }
4233 if test "$ac_test_CFLAGS" = set; then
4234 CFLAGS=$ac_save_CFLAGS
4235 elif test $ac_cv_prog_cc_g = yes; then
4236 if test "$GCC" = yes; then
4237 CFLAGS="-g -O2"
4238 else
4239 CFLAGS="-g"
4240 fi
4241 else
4242 if test "$GCC" = yes; then
4243 CFLAGS="-O2"
4244 else
4245 CFLAGS=
4246 fi
4247 fi
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4249 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4250 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4251 $as_echo_n "(cached) " >&6
4252 else
4253 ac_cv_prog_cc_c89=no
4254 ac_save_CC=$CC
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4257 #include <stdarg.h>
4258 #include <stdio.h>
4259 #include <sys/types.h>
4260 #include <sys/stat.h>
4261 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4262 struct buf { int x; };
4263 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4264 static char *e (p, i)
4265 char **p;
4266 int i;
4267 {
4268 return p[i];
4269 }
4270 static char *f (char * (*g) (char **, int), char **p, ...)
4271 {
4272 char *s;
4273 va_list v;
4274 va_start (v,p);
4275 s = g (p, va_arg (v,int));
4276 va_end (v);
4277 return s;
4278 }
4279
4280 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4281 function prototypes and stuff, but not '\xHH' hex character constants.
4282 These don't provoke an error unfortunately, instead are silently treated
4283 as 'x'. The following induces an error, until -std is added to get
4284 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4285 array size at least. It's necessary to write '\x00'==0 to get something
4286 that's true only with -std. */
4287 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4288
4289 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4290 inside strings and character constants. */
4291 #define FOO(x) 'x'
4292 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4293
4294 int test (int i, double x);
4295 struct s1 {int (*f) (int a);};
4296 struct s2 {int (*f) (double a);};
4297 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4298 int argc;
4299 char **argv;
4300 int
4301 main ()
4302 {
4303 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4304 ;
4305 return 0;
4306 }
4307 _ACEOF
4308 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4309 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4310 do
4311 CC="$ac_save_CC $ac_arg"
4312 if ac_fn_c_try_compile "$LINENO"; then :
4313 ac_cv_prog_cc_c89=$ac_arg
4314 fi
4315 rm -f core conftest.err conftest.$ac_objext
4316 test "x$ac_cv_prog_cc_c89" != "xno" && break
4317 done
4318 rm -f conftest.$ac_ext
4319 CC=$ac_save_CC
4320
4321 fi
4322 # AC_CACHE_VAL
4323 case "x$ac_cv_prog_cc_c89" in
4324 x)
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4326 $as_echo "none needed" >&6; } ;;
4327 xno)
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4329 $as_echo "unsupported" >&6; } ;;
4330 *)
4331 CC="$CC $ac_cv_prog_cc_c89"
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4333 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4334 esac
4335 if test "x$ac_cv_prog_cc_c89" != xno; then :
4336
4337 fi
4338
4339 ac_ext=c
4340 ac_cpp='$CPP $CPPFLAGS'
4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4344
4345 ac_ext=cpp
4346 ac_cpp='$CXXCPP $CPPFLAGS'
4347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4350 if test -z "$CXX"; then
4351 if test -n "$CCC"; then
4352 CXX=$CCC
4353 else
4354 if test -n "$ac_tool_prefix"; then
4355 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4356 do
4357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if test "${ac_cv_prog_CXX+set}" = set; then :
4362 $as_echo_n "(cached) " >&6
4363 else
4364 if test -n "$CXX"; then
4365 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4366 else
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 for as_dir in $PATH
4369 do
4370 IFS=$as_save_IFS
4371 test -z "$as_dir" && as_dir=.
4372 for ac_exec_ext in '' $ac_executable_extensions; do
4373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4374 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 break 2
4377 fi
4378 done
4379 done
4380 IFS=$as_save_IFS
4381
4382 fi
4383 fi
4384 CXX=$ac_cv_prog_CXX
4385 if test -n "$CXX"; then
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4387 $as_echo "$CXX" >&6; }
4388 else
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4391 fi
4392
4393
4394 test -n "$CXX" && break
4395 done
4396 fi
4397 if test -z "$CXX"; then
4398 ac_ct_CXX=$CXX
4399 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4400 do
4401 # Extract the first word of "$ac_prog", so it can be a program name with args.
4402 set dummy $ac_prog; ac_word=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4406 $as_echo_n "(cached) " >&6
4407 else
4408 if test -n "$ac_ct_CXX"; then
4409 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4410 else
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 for as_dir in $PATH
4413 do
4414 IFS=$as_save_IFS
4415 test -z "$as_dir" && as_dir=.
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418 ac_cv_prog_ac_ct_CXX="$ac_prog"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 break 2
4421 fi
4422 done
4423 done
4424 IFS=$as_save_IFS
4425
4426 fi
4427 fi
4428 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4429 if test -n "$ac_ct_CXX"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4431 $as_echo "$ac_ct_CXX" >&6; }
4432 else
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4435 fi
4436
4437
4438 test -n "$ac_ct_CXX" && break
4439 done
4440
4441 if test "x$ac_ct_CXX" = x; then
4442 CXX="g++"
4443 else
4444 case $cross_compiling:$ac_tool_warned in
4445 yes:)
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4448 ac_tool_warned=yes ;;
4449 esac
4450 CXX=$ac_ct_CXX
4451 fi
4452 fi
4453
4454 fi
4455 fi
4456 # Provide some information about the compiler.
4457 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4458 set X $ac_compile
4459 ac_compiler=$2
4460 for ac_option in --version -v -V -qversion; do
4461 { { ac_try="$ac_compiler $ac_option >&5"
4462 case "(($ac_try" in
4463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4464 *) ac_try_echo=$ac_try;;
4465 esac
4466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4467 $as_echo "$ac_try_echo"; } >&5
4468 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4469 ac_status=$?
4470 if test -s conftest.err; then
4471 sed '10a\
4472 ... rest of stderr output deleted ...
4473 10q' conftest.err >conftest.er1
4474 cat conftest.er1 >&5
4475 rm -f conftest.er1 conftest.err
4476 fi
4477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478 test $ac_status = 0; }
4479 done
4480
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4482 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4483 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4484 $as_echo_n "(cached) " >&6
4485 else
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4488
4489 int
4490 main ()
4491 {
4492 #ifndef __GNUC__
4493 choke me
4494 #endif
4495
4496 ;
4497 return 0;
4498 }
4499 _ACEOF
4500 if ac_fn_cxx_try_compile "$LINENO"; then :
4501 ac_compiler_gnu=yes
4502 else
4503 ac_compiler_gnu=no
4504 fi
4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4507
4508 fi
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4510 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4511 if test $ac_compiler_gnu = yes; then
4512 GXX=yes
4513 else
4514 GXX=
4515 fi
4516 ac_test_CXXFLAGS=${CXXFLAGS+set}
4517 ac_save_CXXFLAGS=$CXXFLAGS
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4519 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4520 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4521 $as_echo_n "(cached) " >&6
4522 else
4523 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4524 ac_cxx_werror_flag=yes
4525 ac_cv_prog_cxx_g=no
4526 CXXFLAGS="-g"
4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4529
4530 int
4531 main ()
4532 {
4533
4534 ;
4535 return 0;
4536 }
4537 _ACEOF
4538 if ac_fn_cxx_try_compile "$LINENO"; then :
4539 ac_cv_prog_cxx_g=yes
4540 else
4541 CXXFLAGS=""
4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4544
4545 int
4546 main ()
4547 {
4548
4549 ;
4550 return 0;
4551 }
4552 _ACEOF
4553 if ac_fn_cxx_try_compile "$LINENO"; then :
4554
4555 else
4556 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4557 CXXFLAGS="-g"
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4560
4561 int
4562 main ()
4563 {
4564
4565 ;
4566 return 0;
4567 }
4568 _ACEOF
4569 if ac_fn_cxx_try_compile "$LINENO"; then :
4570 ac_cv_prog_cxx_g=yes
4571 fi
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4573 fi
4574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4575 fi
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4577 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4578 fi
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4580 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4581 if test "$ac_test_CXXFLAGS" = set; then
4582 CXXFLAGS=$ac_save_CXXFLAGS
4583 elif test $ac_cv_prog_cxx_g = yes; then
4584 if test "$GXX" = yes; then
4585 CXXFLAGS="-g -O2"
4586 else
4587 CXXFLAGS="-g"
4588 fi
4589 else
4590 if test "$GXX" = yes; then
4591 CXXFLAGS="-O2"
4592 else
4593 CXXFLAGS=
4594 fi
4595 fi
4596 ac_ext=c
4597 ac_cpp='$CPP $CPPFLAGS'
4598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4601
4602 CXXFLAGS="$save_CXXFLAGS"
4603
4604 # Runs configure.host, and assorted other critical bits. Sets
4605 # up critical shell variables.
4606
4607 ac_ext=c
4608 ac_cpp='$CPP $CPPFLAGS'
4609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4613 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4614 # On Suns, sometimes $CPP names a directory.
4615 if test -n "$CPP" && test -d "$CPP"; then
4616 CPP=
4617 fi
4618 if test -z "$CPP"; then
4619 if test "${ac_cv_prog_CPP+set}" = set; then :
4620 $as_echo_n "(cached) " >&6
4621 else
4622 # Double quotes because CPP needs to be expanded
4623 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4624 do
4625 ac_preproc_ok=false
4626 for ac_c_preproc_warn_flag in '' yes
4627 do
4628 # Use a header file that comes with gcc, so configuring glibc
4629 # with a fresh cross-compiler works.
4630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631 # <limits.h> exists even on freestanding compilers.
4632 # On the NeXT, cc -E runs the code through the compiler's parser,
4633 # not just through cpp. "Syntax error" is here to catch this case.
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4636 #ifdef __STDC__
4637 # include <limits.h>
4638 #else
4639 # include <assert.h>
4640 #endif
4641 Syntax error
4642 _ACEOF
4643 if ac_fn_c_try_cpp "$LINENO"; then :
4644
4645 else
4646 # Broken: fails on valid input.
4647 continue
4648 fi
4649 rm -f conftest.err conftest.$ac_ext
4650
4651 # OK, works on sane cases. Now check whether nonexistent headers
4652 # can be detected and how.
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4655 #include <ac_nonexistent.h>
4656 _ACEOF
4657 if ac_fn_c_try_cpp "$LINENO"; then :
4658 # Broken: success on invalid input.
4659 continue
4660 else
4661 # Passes both tests.
4662 ac_preproc_ok=:
4663 break
4664 fi
4665 rm -f conftest.err conftest.$ac_ext
4666
4667 done
4668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4669 rm -f conftest.err conftest.$ac_ext
4670 if $ac_preproc_ok; then :
4671 break
4672 fi
4673
4674 done
4675 ac_cv_prog_CPP=$CPP
4676
4677 fi
4678 CPP=$ac_cv_prog_CPP
4679 else
4680 ac_cv_prog_CPP=$CPP
4681 fi
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4683 $as_echo "$CPP" >&6; }
4684 ac_preproc_ok=false
4685 for ac_c_preproc_warn_flag in '' yes
4686 do
4687 # Use a header file that comes with gcc, so configuring glibc
4688 # with a fresh cross-compiler works.
4689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4690 # <limits.h> exists even on freestanding compilers.
4691 # On the NeXT, cc -E runs the code through the compiler's parser,
4692 # not just through cpp. "Syntax error" is here to catch this case.
4693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h. */
4695 #ifdef __STDC__
4696 # include <limits.h>
4697 #else
4698 # include <assert.h>
4699 #endif
4700 Syntax error
4701 _ACEOF
4702 if ac_fn_c_try_cpp "$LINENO"; then :
4703
4704 else
4705 # Broken: fails on valid input.
4706 continue
4707 fi
4708 rm -f conftest.err conftest.$ac_ext
4709
4710 # OK, works on sane cases. Now check whether nonexistent headers
4711 # can be detected and how.
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4714 #include <ac_nonexistent.h>
4715 _ACEOF
4716 if ac_fn_c_try_cpp "$LINENO"; then :
4717 # Broken: success on invalid input.
4718 continue
4719 else
4720 # Passes both tests.
4721 ac_preproc_ok=:
4722 break
4723 fi
4724 rm -f conftest.err conftest.$ac_ext
4725
4726 done
4727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4728 rm -f conftest.err conftest.$ac_ext
4729 if $ac_preproc_ok; then :
4730
4731 else
4732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4734 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4735 See \`config.log' for more details." "$LINENO" 5; }
4736 fi
4737
4738 ac_ext=c
4739 ac_cpp='$CPP $CPPFLAGS'
4740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4743
4744
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4746 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4747 if test "${ac_cv_path_GREP+set}" = set; then :
4748 $as_echo_n "(cached) " >&6
4749 else
4750 if test -z "$GREP"; then
4751 ac_path_GREP_found=false
4752 # Loop through the user's path and test for each of PROGNAME-LIST
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4755 do
4756 IFS=$as_save_IFS
4757 test -z "$as_dir" && as_dir=.
4758 for ac_prog in grep ggrep; do
4759 for ac_exec_ext in '' $ac_executable_extensions; do
4760 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4761 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4762 # Check for GNU ac_path_GREP and select it if it is found.
4763 # Check for GNU $ac_path_GREP
4764 case `"$ac_path_GREP" --version 2>&1` in
4765 *GNU*)
4766 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4767 *)
4768 ac_count=0
4769 $as_echo_n 0123456789 >"conftest.in"
4770 while :
4771 do
4772 cat "conftest.in" "conftest.in" >"conftest.tmp"
4773 mv "conftest.tmp" "conftest.in"
4774 cp "conftest.in" "conftest.nl"
4775 $as_echo 'GREP' >> "conftest.nl"
4776 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4777 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4778 as_fn_arith $ac_count + 1 && ac_count=$as_val
4779 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4780 # Best one so far, save it but keep looking for a better one
4781 ac_cv_path_GREP="$ac_path_GREP"
4782 ac_path_GREP_max=$ac_count
4783 fi
4784 # 10*(2^10) chars as input seems more than enough
4785 test $ac_count -gt 10 && break
4786 done
4787 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4788 esac
4789
4790 $ac_path_GREP_found && break 3
4791 done
4792 done
4793 done
4794 IFS=$as_save_IFS
4795 if test -z "$ac_cv_path_GREP"; then
4796 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4797 fi
4798 else
4799 ac_cv_path_GREP=$GREP
4800 fi
4801
4802 fi
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4804 $as_echo "$ac_cv_path_GREP" >&6; }
4805 GREP="$ac_cv_path_GREP"
4806
4807
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4809 $as_echo_n "checking for egrep... " >&6; }
4810 if test "${ac_cv_path_EGREP+set}" = set; then :
4811 $as_echo_n "(cached) " >&6
4812 else
4813 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4814 then ac_cv_path_EGREP="$GREP -E"
4815 else
4816 if test -z "$EGREP"; then
4817 ac_path_EGREP_found=false
4818 # Loop through the user's path and test for each of PROGNAME-LIST
4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4821 do
4822 IFS=$as_save_IFS
4823 test -z "$as_dir" && as_dir=.
4824 for ac_prog in egrep; do
4825 for ac_exec_ext in '' $ac_executable_extensions; do
4826 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4827 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4828 # Check for GNU ac_path_EGREP and select it if it is found.
4829 # Check for GNU $ac_path_EGREP
4830 case `"$ac_path_EGREP" --version 2>&1` in
4831 *GNU*)
4832 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4833 *)
4834 ac_count=0
4835 $as_echo_n 0123456789 >"conftest.in"
4836 while :
4837 do
4838 cat "conftest.in" "conftest.in" >"conftest.tmp"
4839 mv "conftest.tmp" "conftest.in"
4840 cp "conftest.in" "conftest.nl"
4841 $as_echo 'EGREP' >> "conftest.nl"
4842 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4843 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4844 as_fn_arith $ac_count + 1 && ac_count=$as_val
4845 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4846 # Best one so far, save it but keep looking for a better one
4847 ac_cv_path_EGREP="$ac_path_EGREP"
4848 ac_path_EGREP_max=$ac_count
4849 fi
4850 # 10*(2^10) chars as input seems more than enough
4851 test $ac_count -gt 10 && break
4852 done
4853 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4854 esac
4855
4856 $ac_path_EGREP_found && break 3
4857 done
4858 done
4859 done
4860 IFS=$as_save_IFS
4861 if test -z "$ac_cv_path_EGREP"; then
4862 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4863 fi
4864 else
4865 ac_cv_path_EGREP=$EGREP
4866 fi
4867
4868 fi
4869 fi
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4871 $as_echo "$ac_cv_path_EGREP" >&6; }
4872 EGREP="$ac_cv_path_EGREP"
4873
4874
4875
4876 # Keep these sync'd with the list in Makefile.am. The first provides an
4877 # expandable list at autoconf time; the second provides an expandable list
4878 # (i.e., shell variable) at configure time.
4879
4880 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4881
4882 # These need to be absolute paths, yet at the same time need to
4883 # canonicalize only relative paths, because then amd will not unmount
4884 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4885 glibcxx_builddir=`${PWDCMD-pwd}`
4886 case $srcdir in
4887 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4888 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4889 esac
4890 toplevel_builddir=${glibcxx_builddir}/..
4891 toplevel_srcdir=${glibcxx_srcdir}/..
4892
4893
4894
4895
4896
4897 # We use these options to decide which functions to include. They are
4898 # set from the top level.
4899
4900 # Check whether --with-target-subdir was given.
4901 if test "${with_target_subdir+set}" = set; then :
4902 withval=$with_target_subdir;
4903 fi
4904
4905
4906
4907 # Check whether --with-cross-host was given.
4908 if test "${with_cross_host+set}" = set; then :
4909 withval=$with_cross_host;
4910 fi
4911
4912
4913
4914 # Check whether --with-newlib was given.
4915 if test "${with_newlib+set}" = set; then :
4916 withval=$with_newlib;
4917 fi
4918
4919
4920 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4921 # available). Uncomment the next line to force a particular method.
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4923 $as_echo_n "checking whether ln -s works... " >&6; }
4924 LN_S=$as_ln_s
4925 if test "$LN_S" = "ln -s"; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4927 $as_echo "yes" >&6; }
4928 else
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4930 $as_echo "no, using $LN_S" >&6; }
4931 fi
4932
4933 #LN_S='cp -p'
4934
4935 if test -n "$ac_tool_prefix"; then
4936 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4937 set dummy ${ac_tool_prefix}as; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if test "${ac_cv_prog_AS+set}" = set; then :
4941 $as_echo_n "(cached) " >&6
4942 else
4943 if test -n "$AS"; then
4944 ac_cv_prog_AS="$AS" # Let the user override the test.
4945 else
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 for as_dir in $PATH
4948 do
4949 IFS=$as_save_IFS
4950 test -z "$as_dir" && as_dir=.
4951 for ac_exec_ext in '' $ac_executable_extensions; do
4952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4953 ac_cv_prog_AS="${ac_tool_prefix}as"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 break 2
4956 fi
4957 done
4958 done
4959 IFS=$as_save_IFS
4960
4961 fi
4962 fi
4963 AS=$ac_cv_prog_AS
4964 if test -n "$AS"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4966 $as_echo "$AS" >&6; }
4967 else
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4970 fi
4971
4972
4973 fi
4974 if test -z "$ac_cv_prog_AS"; then
4975 ac_ct_AS=$AS
4976 # Extract the first word of "as", so it can be a program name with args.
4977 set dummy as; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4982 else
4983 if test -n "$ac_ct_AS"; then
4984 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4988 do
4989 IFS=$as_save_IFS
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_prog_ac_ct_AS="as"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 break 2
4996 fi
4997 done
4998 done
4999 IFS=$as_save_IFS
5000
5001 fi
5002 fi
5003 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5004 if test -n "$ac_ct_AS"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5006 $as_echo "$ac_ct_AS" >&6; }
5007 else
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5010 fi
5011
5012 if test "x$ac_ct_AS" = x; then
5013 AS=""
5014 else
5015 case $cross_compiling:$ac_tool_warned in
5016 yes:)
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5019 ac_tool_warned=yes ;;
5020 esac
5021 AS=$ac_ct_AS
5022 fi
5023 else
5024 AS="$ac_cv_prog_AS"
5025 fi
5026
5027 if test -n "$ac_tool_prefix"; then
5028 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5029 set dummy ${ac_tool_prefix}ar; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if test "${ac_cv_prog_AR+set}" = set; then :
5033 $as_echo_n "(cached) " >&6
5034 else
5035 if test -n "$AR"; then
5036 ac_cv_prog_AR="$AR" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5040 do
5041 IFS=$as_save_IFS
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5045 ac_cv_prog_AR="${ac_tool_prefix}ar"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 break 2
5048 fi
5049 done
5050 done
5051 IFS=$as_save_IFS
5052
5053 fi
5054 fi
5055 AR=$ac_cv_prog_AR
5056 if test -n "$AR"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5058 $as_echo "$AR" >&6; }
5059 else
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5062 fi
5063
5064
5065 fi
5066 if test -z "$ac_cv_prog_AR"; then
5067 ac_ct_AR=$AR
5068 # Extract the first word of "ar", so it can be a program name with args.
5069 set dummy ar; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5073 $as_echo_n "(cached) " >&6
5074 else
5075 if test -n "$ac_ct_AR"; then
5076 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5080 do
5081 IFS=$as_save_IFS
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_ac_ct_AR="ar"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 break 2
5088 fi
5089 done
5090 done
5091 IFS=$as_save_IFS
5092
5093 fi
5094 fi
5095 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5096 if test -n "$ac_ct_AR"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5098 $as_echo "$ac_ct_AR" >&6; }
5099 else
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5102 fi
5103
5104 if test "x$ac_ct_AR" = x; then
5105 AR=""
5106 else
5107 case $cross_compiling:$ac_tool_warned in
5108 yes:)
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5111 ac_tool_warned=yes ;;
5112 esac
5113 AR=$ac_ct_AR
5114 fi
5115 else
5116 AR="$ac_cv_prog_AR"
5117 fi
5118
5119 if test -n "$ac_tool_prefix"; then
5120 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5121 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5126 else
5127 if test -n "$RANLIB"; then
5128 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5129 else
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 for as_dir in $PATH
5132 do
5133 IFS=$as_save_IFS
5134 test -z "$as_dir" && as_dir=.
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 break 2
5140 fi
5141 done
5142 done
5143 IFS=$as_save_IFS
5144
5145 fi
5146 fi
5147 RANLIB=$ac_cv_prog_RANLIB
5148 if test -n "$RANLIB"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5150 $as_echo "$RANLIB" >&6; }
5151 else
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5154 fi
5155
5156
5157 fi
5158 if test -z "$ac_cv_prog_RANLIB"; then
5159 ac_ct_RANLIB=$RANLIB
5160 # Extract the first word of "ranlib", so it can be a program name with args.
5161 set dummy ranlib; ac_word=$2
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163 $as_echo_n "checking for $ac_word... " >&6; }
5164 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5165 $as_echo_n "(cached) " >&6
5166 else
5167 if test -n "$ac_ct_RANLIB"; then
5168 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5169 else
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 for as_dir in $PATH
5172 do
5173 IFS=$as_save_IFS
5174 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177 ac_cv_prog_ac_ct_RANLIB="ranlib"
5178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 break 2
5180 fi
5181 done
5182 done
5183 IFS=$as_save_IFS
5184
5185 fi
5186 fi
5187 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5188 if test -n "$ac_ct_RANLIB"; then
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5190 $as_echo "$ac_ct_RANLIB" >&6; }
5191 else
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 $as_echo "no" >&6; }
5194 fi
5195
5196 if test "x$ac_ct_RANLIB" = x; then
5197 RANLIB="ranlib-not-found-in-path-error"
5198 else
5199 case $cross_compiling:$ac_tool_warned in
5200 yes:)
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5203 ac_tool_warned=yes ;;
5204 esac
5205 RANLIB=$ac_ct_RANLIB
5206 fi
5207 else
5208 RANLIB="$ac_cv_prog_RANLIB"
5209 fi
5210
5211
5212
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5214 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5215 # Check whether --enable-maintainer-mode was given.
5216 if test "${enable_maintainer_mode+set}" = set; then :
5217 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5218 else
5219 USE_MAINTAINER_MODE=no
5220 fi
5221
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5223 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5224 if test $USE_MAINTAINER_MODE = yes; then
5225 MAINTAINER_MODE_TRUE=
5226 MAINTAINER_MODE_FALSE='#'
5227 else
5228 MAINTAINER_MODE_TRUE='#'
5229 MAINTAINER_MODE_FALSE=
5230 fi
5231
5232 MAINT=$MAINTAINER_MODE_TRUE
5233
5234
5235
5236 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5237 # which are themselves conditionally expanded.
5238 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5239 ## other macros from doing the same. This should be automated.) -pme
5240
5241 # Check for C library flavor since GNU/Linux platforms use different
5242 # configuration directories depending on the C library in use.
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5245
5246 #include <stdio.h>
5247 #if __UCLIBC__
5248 _using_uclibc
5249 #endif
5250
5251 _ACEOF
5252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5253 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5254 uclibc=yes
5255 else
5256 uclibc=no
5257 fi
5258 rm -f conftest*
5259
5260
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5263
5264 #include <stdio.h>
5265 #if __BIONIC__
5266 _using_bionic
5267 #endif
5268
5269 _ACEOF
5270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5271 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5272 bionic=yes
5273 else
5274 bionic=no
5275 fi
5276 rm -f conftest*
5277
5278
5279 # Find platform-specific directories containing configuration info.
5280 # Also possibly modify flags used elsewhere, as needed by the platform.
5281
5282 . $glibcxx_srcdir/configure.host
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5284 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5286 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5287
5288
5289
5290 # Libtool setup.
5291 if test "x${with_newlib}" != "xyes"; then
5292 enable_dlopen=yes
5293
5294
5295
5296 fi
5297 case `pwd` in
5298 *\ * | *\ *)
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5300 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5301 esac
5302
5303
5304
5305 macro_version='2.2.7a'
5306 macro_revision='1.3134'
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320 ltmain="$ac_aux_dir/ltmain.sh"
5321
5322 # Backslashify metacharacters that are still active within
5323 # double-quoted strings.
5324 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5325
5326 # Same as above, but do not quote variable references.
5327 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5328
5329 # Sed substitution to delay expansion of an escaped shell variable in a
5330 # double_quote_subst'ed string.
5331 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5332
5333 # Sed substitution to delay expansion of an escaped single quote.
5334 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5335
5336 # Sed substitution to avoid accidental globbing in evaled expressions
5337 no_glob_subst='s/\*/\\\*/g'
5338
5339 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5340 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5341 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5342
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5344 $as_echo_n "checking how to print strings... " >&6; }
5345 # Test print first, because it will be a builtin if present.
5346 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5347 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5348 ECHO='print -r --'
5349 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5350 ECHO='printf %s\n'
5351 else
5352 # Use this function as a fallback that always works.
5353 func_fallback_echo ()
5354 {
5355 eval 'cat <<_LTECHO_EOF
5356 $1
5357 _LTECHO_EOF'
5358 }
5359 ECHO='func_fallback_echo'
5360 fi
5361
5362 # func_echo_all arg...
5363 # Invoke $ECHO with all args, space-separated.
5364 func_echo_all ()
5365 {
5366 $ECHO ""
5367 }
5368
5369 case "$ECHO" in
5370 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5371 $as_echo "printf" >&6; } ;;
5372 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5373 $as_echo "print -r" >&6; } ;;
5374 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5375 $as_echo "cat" >&6; } ;;
5376 esac
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5392 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5393 if test "${ac_cv_path_SED+set}" = set; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5397 for ac_i in 1 2 3 4 5 6 7; do
5398 ac_script="$ac_script$as_nl$ac_script"
5399 done
5400 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5401 { ac_script=; unset ac_script;}
5402 if test -z "$SED"; then
5403 ac_path_SED_found=false
5404 # Loop through the user's path and test for each of PROGNAME-LIST
5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 for as_dir in $PATH
5407 do
5408 IFS=$as_save_IFS
5409 test -z "$as_dir" && as_dir=.
5410 for ac_prog in sed gsed; do
5411 for ac_exec_ext in '' $ac_executable_extensions; do
5412 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5413 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5414 # Check for GNU ac_path_SED and select it if it is found.
5415 # Check for GNU $ac_path_SED
5416 case `"$ac_path_SED" --version 2>&1` in
5417 *GNU*)
5418 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5419 *)
5420 ac_count=0
5421 $as_echo_n 0123456789 >"conftest.in"
5422 while :
5423 do
5424 cat "conftest.in" "conftest.in" >"conftest.tmp"
5425 mv "conftest.tmp" "conftest.in"
5426 cp "conftest.in" "conftest.nl"
5427 $as_echo '' >> "conftest.nl"
5428 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5429 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5430 as_fn_arith $ac_count + 1 && ac_count=$as_val
5431 if test $ac_count -gt ${ac_path_SED_max-0}; then
5432 # Best one so far, save it but keep looking for a better one
5433 ac_cv_path_SED="$ac_path_SED"
5434 ac_path_SED_max=$ac_count
5435 fi
5436 # 10*(2^10) chars as input seems more than enough
5437 test $ac_count -gt 10 && break
5438 done
5439 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5440 esac
5441
5442 $ac_path_SED_found && break 3
5443 done
5444 done
5445 done
5446 IFS=$as_save_IFS
5447 if test -z "$ac_cv_path_SED"; then
5448 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5449 fi
5450 else
5451 ac_cv_path_SED=$SED
5452 fi
5453
5454 fi
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5456 $as_echo "$ac_cv_path_SED" >&6; }
5457 SED="$ac_cv_path_SED"
5458 rm -f conftest.sed
5459
5460 test -z "$SED" && SED=sed
5461 Xsed="$SED -e 1s/^X//"
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5474 $as_echo_n "checking for fgrep... " >&6; }
5475 if test "${ac_cv_path_FGREP+set}" = set; then :
5476 $as_echo_n "(cached) " >&6
5477 else
5478 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5479 then ac_cv_path_FGREP="$GREP -F"
5480 else
5481 if test -z "$FGREP"; then
5482 ac_path_FGREP_found=false
5483 # Loop through the user's path and test for each of PROGNAME-LIST
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5486 do
5487 IFS=$as_save_IFS
5488 test -z "$as_dir" && as_dir=.
5489 for ac_prog in fgrep; do
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5492 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5493 # Check for GNU ac_path_FGREP and select it if it is found.
5494 # Check for GNU $ac_path_FGREP
5495 case `"$ac_path_FGREP" --version 2>&1` in
5496 *GNU*)
5497 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5498 *)
5499 ac_count=0
5500 $as_echo_n 0123456789 >"conftest.in"
5501 while :
5502 do
5503 cat "conftest.in" "conftest.in" >"conftest.tmp"
5504 mv "conftest.tmp" "conftest.in"
5505 cp "conftest.in" "conftest.nl"
5506 $as_echo 'FGREP' >> "conftest.nl"
5507 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5508 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5509 as_fn_arith $ac_count + 1 && ac_count=$as_val
5510 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5511 # Best one so far, save it but keep looking for a better one
5512 ac_cv_path_FGREP="$ac_path_FGREP"
5513 ac_path_FGREP_max=$ac_count
5514 fi
5515 # 10*(2^10) chars as input seems more than enough
5516 test $ac_count -gt 10 && break
5517 done
5518 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5519 esac
5520
5521 $ac_path_FGREP_found && break 3
5522 done
5523 done
5524 done
5525 IFS=$as_save_IFS
5526 if test -z "$ac_cv_path_FGREP"; then
5527 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5528 fi
5529 else
5530 ac_cv_path_FGREP=$FGREP
5531 fi
5532
5533 fi
5534 fi
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5536 $as_echo "$ac_cv_path_FGREP" >&6; }
5537 FGREP="$ac_cv_path_FGREP"
5538
5539
5540 test -z "$GREP" && GREP=grep
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560 # Check whether --with-gnu-ld was given.
5561 if test "${with_gnu_ld+set}" = set; then :
5562 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5563 else
5564 with_gnu_ld=no
5565 fi
5566
5567 ac_prog=ld
5568 if test "$GCC" = yes; then
5569 # Check if gcc -print-prog-name=ld gives a path.
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5571 $as_echo_n "checking for ld used by $CC... " >&6; }
5572 case $host in
5573 *-*-mingw*)
5574 # gcc leaves a trailing carriage return which upsets mingw
5575 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5576 *)
5577 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5578 esac
5579 case $ac_prog in
5580 # Accept absolute paths.
5581 [\\/]* | ?:[\\/]*)
5582 re_direlt='/[^/][^/]*/\.\./'
5583 # Canonicalize the pathname of ld
5584 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5585 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5586 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5587 done
5588 test -z "$LD" && LD="$ac_prog"
5589 ;;
5590 "")
5591 # If it fails, then pretend we aren't using GCC.
5592 ac_prog=ld
5593 ;;
5594 *)
5595 # If it is relative, then search for the first ld in PATH.
5596 with_gnu_ld=unknown
5597 ;;
5598 esac
5599 elif test "$with_gnu_ld" = yes; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5601 $as_echo_n "checking for GNU ld... " >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5604 $as_echo_n "checking for non-GNU ld... " >&6; }
5605 fi
5606 if test "${lt_cv_path_LD+set}" = set; then :
5607 $as_echo_n "(cached) " >&6
5608 else
5609 if test -z "$LD"; then
5610 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5611 for ac_dir in $PATH; do
5612 IFS="$lt_save_ifs"
5613 test -z "$ac_dir" && ac_dir=.
5614 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5615 lt_cv_path_LD="$ac_dir/$ac_prog"
5616 # Check to see if the program is GNU ld. I'd rather use --version,
5617 # but apparently some variants of GNU ld only accept -v.
5618 # Break only if it was the GNU/non-GNU ld that we prefer.
5619 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5620 *GNU* | *'with BFD'*)
5621 test "$with_gnu_ld" != no && break
5622 ;;
5623 *)
5624 test "$with_gnu_ld" != yes && break
5625 ;;
5626 esac
5627 fi
5628 done
5629 IFS="$lt_save_ifs"
5630 else
5631 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5632 fi
5633 fi
5634
5635 LD="$lt_cv_path_LD"
5636 if test -n "$LD"; then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5638 $as_echo "$LD" >&6; }
5639 else
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 $as_echo "no" >&6; }
5642 fi
5643 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5645 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5646 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5647 $as_echo_n "(cached) " >&6
5648 else
5649 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5650 case `$LD -v 2>&1 </dev/null` in
5651 *GNU* | *'with BFD'*)
5652 lt_cv_prog_gnu_ld=yes
5653 ;;
5654 *)
5655 lt_cv_prog_gnu_ld=no
5656 ;;
5657 esac
5658 fi
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5660 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5661 with_gnu_ld=$lt_cv_prog_gnu_ld
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5672 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5673 if test "${lt_cv_path_NM+set}" = set; then :
5674 $as_echo_n "(cached) " >&6
5675 else
5676 if test -n "$NM"; then
5677 # Let the user override the test.
5678 lt_cv_path_NM="$NM"
5679 else
5680 lt_nm_to_check="${ac_tool_prefix}nm"
5681 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5682 lt_nm_to_check="$lt_nm_to_check nm"
5683 fi
5684 for lt_tmp_nm in $lt_nm_to_check; do
5685 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5686 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5687 IFS="$lt_save_ifs"
5688 test -z "$ac_dir" && ac_dir=.
5689 tmp_nm="$ac_dir/$lt_tmp_nm"
5690 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5691 # Check to see if the nm accepts a BSD-compat flag.
5692 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5693 # nm: unknown option "B" ignored
5694 # Tru64's nm complains that /dev/null is an invalid object file
5695 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5696 */dev/null* | *'Invalid file or object type'*)
5697 lt_cv_path_NM="$tmp_nm -B"
5698 break
5699 ;;
5700 *)
5701 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5702 */dev/null*)
5703 lt_cv_path_NM="$tmp_nm -p"
5704 break
5705 ;;
5706 *)
5707 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5708 continue # so that we can try to find one that supports BSD flags
5709 ;;
5710 esac
5711 ;;
5712 esac
5713 fi
5714 done
5715 IFS="$lt_save_ifs"
5716 done
5717 : ${lt_cv_path_NM=no}
5718 fi
5719 fi
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5721 $as_echo "$lt_cv_path_NM" >&6; }
5722 if test "$lt_cv_path_NM" != "no"; then
5723 NM="$lt_cv_path_NM"
5724 else
5725 # Didn't find any BSD compatible name lister, look for dumpbin.
5726 if test -n "$DUMPBIN"; then :
5727 # Let the user override the test.
5728 else
5729 if test -n "$ac_tool_prefix"; then
5730 for ac_prog in dumpbin "link -dump"
5731 do
5732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 $as_echo_n "checking for $ac_word... " >&6; }
5736 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5737 $as_echo_n "(cached) " >&6
5738 else
5739 if test -n "$DUMPBIN"; then
5740 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5741 else
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 for as_dir in $PATH
5744 do
5745 IFS=$as_save_IFS
5746 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5749 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 break 2
5752 fi
5753 done
5754 done
5755 IFS=$as_save_IFS
5756
5757 fi
5758 fi
5759 DUMPBIN=$ac_cv_prog_DUMPBIN
5760 if test -n "$DUMPBIN"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5762 $as_echo "$DUMPBIN" >&6; }
5763 else
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5766 fi
5767
5768
5769 test -n "$DUMPBIN" && break
5770 done
5771 fi
5772 if test -z "$DUMPBIN"; then
5773 ac_ct_DUMPBIN=$DUMPBIN
5774 for ac_prog in dumpbin "link -dump"
5775 do
5776 # Extract the first word of "$ac_prog", so it can be a program name with args.
5777 set dummy $ac_prog; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 if test -n "$ac_ct_DUMPBIN"; then
5784 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5785 else
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 for as_dir in $PATH
5788 do
5789 IFS=$as_save_IFS
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5793 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 break 2
5796 fi
5797 done
5798 done
5799 IFS=$as_save_IFS
5800
5801 fi
5802 fi
5803 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5804 if test -n "$ac_ct_DUMPBIN"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5806 $as_echo "$ac_ct_DUMPBIN" >&6; }
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5810 fi
5811
5812
5813 test -n "$ac_ct_DUMPBIN" && break
5814 done
5815
5816 if test "x$ac_ct_DUMPBIN" = x; then
5817 DUMPBIN=":"
5818 else
5819 case $cross_compiling:$ac_tool_warned in
5820 yes:)
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5823 ac_tool_warned=yes ;;
5824 esac
5825 DUMPBIN=$ac_ct_DUMPBIN
5826 fi
5827 fi
5828
5829 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5830 *COFF*)
5831 DUMPBIN="$DUMPBIN -symbols"
5832 ;;
5833 *)
5834 DUMPBIN=:
5835 ;;
5836 esac
5837 fi
5838
5839 if test "$DUMPBIN" != ":"; then
5840 NM="$DUMPBIN"
5841 fi
5842 fi
5843 test -z "$NM" && NM=nm
5844
5845
5846
5847
5848
5849
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5851 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5852 if test "${lt_cv_nm_interface+set}" = set; then :
5853 $as_echo_n "(cached) " >&6
5854 else
5855 lt_cv_nm_interface="BSD nm"
5856 echo "int some_variable = 0;" > conftest.$ac_ext
5857 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5858 (eval "$ac_compile" 2>conftest.err)
5859 cat conftest.err >&5
5860 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5861 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5862 cat conftest.err >&5
5863 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5864 cat conftest.out >&5
5865 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5866 lt_cv_nm_interface="MS dumpbin"
5867 fi
5868 rm -f conftest*
5869 fi
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5871 $as_echo "$lt_cv_nm_interface" >&6; }
5872
5873 # find the maximum length of command line arguments
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5875 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5876 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5877 $as_echo_n "(cached) " >&6
5878 else
5879 i=0
5880 teststring="ABCD"
5881
5882 case $build_os in
5883 msdosdjgpp*)
5884 # On DJGPP, this test can blow up pretty badly due to problems in libc
5885 # (any single argument exceeding 2000 bytes causes a buffer overrun
5886 # during glob expansion). Even if it were fixed, the result of this
5887 # check would be larger than it should be.
5888 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5889 ;;
5890
5891 gnu*)
5892 # Under GNU Hurd, this test is not required because there is
5893 # no limit to the length of command line arguments.
5894 # Libtool will interpret -1 as no limit whatsoever
5895 lt_cv_sys_max_cmd_len=-1;
5896 ;;
5897
5898 cygwin* | mingw* | cegcc*)
5899 # On Win9x/ME, this test blows up -- it succeeds, but takes
5900 # about 5 minutes as the teststring grows exponentially.
5901 # Worse, since 9x/ME are not pre-emptively multitasking,
5902 # you end up with a "frozen" computer, even though with patience
5903 # the test eventually succeeds (with a max line length of 256k).
5904 # Instead, let's just punt: use the minimum linelength reported by
5905 # all of the supported platforms: 8192 (on NT/2K/XP).
5906 lt_cv_sys_max_cmd_len=8192;
5907 ;;
5908
5909 mint*)
5910 # On MiNT this can take a long time and run out of memory.
5911 lt_cv_sys_max_cmd_len=8192;
5912 ;;
5913
5914 amigaos*)
5915 # On AmigaOS with pdksh, this test takes hours, literally.
5916 # So we just punt and use a minimum line length of 8192.
5917 lt_cv_sys_max_cmd_len=8192;
5918 ;;
5919
5920 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5921 # This has been around since 386BSD, at least. Likely further.
5922 if test -x /sbin/sysctl; then
5923 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5924 elif test -x /usr/sbin/sysctl; then
5925 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5926 else
5927 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5928 fi
5929 # And add a safety zone
5930 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5931 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5932 ;;
5933
5934 interix*)
5935 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5936 lt_cv_sys_max_cmd_len=196608
5937 ;;
5938
5939 osf*)
5940 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5941 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5942 # nice to cause kernel panics so lets avoid the loop below.
5943 # First set a reasonable default.
5944 lt_cv_sys_max_cmd_len=16384
5945 #
5946 if test -x /sbin/sysconfig; then
5947 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5948 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5949 esac
5950 fi
5951 ;;
5952 sco3.2v5*)
5953 lt_cv_sys_max_cmd_len=102400
5954 ;;
5955 sysv5* | sco5v6* | sysv4.2uw2*)
5956 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5957 if test -n "$kargmax"; then
5958 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5959 else
5960 lt_cv_sys_max_cmd_len=32768
5961 fi
5962 ;;
5963 *)
5964 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5965 if test -n "$lt_cv_sys_max_cmd_len"; then
5966 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5967 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5968 else
5969 # Make teststring a little bigger before we do anything with it.
5970 # a 1K string should be a reasonable start.
5971 for i in 1 2 3 4 5 6 7 8 ; do
5972 teststring=$teststring$teststring
5973 done
5974 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5975 # If test is not a shell built-in, we'll probably end up computing a
5976 # maximum length that is only half of the actual maximum length, but
5977 # we can't tell.
5978 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5979 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5980 test $i != 17 # 1/2 MB should be enough
5981 do
5982 i=`expr $i + 1`
5983 teststring=$teststring$teststring
5984 done
5985 # Only check the string length outside the loop.
5986 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5987 teststring=
5988 # Add a significant safety factor because C++ compilers can tack on
5989 # massive amounts of additional arguments before passing them to the
5990 # linker. It appears as though 1/2 is a usable value.
5991 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5992 fi
5993 ;;
5994 esac
5995
5996 fi
5997
5998 if test -n $lt_cv_sys_max_cmd_len ; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6000 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6001 else
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6003 $as_echo "none" >&6; }
6004 fi
6005 max_cmd_len=$lt_cv_sys_max_cmd_len
6006
6007
6008
6009
6010
6011
6012 : ${CP="cp -f"}
6013 : ${MV="mv -f"}
6014 : ${RM="rm -f"}
6015
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6017 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6018 # Try some XSI features
6019 xsi_shell=no
6020 ( _lt_dummy="a/b/c"
6021 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6022 = c,a/b,, \
6023 && eval 'test $(( 1 + 1 )) -eq 2 \
6024 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6025 && xsi_shell=yes
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6027 $as_echo "$xsi_shell" >&6; }
6028
6029
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6031 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6032 lt_shell_append=no
6033 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6034 >/dev/null 2>&1 \
6035 && lt_shell_append=yes
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6037 $as_echo "$lt_shell_append" >&6; }
6038
6039
6040 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6041 lt_unset=unset
6042 else
6043 lt_unset=false
6044 fi
6045
6046
6047
6048
6049
6050 # test EBCDIC or ASCII
6051 case `echo X|tr X '\101'` in
6052 A) # ASCII based system
6053 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6054 lt_SP2NL='tr \040 \012'
6055 lt_NL2SP='tr \015\012 \040\040'
6056 ;;
6057 *) # EBCDIC based system
6058 lt_SP2NL='tr \100 \n'
6059 lt_NL2SP='tr \r\n \100\100'
6060 ;;
6061 esac
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6072 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6073 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6074 $as_echo_n "(cached) " >&6
6075 else
6076 lt_cv_ld_reload_flag='-r'
6077 fi
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6079 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6080 reload_flag=$lt_cv_ld_reload_flag
6081 case $reload_flag in
6082 "" | " "*) ;;
6083 *) reload_flag=" $reload_flag" ;;
6084 esac
6085 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6086 case $host_os in
6087 darwin*)
6088 if test "$GCC" = yes; then
6089 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6090 else
6091 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6092 fi
6093 ;;
6094 esac
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104 if test -n "$ac_tool_prefix"; then
6105 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6106 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6110 $as_echo_n "(cached) " >&6
6111 else
6112 if test -n "$OBJDUMP"; then
6113 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6117 do
6118 IFS=$as_save_IFS
6119 test -z "$as_dir" && as_dir=.
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6122 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124 break 2
6125 fi
6126 done
6127 done
6128 IFS=$as_save_IFS
6129
6130 fi
6131 fi
6132 OBJDUMP=$ac_cv_prog_OBJDUMP
6133 if test -n "$OBJDUMP"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6135 $as_echo "$OBJDUMP" >&6; }
6136 else
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6139 fi
6140
6141
6142 fi
6143 if test -z "$ac_cv_prog_OBJDUMP"; then
6144 ac_ct_OBJDUMP=$OBJDUMP
6145 # Extract the first word of "objdump", so it can be a program name with args.
6146 set dummy objdump; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 if test -n "$ac_ct_OBJDUMP"; then
6153 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6157 do
6158 IFS=$as_save_IFS
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 break 2
6165 fi
6166 done
6167 done
6168 IFS=$as_save_IFS
6169
6170 fi
6171 fi
6172 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6173 if test -n "$ac_ct_OBJDUMP"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6175 $as_echo "$ac_ct_OBJDUMP" >&6; }
6176 else
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6179 fi
6180
6181 if test "x$ac_ct_OBJDUMP" = x; then
6182 OBJDUMP="false"
6183 else
6184 case $cross_compiling:$ac_tool_warned in
6185 yes:)
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6188 ac_tool_warned=yes ;;
6189 esac
6190 OBJDUMP=$ac_ct_OBJDUMP
6191 fi
6192 else
6193 OBJDUMP="$ac_cv_prog_OBJDUMP"
6194 fi
6195
6196 test -z "$OBJDUMP" && OBJDUMP=objdump
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6207 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6208 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6209 $as_echo_n "(cached) " >&6
6210 else
6211 lt_cv_file_magic_cmd='$MAGIC_CMD'
6212 lt_cv_file_magic_test_file=
6213 lt_cv_deplibs_check_method='unknown'
6214 # Need to set the preceding variable on all platforms that support
6215 # interlibrary dependencies.
6216 # 'none' -- dependencies not supported.
6217 # `unknown' -- same as none, but documents that we really don't know.
6218 # 'pass_all' -- all dependencies passed with no checks.
6219 # 'test_compile' -- check by making test program.
6220 # 'file_magic [[regex]]' -- check by looking for files in library path
6221 # which responds to the $file_magic_cmd with a given extended regex.
6222 # If you have `file' or equivalent on your system and you're not sure
6223 # whether `pass_all' will *always* work, you probably want this one.
6224
6225 case $host_os in
6226 aix[4-9]*)
6227 lt_cv_deplibs_check_method=pass_all
6228 ;;
6229
6230 beos*)
6231 lt_cv_deplibs_check_method=pass_all
6232 ;;
6233
6234 bsdi[45]*)
6235 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6236 lt_cv_file_magic_cmd='/usr/bin/file -L'
6237 lt_cv_file_magic_test_file=/shlib/libc.so
6238 ;;
6239
6240 cygwin*)
6241 # func_win32_libid is a shell function defined in ltmain.sh
6242 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6243 lt_cv_file_magic_cmd='func_win32_libid'
6244 ;;
6245
6246 mingw* | pw32*)
6247 # Base MSYS/MinGW do not provide the 'file' command needed by
6248 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6249 # unless we find 'file', for example because we are cross-compiling.
6250 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6251 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6252 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6253 lt_cv_file_magic_cmd='func_win32_libid'
6254 else
6255 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6256 lt_cv_file_magic_cmd='$OBJDUMP -f'
6257 fi
6258 ;;
6259
6260 cegcc*)
6261 # use the weaker test based on 'objdump'. See mingw*.
6262 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6263 lt_cv_file_magic_cmd='$OBJDUMP -f'
6264 ;;
6265
6266 darwin* | rhapsody*)
6267 lt_cv_deplibs_check_method=pass_all
6268 ;;
6269
6270 freebsd* | dragonfly*)
6271 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6272 case $host_cpu in
6273 i*86 )
6274 # Not sure whether the presence of OpenBSD here was a mistake.
6275 # Let's accept both of them until this is cleared up.
6276 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6277 lt_cv_file_magic_cmd=/usr/bin/file
6278 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6279 ;;
6280 esac
6281 else
6282 lt_cv_deplibs_check_method=pass_all
6283 fi
6284 ;;
6285
6286 gnu*)
6287 lt_cv_deplibs_check_method=pass_all
6288 ;;
6289
6290 haiku*)
6291 lt_cv_deplibs_check_method=pass_all
6292 ;;
6293
6294 hpux10.20* | hpux11*)
6295 lt_cv_file_magic_cmd=/usr/bin/file
6296 case $host_cpu in
6297 ia64*)
6298 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6299 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6300 ;;
6301 hppa*64*)
6302 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]'
6303 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6304 ;;
6305 *)
6306 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6307 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6308 ;;
6309 esac
6310 ;;
6311
6312 interix[3-9]*)
6313 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6314 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6315 ;;
6316
6317 irix5* | irix6* | nonstopux*)
6318 case $LD in
6319 *-32|*"-32 ") libmagic=32-bit;;
6320 *-n32|*"-n32 ") libmagic=N32;;
6321 *-64|*"-64 ") libmagic=64-bit;;
6322 *) libmagic=never-match;;
6323 esac
6324 lt_cv_deplibs_check_method=pass_all
6325 ;;
6326
6327 # This must be Linux ELF.
6328 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6329 lt_cv_deplibs_check_method=pass_all
6330 ;;
6331
6332 netbsd*)
6333 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6335 else
6336 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6337 fi
6338 ;;
6339
6340 newos6*)
6341 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6342 lt_cv_file_magic_cmd=/usr/bin/file
6343 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6344 ;;
6345
6346 *nto* | *qnx*)
6347 lt_cv_deplibs_check_method=pass_all
6348 ;;
6349
6350 openbsd*)
6351 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6352 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6353 else
6354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6355 fi
6356 ;;
6357
6358 osf3* | osf4* | osf5*)
6359 lt_cv_deplibs_check_method=pass_all
6360 ;;
6361
6362 rdos*)
6363 lt_cv_deplibs_check_method=pass_all
6364 ;;
6365
6366 solaris*)
6367 lt_cv_deplibs_check_method=pass_all
6368 ;;
6369
6370 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6371 lt_cv_deplibs_check_method=pass_all
6372 ;;
6373
6374 sysv4 | sysv4.3*)
6375 case $host_vendor in
6376 motorola)
6377 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]'
6378 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6379 ;;
6380 ncr)
6381 lt_cv_deplibs_check_method=pass_all
6382 ;;
6383 sequent)
6384 lt_cv_file_magic_cmd='/bin/file'
6385 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6386 ;;
6387 sni)
6388 lt_cv_file_magic_cmd='/bin/file'
6389 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6390 lt_cv_file_magic_test_file=/lib/libc.so
6391 ;;
6392 siemens)
6393 lt_cv_deplibs_check_method=pass_all
6394 ;;
6395 pc)
6396 lt_cv_deplibs_check_method=pass_all
6397 ;;
6398 esac
6399 ;;
6400
6401 tpf*)
6402 lt_cv_deplibs_check_method=pass_all
6403 ;;
6404 esac
6405
6406 fi
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6408 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6409 file_magic_cmd=$lt_cv_file_magic_cmd
6410 deplibs_check_method=$lt_cv_deplibs_check_method
6411 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424 if test -n "$ac_tool_prefix"; then
6425 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6426 set dummy ${ac_tool_prefix}ar; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if test "${ac_cv_prog_AR+set}" = set; then :
6430 $as_echo_n "(cached) " >&6
6431 else
6432 if test -n "$AR"; then
6433 ac_cv_prog_AR="$AR" # Let the user override the test.
6434 else
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH
6437 do
6438 IFS=$as_save_IFS
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442 ac_cv_prog_AR="${ac_tool_prefix}ar"
6443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 break 2
6445 fi
6446 done
6447 done
6448 IFS=$as_save_IFS
6449
6450 fi
6451 fi
6452 AR=$ac_cv_prog_AR
6453 if test -n "$AR"; then
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6455 $as_echo "$AR" >&6; }
6456 else
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 $as_echo "no" >&6; }
6459 fi
6460
6461
6462 fi
6463 if test -z "$ac_cv_prog_AR"; then
6464 ac_ct_AR=$AR
6465 # Extract the first word of "ar", so it can be a program name with args.
6466 set dummy ar; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468 $as_echo_n "checking for $ac_word... " >&6; }
6469 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6470 $as_echo_n "(cached) " >&6
6471 else
6472 if test -n "$ac_ct_AR"; then
6473 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6474 else
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 for as_dir in $PATH
6477 do
6478 IFS=$as_save_IFS
6479 test -z "$as_dir" && as_dir=.
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6482 ac_cv_prog_ac_ct_AR="ar"
6483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 break 2
6485 fi
6486 done
6487 done
6488 IFS=$as_save_IFS
6489
6490 fi
6491 fi
6492 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6493 if test -n "$ac_ct_AR"; then
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6495 $as_echo "$ac_ct_AR" >&6; }
6496 else
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498 $as_echo "no" >&6; }
6499 fi
6500
6501 if test "x$ac_ct_AR" = x; then
6502 AR="false"
6503 else
6504 case $cross_compiling:$ac_tool_warned in
6505 yes:)
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6508 ac_tool_warned=yes ;;
6509 esac
6510 AR=$ac_ct_AR
6511 fi
6512 else
6513 AR="$ac_cv_prog_AR"
6514 fi
6515
6516 test -z "$AR" && AR=ar
6517 test -z "$AR_FLAGS" && AR_FLAGS=cru
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529 if test -n "$ac_tool_prefix"; then
6530 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6531 set dummy ${ac_tool_prefix}strip; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533 $as_echo_n "checking for $ac_word... " >&6; }
6534 if test "${ac_cv_prog_STRIP+set}" = set; then :
6535 $as_echo_n "(cached) " >&6
6536 else
6537 if test -n "$STRIP"; then
6538 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6539 else
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6541 for as_dir in $PATH
6542 do
6543 IFS=$as_save_IFS
6544 test -z "$as_dir" && as_dir=.
6545 for ac_exec_ext in '' $ac_executable_extensions; do
6546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6547 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549 break 2
6550 fi
6551 done
6552 done
6553 IFS=$as_save_IFS
6554
6555 fi
6556 fi
6557 STRIP=$ac_cv_prog_STRIP
6558 if test -n "$STRIP"; then
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6560 $as_echo "$STRIP" >&6; }
6561 else
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563 $as_echo "no" >&6; }
6564 fi
6565
6566
6567 fi
6568 if test -z "$ac_cv_prog_STRIP"; then
6569 ac_ct_STRIP=$STRIP
6570 # Extract the first word of "strip", so it can be a program name with args.
6571 set dummy strip; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6575 $as_echo_n "(cached) " >&6
6576 else
6577 if test -n "$ac_ct_STRIP"; then
6578 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6579 else
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 for as_dir in $PATH
6582 do
6583 IFS=$as_save_IFS
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587 ac_cv_prog_ac_ct_STRIP="strip"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 break 2
6590 fi
6591 done
6592 done
6593 IFS=$as_save_IFS
6594
6595 fi
6596 fi
6597 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6598 if test -n "$ac_ct_STRIP"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6600 $as_echo "$ac_ct_STRIP" >&6; }
6601 else
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6604 fi
6605
6606 if test "x$ac_ct_STRIP" = x; then
6607 STRIP=":"
6608 else
6609 case $cross_compiling:$ac_tool_warned in
6610 yes:)
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6613 ac_tool_warned=yes ;;
6614 esac
6615 STRIP=$ac_ct_STRIP
6616 fi
6617 else
6618 STRIP="$ac_cv_prog_STRIP"
6619 fi
6620
6621 test -z "$STRIP" && STRIP=:
6622
6623
6624
6625
6626
6627
6628 if test -n "$ac_tool_prefix"; then
6629 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6630 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632 $as_echo_n "checking for $ac_word... " >&6; }
6633 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6634 $as_echo_n "(cached) " >&6
6635 else
6636 if test -n "$RANLIB"; then
6637 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6638 else
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 for as_dir in $PATH
6641 do
6642 IFS=$as_save_IFS
6643 test -z "$as_dir" && as_dir=.
6644 for ac_exec_ext in '' $ac_executable_extensions; do
6645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6646 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6648 break 2
6649 fi
6650 done
6651 done
6652 IFS=$as_save_IFS
6653
6654 fi
6655 fi
6656 RANLIB=$ac_cv_prog_RANLIB
6657 if test -n "$RANLIB"; then
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6659 $as_echo "$RANLIB" >&6; }
6660 else
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6663 fi
6664
6665
6666 fi
6667 if test -z "$ac_cv_prog_RANLIB"; then
6668 ac_ct_RANLIB=$RANLIB
6669 # Extract the first word of "ranlib", so it can be a program name with args.
6670 set dummy ranlib; ac_word=$2
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672 $as_echo_n "checking for $ac_word... " >&6; }
6673 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6674 $as_echo_n "(cached) " >&6
6675 else
6676 if test -n "$ac_ct_RANLIB"; then
6677 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6678 else
6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 for as_dir in $PATH
6681 do
6682 IFS=$as_save_IFS
6683 test -z "$as_dir" && as_dir=.
6684 for ac_exec_ext in '' $ac_executable_extensions; do
6685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6686 ac_cv_prog_ac_ct_RANLIB="ranlib"
6687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688 break 2
6689 fi
6690 done
6691 done
6692 IFS=$as_save_IFS
6693
6694 fi
6695 fi
6696 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6697 if test -n "$ac_ct_RANLIB"; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6699 $as_echo "$ac_ct_RANLIB" >&6; }
6700 else
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 $as_echo "no" >&6; }
6703 fi
6704
6705 if test "x$ac_ct_RANLIB" = x; then
6706 RANLIB=":"
6707 else
6708 case $cross_compiling:$ac_tool_warned in
6709 yes:)
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6712 ac_tool_warned=yes ;;
6713 esac
6714 RANLIB=$ac_ct_RANLIB
6715 fi
6716 else
6717 RANLIB="$ac_cv_prog_RANLIB"
6718 fi
6719
6720 test -z "$RANLIB" && RANLIB=:
6721
6722
6723
6724
6725
6726
6727 # Determine commands to create old-style static archives.
6728 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6729 old_postinstall_cmds='chmod 644 $oldlib'
6730 old_postuninstall_cmds=
6731
6732 if test -n "$RANLIB"; then
6733 case $host_os in
6734 openbsd*)
6735 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6736 ;;
6737 *)
6738 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6739 ;;
6740 esac
6741 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6742 fi
6743
6744 case $host_os in
6745 darwin*)
6746 lock_old_archive_extraction=yes ;;
6747 *)
6748 lock_old_archive_extraction=no ;;
6749 esac
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
6782
6783
6784
6785
6786
6787
6788
6789 # If no C compiler was specified, use CC.
6790 LTCC=${LTCC-"$CC"}
6791
6792 # If no C compiler flags were specified, use CFLAGS.
6793 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6794
6795 # Allow CC to be a program name with arguments.
6796 compiler=$CC
6797
6798
6799 # Check for command to grab the raw symbol name followed by C symbol from nm.
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6801 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6802 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6803 $as_echo_n "(cached) " >&6
6804 else
6805
6806 # These are sane defaults that work on at least a few old systems.
6807 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6808
6809 # Character class describing NM global symbol codes.
6810 symcode='[BCDEGRST]'
6811
6812 # Regexp to match symbols that can be accessed directly from C.
6813 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6814
6815 # Define system-specific variables.
6816 case $host_os in
6817 aix*)
6818 symcode='[BCDT]'
6819 ;;
6820 cygwin* | mingw* | pw32* | cegcc*)
6821 symcode='[ABCDGISTW]'
6822 ;;
6823 hpux*)
6824 if test "$host_cpu" = ia64; then
6825 symcode='[ABCDEGRST]'
6826 fi
6827 ;;
6828 irix* | nonstopux*)
6829 symcode='[BCDEGRST]'
6830 ;;
6831 osf*)
6832 symcode='[BCDEGQRST]'
6833 ;;
6834 solaris*)
6835 symcode='[BDRT]'
6836 ;;
6837 sco3.2v5*)
6838 symcode='[DT]'
6839 ;;
6840 sysv4.2uw2*)
6841 symcode='[DT]'
6842 ;;
6843 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6844 symcode='[ABDT]'
6845 ;;
6846 sysv4)
6847 symcode='[DFNSTU]'
6848 ;;
6849 esac
6850
6851 # If we're using GNU nm, then use its standard symbol codes.
6852 case `$NM -V 2>&1` in
6853 *GNU* | *'with BFD'*)
6854 symcode='[ABCDGIRSTW]' ;;
6855 esac
6856
6857 # Transform an extracted symbol line into a proper C declaration.
6858 # Some systems (esp. on ia64) link data and code symbols differently,
6859 # so use this general approach.
6860 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6861
6862 # Transform an extracted symbol line into symbol name and symbol address
6863 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6864 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'"
6865
6866 # Handle CRLF in mingw tool chain
6867 opt_cr=
6868 case $build_os in
6869 mingw*)
6870 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6871 ;;
6872 esac
6873
6874 # Try without a prefix underscore, then with it.
6875 for ac_symprfx in "" "_"; do
6876
6877 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6878 symxfrm="\\1 $ac_symprfx\\2 \\2"
6879
6880 # Write the raw and C identifiers.
6881 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6882 # Fake it for dumpbin and say T for any non-static function
6883 # and D for any global variable.
6884 # Also find C++ and __fastcall symbols from MSVC++,
6885 # which start with @ or ?.
6886 lt_cv_sys_global_symbol_pipe="$AWK '"\
6887 " {last_section=section; section=\$ 3};"\
6888 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6889 " \$ 0!~/External *\|/{next};"\
6890 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6891 " {if(hide[section]) next};"\
6892 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6893 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6894 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6895 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6896 " ' prfx=^$ac_symprfx"
6897 else
6898 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6899 fi
6900
6901 # Check to see that the pipe works correctly.
6902 pipe_works=no
6903
6904 rm -f conftest*
6905 cat > conftest.$ac_ext <<_LT_EOF
6906 #ifdef __cplusplus
6907 extern "C" {
6908 #endif
6909 char nm_test_var;
6910 void nm_test_func(void);
6911 void nm_test_func(void){}
6912 #ifdef __cplusplus
6913 }
6914 #endif
6915 int main(){nm_test_var='a';nm_test_func();return(0);}
6916 _LT_EOF
6917
6918 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6919 (eval $ac_compile) 2>&5
6920 ac_status=$?
6921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6922 test $ac_status = 0; }; then
6923 # Now try to grab the symbols.
6924 nlist=conftest.nm
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6926 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; } && test -s "$nlist"; then
6930 # Try sorting and uniquifying the output.
6931 if sort "$nlist" | uniq > "$nlist"T; then
6932 mv -f "$nlist"T "$nlist"
6933 else
6934 rm -f "$nlist"T
6935 fi
6936
6937 # Make sure that we snagged all the symbols we need.
6938 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6939 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6940 cat <<_LT_EOF > conftest.$ac_ext
6941 #ifdef __cplusplus
6942 extern "C" {
6943 #endif
6944
6945 _LT_EOF
6946 # Now generate the symbol file.
6947 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6948
6949 cat <<_LT_EOF >> conftest.$ac_ext
6950
6951 /* The mapping between symbol names and symbols. */
6952 const struct {
6953 const char *name;
6954 void *address;
6955 }
6956 lt__PROGRAM__LTX_preloaded_symbols[] =
6957 {
6958 { "@PROGRAM@", (void *) 0 },
6959 _LT_EOF
6960 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6961 cat <<\_LT_EOF >> conftest.$ac_ext
6962 {0, (void *) 0}
6963 };
6964
6965 /* This works around a problem in FreeBSD linker */
6966 #ifdef FREEBSD_WORKAROUND
6967 static const void *lt_preloaded_setup() {
6968 return lt__PROGRAM__LTX_preloaded_symbols;
6969 }
6970 #endif
6971
6972 #ifdef __cplusplus
6973 }
6974 #endif
6975 _LT_EOF
6976 # Now try linking the two files.
6977 mv conftest.$ac_objext conftstm.$ac_objext
6978 lt_save_LIBS="$LIBS"
6979 lt_save_CFLAGS="$CFLAGS"
6980 LIBS="conftstm.$ac_objext"
6981 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6983 (eval $ac_link) 2>&5
6984 ac_status=$?
6985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6986 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6987 pipe_works=yes
6988 fi
6989 LIBS="$lt_save_LIBS"
6990 CFLAGS="$lt_save_CFLAGS"
6991 else
6992 echo "cannot find nm_test_func in $nlist" >&5
6993 fi
6994 else
6995 echo "cannot find nm_test_var in $nlist" >&5
6996 fi
6997 else
6998 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6999 fi
7000 else
7001 echo "$progname: failed program was:" >&5
7002 cat conftest.$ac_ext >&5
7003 fi
7004 rm -rf conftest* conftst*
7005
7006 # Do not use the global_symbol_pipe unless it works.
7007 if test "$pipe_works" = yes; then
7008 break
7009 else
7010 lt_cv_sys_global_symbol_pipe=
7011 fi
7012 done
7013
7014 fi
7015
7016 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7017 lt_cv_sys_global_symbol_to_cdecl=
7018 fi
7019 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7021 $as_echo "failed" >&6; }
7022 else
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7024 $as_echo "ok" >&6; }
7025 fi
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048 # Check whether --enable-libtool-lock was given.
7049 if test "${enable_libtool_lock+set}" = set; then :
7050 enableval=$enable_libtool_lock;
7051 fi
7052
7053 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7054
7055 # Some flags need to be propagated to the compiler or linker for good
7056 # libtool support.
7057 case $host in
7058 ia64-*-hpux*)
7059 # Find out which ABI we are using.
7060 echo 'int i;' > conftest.$ac_ext
7061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7062 (eval $ac_compile) 2>&5
7063 ac_status=$?
7064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7065 test $ac_status = 0; }; then
7066 case `/usr/bin/file conftest.$ac_objext` in
7067 *ELF-32*)
7068 HPUX_IA64_MODE="32"
7069 ;;
7070 *ELF-64*)
7071 HPUX_IA64_MODE="64"
7072 ;;
7073 esac
7074 fi
7075 rm -rf conftest*
7076 ;;
7077 *-*-irix6*)
7078 # Find out which ABI we are using.
7079 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7080 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7081 (eval $ac_compile) 2>&5
7082 ac_status=$?
7083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7084 test $ac_status = 0; }; then
7085 if test "$lt_cv_prog_gnu_ld" = yes; then
7086 case `/usr/bin/file conftest.$ac_objext` in
7087 *32-bit*)
7088 LD="${LD-ld} -melf32bsmip"
7089 ;;
7090 *N32*)
7091 LD="${LD-ld} -melf32bmipn32"
7092 ;;
7093 *64-bit*)
7094 LD="${LD-ld} -melf64bmip"
7095 ;;
7096 esac
7097 else
7098 case `/usr/bin/file conftest.$ac_objext` in
7099 *32-bit*)
7100 LD="${LD-ld} -32"
7101 ;;
7102 *N32*)
7103 LD="${LD-ld} -n32"
7104 ;;
7105 *64-bit*)
7106 LD="${LD-ld} -64"
7107 ;;
7108 esac
7109 fi
7110 fi
7111 rm -rf conftest*
7112 ;;
7113
7114 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7115 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7116 # Find out which ABI we are using.
7117 echo 'int i;' > conftest.$ac_ext
7118 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7119 (eval $ac_compile) 2>&5
7120 ac_status=$?
7121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7122 test $ac_status = 0; }; then
7123 case `/usr/bin/file conftest.o` in
7124 *32-bit*)
7125 case $host in
7126 x86_64-*kfreebsd*-gnu)
7127 LD="${LD-ld} -m elf_i386_fbsd"
7128 ;;
7129 x86_64-*linux*)
7130 case `/usr/bin/file conftest.o` in
7131 *x86-64*)
7132 LD="${LD-ld} -m elf32_x86_64"
7133 ;;
7134 *)
7135 LD="${LD-ld} -m elf_i386"
7136 ;;
7137 esac
7138 ;;
7139 ppc64-*linux*|powerpc64-*linux*)
7140 LD="${LD-ld} -m elf32ppclinux"
7141 ;;
7142 s390x-*linux*)
7143 LD="${LD-ld} -m elf_s390"
7144 ;;
7145 sparc64-*linux*)
7146 LD="${LD-ld} -m elf32_sparc"
7147 ;;
7148 esac
7149 ;;
7150 *64-bit*)
7151 case $host in
7152 x86_64-*kfreebsd*-gnu)
7153 LD="${LD-ld} -m elf_x86_64_fbsd"
7154 ;;
7155 x86_64-*linux*)
7156 LD="${LD-ld} -m elf_x86_64"
7157 ;;
7158 ppc*-*linux*|powerpc*-*linux*)
7159 LD="${LD-ld} -m elf64ppc"
7160 ;;
7161 s390*-*linux*|s390*-*tpf*)
7162 LD="${LD-ld} -m elf64_s390"
7163 ;;
7164 sparc*-*linux*)
7165 LD="${LD-ld} -m elf64_sparc"
7166 ;;
7167 esac
7168 ;;
7169 esac
7170 fi
7171 rm -rf conftest*
7172 ;;
7173
7174 *-*-sco3.2v5*)
7175 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7176 SAVE_CFLAGS="$CFLAGS"
7177 CFLAGS="$CFLAGS -belf"
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7179 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7180 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7181 $as_echo_n "(cached) " >&6
7182 else
7183 ac_ext=c
7184 ac_cpp='$CPP $CPPFLAGS'
7185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7188
7189 if test x$gcc_no_link = xyes; then
7190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7191 fi
7192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7193 /* end confdefs.h. */
7194
7195 int
7196 main ()
7197 {
7198
7199 ;
7200 return 0;
7201 }
7202 _ACEOF
7203 if ac_fn_c_try_link "$LINENO"; then :
7204 lt_cv_cc_needs_belf=yes
7205 else
7206 lt_cv_cc_needs_belf=no
7207 fi
7208 rm -f core conftest.err conftest.$ac_objext \
7209 conftest$ac_exeext conftest.$ac_ext
7210 ac_ext=c
7211 ac_cpp='$CPP $CPPFLAGS'
7212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7215
7216 fi
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7218 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7219 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7220 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7221 CFLAGS="$SAVE_CFLAGS"
7222 fi
7223 ;;
7224 sparc*-*solaris*)
7225 # Find out which ABI we are using.
7226 echo 'int i;' > conftest.$ac_ext
7227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7228 (eval $ac_compile) 2>&5
7229 ac_status=$?
7230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7231 test $ac_status = 0; }; then
7232 case `/usr/bin/file conftest.o` in
7233 *64-bit*)
7234 case $lt_cv_prog_gnu_ld in
7235 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7236 *)
7237 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7238 LD="${LD-ld} -64"
7239 fi
7240 ;;
7241 esac
7242 ;;
7243 esac
7244 fi
7245 rm -rf conftest*
7246 ;;
7247 esac
7248
7249 need_locks="$enable_libtool_lock"
7250
7251
7252 case $host_os in
7253 rhapsody* | darwin*)
7254 if test -n "$ac_tool_prefix"; then
7255 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7256 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7260 $as_echo_n "(cached) " >&6
7261 else
7262 if test -n "$DSYMUTIL"; then
7263 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7264 else
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 for as_dir in $PATH
7267 do
7268 IFS=$as_save_IFS
7269 test -z "$as_dir" && as_dir=.
7270 for ac_exec_ext in '' $ac_executable_extensions; do
7271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7272 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 break 2
7275 fi
7276 done
7277 done
7278 IFS=$as_save_IFS
7279
7280 fi
7281 fi
7282 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7283 if test -n "$DSYMUTIL"; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7285 $as_echo "$DSYMUTIL" >&6; }
7286 else
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7289 fi
7290
7291
7292 fi
7293 if test -z "$ac_cv_prog_DSYMUTIL"; then
7294 ac_ct_DSYMUTIL=$DSYMUTIL
7295 # Extract the first word of "dsymutil", so it can be a program name with args.
7296 set dummy dsymutil; ac_word=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7300 $as_echo_n "(cached) " >&6
7301 else
7302 if test -n "$ac_ct_DSYMUTIL"; then
7303 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7304 else
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH
7307 do
7308 IFS=$as_save_IFS
7309 test -z "$as_dir" && as_dir=.
7310 for ac_exec_ext in '' $ac_executable_extensions; do
7311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7312 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314 break 2
7315 fi
7316 done
7317 done
7318 IFS=$as_save_IFS
7319
7320 fi
7321 fi
7322 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7323 if test -n "$ac_ct_DSYMUTIL"; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7325 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7326 else
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7329 fi
7330
7331 if test "x$ac_ct_DSYMUTIL" = x; then
7332 DSYMUTIL=":"
7333 else
7334 case $cross_compiling:$ac_tool_warned in
7335 yes:)
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7338 ac_tool_warned=yes ;;
7339 esac
7340 DSYMUTIL=$ac_ct_DSYMUTIL
7341 fi
7342 else
7343 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7344 fi
7345
7346 if test -n "$ac_tool_prefix"; then
7347 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7348 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7352 $as_echo_n "(cached) " >&6
7353 else
7354 if test -n "$NMEDIT"; then
7355 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7356 else
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 for as_dir in $PATH
7359 do
7360 IFS=$as_save_IFS
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7364 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366 break 2
7367 fi
7368 done
7369 done
7370 IFS=$as_save_IFS
7371
7372 fi
7373 fi
7374 NMEDIT=$ac_cv_prog_NMEDIT
7375 if test -n "$NMEDIT"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7377 $as_echo "$NMEDIT" >&6; }
7378 else
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7381 fi
7382
7383
7384 fi
7385 if test -z "$ac_cv_prog_NMEDIT"; then
7386 ac_ct_NMEDIT=$NMEDIT
7387 # Extract the first word of "nmedit", so it can be a program name with args.
7388 set dummy nmedit; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7392 $as_echo_n "(cached) " >&6
7393 else
7394 if test -n "$ac_ct_NMEDIT"; then
7395 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7399 do
7400 IFS=$as_save_IFS
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 break 2
7407 fi
7408 done
7409 done
7410 IFS=$as_save_IFS
7411
7412 fi
7413 fi
7414 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7415 if test -n "$ac_ct_NMEDIT"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7417 $as_echo "$ac_ct_NMEDIT" >&6; }
7418 else
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7421 fi
7422
7423 if test "x$ac_ct_NMEDIT" = x; then
7424 NMEDIT=":"
7425 else
7426 case $cross_compiling:$ac_tool_warned in
7427 yes:)
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7430 ac_tool_warned=yes ;;
7431 esac
7432 NMEDIT=$ac_ct_NMEDIT
7433 fi
7434 else
7435 NMEDIT="$ac_cv_prog_NMEDIT"
7436 fi
7437
7438 if test -n "$ac_tool_prefix"; then
7439 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7440 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if test "${ac_cv_prog_LIPO+set}" = set; then :
7444 $as_echo_n "(cached) " >&6
7445 else
7446 if test -n "$LIPO"; then
7447 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7448 else
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 for as_dir in $PATH
7451 do
7452 IFS=$as_save_IFS
7453 test -z "$as_dir" && as_dir=.
7454 for ac_exec_ext in '' $ac_executable_extensions; do
7455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7456 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 break 2
7459 fi
7460 done
7461 done
7462 IFS=$as_save_IFS
7463
7464 fi
7465 fi
7466 LIPO=$ac_cv_prog_LIPO
7467 if test -n "$LIPO"; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7469 $as_echo "$LIPO" >&6; }
7470 else
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7473 fi
7474
7475
7476 fi
7477 if test -z "$ac_cv_prog_LIPO"; then
7478 ac_ct_LIPO=$LIPO
7479 # Extract the first word of "lipo", so it can be a program name with args.
7480 set dummy lipo; ac_word=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7484 $as_echo_n "(cached) " >&6
7485 else
7486 if test -n "$ac_ct_LIPO"; then
7487 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7488 else
7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 for as_dir in $PATH
7491 do
7492 IFS=$as_save_IFS
7493 test -z "$as_dir" && as_dir=.
7494 for ac_exec_ext in '' $ac_executable_extensions; do
7495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7496 ac_cv_prog_ac_ct_LIPO="lipo"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 break 2
7499 fi
7500 done
7501 done
7502 IFS=$as_save_IFS
7503
7504 fi
7505 fi
7506 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7507 if test -n "$ac_ct_LIPO"; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7509 $as_echo "$ac_ct_LIPO" >&6; }
7510 else
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7513 fi
7514
7515 if test "x$ac_ct_LIPO" = x; then
7516 LIPO=":"
7517 else
7518 case $cross_compiling:$ac_tool_warned in
7519 yes:)
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7522 ac_tool_warned=yes ;;
7523 esac
7524 LIPO=$ac_ct_LIPO
7525 fi
7526 else
7527 LIPO="$ac_cv_prog_LIPO"
7528 fi
7529
7530 if test -n "$ac_tool_prefix"; then
7531 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7532 set dummy ${ac_tool_prefix}otool; ac_word=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7536 $as_echo_n "(cached) " >&6
7537 else
7538 if test -n "$OTOOL"; then
7539 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7540 else
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 for as_dir in $PATH
7543 do
7544 IFS=$as_save_IFS
7545 test -z "$as_dir" && as_dir=.
7546 for ac_exec_ext in '' $ac_executable_extensions; do
7547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7548 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7550 break 2
7551 fi
7552 done
7553 done
7554 IFS=$as_save_IFS
7555
7556 fi
7557 fi
7558 OTOOL=$ac_cv_prog_OTOOL
7559 if test -n "$OTOOL"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7561 $as_echo "$OTOOL" >&6; }
7562 else
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7565 fi
7566
7567
7568 fi
7569 if test -z "$ac_cv_prog_OTOOL"; then
7570 ac_ct_OTOOL=$OTOOL
7571 # Extract the first word of "otool", so it can be a program name with args.
7572 set dummy otool; ac_word=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7576 $as_echo_n "(cached) " >&6
7577 else
7578 if test -n "$ac_ct_OTOOL"; then
7579 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7580 else
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582 for as_dir in $PATH
7583 do
7584 IFS=$as_save_IFS
7585 test -z "$as_dir" && as_dir=.
7586 for ac_exec_ext in '' $ac_executable_extensions; do
7587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7588 ac_cv_prog_ac_ct_OTOOL="otool"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590 break 2
7591 fi
7592 done
7593 done
7594 IFS=$as_save_IFS
7595
7596 fi
7597 fi
7598 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7599 if test -n "$ac_ct_OTOOL"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7601 $as_echo "$ac_ct_OTOOL" >&6; }
7602 else
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7605 fi
7606
7607 if test "x$ac_ct_OTOOL" = x; then
7608 OTOOL=":"
7609 else
7610 case $cross_compiling:$ac_tool_warned in
7611 yes:)
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7614 ac_tool_warned=yes ;;
7615 esac
7616 OTOOL=$ac_ct_OTOOL
7617 fi
7618 else
7619 OTOOL="$ac_cv_prog_OTOOL"
7620 fi
7621
7622 if test -n "$ac_tool_prefix"; then
7623 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7624 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7628 $as_echo_n "(cached) " >&6
7629 else
7630 if test -n "$OTOOL64"; then
7631 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7632 else
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634 for as_dir in $PATH
7635 do
7636 IFS=$as_save_IFS
7637 test -z "$as_dir" && as_dir=.
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 break 2
7643 fi
7644 done
7645 done
7646 IFS=$as_save_IFS
7647
7648 fi
7649 fi
7650 OTOOL64=$ac_cv_prog_OTOOL64
7651 if test -n "$OTOOL64"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7653 $as_echo "$OTOOL64" >&6; }
7654 else
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7657 fi
7658
7659
7660 fi
7661 if test -z "$ac_cv_prog_OTOOL64"; then
7662 ac_ct_OTOOL64=$OTOOL64
7663 # Extract the first word of "otool64", so it can be a program name with args.
7664 set dummy otool64; ac_word=$2
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7666 $as_echo_n "checking for $ac_word... " >&6; }
7667 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7668 $as_echo_n "(cached) " >&6
7669 else
7670 if test -n "$ac_ct_OTOOL64"; then
7671 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7672 else
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7674 for as_dir in $PATH
7675 do
7676 IFS=$as_save_IFS
7677 test -z "$as_dir" && as_dir=.
7678 for ac_exec_ext in '' $ac_executable_extensions; do
7679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7680 ac_cv_prog_ac_ct_OTOOL64="otool64"
7681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7682 break 2
7683 fi
7684 done
7685 done
7686 IFS=$as_save_IFS
7687
7688 fi
7689 fi
7690 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7691 if test -n "$ac_ct_OTOOL64"; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7693 $as_echo "$ac_ct_OTOOL64" >&6; }
7694 else
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7696 $as_echo "no" >&6; }
7697 fi
7698
7699 if test "x$ac_ct_OTOOL64" = x; then
7700 OTOOL64=":"
7701 else
7702 case $cross_compiling:$ac_tool_warned in
7703 yes:)
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7706 ac_tool_warned=yes ;;
7707 esac
7708 OTOOL64=$ac_ct_OTOOL64
7709 fi
7710 else
7711 OTOOL64="$ac_cv_prog_OTOOL64"
7712 fi
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7741 $as_echo_n "checking for -single_module linker flag... " >&6; }
7742 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7743 $as_echo_n "(cached) " >&6
7744 else
7745 lt_cv_apple_cc_single_mod=no
7746 if test -z "${LT_MULTI_MODULE}"; then
7747 # By default we will add the -single_module flag. You can override
7748 # by either setting the environment variable LT_MULTI_MODULE
7749 # non-empty at configure time, or by adding -multi_module to the
7750 # link flags.
7751 rm -rf libconftest.dylib*
7752 echo "int foo(void){return 1;}" > conftest.c
7753 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7754 -dynamiclib -Wl,-single_module conftest.c" >&5
7755 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7756 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7757 _lt_result=$?
7758 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7759 lt_cv_apple_cc_single_mod=yes
7760 else
7761 cat conftest.err >&5
7762 fi
7763 rm -rf libconftest.dylib*
7764 rm -f conftest.*
7765 fi
7766 fi
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7768 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7770 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7771 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7772 $as_echo_n "(cached) " >&6
7773 else
7774 lt_cv_ld_exported_symbols_list=no
7775 save_LDFLAGS=$LDFLAGS
7776 echo "_main" > conftest.sym
7777 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7778 if test x$gcc_no_link = xyes; then
7779 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7780 fi
7781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h. */
7783
7784 int
7785 main ()
7786 {
7787
7788 ;
7789 return 0;
7790 }
7791 _ACEOF
7792 if ac_fn_c_try_link "$LINENO"; then :
7793 lt_cv_ld_exported_symbols_list=yes
7794 else
7795 lt_cv_ld_exported_symbols_list=no
7796 fi
7797 rm -f core conftest.err conftest.$ac_objext \
7798 conftest$ac_exeext conftest.$ac_ext
7799 LDFLAGS="$save_LDFLAGS"
7800
7801 fi
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7803 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7805 $as_echo_n "checking for -force_load linker flag... " >&6; }
7806 if test "${lt_cv_ld_force_load+set}" = set; then :
7807 $as_echo_n "(cached) " >&6
7808 else
7809 lt_cv_ld_force_load=no
7810 cat > conftest.c << _LT_EOF
7811 int forced_loaded() { return 2;}
7812 _LT_EOF
7813 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7814 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7815 echo "$AR cru libconftest.a conftest.o" >&5
7816 $AR cru libconftest.a conftest.o 2>&5
7817 cat > conftest.c << _LT_EOF
7818 int main() { return 0;}
7819 _LT_EOF
7820 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7821 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7822 _lt_result=$?
7823 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7824 lt_cv_ld_force_load=yes
7825 else
7826 cat conftest.err >&5
7827 fi
7828 rm -f conftest.err libconftest.a conftest conftest.c
7829 rm -rf conftest.dSYM
7830
7831 fi
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7833 $as_echo "$lt_cv_ld_force_load" >&6; }
7834 case $host_os in
7835 rhapsody* | darwin1.[012])
7836 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7837 darwin1.*)
7838 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7839 darwin*) # darwin 5.x on
7840 # if running on 10.5 or later, the deployment target defaults
7841 # to the OS version, if on x86, and 10.4, the deployment
7842 # target defaults to 10.4. Don't you love it?
7843 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7844 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7845 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7846 10.[012]*)
7847 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7848 10.*)
7849 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7850 esac
7851 ;;
7852 esac
7853 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7854 _lt_dar_single_mod='$single_module'
7855 fi
7856 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7857 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7858 else
7859 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7860 fi
7861 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7862 _lt_dsymutil='~$DSYMUTIL $lib || :'
7863 else
7864 _lt_dsymutil=
7865 fi
7866 ;;
7867 esac
7868
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7870 $as_echo_n "checking for ANSI C header files... " >&6; }
7871 if test "${ac_cv_header_stdc+set}" = set; then :
7872 $as_echo_n "(cached) " >&6
7873 else
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7876 #include <stdlib.h>
7877 #include <stdarg.h>
7878 #include <string.h>
7879 #include <float.h>
7880
7881 int
7882 main ()
7883 {
7884
7885 ;
7886 return 0;
7887 }
7888 _ACEOF
7889 if ac_fn_c_try_compile "$LINENO"; then :
7890 ac_cv_header_stdc=yes
7891 else
7892 ac_cv_header_stdc=no
7893 fi
7894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7895
7896 if test $ac_cv_header_stdc = yes; then
7897 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h. */
7900 #include <string.h>
7901
7902 _ACEOF
7903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7904 $EGREP "memchr" >/dev/null 2>&1; then :
7905
7906 else
7907 ac_cv_header_stdc=no
7908 fi
7909 rm -f conftest*
7910
7911 fi
7912
7913 if test $ac_cv_header_stdc = yes; then
7914 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h. */
7917 #include <stdlib.h>
7918
7919 _ACEOF
7920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7921 $EGREP "free" >/dev/null 2>&1; then :
7922
7923 else
7924 ac_cv_header_stdc=no
7925 fi
7926 rm -f conftest*
7927
7928 fi
7929
7930 if test $ac_cv_header_stdc = yes; then
7931 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7932 if test "$cross_compiling" = yes; then :
7933 :
7934 else
7935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7936 /* end confdefs.h. */
7937 #include <ctype.h>
7938 #include <stdlib.h>
7939 #if ((' ' & 0x0FF) == 0x020)
7940 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7941 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7942 #else
7943 # define ISLOWER(c) \
7944 (('a' <= (c) && (c) <= 'i') \
7945 || ('j' <= (c) && (c) <= 'r') \
7946 || ('s' <= (c) && (c) <= 'z'))
7947 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7948 #endif
7949
7950 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7951 int
7952 main ()
7953 {
7954 int i;
7955 for (i = 0; i < 256; i++)
7956 if (XOR (islower (i), ISLOWER (i))
7957 || toupper (i) != TOUPPER (i))
7958 return 2;
7959 return 0;
7960 }
7961 _ACEOF
7962 if ac_fn_c_try_run "$LINENO"; then :
7963
7964 else
7965 ac_cv_header_stdc=no
7966 fi
7967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7968 conftest.$ac_objext conftest.beam conftest.$ac_ext
7969 fi
7970
7971 fi
7972 fi
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7974 $as_echo "$ac_cv_header_stdc" >&6; }
7975 if test $ac_cv_header_stdc = yes; then
7976
7977 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7978
7979 fi
7980
7981 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7982 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7983 inttypes.h stdint.h unistd.h
7984 do :
7985 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7986 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7987 "
7988 eval as_val=\$$as_ac_Header
7989 if test "x$as_val" = x""yes; then :
7990 cat >>confdefs.h <<_ACEOF
7991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7992 _ACEOF
7993
7994 fi
7995
7996 done
7997
7998
7999 for ac_header in dlfcn.h
8000 do :
8001 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8002 "
8003 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8004 cat >>confdefs.h <<_ACEOF
8005 #define HAVE_DLFCN_H 1
8006 _ACEOF
8007
8008 fi
8009
8010 done
8011
8012
8013
8014
8015
8016
8017 # Set options
8018
8019
8020
8021
8022 enable_win32_dll=no
8023
8024
8025 # Check whether --enable-shared was given.
8026 if test "${enable_shared+set}" = set; then :
8027 enableval=$enable_shared; p=${PACKAGE-default}
8028 case $enableval in
8029 yes) enable_shared=yes ;;
8030 no) enable_shared=no ;;
8031 *)
8032 enable_shared=no
8033 # Look at the argument we got. We use all the common list separators.
8034 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8035 for pkg in $enableval; do
8036 IFS="$lt_save_ifs"
8037 if test "X$pkg" = "X$p"; then
8038 enable_shared=yes
8039 fi
8040 done
8041 IFS="$lt_save_ifs"
8042 ;;
8043 esac
8044 else
8045 enable_shared=yes
8046 fi
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056 # Check whether --enable-static was given.
8057 if test "${enable_static+set}" = set; then :
8058 enableval=$enable_static; p=${PACKAGE-default}
8059 case $enableval in
8060 yes) enable_static=yes ;;
8061 no) enable_static=no ;;
8062 *)
8063 enable_static=no
8064 # Look at the argument we got. We use all the common list separators.
8065 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8066 for pkg in $enableval; do
8067 IFS="$lt_save_ifs"
8068 if test "X$pkg" = "X$p"; then
8069 enable_static=yes
8070 fi
8071 done
8072 IFS="$lt_save_ifs"
8073 ;;
8074 esac
8075 else
8076 enable_static=yes
8077 fi
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088 # Check whether --with-pic was given.
8089 if test "${with_pic+set}" = set; then :
8090 withval=$with_pic; pic_mode="$withval"
8091 else
8092 pic_mode=default
8093 fi
8094
8095
8096 test -z "$pic_mode" && pic_mode=default
8097
8098
8099
8100
8101
8102
8103
8104 # Check whether --enable-fast-install was given.
8105 if test "${enable_fast_install+set}" = set; then :
8106 enableval=$enable_fast_install; p=${PACKAGE-default}
8107 case $enableval in
8108 yes) enable_fast_install=yes ;;
8109 no) enable_fast_install=no ;;
8110 *)
8111 enable_fast_install=no
8112 # Look at the argument we got. We use all the common list separators.
8113 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8114 for pkg in $enableval; do
8115 IFS="$lt_save_ifs"
8116 if test "X$pkg" = "X$p"; then
8117 enable_fast_install=yes
8118 fi
8119 done
8120 IFS="$lt_save_ifs"
8121 ;;
8122 esac
8123 else
8124 enable_fast_install=yes
8125 fi
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137 # This can be used to rebuild libtool when needed
8138 LIBTOOL_DEPS="$ltmain"
8139
8140 # Always use our own libtool.
8141 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168 test -z "$LN_S" && LN_S="ln -s"
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183 if test -n "${ZSH_VERSION+set}" ; then
8184 setopt NO_GLOB_SUBST
8185 fi
8186
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8188 $as_echo_n "checking for objdir... " >&6; }
8189 if test "${lt_cv_objdir+set}" = set; then :
8190 $as_echo_n "(cached) " >&6
8191 else
8192 rm -f .libs 2>/dev/null
8193 mkdir .libs 2>/dev/null
8194 if test -d .libs; then
8195 lt_cv_objdir=.libs
8196 else
8197 # MS-DOS does not allow filenames that begin with a dot.
8198 lt_cv_objdir=_libs
8199 fi
8200 rmdir .libs 2>/dev/null
8201 fi
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8203 $as_echo "$lt_cv_objdir" >&6; }
8204 objdir=$lt_cv_objdir
8205
8206
8207
8208
8209
8210 cat >>confdefs.h <<_ACEOF
8211 #define LT_OBJDIR "$lt_cv_objdir/"
8212 _ACEOF
8213
8214
8215
8216
8217 case $host_os in
8218 aix3*)
8219 # AIX sometimes has problems with the GCC collect2 program. For some
8220 # reason, if we set the COLLECT_NAMES environment variable, the problems
8221 # vanish in a puff of smoke.
8222 if test "X${COLLECT_NAMES+set}" != Xset; then
8223 COLLECT_NAMES=
8224 export COLLECT_NAMES
8225 fi
8226 ;;
8227 esac
8228
8229 # Global variables:
8230 ofile=libtool
8231 can_build_shared=yes
8232
8233 # All known linkers require a `.a' archive for static linking (except MSVC,
8234 # which needs '.lib').
8235 libext=a
8236
8237 with_gnu_ld="$lt_cv_prog_gnu_ld"
8238
8239 old_CC="$CC"
8240 old_CFLAGS="$CFLAGS"
8241
8242 # Set sane defaults for various variables
8243 test -z "$CC" && CC=cc
8244 test -z "$LTCC" && LTCC=$CC
8245 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8246 test -z "$LD" && LD=ld
8247 test -z "$ac_objext" && ac_objext=o
8248
8249 for cc_temp in $compiler""; do
8250 case $cc_temp in
8251 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8252 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8253 \-*) ;;
8254 *) break;;
8255 esac
8256 done
8257 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8258
8259
8260 # Only perform the check for file, if the check method requires it
8261 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8262 case $deplibs_check_method in
8263 file_magic*)
8264 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8266 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8267 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8268 $as_echo_n "(cached) " >&6
8269 else
8270 case $MAGIC_CMD in
8271 [\\/*] | ?:[\\/]*)
8272 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8273 ;;
8274 *)
8275 lt_save_MAGIC_CMD="$MAGIC_CMD"
8276 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8277 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8278 for ac_dir in $ac_dummy; do
8279 IFS="$lt_save_ifs"
8280 test -z "$ac_dir" && ac_dir=.
8281 if test -f $ac_dir/${ac_tool_prefix}file; then
8282 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8283 if test -n "$file_magic_test_file"; then
8284 case $deplibs_check_method in
8285 "file_magic "*)
8286 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8287 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8288 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8289 $EGREP "$file_magic_regex" > /dev/null; then
8290 :
8291 else
8292 cat <<_LT_EOF 1>&2
8293
8294 *** Warning: the command libtool uses to detect shared libraries,
8295 *** $file_magic_cmd, produces output that libtool cannot recognize.
8296 *** The result is that libtool may fail to recognize shared libraries
8297 *** as such. This will affect the creation of libtool libraries that
8298 *** depend on shared libraries, but programs linked with such libtool
8299 *** libraries will work regardless of this problem. Nevertheless, you
8300 *** may want to report the problem to your system manager and/or to
8301 *** bug-libtool@gnu.org
8302
8303 _LT_EOF
8304 fi ;;
8305 esac
8306 fi
8307 break
8308 fi
8309 done
8310 IFS="$lt_save_ifs"
8311 MAGIC_CMD="$lt_save_MAGIC_CMD"
8312 ;;
8313 esac
8314 fi
8315
8316 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8317 if test -n "$MAGIC_CMD"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8319 $as_echo "$MAGIC_CMD" >&6; }
8320 else
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8323 fi
8324
8325
8326
8327
8328
8329 if test -z "$lt_cv_path_MAGIC_CMD"; then
8330 if test -n "$ac_tool_prefix"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8332 $as_echo_n "checking for file... " >&6; }
8333 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8334 $as_echo_n "(cached) " >&6
8335 else
8336 case $MAGIC_CMD in
8337 [\\/*] | ?:[\\/]*)
8338 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8339 ;;
8340 *)
8341 lt_save_MAGIC_CMD="$MAGIC_CMD"
8342 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8343 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8344 for ac_dir in $ac_dummy; do
8345 IFS="$lt_save_ifs"
8346 test -z "$ac_dir" && ac_dir=.
8347 if test -f $ac_dir/file; then
8348 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8349 if test -n "$file_magic_test_file"; then
8350 case $deplibs_check_method in
8351 "file_magic "*)
8352 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8353 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8354 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8355 $EGREP "$file_magic_regex" > /dev/null; then
8356 :
8357 else
8358 cat <<_LT_EOF 1>&2
8359
8360 *** Warning: the command libtool uses to detect shared libraries,
8361 *** $file_magic_cmd, produces output that libtool cannot recognize.
8362 *** The result is that libtool may fail to recognize shared libraries
8363 *** as such. This will affect the creation of libtool libraries that
8364 *** depend on shared libraries, but programs linked with such libtool
8365 *** libraries will work regardless of this problem. Nevertheless, you
8366 *** may want to report the problem to your system manager and/or to
8367 *** bug-libtool@gnu.org
8368
8369 _LT_EOF
8370 fi ;;
8371 esac
8372 fi
8373 break
8374 fi
8375 done
8376 IFS="$lt_save_ifs"
8377 MAGIC_CMD="$lt_save_MAGIC_CMD"
8378 ;;
8379 esac
8380 fi
8381
8382 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8383 if test -n "$MAGIC_CMD"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8385 $as_echo "$MAGIC_CMD" >&6; }
8386 else
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8389 fi
8390
8391
8392 else
8393 MAGIC_CMD=:
8394 fi
8395 fi
8396
8397 fi
8398 ;;
8399 esac
8400
8401 # Use C for the default configuration in the libtool script
8402
8403 lt_save_CC="$CC"
8404 ac_ext=c
8405 ac_cpp='$CPP $CPPFLAGS'
8406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8409
8410
8411 # Source file extension for C test sources.
8412 ac_ext=c
8413
8414 # Object file extension for compiled C test sources.
8415 objext=o
8416 objext=$objext
8417
8418 # Code to be used in simple compile tests
8419 lt_simple_compile_test_code="int some_variable = 0;"
8420
8421 # Code to be used in simple link tests
8422 lt_simple_link_test_code='int main(){return(0);}'
8423
8424
8425
8426
8427
8428
8429
8430 # If no C compiler was specified, use CC.
8431 LTCC=${LTCC-"$CC"}
8432
8433 # If no C compiler flags were specified, use CFLAGS.
8434 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8435
8436 # Allow CC to be a program name with arguments.
8437 compiler=$CC
8438
8439 # Save the default compiler, since it gets overwritten when the other
8440 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8441 compiler_DEFAULT=$CC
8442
8443 # save warnings/boilerplate of simple test code
8444 ac_outfile=conftest.$ac_objext
8445 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8446 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8447 _lt_compiler_boilerplate=`cat conftest.err`
8448 $RM conftest*
8449
8450 ac_outfile=conftest.$ac_objext
8451 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8452 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8453 _lt_linker_boilerplate=`cat conftest.err`
8454 $RM -r conftest*
8455
8456
8457 ## CAVEAT EMPTOR:
8458 ## There is no encapsulation within the following macros, do not change
8459 ## the running order or otherwise move them around unless you know exactly
8460 ## what you are doing...
8461 if test -n "$compiler"; then
8462
8463 lt_prog_compiler_no_builtin_flag=
8464
8465 if test "$GCC" = yes; then
8466 case $cc_basename in
8467 nvcc*)
8468 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8469 *)
8470 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8471 esac
8472
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8474 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8475 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8476 $as_echo_n "(cached) " >&6
8477 else
8478 lt_cv_prog_compiler_rtti_exceptions=no
8479 ac_outfile=conftest.$ac_objext
8480 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8481 lt_compiler_flag="-fno-rtti -fno-exceptions"
8482 # Insert the option either (1) after the last *FLAGS variable, or
8483 # (2) before a word containing "conftest.", or (3) at the end.
8484 # Note that $ac_compile itself does not contain backslashes and begins
8485 # with a dollar sign (not a hyphen), so the echo should work correctly.
8486 # The option is referenced via a variable to avoid confusing sed.
8487 lt_compile=`echo "$ac_compile" | $SED \
8488 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8489 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8490 -e 's:$: $lt_compiler_flag:'`
8491 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8492 (eval "$lt_compile" 2>conftest.err)
8493 ac_status=$?
8494 cat conftest.err >&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 if (exit $ac_status) && test -s "$ac_outfile"; then
8497 # The compiler can only warn and ignore the option if not recognized
8498 # So say no if there are warnings other than the usual output.
8499 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8500 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8501 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8502 lt_cv_prog_compiler_rtti_exceptions=yes
8503 fi
8504 fi
8505 $RM conftest*
8506
8507 fi
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8509 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8510
8511 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8512 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8513 else
8514 :
8515 fi
8516
8517 fi
8518
8519
8520
8521
8522
8523
8524 lt_prog_compiler_wl=
8525 lt_prog_compiler_pic=
8526 lt_prog_compiler_static=
8527
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8529 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8530
8531 if test "$GCC" = yes; then
8532 lt_prog_compiler_wl='-Wl,'
8533 lt_prog_compiler_static='-static'
8534
8535 case $host_os in
8536 aix*)
8537 # All AIX code is PIC.
8538 if test "$host_cpu" = ia64; then
8539 # AIX 5 now supports IA64 processor
8540 lt_prog_compiler_static='-Bstatic'
8541 fi
8542 lt_prog_compiler_pic='-fPIC'
8543 ;;
8544
8545 amigaos*)
8546 case $host_cpu in
8547 powerpc)
8548 # see comment about AmigaOS4 .so support
8549 lt_prog_compiler_pic='-fPIC'
8550 ;;
8551 m68k)
8552 # FIXME: we need at least 68020 code to build shared libraries, but
8553 # adding the `-m68020' flag to GCC prevents building anything better,
8554 # like `-m68040'.
8555 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8556 ;;
8557 esac
8558 ;;
8559
8560 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8561 # PIC is the default for these OSes.
8562 ;;
8563
8564 mingw* | cygwin* | pw32* | os2* | cegcc*)
8565 # This hack is so that the source file can tell whether it is being
8566 # built for inclusion in a dll (and should export symbols for example).
8567 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8568 # (--disable-auto-import) libraries
8569 lt_prog_compiler_pic='-DDLL_EXPORT'
8570 ;;
8571
8572 darwin* | rhapsody*)
8573 # PIC is the default on this platform
8574 # Common symbols not allowed in MH_DYLIB files
8575 lt_prog_compiler_pic='-fno-common'
8576 ;;
8577
8578 haiku*)
8579 # PIC is the default for Haiku.
8580 # The "-static" flag exists, but is broken.
8581 lt_prog_compiler_static=
8582 ;;
8583
8584 hpux*)
8585 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8586 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8587 # sets the default TLS model and affects inlining.
8588 case $host_cpu in
8589 hppa*64*)
8590 # +Z the default
8591 ;;
8592 *)
8593 lt_prog_compiler_pic='-fPIC'
8594 ;;
8595 esac
8596 ;;
8597
8598 interix[3-9]*)
8599 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8600 # Instead, we relocate shared libraries at runtime.
8601 ;;
8602
8603 msdosdjgpp*)
8604 # Just because we use GCC doesn't mean we suddenly get shared libraries
8605 # on systems that don't support them.
8606 lt_prog_compiler_can_build_shared=no
8607 enable_shared=no
8608 ;;
8609
8610 *nto* | *qnx*)
8611 # QNX uses GNU C++, but need to define -shared option too, otherwise
8612 # it will coredump.
8613 lt_prog_compiler_pic='-fPIC -shared'
8614 ;;
8615
8616 sysv4*MP*)
8617 if test -d /usr/nec; then
8618 lt_prog_compiler_pic=-Kconform_pic
8619 fi
8620 ;;
8621
8622 *)
8623 lt_prog_compiler_pic='-fPIC'
8624 ;;
8625 esac
8626
8627 case $cc_basename in
8628 nvcc*) # Cuda Compiler Driver 2.2
8629 lt_prog_compiler_wl='-Xlinker '
8630 lt_prog_compiler_pic='-Xcompiler -fPIC'
8631 ;;
8632 esac
8633 else
8634 # PORTME Check for flag to pass linker flags through the system compiler.
8635 case $host_os in
8636 aix*)
8637 lt_prog_compiler_wl='-Wl,'
8638 if test "$host_cpu" = ia64; then
8639 # AIX 5 now supports IA64 processor
8640 lt_prog_compiler_static='-Bstatic'
8641 else
8642 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8643 fi
8644 ;;
8645
8646 mingw* | cygwin* | pw32* | os2* | cegcc*)
8647 # This hack is so that the source file can tell whether it is being
8648 # built for inclusion in a dll (and should export symbols for example).
8649 lt_prog_compiler_pic='-DDLL_EXPORT'
8650 ;;
8651
8652 hpux9* | hpux10* | hpux11*)
8653 lt_prog_compiler_wl='-Wl,'
8654 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8655 # not for PA HP-UX.
8656 case $host_cpu in
8657 hppa*64*|ia64*)
8658 # +Z the default
8659 ;;
8660 *)
8661 lt_prog_compiler_pic='+Z'
8662 ;;
8663 esac
8664 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8665 lt_prog_compiler_static='${wl}-a ${wl}archive'
8666 ;;
8667
8668 irix5* | irix6* | nonstopux*)
8669 lt_prog_compiler_wl='-Wl,'
8670 # PIC (with -KPIC) is the default.
8671 lt_prog_compiler_static='-non_shared'
8672 ;;
8673
8674 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8675 case $cc_basename in
8676 # old Intel for x86_64 which still supported -KPIC.
8677 ecc*)
8678 lt_prog_compiler_wl='-Wl,'
8679 lt_prog_compiler_pic='-KPIC'
8680 lt_prog_compiler_static='-static'
8681 ;;
8682 # icc used to be incompatible with GCC.
8683 # ICC 10 doesn't accept -KPIC any more.
8684 icc* | ifort*)
8685 lt_prog_compiler_wl='-Wl,'
8686 lt_prog_compiler_pic='-fPIC'
8687 lt_prog_compiler_static='-static'
8688 ;;
8689 # Lahey Fortran 8.1.
8690 lf95*)
8691 lt_prog_compiler_wl='-Wl,'
8692 lt_prog_compiler_pic='--shared'
8693 lt_prog_compiler_static='--static'
8694 ;;
8695 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8696 # Portland Group compilers (*not* the Pentium gcc compiler,
8697 # which looks to be a dead project)
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='-fpic'
8700 lt_prog_compiler_static='-Bstatic'
8701 ;;
8702 ccc*)
8703 lt_prog_compiler_wl='-Wl,'
8704 # All Alpha code is PIC.
8705 lt_prog_compiler_static='-non_shared'
8706 ;;
8707 xl* | bgxl* | bgf* | mpixl*)
8708 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8709 lt_prog_compiler_wl='-Wl,'
8710 lt_prog_compiler_pic='-qpic'
8711 lt_prog_compiler_static='-qstaticlink'
8712 ;;
8713 *)
8714 case `$CC -V 2>&1 | sed 5q` in
8715 *Sun\ F* | *Sun*Fortran*)
8716 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8717 lt_prog_compiler_pic='-KPIC'
8718 lt_prog_compiler_static='-Bstatic'
8719 lt_prog_compiler_wl=''
8720 ;;
8721 *Sun\ C*)
8722 # Sun C 5.9
8723 lt_prog_compiler_pic='-KPIC'
8724 lt_prog_compiler_static='-Bstatic'
8725 lt_prog_compiler_wl='-Wl,'
8726 ;;
8727 esac
8728 ;;
8729 esac
8730 ;;
8731
8732 newsos6)
8733 lt_prog_compiler_pic='-KPIC'
8734 lt_prog_compiler_static='-Bstatic'
8735 ;;
8736
8737 *nto* | *qnx*)
8738 # QNX uses GNU C++, but need to define -shared option too, otherwise
8739 # it will coredump.
8740 lt_prog_compiler_pic='-fPIC -shared'
8741 ;;
8742
8743 osf3* | osf4* | osf5*)
8744 lt_prog_compiler_wl='-Wl,'
8745 # All OSF/1 code is PIC.
8746 lt_prog_compiler_static='-non_shared'
8747 ;;
8748
8749 rdos*)
8750 lt_prog_compiler_static='-non_shared'
8751 ;;
8752
8753 solaris*)
8754 lt_prog_compiler_pic='-KPIC'
8755 lt_prog_compiler_static='-Bstatic'
8756 case $cc_basename in
8757 f77* | f90* | f95*)
8758 lt_prog_compiler_wl='-Qoption ld ';;
8759 *)
8760 lt_prog_compiler_wl='-Wl,';;
8761 esac
8762 ;;
8763
8764 sunos4*)
8765 lt_prog_compiler_wl='-Qoption ld '
8766 lt_prog_compiler_pic='-PIC'
8767 lt_prog_compiler_static='-Bstatic'
8768 ;;
8769
8770 sysv4 | sysv4.2uw2* | sysv4.3*)
8771 lt_prog_compiler_wl='-Wl,'
8772 lt_prog_compiler_pic='-KPIC'
8773 lt_prog_compiler_static='-Bstatic'
8774 ;;
8775
8776 sysv4*MP*)
8777 if test -d /usr/nec ;then
8778 lt_prog_compiler_pic='-Kconform_pic'
8779 lt_prog_compiler_static='-Bstatic'
8780 fi
8781 ;;
8782
8783 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_pic='-KPIC'
8786 lt_prog_compiler_static='-Bstatic'
8787 ;;
8788
8789 unicos*)
8790 lt_prog_compiler_wl='-Wl,'
8791 lt_prog_compiler_can_build_shared=no
8792 ;;
8793
8794 uts4*)
8795 lt_prog_compiler_pic='-pic'
8796 lt_prog_compiler_static='-Bstatic'
8797 ;;
8798
8799 *)
8800 lt_prog_compiler_can_build_shared=no
8801 ;;
8802 esac
8803 fi
8804
8805 case $host_os in
8806 # For platforms which do not support PIC, -DPIC is meaningless:
8807 *djgpp*)
8808 lt_prog_compiler_pic=
8809 ;;
8810 *)
8811 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8812 ;;
8813 esac
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8815 $as_echo "$lt_prog_compiler_pic" >&6; }
8816
8817
8818
8819
8820
8821
8822 #
8823 # Check to make sure the PIC flag actually works.
8824 #
8825 if test -n "$lt_prog_compiler_pic"; then
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8827 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8828 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8829 $as_echo_n "(cached) " >&6
8830 else
8831 lt_cv_prog_compiler_pic_works=no
8832 ac_outfile=conftest.$ac_objext
8833 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8834 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8835 # Insert the option either (1) after the last *FLAGS variable, or
8836 # (2) before a word containing "conftest.", or (3) at the end.
8837 # Note that $ac_compile itself does not contain backslashes and begins
8838 # with a dollar sign (not a hyphen), so the echo should work correctly.
8839 # The option is referenced via a variable to avoid confusing sed.
8840 lt_compile=`echo "$ac_compile" | $SED \
8841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8843 -e 's:$: $lt_compiler_flag:'`
8844 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8845 (eval "$lt_compile" 2>conftest.err)
8846 ac_status=$?
8847 cat conftest.err >&5
8848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849 if (exit $ac_status) && test -s "$ac_outfile"; then
8850 # The compiler can only warn and ignore the option if not recognized
8851 # So say no if there are warnings other than the usual output.
8852 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8853 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8854 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8855 lt_cv_prog_compiler_pic_works=yes
8856 fi
8857 fi
8858 $RM conftest*
8859
8860 fi
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8862 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8863
8864 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8865 case $lt_prog_compiler_pic in
8866 "" | " "*) ;;
8867 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8868 esac
8869 else
8870 lt_prog_compiler_pic=
8871 lt_prog_compiler_can_build_shared=no
8872 fi
8873
8874 fi
8875
8876
8877
8878
8879
8880
8881 #
8882 # Check to make sure the static flag actually works.
8883 #
8884 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8886 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8887 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8888 $as_echo_n "(cached) " >&6
8889 else
8890 lt_cv_prog_compiler_static_works=no
8891 save_LDFLAGS="$LDFLAGS"
8892 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8893 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8894 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8895 # The linker can only warn and ignore the option if not recognized
8896 # So say no if there are warnings
8897 if test -s conftest.err; then
8898 # Append any errors to the config.log.
8899 cat conftest.err 1>&5
8900 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8901 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8902 if diff conftest.exp conftest.er2 >/dev/null; then
8903 lt_cv_prog_compiler_static_works=yes
8904 fi
8905 else
8906 lt_cv_prog_compiler_static_works=yes
8907 fi
8908 fi
8909 $RM -r conftest*
8910 LDFLAGS="$save_LDFLAGS"
8911
8912 fi
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8914 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8915
8916 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8917 :
8918 else
8919 lt_prog_compiler_static=
8920 fi
8921
8922
8923
8924
8925
8926
8927
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8929 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8930 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8931 $as_echo_n "(cached) " >&6
8932 else
8933 lt_cv_prog_compiler_c_o=no
8934 $RM -r conftest 2>/dev/null
8935 mkdir conftest
8936 cd conftest
8937 mkdir out
8938 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8939
8940 lt_compiler_flag="-o out/conftest2.$ac_objext"
8941 # Insert the option either (1) after the last *FLAGS variable, or
8942 # (2) before a word containing "conftest.", or (3) at the end.
8943 # Note that $ac_compile itself does not contain backslashes and begins
8944 # with a dollar sign (not a hyphen), so the echo should work correctly.
8945 lt_compile=`echo "$ac_compile" | $SED \
8946 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8947 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8948 -e 's:$: $lt_compiler_flag:'`
8949 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8950 (eval "$lt_compile" 2>out/conftest.err)
8951 ac_status=$?
8952 cat out/conftest.err >&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8955 then
8956 # The compiler can only warn and ignore the option if not recognized
8957 # So say no if there are warnings
8958 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8959 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8960 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8961 lt_cv_prog_compiler_c_o=yes
8962 fi
8963 fi
8964 chmod u+w . 2>&5
8965 $RM conftest*
8966 # SGI C++ compiler will create directory out/ii_files/ for
8967 # template instantiation
8968 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8969 $RM out/* && rmdir out
8970 cd ..
8971 $RM -r conftest
8972 $RM conftest*
8973
8974 fi
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8976 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8977
8978
8979
8980
8981
8982
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8984 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8985 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8986 $as_echo_n "(cached) " >&6
8987 else
8988 lt_cv_prog_compiler_c_o=no
8989 $RM -r conftest 2>/dev/null
8990 mkdir conftest
8991 cd conftest
8992 mkdir out
8993 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8994
8995 lt_compiler_flag="-o out/conftest2.$ac_objext"
8996 # Insert the option either (1) after the last *FLAGS variable, or
8997 # (2) before a word containing "conftest.", or (3) at the end.
8998 # Note that $ac_compile itself does not contain backslashes and begins
8999 # with a dollar sign (not a hyphen), so the echo should work correctly.
9000 lt_compile=`echo "$ac_compile" | $SED \
9001 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9002 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9003 -e 's:$: $lt_compiler_flag:'`
9004 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9005 (eval "$lt_compile" 2>out/conftest.err)
9006 ac_status=$?
9007 cat out/conftest.err >&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9010 then
9011 # The compiler can only warn and ignore the option if not recognized
9012 # So say no if there are warnings
9013 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9014 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9015 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9016 lt_cv_prog_compiler_c_o=yes
9017 fi
9018 fi
9019 chmod u+w . 2>&5
9020 $RM conftest*
9021 # SGI C++ compiler will create directory out/ii_files/ for
9022 # template instantiation
9023 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9024 $RM out/* && rmdir out
9025 cd ..
9026 $RM -r conftest
9027 $RM conftest*
9028
9029 fi
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9031 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9032
9033
9034
9035
9036 hard_links="nottested"
9037 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9038 # do not overwrite the value of need_locks provided by the user
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9040 $as_echo_n "checking if we can lock with hard links... " >&6; }
9041 hard_links=yes
9042 $RM conftest*
9043 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9044 touch conftest.a
9045 ln conftest.a conftest.b 2>&5 || hard_links=no
9046 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9048 $as_echo "$hard_links" >&6; }
9049 if test "$hard_links" = no; then
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9051 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9052 need_locks=warn
9053 fi
9054 else
9055 need_locks=no
9056 fi
9057
9058
9059
9060
9061
9062
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9064 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9065
9066 runpath_var=
9067 allow_undefined_flag=
9068 always_export_symbols=no
9069 archive_cmds=
9070 archive_expsym_cmds=
9071 compiler_needs_object=no
9072 enable_shared_with_static_runtimes=no
9073 export_dynamic_flag_spec=
9074 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9075 hardcode_automatic=no
9076 hardcode_direct=no
9077 hardcode_direct_absolute=no
9078 hardcode_libdir_flag_spec=
9079 hardcode_libdir_flag_spec_ld=
9080 hardcode_libdir_separator=
9081 hardcode_minus_L=no
9082 hardcode_shlibpath_var=unsupported
9083 inherit_rpath=no
9084 link_all_deplibs=unknown
9085 module_cmds=
9086 module_expsym_cmds=
9087 old_archive_from_new_cmds=
9088 old_archive_from_expsyms_cmds=
9089 thread_safe_flag_spec=
9090 whole_archive_flag_spec=
9091 # include_expsyms should be a list of space-separated symbols to be *always*
9092 # included in the symbol list
9093 include_expsyms=
9094 # exclude_expsyms can be an extended regexp of symbols to exclude
9095 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9096 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9097 # as well as any symbol that contains `d'.
9098 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9099 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9100 # platforms (ab)use it in PIC code, but their linkers get confused if
9101 # the symbol is explicitly referenced. Since portable code cannot
9102 # rely on this symbol name, it's probably fine to never include it in
9103 # preloaded symbol tables.
9104 # Exclude shared library initialization/finalization symbols.
9105 extract_expsyms_cmds=
9106
9107 case $host_os in
9108 cygwin* | mingw* | pw32* | cegcc*)
9109 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9110 # When not using gcc, we currently assume that we are using
9111 # Microsoft Visual C++.
9112 if test "$GCC" != yes; then
9113 with_gnu_ld=no
9114 fi
9115 ;;
9116 interix*)
9117 # we just hope/assume this is gcc and not c89 (= MSVC++)
9118 with_gnu_ld=yes
9119 ;;
9120 openbsd*)
9121 with_gnu_ld=no
9122 ;;
9123 esac
9124
9125 ld_shlibs=yes
9126
9127 # On some targets, GNU ld is compatible enough with the native linker
9128 # that we're better off using the native interface for both.
9129 lt_use_gnu_ld_interface=no
9130 if test "$with_gnu_ld" = yes; then
9131 case $host_os in
9132 aix*)
9133 # The AIX port of GNU ld has always aspired to compatibility
9134 # with the native linker. However, as the warning in the GNU ld
9135 # block says, versions before 2.19.5* couldn't really create working
9136 # shared libraries, regardless of the interface used.
9137 case `$LD -v 2>&1` in
9138 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9139 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9140 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9141 *)
9142 lt_use_gnu_ld_interface=yes
9143 ;;
9144 esac
9145 ;;
9146 *)
9147 lt_use_gnu_ld_interface=yes
9148 ;;
9149 esac
9150 fi
9151
9152 if test "$lt_use_gnu_ld_interface" = yes; then
9153 # If archive_cmds runs LD, not CC, wlarc should be empty
9154 wlarc='${wl}'
9155
9156 # Set some defaults for GNU ld with shared library support. These
9157 # are reset later if shared libraries are not supported. Putting them
9158 # here allows them to be overridden if necessary.
9159 runpath_var=LD_RUN_PATH
9160 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9161 export_dynamic_flag_spec='${wl}--export-dynamic'
9162 # ancient GNU ld didn't support --whole-archive et. al.
9163 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9164 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9165 else
9166 whole_archive_flag_spec=
9167 fi
9168 supports_anon_versioning=no
9169 case `$LD -v 2>&1` in
9170 *GNU\ gold*) supports_anon_versioning=yes ;;
9171 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9172 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9173 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9174 *\ 2.11.*) ;; # other 2.11 versions
9175 *) supports_anon_versioning=yes ;;
9176 esac
9177
9178 # See if GNU ld supports shared libraries.
9179 case $host_os in
9180 aix[3-9]*)
9181 # On AIX/PPC, the GNU linker is very broken
9182 if test "$host_cpu" != ia64; then
9183 ld_shlibs=no
9184 cat <<_LT_EOF 1>&2
9185
9186 *** Warning: the GNU linker, at least up to release 2.19, is reported
9187 *** to be unable to reliably create shared libraries on AIX.
9188 *** Therefore, libtool is disabling shared libraries support. If you
9189 *** really care for shared libraries, you may want to install binutils
9190 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9191 *** You will then need to restart the configuration process.
9192
9193 _LT_EOF
9194 fi
9195 ;;
9196
9197 amigaos*)
9198 case $host_cpu in
9199 powerpc)
9200 # see comment about AmigaOS4 .so support
9201 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202 archive_expsym_cmds=''
9203 ;;
9204 m68k)
9205 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)'
9206 hardcode_libdir_flag_spec='-L$libdir'
9207 hardcode_minus_L=yes
9208 ;;
9209 esac
9210 ;;
9211
9212 beos*)
9213 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9214 allow_undefined_flag=unsupported
9215 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9216 # support --undefined. This deserves some investigation. FIXME
9217 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9218 else
9219 ld_shlibs=no
9220 fi
9221 ;;
9222
9223 cygwin* | mingw* | pw32* | cegcc*)
9224 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9225 # as there is no search path for DLLs.
9226 hardcode_libdir_flag_spec='-L$libdir'
9227 export_dynamic_flag_spec='${wl}--export-all-symbols'
9228 allow_undefined_flag=unsupported
9229 always_export_symbols=no
9230 enable_shared_with_static_runtimes=yes
9231 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9232
9233 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9234 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9235 # If the export-symbols file already is a .def file (1st line
9236 # is EXPORTS), use it as is; otherwise, prepend...
9237 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9238 cp $export_symbols $output_objdir/$soname.def;
9239 else
9240 echo EXPORTS > $output_objdir/$soname.def;
9241 cat $export_symbols >> $output_objdir/$soname.def;
9242 fi~
9243 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9244 else
9245 ld_shlibs=no
9246 fi
9247 ;;
9248
9249 haiku*)
9250 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9251 link_all_deplibs=yes
9252 ;;
9253
9254 interix[3-9]*)
9255 hardcode_direct=no
9256 hardcode_shlibpath_var=no
9257 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9258 export_dynamic_flag_spec='${wl}-E'
9259 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9260 # Instead, shared libraries are loaded at an image base (0x10000000 by
9261 # default) and relocated if they conflict, which is a slow very memory
9262 # consuming and fragmenting process. To avoid this, we pick a random,
9263 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9264 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9265 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9266 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'
9267 ;;
9268
9269 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9270 tmp_diet=no
9271 if test "$host_os" = linux-dietlibc; then
9272 case $cc_basename in
9273 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9274 esac
9275 fi
9276 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9277 && test "$tmp_diet" = no
9278 then
9279 tmp_addflag=
9280 tmp_sharedflag='-shared'
9281 case $cc_basename,$host_cpu in
9282 pgcc*) # Portland Group C compiler
9283 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'
9284 tmp_addflag=' $pic_flag'
9285 ;;
9286 pgf77* | pgf90* | pgf95* | pgfortran*)
9287 # Portland Group f77 and f90 compilers
9288 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'
9289 tmp_addflag=' $pic_flag -Mnomain' ;;
9290 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9291 tmp_addflag=' -i_dynamic' ;;
9292 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9293 tmp_addflag=' -i_dynamic -nofor_main' ;;
9294 ifc* | ifort*) # Intel Fortran compiler
9295 tmp_addflag=' -nofor_main' ;;
9296 lf95*) # Lahey Fortran 8.1
9297 whole_archive_flag_spec=
9298 tmp_sharedflag='--shared' ;;
9299 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9300 tmp_sharedflag='-qmkshrobj'
9301 tmp_addflag= ;;
9302 nvcc*) # Cuda Compiler Driver 2.2
9303 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'
9304 compiler_needs_object=yes
9305 ;;
9306 esac
9307 case `$CC -V 2>&1 | sed 5q` in
9308 *Sun\ C*) # Sun C 5.9
9309 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'
9310 compiler_needs_object=yes
9311 tmp_sharedflag='-G' ;;
9312 *Sun\ F*) # Sun Fortran 8.3
9313 tmp_sharedflag='-G' ;;
9314 esac
9315 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9316
9317 if test "x$supports_anon_versioning" = xyes; then
9318 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9319 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9320 echo "local: *; };" >> $output_objdir/$libname.ver~
9321 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9322 fi
9323
9324 case $cc_basename in
9325 xlf* | bgf* | bgxlf* | mpixlf*)
9326 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9327 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9328 hardcode_libdir_flag_spec=
9329 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9330 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9331 if test "x$supports_anon_versioning" = xyes; then
9332 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9333 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9334 echo "local: *; };" >> $output_objdir/$libname.ver~
9335 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9336 fi
9337 ;;
9338 esac
9339 else
9340 ld_shlibs=no
9341 fi
9342 ;;
9343
9344 netbsd*)
9345 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9346 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9347 wlarc=
9348 else
9349 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9350 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9351 fi
9352 ;;
9353
9354 solaris*)
9355 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9356 ld_shlibs=no
9357 cat <<_LT_EOF 1>&2
9358
9359 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9360 *** create shared libraries on Solaris systems. Therefore, libtool
9361 *** is disabling shared libraries support. We urge you to upgrade GNU
9362 *** binutils to release 2.9.1 or newer. Another option is to modify
9363 *** your PATH or compiler configuration so that the native linker is
9364 *** used, and then restart.
9365
9366 _LT_EOF
9367 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9368 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9369 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9370 else
9371 ld_shlibs=no
9372 fi
9373 ;;
9374
9375 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9376 case `$LD -v 2>&1` in
9377 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9378 ld_shlibs=no
9379 cat <<_LT_EOF 1>&2
9380
9381 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9382 *** reliably create shared libraries on SCO systems. Therefore, libtool
9383 *** is disabling shared libraries support. We urge you to upgrade GNU
9384 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9385 *** your PATH or compiler configuration so that the native linker is
9386 *** used, and then restart.
9387
9388 _LT_EOF
9389 ;;
9390 *)
9391 # For security reasons, it is highly recommended that you always
9392 # use absolute paths for naming shared libraries, and exclude the
9393 # DT_RUNPATH tag from executables and libraries. But doing so
9394 # requires that you compile everything twice, which is a pain.
9395 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9396 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9397 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9399 else
9400 ld_shlibs=no
9401 fi
9402 ;;
9403 esac
9404 ;;
9405
9406 sunos4*)
9407 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9408 wlarc=
9409 hardcode_direct=yes
9410 hardcode_shlibpath_var=no
9411 ;;
9412
9413 *)
9414 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9415 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417 else
9418 ld_shlibs=no
9419 fi
9420 ;;
9421 esac
9422
9423 if test "$ld_shlibs" = no; then
9424 runpath_var=
9425 hardcode_libdir_flag_spec=
9426 export_dynamic_flag_spec=
9427 whole_archive_flag_spec=
9428 fi
9429 else
9430 # PORTME fill in a description of your system's linker (not GNU ld)
9431 case $host_os in
9432 aix3*)
9433 allow_undefined_flag=unsupported
9434 always_export_symbols=yes
9435 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'
9436 # Note: this linker hardcodes the directories in LIBPATH if there
9437 # are no directories specified by -L.
9438 hardcode_minus_L=yes
9439 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9440 # Neither direct hardcoding nor static linking is supported with a
9441 # broken collect2.
9442 hardcode_direct=unsupported
9443 fi
9444 ;;
9445
9446 aix[4-9]*)
9447 if test "$host_cpu" = ia64; then
9448 # On IA64, the linker does run time linking by default, so we don't
9449 # have to do anything special.
9450 aix_use_runtimelinking=no
9451 exp_sym_flag='-Bexport'
9452 no_entry_flag=""
9453 else
9454 # If we're using GNU nm, then we don't want the "-C" option.
9455 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9456 # Also, AIX nm treats weak defined symbols like other global
9457 # defined symbols, whereas GNU nm marks them as "W".
9458 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9459 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'
9460 else
9461 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'
9462 fi
9463 aix_use_runtimelinking=no
9464
9465 # Test if we are trying to use run time linking or normal
9466 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9467 # need to do runtime linking.
9468 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9469 for ld_flag in $LDFLAGS; do
9470 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9471 aix_use_runtimelinking=yes
9472 break
9473 fi
9474 done
9475 ;;
9476 esac
9477
9478 exp_sym_flag='-bexport'
9479 no_entry_flag='-bnoentry'
9480 fi
9481
9482 # When large executables or shared objects are built, AIX ld can
9483 # have problems creating the table of contents. If linking a library
9484 # or program results in "error TOC overflow" add -mminimal-toc to
9485 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9486 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9487
9488 archive_cmds=''
9489 hardcode_direct=yes
9490 hardcode_direct_absolute=yes
9491 hardcode_libdir_separator=':'
9492 link_all_deplibs=yes
9493 file_list_spec='${wl}-f,'
9494
9495 if test "$GCC" = yes; then
9496 case $host_os in aix4.[012]|aix4.[012].*)
9497 # We only want to do this on AIX 4.2 and lower, the check
9498 # below for broken collect2 doesn't work under 4.3+
9499 collect2name=`${CC} -print-prog-name=collect2`
9500 if test -f "$collect2name" &&
9501 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9502 then
9503 # We have reworked collect2
9504 :
9505 else
9506 # We have old collect2
9507 hardcode_direct=unsupported
9508 # It fails to find uninstalled libraries when the uninstalled
9509 # path is not listed in the libpath. Setting hardcode_minus_L
9510 # to unsupported forces relinking
9511 hardcode_minus_L=yes
9512 hardcode_libdir_flag_spec='-L$libdir'
9513 hardcode_libdir_separator=
9514 fi
9515 ;;
9516 esac
9517 shared_flag='-shared'
9518 if test "$aix_use_runtimelinking" = yes; then
9519 shared_flag="$shared_flag "'${wl}-G'
9520 fi
9521 else
9522 # not using gcc
9523 if test "$host_cpu" = ia64; then
9524 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9525 # chokes on -Wl,-G. The following line is correct:
9526 shared_flag='-G'
9527 else
9528 if test "$aix_use_runtimelinking" = yes; then
9529 shared_flag='${wl}-G'
9530 else
9531 shared_flag='${wl}-bM:SRE'
9532 fi
9533 fi
9534 fi
9535
9536 export_dynamic_flag_spec='${wl}-bexpall'
9537 # It seems that -bexpall does not export symbols beginning with
9538 # underscore (_), so it is better to generate a list of symbols to export.
9539 always_export_symbols=yes
9540 if test "$aix_use_runtimelinking" = yes; then
9541 # Warning - without using the other runtime loading flags (-brtl),
9542 # -berok will link without error, but may produce a broken library.
9543 allow_undefined_flag='-berok'
9544 # Determine the default libpath from the value encoded in an
9545 # empty executable.
9546 if test x$gcc_no_link = xyes; then
9547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9548 fi
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9551
9552 int
9553 main ()
9554 {
9555
9556 ;
9557 return 0;
9558 }
9559 _ACEOF
9560 if ac_fn_c_try_link "$LINENO"; then :
9561
9562 lt_aix_libpath_sed='
9563 /Import File Strings/,/^$/ {
9564 /^0/ {
9565 s/^0 *\(.*\)$/\1/
9566 p
9567 }
9568 }'
9569 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9570 # Check for a 64-bit object if we didn't find anything.
9571 if test -z "$aix_libpath"; then
9572 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9573 fi
9574 fi
9575 rm -f core conftest.err conftest.$ac_objext \
9576 conftest$ac_exeext conftest.$ac_ext
9577 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9578
9579 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9580 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"
9581 else
9582 if test "$host_cpu" = ia64; then
9583 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9584 allow_undefined_flag="-z nodefs"
9585 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"
9586 else
9587 # Determine the default libpath from the value encoded in an
9588 # empty executable.
9589 if test x$gcc_no_link = xyes; then
9590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9591 fi
9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h. */
9594
9595 int
9596 main ()
9597 {
9598
9599 ;
9600 return 0;
9601 }
9602 _ACEOF
9603 if ac_fn_c_try_link "$LINENO"; then :
9604
9605 lt_aix_libpath_sed='
9606 /Import File Strings/,/^$/ {
9607 /^0/ {
9608 s/^0 *\(.*\)$/\1/
9609 p
9610 }
9611 }'
9612 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9613 # Check for a 64-bit object if we didn't find anything.
9614 if test -z "$aix_libpath"; then
9615 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9616 fi
9617 fi
9618 rm -f core conftest.err conftest.$ac_objext \
9619 conftest$ac_exeext conftest.$ac_ext
9620 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9621
9622 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9623 # Warning - without using the other run time loading flags,
9624 # -berok will link without error, but may produce a broken library.
9625 no_undefined_flag=' ${wl}-bernotok'
9626 allow_undefined_flag=' ${wl}-berok'
9627 if test "$with_gnu_ld" = yes; then
9628 # We only use this code for GNU lds that support --whole-archive.
9629 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9630 else
9631 # Exported symbols can be pulled into shared objects from archives
9632 whole_archive_flag_spec='$convenience'
9633 fi
9634 archive_cmds_need_lc=yes
9635 # This is similar to how AIX traditionally builds its shared libraries.
9636 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'
9637 fi
9638 fi
9639 ;;
9640
9641 amigaos*)
9642 case $host_cpu in
9643 powerpc)
9644 # see comment about AmigaOS4 .so support
9645 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9646 archive_expsym_cmds=''
9647 ;;
9648 m68k)
9649 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)'
9650 hardcode_libdir_flag_spec='-L$libdir'
9651 hardcode_minus_L=yes
9652 ;;
9653 esac
9654 ;;
9655
9656 bsdi[45]*)
9657 export_dynamic_flag_spec=-rdynamic
9658 ;;
9659
9660 cygwin* | mingw* | pw32* | cegcc*)
9661 # When not using gcc, we currently assume that we are using
9662 # Microsoft Visual C++.
9663 # hardcode_libdir_flag_spec is actually meaningless, as there is
9664 # no search path for DLLs.
9665 hardcode_libdir_flag_spec=' '
9666 allow_undefined_flag=unsupported
9667 # Tell ltmain to make .lib files, not .a files.
9668 libext=lib
9669 # Tell ltmain to make .dll files, not .so files.
9670 shrext_cmds=".dll"
9671 # FIXME: Setting linknames here is a bad hack.
9672 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9673 # The linker will automatically build a .lib file if we build a DLL.
9674 old_archive_from_new_cmds='true'
9675 # FIXME: Should let the user specify the lib program.
9676 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9677 fix_srcfile_path='`cygpath -w "$srcfile"`'
9678 enable_shared_with_static_runtimes=yes
9679 ;;
9680
9681 darwin* | rhapsody*)
9682
9683
9684 archive_cmds_need_lc=no
9685 hardcode_direct=no
9686 hardcode_automatic=yes
9687 hardcode_shlibpath_var=unsupported
9688 if test "$lt_cv_ld_force_load" = "yes"; then
9689 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\"`'
9690 else
9691 whole_archive_flag_spec=''
9692 fi
9693 link_all_deplibs=yes
9694 allow_undefined_flag="$_lt_dar_allow_undefined"
9695 case $cc_basename in
9696 ifort*) _lt_dar_can_shared=yes ;;
9697 *) _lt_dar_can_shared=$GCC ;;
9698 esac
9699 if test "$_lt_dar_can_shared" = "yes"; then
9700 output_verbose_link_cmd=func_echo_all
9701 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9702 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9703 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}"
9704 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}"
9705
9706 else
9707 ld_shlibs=no
9708 fi
9709
9710 ;;
9711
9712 dgux*)
9713 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9714 hardcode_libdir_flag_spec='-L$libdir'
9715 hardcode_shlibpath_var=no
9716 ;;
9717
9718 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9719 # support. Future versions do this automatically, but an explicit c++rt0.o
9720 # does not break anything, and helps significantly (at the cost of a little
9721 # extra space).
9722 freebsd2.2*)
9723 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9724 hardcode_libdir_flag_spec='-R$libdir'
9725 hardcode_direct=yes
9726 hardcode_shlibpath_var=no
9727 ;;
9728
9729 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9730 freebsd2.*)
9731 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9732 hardcode_direct=yes
9733 hardcode_minus_L=yes
9734 hardcode_shlibpath_var=no
9735 ;;
9736
9737 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9738 freebsd* | dragonfly*)
9739 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9740 hardcode_libdir_flag_spec='-R$libdir'
9741 hardcode_direct=yes
9742 hardcode_shlibpath_var=no
9743 ;;
9744
9745 hpux9*)
9746 if test "$GCC" = yes; then
9747 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'
9748 else
9749 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'
9750 fi
9751 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9752 hardcode_libdir_separator=:
9753 hardcode_direct=yes
9754
9755 # hardcode_minus_L: Not really in the search PATH,
9756 # but as the default location of the library.
9757 hardcode_minus_L=yes
9758 export_dynamic_flag_spec='${wl}-E'
9759 ;;
9760
9761 hpux10*)
9762 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9763 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9764 else
9765 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9766 fi
9767 if test "$with_gnu_ld" = no; then
9768 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9769 hardcode_libdir_flag_spec_ld='+b $libdir'
9770 hardcode_libdir_separator=:
9771 hardcode_direct=yes
9772 hardcode_direct_absolute=yes
9773 export_dynamic_flag_spec='${wl}-E'
9774 # hardcode_minus_L: Not really in the search PATH,
9775 # but as the default location of the library.
9776 hardcode_minus_L=yes
9777 fi
9778 ;;
9779
9780 hpux11*)
9781 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9782 case $host_cpu in
9783 hppa*64*)
9784 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9785 ;;
9786 ia64*)
9787 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9788 ;;
9789 *)
9790 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9791 ;;
9792 esac
9793 else
9794 case $host_cpu in
9795 hppa*64*)
9796 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9797 ;;
9798 ia64*)
9799 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9800 ;;
9801 *)
9802
9803 # Older versions of the 11.00 compiler do not understand -b yet
9804 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9806 $as_echo_n "checking if $CC understands -b... " >&6; }
9807 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9808 $as_echo_n "(cached) " >&6
9809 else
9810 lt_cv_prog_compiler__b=no
9811 save_LDFLAGS="$LDFLAGS"
9812 LDFLAGS="$LDFLAGS -b"
9813 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9814 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9815 # The linker can only warn and ignore the option if not recognized
9816 # So say no if there are warnings
9817 if test -s conftest.err; then
9818 # Append any errors to the config.log.
9819 cat conftest.err 1>&5
9820 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9821 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9822 if diff conftest.exp conftest.er2 >/dev/null; then
9823 lt_cv_prog_compiler__b=yes
9824 fi
9825 else
9826 lt_cv_prog_compiler__b=yes
9827 fi
9828 fi
9829 $RM -r conftest*
9830 LDFLAGS="$save_LDFLAGS"
9831
9832 fi
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9834 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9835
9836 if test x"$lt_cv_prog_compiler__b" = xyes; then
9837 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9838 else
9839 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9840 fi
9841
9842 ;;
9843 esac
9844 fi
9845 if test "$with_gnu_ld" = no; then
9846 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9847 hardcode_libdir_separator=:
9848
9849 case $host_cpu in
9850 hppa*64*|ia64*)
9851 hardcode_direct=no
9852 hardcode_shlibpath_var=no
9853 ;;
9854 *)
9855 hardcode_direct=yes
9856 hardcode_direct_absolute=yes
9857 export_dynamic_flag_spec='${wl}-E'
9858
9859 # hardcode_minus_L: Not really in the search PATH,
9860 # but as the default location of the library.
9861 hardcode_minus_L=yes
9862 ;;
9863 esac
9864 fi
9865 ;;
9866
9867 irix5* | irix6* | nonstopux*)
9868 if test "$GCC" = yes; then
9869 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'
9870 # Try to use the -exported_symbol ld option, if it does not
9871 # work, assume that -exports_file does not work either and
9872 # implicitly export all symbols.
9873 save_LDFLAGS="$LDFLAGS"
9874 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9875 if test x$gcc_no_link = xyes; then
9876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9877 fi
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9880 int foo(void) {}
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883 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'
9884
9885 fi
9886 rm -f core conftest.err conftest.$ac_objext \
9887 conftest$ac_exeext conftest.$ac_ext
9888 LDFLAGS="$save_LDFLAGS"
9889 else
9890 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'
9891 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'
9892 fi
9893 archive_cmds_need_lc='no'
9894 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9895 hardcode_libdir_separator=:
9896 inherit_rpath=yes
9897 link_all_deplibs=yes
9898 ;;
9899
9900 netbsd*)
9901 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9902 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9903 else
9904 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9905 fi
9906 hardcode_libdir_flag_spec='-R$libdir'
9907 hardcode_direct=yes
9908 hardcode_shlibpath_var=no
9909 ;;
9910
9911 newsos6)
9912 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9913 hardcode_direct=yes
9914 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9915 hardcode_libdir_separator=:
9916 hardcode_shlibpath_var=no
9917 ;;
9918
9919 *nto* | *qnx*)
9920 ;;
9921
9922 openbsd*)
9923 if test -f /usr/libexec/ld.so; then
9924 hardcode_direct=yes
9925 hardcode_shlibpath_var=no
9926 hardcode_direct_absolute=yes
9927 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9928 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9929 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9930 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9931 export_dynamic_flag_spec='${wl}-E'
9932 else
9933 case $host_os in
9934 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9935 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9936 hardcode_libdir_flag_spec='-R$libdir'
9937 ;;
9938 *)
9939 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9940 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9941 ;;
9942 esac
9943 fi
9944 else
9945 ld_shlibs=no
9946 fi
9947 ;;
9948
9949 os2*)
9950 hardcode_libdir_flag_spec='-L$libdir'
9951 hardcode_minus_L=yes
9952 allow_undefined_flag=unsupported
9953 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'
9954 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9955 ;;
9956
9957 osf3*)
9958 if test "$GCC" = yes; then
9959 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9960 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'
9961 else
9962 allow_undefined_flag=' -expect_unresolved \*'
9963 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'
9964 fi
9965 archive_cmds_need_lc='no'
9966 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9967 hardcode_libdir_separator=:
9968 ;;
9969
9970 osf4* | osf5*) # as osf3* with the addition of -msym flag
9971 if test "$GCC" = yes; then
9972 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9973 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'
9974 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9975 else
9976 allow_undefined_flag=' -expect_unresolved \*'
9977 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'
9978 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~
9979 $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'
9980
9981 # Both c and cxx compiler support -rpath directly
9982 hardcode_libdir_flag_spec='-rpath $libdir'
9983 fi
9984 archive_cmds_need_lc='no'
9985 hardcode_libdir_separator=:
9986 ;;
9987
9988 solaris*)
9989 no_undefined_flag=' -z defs'
9990 if test "$GCC" = yes; then
9991 wlarc='${wl}'
9992 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9993 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9994 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9995 else
9996 case `$CC -V 2>&1` in
9997 *"Compilers 5.0"*)
9998 wlarc=''
9999 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10000 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10001 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10002 ;;
10003 *)
10004 wlarc='${wl}'
10005 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10008 ;;
10009 esac
10010 fi
10011 hardcode_libdir_flag_spec='-R$libdir'
10012 hardcode_shlibpath_var=no
10013 case $host_os in
10014 solaris2.[0-5] | solaris2.[0-5].*) ;;
10015 *)
10016 # The compiler driver will combine and reorder linker options,
10017 # but understands `-z linker_flag'. GCC discards it without `$wl',
10018 # but is careful enough not to reorder.
10019 # Supported since Solaris 2.6 (maybe 2.5.1?)
10020 if test "$GCC" = yes; then
10021 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10022 else
10023 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10024 fi
10025 ;;
10026 esac
10027 link_all_deplibs=yes
10028 ;;
10029
10030 sunos4*)
10031 if test "x$host_vendor" = xsequent; then
10032 # Use $CC to link under sequent, because it throws in some extra .o
10033 # files that make .init and .fini sections work.
10034 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10035 else
10036 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10037 fi
10038 hardcode_libdir_flag_spec='-L$libdir'
10039 hardcode_direct=yes
10040 hardcode_minus_L=yes
10041 hardcode_shlibpath_var=no
10042 ;;
10043
10044 sysv4)
10045 case $host_vendor in
10046 sni)
10047 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048 hardcode_direct=yes # is this really true???
10049 ;;
10050 siemens)
10051 ## LD is ld it makes a PLAMLIB
10052 ## CC just makes a GrossModule.
10053 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10054 reload_cmds='$CC -r -o $output$reload_objs'
10055 hardcode_direct=no
10056 ;;
10057 motorola)
10058 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10060 ;;
10061 esac
10062 runpath_var='LD_RUN_PATH'
10063 hardcode_shlibpath_var=no
10064 ;;
10065
10066 sysv4.3*)
10067 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10068 hardcode_shlibpath_var=no
10069 export_dynamic_flag_spec='-Bexport'
10070 ;;
10071
10072 sysv4*MP*)
10073 if test -d /usr/nec; then
10074 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10075 hardcode_shlibpath_var=no
10076 runpath_var=LD_RUN_PATH
10077 hardcode_runpath_var=yes
10078 ld_shlibs=yes
10079 fi
10080 ;;
10081
10082 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10083 no_undefined_flag='${wl}-z,text'
10084 archive_cmds_need_lc=no
10085 hardcode_shlibpath_var=no
10086 runpath_var='LD_RUN_PATH'
10087
10088 if test "$GCC" = yes; then
10089 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 else
10092 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094 fi
10095 ;;
10096
10097 sysv5* | sco3.2v5* | sco5v6*)
10098 # Note: We can NOT use -z defs as we might desire, because we do not
10099 # link with -lc, and that would cause any symbols used from libc to
10100 # always be unresolved, which means just about no library would
10101 # ever link correctly. If we're not using GNU ld we use -z text
10102 # though, which does catch some bad symbols but isn't as heavy-handed
10103 # as -z defs.
10104 no_undefined_flag='${wl}-z,text'
10105 allow_undefined_flag='${wl}-z,nodefs'
10106 archive_cmds_need_lc=no
10107 hardcode_shlibpath_var=no
10108 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10109 hardcode_libdir_separator=':'
10110 link_all_deplibs=yes
10111 export_dynamic_flag_spec='${wl}-Bexport'
10112 runpath_var='LD_RUN_PATH'
10113
10114 if test "$GCC" = yes; then
10115 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 else
10118 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10120 fi
10121 ;;
10122
10123 uts4*)
10124 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10125 hardcode_libdir_flag_spec='-L$libdir'
10126 hardcode_shlibpath_var=no
10127 ;;
10128
10129 *)
10130 ld_shlibs=no
10131 ;;
10132 esac
10133
10134 if test x$host_vendor = xsni; then
10135 case $host in
10136 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10137 export_dynamic_flag_spec='${wl}-Blargedynsym'
10138 ;;
10139 esac
10140 fi
10141 fi
10142
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10144 $as_echo "$ld_shlibs" >&6; }
10145 test "$ld_shlibs" = no && can_build_shared=no
10146
10147 with_gnu_ld=$with_gnu_ld
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163 #
10164 # Do we need to explicitly link libc?
10165 #
10166 case "x$archive_cmds_need_lc" in
10167 x|xyes)
10168 # Assume -lc should be added
10169 archive_cmds_need_lc=yes
10170
10171 if test "$enable_shared" = yes && test "$GCC" = yes; then
10172 case $archive_cmds in
10173 *'~'*)
10174 # FIXME: we may have to deal with multi-command sequences.
10175 ;;
10176 '$CC '*)
10177 # Test whether the compiler implicitly links with -lc since on some
10178 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10179 # to ld, don't add -lc before -lgcc.
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10181 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10182 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10183 $as_echo_n "(cached) " >&6
10184 else
10185 $RM conftest*
10186 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10187
10188 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10189 (eval $ac_compile) 2>&5
10190 ac_status=$?
10191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10192 test $ac_status = 0; } 2>conftest.err; then
10193 soname=conftest
10194 lib=conftest
10195 libobjs=conftest.$ac_objext
10196 deplibs=
10197 wl=$lt_prog_compiler_wl
10198 pic_flag=$lt_prog_compiler_pic
10199 compiler_flags=-v
10200 linker_flags=-v
10201 verstring=
10202 output_objdir=.
10203 libname=conftest
10204 lt_save_allow_undefined_flag=$allow_undefined_flag
10205 allow_undefined_flag=
10206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10207 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10208 ac_status=$?
10209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10210 test $ac_status = 0; }
10211 then
10212 lt_cv_archive_cmds_need_lc=no
10213 else
10214 lt_cv_archive_cmds_need_lc=yes
10215 fi
10216 allow_undefined_flag=$lt_save_allow_undefined_flag
10217 else
10218 cat conftest.err 1>&5
10219 fi
10220 $RM conftest*
10221
10222 fi
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10224 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10225 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10226 ;;
10227 esac
10228 fi
10229 ;;
10230 esac
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
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10389 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10390
10391 if test "$GCC" = yes; then
10392 case $host_os in
10393 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10394 *) lt_awk_arg="/^libraries:/" ;;
10395 esac
10396 case $host_os in
10397 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10398 *) lt_sed_strip_eq="s,=/,/,g" ;;
10399 esac
10400 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10401 case $lt_search_path_spec in
10402 *\;*)
10403 # if the path contains ";" then we assume it to be the separator
10404 # otherwise default to the standard path separator (i.e. ":") - it is
10405 # assumed that no part of a normal pathname contains ";" but that should
10406 # okay in the real world where ";" in dirpaths is itself problematic.
10407 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10408 ;;
10409 *)
10410 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10411 ;;
10412 esac
10413 # Ok, now we have the path, separated by spaces, we can step through it
10414 # and add multilib dir if necessary.
10415 lt_tmp_lt_search_path_spec=
10416 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10417 for lt_sys_path in $lt_search_path_spec; do
10418 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10419 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10420 else
10421 test -d "$lt_sys_path" && \
10422 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10423 fi
10424 done
10425 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10426 BEGIN {RS=" "; FS="/|\n";} {
10427 lt_foo="";
10428 lt_count=0;
10429 for (lt_i = NF; lt_i > 0; lt_i--) {
10430 if ($lt_i != "" && $lt_i != ".") {
10431 if ($lt_i == "..") {
10432 lt_count++;
10433 } else {
10434 if (lt_count == 0) {
10435 lt_foo="/" $lt_i lt_foo;
10436 } else {
10437 lt_count--;
10438 }
10439 }
10440 }
10441 }
10442 if (lt_foo != "") { lt_freq[lt_foo]++; }
10443 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10444 }'`
10445 # AWK program above erroneously prepends '/' to C:/dos/paths
10446 # for these hosts.
10447 case $host_os in
10448 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10449 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10450 esac
10451 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10452 else
10453 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10454 fi
10455 library_names_spec=
10456 libname_spec='lib$name'
10457 soname_spec=
10458 shrext_cmds=".so"
10459 postinstall_cmds=
10460 postuninstall_cmds=
10461 finish_cmds=
10462 finish_eval=
10463 shlibpath_var=
10464 shlibpath_overrides_runpath=unknown
10465 version_type=none
10466 dynamic_linker="$host_os ld.so"
10467 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10468 need_lib_prefix=unknown
10469 hardcode_into_libs=no
10470
10471 # when you set need_version to no, make sure it does not cause -set_version
10472 # flags to be left without arguments
10473 need_version=unknown
10474
10475 case $host_os in
10476 aix3*)
10477 version_type=linux
10478 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10479 shlibpath_var=LIBPATH
10480
10481 # AIX 3 has no versioning support, so we append a major version to the name.
10482 soname_spec='${libname}${release}${shared_ext}$major'
10483 ;;
10484
10485 aix[4-9]*)
10486 version_type=linux
10487 need_lib_prefix=no
10488 need_version=no
10489 hardcode_into_libs=yes
10490 if test "$host_cpu" = ia64; then
10491 # AIX 5 supports IA64
10492 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10493 shlibpath_var=LD_LIBRARY_PATH
10494 else
10495 # With GCC up to 2.95.x, collect2 would create an import file
10496 # for dependence libraries. The import file would start with
10497 # the line `#! .'. This would cause the generated library to
10498 # depend on `.', always an invalid library. This was fixed in
10499 # development snapshots of GCC prior to 3.0.
10500 case $host_os in
10501 aix4 | aix4.[01] | aix4.[01].*)
10502 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10503 echo ' yes '
10504 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10505 :
10506 else
10507 can_build_shared=no
10508 fi
10509 ;;
10510 esac
10511 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10512 # soname into executable. Probably we can add versioning support to
10513 # collect2, so additional links can be useful in future.
10514 if test "$aix_use_runtimelinking" = yes; then
10515 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10516 # instead of lib<name>.a to let people know that these are not
10517 # typical AIX shared libraries.
10518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519 else
10520 # We preserve .a as extension for shared libraries through AIX4.2
10521 # and later when we are not doing run time linking.
10522 library_names_spec='${libname}${release}.a $libname.a'
10523 soname_spec='${libname}${release}${shared_ext}$major'
10524 fi
10525 shlibpath_var=LIBPATH
10526 fi
10527 ;;
10528
10529 amigaos*)
10530 case $host_cpu in
10531 powerpc)
10532 # Since July 2007 AmigaOS4 officially supports .so libraries.
10533 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10535 ;;
10536 m68k)
10537 library_names_spec='$libname.ixlibrary $libname.a'
10538 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10539 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'
10540 ;;
10541 esac
10542 ;;
10543
10544 beos*)
10545 library_names_spec='${libname}${shared_ext}'
10546 dynamic_linker="$host_os ld.so"
10547 shlibpath_var=LIBRARY_PATH
10548 ;;
10549
10550 bsdi[45]*)
10551 version_type=linux
10552 need_version=no
10553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554 soname_spec='${libname}${release}${shared_ext}$major'
10555 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10556 shlibpath_var=LD_LIBRARY_PATH
10557 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10558 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10559 # the default ld.so.conf also contains /usr/contrib/lib and
10560 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10561 # libtool to hard-code these into programs
10562 ;;
10563
10564 cygwin* | mingw* | pw32* | cegcc*)
10565 version_type=windows
10566 shrext_cmds=".dll"
10567 need_version=no
10568 need_lib_prefix=no
10569
10570 case $GCC,$host_os in
10571 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10572 library_names_spec='$libname.dll.a'
10573 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10574 postinstall_cmds='base_file=`basename \${file}`~
10575 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10576 dldir=$destdir/`dirname \$dlpath`~
10577 test -d \$dldir || mkdir -p \$dldir~
10578 $install_prog $dir/$dlname \$dldir/$dlname~
10579 chmod a+x \$dldir/$dlname~
10580 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10581 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10582 fi'
10583 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10584 dlpath=$dir/\$dldll~
10585 $RM \$dlpath'
10586 shlibpath_overrides_runpath=yes
10587
10588 case $host_os in
10589 cygwin*)
10590 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10591 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10592
10593 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10594 ;;
10595 mingw* | cegcc*)
10596 # MinGW DLLs use traditional 'lib' prefix
10597 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10598 ;;
10599 pw32*)
10600 # pw32 DLLs use 'pw' prefix rather than 'lib'
10601 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10602 ;;
10603 esac
10604 ;;
10605
10606 *)
10607 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10608 ;;
10609 esac
10610 dynamic_linker='Win32 ld.exe'
10611 # FIXME: first we should search . and the directory the executable is in
10612 shlibpath_var=PATH
10613 ;;
10614
10615 darwin* | rhapsody*)
10616 dynamic_linker="$host_os dyld"
10617 version_type=darwin
10618 need_lib_prefix=no
10619 need_version=no
10620 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10621 soname_spec='${libname}${release}${major}$shared_ext'
10622 shlibpath_overrides_runpath=yes
10623 shlibpath_var=DYLD_LIBRARY_PATH
10624 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10625
10626 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10627 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10628 ;;
10629
10630 dgux*)
10631 version_type=linux
10632 need_lib_prefix=no
10633 need_version=no
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10635 soname_spec='${libname}${release}${shared_ext}$major'
10636 shlibpath_var=LD_LIBRARY_PATH
10637 ;;
10638
10639 freebsd* | dragonfly*)
10640 # DragonFly does not have aout. When/if they implement a new
10641 # versioning mechanism, adjust this.
10642 if test -x /usr/bin/objformat; then
10643 objformat=`/usr/bin/objformat`
10644 else
10645 case $host_os in
10646 freebsd[23].*) objformat=aout ;;
10647 *) objformat=elf ;;
10648 esac
10649 fi
10650 version_type=freebsd-$objformat
10651 case $version_type in
10652 freebsd-elf*)
10653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10654 need_version=no
10655 need_lib_prefix=no
10656 ;;
10657 freebsd-*)
10658 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10659 need_version=yes
10660 ;;
10661 esac
10662 shlibpath_var=LD_LIBRARY_PATH
10663 case $host_os in
10664 freebsd2.*)
10665 shlibpath_overrides_runpath=yes
10666 ;;
10667 freebsd3.[01]* | freebsdelf3.[01]*)
10668 shlibpath_overrides_runpath=yes
10669 hardcode_into_libs=yes
10670 ;;
10671 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10672 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10673 shlibpath_overrides_runpath=no
10674 hardcode_into_libs=yes
10675 ;;
10676 *) # from 4.6 on, and DragonFly
10677 shlibpath_overrides_runpath=yes
10678 hardcode_into_libs=yes
10679 ;;
10680 esac
10681 ;;
10682
10683 gnu*)
10684 version_type=linux
10685 need_lib_prefix=no
10686 need_version=no
10687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10688 soname_spec='${libname}${release}${shared_ext}$major'
10689 shlibpath_var=LD_LIBRARY_PATH
10690 hardcode_into_libs=yes
10691 ;;
10692
10693 haiku*)
10694 version_type=linux
10695 need_lib_prefix=no
10696 need_version=no
10697 dynamic_linker="$host_os runtime_loader"
10698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10699 soname_spec='${libname}${release}${shared_ext}$major'
10700 shlibpath_var=LIBRARY_PATH
10701 shlibpath_overrides_runpath=yes
10702 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10703 hardcode_into_libs=yes
10704 ;;
10705
10706 hpux9* | hpux10* | hpux11*)
10707 # Give a soname corresponding to the major version so that dld.sl refuses to
10708 # link against other versions.
10709 version_type=sunos
10710 need_lib_prefix=no
10711 need_version=no
10712 case $host_cpu in
10713 ia64*)
10714 shrext_cmds='.so'
10715 hardcode_into_libs=yes
10716 dynamic_linker="$host_os dld.so"
10717 shlibpath_var=LD_LIBRARY_PATH
10718 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720 soname_spec='${libname}${release}${shared_ext}$major'
10721 if test "X$HPUX_IA64_MODE" = X32; then
10722 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10723 else
10724 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10725 fi
10726 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10727 ;;
10728 hppa*64*)
10729 shrext_cmds='.sl'
10730 hardcode_into_libs=yes
10731 dynamic_linker="$host_os dld.sl"
10732 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10733 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10735 soname_spec='${libname}${release}${shared_ext}$major'
10736 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10737 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10738 ;;
10739 *)
10740 shrext_cmds='.sl'
10741 dynamic_linker="$host_os dld.sl"
10742 shlibpath_var=SHLIB_PATH
10743 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 soname_spec='${libname}${release}${shared_ext}$major'
10746 ;;
10747 esac
10748 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10749 postinstall_cmds='chmod 555 $lib'
10750 # or fails outright, so override atomically:
10751 install_override_mode=555
10752 ;;
10753
10754 interix[3-9]*)
10755 version_type=linux
10756 need_lib_prefix=no
10757 need_version=no
10758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10759 soname_spec='${libname}${release}${shared_ext}$major'
10760 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10761 shlibpath_var=LD_LIBRARY_PATH
10762 shlibpath_overrides_runpath=no
10763 hardcode_into_libs=yes
10764 ;;
10765
10766 irix5* | irix6* | nonstopux*)
10767 case $host_os in
10768 nonstopux*) version_type=nonstopux ;;
10769 *)
10770 if test "$lt_cv_prog_gnu_ld" = yes; then
10771 version_type=linux
10772 else
10773 version_type=irix
10774 fi ;;
10775 esac
10776 need_lib_prefix=no
10777 need_version=no
10778 soname_spec='${libname}${release}${shared_ext}$major'
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10780 case $host_os in
10781 irix5* | nonstopux*)
10782 libsuff= shlibsuff=
10783 ;;
10784 *)
10785 case $LD in # libtool.m4 will add one of these switches to LD
10786 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10787 libsuff= shlibsuff= libmagic=32-bit;;
10788 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10789 libsuff=32 shlibsuff=N32 libmagic=N32;;
10790 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10791 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10792 *) libsuff= shlibsuff= libmagic=never-match;;
10793 esac
10794 ;;
10795 esac
10796 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10797 shlibpath_overrides_runpath=no
10798 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10799 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10800 hardcode_into_libs=yes
10801 ;;
10802
10803 # No shared lib support for Linux oldld, aout, or coff.
10804 linux*oldld* | linux*aout* | linux*coff*)
10805 dynamic_linker=no
10806 ;;
10807
10808 # This must be Linux ELF.
10809 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10810 version_type=linux
10811 need_lib_prefix=no
10812 need_version=no
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 soname_spec='${libname}${release}${shared_ext}$major'
10815 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10816 shlibpath_var=LD_LIBRARY_PATH
10817 shlibpath_overrides_runpath=no
10818
10819 # Some binutils ld are patched to set DT_RUNPATH
10820 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10821 $as_echo_n "(cached) " >&6
10822 else
10823 lt_cv_shlibpath_overrides_runpath=no
10824 save_LDFLAGS=$LDFLAGS
10825 save_libdir=$libdir
10826 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10827 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10828 if test x$gcc_no_link = xyes; then
10829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10830 fi
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10833
10834 int
10835 main ()
10836 {
10837
10838 ;
10839 return 0;
10840 }
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"; then :
10843 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10844 lt_cv_shlibpath_overrides_runpath=yes
10845 fi
10846 fi
10847 rm -f core conftest.err conftest.$ac_objext \
10848 conftest$ac_exeext conftest.$ac_ext
10849 LDFLAGS=$save_LDFLAGS
10850 libdir=$save_libdir
10851
10852 fi
10853
10854 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10855
10856 # This implies no fast_install, which is unacceptable.
10857 # Some rework will be needed to allow for fast_install
10858 # before this can be enabled.
10859 hardcode_into_libs=yes
10860
10861 # Append ld.so.conf contents to the search path
10862 if test -f /etc/ld.so.conf; then
10863 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' ' '`
10864 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10865 fi
10866
10867 # We used to test for /lib/ld.so.1 and disable shared libraries on
10868 # powerpc, because MkLinux only supported shared libraries with the
10869 # GNU dynamic linker. Since this was broken with cross compilers,
10870 # most powerpc-linux boxes support dynamic linking these days and
10871 # people can always --disable-shared, the test was removed, and we
10872 # assume the GNU/Linux dynamic linker is in use.
10873 dynamic_linker='GNU/Linux ld.so'
10874 ;;
10875
10876 netbsd*)
10877 version_type=sunos
10878 need_lib_prefix=no
10879 need_version=no
10880 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10882 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10883 dynamic_linker='NetBSD (a.out) ld.so'
10884 else
10885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10886 soname_spec='${libname}${release}${shared_ext}$major'
10887 dynamic_linker='NetBSD ld.elf_so'
10888 fi
10889 shlibpath_var=LD_LIBRARY_PATH
10890 shlibpath_overrides_runpath=yes
10891 hardcode_into_libs=yes
10892 ;;
10893
10894 newsos6)
10895 version_type=linux
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=yes
10899 ;;
10900
10901 *nto* | *qnx*)
10902 version_type=qnx
10903 need_lib_prefix=no
10904 need_version=no
10905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906 soname_spec='${libname}${release}${shared_ext}$major'
10907 shlibpath_var=LD_LIBRARY_PATH
10908 shlibpath_overrides_runpath=no
10909 hardcode_into_libs=yes
10910 dynamic_linker='ldqnx.so'
10911 ;;
10912
10913 openbsd*)
10914 version_type=sunos
10915 sys_lib_dlsearch_path_spec="/usr/lib"
10916 need_lib_prefix=no
10917 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10918 case $host_os in
10919 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10920 *) need_version=no ;;
10921 esac
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10923 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10924 shlibpath_var=LD_LIBRARY_PATH
10925 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10926 case $host_os in
10927 openbsd2.[89] | openbsd2.[89].*)
10928 shlibpath_overrides_runpath=no
10929 ;;
10930 *)
10931 shlibpath_overrides_runpath=yes
10932 ;;
10933 esac
10934 else
10935 shlibpath_overrides_runpath=yes
10936 fi
10937 ;;
10938
10939 os2*)
10940 libname_spec='$name'
10941 shrext_cmds=".dll"
10942 need_lib_prefix=no
10943 library_names_spec='$libname${shared_ext} $libname.a'
10944 dynamic_linker='OS/2 ld.exe'
10945 shlibpath_var=LIBPATH
10946 ;;
10947
10948 osf3* | osf4* | osf5*)
10949 version_type=osf
10950 need_lib_prefix=no
10951 need_version=no
10952 soname_spec='${libname}${release}${shared_ext}$major'
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10954 shlibpath_var=LD_LIBRARY_PATH
10955 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10956 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10957 ;;
10958
10959 rdos*)
10960 dynamic_linker=no
10961 ;;
10962
10963 solaris*)
10964 version_type=linux
10965 need_lib_prefix=no
10966 need_version=no
10967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10968 soname_spec='${libname}${release}${shared_ext}$major'
10969 shlibpath_var=LD_LIBRARY_PATH
10970 shlibpath_overrides_runpath=yes
10971 hardcode_into_libs=yes
10972 # ldd complains unless libraries are executable
10973 postinstall_cmds='chmod +x $lib'
10974 ;;
10975
10976 sunos4*)
10977 version_type=sunos
10978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10979 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath=yes
10982 if test "$with_gnu_ld" = yes; then
10983 need_lib_prefix=no
10984 fi
10985 need_version=yes
10986 ;;
10987
10988 sysv4 | sysv4.3*)
10989 version_type=linux
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 soname_spec='${libname}${release}${shared_ext}$major'
10992 shlibpath_var=LD_LIBRARY_PATH
10993 case $host_vendor in
10994 sni)
10995 shlibpath_overrides_runpath=no
10996 need_lib_prefix=no
10997 runpath_var=LD_RUN_PATH
10998 ;;
10999 siemens)
11000 need_lib_prefix=no
11001 ;;
11002 motorola)
11003 need_lib_prefix=no
11004 need_version=no
11005 shlibpath_overrides_runpath=no
11006 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11007 ;;
11008 esac
11009 ;;
11010
11011 sysv4*MP*)
11012 if test -d /usr/nec ;then
11013 version_type=linux
11014 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11015 soname_spec='$libname${shared_ext}.$major'
11016 shlibpath_var=LD_LIBRARY_PATH
11017 fi
11018 ;;
11019
11020 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11021 version_type=freebsd-elf
11022 need_lib_prefix=no
11023 need_version=no
11024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11025 soname_spec='${libname}${release}${shared_ext}$major'
11026 shlibpath_var=LD_LIBRARY_PATH
11027 shlibpath_overrides_runpath=yes
11028 hardcode_into_libs=yes
11029 if test "$with_gnu_ld" = yes; then
11030 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11031 else
11032 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11033 case $host_os in
11034 sco3.2v5*)
11035 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11036 ;;
11037 esac
11038 fi
11039 sys_lib_dlsearch_path_spec='/usr/lib'
11040 ;;
11041
11042 tpf*)
11043 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11044 version_type=linux
11045 need_lib_prefix=no
11046 need_version=no
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 shlibpath_overrides_runpath=no
11050 hardcode_into_libs=yes
11051 ;;
11052
11053 uts4*)
11054 version_type=linux
11055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056 soname_spec='${libname}${release}${shared_ext}$major'
11057 shlibpath_var=LD_LIBRARY_PATH
11058 ;;
11059
11060 *)
11061 dynamic_linker=no
11062 ;;
11063 esac
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11065 $as_echo "$dynamic_linker" >&6; }
11066 test "$dynamic_linker" = no && can_build_shared=no
11067
11068 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11069 if test "$GCC" = yes; then
11070 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11071 fi
11072
11073 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11074 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11075 fi
11076 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11077 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11078 fi
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
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11172 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11173 hardcode_action=
11174 if test -n "$hardcode_libdir_flag_spec" ||
11175 test -n "$runpath_var" ||
11176 test "X$hardcode_automatic" = "Xyes" ; then
11177
11178 # We can hardcode non-existent directories.
11179 if test "$hardcode_direct" != no &&
11180 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11181 # have to relink, otherwise we might link with an installed library
11182 # when we should be linking with a yet-to-be-installed one
11183 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11184 test "$hardcode_minus_L" != no; then
11185 # Linking always hardcodes the temporary library directory.
11186 hardcode_action=relink
11187 else
11188 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11189 hardcode_action=immediate
11190 fi
11191 else
11192 # We cannot hardcode anything, or else we can only hardcode existing
11193 # directories.
11194 hardcode_action=unsupported
11195 fi
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11197 $as_echo "$hardcode_action" >&6; }
11198
11199 if test "$hardcode_action" = relink ||
11200 test "$inherit_rpath" = yes; then
11201 # Fast installation is not supported
11202 enable_fast_install=no
11203 elif test "$shlibpath_overrides_runpath" = yes ||
11204 test "$enable_shared" = no; then
11205 # Fast installation is not necessary
11206 enable_fast_install=needless
11207 fi
11208
11209
11210
11211
11212
11213
11214 if test "x$enable_dlopen" != xyes; then
11215 enable_dlopen=unknown
11216 enable_dlopen_self=unknown
11217 enable_dlopen_self_static=unknown
11218 else
11219 lt_cv_dlopen=no
11220 lt_cv_dlopen_libs=
11221
11222 case $host_os in
11223 beos*)
11224 lt_cv_dlopen="load_add_on"
11225 lt_cv_dlopen_libs=
11226 lt_cv_dlopen_self=yes
11227 ;;
11228
11229 mingw* | pw32* | cegcc*)
11230 lt_cv_dlopen="LoadLibrary"
11231 lt_cv_dlopen_libs=
11232 ;;
11233
11234 cygwin*)
11235 lt_cv_dlopen="dlopen"
11236 lt_cv_dlopen_libs=
11237 ;;
11238
11239 darwin*)
11240 # if libdl is installed we need to link against it
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11242 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11243 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11244 $as_echo_n "(cached) " >&6
11245 else
11246 ac_check_lib_save_LIBS=$LIBS
11247 LIBS="-ldl $LIBS"
11248 if test x$gcc_no_link = xyes; then
11249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11250 fi
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11253
11254 /* Override any GCC internal prototype to avoid an error.
11255 Use char because int might match the return type of a GCC
11256 builtin and then its argument prototype would still apply. */
11257 #ifdef __cplusplus
11258 extern "C"
11259 #endif
11260 char dlopen ();
11261 int
11262 main ()
11263 {
11264 return dlopen ();
11265 ;
11266 return 0;
11267 }
11268 _ACEOF
11269 if ac_fn_c_try_link "$LINENO"; then :
11270 ac_cv_lib_dl_dlopen=yes
11271 else
11272 ac_cv_lib_dl_dlopen=no
11273 fi
11274 rm -f core conftest.err conftest.$ac_objext \
11275 conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_lib_save_LIBS
11277 fi
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11279 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11280 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11281 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11282 else
11283
11284 lt_cv_dlopen="dyld"
11285 lt_cv_dlopen_libs=
11286 lt_cv_dlopen_self=yes
11287
11288 fi
11289
11290 ;;
11291
11292 *)
11293 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11294 if test "x$ac_cv_func_shl_load" = x""yes; then :
11295 lt_cv_dlopen="shl_load"
11296 else
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11298 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11299 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11300 $as_echo_n "(cached) " >&6
11301 else
11302 ac_check_lib_save_LIBS=$LIBS
11303 LIBS="-ldld $LIBS"
11304 if test x$gcc_no_link = xyes; then
11305 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11306 fi
11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11309
11310 /* Override any GCC internal prototype to avoid an error.
11311 Use char because int might match the return type of a GCC
11312 builtin and then its argument prototype would still apply. */
11313 #ifdef __cplusplus
11314 extern "C"
11315 #endif
11316 char shl_load ();
11317 int
11318 main ()
11319 {
11320 return shl_load ();
11321 ;
11322 return 0;
11323 }
11324 _ACEOF
11325 if ac_fn_c_try_link "$LINENO"; then :
11326 ac_cv_lib_dld_shl_load=yes
11327 else
11328 ac_cv_lib_dld_shl_load=no
11329 fi
11330 rm -f core conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_lib_save_LIBS
11333 fi
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11335 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11336 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11337 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11338 else
11339 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11340 if test "x$ac_cv_func_dlopen" = x""yes; then :
11341 lt_cv_dlopen="dlopen"
11342 else
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11344 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11345 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11346 $as_echo_n "(cached) " >&6
11347 else
11348 ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-ldl $LIBS"
11350 if test x$gcc_no_link = xyes; then
11351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11352 fi
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11355
11356 /* Override any GCC internal prototype to avoid an error.
11357 Use char because int might match the return type of a GCC
11358 builtin and then its argument prototype would still apply. */
11359 #ifdef __cplusplus
11360 extern "C"
11361 #endif
11362 char dlopen ();
11363 int
11364 main ()
11365 {
11366 return dlopen ();
11367 ;
11368 return 0;
11369 }
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"; then :
11372 ac_cv_lib_dl_dlopen=yes
11373 else
11374 ac_cv_lib_dl_dlopen=no
11375 fi
11376 rm -f core conftest.err conftest.$ac_objext \
11377 conftest$ac_exeext conftest.$ac_ext
11378 LIBS=$ac_check_lib_save_LIBS
11379 fi
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11381 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11382 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11383 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11384 else
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11386 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11387 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11388 $as_echo_n "(cached) " >&6
11389 else
11390 ac_check_lib_save_LIBS=$LIBS
11391 LIBS="-lsvld $LIBS"
11392 if test x$gcc_no_link = xyes; then
11393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11394 fi
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11397
11398 /* Override any GCC internal prototype to avoid an error.
11399 Use char because int might match the return type of a GCC
11400 builtin and then its argument prototype would still apply. */
11401 #ifdef __cplusplus
11402 extern "C"
11403 #endif
11404 char dlopen ();
11405 int
11406 main ()
11407 {
11408 return dlopen ();
11409 ;
11410 return 0;
11411 }
11412 _ACEOF
11413 if ac_fn_c_try_link "$LINENO"; then :
11414 ac_cv_lib_svld_dlopen=yes
11415 else
11416 ac_cv_lib_svld_dlopen=no
11417 fi
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_lib_save_LIBS
11421 fi
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11423 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11424 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11425 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11426 else
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11428 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11429 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11430 $as_echo_n "(cached) " >&6
11431 else
11432 ac_check_lib_save_LIBS=$LIBS
11433 LIBS="-ldld $LIBS"
11434 if test x$gcc_no_link = xyes; then
11435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11436 fi
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11439
11440 /* Override any GCC internal prototype to avoid an error.
11441 Use char because int might match the return type of a GCC
11442 builtin and then its argument prototype would still apply. */
11443 #ifdef __cplusplus
11444 extern "C"
11445 #endif
11446 char dld_link ();
11447 int
11448 main ()
11449 {
11450 return dld_link ();
11451 ;
11452 return 0;
11453 }
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"; then :
11456 ac_cv_lib_dld_dld_link=yes
11457 else
11458 ac_cv_lib_dld_dld_link=no
11459 fi
11460 rm -f core conftest.err conftest.$ac_objext \
11461 conftest$ac_exeext conftest.$ac_ext
11462 LIBS=$ac_check_lib_save_LIBS
11463 fi
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11465 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11466 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11467 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11468 fi
11469
11470
11471 fi
11472
11473
11474 fi
11475
11476
11477 fi
11478
11479
11480 fi
11481
11482
11483 fi
11484
11485 ;;
11486 esac
11487
11488 if test "x$lt_cv_dlopen" != xno; then
11489 enable_dlopen=yes
11490 else
11491 enable_dlopen=no
11492 fi
11493
11494 case $lt_cv_dlopen in
11495 dlopen)
11496 save_CPPFLAGS="$CPPFLAGS"
11497 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11498
11499 save_LDFLAGS="$LDFLAGS"
11500 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11501
11502 save_LIBS="$LIBS"
11503 LIBS="$lt_cv_dlopen_libs $LIBS"
11504
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11506 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11507 if test "${lt_cv_dlopen_self+set}" = set; then :
11508 $as_echo_n "(cached) " >&6
11509 else
11510 if test "$cross_compiling" = yes; then :
11511 lt_cv_dlopen_self=cross
11512 else
11513 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11514 lt_status=$lt_dlunknown
11515 cat > conftest.$ac_ext <<_LT_EOF
11516 #line 11516 "configure"
11517 #include "confdefs.h"
11518
11519 #if HAVE_DLFCN_H
11520 #include <dlfcn.h>
11521 #endif
11522
11523 #include <stdio.h>
11524
11525 #ifdef RTLD_GLOBAL
11526 # define LT_DLGLOBAL RTLD_GLOBAL
11527 #else
11528 # ifdef DL_GLOBAL
11529 # define LT_DLGLOBAL DL_GLOBAL
11530 # else
11531 # define LT_DLGLOBAL 0
11532 # endif
11533 #endif
11534
11535 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11536 find out it does not work in some platform. */
11537 #ifndef LT_DLLAZY_OR_NOW
11538 # ifdef RTLD_LAZY
11539 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11540 # else
11541 # ifdef DL_LAZY
11542 # define LT_DLLAZY_OR_NOW DL_LAZY
11543 # else
11544 # ifdef RTLD_NOW
11545 # define LT_DLLAZY_OR_NOW RTLD_NOW
11546 # else
11547 # ifdef DL_NOW
11548 # define LT_DLLAZY_OR_NOW DL_NOW
11549 # else
11550 # define LT_DLLAZY_OR_NOW 0
11551 # endif
11552 # endif
11553 # endif
11554 # endif
11555 #endif
11556
11557 /* When -fvisbility=hidden is used, assume the code has been annotated
11558 correspondingly for the symbols needed. */
11559 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11560 void fnord () __attribute__((visibility("default")));
11561 #endif
11562
11563 void fnord () { int i=42; }
11564 int main ()
11565 {
11566 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11567 int status = $lt_dlunknown;
11568
11569 if (self)
11570 {
11571 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11572 else
11573 {
11574 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11575 else puts (dlerror ());
11576 }
11577 /* dlclose (self); */
11578 }
11579 else
11580 puts (dlerror ());
11581
11582 return status;
11583 }
11584 _LT_EOF
11585 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11586 (eval $ac_link) 2>&5
11587 ac_status=$?
11588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11589 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11590 (./conftest; exit; ) >&5 2>/dev/null
11591 lt_status=$?
11592 case x$lt_status in
11593 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11594 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11595 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11596 esac
11597 else :
11598 # compilation failed
11599 lt_cv_dlopen_self=no
11600 fi
11601 fi
11602 rm -fr conftest*
11603
11604
11605 fi
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11607 $as_echo "$lt_cv_dlopen_self" >&6; }
11608
11609 if test "x$lt_cv_dlopen_self" = xyes; then
11610 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11612 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11613 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11614 $as_echo_n "(cached) " >&6
11615 else
11616 if test "$cross_compiling" = yes; then :
11617 lt_cv_dlopen_self_static=cross
11618 else
11619 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11620 lt_status=$lt_dlunknown
11621 cat > conftest.$ac_ext <<_LT_EOF
11622 #line 11622 "configure"
11623 #include "confdefs.h"
11624
11625 #if HAVE_DLFCN_H
11626 #include <dlfcn.h>
11627 #endif
11628
11629 #include <stdio.h>
11630
11631 #ifdef RTLD_GLOBAL
11632 # define LT_DLGLOBAL RTLD_GLOBAL
11633 #else
11634 # ifdef DL_GLOBAL
11635 # define LT_DLGLOBAL DL_GLOBAL
11636 # else
11637 # define LT_DLGLOBAL 0
11638 # endif
11639 #endif
11640
11641 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11642 find out it does not work in some platform. */
11643 #ifndef LT_DLLAZY_OR_NOW
11644 # ifdef RTLD_LAZY
11645 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11646 # else
11647 # ifdef DL_LAZY
11648 # define LT_DLLAZY_OR_NOW DL_LAZY
11649 # else
11650 # ifdef RTLD_NOW
11651 # define LT_DLLAZY_OR_NOW RTLD_NOW
11652 # else
11653 # ifdef DL_NOW
11654 # define LT_DLLAZY_OR_NOW DL_NOW
11655 # else
11656 # define LT_DLLAZY_OR_NOW 0
11657 # endif
11658 # endif
11659 # endif
11660 # endif
11661 #endif
11662
11663 /* When -fvisbility=hidden is used, assume the code has been annotated
11664 correspondingly for the symbols needed. */
11665 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11666 void fnord () __attribute__((visibility("default")));
11667 #endif
11668
11669 void fnord () { int i=42; }
11670 int main ()
11671 {
11672 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11673 int status = $lt_dlunknown;
11674
11675 if (self)
11676 {
11677 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11678 else
11679 {
11680 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11681 else puts (dlerror ());
11682 }
11683 /* dlclose (self); */
11684 }
11685 else
11686 puts (dlerror ());
11687
11688 return status;
11689 }
11690 _LT_EOF
11691 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11692 (eval $ac_link) 2>&5
11693 ac_status=$?
11694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11695 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11696 (./conftest; exit; ) >&5 2>/dev/null
11697 lt_status=$?
11698 case x$lt_status in
11699 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11700 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11701 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11702 esac
11703 else :
11704 # compilation failed
11705 lt_cv_dlopen_self_static=no
11706 fi
11707 fi
11708 rm -fr conftest*
11709
11710
11711 fi
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11713 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11714 fi
11715
11716 CPPFLAGS="$save_CPPFLAGS"
11717 LDFLAGS="$save_LDFLAGS"
11718 LIBS="$save_LIBS"
11719 ;;
11720 esac
11721
11722 case $lt_cv_dlopen_self in
11723 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11724 *) enable_dlopen_self=unknown ;;
11725 esac
11726
11727 case $lt_cv_dlopen_self_static in
11728 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11729 *) enable_dlopen_self_static=unknown ;;
11730 esac
11731 fi
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749 striplib=
11750 old_striplib=
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11752 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11753 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11754 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11755 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11757 $as_echo "yes" >&6; }
11758 else
11759 # FIXME - insert some real tests, host_os isn't really good enough
11760 case $host_os in
11761 darwin*)
11762 if test -n "$STRIP" ; then
11763 striplib="$STRIP -x"
11764 old_striplib="$STRIP -S"
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11766 $as_echo "yes" >&6; }
11767 else
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11769 $as_echo "no" >&6; }
11770 fi
11771 ;;
11772 *)
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11774 $as_echo "no" >&6; }
11775 ;;
11776 esac
11777 fi
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790 # Report which library types will actually be built
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11792 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11794 $as_echo "$can_build_shared" >&6; }
11795
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11797 $as_echo_n "checking whether to build shared libraries... " >&6; }
11798 test "$can_build_shared" = "no" && enable_shared=no
11799
11800 # On AIX, shared libraries and static libraries use the same namespace, and
11801 # are all built from PIC.
11802 case $host_os in
11803 aix3*)
11804 test "$enable_shared" = yes && enable_static=no
11805 if test -n "$RANLIB"; then
11806 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11807 postinstall_cmds='$RANLIB $lib'
11808 fi
11809 ;;
11810
11811 aix[4-9]*)
11812 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11813 test "$enable_shared" = yes && enable_static=no
11814 fi
11815 ;;
11816 esac
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11818 $as_echo "$enable_shared" >&6; }
11819
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11821 $as_echo_n "checking whether to build static libraries... " >&6; }
11822 # Make sure either enable_shared or enable_static is yes.
11823 test "$enable_shared" = yes || enable_static=yes
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11825 $as_echo "$enable_static" >&6; }
11826
11827
11828
11829
11830 fi
11831 ac_ext=c
11832 ac_cpp='$CPP $CPPFLAGS'
11833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11836
11837 CC="$lt_save_CC"
11838
11839 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11840 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11841 (test "X$CXX" != "Xg++"))) ; then
11842 ac_ext=cpp
11843 ac_cpp='$CXXCPP $CPPFLAGS'
11844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11848 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11849 if test -z "$CXXCPP"; then
11850 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11851 $as_echo_n "(cached) " >&6
11852 else
11853 # Double quotes because CXXCPP needs to be expanded
11854 for CXXCPP in "$CXX -E" "/lib/cpp"
11855 do
11856 ac_preproc_ok=false
11857 for ac_cxx_preproc_warn_flag in '' yes
11858 do
11859 # Use a header file that comes with gcc, so configuring glibc
11860 # with a fresh cross-compiler works.
11861 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11862 # <limits.h> exists even on freestanding compilers.
11863 # On the NeXT, cc -E runs the code through the compiler's parser,
11864 # not just through cpp. "Syntax error" is here to catch this case.
11865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11866 /* end confdefs.h. */
11867 #ifdef __STDC__
11868 # include <limits.h>
11869 #else
11870 # include <assert.h>
11871 #endif
11872 Syntax error
11873 _ACEOF
11874 if ac_fn_cxx_try_cpp "$LINENO"; then :
11875
11876 else
11877 # Broken: fails on valid input.
11878 continue
11879 fi
11880 rm -f conftest.err conftest.$ac_ext
11881
11882 # OK, works on sane cases. Now check whether nonexistent headers
11883 # can be detected and how.
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11886 #include <ac_nonexistent.h>
11887 _ACEOF
11888 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889 # Broken: success on invalid input.
11890 continue
11891 else
11892 # Passes both tests.
11893 ac_preproc_ok=:
11894 break
11895 fi
11896 rm -f conftest.err conftest.$ac_ext
11897
11898 done
11899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11900 rm -f conftest.err conftest.$ac_ext
11901 if $ac_preproc_ok; then :
11902 break
11903 fi
11904
11905 done
11906 ac_cv_prog_CXXCPP=$CXXCPP
11907
11908 fi
11909 CXXCPP=$ac_cv_prog_CXXCPP
11910 else
11911 ac_cv_prog_CXXCPP=$CXXCPP
11912 fi
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11914 $as_echo "$CXXCPP" >&6; }
11915 ac_preproc_ok=false
11916 for ac_cxx_preproc_warn_flag in '' yes
11917 do
11918 # Use a header file that comes with gcc, so configuring glibc
11919 # with a fresh cross-compiler works.
11920 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11921 # <limits.h> exists even on freestanding compilers.
11922 # On the NeXT, cc -E runs the code through the compiler's parser,
11923 # not just through cpp. "Syntax error" is here to catch this case.
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11926 #ifdef __STDC__
11927 # include <limits.h>
11928 #else
11929 # include <assert.h>
11930 #endif
11931 Syntax error
11932 _ACEOF
11933 if ac_fn_cxx_try_cpp "$LINENO"; then :
11934
11935 else
11936 # Broken: fails on valid input.
11937 continue
11938 fi
11939 rm -f conftest.err conftest.$ac_ext
11940
11941 # OK, works on sane cases. Now check whether nonexistent headers
11942 # can be detected and how.
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11945 #include <ac_nonexistent.h>
11946 _ACEOF
11947 if ac_fn_cxx_try_cpp "$LINENO"; then :
11948 # Broken: success on invalid input.
11949 continue
11950 else
11951 # Passes both tests.
11952 ac_preproc_ok=:
11953 break
11954 fi
11955 rm -f conftest.err conftest.$ac_ext
11956
11957 done
11958 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11959 rm -f conftest.err conftest.$ac_ext
11960 if $ac_preproc_ok; then :
11961
11962 else
11963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11965 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11966 See \`config.log' for more details." "$LINENO" 5; }
11967 fi
11968
11969 ac_ext=c
11970 ac_cpp='$CPP $CPPFLAGS'
11971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11974
11975 else
11976 _lt_caught_CXX_error=yes
11977 fi
11978
11979 ac_ext=cpp
11980 ac_cpp='$CXXCPP $CPPFLAGS'
11981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11984
11985 archive_cmds_need_lc_CXX=no
11986 allow_undefined_flag_CXX=
11987 always_export_symbols_CXX=no
11988 archive_expsym_cmds_CXX=
11989 compiler_needs_object_CXX=no
11990 export_dynamic_flag_spec_CXX=
11991 hardcode_direct_CXX=no
11992 hardcode_direct_absolute_CXX=no
11993 hardcode_libdir_flag_spec_CXX=
11994 hardcode_libdir_flag_spec_ld_CXX=
11995 hardcode_libdir_separator_CXX=
11996 hardcode_minus_L_CXX=no
11997 hardcode_shlibpath_var_CXX=unsupported
11998 hardcode_automatic_CXX=no
11999 inherit_rpath_CXX=no
12000 module_cmds_CXX=
12001 module_expsym_cmds_CXX=
12002 link_all_deplibs_CXX=unknown
12003 old_archive_cmds_CXX=$old_archive_cmds
12004 reload_flag_CXX=$reload_flag
12005 reload_cmds_CXX=$reload_cmds
12006 no_undefined_flag_CXX=
12007 whole_archive_flag_spec_CXX=
12008 enable_shared_with_static_runtimes_CXX=no
12009
12010 # Source file extension for C++ test sources.
12011 ac_ext=cpp
12012
12013 # Object file extension for compiled C++ test sources.
12014 objext=o
12015 objext_CXX=$objext
12016
12017 # No sense in running all these tests if we already determined that
12018 # the CXX compiler isn't working. Some variables (like enable_shared)
12019 # are currently assumed to apply to all compilers on this platform,
12020 # and will be corrupted by setting them based on a non-working compiler.
12021 if test "$_lt_caught_CXX_error" != yes; then
12022 # Code to be used in simple compile tests
12023 lt_simple_compile_test_code="int some_variable = 0;"
12024
12025 # Code to be used in simple link tests
12026 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12027
12028 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12029
12030
12031
12032
12033
12034
12035 # If no C compiler was specified, use CC.
12036 LTCC=${LTCC-"$CC"}
12037
12038 # If no C compiler flags were specified, use CFLAGS.
12039 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12040
12041 # Allow CC to be a program name with arguments.
12042 compiler=$CC
12043
12044
12045 # save warnings/boilerplate of simple test code
12046 ac_outfile=conftest.$ac_objext
12047 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12048 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12049 _lt_compiler_boilerplate=`cat conftest.err`
12050 $RM conftest*
12051
12052 ac_outfile=conftest.$ac_objext
12053 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12054 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12055 _lt_linker_boilerplate=`cat conftest.err`
12056 $RM -r conftest*
12057
12058
12059 # Allow CC to be a program name with arguments.
12060 lt_save_CC=$CC
12061 lt_save_LD=$LD
12062 lt_save_GCC=$GCC
12063 GCC=$GXX
12064 lt_save_with_gnu_ld=$with_gnu_ld
12065 lt_save_path_LD=$lt_cv_path_LD
12066 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12067 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12068 else
12069 $as_unset lt_cv_prog_gnu_ld
12070 fi
12071 if test -n "${lt_cv_path_LDCXX+set}"; then
12072 lt_cv_path_LD=$lt_cv_path_LDCXX
12073 else
12074 $as_unset lt_cv_path_LD
12075 fi
12076 test -z "${LDCXX+set}" || LD=$LDCXX
12077 CC=${CXX-"c++"}
12078 compiler=$CC
12079 compiler_CXX=$CC
12080 for cc_temp in $compiler""; do
12081 case $cc_temp in
12082 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12083 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12084 \-*) ;;
12085 *) break;;
12086 esac
12087 done
12088 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12089
12090
12091 if test -n "$compiler"; then
12092 # We don't want -fno-exception when compiling C++ code, so set the
12093 # no_builtin_flag separately
12094 if test "$GXX" = yes; then
12095 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12096 else
12097 lt_prog_compiler_no_builtin_flag_CXX=
12098 fi
12099
12100 if test "$GXX" = yes; then
12101 # Set up default GNU C++ configuration
12102
12103
12104
12105 # Check whether --with-gnu-ld was given.
12106 if test "${with_gnu_ld+set}" = set; then :
12107 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12108 else
12109 with_gnu_ld=no
12110 fi
12111
12112 ac_prog=ld
12113 if test "$GCC" = yes; then
12114 # Check if gcc -print-prog-name=ld gives a path.
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12116 $as_echo_n "checking for ld used by $CC... " >&6; }
12117 case $host in
12118 *-*-mingw*)
12119 # gcc leaves a trailing carriage return which upsets mingw
12120 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12121 *)
12122 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12123 esac
12124 case $ac_prog in
12125 # Accept absolute paths.
12126 [\\/]* | ?:[\\/]*)
12127 re_direlt='/[^/][^/]*/\.\./'
12128 # Canonicalize the pathname of ld
12129 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12130 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12131 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12132 done
12133 test -z "$LD" && LD="$ac_prog"
12134 ;;
12135 "")
12136 # If it fails, then pretend we aren't using GCC.
12137 ac_prog=ld
12138 ;;
12139 *)
12140 # If it is relative, then search for the first ld in PATH.
12141 with_gnu_ld=unknown
12142 ;;
12143 esac
12144 elif test "$with_gnu_ld" = yes; then
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12146 $as_echo_n "checking for GNU ld... " >&6; }
12147 else
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12149 $as_echo_n "checking for non-GNU ld... " >&6; }
12150 fi
12151 if test "${lt_cv_path_LD+set}" = set; then :
12152 $as_echo_n "(cached) " >&6
12153 else
12154 if test -z "$LD"; then
12155 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12156 for ac_dir in $PATH; do
12157 IFS="$lt_save_ifs"
12158 test -z "$ac_dir" && ac_dir=.
12159 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12160 lt_cv_path_LD="$ac_dir/$ac_prog"
12161 # Check to see if the program is GNU ld. I'd rather use --version,
12162 # but apparently some variants of GNU ld only accept -v.
12163 # Break only if it was the GNU/non-GNU ld that we prefer.
12164 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12165 *GNU* | *'with BFD'*)
12166 test "$with_gnu_ld" != no && break
12167 ;;
12168 *)
12169 test "$with_gnu_ld" != yes && break
12170 ;;
12171 esac
12172 fi
12173 done
12174 IFS="$lt_save_ifs"
12175 else
12176 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12177 fi
12178 fi
12179
12180 LD="$lt_cv_path_LD"
12181 if test -n "$LD"; then
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12183 $as_echo "$LD" >&6; }
12184 else
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12186 $as_echo "no" >&6; }
12187 fi
12188 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12190 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12191 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12192 $as_echo_n "(cached) " >&6
12193 else
12194 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12195 case `$LD -v 2>&1 </dev/null` in
12196 *GNU* | *'with BFD'*)
12197 lt_cv_prog_gnu_ld=yes
12198 ;;
12199 *)
12200 lt_cv_prog_gnu_ld=no
12201 ;;
12202 esac
12203 fi
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12205 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12206 with_gnu_ld=$lt_cv_prog_gnu_ld
12207
12208
12209
12210
12211
12212
12213
12214 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12215 # archiving commands below assume that GNU ld is being used.
12216 if test "$with_gnu_ld" = yes; then
12217 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12218 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'
12219
12220 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12221 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12222
12223 # If archive_cmds runs LD, not CC, wlarc should be empty
12224 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12225 # investigate it a little bit more. (MM)
12226 wlarc='${wl}'
12227
12228 # ancient GNU ld didn't support --whole-archive et. al.
12229 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12230 $GREP 'no-whole-archive' > /dev/null; then
12231 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12232 else
12233 whole_archive_flag_spec_CXX=
12234 fi
12235 else
12236 with_gnu_ld=no
12237 wlarc=
12238
12239 # A generic and very simple default shared library creation
12240 # command for GNU C++ for the case where it uses the native
12241 # linker, instead of GNU ld. If possible, this setting should
12242 # overridden to take advantage of the native linker features on
12243 # the platform it is being used on.
12244 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12245 fi
12246
12247 # Commands to make compiler produce verbose output that lists
12248 # what "hidden" libraries, object files and flags are used when
12249 # linking a shared library.
12250 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12251
12252 else
12253 GXX=no
12254 with_gnu_ld=no
12255 wlarc=
12256 fi
12257
12258 # PORTME: fill in a description of your system's C++ link characteristics
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12260 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12261 ld_shlibs_CXX=yes
12262 case $host_os in
12263 aix3*)
12264 # FIXME: insert proper C++ library support
12265 ld_shlibs_CXX=no
12266 ;;
12267 aix[4-9]*)
12268 if test "$host_cpu" = ia64; then
12269 # On IA64, the linker does run time linking by default, so we don't
12270 # have to do anything special.
12271 aix_use_runtimelinking=no
12272 exp_sym_flag='-Bexport'
12273 no_entry_flag=""
12274 else
12275 aix_use_runtimelinking=no
12276
12277 # Test if we are trying to use run time linking or normal
12278 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12279 # need to do runtime linking.
12280 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12281 for ld_flag in $LDFLAGS; do
12282 case $ld_flag in
12283 *-brtl*)
12284 aix_use_runtimelinking=yes
12285 break
12286 ;;
12287 esac
12288 done
12289 ;;
12290 esac
12291
12292 exp_sym_flag='-bexport'
12293 no_entry_flag='-bnoentry'
12294 fi
12295
12296 # When large executables or shared objects are built, AIX ld can
12297 # have problems creating the table of contents. If linking a library
12298 # or program results in "error TOC overflow" add -mminimal-toc to
12299 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12300 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12301
12302 archive_cmds_CXX=''
12303 hardcode_direct_CXX=yes
12304 hardcode_direct_absolute_CXX=yes
12305 hardcode_libdir_separator_CXX=':'
12306 link_all_deplibs_CXX=yes
12307 file_list_spec_CXX='${wl}-f,'
12308
12309 if test "$GXX" = yes; then
12310 case $host_os in aix4.[012]|aix4.[012].*)
12311 # We only want to do this on AIX 4.2 and lower, the check
12312 # below for broken collect2 doesn't work under 4.3+
12313 collect2name=`${CC} -print-prog-name=collect2`
12314 if test -f "$collect2name" &&
12315 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12316 then
12317 # We have reworked collect2
12318 :
12319 else
12320 # We have old collect2
12321 hardcode_direct_CXX=unsupported
12322 # It fails to find uninstalled libraries when the uninstalled
12323 # path is not listed in the libpath. Setting hardcode_minus_L
12324 # to unsupported forces relinking
12325 hardcode_minus_L_CXX=yes
12326 hardcode_libdir_flag_spec_CXX='-L$libdir'
12327 hardcode_libdir_separator_CXX=
12328 fi
12329 esac
12330 shared_flag='-shared'
12331 if test "$aix_use_runtimelinking" = yes; then
12332 shared_flag="$shared_flag "'${wl}-G'
12333 fi
12334 else
12335 # not using gcc
12336 if test "$host_cpu" = ia64; then
12337 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12338 # chokes on -Wl,-G. The following line is correct:
12339 shared_flag='-G'
12340 else
12341 if test "$aix_use_runtimelinking" = yes; then
12342 shared_flag='${wl}-G'
12343 else
12344 shared_flag='${wl}-bM:SRE'
12345 fi
12346 fi
12347 fi
12348
12349 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12350 # It seems that -bexpall does not export symbols beginning with
12351 # underscore (_), so it is better to generate a list of symbols to
12352 # export.
12353 always_export_symbols_CXX=yes
12354 if test "$aix_use_runtimelinking" = yes; then
12355 # Warning - without using the other runtime loading flags (-brtl),
12356 # -berok will link without error, but may produce a broken library.
12357 allow_undefined_flag_CXX='-berok'
12358 # Determine the default libpath from the value encoded in an empty
12359 # executable.
12360 if test x$gcc_no_link = xyes; then
12361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12362 fi
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12365
12366 int
12367 main ()
12368 {
12369
12370 ;
12371 return 0;
12372 }
12373 _ACEOF
12374 if ac_fn_cxx_try_link "$LINENO"; then :
12375
12376 lt_aix_libpath_sed='
12377 /Import File Strings/,/^$/ {
12378 /^0/ {
12379 s/^0 *\(.*\)$/\1/
12380 p
12381 }
12382 }'
12383 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12384 # Check for a 64-bit object if we didn't find anything.
12385 if test -z "$aix_libpath"; then
12386 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12387 fi
12388 fi
12389 rm -f core conftest.err conftest.$ac_objext \
12390 conftest$ac_exeext conftest.$ac_ext
12391 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12392
12393 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12394
12395 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"
12396 else
12397 if test "$host_cpu" = ia64; then
12398 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12399 allow_undefined_flag_CXX="-z nodefs"
12400 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"
12401 else
12402 # Determine the default libpath from the value encoded in an
12403 # empty executable.
12404 if test x$gcc_no_link = xyes; then
12405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12406 fi
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12409
12410 int
12411 main ()
12412 {
12413
12414 ;
12415 return 0;
12416 }
12417 _ACEOF
12418 if ac_fn_cxx_try_link "$LINENO"; then :
12419
12420 lt_aix_libpath_sed='
12421 /Import File Strings/,/^$/ {
12422 /^0/ {
12423 s/^0 *\(.*\)$/\1/
12424 p
12425 }
12426 }'
12427 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12428 # Check for a 64-bit object if we didn't find anything.
12429 if test -z "$aix_libpath"; then
12430 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12431 fi
12432 fi
12433 rm -f core conftest.err conftest.$ac_objext \
12434 conftest$ac_exeext conftest.$ac_ext
12435 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12436
12437 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12438 # Warning - without using the other run time loading flags,
12439 # -berok will link without error, but may produce a broken library.
12440 no_undefined_flag_CXX=' ${wl}-bernotok'
12441 allow_undefined_flag_CXX=' ${wl}-berok'
12442 if test "$with_gnu_ld" = yes; then
12443 # We only use this code for GNU lds that support --whole-archive.
12444 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12445 else
12446 # Exported symbols can be pulled into shared objects from archives
12447 whole_archive_flag_spec_CXX='$convenience'
12448 fi
12449 archive_cmds_need_lc_CXX=yes
12450 # This is similar to how AIX traditionally builds its shared
12451 # libraries.
12452 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'
12453 fi
12454 fi
12455 ;;
12456
12457 beos*)
12458 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12459 allow_undefined_flag_CXX=unsupported
12460 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12461 # support --undefined. This deserves some investigation. FIXME
12462 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12463 else
12464 ld_shlibs_CXX=no
12465 fi
12466 ;;
12467
12468 chorus*)
12469 case $cc_basename in
12470 *)
12471 # FIXME: insert proper C++ library support
12472 ld_shlibs_CXX=no
12473 ;;
12474 esac
12475 ;;
12476
12477 cygwin* | mingw* | pw32* | cegcc*)
12478 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12479 # as there is no search path for DLLs.
12480 hardcode_libdir_flag_spec_CXX='-L$libdir'
12481 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12482 allow_undefined_flag_CXX=unsupported
12483 always_export_symbols_CXX=no
12484 enable_shared_with_static_runtimes_CXX=yes
12485
12486 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12487 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'
12488 # If the export-symbols file already is a .def file (1st line
12489 # is EXPORTS), use it as is; otherwise, prepend...
12490 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12491 cp $export_symbols $output_objdir/$soname.def;
12492 else
12493 echo EXPORTS > $output_objdir/$soname.def;
12494 cat $export_symbols >> $output_objdir/$soname.def;
12495 fi~
12496 $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'
12497 else
12498 ld_shlibs_CXX=no
12499 fi
12500 ;;
12501 darwin* | rhapsody*)
12502
12503
12504 archive_cmds_need_lc_CXX=no
12505 hardcode_direct_CXX=no
12506 hardcode_automatic_CXX=yes
12507 hardcode_shlibpath_var_CXX=unsupported
12508 if test "$lt_cv_ld_force_load" = "yes"; then
12509 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\"`'
12510 else
12511 whole_archive_flag_spec_CXX=''
12512 fi
12513 link_all_deplibs_CXX=yes
12514 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12515 case $cc_basename in
12516 ifort*) _lt_dar_can_shared=yes ;;
12517 *) _lt_dar_can_shared=$GCC ;;
12518 esac
12519 if test "$_lt_dar_can_shared" = "yes"; then
12520 output_verbose_link_cmd=func_echo_all
12521 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}"
12522 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12523 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}"
12524 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}"
12525 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12526 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}"
12527 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}"
12528 fi
12529
12530 else
12531 ld_shlibs_CXX=no
12532 fi
12533
12534 ;;
12535
12536 dgux*)
12537 case $cc_basename in
12538 ec++*)
12539 # FIXME: insert proper C++ library support
12540 ld_shlibs_CXX=no
12541 ;;
12542 ghcx*)
12543 # Green Hills C++ Compiler
12544 # FIXME: insert proper C++ library support
12545 ld_shlibs_CXX=no
12546 ;;
12547 *)
12548 # FIXME: insert proper C++ library support
12549 ld_shlibs_CXX=no
12550 ;;
12551 esac
12552 ;;
12553
12554 freebsd2.*)
12555 # C++ shared libraries reported to be fairly broken before
12556 # switch to ELF
12557 ld_shlibs_CXX=no
12558 ;;
12559
12560 freebsd-elf*)
12561 archive_cmds_need_lc_CXX=no
12562 ;;
12563
12564 freebsd* | dragonfly*)
12565 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12566 # conventions
12567 ld_shlibs_CXX=yes
12568 ;;
12569
12570 gnu*)
12571 ;;
12572
12573 haiku*)
12574 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12575 link_all_deplibs_CXX=yes
12576 ;;
12577
12578 hpux9*)
12579 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12580 hardcode_libdir_separator_CXX=:
12581 export_dynamic_flag_spec_CXX='${wl}-E'
12582 hardcode_direct_CXX=yes
12583 hardcode_minus_L_CXX=yes # Not in the search PATH,
12584 # but as the default
12585 # location of the library.
12586
12587 case $cc_basename in
12588 CC*)
12589 # FIXME: insert proper C++ library support
12590 ld_shlibs_CXX=no
12591 ;;
12592 aCC*)
12593 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'
12594 # Commands to make compiler produce verbose output that lists
12595 # what "hidden" libraries, object files and flags are used when
12596 # linking a shared library.
12597 #
12598 # There doesn't appear to be a way to prevent this compiler from
12599 # explicitly linking system object files so we need to strip them
12600 # from the output so that they don't get included in the library
12601 # dependencies.
12602 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"'
12603 ;;
12604 *)
12605 if test "$GXX" = yes; then
12606 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'
12607 else
12608 # FIXME: insert proper C++ library support
12609 ld_shlibs_CXX=no
12610 fi
12611 ;;
12612 esac
12613 ;;
12614
12615 hpux10*|hpux11*)
12616 if test $with_gnu_ld = no; then
12617 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12618 hardcode_libdir_separator_CXX=:
12619
12620 case $host_cpu in
12621 hppa*64*|ia64*)
12622 ;;
12623 *)
12624 export_dynamic_flag_spec_CXX='${wl}-E'
12625 ;;
12626 esac
12627 fi
12628 case $host_cpu in
12629 hppa*64*|ia64*)
12630 hardcode_direct_CXX=no
12631 hardcode_shlibpath_var_CXX=no
12632 ;;
12633 *)
12634 hardcode_direct_CXX=yes
12635 hardcode_direct_absolute_CXX=yes
12636 hardcode_minus_L_CXX=yes # Not in the search PATH,
12637 # but as the default
12638 # location of the library.
12639 ;;
12640 esac
12641
12642 case $cc_basename in
12643 CC*)
12644 # FIXME: insert proper C++ library support
12645 ld_shlibs_CXX=no
12646 ;;
12647 aCC*)
12648 case $host_cpu in
12649 hppa*64*)
12650 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12651 ;;
12652 ia64*)
12653 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12654 ;;
12655 *)
12656 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12657 ;;
12658 esac
12659 # Commands to make compiler produce verbose output that lists
12660 # what "hidden" libraries, object files and flags are used when
12661 # linking a shared library.
12662 #
12663 # There doesn't appear to be a way to prevent this compiler from
12664 # explicitly linking system object files so we need to strip them
12665 # from the output so that they don't get included in the library
12666 # dependencies.
12667 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"'
12668 ;;
12669 *)
12670 if test "$GXX" = yes; then
12671 if test $with_gnu_ld = no; then
12672 case $host_cpu in
12673 hppa*64*)
12674 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12675 ;;
12676 ia64*)
12677 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12678 ;;
12679 *)
12680 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'
12681 ;;
12682 esac
12683 fi
12684 else
12685 # FIXME: insert proper C++ library support
12686 ld_shlibs_CXX=no
12687 fi
12688 ;;
12689 esac
12690 ;;
12691
12692 interix[3-9]*)
12693 hardcode_direct_CXX=no
12694 hardcode_shlibpath_var_CXX=no
12695 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12696 export_dynamic_flag_spec_CXX='${wl}-E'
12697 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12698 # Instead, shared libraries are loaded at an image base (0x10000000 by
12699 # default) and relocated if they conflict, which is a slow very memory
12700 # consuming and fragmenting process. To avoid this, we pick a random,
12701 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12702 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12703 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'
12704 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'
12705 ;;
12706 irix5* | irix6*)
12707 case $cc_basename in
12708 CC*)
12709 # SGI C++
12710 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'
12711
12712 # Archives containing C++ object files must be created using
12713 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12714 # necessary to make sure instantiated templates are included
12715 # in the archive.
12716 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12717 ;;
12718 *)
12719 if test "$GXX" = yes; then
12720 if test "$with_gnu_ld" = no; then
12721 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'
12722 else
12723 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'
12724 fi
12725 fi
12726 link_all_deplibs_CXX=yes
12727 ;;
12728 esac
12729 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12730 hardcode_libdir_separator_CXX=:
12731 inherit_rpath_CXX=yes
12732 ;;
12733
12734 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12735 case $cc_basename in
12736 KCC*)
12737 # Kuck and Associates, Inc. (KAI) C++ Compiler
12738
12739 # KCC will only create a shared library if the output file
12740 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12741 # to its proper name (with version) after linking.
12742 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'
12743 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'
12744 # Commands to make compiler produce verbose output that lists
12745 # what "hidden" libraries, object files and flags are used when
12746 # linking a shared library.
12747 #
12748 # There doesn't appear to be a way to prevent this compiler from
12749 # explicitly linking system object files so we need to strip them
12750 # from the output so that they don't get included in the library
12751 # dependencies.
12752 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"'
12753
12754 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12755 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12756
12757 # Archives containing C++ object files must be created using
12758 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12759 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12760 ;;
12761 icpc* | ecpc* )
12762 # Intel C++
12763 with_gnu_ld=yes
12764 # version 8.0 and above of icpc choke on multiply defined symbols
12765 # if we add $predep_objects and $postdep_objects, however 7.1 and
12766 # earlier do not add the objects themselves.
12767 case `$CC -V 2>&1` in
12768 *"Version 7."*)
12769 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12770 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'
12771 ;;
12772 *) # Version 8.0 or newer
12773 tmp_idyn=
12774 case $host_cpu in
12775 ia64*) tmp_idyn=' -i_dynamic';;
12776 esac
12777 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12778 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'
12779 ;;
12780 esac
12781 archive_cmds_need_lc_CXX=no
12782 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12783 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12784 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12785 ;;
12786 pgCC* | pgcpp*)
12787 # Portland Group C++ compiler
12788 case `$CC -V` in
12789 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12790 prelink_cmds_CXX='tpldir=Template.dir~
12791 rm -rf $tpldir~
12792 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12793 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12794 old_archive_cmds_CXX='tpldir=Template.dir~
12795 rm -rf $tpldir~
12796 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12797 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12798 $RANLIB $oldlib'
12799 archive_cmds_CXX='tpldir=Template.dir~
12800 rm -rf $tpldir~
12801 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12802 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12803 archive_expsym_cmds_CXX='tpldir=Template.dir~
12804 rm -rf $tpldir~
12805 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12806 $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'
12807 ;;
12808 *) # Version 6 and above use weak symbols
12809 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12810 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'
12811 ;;
12812 esac
12813
12814 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12815 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12816 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'
12817 ;;
12818 cxx*)
12819 # Compaq C++
12820 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12821 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'
12822
12823 runpath_var=LD_RUN_PATH
12824 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12825 hardcode_libdir_separator_CXX=:
12826
12827 # Commands to make compiler produce verbose output that lists
12828 # what "hidden" libraries, object files and flags are used when
12829 # linking a shared library.
12830 #
12831 # There doesn't appear to be a way to prevent this compiler from
12832 # explicitly linking system object files so we need to strip them
12833 # from the output so that they don't get included in the library
12834 # dependencies.
12835 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'
12836 ;;
12837 xl* | mpixl* | bgxl*)
12838 # IBM XL 8.0 on PPC, with GNU ld
12839 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12840 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12841 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12842 if test "x$supports_anon_versioning" = xyes; then
12843 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12844 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12845 echo "local: *; };" >> $output_objdir/$libname.ver~
12846 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12847 fi
12848 ;;
12849 *)
12850 case `$CC -V 2>&1 | sed 5q` in
12851 *Sun\ C*)
12852 # Sun C++ 5.9
12853 no_undefined_flag_CXX=' -zdefs'
12854 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12855 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'
12856 hardcode_libdir_flag_spec_CXX='-R$libdir'
12857 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'
12858 compiler_needs_object_CXX=yes
12859
12860 # Not sure whether something based on
12861 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12862 # would be better.
12863 output_verbose_link_cmd='func_echo_all'
12864
12865 # Archives containing C++ object files must be created using
12866 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12867 # necessary to make sure instantiated templates are included
12868 # in the archive.
12869 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12870 ;;
12871 esac
12872 ;;
12873 esac
12874 ;;
12875
12876 lynxos*)
12877 # FIXME: insert proper C++ library support
12878 ld_shlibs_CXX=no
12879 ;;
12880
12881 m88k*)
12882 # FIXME: insert proper C++ library support
12883 ld_shlibs_CXX=no
12884 ;;
12885
12886 mvs*)
12887 case $cc_basename in
12888 cxx*)
12889 # FIXME: insert proper C++ library support
12890 ld_shlibs_CXX=no
12891 ;;
12892 *)
12893 # FIXME: insert proper C++ library support
12894 ld_shlibs_CXX=no
12895 ;;
12896 esac
12897 ;;
12898
12899 netbsd*)
12900 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12901 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12902 wlarc=
12903 hardcode_libdir_flag_spec_CXX='-R$libdir'
12904 hardcode_direct_CXX=yes
12905 hardcode_shlibpath_var_CXX=no
12906 fi
12907 # Workaround some broken pre-1.5 toolchains
12908 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12909 ;;
12910
12911 *nto* | *qnx*)
12912 ld_shlibs_CXX=yes
12913 ;;
12914
12915 openbsd2*)
12916 # C++ shared libraries are fairly broken
12917 ld_shlibs_CXX=no
12918 ;;
12919
12920 openbsd*)
12921 if test -f /usr/libexec/ld.so; then
12922 hardcode_direct_CXX=yes
12923 hardcode_shlibpath_var_CXX=no
12924 hardcode_direct_absolute_CXX=yes
12925 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12926 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12927 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12928 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12929 export_dynamic_flag_spec_CXX='${wl}-E'
12930 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12931 fi
12932 output_verbose_link_cmd=func_echo_all
12933 else
12934 ld_shlibs_CXX=no
12935 fi
12936 ;;
12937
12938 osf3* | osf4* | osf5*)
12939 case $cc_basename in
12940 KCC*)
12941 # Kuck and Associates, Inc. (KAI) C++ Compiler
12942
12943 # KCC will only create a shared library if the output file
12944 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12945 # to its proper name (with version) after linking.
12946 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'
12947
12948 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12949 hardcode_libdir_separator_CXX=:
12950
12951 # Archives containing C++ object files must be created using
12952 # the KAI C++ compiler.
12953 case $host in
12954 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12955 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12956 esac
12957 ;;
12958 RCC*)
12959 # Rational C++ 2.4.1
12960 # FIXME: insert proper C++ library support
12961 ld_shlibs_CXX=no
12962 ;;
12963 cxx*)
12964 case $host in
12965 osf3*)
12966 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12967 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'
12968 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12969 ;;
12970 *)
12971 allow_undefined_flag_CXX=' -expect_unresolved \*'
12972 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'
12973 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12974 echo "-hidden">> $lib.exp~
12975 $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~
12976 $RM $lib.exp'
12977 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12978 ;;
12979 esac
12980
12981 hardcode_libdir_separator_CXX=:
12982
12983 # Commands to make compiler produce verbose output that lists
12984 # what "hidden" libraries, object files and flags are used when
12985 # linking a shared library.
12986 #
12987 # There doesn't appear to be a way to prevent this compiler from
12988 # explicitly linking system object files so we need to strip them
12989 # from the output so that they don't get included in the library
12990 # dependencies.
12991 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"'
12992 ;;
12993 *)
12994 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12995 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12996 case $host in
12997 osf3*)
12998 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'
12999 ;;
13000 *)
13001 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'
13002 ;;
13003 esac
13004
13005 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13006 hardcode_libdir_separator_CXX=:
13007
13008 # Commands to make compiler produce verbose output that lists
13009 # what "hidden" libraries, object files and flags are used when
13010 # linking a shared library.
13011 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13012
13013 else
13014 # FIXME: insert proper C++ library support
13015 ld_shlibs_CXX=no
13016 fi
13017 ;;
13018 esac
13019 ;;
13020
13021 psos*)
13022 # FIXME: insert proper C++ library support
13023 ld_shlibs_CXX=no
13024 ;;
13025
13026 sunos4*)
13027 case $cc_basename in
13028 CC*)
13029 # Sun C++ 4.x
13030 # FIXME: insert proper C++ library support
13031 ld_shlibs_CXX=no
13032 ;;
13033 lcc*)
13034 # Lucid
13035 # FIXME: insert proper C++ library support
13036 ld_shlibs_CXX=no
13037 ;;
13038 *)
13039 # FIXME: insert proper C++ library support
13040 ld_shlibs_CXX=no
13041 ;;
13042 esac
13043 ;;
13044
13045 solaris*)
13046 case $cc_basename in
13047 CC*)
13048 # Sun C++ 4.2, 5.x and Centerline C++
13049 archive_cmds_need_lc_CXX=yes
13050 no_undefined_flag_CXX=' -zdefs'
13051 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13052 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13053 $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'
13054
13055 hardcode_libdir_flag_spec_CXX='-R$libdir'
13056 hardcode_shlibpath_var_CXX=no
13057 case $host_os in
13058 solaris2.[0-5] | solaris2.[0-5].*) ;;
13059 *)
13060 # The compiler driver will combine and reorder linker options,
13061 # but understands `-z linker_flag'.
13062 # Supported since Solaris 2.6 (maybe 2.5.1?)
13063 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13064 ;;
13065 esac
13066 link_all_deplibs_CXX=yes
13067
13068 output_verbose_link_cmd='func_echo_all'
13069
13070 # Archives containing C++ object files must be created using
13071 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13072 # necessary to make sure instantiated templates are included
13073 # in the archive.
13074 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13075 ;;
13076 gcx*)
13077 # Green Hills C++ Compiler
13078 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13079
13080 # The C++ compiler must be used to create the archive.
13081 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13082 ;;
13083 *)
13084 # GNU C++ compiler with Solaris linker
13085 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13086 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13087 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13088 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13089 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13090 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13091
13092 # Commands to make compiler produce verbose output that lists
13093 # what "hidden" libraries, object files and flags are used when
13094 # linking a shared library.
13095 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13096 else
13097 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13098 # platform.
13099 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13100 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13101 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13102
13103 # Commands to make compiler produce verbose output that lists
13104 # what "hidden" libraries, object files and flags are used when
13105 # linking a shared library.
13106 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13107 fi
13108
13109 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13110 case $host_os in
13111 solaris2.[0-5] | solaris2.[0-5].*) ;;
13112 *)
13113 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13114 ;;
13115 esac
13116 fi
13117 ;;
13118 esac
13119 ;;
13120
13121 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13122 no_undefined_flag_CXX='${wl}-z,text'
13123 archive_cmds_need_lc_CXX=no
13124 hardcode_shlibpath_var_CXX=no
13125 runpath_var='LD_RUN_PATH'
13126
13127 case $cc_basename in
13128 CC*)
13129 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13130 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13131 ;;
13132 *)
13133 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135 ;;
13136 esac
13137 ;;
13138
13139 sysv5* | sco3.2v5* | sco5v6*)
13140 # Note: We can NOT use -z defs as we might desire, because we do not
13141 # link with -lc, and that would cause any symbols used from libc to
13142 # always be unresolved, which means just about no library would
13143 # ever link correctly. If we're not using GNU ld we use -z text
13144 # though, which does catch some bad symbols but isn't as heavy-handed
13145 # as -z defs.
13146 no_undefined_flag_CXX='${wl}-z,text'
13147 allow_undefined_flag_CXX='${wl}-z,nodefs'
13148 archive_cmds_need_lc_CXX=no
13149 hardcode_shlibpath_var_CXX=no
13150 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13151 hardcode_libdir_separator_CXX=':'
13152 link_all_deplibs_CXX=yes
13153 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13154 runpath_var='LD_RUN_PATH'
13155
13156 case $cc_basename in
13157 CC*)
13158 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13159 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13160 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13161 '"$old_archive_cmds_CXX"
13162 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13163 '"$reload_cmds_CXX"
13164 ;;
13165 *)
13166 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13167 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13168 ;;
13169 esac
13170 ;;
13171
13172 tandem*)
13173 case $cc_basename in
13174 NCC*)
13175 # NonStop-UX NCC 3.20
13176 # FIXME: insert proper C++ library support
13177 ld_shlibs_CXX=no
13178 ;;
13179 *)
13180 # FIXME: insert proper C++ library support
13181 ld_shlibs_CXX=no
13182 ;;
13183 esac
13184 ;;
13185
13186 vxworks*)
13187 # FIXME: insert proper C++ library support
13188 ld_shlibs_CXX=no
13189 ;;
13190
13191 *)
13192 # FIXME: insert proper C++ library support
13193 ld_shlibs_CXX=no
13194 ;;
13195 esac
13196
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13198 $as_echo "$ld_shlibs_CXX" >&6; }
13199 test "$ld_shlibs_CXX" = no && can_build_shared=no
13200
13201 GCC_CXX="$GXX"
13202 LD_CXX="$LD"
13203
13204 ## CAVEAT EMPTOR:
13205 ## There is no encapsulation within the following macros, do not change
13206 ## the running order or otherwise move them around unless you know exactly
13207 ## what you are doing...
13208 # Dependencies to place before and after the object being linked:
13209 predep_objects_CXX=
13210 postdep_objects_CXX=
13211 predeps_CXX=
13212 postdeps_CXX=
13213 compiler_lib_search_path_CXX=
13214
13215 cat > conftest.$ac_ext <<_LT_EOF
13216 class Foo
13217 {
13218 public:
13219 Foo (void) { a = 0; }
13220 private:
13221 int a;
13222 };
13223 _LT_EOF
13224
13225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13226 (eval $ac_compile) 2>&5
13227 ac_status=$?
13228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13229 test $ac_status = 0; }; then
13230 # Parse the compiler output and extract the necessary
13231 # objects, libraries and library flags.
13232
13233 # Sentinel used to keep track of whether or not we are before
13234 # the conftest object file.
13235 pre_test_object_deps_done=no
13236
13237 for p in `eval "$output_verbose_link_cmd"`; do
13238 case $p in
13239
13240 -L* | -R* | -l*)
13241 # Some compilers place space between "-{L,R}" and the path.
13242 # Remove the space.
13243 if test $p = "-L" ||
13244 test $p = "-R"; then
13245 prev=$p
13246 continue
13247 else
13248 prev=
13249 fi
13250
13251 if test "$pre_test_object_deps_done" = no; then
13252 case $p in
13253 -L* | -R*)
13254 # Internal compiler library paths should come after those
13255 # provided the user. The postdeps already come after the
13256 # user supplied libs so there is no need to process them.
13257 if test -z "$compiler_lib_search_path_CXX"; then
13258 compiler_lib_search_path_CXX="${prev}${p}"
13259 else
13260 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13261 fi
13262 ;;
13263 # The "-l" case would never come before the object being
13264 # linked, so don't bother handling this case.
13265 esac
13266 else
13267 if test -z "$postdeps_CXX"; then
13268 postdeps_CXX="${prev}${p}"
13269 else
13270 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13271 fi
13272 fi
13273 ;;
13274
13275 *.$objext)
13276 # This assumes that the test object file only shows up
13277 # once in the compiler output.
13278 if test "$p" = "conftest.$objext"; then
13279 pre_test_object_deps_done=yes
13280 continue
13281 fi
13282
13283 if test "$pre_test_object_deps_done" = no; then
13284 if test -z "$predep_objects_CXX"; then
13285 predep_objects_CXX="$p"
13286 else
13287 predep_objects_CXX="$predep_objects_CXX $p"
13288 fi
13289 else
13290 if test -z "$postdep_objects_CXX"; then
13291 postdep_objects_CXX="$p"
13292 else
13293 postdep_objects_CXX="$postdep_objects_CXX $p"
13294 fi
13295 fi
13296 ;;
13297
13298 *) ;; # Ignore the rest.
13299
13300 esac
13301 done
13302
13303 # Clean up.
13304 rm -f a.out a.exe
13305 else
13306 echo "libtool.m4: error: problem compiling CXX test program"
13307 fi
13308
13309 $RM -f confest.$objext
13310
13311 # PORTME: override above test on systems where it is broken
13312 case $host_os in
13313 interix[3-9]*)
13314 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13315 # hack all around it, let's just trust "g++" to DTRT.
13316 predep_objects_CXX=
13317 postdep_objects_CXX=
13318 postdeps_CXX=
13319 ;;
13320
13321 linux*)
13322 case `$CC -V 2>&1 | sed 5q` in
13323 *Sun\ C*)
13324 # Sun C++ 5.9
13325
13326 # The more standards-conforming stlport4 library is
13327 # incompatible with the Cstd library. Avoid specifying
13328 # it if it's in CXXFLAGS. Ignore libCrun as
13329 # -library=stlport4 depends on it.
13330 case " $CXX $CXXFLAGS " in
13331 *" -library=stlport4 "*)
13332 solaris_use_stlport4=yes
13333 ;;
13334 esac
13335
13336 if test "$solaris_use_stlport4" != yes; then
13337 postdeps_CXX='-library=Cstd -library=Crun'
13338 fi
13339 ;;
13340 esac
13341 ;;
13342
13343 solaris*)
13344 case $cc_basename in
13345 CC*)
13346 # The more standards-conforming stlport4 library is
13347 # incompatible with the Cstd library. Avoid specifying
13348 # it if it's in CXXFLAGS. Ignore libCrun as
13349 # -library=stlport4 depends on it.
13350 case " $CXX $CXXFLAGS " in
13351 *" -library=stlport4 "*)
13352 solaris_use_stlport4=yes
13353 ;;
13354 esac
13355
13356 # Adding this requires a known-good setup of shared libraries for
13357 # Sun compiler versions before 5.6, else PIC objects from an old
13358 # archive will be linked into the output, leading to subtle bugs.
13359 if test "$solaris_use_stlport4" != yes; then
13360 postdeps_CXX='-library=Cstd -library=Crun'
13361 fi
13362 ;;
13363 esac
13364 ;;
13365 esac
13366
13367
13368 case " $postdeps_CXX " in
13369 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13370 esac
13371 compiler_lib_search_dirs_CXX=
13372 if test -n "${compiler_lib_search_path_CXX}"; then
13373 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13374 fi
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406 lt_prog_compiler_wl_CXX=
13407 lt_prog_compiler_pic_CXX=
13408 lt_prog_compiler_static_CXX=
13409
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13411 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13412
13413 # C++ specific cases for pic, static, wl, etc.
13414 if test "$GXX" = yes; then
13415 lt_prog_compiler_wl_CXX='-Wl,'
13416 lt_prog_compiler_static_CXX='-static'
13417
13418 case $host_os in
13419 aix*)
13420 # All AIX code is PIC.
13421 if test "$host_cpu" = ia64; then
13422 # AIX 5 now supports IA64 processor
13423 lt_prog_compiler_static_CXX='-Bstatic'
13424 fi
13425 lt_prog_compiler_pic_CXX='-fPIC'
13426 ;;
13427
13428 amigaos*)
13429 case $host_cpu in
13430 powerpc)
13431 # see comment about AmigaOS4 .so support
13432 lt_prog_compiler_pic_CXX='-fPIC'
13433 ;;
13434 m68k)
13435 # FIXME: we need at least 68020 code to build shared libraries, but
13436 # adding the `-m68020' flag to GCC prevents building anything better,
13437 # like `-m68040'.
13438 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13439 ;;
13440 esac
13441 ;;
13442
13443 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13444 # PIC is the default for these OSes.
13445 ;;
13446 mingw* | cygwin* | os2* | pw32* | cegcc*)
13447 # This hack is so that the source file can tell whether it is being
13448 # built for inclusion in a dll (and should export symbols for example).
13449 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13450 # (--disable-auto-import) libraries
13451 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13452 ;;
13453 darwin* | rhapsody*)
13454 # PIC is the default on this platform
13455 # Common symbols not allowed in MH_DYLIB files
13456 lt_prog_compiler_pic_CXX='-fno-common'
13457 ;;
13458 *djgpp*)
13459 # DJGPP does not support shared libraries at all
13460 lt_prog_compiler_pic_CXX=
13461 ;;
13462 haiku*)
13463 # PIC is the default for Haiku.
13464 # The "-static" flag exists, but is broken.
13465 lt_prog_compiler_static_CXX=
13466 ;;
13467 interix[3-9]*)
13468 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13469 # Instead, we relocate shared libraries at runtime.
13470 ;;
13471 sysv4*MP*)
13472 if test -d /usr/nec; then
13473 lt_prog_compiler_pic_CXX=-Kconform_pic
13474 fi
13475 ;;
13476 hpux*)
13477 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13478 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13479 # sets the default TLS model and affects inlining.
13480 case $host_cpu in
13481 hppa*64*)
13482 ;;
13483 *)
13484 lt_prog_compiler_pic_CXX='-fPIC'
13485 ;;
13486 esac
13487 ;;
13488 *qnx* | *nto*)
13489 # QNX uses GNU C++, but need to define -shared option too, otherwise
13490 # it will coredump.
13491 lt_prog_compiler_pic_CXX='-fPIC -shared'
13492 ;;
13493 *)
13494 lt_prog_compiler_pic_CXX='-fPIC'
13495 ;;
13496 esac
13497 else
13498 case $host_os in
13499 aix[4-9]*)
13500 # All AIX code is PIC.
13501 if test "$host_cpu" = ia64; then
13502 # AIX 5 now supports IA64 processor
13503 lt_prog_compiler_static_CXX='-Bstatic'
13504 else
13505 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13506 fi
13507 ;;
13508 chorus*)
13509 case $cc_basename in
13510 cxch68*)
13511 # Green Hills C++ Compiler
13512 # _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"
13513 ;;
13514 esac
13515 ;;
13516 dgux*)
13517 case $cc_basename in
13518 ec++*)
13519 lt_prog_compiler_pic_CXX='-KPIC'
13520 ;;
13521 ghcx*)
13522 # Green Hills C++ Compiler
13523 lt_prog_compiler_pic_CXX='-pic'
13524 ;;
13525 *)
13526 ;;
13527 esac
13528 ;;
13529 freebsd* | dragonfly*)
13530 # FreeBSD uses GNU C++
13531 ;;
13532 hpux9* | hpux10* | hpux11*)
13533 case $cc_basename in
13534 CC*)
13535 lt_prog_compiler_wl_CXX='-Wl,'
13536 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13537 if test "$host_cpu" != ia64; then
13538 lt_prog_compiler_pic_CXX='+Z'
13539 fi
13540 ;;
13541 aCC*)
13542 lt_prog_compiler_wl_CXX='-Wl,'
13543 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13544 case $host_cpu in
13545 hppa*64*|ia64*)
13546 # +Z the default
13547 ;;
13548 *)
13549 lt_prog_compiler_pic_CXX='+Z'
13550 ;;
13551 esac
13552 ;;
13553 *)
13554 ;;
13555 esac
13556 ;;
13557 interix*)
13558 # This is c89, which is MS Visual C++ (no shared libs)
13559 # Anyone wants to do a port?
13560 ;;
13561 irix5* | irix6* | nonstopux*)
13562 case $cc_basename in
13563 CC*)
13564 lt_prog_compiler_wl_CXX='-Wl,'
13565 lt_prog_compiler_static_CXX='-non_shared'
13566 # CC pic flag -KPIC is the default.
13567 ;;
13568 *)
13569 ;;
13570 esac
13571 ;;
13572 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13573 case $cc_basename in
13574 KCC*)
13575 # KAI C++ Compiler
13576 lt_prog_compiler_wl_CXX='--backend -Wl,'
13577 lt_prog_compiler_pic_CXX='-fPIC'
13578 ;;
13579 ecpc* )
13580 # old Intel C++ for x86_64 which still supported -KPIC.
13581 lt_prog_compiler_wl_CXX='-Wl,'
13582 lt_prog_compiler_pic_CXX='-KPIC'
13583 lt_prog_compiler_static_CXX='-static'
13584 ;;
13585 icpc* )
13586 # Intel C++, used to be incompatible with GCC.
13587 # ICC 10 doesn't accept -KPIC any more.
13588 lt_prog_compiler_wl_CXX='-Wl,'
13589 lt_prog_compiler_pic_CXX='-fPIC'
13590 lt_prog_compiler_static_CXX='-static'
13591 ;;
13592 pgCC* | pgcpp*)
13593 # Portland Group C++ compiler
13594 lt_prog_compiler_wl_CXX='-Wl,'
13595 lt_prog_compiler_pic_CXX='-fpic'
13596 lt_prog_compiler_static_CXX='-Bstatic'
13597 ;;
13598 cxx*)
13599 # Compaq C++
13600 # Make sure the PIC flag is empty. It appears that all Alpha
13601 # Linux and Compaq Tru64 Unix objects are PIC.
13602 lt_prog_compiler_pic_CXX=
13603 lt_prog_compiler_static_CXX='-non_shared'
13604 ;;
13605 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13606 # IBM XL 8.0, 9.0 on PPC and BlueGene
13607 lt_prog_compiler_wl_CXX='-Wl,'
13608 lt_prog_compiler_pic_CXX='-qpic'
13609 lt_prog_compiler_static_CXX='-qstaticlink'
13610 ;;
13611 *)
13612 case `$CC -V 2>&1 | sed 5q` in
13613 *Sun\ C*)
13614 # Sun C++ 5.9
13615 lt_prog_compiler_pic_CXX='-KPIC'
13616 lt_prog_compiler_static_CXX='-Bstatic'
13617 lt_prog_compiler_wl_CXX='-Qoption ld '
13618 ;;
13619 esac
13620 ;;
13621 esac
13622 ;;
13623 lynxos*)
13624 ;;
13625 m88k*)
13626 ;;
13627 mvs*)
13628 case $cc_basename in
13629 cxx*)
13630 lt_prog_compiler_pic_CXX='-W c,exportall'
13631 ;;
13632 *)
13633 ;;
13634 esac
13635 ;;
13636 netbsd*)
13637 ;;
13638 *qnx* | *nto*)
13639 # QNX uses GNU C++, but need to define -shared option too, otherwise
13640 # it will coredump.
13641 lt_prog_compiler_pic_CXX='-fPIC -shared'
13642 ;;
13643 osf3* | osf4* | osf5*)
13644 case $cc_basename in
13645 KCC*)
13646 lt_prog_compiler_wl_CXX='--backend -Wl,'
13647 ;;
13648 RCC*)
13649 # Rational C++ 2.4.1
13650 lt_prog_compiler_pic_CXX='-pic'
13651 ;;
13652 cxx*)
13653 # Digital/Compaq C++
13654 lt_prog_compiler_wl_CXX='-Wl,'
13655 # Make sure the PIC flag is empty. It appears that all Alpha
13656 # Linux and Compaq Tru64 Unix objects are PIC.
13657 lt_prog_compiler_pic_CXX=
13658 lt_prog_compiler_static_CXX='-non_shared'
13659 ;;
13660 *)
13661 ;;
13662 esac
13663 ;;
13664 psos*)
13665 ;;
13666 solaris*)
13667 case $cc_basename in
13668 CC*)
13669 # Sun C++ 4.2, 5.x and Centerline C++
13670 lt_prog_compiler_pic_CXX='-KPIC'
13671 lt_prog_compiler_static_CXX='-Bstatic'
13672 lt_prog_compiler_wl_CXX='-Qoption ld '
13673 ;;
13674 gcx*)
13675 # Green Hills C++ Compiler
13676 lt_prog_compiler_pic_CXX='-PIC'
13677 ;;
13678 *)
13679 ;;
13680 esac
13681 ;;
13682 sunos4*)
13683 case $cc_basename in
13684 CC*)
13685 # Sun C++ 4.x
13686 lt_prog_compiler_pic_CXX='-pic'
13687 lt_prog_compiler_static_CXX='-Bstatic'
13688 ;;
13689 lcc*)
13690 # Lucid
13691 lt_prog_compiler_pic_CXX='-pic'
13692 ;;
13693 *)
13694 ;;
13695 esac
13696 ;;
13697 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13698 case $cc_basename in
13699 CC*)
13700 lt_prog_compiler_wl_CXX='-Wl,'
13701 lt_prog_compiler_pic_CXX='-KPIC'
13702 lt_prog_compiler_static_CXX='-Bstatic'
13703 ;;
13704 esac
13705 ;;
13706 tandem*)
13707 case $cc_basename in
13708 NCC*)
13709 # NonStop-UX NCC 3.20
13710 lt_prog_compiler_pic_CXX='-KPIC'
13711 ;;
13712 *)
13713 ;;
13714 esac
13715 ;;
13716 vxworks*)
13717 ;;
13718 *)
13719 lt_prog_compiler_can_build_shared_CXX=no
13720 ;;
13721 esac
13722 fi
13723
13724 case $host_os in
13725 # For platforms which do not support PIC, -DPIC is meaningless:
13726 *djgpp*)
13727 lt_prog_compiler_pic_CXX=
13728 ;;
13729 *)
13730 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13731 ;;
13732 esac
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13734 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13735
13736
13737
13738 #
13739 # Check to make sure the PIC flag actually works.
13740 #
13741 if test -n "$lt_prog_compiler_pic_CXX"; then
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13743 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13744 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13745 $as_echo_n "(cached) " >&6
13746 else
13747 lt_cv_prog_compiler_pic_works_CXX=no
13748 ac_outfile=conftest.$ac_objext
13749 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13750 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13751 # Insert the option either (1) after the last *FLAGS variable, or
13752 # (2) before a word containing "conftest.", or (3) at the end.
13753 # Note that $ac_compile itself does not contain backslashes and begins
13754 # with a dollar sign (not a hyphen), so the echo should work correctly.
13755 # The option is referenced via a variable to avoid confusing sed.
13756 lt_compile=`echo "$ac_compile" | $SED \
13757 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13758 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13759 -e 's:$: $lt_compiler_flag:'`
13760 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13761 (eval "$lt_compile" 2>conftest.err)
13762 ac_status=$?
13763 cat conftest.err >&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 if (exit $ac_status) && test -s "$ac_outfile"; then
13766 # The compiler can only warn and ignore the option if not recognized
13767 # So say no if there are warnings other than the usual output.
13768 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13769 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13770 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13771 lt_cv_prog_compiler_pic_works_CXX=yes
13772 fi
13773 fi
13774 $RM conftest*
13775
13776 fi
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13778 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13779
13780 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13781 case $lt_prog_compiler_pic_CXX in
13782 "" | " "*) ;;
13783 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13784 esac
13785 else
13786 lt_prog_compiler_pic_CXX=
13787 lt_prog_compiler_can_build_shared_CXX=no
13788 fi
13789
13790 fi
13791
13792
13793
13794 #
13795 # Check to make sure the static flag actually works.
13796 #
13797 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13799 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13800 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13801 $as_echo_n "(cached) " >&6
13802 else
13803 lt_cv_prog_compiler_static_works_CXX=no
13804 save_LDFLAGS="$LDFLAGS"
13805 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13806 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13807 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13808 # The linker can only warn and ignore the option if not recognized
13809 # So say no if there are warnings
13810 if test -s conftest.err; then
13811 # Append any errors to the config.log.
13812 cat conftest.err 1>&5
13813 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13814 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13815 if diff conftest.exp conftest.er2 >/dev/null; then
13816 lt_cv_prog_compiler_static_works_CXX=yes
13817 fi
13818 else
13819 lt_cv_prog_compiler_static_works_CXX=yes
13820 fi
13821 fi
13822 $RM -r conftest*
13823 LDFLAGS="$save_LDFLAGS"
13824
13825 fi
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13827 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13828
13829 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13830 :
13831 else
13832 lt_prog_compiler_static_CXX=
13833 fi
13834
13835
13836
13837
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13839 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13840 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13841 $as_echo_n "(cached) " >&6
13842 else
13843 lt_cv_prog_compiler_c_o_CXX=no
13844 $RM -r conftest 2>/dev/null
13845 mkdir conftest
13846 cd conftest
13847 mkdir out
13848 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13849
13850 lt_compiler_flag="-o out/conftest2.$ac_objext"
13851 # Insert the option either (1) after the last *FLAGS variable, or
13852 # (2) before a word containing "conftest.", or (3) at the end.
13853 # Note that $ac_compile itself does not contain backslashes and begins
13854 # with a dollar sign (not a hyphen), so the echo should work correctly.
13855 lt_compile=`echo "$ac_compile" | $SED \
13856 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13857 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13858 -e 's:$: $lt_compiler_flag:'`
13859 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13860 (eval "$lt_compile" 2>out/conftest.err)
13861 ac_status=$?
13862 cat out/conftest.err >&5
13863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13865 then
13866 # The compiler can only warn and ignore the option if not recognized
13867 # So say no if there are warnings
13868 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13869 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13870 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13871 lt_cv_prog_compiler_c_o_CXX=yes
13872 fi
13873 fi
13874 chmod u+w . 2>&5
13875 $RM conftest*
13876 # SGI C++ compiler will create directory out/ii_files/ for
13877 # template instantiation
13878 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13879 $RM out/* && rmdir out
13880 cd ..
13881 $RM -r conftest
13882 $RM conftest*
13883
13884 fi
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13886 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13887
13888
13889
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13891 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13892 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 lt_cv_prog_compiler_c_o_CXX=no
13896 $RM -r conftest 2>/dev/null
13897 mkdir conftest
13898 cd conftest
13899 mkdir out
13900 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13901
13902 lt_compiler_flag="-o out/conftest2.$ac_objext"
13903 # Insert the option either (1) after the last *FLAGS variable, or
13904 # (2) before a word containing "conftest.", or (3) at the end.
13905 # Note that $ac_compile itself does not contain backslashes and begins
13906 # with a dollar sign (not a hyphen), so the echo should work correctly.
13907 lt_compile=`echo "$ac_compile" | $SED \
13908 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13909 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13910 -e 's:$: $lt_compiler_flag:'`
13911 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13912 (eval "$lt_compile" 2>out/conftest.err)
13913 ac_status=$?
13914 cat out/conftest.err >&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13917 then
13918 # The compiler can only warn and ignore the option if not recognized
13919 # So say no if there are warnings
13920 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13921 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13922 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13923 lt_cv_prog_compiler_c_o_CXX=yes
13924 fi
13925 fi
13926 chmod u+w . 2>&5
13927 $RM conftest*
13928 # SGI C++ compiler will create directory out/ii_files/ for
13929 # template instantiation
13930 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13931 $RM out/* && rmdir out
13932 cd ..
13933 $RM -r conftest
13934 $RM conftest*
13935
13936 fi
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13938 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13939
13940
13941
13942
13943 hard_links="nottested"
13944 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13945 # do not overwrite the value of need_locks provided by the user
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13947 $as_echo_n "checking if we can lock with hard links... " >&6; }
13948 hard_links=yes
13949 $RM conftest*
13950 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13951 touch conftest.a
13952 ln conftest.a conftest.b 2>&5 || hard_links=no
13953 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13955 $as_echo "$hard_links" >&6; }
13956 if test "$hard_links" = no; then
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13958 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13959 need_locks=warn
13960 fi
13961 else
13962 need_locks=no
13963 fi
13964
13965
13966
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13968 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13969
13970 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13971 case $host_os in
13972 aix[4-9]*)
13973 # If we're using GNU nm, then we don't want the "-C" option.
13974 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13975 # Also, AIX nm treats weak defined symbols like other global defined
13976 # symbols, whereas GNU nm marks them as "W".
13977 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13978 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'
13979 else
13980 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'
13981 fi
13982 ;;
13983 pw32*)
13984 export_symbols_cmds_CXX="$ltdll_cmds"
13985 ;;
13986 cygwin* | mingw* | cegcc*)
13987 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'
13988 ;;
13989 *)
13990 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13991 ;;
13992 esac
13993 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13994
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13996 $as_echo "$ld_shlibs_CXX" >&6; }
13997 test "$ld_shlibs_CXX" = no && can_build_shared=no
13998
13999 with_gnu_ld_CXX=$with_gnu_ld
14000
14001
14002
14003
14004
14005
14006 #
14007 # Do we need to explicitly link libc?
14008 #
14009 case "x$archive_cmds_need_lc_CXX" in
14010 x|xyes)
14011 # Assume -lc should be added
14012 archive_cmds_need_lc_CXX=yes
14013
14014 if test "$enable_shared" = yes && test "$GCC" = yes; then
14015 case $archive_cmds_CXX in
14016 *'~'*)
14017 # FIXME: we may have to deal with multi-command sequences.
14018 ;;
14019 '$CC '*)
14020 # Test whether the compiler implicitly links with -lc since on some
14021 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14022 # to ld, don't add -lc before -lgcc.
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14024 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14025 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14026 $as_echo_n "(cached) " >&6
14027 else
14028 $RM conftest*
14029 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14030
14031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14032 (eval $ac_compile) 2>&5
14033 ac_status=$?
14034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14035 test $ac_status = 0; } 2>conftest.err; then
14036 soname=conftest
14037 lib=conftest
14038 libobjs=conftest.$ac_objext
14039 deplibs=
14040 wl=$lt_prog_compiler_wl_CXX
14041 pic_flag=$lt_prog_compiler_pic_CXX
14042 compiler_flags=-v
14043 linker_flags=-v
14044 verstring=
14045 output_objdir=.
14046 libname=conftest
14047 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14048 allow_undefined_flag_CXX=
14049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14050 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14051 ac_status=$?
14052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14053 test $ac_status = 0; }
14054 then
14055 lt_cv_archive_cmds_need_lc_CXX=no
14056 else
14057 lt_cv_archive_cmds_need_lc_CXX=yes
14058 fi
14059 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14060 else
14061 cat conftest.err 1>&5
14062 fi
14063 $RM conftest*
14064
14065 fi
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14067 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14068 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14069 ;;
14070 esac
14071 fi
14072 ;;
14073 esac
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
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14139 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14140
14141 library_names_spec=
14142 libname_spec='lib$name'
14143 soname_spec=
14144 shrext_cmds=".so"
14145 postinstall_cmds=
14146 postuninstall_cmds=
14147 finish_cmds=
14148 finish_eval=
14149 shlibpath_var=
14150 shlibpath_overrides_runpath=unknown
14151 version_type=none
14152 dynamic_linker="$host_os ld.so"
14153 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14154 need_lib_prefix=unknown
14155 hardcode_into_libs=no
14156
14157 # when you set need_version to no, make sure it does not cause -set_version
14158 # flags to be left without arguments
14159 need_version=unknown
14160
14161 case $host_os in
14162 aix3*)
14163 version_type=linux
14164 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14165 shlibpath_var=LIBPATH
14166
14167 # AIX 3 has no versioning support, so we append a major version to the name.
14168 soname_spec='${libname}${release}${shared_ext}$major'
14169 ;;
14170
14171 aix[4-9]*)
14172 version_type=linux
14173 need_lib_prefix=no
14174 need_version=no
14175 hardcode_into_libs=yes
14176 if test "$host_cpu" = ia64; then
14177 # AIX 5 supports IA64
14178 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14179 shlibpath_var=LD_LIBRARY_PATH
14180 else
14181 # With GCC up to 2.95.x, collect2 would create an import file
14182 # for dependence libraries. The import file would start with
14183 # the line `#! .'. This would cause the generated library to
14184 # depend on `.', always an invalid library. This was fixed in
14185 # development snapshots of GCC prior to 3.0.
14186 case $host_os in
14187 aix4 | aix4.[01] | aix4.[01].*)
14188 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14189 echo ' yes '
14190 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14191 :
14192 else
14193 can_build_shared=no
14194 fi
14195 ;;
14196 esac
14197 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14198 # soname into executable. Probably we can add versioning support to
14199 # collect2, so additional links can be useful in future.
14200 if test "$aix_use_runtimelinking" = yes; then
14201 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14202 # instead of lib<name>.a to let people know that these are not
14203 # typical AIX shared libraries.
14204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14205 else
14206 # We preserve .a as extension for shared libraries through AIX4.2
14207 # and later when we are not doing run time linking.
14208 library_names_spec='${libname}${release}.a $libname.a'
14209 soname_spec='${libname}${release}${shared_ext}$major'
14210 fi
14211 shlibpath_var=LIBPATH
14212 fi
14213 ;;
14214
14215 amigaos*)
14216 case $host_cpu in
14217 powerpc)
14218 # Since July 2007 AmigaOS4 officially supports .so libraries.
14219 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14221 ;;
14222 m68k)
14223 library_names_spec='$libname.ixlibrary $libname.a'
14224 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14225 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'
14226 ;;
14227 esac
14228 ;;
14229
14230 beos*)
14231 library_names_spec='${libname}${shared_ext}'
14232 dynamic_linker="$host_os ld.so"
14233 shlibpath_var=LIBRARY_PATH
14234 ;;
14235
14236 bsdi[45]*)
14237 version_type=linux
14238 need_version=no
14239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14240 soname_spec='${libname}${release}${shared_ext}$major'
14241 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14242 shlibpath_var=LD_LIBRARY_PATH
14243 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14244 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14245 # the default ld.so.conf also contains /usr/contrib/lib and
14246 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14247 # libtool to hard-code these into programs
14248 ;;
14249
14250 cygwin* | mingw* | pw32* | cegcc*)
14251 version_type=windows
14252 shrext_cmds=".dll"
14253 need_version=no
14254 need_lib_prefix=no
14255
14256 case $GCC,$host_os in
14257 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14258 library_names_spec='$libname.dll.a'
14259 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14260 postinstall_cmds='base_file=`basename \${file}`~
14261 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14262 dldir=$destdir/`dirname \$dlpath`~
14263 test -d \$dldir || mkdir -p \$dldir~
14264 $install_prog $dir/$dlname \$dldir/$dlname~
14265 chmod a+x \$dldir/$dlname~
14266 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14267 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14268 fi'
14269 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14270 dlpath=$dir/\$dldll~
14271 $RM \$dlpath'
14272 shlibpath_overrides_runpath=yes
14273
14274 case $host_os in
14275 cygwin*)
14276 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14277 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14278
14279 ;;
14280 mingw* | cegcc*)
14281 # MinGW DLLs use traditional 'lib' prefix
14282 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14283 ;;
14284 pw32*)
14285 # pw32 DLLs use 'pw' prefix rather than 'lib'
14286 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14287 ;;
14288 esac
14289 ;;
14290
14291 *)
14292 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14293 ;;
14294 esac
14295 dynamic_linker='Win32 ld.exe'
14296 # FIXME: first we should search . and the directory the executable is in
14297 shlibpath_var=PATH
14298 ;;
14299
14300 darwin* | rhapsody*)
14301 dynamic_linker="$host_os dyld"
14302 version_type=darwin
14303 need_lib_prefix=no
14304 need_version=no
14305 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14306 soname_spec='${libname}${release}${major}$shared_ext'
14307 shlibpath_overrides_runpath=yes
14308 shlibpath_var=DYLD_LIBRARY_PATH
14309 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14310
14311 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14312 ;;
14313
14314 dgux*)
14315 version_type=linux
14316 need_lib_prefix=no
14317 need_version=no
14318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14319 soname_spec='${libname}${release}${shared_ext}$major'
14320 shlibpath_var=LD_LIBRARY_PATH
14321 ;;
14322
14323 freebsd* | dragonfly*)
14324 # DragonFly does not have aout. When/if they implement a new
14325 # versioning mechanism, adjust this.
14326 if test -x /usr/bin/objformat; then
14327 objformat=`/usr/bin/objformat`
14328 else
14329 case $host_os in
14330 freebsd[23].*) objformat=aout ;;
14331 *) objformat=elf ;;
14332 esac
14333 fi
14334 version_type=freebsd-$objformat
14335 case $version_type in
14336 freebsd-elf*)
14337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14338 need_version=no
14339 need_lib_prefix=no
14340 ;;
14341 freebsd-*)
14342 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14343 need_version=yes
14344 ;;
14345 esac
14346 shlibpath_var=LD_LIBRARY_PATH
14347 case $host_os in
14348 freebsd2.*)
14349 shlibpath_overrides_runpath=yes
14350 ;;
14351 freebsd3.[01]* | freebsdelf3.[01]*)
14352 shlibpath_overrides_runpath=yes
14353 hardcode_into_libs=yes
14354 ;;
14355 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14356 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14357 shlibpath_overrides_runpath=no
14358 hardcode_into_libs=yes
14359 ;;
14360 *) # from 4.6 on, and DragonFly
14361 shlibpath_overrides_runpath=yes
14362 hardcode_into_libs=yes
14363 ;;
14364 esac
14365 ;;
14366
14367 gnu*)
14368 version_type=linux
14369 need_lib_prefix=no
14370 need_version=no
14371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14372 soname_spec='${libname}${release}${shared_ext}$major'
14373 shlibpath_var=LD_LIBRARY_PATH
14374 hardcode_into_libs=yes
14375 ;;
14376
14377 haiku*)
14378 version_type=linux
14379 need_lib_prefix=no
14380 need_version=no
14381 dynamic_linker="$host_os runtime_loader"
14382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14383 soname_spec='${libname}${release}${shared_ext}$major'
14384 shlibpath_var=LIBRARY_PATH
14385 shlibpath_overrides_runpath=yes
14386 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14387 hardcode_into_libs=yes
14388 ;;
14389
14390 hpux9* | hpux10* | hpux11*)
14391 # Give a soname corresponding to the major version so that dld.sl refuses to
14392 # link against other versions.
14393 version_type=sunos
14394 need_lib_prefix=no
14395 need_version=no
14396 case $host_cpu in
14397 ia64*)
14398 shrext_cmds='.so'
14399 hardcode_into_libs=yes
14400 dynamic_linker="$host_os dld.so"
14401 shlibpath_var=LD_LIBRARY_PATH
14402 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14404 soname_spec='${libname}${release}${shared_ext}$major'
14405 if test "X$HPUX_IA64_MODE" = X32; then
14406 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14407 else
14408 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14409 fi
14410 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14411 ;;
14412 hppa*64*)
14413 shrext_cmds='.sl'
14414 hardcode_into_libs=yes
14415 dynamic_linker="$host_os dld.sl"
14416 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14417 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14419 soname_spec='${libname}${release}${shared_ext}$major'
14420 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14421 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14422 ;;
14423 *)
14424 shrext_cmds='.sl'
14425 dynamic_linker="$host_os dld.sl"
14426 shlibpath_var=SHLIB_PATH
14427 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14429 soname_spec='${libname}${release}${shared_ext}$major'
14430 ;;
14431 esac
14432 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14433 postinstall_cmds='chmod 555 $lib'
14434 # or fails outright, so override atomically:
14435 install_override_mode=555
14436 ;;
14437
14438 interix[3-9]*)
14439 version_type=linux
14440 need_lib_prefix=no
14441 need_version=no
14442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14443 soname_spec='${libname}${release}${shared_ext}$major'
14444 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14445 shlibpath_var=LD_LIBRARY_PATH
14446 shlibpath_overrides_runpath=no
14447 hardcode_into_libs=yes
14448 ;;
14449
14450 irix5* | irix6* | nonstopux*)
14451 case $host_os in
14452 nonstopux*) version_type=nonstopux ;;
14453 *)
14454 if test "$lt_cv_prog_gnu_ld" = yes; then
14455 version_type=linux
14456 else
14457 version_type=irix
14458 fi ;;
14459 esac
14460 need_lib_prefix=no
14461 need_version=no
14462 soname_spec='${libname}${release}${shared_ext}$major'
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14464 case $host_os in
14465 irix5* | nonstopux*)
14466 libsuff= shlibsuff=
14467 ;;
14468 *)
14469 case $LD in # libtool.m4 will add one of these switches to LD
14470 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14471 libsuff= shlibsuff= libmagic=32-bit;;
14472 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14473 libsuff=32 shlibsuff=N32 libmagic=N32;;
14474 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14475 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14476 *) libsuff= shlibsuff= libmagic=never-match;;
14477 esac
14478 ;;
14479 esac
14480 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14481 shlibpath_overrides_runpath=no
14482 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14483 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14484 hardcode_into_libs=yes
14485 ;;
14486
14487 # No shared lib support for Linux oldld, aout, or coff.
14488 linux*oldld* | linux*aout* | linux*coff*)
14489 dynamic_linker=no
14490 ;;
14491
14492 # This must be Linux ELF.
14493 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14494 version_type=linux
14495 need_lib_prefix=no
14496 need_version=no
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498 soname_spec='${libname}${release}${shared_ext}$major'
14499 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14500 shlibpath_var=LD_LIBRARY_PATH
14501 shlibpath_overrides_runpath=no
14502
14503 # Some binutils ld are patched to set DT_RUNPATH
14504 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14505 $as_echo_n "(cached) " >&6
14506 else
14507 lt_cv_shlibpath_overrides_runpath=no
14508 save_LDFLAGS=$LDFLAGS
14509 save_libdir=$libdir
14510 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14511 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14512 if test x$gcc_no_link = xyes; then
14513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14514 fi
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14517
14518 int
14519 main ()
14520 {
14521
14522 ;
14523 return 0;
14524 }
14525 _ACEOF
14526 if ac_fn_cxx_try_link "$LINENO"; then :
14527 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14528 lt_cv_shlibpath_overrides_runpath=yes
14529 fi
14530 fi
14531 rm -f core conftest.err conftest.$ac_objext \
14532 conftest$ac_exeext conftest.$ac_ext
14533 LDFLAGS=$save_LDFLAGS
14534 libdir=$save_libdir
14535
14536 fi
14537
14538 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14539
14540 # This implies no fast_install, which is unacceptable.
14541 # Some rework will be needed to allow for fast_install
14542 # before this can be enabled.
14543 hardcode_into_libs=yes
14544
14545 # Append ld.so.conf contents to the search path
14546 if test -f /etc/ld.so.conf; then
14547 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' ' '`
14548 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14549 fi
14550
14551 # We used to test for /lib/ld.so.1 and disable shared libraries on
14552 # powerpc, because MkLinux only supported shared libraries with the
14553 # GNU dynamic linker. Since this was broken with cross compilers,
14554 # most powerpc-linux boxes support dynamic linking these days and
14555 # people can always --disable-shared, the test was removed, and we
14556 # assume the GNU/Linux dynamic linker is in use.
14557 dynamic_linker='GNU/Linux ld.so'
14558 ;;
14559
14560 netbsd*)
14561 version_type=sunos
14562 need_lib_prefix=no
14563 need_version=no
14564 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14566 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14567 dynamic_linker='NetBSD (a.out) ld.so'
14568 else
14569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14570 soname_spec='${libname}${release}${shared_ext}$major'
14571 dynamic_linker='NetBSD ld.elf_so'
14572 fi
14573 shlibpath_var=LD_LIBRARY_PATH
14574 shlibpath_overrides_runpath=yes
14575 hardcode_into_libs=yes
14576 ;;
14577
14578 newsos6)
14579 version_type=linux
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath=yes
14583 ;;
14584
14585 *nto* | *qnx*)
14586 version_type=qnx
14587 need_lib_prefix=no
14588 need_version=no
14589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14590 soname_spec='${libname}${release}${shared_ext}$major'
14591 shlibpath_var=LD_LIBRARY_PATH
14592 shlibpath_overrides_runpath=no
14593 hardcode_into_libs=yes
14594 dynamic_linker='ldqnx.so'
14595 ;;
14596
14597 openbsd*)
14598 version_type=sunos
14599 sys_lib_dlsearch_path_spec="/usr/lib"
14600 need_lib_prefix=no
14601 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14602 case $host_os in
14603 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14604 *) need_version=no ;;
14605 esac
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14607 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14608 shlibpath_var=LD_LIBRARY_PATH
14609 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14610 case $host_os in
14611 openbsd2.[89] | openbsd2.[89].*)
14612 shlibpath_overrides_runpath=no
14613 ;;
14614 *)
14615 shlibpath_overrides_runpath=yes
14616 ;;
14617 esac
14618 else
14619 shlibpath_overrides_runpath=yes
14620 fi
14621 ;;
14622
14623 os2*)
14624 libname_spec='$name'
14625 shrext_cmds=".dll"
14626 need_lib_prefix=no
14627 library_names_spec='$libname${shared_ext} $libname.a'
14628 dynamic_linker='OS/2 ld.exe'
14629 shlibpath_var=LIBPATH
14630 ;;
14631
14632 osf3* | osf4* | osf5*)
14633 version_type=osf
14634 need_lib_prefix=no
14635 need_version=no
14636 soname_spec='${libname}${release}${shared_ext}$major'
14637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14638 shlibpath_var=LD_LIBRARY_PATH
14639 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14640 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14641 ;;
14642
14643 rdos*)
14644 dynamic_linker=no
14645 ;;
14646
14647 solaris*)
14648 version_type=linux
14649 need_lib_prefix=no
14650 need_version=no
14651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14652 soname_spec='${libname}${release}${shared_ext}$major'
14653 shlibpath_var=LD_LIBRARY_PATH
14654 shlibpath_overrides_runpath=yes
14655 hardcode_into_libs=yes
14656 # ldd complains unless libraries are executable
14657 postinstall_cmds='chmod +x $lib'
14658 ;;
14659
14660 sunos4*)
14661 version_type=sunos
14662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14663 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14664 shlibpath_var=LD_LIBRARY_PATH
14665 shlibpath_overrides_runpath=yes
14666 if test "$with_gnu_ld" = yes; then
14667 need_lib_prefix=no
14668 fi
14669 need_version=yes
14670 ;;
14671
14672 sysv4 | sysv4.3*)
14673 version_type=linux
14674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14675 soname_spec='${libname}${release}${shared_ext}$major'
14676 shlibpath_var=LD_LIBRARY_PATH
14677 case $host_vendor in
14678 sni)
14679 shlibpath_overrides_runpath=no
14680 need_lib_prefix=no
14681 runpath_var=LD_RUN_PATH
14682 ;;
14683 siemens)
14684 need_lib_prefix=no
14685 ;;
14686 motorola)
14687 need_lib_prefix=no
14688 need_version=no
14689 shlibpath_overrides_runpath=no
14690 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14691 ;;
14692 esac
14693 ;;
14694
14695 sysv4*MP*)
14696 if test -d /usr/nec ;then
14697 version_type=linux
14698 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14699 soname_spec='$libname${shared_ext}.$major'
14700 shlibpath_var=LD_LIBRARY_PATH
14701 fi
14702 ;;
14703
14704 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14705 version_type=freebsd-elf
14706 need_lib_prefix=no
14707 need_version=no
14708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14709 soname_spec='${libname}${release}${shared_ext}$major'
14710 shlibpath_var=LD_LIBRARY_PATH
14711 shlibpath_overrides_runpath=yes
14712 hardcode_into_libs=yes
14713 if test "$with_gnu_ld" = yes; then
14714 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14715 else
14716 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14717 case $host_os in
14718 sco3.2v5*)
14719 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14720 ;;
14721 esac
14722 fi
14723 sys_lib_dlsearch_path_spec='/usr/lib'
14724 ;;
14725
14726 tpf*)
14727 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14728 version_type=linux
14729 need_lib_prefix=no
14730 need_version=no
14731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732 shlibpath_var=LD_LIBRARY_PATH
14733 shlibpath_overrides_runpath=no
14734 hardcode_into_libs=yes
14735 ;;
14736
14737 uts4*)
14738 version_type=linux
14739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14740 soname_spec='${libname}${release}${shared_ext}$major'
14741 shlibpath_var=LD_LIBRARY_PATH
14742 ;;
14743
14744 *)
14745 dynamic_linker=no
14746 ;;
14747 esac
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14749 $as_echo "$dynamic_linker" >&6; }
14750 test "$dynamic_linker" = no && can_build_shared=no
14751
14752 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14753 if test "$GCC" = yes; then
14754 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14755 fi
14756
14757 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14758 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14759 fi
14760 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14761 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14762 fi
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14802 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14803 hardcode_action_CXX=
14804 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14805 test -n "$runpath_var_CXX" ||
14806 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14807
14808 # We can hardcode non-existent directories.
14809 if test "$hardcode_direct_CXX" != no &&
14810 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14811 # have to relink, otherwise we might link with an installed library
14812 # when we should be linking with a yet-to-be-installed one
14813 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14814 test "$hardcode_minus_L_CXX" != no; then
14815 # Linking always hardcodes the temporary library directory.
14816 hardcode_action_CXX=relink
14817 else
14818 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14819 hardcode_action_CXX=immediate
14820 fi
14821 else
14822 # We cannot hardcode anything, or else we can only hardcode existing
14823 # directories.
14824 hardcode_action_CXX=unsupported
14825 fi
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14827 $as_echo "$hardcode_action_CXX" >&6; }
14828
14829 if test "$hardcode_action_CXX" = relink ||
14830 test "$inherit_rpath_CXX" = yes; then
14831 # Fast installation is not supported
14832 enable_fast_install=no
14833 elif test "$shlibpath_overrides_runpath" = yes ||
14834 test "$enable_shared" = no; then
14835 # Fast installation is not necessary
14836 enable_fast_install=needless
14837 fi
14838
14839
14840
14841
14842
14843
14844
14845 fi # test -n "$compiler"
14846
14847 CC=$lt_save_CC
14848 LDCXX=$LD
14849 LD=$lt_save_LD
14850 GCC=$lt_save_GCC
14851 with_gnu_ld=$lt_save_with_gnu_ld
14852 lt_cv_path_LDCXX=$lt_cv_path_LD
14853 lt_cv_path_LD=$lt_save_path_LD
14854 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14855 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14856 fi # test "$_lt_caught_CXX_error" != yes
14857
14858 ac_ext=c
14859 ac_cpp='$CPP $CPPFLAGS'
14860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876 ac_config_commands="$ac_config_commands libtool"
14877
14878
14879
14880
14881 # Only expand once:
14882
14883
14884
14885
14886
14887 case $host in
14888 *-cygwin* | *-mingw*)
14889 # 'host' will be top-level target in the case of a target lib,
14890 # we must compare to with_cross_host to decide if this is a native
14891 # or cross-compiler and select where to install dlls appropriately.
14892 if test -n "$with_cross_host" &&
14893 test x"$with_cross_host" != x"no"; then
14894 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14895 else
14896 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14897 fi
14898 ;;
14899 *)
14900 lt_host_flags=
14901 ;;
14902 esac
14903
14904
14905
14906
14907
14908
14909 # libtool variables for C++ shared and position-independent compiles.
14910 #
14911 # Use glibcxx_lt_pic_flag to designate the automake variable
14912 # used to encapsulate the default libtool approach to creating objects
14913 # with position-independent code. Default: -prefer-pic.
14914 #
14915 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14916 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14917 #
14918 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14919 # creating position-independent objects. This varies with the target
14920 # hardware and operating system, but is often: -DPIC -fPIC.
14921 if test "$enable_shared" = yes; then
14922 glibcxx_lt_pic_flag="-prefer-pic"
14923 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14924 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14925
14926 else
14927 glibcxx_lt_pic_flag=
14928 glibcxx_compiler_pic_flag=
14929 glibcxx_compiler_shared_flag=
14930 fi
14931
14932
14933
14934
14935 # Override the libtool's pic_flag and pic_mode.
14936 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14937 # NB: this impacts --with-pic and --without-pic.
14938 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14939 pic_mode='default'
14940
14941 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14942 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14943
14944 # Possibly disable most of the library.
14945 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14946 ## than just ignoring the results. Faster /and/ more correct, win win.
14947
14948 # Check whether --enable-hosted-libstdcxx was given.
14949 if test "${enable_hosted_libstdcxx+set}" = set; then :
14950 enableval=$enable_hosted_libstdcxx;
14951 else
14952 case "$host" in
14953 arm*-*-symbianelf*)
14954 enable_hosted_libstdcxx=no
14955 ;;
14956 *)
14957 enable_hosted_libstdcxx=yes
14958 ;;
14959 esac
14960 fi
14961
14962 if test "$enable_hosted_libstdcxx" = no; then
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14964 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14965 is_hosted=no
14966 hosted_define=0
14967 enable_abi_check=no
14968 enable_libstdcxx_pch=no
14969 else
14970 is_hosted=yes
14971 hosted_define=1
14972 fi
14973
14974
14975 cat >>confdefs.h <<_ACEOF
14976 #define _GLIBCXX_HOSTED $hosted_define
14977 _ACEOF
14978
14979
14980
14981 # Enable descriptive messages to standard output on termination.
14982
14983 # Check whether --enable-libstdcxx-verbose was given.
14984 if test "${enable_libstdcxx_verbose+set}" = set; then :
14985 enableval=$enable_libstdcxx_verbose;
14986 else
14987 enable_libstdcxx_verbose=yes
14988 fi
14989
14990 if test x"$enable_libstdcxx_verbose" = xyes; then
14991 verbose_define=1
14992 else
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
14994 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
14995 verbose_define=0
14996 fi
14997
14998 cat >>confdefs.h <<_ACEOF
14999 #define _GLIBCXX_VERBOSE $verbose_define
15000 _ACEOF
15001
15002
15003
15004 # Enable compiler support that doesn't require linking.
15005
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15007 $as_echo_n "checking for exception model to use... " >&6; }
15008
15009 ac_ext=cpp
15010 ac_cpp='$CXXCPP $CPPFLAGS'
15011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15014
15015 # Check whether --enable-sjlj-exceptions was given.
15016 if test "${enable_sjlj_exceptions+set}" = set; then :
15017 enableval=$enable_sjlj_exceptions;
15018 case "$enableval" in
15019 yes|no|auto) ;;
15020 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15021 esac
15022
15023 else
15024 enable_sjlj_exceptions=auto
15025 fi
15026
15027
15028
15029 if test $enable_sjlj_exceptions = auto; then
15030 # Botheration. Now we've got to detect the exception model. Link tests
15031 # against libgcc.a are problematic since we've not been given proper -L
15032 # bits for single-tree newlib and libgloss.
15033 #
15034 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15035 cat > conftest.$ac_ext << EOF
15036 #line 15036 "configure"
15037 struct S { ~S(); };
15038 void bar();
15039 void foo()
15040 {
15041 S s;
15042 bar();
15043 }
15044 EOF
15045 old_CXXFLAGS="$CXXFLAGS"
15046 CXXFLAGS=-S
15047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15048 (eval $ac_compile) 2>&5
15049 ac_status=$?
15050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15051 test $ac_status = 0; }; then
15052 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15053 enable_sjlj_exceptions=yes
15054 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15055 enable_sjlj_exceptions=no
15056 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15057 enable_sjlj_exceptions=no
15058 fi
15059 fi
15060 CXXFLAGS="$old_CXXFLAGS"
15061 rm -f conftest*
15062 fi
15063
15064 # This is a tad weird, for hysterical raisins. We have to map
15065 # enable/disable to two different models.
15066 case $enable_sjlj_exceptions in
15067 yes)
15068
15069 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15070
15071 ac_exception_model_name=sjlj
15072 ;;
15073 no)
15074 ac_exception_model_name="call frame"
15075 ;;
15076 *)
15077 as_fn_error "unable to detect exception model" "$LINENO" 5
15078 ;;
15079 esac
15080 ac_ext=c
15081 ac_cpp='$CPP $CPPFLAGS'
15082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15085
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15087 $as_echo "$ac_exception_model_name" >&6; }
15088
15089
15090 # Check whether --enable-libstdcxx-pch was given.
15091 if test "${enable_libstdcxx_pch+set}" = set; then :
15092 enableval=$enable_libstdcxx_pch;
15093 case "$enableval" in
15094 yes|no) ;;
15095 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15096 esac
15097
15098 else
15099 enable_libstdcxx_pch=$is_hosted
15100 fi
15101
15102
15103 if test $enable_libstdcxx_pch = yes; then
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15105 $as_echo_n "checking for compiler with PCH support... " >&6; }
15106 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15107 $as_echo_n "(cached) " >&6
15108 else
15109 ac_save_CXXFLAGS="$CXXFLAGS"
15110 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15111
15112 ac_ext=cpp
15113 ac_cpp='$CXXCPP $CPPFLAGS'
15114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15117
15118 echo '#include <math.h>' > conftest.h
15119 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15120 -o conftest.h.gch 1>&5 2>&1 &&
15121 echo '#error "pch failed"' > conftest.h &&
15122 echo '#include "conftest.h"' > conftest.cc &&
15123 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15124 then
15125 glibcxx_cv_prog_CXX_pch=yes
15126 else
15127 glibcxx_cv_prog_CXX_pch=no
15128 fi
15129 rm -f conftest*
15130 CXXFLAGS=$ac_save_CXXFLAGS
15131 ac_ext=c
15132 ac_cpp='$CPP $CPPFLAGS'
15133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15136
15137
15138 fi
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15140 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15141 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15142 fi
15143
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15145 $as_echo_n "checking for enabled PCH... " >&6; }
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15147 $as_echo "$enable_libstdcxx_pch" >&6; }
15148
15149
15150 if test $enable_libstdcxx_pch = yes; then
15151 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15152 else
15153 glibcxx_PCHFLAGS=""
15154 fi
15155
15156
15157
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15159 $as_echo_n "checking for thread model used by GCC... " >&6; }
15160 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15162 $as_echo "$target_thread_file" >&6; }
15163
15164 case $target_thread_file in
15165 aix) thread_header=config/rs6000/gthr-aix.h ;;
15166 dce) thread_header=config/pa/gthr-dce.h ;;
15167 lynx) thread_header=config/gthr-lynx.h ;;
15168 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15169 posix) thread_header=gthr-posix.h ;;
15170 rtems) thread_header=config/gthr-rtems.h ;;
15171 single) thread_header=gthr-single.h ;;
15172 tpf) thread_header=config/s390/gthr-tpf.h ;;
15173 vxworks) thread_header=config/gthr-vxworks.h ;;
15174 win32) thread_header=config/i386/gthr-win32.h ;;
15175 esac
15176
15177
15178
15179
15180
15181 ac_ext=cpp
15182 ac_cpp='$CXXCPP $CPPFLAGS'
15183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15186
15187 old_CXXFLAGS="$CXXFLAGS"
15188
15189 # Do link tests if possible, instead asm tests, limited to some platforms
15190 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15191 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15192 atomic_builtins_link_tests=no
15193 if test x$gcc_no_link != xyes; then
15194 # Can do link tests. Limit to some tested platforms
15195 case "$host" in
15196 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15197 atomic_builtins_link_tests=yes
15198 ;;
15199 esac
15200 fi
15201
15202 if test x$atomic_builtins_link_tests = xyes; then
15203
15204 # Do link tests.
15205
15206 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15207
15208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15209 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15210 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15211 $as_echo_n "(cached) " >&6
15212 else
15213
15214 if test x$gcc_no_link = xyes; then
15215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15216 fi
15217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15218 /* end confdefs.h. */
15219
15220 int
15221 main ()
15222 {
15223 typedef bool atomic_type;
15224 atomic_type c1;
15225 atomic_type c2;
15226 atomic_type c3(0);
15227 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15228 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15229 __ATOMIC_RELAXED);
15230 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15231 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15232
15233 ;
15234 return 0;
15235 }
15236 _ACEOF
15237 if ac_fn_cxx_try_link "$LINENO"; then :
15238 glibcxx_cv_atomic_bool=yes
15239 else
15240 glibcxx_cv_atomic_bool=no
15241 fi
15242 rm -f core conftest.err conftest.$ac_objext \
15243 conftest$ac_exeext conftest.$ac_ext
15244
15245 fi
15246
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15248 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15249
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15251 $as_echo_n "checking for atomic builtins for short... " >&6; }
15252 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15253 $as_echo_n "(cached) " >&6
15254 else
15255
15256 if test x$gcc_no_link = xyes; then
15257 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15258 fi
15259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15260 /* end confdefs.h. */
15261
15262 int
15263 main ()
15264 {
15265 typedef short atomic_type;
15266 atomic_type c1;
15267 atomic_type c2;
15268 atomic_type c3(0);
15269 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15270 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15271 __ATOMIC_RELAXED);
15272 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15273 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15274
15275 ;
15276 return 0;
15277 }
15278 _ACEOF
15279 if ac_fn_cxx_try_link "$LINENO"; then :
15280 glibcxx_cv_atomic_short=yes
15281 else
15282 glibcxx_cv_atomic_short=no
15283 fi
15284 rm -f core conftest.err conftest.$ac_objext \
15285 conftest$ac_exeext conftest.$ac_ext
15286
15287 fi
15288
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15290 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15291
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15293 $as_echo_n "checking for atomic builtins for int... " >&6; }
15294 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15295 $as_echo_n "(cached) " >&6
15296 else
15297
15298 if test x$gcc_no_link = xyes; then
15299 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15300 fi
15301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15302 /* end confdefs.h. */
15303
15304 int
15305 main ()
15306 {
15307 typedef int atomic_type;
15308 atomic_type c1;
15309 atomic_type c2;
15310 atomic_type c3(0);
15311 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15312 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15313 __ATOMIC_RELAXED);
15314 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15315 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15316
15317 ;
15318 return 0;
15319 }
15320 _ACEOF
15321 if ac_fn_cxx_try_link "$LINENO"; then :
15322 glibcxx_cv_atomic_int=yes
15323 else
15324 glibcxx_cv_atomic_int=no
15325 fi
15326 rm -f core conftest.err conftest.$ac_objext \
15327 conftest$ac_exeext conftest.$ac_ext
15328
15329 fi
15330
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15332 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15333
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15335 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15336 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15337 $as_echo_n "(cached) " >&6
15338 else
15339
15340 if test x$gcc_no_link = xyes; then
15341 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15342 fi
15343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15344 /* end confdefs.h. */
15345
15346 int
15347 main ()
15348 {
15349 typedef long long atomic_type;
15350 atomic_type c1;
15351 atomic_type c2;
15352 atomic_type c3(0);
15353 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15354 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15355 __ATOMIC_RELAXED);
15356 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15357 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15358
15359 ;
15360 return 0;
15361 }
15362 _ACEOF
15363 if ac_fn_cxx_try_link "$LINENO"; then :
15364 glibcxx_cv_atomic_long_long=yes
15365 else
15366 glibcxx_cv_atomic_long_long=no
15367 fi
15368 rm -f core conftest.err conftest.$ac_objext \
15369 conftest$ac_exeext conftest.$ac_ext
15370
15371 fi
15372
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15374 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15375
15376 else
15377
15378 # Do asm tests.
15379
15380 # Compile unoptimized.
15381 CXXFLAGS='-O0 -S'
15382
15383 # Fake what AC_TRY_COMPILE does.
15384
15385 cat > conftest.$ac_ext << EOF
15386 #line 15386 "configure"
15387 int main()
15388 {
15389 typedef bool atomic_type;
15390 atomic_type c1;
15391 atomic_type c2;
15392 atomic_type c3(0);
15393 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15394 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15395 __ATOMIC_RELAXED);
15396 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15397 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15398
15399 return 0;
15400 }
15401 EOF
15402
15403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15404 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15405 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15406 (eval $ac_compile) 2>&5
15407 ac_status=$?
15408 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15409 test $ac_status = 0; }; then
15410 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15411 glibcxx_cv_atomic_bool=no
15412 else
15413 glibcxx_cv_atomic_bool=yes
15414 fi
15415 fi
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15417 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15418 rm -f conftest*
15419
15420 cat > conftest.$ac_ext << EOF
15421 #line 15421 "configure"
15422 int main()
15423 {
15424 typedef short atomic_type;
15425 atomic_type c1;
15426 atomic_type c2;
15427 atomic_type c3(0);
15428 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15429 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15430 __ATOMIC_RELAXED);
15431 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15432 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15433
15434 return 0;
15435 }
15436 EOF
15437
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15439 $as_echo_n "checking for atomic builtins for short... " >&6; }
15440 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15441 (eval $ac_compile) 2>&5
15442 ac_status=$?
15443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15444 test $ac_status = 0; }; then
15445 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15446 glibcxx_cv_atomic_short=no
15447 else
15448 glibcxx_cv_atomic_short=yes
15449 fi
15450 fi
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15452 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15453 rm -f conftest*
15454
15455 cat > conftest.$ac_ext << EOF
15456 #line 15456 "configure"
15457 int main()
15458 {
15459 // NB: _Atomic_word not necessarily int.
15460 typedef int atomic_type;
15461 atomic_type c1;
15462 atomic_type c2;
15463 atomic_type c3(0);
15464 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15465 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15466 __ATOMIC_RELAXED);
15467 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15468 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15469
15470 return 0;
15471 }
15472 EOF
15473
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15475 $as_echo_n "checking for atomic builtins for int... " >&6; }
15476 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15477 (eval $ac_compile) 2>&5
15478 ac_status=$?
15479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15480 test $ac_status = 0; }; then
15481 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15482 glibcxx_cv_atomic_int=no
15483 else
15484 glibcxx_cv_atomic_int=yes
15485 fi
15486 fi
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15488 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15489 rm -f conftest*
15490
15491 cat > conftest.$ac_ext << EOF
15492 #line 15492 "configure"
15493 int main()
15494 {
15495 typedef long long atomic_type;
15496 atomic_type c1;
15497 atomic_type c2;
15498 atomic_type c3(0);
15499 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15500 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15501 __ATOMIC_RELAXED);
15502 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15503 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15504
15505 return 0;
15506 }
15507 EOF
15508
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15510 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15511 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15512 (eval $ac_compile) 2>&5
15513 ac_status=$?
15514 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15515 test $ac_status = 0; }; then
15516 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15517 glibcxx_cv_atomic_long_long=no
15518 else
15519 glibcxx_cv_atomic_long_long=yes
15520 fi
15521 fi
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15523 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15524 rm -f conftest*
15525
15526 fi
15527
15528 CXXFLAGS="$old_CXXFLAGS"
15529 ac_ext=c
15530 ac_cpp='$CPP $CPPFLAGS'
15531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15534
15535
15536 # Set atomicity_dir to builtins if all but the long long test above passes.
15537 if test $glibcxx_cv_atomic_bool = yes \
15538 && test $glibcxx_cv_atomic_short = yes \
15539 && test $glibcxx_cv_atomic_int = yes; then
15540
15541 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15542
15543 atomicity_dir=cpu/generic/atomicity_builtins
15544 fi
15545
15546 # If still generic, set to mutex.
15547 if test $atomicity_dir = "cpu/generic" ; then
15548 atomicity_dir=cpu/generic/atomicity_mutex
15549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15550 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15551 if test "x$target_thread_file" = xsingle; then
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15553 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15555 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15556 else
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15558 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15560 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15561 fi
15562 fi
15563
15564
15565
15566
15567 # Fake what AC_TRY_COMPILE does, without linking as this is
15568 # unnecessary for this test.
15569
15570 cat > conftest.$ac_ext << EOF
15571 #line 15571 "configure"
15572 int main()
15573 {
15574 _Decimal32 d1;
15575 _Decimal64 d2;
15576 _Decimal128 d3;
15577 return 0;
15578 }
15579 EOF
15580
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15582 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15583 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15584 (eval $ac_compile) 2>&5
15585 ac_status=$?
15586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15587 test $ac_status = 0; }; then
15588
15589 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15590
15591 enable_dfp=yes
15592 else
15593 enable_dfp=no
15594 fi
15595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15596 $as_echo "$enable_dfp" >&6; }
15597 rm -f conftest*
15598
15599
15600
15601
15602 ac_ext=cpp
15603 ac_cpp='$CXXCPP $CPPFLAGS'
15604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15607
15608
15609 # Fake what AC_TRY_COMPILE does, without linking as this is
15610 # unnecessary for this test.
15611
15612 cat > conftest.$ac_ext << EOF
15613 #line 15613 "configure"
15614 template<typename T1, typename T2>
15615 struct same
15616 { typedef T2 type; };
15617
15618 template<typename T>
15619 struct same<T, T>;
15620
15621 int main()
15622 {
15623 typename same<long, __int128>::type i1;
15624 typename same<long long, __int128>::type i2;
15625 }
15626 EOF
15627
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15629 $as_echo_n "checking for __int128... " >&6; }
15630 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15631 (eval $ac_compile) 2>&5
15632 ac_status=$?
15633 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15634 test $ac_status = 0; }; then
15635
15636 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15637
15638 enable_int128=yes
15639 else
15640 enable_int128=no
15641 fi
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15643 $as_echo "$enable_int128" >&6; }
15644 rm -f conftest*
15645
15646 cat > conftest.$ac_ext << EOF
15647 #line 15647 "configure"
15648 template<typename T1, typename T2>
15649 struct same
15650 { typedef T2 type; };
15651
15652 template<typename T>
15653 struct same<T, T>;
15654
15655 int main()
15656 {
15657 typename same<double, __float128>::type f1;
15658 typename same<long double, __float128>::type f2;
15659 }
15660 EOF
15661
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15663 $as_echo_n "checking for __float128... " >&6; }
15664 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15665 (eval $ac_compile) 2>&5
15666 ac_status=$?
15667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15668 test $ac_status = 0; }; then
15669
15670 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15671
15672 enable_float128=yes
15673 else
15674 enable_float128=no
15675 fi
15676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15677 $as_echo "$enable_float128" >&6; }
15678 rm -f conftest*
15679
15680 ac_ext=c
15681 ac_cpp='$CPP $CPPFLAGS'
15682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15685
15686
15687
15688 # Checks for compiler support that doesn't require linking.
15689
15690 # All these tests are for C++; save the language and the compiler flags.
15691 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15692 # found in GLIBCXX_CONFIGURE.
15693
15694 ac_ext=cpp
15695 ac_cpp='$CXXCPP $CPPFLAGS'
15696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15699
15700 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15701 ac_save_CXXFLAGS="$CXXFLAGS"
15702
15703 # Check for maintainer-mode bits.
15704 if test x"$USE_MAINTAINER_MODE" = xno; then
15705 WERROR=''
15706 else
15707 WERROR='-Werror'
15708 fi
15709
15710 # Check for -ffunction-sections -fdata-sections
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15712 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15713 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15715 /* end confdefs.h. */
15716 int foo; void bar() { };
15717 int
15718 main ()
15719 {
15720
15721 ;
15722 return 0;
15723 }
15724 _ACEOF
15725 if ac_fn_cxx_try_compile "$LINENO"; then :
15726 ac_fdsections=yes
15727 else
15728 ac_fdsections=no
15729 fi
15730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15731 if test "$ac_test_CXXFLAGS" = set; then
15732 CXXFLAGS="$ac_save_CXXFLAGS"
15733 else
15734 # this is the suspicious part
15735 CXXFLAGS=''
15736 fi
15737 if test x"$ac_fdsections" = x"yes"; then
15738 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15739 fi
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15741 $as_echo "$ac_fdsections" >&6; }
15742
15743 ac_ext=c
15744 ac_cpp='$CPP $CPPFLAGS'
15745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15748
15749
15750
15751
15752
15753 # Enable all the variable C++ runtime options that don't require linking.
15754
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15756 $as_echo_n "checking for underlying I/O to use... " >&6; }
15757 # Check whether --enable-cstdio was given.
15758 if test "${enable_cstdio+set}" = set; then :
15759 enableval=$enable_cstdio;
15760 case "$enableval" in
15761 stdio) ;;
15762 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15763 esac
15764
15765 else
15766 enable_cstdio=stdio
15767 fi
15768
15769
15770
15771 # Now that libio has been removed, you can have any color you want as long
15772 # as it's black. This is one big no-op until other packages are added, but
15773 # showing the framework never hurts.
15774 case ${enable_cstdio} in
15775 stdio)
15776 CSTDIO_H=config/io/c_io_stdio.h
15777 BASIC_FILE_H=config/io/basic_file_stdio.h
15778 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15780 $as_echo "stdio" >&6; }
15781 ;;
15782 esac
15783
15784
15785
15786
15787
15788
15789 # Check whether --enable-clocale was given.
15790 if test "${enable_clocale+set}" = set; then :
15791 enableval=$enable_clocale;
15792 case "$enableval" in
15793 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15794 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15795 esac
15796
15797 else
15798 enable_clocale=auto
15799 fi
15800
15801
15802
15803 # Deal with gettext issues. Default to not using it (=no) until we detect
15804 # support for it later. Let the user turn it off via --e/d, but let that
15805 # default to on for easier handling.
15806 USE_NLS=no
15807 # Check whether --enable-nls was given.
15808 if test "${enable_nls+set}" = set; then :
15809 enableval=$enable_nls;
15810 else
15811 enable_nls=yes
15812 fi
15813
15814
15815 # Either a known package, or "auto"
15816 if test $enable_clocale = no || test $enable_clocale = yes; then
15817 enable_clocale=auto
15818 fi
15819 enable_clocale_flag=$enable_clocale
15820
15821 # Probe for locale model to use if none specified.
15822 # Default to "generic".
15823 if test $enable_clocale_flag = auto; then
15824 case ${target_os} in
15825 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15826 enable_clocale_flag=gnu
15827 ;;
15828 darwin* | freebsd*)
15829 enable_clocale_flag=darwin
15830 ;;
15831 openbsd*)
15832 enable_clocale_flag=newlib
15833 ;;
15834 *)
15835 if test x"$with_newlib" = x"yes"; then
15836 enable_clocale_flag=newlib
15837 else
15838 enable_clocale_flag=generic
15839 fi
15840 ;;
15841 esac
15842 fi
15843
15844 # Sanity check model, and test for special functionality.
15845 if test $enable_clocale_flag = gnu; then
15846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15847 /* end confdefs.h. */
15848
15849 #include <features.h>
15850 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15851 _GLIBCXX_ok
15852 #endif
15853
15854 _ACEOF
15855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15856 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15857 enable_clocale_flag=gnu
15858 else
15859 enable_clocale_flag=generic
15860 fi
15861 rm -f conftest*
15862
15863
15864 # Set it to scream when it hurts.
15865 ac_save_CFLAGS="$CFLAGS"
15866 CFLAGS="-Wimplicit-function-declaration -Werror"
15867
15868 # Use strxfrm_l if available.
15869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15870 /* end confdefs.h. */
15871 #define _GNU_SOURCE 1
15872 #include <string.h>
15873 #include <locale.h>
15874 int
15875 main ()
15876 {
15877 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15878 ;
15879 return 0;
15880 }
15881 _ACEOF
15882 if ac_fn_c_try_compile "$LINENO"; then :
15883
15884 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15885
15886 fi
15887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15888
15889 # Use strerror_l if available.
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 #define _GNU_SOURCE 1
15893 #include <string.h>
15894 #include <locale.h>
15895 int
15896 main ()
15897 {
15898 __locale_t loc; strerror_l(5, loc);
15899 ;
15900 return 0;
15901 }
15902 _ACEOF
15903 if ac_fn_c_try_compile "$LINENO"; then :
15904
15905 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15906
15907 fi
15908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15909
15910 CFLAGS="$ac_save_CFLAGS"
15911 fi
15912
15913 # Perhaps use strerror_r if available, and strerror_l isn't.
15914 ac_save_CFLAGS="$CFLAGS"
15915 CFLAGS="-Wimplicit-function-declaration -Werror"
15916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15917 /* end confdefs.h. */
15918 #define _GNU_SOURCE 1
15919 #include <string.h>
15920 #include <locale.h>
15921 int
15922 main ()
15923 {
15924 char s[128]; strerror_r(5, s, 128);
15925 ;
15926 return 0;
15927 }
15928 _ACEOF
15929 if ac_fn_c_try_compile "$LINENO"; then :
15930
15931 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15932
15933 fi
15934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15935 CFLAGS="$ac_save_CFLAGS"
15936
15937 # Set configure bits for specified locale package
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15939 $as_echo_n "checking for C locale to use... " >&6; }
15940 case ${enable_clocale_flag} in
15941 generic)
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15943 $as_echo "generic" >&6; }
15944
15945 CLOCALE_H=config/locale/generic/c_locale.h
15946 CLOCALE_CC=config/locale/generic/c_locale.cc
15947 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15948 CCOLLATE_CC=config/locale/generic/collate_members.cc
15949 CCTYPE_CC=config/locale/generic/ctype_members.cc
15950 CMESSAGES_H=config/locale/generic/messages_members.h
15951 CMESSAGES_CC=config/locale/generic/messages_members.cc
15952 CMONEY_CC=config/locale/generic/monetary_members.cc
15953 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15954 CTIME_H=config/locale/generic/time_members.h
15955 CTIME_CC=config/locale/generic/time_members.cc
15956 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15957 ;;
15958 darwin)
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15960 $as_echo "darwin or freebsd" >&6; }
15961
15962 CLOCALE_H=config/locale/generic/c_locale.h
15963 CLOCALE_CC=config/locale/generic/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/darwin/ctype_members.cc
15967 CMESSAGES_H=config/locale/generic/messages_members.h
15968 CMESSAGES_CC=config/locale/generic/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
15976 gnu)
15977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15978 $as_echo "gnu" >&6; }
15979
15980 # Declare intention to use gettext, and add support for specific
15981 # languages.
15982 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15983 ALL_LINGUAS="de fr"
15984
15985 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15986 # Extract the first word of "msgfmt", so it can be a program name with args.
15987 set dummy msgfmt; ac_word=$2
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15989 $as_echo_n "checking for $ac_word... " >&6; }
15990 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15991 $as_echo_n "(cached) " >&6
15992 else
15993 if test -n "$check_msgfmt"; then
15994 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15995 else
15996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15997 for as_dir in $PATH
15998 do
15999 IFS=$as_save_IFS
16000 test -z "$as_dir" && as_dir=.
16001 for ac_exec_ext in '' $ac_executable_extensions; do
16002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16003 ac_cv_prog_check_msgfmt="yes"
16004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16005 break 2
16006 fi
16007 done
16008 done
16009 IFS=$as_save_IFS
16010
16011 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16012 fi
16013 fi
16014 check_msgfmt=$ac_cv_prog_check_msgfmt
16015 if test -n "$check_msgfmt"; then
16016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16017 $as_echo "$check_msgfmt" >&6; }
16018 else
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16020 $as_echo "no" >&6; }
16021 fi
16022
16023
16024 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16025 USE_NLS=yes
16026 fi
16027 # Export the build objects.
16028 for ling in $ALL_LINGUAS; do \
16029 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16030 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16031 done
16032
16033
16034
16035 CLOCALE_H=config/locale/gnu/c_locale.h
16036 CLOCALE_CC=config/locale/gnu/c_locale.cc
16037 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16038 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16039 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16040 CMESSAGES_H=config/locale/gnu/messages_members.h
16041 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16042 CMONEY_CC=config/locale/gnu/monetary_members.cc
16043 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16044 CTIME_H=config/locale/gnu/time_members.h
16045 CTIME_CC=config/locale/gnu/time_members.cc
16046 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16047 ;;
16048 ieee_1003.1-2001)
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16050 $as_echo "IEEE 1003.1" >&6; }
16051
16052 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16053 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16054 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16055 CCOLLATE_CC=config/locale/generic/collate_members.cc
16056 CCTYPE_CC=config/locale/generic/ctype_members.cc
16057 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16058 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16059 CMONEY_CC=config/locale/generic/monetary_members.cc
16060 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16061 CTIME_H=config/locale/generic/time_members.h
16062 CTIME_CC=config/locale/generic/time_members.cc
16063 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16064 ;;
16065 newlib)
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16067 $as_echo "newlib" >&6; }
16068
16069 CLOCALE_H=config/locale/generic/c_locale.h
16070 CLOCALE_CC=config/locale/generic/c_locale.cc
16071 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16072 CCOLLATE_CC=config/locale/generic/collate_members.cc
16073 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16074 CMESSAGES_H=config/locale/generic/messages_members.h
16075 CMESSAGES_CC=config/locale/generic/messages_members.cc
16076 CMONEY_CC=config/locale/generic/monetary_members.cc
16077 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16078 CTIME_H=config/locale/generic/time_members.h
16079 CTIME_CC=config/locale/generic/time_members.cc
16080 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16081 ;;
16082 esac
16083
16084 # This is where the testsuite looks for locale catalogs, using the
16085 # -DLOCALEDIR define during testsuite compilation.
16086 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16087
16088
16089 # A standalone libintl (e.g., GNU libintl) may be in use.
16090 if test $USE_NLS = yes; then
16091 for ac_header in libintl.h
16092 do :
16093 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16094 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16095 cat >>confdefs.h <<_ACEOF
16096 #define HAVE_LIBINTL_H 1
16097 _ACEOF
16098
16099 else
16100 USE_NLS=no
16101 fi
16102
16103 done
16104
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16106 $as_echo_n "checking for library containing gettext... " >&6; }
16107 if test "${ac_cv_search_gettext+set}" = set; then :
16108 $as_echo_n "(cached) " >&6
16109 else
16110 ac_func_search_save_LIBS=$LIBS
16111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16112 /* end confdefs.h. */
16113
16114 /* Override any GCC internal prototype to avoid an error.
16115 Use char because int might match the return type of a GCC
16116 builtin and then its argument prototype would still apply. */
16117 #ifdef __cplusplus
16118 extern "C"
16119 #endif
16120 char gettext ();
16121 int
16122 main ()
16123 {
16124 return gettext ();
16125 ;
16126 return 0;
16127 }
16128 _ACEOF
16129 for ac_lib in '' intl; do
16130 if test -z "$ac_lib"; then
16131 ac_res="none required"
16132 else
16133 ac_res=-l$ac_lib
16134 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16135 fi
16136 if test x$gcc_no_link = xyes; then
16137 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16138 fi
16139 if ac_fn_c_try_link "$LINENO"; then :
16140 ac_cv_search_gettext=$ac_res
16141 fi
16142 rm -f core conftest.err conftest.$ac_objext \
16143 conftest$ac_exeext
16144 if test "${ac_cv_search_gettext+set}" = set; then :
16145 break
16146 fi
16147 done
16148 if test "${ac_cv_search_gettext+set}" = set; then :
16149
16150 else
16151 ac_cv_search_gettext=no
16152 fi
16153 rm conftest.$ac_ext
16154 LIBS=$ac_func_search_save_LIBS
16155 fi
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16157 $as_echo "$ac_cv_search_gettext" >&6; }
16158 ac_res=$ac_cv_search_gettext
16159 if test "$ac_res" != no; then :
16160 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16161
16162 else
16163 USE_NLS=no
16164 fi
16165
16166 fi
16167 if test $USE_NLS = yes; then
16168
16169 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16170
16171 fi
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16189 $as_echo_n "checking for std::allocator base class... " >&6; }
16190 # Check whether --enable-libstdcxx-allocator was given.
16191 if test "${enable_libstdcxx_allocator+set}" = set; then :
16192 enableval=$enable_libstdcxx_allocator;
16193 case "$enableval" in
16194 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16195 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16196 esac
16197
16198 else
16199 enable_libstdcxx_allocator=auto
16200 fi
16201
16202
16203
16204 # If they didn't use this option switch, or if they specified --enable
16205 # with no specific model, we'll have to look for one. If they
16206 # specified --disable (???), do likewise.
16207 if test $enable_libstdcxx_allocator = no ||
16208 test $enable_libstdcxx_allocator = yes;
16209 then
16210 enable_libstdcxx_allocator=auto
16211 fi
16212
16213 # Either a known package, or "auto". Auto implies the default choice
16214 # for a particular platform.
16215 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16216
16217 # Probe for host-specific support if no specific model is specified.
16218 # Default to "new".
16219 if test $enable_libstdcxx_allocator_flag = auto; then
16220 case ${target_os} in
16221 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16222 enable_libstdcxx_allocator_flag=new
16223 ;;
16224 *)
16225 enable_libstdcxx_allocator_flag=new
16226 ;;
16227 esac
16228 fi
16229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16230 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16231
16232
16233 # Set configure bits for specified locale package
16234 case ${enable_libstdcxx_allocator_flag} in
16235 bitmap)
16236 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16237 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16238 ;;
16239 malloc)
16240 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16241 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16242 ;;
16243 mt)
16244 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16245 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16246 ;;
16247 new)
16248 ALLOCATOR_H=config/allocator/new_allocator_base.h
16249 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16250 ;;
16251 pool)
16252 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16253 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16254 ;;
16255 esac
16256
16257
16258
16259
16260
16261 # Check whether --enable-cheaders was given.
16262 if test "${enable_cheaders+set}" = set; then :
16263 enableval=$enable_cheaders;
16264 case "$enableval" in
16265 c|c_std|c_global) ;;
16266 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16267 esac
16268
16269 else
16270 enable_cheaders=$c_model
16271 fi
16272
16273
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16275 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16276
16277 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16278
16279 # Allow overrides to configure.host here.
16280 if test $enable_cheaders = c_global; then
16281 c_compatibility=yes
16282 fi
16283
16284
16285
16286
16287
16288
16289
16290 # Check whether --enable-long-long was given.
16291 if test "${enable_long_long+set}" = set; then :
16292 enableval=$enable_long_long;
16293 case "$enableval" in
16294 yes|no) ;;
16295 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16296 esac
16297
16298 else
16299 enable_long_long=yes
16300 fi
16301
16302
16303 if test $enable_long_long = yes; then
16304
16305 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16306
16307 fi
16308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16309 $as_echo_n "checking for enabled long long specializations... " >&6; }
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16311 $as_echo "$enable_long_long" >&6; }
16312
16313
16314 # Check whether --enable-wchar_t was given.
16315 if test "${enable_wchar_t+set}" = set; then :
16316 enableval=$enable_wchar_t;
16317 case "$enableval" in
16318 yes|no) ;;
16319 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16320 esac
16321
16322 else
16323 enable_wchar_t=yes
16324 fi
16325
16326
16327
16328 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16329 for ac_header in wchar.h
16330 do :
16331 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16332 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16333 cat >>confdefs.h <<_ACEOF
16334 #define HAVE_WCHAR_H 1
16335 _ACEOF
16336 ac_has_wchar_h=yes
16337 else
16338 ac_has_wchar_h=no
16339 fi
16340
16341 done
16342
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16344 $as_echo_n "checking for mbstate_t... " >&6; }
16345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16346 /* end confdefs.h. */
16347 #include <wchar.h>
16348 int
16349 main ()
16350 {
16351 mbstate_t teststate;
16352 ;
16353 return 0;
16354 }
16355 _ACEOF
16356 if ac_fn_c_try_compile "$LINENO"; then :
16357 have_mbstate_t=yes
16358 else
16359 have_mbstate_t=no
16360 fi
16361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16363 $as_echo "$have_mbstate_t" >&6; }
16364 if test x"$have_mbstate_t" = xyes; then
16365
16366 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16367
16368 fi
16369
16370 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16371 # ac_has_wchar_h.
16372 for ac_header in wctype.h
16373 do :
16374 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16375 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_WCTYPE_H 1
16378 _ACEOF
16379 ac_has_wctype_h=yes
16380 else
16381 ac_has_wctype_h=no
16382 fi
16383
16384 done
16385
16386
16387 if test x"$enable_wchar_t" = x"yes"; then
16388
16389
16390 ac_ext=cpp
16391 ac_cpp='$CXXCPP $CPPFLAGS'
16392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16395
16396
16397 if test x"$ac_has_wchar_h" = xyes &&
16398 test x"$ac_has_wctype_h" = xyes; then
16399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16400 /* end confdefs.h. */
16401 #include <wchar.h>
16402 #include <stddef.h>
16403 wint_t i;
16404 long l = WEOF;
16405 long j = WCHAR_MIN;
16406 long k = WCHAR_MAX;
16407 namespace test
16408 {
16409 using ::btowc;
16410 using ::fgetwc;
16411 using ::fgetws;
16412 using ::fputwc;
16413 using ::fputws;
16414 using ::fwide;
16415 using ::fwprintf;
16416 using ::fwscanf;
16417 using ::getwc;
16418 using ::getwchar;
16419 using ::mbrlen;
16420 using ::mbrtowc;
16421 using ::mbsinit;
16422 using ::mbsrtowcs;
16423 using ::putwc;
16424 using ::putwchar;
16425 using ::swprintf;
16426 using ::swscanf;
16427 using ::ungetwc;
16428 using ::vfwprintf;
16429 using ::vswprintf;
16430 using ::vwprintf;
16431 using ::wcrtomb;
16432 using ::wcscat;
16433 using ::wcschr;
16434 using ::wcscmp;
16435 using ::wcscoll;
16436 using ::wcscpy;
16437 using ::wcscspn;
16438 using ::wcsftime;
16439 using ::wcslen;
16440 using ::wcsncat;
16441 using ::wcsncmp;
16442 using ::wcsncpy;
16443 using ::wcspbrk;
16444 using ::wcsrchr;
16445 using ::wcsrtombs;
16446 using ::wcsspn;
16447 using ::wcsstr;
16448 using ::wcstod;
16449 using ::wcstok;
16450 using ::wcstol;
16451 using ::wcstoul;
16452 using ::wcsxfrm;
16453 using ::wctob;
16454 using ::wmemchr;
16455 using ::wmemcmp;
16456 using ::wmemcpy;
16457 using ::wmemmove;
16458 using ::wmemset;
16459 using ::wprintf;
16460 using ::wscanf;
16461 }
16462
16463 int
16464 main ()
16465 {
16466
16467 ;
16468 return 0;
16469 }
16470 _ACEOF
16471 if ac_fn_cxx_try_compile "$LINENO"; then :
16472
16473 else
16474 enable_wchar_t=no
16475 fi
16476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16477 else
16478 enable_wchar_t=no
16479 fi
16480
16481 ac_ext=c
16482 ac_cpp='$CPP $CPPFLAGS'
16483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16486
16487 fi
16488
16489 if test x"$enable_wchar_t" = x"yes"; then
16490
16491 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16492
16493 fi
16494
16495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16496 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16498 $as_echo "$enable_wchar_t" >&6; }
16499
16500
16501
16502 # Check whether --enable-c99 was given.
16503 if test "${enable_c99+set}" = set; then :
16504 enableval=$enable_c99;
16505 case "$enableval" in
16506 yes|no) ;;
16507 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16508 esac
16509
16510 else
16511 enable_c99=yes
16512 fi
16513
16514
16515
16516 if test x"$enable_c99" = x"yes"; then
16517
16518
16519 ac_ext=cpp
16520 ac_cpp='$CXXCPP $CPPFLAGS'
16521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16524
16525
16526 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16527 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16528 # spuriously enabled.
16529 # Long term, -std=c++0x could be even better, could manage to explicitely
16530 # request C99 facilities to the underlying C headers.
16531 ac_save_CXXFLAGS="$CXXFLAGS"
16532 CXXFLAGS="$CXXFLAGS -std=c++98"
16533 ac_save_LIBS="$LIBS"
16534 ac_save_gcc_no_link="$gcc_no_link"
16535
16536 if test x$gcc_no_link != xyes; then
16537 # Use -fno-exceptions to that the C driver can link these tests without
16538 # hitting undefined references to personality routines.
16539 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16541 $as_echo_n "checking for sin in -lm... " >&6; }
16542 if test "${ac_cv_lib_m_sin+set}" = set; then :
16543 $as_echo_n "(cached) " >&6
16544 else
16545 ac_check_lib_save_LIBS=$LIBS
16546 LIBS="-lm $LIBS"
16547 if test x$gcc_no_link = xyes; then
16548 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16549 fi
16550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16551 /* end confdefs.h. */
16552
16553 /* Override any GCC internal prototype to avoid an error.
16554 Use char because int might match the return type of a GCC
16555 builtin and then its argument prototype would still apply. */
16556 #ifdef __cplusplus
16557 extern "C"
16558 #endif
16559 char sin ();
16560 int
16561 main ()
16562 {
16563 return sin ();
16564 ;
16565 return 0;
16566 }
16567 _ACEOF
16568 if ac_fn_cxx_try_link "$LINENO"; then :
16569 ac_cv_lib_m_sin=yes
16570 else
16571 ac_cv_lib_m_sin=no
16572 fi
16573 rm -f core conftest.err conftest.$ac_objext \
16574 conftest$ac_exeext conftest.$ac_ext
16575 LIBS=$ac_check_lib_save_LIBS
16576 fi
16577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16578 $as_echo "$ac_cv_lib_m_sin" >&6; }
16579 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16580
16581 LIBS="$LIBS -lm"
16582
16583 else
16584
16585 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16586 gcc_no_link=yes
16587
16588 fi
16589
16590 fi
16591
16592 # Check for the existence of <math.h> functions used if C99 is enabled.
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16594 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16595 if test "${glibcxx_cv_c99_math+set}" = set; then :
16596 $as_echo_n "(cached) " >&6
16597 else
16598
16599 if test x$gcc_no_link = xyes; then
16600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16601 /* end confdefs.h. */
16602 #include <math.h>
16603 volatile double d1, d2;
16604 volatile int i;
16605 int
16606 main ()
16607 {
16608 i = fpclassify(d1);
16609 i = isfinite(d1);
16610 i = isinf(d1);
16611 i = isnan(d1);
16612 i = isnormal(d1);
16613 i = signbit(d1);
16614 i = isgreater(d1, d2);
16615 i = isgreaterequal(d1, d2);
16616 i = isless(d1, d2);
16617 i = islessequal(d1, d2);
16618 i = islessgreater(d1, d2);
16619 i = islessgreater(d1, d2);
16620 i = isunordered(d1, d2);
16621
16622 ;
16623 return 0;
16624 }
16625 _ACEOF
16626 if ac_fn_cxx_try_compile "$LINENO"; then :
16627 glibcxx_cv_c99_math=yes
16628 else
16629 glibcxx_cv_c99_math=no
16630 fi
16631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16632 else
16633 if test x$gcc_no_link = xyes; then
16634 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16635 fi
16636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16637 /* end confdefs.h. */
16638 #include <math.h>
16639 volatile double d1, d2;
16640 volatile int i;
16641 int
16642 main ()
16643 {
16644 i = fpclassify(d1);
16645 i = isfinite(d1);
16646 i = isinf(d1);
16647 i = isnan(d1);
16648 i = isnormal(d1);
16649 i = signbit(d1);
16650 i = isgreater(d1, d2);
16651 i = isgreaterequal(d1, d2);
16652 i = isless(d1, d2);
16653 i = islessequal(d1, d2);
16654 i = islessgreater(d1, d2);
16655 i = islessgreater(d1, d2);
16656 i = isunordered(d1, d2);
16657
16658 ;
16659 return 0;
16660 }
16661 _ACEOF
16662 if ac_fn_cxx_try_link "$LINENO"; then :
16663 glibcxx_cv_c99_math=yes
16664 else
16665 glibcxx_cv_c99_math=no
16666 fi
16667 rm -f core conftest.err conftest.$ac_objext \
16668 conftest$ac_exeext conftest.$ac_ext
16669 fi
16670
16671 fi
16672
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16674 $as_echo "$glibcxx_cv_c99_math" >&6; }
16675 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16676
16677 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16678
16679 fi
16680
16681 # Check for the existence of <complex.h> complex math functions.
16682 # This is necessary even though libstdc++ uses the builtin versions
16683 # of these functions, because if the builtin cannot be used, a reference
16684 # to the library function is emitted.
16685 for ac_header in tgmath.h
16686 do :
16687 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16688 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16689 cat >>confdefs.h <<_ACEOF
16690 #define HAVE_TGMATH_H 1
16691 _ACEOF
16692 ac_has_tgmath_h=yes
16693 else
16694 ac_has_tgmath_h=no
16695 fi
16696
16697 done
16698
16699 for ac_header in complex.h
16700 do :
16701 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16702 if test "x$ac_cv_header_complex_h" = x""yes; then :
16703 cat >>confdefs.h <<_ACEOF
16704 #define HAVE_COMPLEX_H 1
16705 _ACEOF
16706 ac_has_complex_h=yes
16707 else
16708 ac_has_complex_h=no
16709 fi
16710
16711 done
16712
16713 glibcxx_cv_c99_complex=no;
16714 if test x"$ac_has_complex_h" = x"yes"; then
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16716 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16717 if test x$gcc_no_link = xyes; then
16718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16719 /* end confdefs.h. */
16720 #include <complex.h>
16721 typedef __complex__ float float_type;
16722 typedef __complex__ double double_type;
16723 typedef __complex__ long double ld_type;
16724 volatile float_type tmpf;
16725 volatile double_type tmpd;
16726 volatile ld_type tmpld;
16727 volatile float f;
16728 volatile double d;
16729 volatile long double ld;
16730 int
16731 main ()
16732 {
16733 f = cabsf(tmpf);
16734 f = cargf(tmpf);
16735 tmpf = ccosf(tmpf);
16736 tmpf = ccoshf(tmpf);
16737 tmpf = cexpf(tmpf);
16738 tmpf = clogf(tmpf);
16739 tmpf = csinf(tmpf);
16740 tmpf = csinhf(tmpf);
16741 tmpf = csqrtf(tmpf);
16742 tmpf = ctanf(tmpf);
16743 tmpf = ctanhf(tmpf);
16744 tmpf = cpowf(tmpf, tmpf);
16745 tmpf = cprojf(tmpf);
16746 d = cabs(tmpd);
16747 d = carg(tmpd);
16748 tmpd = ccos(tmpd);
16749 tmpd = ccosh(tmpd);
16750 tmpd = cexp(tmpd);
16751 tmpd = clog(tmpd);
16752 tmpd = csin(tmpd);
16753 tmpd = csinh(tmpd);
16754 tmpd = csqrt(tmpd);
16755 tmpd = ctan(tmpd);
16756 tmpd = ctanh(tmpd);
16757 tmpd = cpow(tmpd, tmpd);
16758 tmpd = cproj(tmpd);
16759 ld = cabsl(tmpld);
16760 ld = cargl(tmpld);
16761 tmpld = ccosl(tmpld);
16762 tmpld = ccoshl(tmpld);
16763 tmpld = cexpl(tmpld);
16764 tmpld = clogl(tmpld);
16765 tmpld = csinl(tmpld);
16766 tmpld = csinhl(tmpld);
16767 tmpld = csqrtl(tmpld);
16768 tmpld = ctanl(tmpld);
16769 tmpld = ctanhl(tmpld);
16770 tmpld = cpowl(tmpld, tmpld);
16771 tmpld = cprojl(tmpld);
16772
16773 ;
16774 return 0;
16775 }
16776 _ACEOF
16777 if ac_fn_cxx_try_compile "$LINENO"; then :
16778 glibcxx_cv_c99_complex=yes
16779 else
16780 glibcxx_cv_c99_complex=no
16781 fi
16782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16783 else
16784 if test x$gcc_no_link = xyes; then
16785 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16786 fi
16787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h. */
16789 #include <complex.h>
16790 typedef __complex__ float float_type;
16791 typedef __complex__ double double_type;
16792 typedef __complex__ long double ld_type;
16793 volatile float_type tmpf;
16794 volatile double_type tmpd;
16795 volatile ld_type tmpld;
16796 volatile float f;
16797 volatile double d;
16798 volatile long double ld;
16799 int
16800 main ()
16801 {
16802 f = cabsf(tmpf);
16803 f = cargf(tmpf);
16804 tmpf = ccosf(tmpf);
16805 tmpf = ccoshf(tmpf);
16806 tmpf = cexpf(tmpf);
16807 tmpf = clogf(tmpf);
16808 tmpf = csinf(tmpf);
16809 tmpf = csinhf(tmpf);
16810 tmpf = csqrtf(tmpf);
16811 tmpf = ctanf(tmpf);
16812 tmpf = ctanhf(tmpf);
16813 tmpf = cpowf(tmpf, tmpf);
16814 tmpf = cprojf(tmpf);
16815 d = cabs(tmpd);
16816 d = carg(tmpd);
16817 tmpd = ccos(tmpd);
16818 tmpd = ccosh(tmpd);
16819 tmpd = cexp(tmpd);
16820 tmpd = clog(tmpd);
16821 tmpd = csin(tmpd);
16822 tmpd = csinh(tmpd);
16823 tmpd = csqrt(tmpd);
16824 tmpd = ctan(tmpd);
16825 tmpd = ctanh(tmpd);
16826 tmpd = cpow(tmpd, tmpd);
16827 tmpd = cproj(tmpd);
16828 ld = cabsl(tmpld);
16829 ld = cargl(tmpld);
16830 tmpld = ccosl(tmpld);
16831 tmpld = ccoshl(tmpld);
16832 tmpld = cexpl(tmpld);
16833 tmpld = clogl(tmpld);
16834 tmpld = csinl(tmpld);
16835 tmpld = csinhl(tmpld);
16836 tmpld = csqrtl(tmpld);
16837 tmpld = ctanl(tmpld);
16838 tmpld = ctanhl(tmpld);
16839 tmpld = cpowl(tmpld, tmpld);
16840 tmpld = cprojl(tmpld);
16841
16842 ;
16843 return 0;
16844 }
16845 _ACEOF
16846 if ac_fn_cxx_try_link "$LINENO"; then :
16847 glibcxx_cv_c99_complex=yes
16848 else
16849 glibcxx_cv_c99_complex=no
16850 fi
16851 rm -f core conftest.err conftest.$ac_objext \
16852 conftest$ac_exeext conftest.$ac_ext
16853 fi
16854 fi
16855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16856 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16857 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16858
16859 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16860
16861 fi
16862
16863 # Check for the existence in <stdio.h> of vscanf, et. al.
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16865 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16866 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16867 $as_echo_n "(cached) " >&6
16868 else
16869
16870 if test x$gcc_no_link = xyes; then
16871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16872 /* end confdefs.h. */
16873 #include <stdio.h>
16874 #include <stdarg.h>
16875 void foo(char* fmt, ...)
16876 {
16877 va_list args; va_start(args, fmt);
16878 vfscanf(stderr, "%i", args);
16879 vscanf("%i", args);
16880 vsnprintf(fmt, 0, "%i", args);
16881 vsscanf(fmt, "%i", args);
16882 }
16883 int
16884 main ()
16885 {
16886 snprintf("12", 0, "%i");
16887 ;
16888 return 0;
16889 }
16890 _ACEOF
16891 if ac_fn_cxx_try_compile "$LINENO"; then :
16892 glibcxx_cv_c99_stdio=yes
16893 else
16894 glibcxx_cv_c99_stdio=no
16895 fi
16896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16897 else
16898 if test x$gcc_no_link = xyes; then
16899 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16900 fi
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16903 #include <stdio.h>
16904 #include <stdarg.h>
16905 void foo(char* fmt, ...)
16906 {
16907 va_list args; va_start(args, fmt);
16908 vfscanf(stderr, "%i", args);
16909 vscanf("%i", args);
16910 vsnprintf(fmt, 0, "%i", args);
16911 vsscanf(fmt, "%i", args);
16912 }
16913 int
16914 main ()
16915 {
16916 snprintf("12", 0, "%i");
16917 ;
16918 return 0;
16919 }
16920 _ACEOF
16921 if ac_fn_cxx_try_link "$LINENO"; then :
16922 glibcxx_cv_c99_stdio=yes
16923 else
16924 glibcxx_cv_c99_stdio=no
16925 fi
16926 rm -f core conftest.err conftest.$ac_objext \
16927 conftest$ac_exeext conftest.$ac_ext
16928 fi
16929
16930 fi
16931
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16933 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16934
16935 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16937 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16938 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16939 $as_echo_n "(cached) " >&6
16940 else
16941
16942 if test x$gcc_no_link = xyes; then
16943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16944 /* end confdefs.h. */
16945 #include <stdlib.h>
16946 volatile float f;
16947 volatile long double ld;
16948 volatile unsigned long long ll;
16949 lldiv_t mydivt;
16950 int
16951 main ()
16952 {
16953 char* tmp;
16954 f = strtof("gnu", &tmp);
16955 ld = strtold("gnu", &tmp);
16956 ll = strtoll("gnu", &tmp, 10);
16957 ll = strtoull("gnu", &tmp, 10);
16958 ll = llabs(10);
16959 mydivt = lldiv(10,1);
16960 ll = mydivt.quot;
16961 ll = mydivt.rem;
16962 ll = atoll("10");
16963 _Exit(0);
16964
16965 ;
16966 return 0;
16967 }
16968 _ACEOF
16969 if ac_fn_cxx_try_compile "$LINENO"; then :
16970 glibcxx_cv_c99_stdlib=yes
16971 else
16972 glibcxx_cv_c99_stdlib=no
16973 fi
16974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16975 else
16976 if test x$gcc_no_link = xyes; then
16977 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16978 fi
16979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16980 /* end confdefs.h. */
16981 #include <stdlib.h>
16982 volatile float f;
16983 volatile long double ld;
16984 volatile unsigned long long ll;
16985 lldiv_t mydivt;
16986 int
16987 main ()
16988 {
16989 char* tmp;
16990 f = strtof("gnu", &tmp);
16991 ld = strtold("gnu", &tmp);
16992 ll = strtoll("gnu", &tmp, 10);
16993 ll = strtoull("gnu", &tmp, 10);
16994 ll = llabs(10);
16995 mydivt = lldiv(10,1);
16996 ll = mydivt.quot;
16997 ll = mydivt.rem;
16998 ll = atoll("10");
16999 _Exit(0);
17000
17001 ;
17002 return 0;
17003 }
17004 _ACEOF
17005 if ac_fn_cxx_try_link "$LINENO"; then :
17006 glibcxx_cv_c99_stdlib=yes
17007 else
17008 glibcxx_cv_c99_stdlib=no
17009 fi
17010 rm -f core conftest.err conftest.$ac_objext \
17011 conftest$ac_exeext conftest.$ac_ext
17012 fi
17013
17014 fi
17015
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17017 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17018
17019 # Check for the existence in <wchar.h> of wcstold, etc.
17020 glibcxx_cv_c99_wchar=no;
17021 if test x"$ac_has_wchar_h" = xyes &&
17022 test x"$ac_has_wctype_h" = xyes; then
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17024 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17026 /* end confdefs.h. */
17027 #include <wchar.h>
17028 namespace test
17029 {
17030 using ::wcstold;
17031 using ::wcstoll;
17032 using ::wcstoull;
17033 }
17034
17035 int
17036 main ()
17037 {
17038
17039 ;
17040 return 0;
17041 }
17042 _ACEOF
17043 if ac_fn_cxx_try_compile "$LINENO"; then :
17044 glibcxx_cv_c99_wchar=yes
17045 else
17046 glibcxx_cv_c99_wchar=no
17047 fi
17048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17049
17050 # Checks for wide character functions that may not be present.
17051 # Injection of these is wrapped with guard macros.
17052 # NB: only put functions here, instead of immediately above, if
17053 # absolutely necessary.
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <wchar.h>
17057 namespace test { using ::vfwscanf; }
17058 int
17059 main ()
17060 {
17061
17062 ;
17063 return 0;
17064 }
17065 _ACEOF
17066 if ac_fn_cxx_try_compile "$LINENO"; then :
17067
17068 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17069
17070 fi
17071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17072
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17075 #include <wchar.h>
17076 namespace test { using ::vswscanf; }
17077 int
17078 main ()
17079 {
17080
17081 ;
17082 return 0;
17083 }
17084 _ACEOF
17085 if ac_fn_cxx_try_compile "$LINENO"; then :
17086
17087 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17088
17089 fi
17090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17091
17092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17093 /* end confdefs.h. */
17094 #include <wchar.h>
17095 namespace test { using ::vwscanf; }
17096 int
17097 main ()
17098 {
17099
17100 ;
17101 return 0;
17102 }
17103 _ACEOF
17104 if ac_fn_cxx_try_compile "$LINENO"; then :
17105
17106 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17107
17108 fi
17109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17110
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17113 #include <wchar.h>
17114 namespace test { using ::wcstof; }
17115 int
17116 main ()
17117 {
17118
17119 ;
17120 return 0;
17121 }
17122 _ACEOF
17123 if ac_fn_cxx_try_compile "$LINENO"; then :
17124
17125 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17126
17127 fi
17128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17129
17130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17132 #include <wctype.h>
17133 int
17134 main ()
17135 {
17136 wint_t t; int i = iswblank(t);
17137 ;
17138 return 0;
17139 }
17140 _ACEOF
17141 if ac_fn_cxx_try_compile "$LINENO"; then :
17142
17143 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17144
17145 fi
17146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17147
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17149 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17150 fi
17151
17152 # Option parsed, now set things appropriately.
17153 if test x"$glibcxx_cv_c99_math" = x"no" ||
17154 test x"$glibcxx_cv_c99_complex" = x"no" ||
17155 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17156 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17157 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17158 enable_c99=no;
17159 else
17160
17161 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17162
17163 fi
17164
17165 gcc_no_link="$ac_save_gcc_no_link"
17166 LIBS="$ac_save_LIBS"
17167 CXXFLAGS="$ac_save_CXXFLAGS"
17168 ac_ext=c
17169 ac_cpp='$CPP $CPPFLAGS'
17170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17173
17174 fi
17175
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17177 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17179 $as_echo "$enable_c99" >&6; }
17180
17181
17182 # Check whether --enable-concept-checks was given.
17183 if test "${enable_concept_checks+set}" = set; then :
17184 enableval=$enable_concept_checks;
17185 case "$enableval" in
17186 yes|no) ;;
17187 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17188 esac
17189
17190 else
17191 enable_concept_checks=no
17192 fi
17193
17194
17195 if test $enable_concept_checks = yes; then
17196
17197 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17198
17199 fi
17200
17201
17202 # Check whether --enable-libstdcxx-debug-flags was given.
17203 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17204 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17205 xno | x) enable_libstdcxx_debug_flags= ;;
17206 x-*) ;;
17207 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17208 esac
17209 else
17210 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17211 fi
17212
17213
17214
17215 # Option parsed, now set things appropriately
17216 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17217
17218
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17220 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17221
17222
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17224 $as_echo_n "checking for additional debug build... " >&6; }
17225 # Check whether --enable-libstdcxx-debug was given.
17226 if test "${enable_libstdcxx_debug+set}" = set; then :
17227 enableval=$enable_libstdcxx_debug;
17228 case "$enableval" in
17229 yes|no) ;;
17230 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17231 esac
17232
17233 else
17234 enable_libstdcxx_debug=no
17235 fi
17236
17237
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17239 $as_echo "$enable_libstdcxx_debug" >&6; }
17240
17241
17242
17243
17244 enable_parallel=no;
17245
17246 # See if configured libgomp/omp.h exists. (libgomp may be in
17247 # noconfigdirs but not explicitly disabled.)
17248 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17249 enable_parallel=yes;
17250 else
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17252 $as_echo "$as_me: target-libgomp not built" >&6;}
17253 fi
17254
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17256 $as_echo_n "checking for parallel mode support... " >&6; }
17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17258 $as_echo "$enable_parallel" >&6; }
17259
17260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17261 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17262 # Check whether --enable-cxx-flags was given.
17263 if test "${enable_cxx_flags+set}" = set; then :
17264 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17265 xno | x) enable_cxx_flags= ;;
17266 x-*) ;;
17267 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17268 esac
17269 else
17270 enable_cxx_flags=
17271 fi
17272
17273
17274
17275 # Run through flags (either default or command-line) and set anything
17276 # extra (e.g., #defines) that must accompany particular g++ options.
17277 if test -n "$enable_cxx_flags"; then
17278 for f in $enable_cxx_flags; do
17279 case "$f" in
17280 -fhonor-std) ;;
17281 -*) ;;
17282 *) # and we're trying to pass /what/ exactly?
17283 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17284 esac
17285 done
17286 fi
17287
17288 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17290 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17291
17292
17293
17294 # Check whether --enable-fully-dynamic-string was given.
17295 if test "${enable_fully_dynamic_string+set}" = set; then :
17296 enableval=$enable_fully_dynamic_string;
17297 case "$enableval" in
17298 yes|no) ;;
17299 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17300 esac
17301
17302 else
17303 enable_fully_dynamic_string=no
17304 fi
17305
17306
17307 if test $enable_fully_dynamic_string = yes; then
17308 enable_fully_dynamic_string_def=1
17309 else
17310 enable_fully_dynamic_string_def=0
17311 fi
17312
17313 cat >>confdefs.h <<_ACEOF
17314 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17315 _ACEOF
17316
17317
17318
17319
17320 # Check whether --enable-extern-template was given.
17321 if test "${enable_extern_template+set}" = set; then :
17322 enableval=$enable_extern_template;
17323 case "$enableval" in
17324 yes|no) ;;
17325 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17326 esac
17327
17328 else
17329 enable_extern_template=yes
17330 fi
17331
17332
17333
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17335 $as_echo_n "checking for extern template support... " >&6; }
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17337 $as_echo "$enable_extern_template" >&6; }
17338
17339
17340
17341
17342
17343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17344 $as_echo_n "checking for custom python install directory... " >&6; }
17345
17346 # Check whether --with-python-dir was given.
17347 if test "${with_python_dir+set}" = set; then :
17348 withval=$with_python_dir; with_python_dir=$withval
17349 else
17350 with_python_dir="no"
17351 fi
17352
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17354 $as_echo "${with_python_dir}" >&6; }
17355
17356 # Needed for installing Python modules during make install.
17357 python_mod_dir="${with_python_dir}"
17358
17359
17360
17361
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17363 $as_echo_n "checking for -Werror... " >&6; }
17364 # Check whether --enable-werror was given.
17365 if test "${enable_werror+set}" = set; then :
17366 enableval=$enable_werror;
17367 case "$enableval" in
17368 yes|no) ;;
17369 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17370 esac
17371
17372 else
17373 enable_werror=yes
17374 fi
17375
17376
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17378 $as_echo "$enable_werror" >&6; }
17379
17380
17381
17382 # Checks for operating systems support that doesn't require linking.
17383
17384
17385
17386 ac_ext=cpp
17387 ac_cpp='$CXXCPP $CPPFLAGS'
17388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17391
17392
17393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17394 $as_echo_n "checking for gets declaration... " >&6; }
17395 if test "${glibcxx_cv_gets+set}" = set; then :
17396 $as_echo_n "(cached) " >&6
17397 else
17398
17399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17400 /* end confdefs.h. */
17401 #include <stdio.h>
17402 namespace test
17403 {
17404 using ::gets;
17405 }
17406
17407 _ACEOF
17408 if ac_fn_cxx_try_compile "$LINENO"; then :
17409 glibcxx_cv_gets=yes
17410 else
17411 glibcxx_cv_gets=no
17412
17413 fi
17414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17415 fi
17416
17417
17418 if test $glibcxx_cv_gets = yes; then
17419
17420 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17421
17422 fi
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17424 $as_echo "$glibcxx_cv_gets" >&6; }
17425
17426 ac_ext=c
17427 ac_cpp='$CPP $CPPFLAGS'
17428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17431
17432
17433
17434
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17436 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17437 if test "${glibcxx_cv_system_error1+set}" = set; then :
17438 $as_echo_n "(cached) " >&6
17439 else
17440
17441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17442 /* end confdefs.h. */
17443 #include <errno.h>
17444 int
17445 main ()
17446 {
17447 int i = EOWNERDEAD;
17448 ;
17449 return 0;
17450 }
17451 _ACEOF
17452 if ac_fn_c_try_compile "$LINENO"; then :
17453 glibcxx_cv_system_error1=yes
17454 else
17455 glibcxx_cv_system_error1=no
17456 fi
17457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17458
17459 fi
17460
17461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17462 $as_echo "$glibcxx_cv_system_error1" >&6; }
17463 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17464
17465 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17466
17467 fi
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17469 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17470 if test "${glibcxx_cv_system_error2+set}" = set; then :
17471 $as_echo_n "(cached) " >&6
17472 else
17473
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17476 #include <errno.h>
17477 int
17478 main ()
17479 {
17480 int i = ENOTRECOVERABLE;
17481 ;
17482 return 0;
17483 }
17484 _ACEOF
17485 if ac_fn_c_try_compile "$LINENO"; then :
17486 glibcxx_cv_system_error2=yes
17487 else
17488 glibcxx_cv_system_error2=no
17489 fi
17490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17491
17492 fi
17493
17494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17495 $as_echo "$glibcxx_cv_system_error2" >&6; }
17496 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17497
17498 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17499
17500 fi
17501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17502 $as_echo_n "checking for ENOLINK... " >&6; }
17503 if test "${glibcxx_cv_system_error3+set}" = set; then :
17504 $as_echo_n "(cached) " >&6
17505 else
17506
17507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17508 /* end confdefs.h. */
17509 #include <errno.h>
17510 int
17511 main ()
17512 {
17513 int i = ENOLINK;
17514 ;
17515 return 0;
17516 }
17517 _ACEOF
17518 if ac_fn_c_try_compile "$LINENO"; then :
17519 glibcxx_cv_system_error3=yes
17520 else
17521 glibcxx_cv_system_error3=no
17522 fi
17523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17524
17525 fi
17526
17527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17528 $as_echo "$glibcxx_cv_system_error3" >&6; }
17529 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17530
17531 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17532
17533 fi
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17535 $as_echo_n "checking for EPROTO... " >&6; }
17536 if test "${glibcxx_cv_system_error4+set}" = set; then :
17537 $as_echo_n "(cached) " >&6
17538 else
17539
17540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17541 /* end confdefs.h. */
17542 #include <errno.h>
17543 int
17544 main ()
17545 {
17546 int i = EPROTO;
17547 ;
17548 return 0;
17549 }
17550 _ACEOF
17551 if ac_fn_c_try_compile "$LINENO"; then :
17552 glibcxx_cv_system_error4=yes
17553 else
17554 glibcxx_cv_system_error4=no
17555 fi
17556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17557
17558 fi
17559
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17561 $as_echo "$glibcxx_cv_system_error4" >&6; }
17562 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17563
17564 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17565
17566 fi
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17568 $as_echo_n "checking for ENODATA... " >&6; }
17569 if test "${glibcxx_cv_system_error5+set}" = set; then :
17570 $as_echo_n "(cached) " >&6
17571 else
17572
17573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17574 /* end confdefs.h. */
17575 #include <errno.h>
17576 int
17577 main ()
17578 {
17579 int i = ENODATA;
17580 ;
17581 return 0;
17582 }
17583 _ACEOF
17584 if ac_fn_c_try_compile "$LINENO"; then :
17585 glibcxx_cv_system_error5=yes
17586 else
17587 glibcxx_cv_system_error5=no
17588 fi
17589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17590
17591 fi
17592
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17594 $as_echo "$glibcxx_cv_system_error5" >&6; }
17595 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17596
17597 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17598
17599 fi
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17601 $as_echo_n "checking for ENOSR... " >&6; }
17602 if test "${glibcxx_cv_system_error6+set}" = set; then :
17603 $as_echo_n "(cached) " >&6
17604 else
17605
17606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h. */
17608 #include <errno.h>
17609 int
17610 main ()
17611 {
17612 int i = ENOSR;
17613 ;
17614 return 0;
17615 }
17616 _ACEOF
17617 if ac_fn_c_try_compile "$LINENO"; then :
17618 glibcxx_cv_system_error6=yes
17619 else
17620 glibcxx_cv_system_error6=no
17621 fi
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17623
17624 fi
17625
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17627 $as_echo "$glibcxx_cv_system_error6" >&6; }
17628 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17629
17630 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17631
17632 fi
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17634 $as_echo_n "checking for ENOSTR... " >&6; }
17635 if test "${glibcxx_cv_system_error7+set}" = set; then :
17636 $as_echo_n "(cached) " >&6
17637 else
17638
17639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17640 /* end confdefs.h. */
17641 #include <errno.h>
17642 int
17643 main ()
17644 {
17645 int i = ENOSTR;
17646 ;
17647 return 0;
17648 }
17649 _ACEOF
17650 if ac_fn_c_try_compile "$LINENO"; then :
17651 glibcxx_cv_system_error7=yes
17652 else
17653 glibcxx_cv_system_error7=no
17654 fi
17655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17656
17657 fi
17658
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17660 $as_echo "$glibcxx_cv_system_error7" >&6; }
17661 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17662
17663 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17664
17665 fi
17666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17667 $as_echo_n "checking for ETIME... " >&6; }
17668 if test "${glibcxx_cv_system_error8+set}" = set; then :
17669 $as_echo_n "(cached) " >&6
17670 else
17671
17672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17673 /* end confdefs.h. */
17674 #include <errno.h>
17675 int
17676 main ()
17677 {
17678 int i = ETIME;
17679 ;
17680 return 0;
17681 }
17682 _ACEOF
17683 if ac_fn_c_try_compile "$LINENO"; then :
17684 glibcxx_cv_system_error8=yes
17685 else
17686 glibcxx_cv_system_error8=no
17687 fi
17688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17689
17690 fi
17691
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17693 $as_echo "$glibcxx_cv_system_error8" >&6; }
17694 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17695
17696 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17697
17698 fi
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17700 $as_echo_n "checking for EBADMSG... " >&6; }
17701 if test "${glibcxx_cv_system_error9+set}" = set; then :
17702 $as_echo_n "(cached) " >&6
17703 else
17704
17705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17706 /* end confdefs.h. */
17707 #include <errno.h>
17708 int
17709 main ()
17710 {
17711 int i = EBADMSG;
17712 ;
17713 return 0;
17714 }
17715 _ACEOF
17716 if ac_fn_c_try_compile "$LINENO"; then :
17717 glibcxx_cv_system_error9=yes
17718 else
17719 glibcxx_cv_system_error9=no
17720 fi
17721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17722
17723 fi
17724
17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17726 $as_echo "$glibcxx_cv_system_error9" >&6; }
17727 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17728
17729 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17730
17731 fi
17732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17733 $as_echo_n "checking for ECANCELED... " >&6; }
17734 if test "${glibcxx_cv_system_error10+set}" = set; then :
17735 $as_echo_n "(cached) " >&6
17736 else
17737
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17740 #include <errno.h>
17741 int
17742 main ()
17743 {
17744 int i = ECANCELED;
17745 ;
17746 return 0;
17747 }
17748 _ACEOF
17749 if ac_fn_c_try_compile "$LINENO"; then :
17750 glibcxx_cv_system_error10=yes
17751 else
17752 glibcxx_cv_system_error10=no
17753 fi
17754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17755
17756 fi
17757
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17759 $as_echo "$glibcxx_cv_system_error10" >&6; }
17760 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17761
17762 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17763
17764 fi
17765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17766 $as_echo_n "checking for EOVERFLOW... " >&6; }
17767 if test "${glibcxx_cv_system_error11+set}" = set; then :
17768 $as_echo_n "(cached) " >&6
17769 else
17770
17771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17772 /* end confdefs.h. */
17773 #include <errno.h>
17774 int
17775 main ()
17776 {
17777 int i = EOVERFLOW;
17778 ;
17779 return 0;
17780 }
17781 _ACEOF
17782 if ac_fn_c_try_compile "$LINENO"; then :
17783 glibcxx_cv_system_error11=yes
17784 else
17785 glibcxx_cv_system_error11=no
17786 fi
17787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17788
17789 fi
17790
17791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17792 $as_echo "$glibcxx_cv_system_error11" >&6; }
17793 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17794
17795 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17796
17797 fi
17798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17799 $as_echo_n "checking for ENOTSUP... " >&6; }
17800 if test "${glibcxx_cv_system_error12+set}" = set; then :
17801 $as_echo_n "(cached) " >&6
17802 else
17803
17804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17805 /* end confdefs.h. */
17806 #include <errno.h>
17807 int
17808 main ()
17809 {
17810 int i = ENOTSUP;
17811 ;
17812 return 0;
17813 }
17814 _ACEOF
17815 if ac_fn_c_try_compile "$LINENO"; then :
17816 glibcxx_cv_system_error12=yes
17817 else
17818 glibcxx_cv_system_error12=no
17819 fi
17820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17821
17822 fi
17823
17824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17825 $as_echo "$glibcxx_cv_system_error12" >&6; }
17826 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17827
17828 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17829
17830 fi
17831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17832 $as_echo_n "checking for EIDRM... " >&6; }
17833 if test "${glibcxx_cv_system_error13+set}" = set; then :
17834 $as_echo_n "(cached) " >&6
17835 else
17836
17837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17838 /* end confdefs.h. */
17839 #include <errno.h>
17840 int
17841 main ()
17842 {
17843 int i = EIDRM;
17844 ;
17845 return 0;
17846 }
17847 _ACEOF
17848 if ac_fn_c_try_compile "$LINENO"; then :
17849 glibcxx_cv_system_error13=yes
17850 else
17851 glibcxx_cv_system_error13=no
17852 fi
17853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17854
17855 fi
17856
17857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17858 $as_echo "$glibcxx_cv_system_error13" >&6; }
17859 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17860
17861 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17862
17863 fi
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17865 $as_echo_n "checking for ETXTBSY... " >&6; }
17866 if test "${glibcxx_cv_system_error14+set}" = set; then :
17867 $as_echo_n "(cached) " >&6
17868 else
17869
17870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17871 /* end confdefs.h. */
17872 #include <errno.h>
17873 int
17874 main ()
17875 {
17876 int i = ETXTBSY;
17877 ;
17878 return 0;
17879 }
17880 _ACEOF
17881 if ac_fn_c_try_compile "$LINENO"; then :
17882 glibcxx_cv_system_error14=yes
17883 else
17884 glibcxx_cv_system_error14=no
17885 fi
17886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17887
17888 fi
17889
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17891 $as_echo "$glibcxx_cv_system_error14" >&6; }
17892 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17893
17894 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17895
17896 fi
17897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17898 $as_echo_n "checking for ECHILD... " >&6; }
17899 if test "${glibcxx_cv_system_error15+set}" = set; then :
17900 $as_echo_n "(cached) " >&6
17901 else
17902
17903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17904 /* end confdefs.h. */
17905 #include <errno.h>
17906 int
17907 main ()
17908 {
17909 int i = ECHILD;
17910 ;
17911 return 0;
17912 }
17913 _ACEOF
17914 if ac_fn_c_try_compile "$LINENO"; then :
17915 glibcxx_cv_system_error15=yes
17916 else
17917 glibcxx_cv_system_error15=no
17918 fi
17919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17920
17921 fi
17922
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17924 $as_echo "$glibcxx_cv_system_error15" >&6; }
17925 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17926
17927 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17928
17929 fi
17930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17931 $as_echo_n "checking for ENOSPC... " >&6; }
17932 if test "${glibcxx_cv_system_error16+set}" = set; then :
17933 $as_echo_n "(cached) " >&6
17934 else
17935
17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h. */
17938 #include <errno.h>
17939 int
17940 main ()
17941 {
17942 int i = ENOSPC;
17943 ;
17944 return 0;
17945 }
17946 _ACEOF
17947 if ac_fn_c_try_compile "$LINENO"; then :
17948 glibcxx_cv_system_error16=yes
17949 else
17950 glibcxx_cv_system_error16=no
17951 fi
17952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17953
17954 fi
17955
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17957 $as_echo "$glibcxx_cv_system_error16" >&6; }
17958 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17959
17960 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17961
17962 fi
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17964 $as_echo_n "checking for EPERM... " >&6; }
17965 if test "${glibcxx_cv_system_error17+set}" = set; then :
17966 $as_echo_n "(cached) " >&6
17967 else
17968
17969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17970 /* end confdefs.h. */
17971 #include <errno.h>
17972 int
17973 main ()
17974 {
17975 int i = EPERM;
17976 ;
17977 return 0;
17978 }
17979 _ACEOF
17980 if ac_fn_c_try_compile "$LINENO"; then :
17981 glibcxx_cv_system_error17=yes
17982 else
17983 glibcxx_cv_system_error17=no
17984 fi
17985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17986
17987 fi
17988
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17990 $as_echo "$glibcxx_cv_system_error17" >&6; }
17991 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17992
17993 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17994
17995 fi
17996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17997 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17998 if test "${glibcxx_cv_system_error18+set}" = set; then :
17999 $as_echo_n "(cached) " >&6
18000 else
18001
18002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18003 /* end confdefs.h. */
18004 #include <errno.h>
18005 int
18006 main ()
18007 {
18008 int i = ETIMEDOUT;
18009 ;
18010 return 0;
18011 }
18012 _ACEOF
18013 if ac_fn_c_try_compile "$LINENO"; then :
18014 glibcxx_cv_system_error18=yes
18015 else
18016 glibcxx_cv_system_error18=no
18017 fi
18018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18019
18020 fi
18021
18022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18023 $as_echo "$glibcxx_cv_system_error18" >&6; }
18024 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18025
18026 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18027
18028 fi
18029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18030 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18031 if test "${glibcxx_cv_system_error19+set}" = set; then :
18032 $as_echo_n "(cached) " >&6
18033 else
18034
18035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18036 /* end confdefs.h. */
18037 #include <errno.h>
18038 int
18039 main ()
18040 {
18041 int i = EWOULDBLOCK;
18042 ;
18043 return 0;
18044 }
18045 _ACEOF
18046 if ac_fn_c_try_compile "$LINENO"; then :
18047 glibcxx_cv_system_error19=yes
18048 else
18049 glibcxx_cv_system_error19=no
18050 fi
18051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18052
18053 fi
18054
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18056 $as_echo "$glibcxx_cv_system_error19" >&6; }
18057 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18058
18059 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18060
18061 fi
18062
18063
18064
18065 # For the streamoff typedef.
18066
18067
18068
18069 ac_ext=cpp
18070 ac_cpp='$CXXCPP $CPPFLAGS'
18071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18074
18075
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18077 $as_echo_n "checking for int64_t... " >&6; }
18078 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18079 $as_echo_n "(cached) " >&6
18080 else
18081
18082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18084 #include <stdint.h>
18085 int
18086 main ()
18087 {
18088 int64_t var;
18089 ;
18090 return 0;
18091 }
18092 _ACEOF
18093 if ac_fn_cxx_try_compile "$LINENO"; then :
18094 glibcxx_cv_INT64_T=yes
18095 else
18096 glibcxx_cv_INT64_T=no
18097 fi
18098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18099
18100 fi
18101
18102
18103 if test $glibcxx_cv_INT64_T = yes; then
18104
18105 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18106
18107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18108 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18109
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18111 $as_echo_n "checking for int64_t as long... " >&6; }
18112 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18113 $as_echo_n "(cached) " >&6
18114 else
18115
18116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h. */
18118 #include <stdint.h>
18119 template<typename, typename> struct same { enum { value = -1 }; };
18120 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18121 int array[same<int64_t, long>::value];
18122 int
18123 main ()
18124 {
18125
18126 ;
18127 return 0;
18128 }
18129 _ACEOF
18130 if ac_fn_cxx_try_compile "$LINENO"; then :
18131 glibcxx_cv_int64_t_long=yes
18132 else
18133 glibcxx_cv_int64_t_long=no
18134 fi
18135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18136
18137 fi
18138
18139
18140 if test $glibcxx_cv_int64_t_long = yes; then
18141
18142 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18143
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18145 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18146 fi
18147
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18149 $as_echo_n "checking for int64_t as long long... " >&6; }
18150 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18151 $as_echo_n "(cached) " >&6
18152 else
18153
18154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h. */
18156 #include <stdint.h>
18157 template<typename, typename> struct same { enum { value = -1 }; };
18158 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18159 int array[same<int64_t, long long>::value];
18160 int
18161 main ()
18162 {
18163
18164 ;
18165 return 0;
18166 }
18167 _ACEOF
18168 if ac_fn_cxx_try_compile "$LINENO"; then :
18169 glibcxx_cv_int64_t_long_long=yes
18170 else
18171 glibcxx_cv_int64_t_long_long=no
18172 fi
18173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18174
18175 fi
18176
18177
18178 if test $glibcxx_cv_int64_t_long_long = yes; then
18179
18180 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18181
18182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18183 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18184 fi
18185 fi
18186
18187 ac_ext=c
18188 ac_cpp='$CPP $CPPFLAGS'
18189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18192
18193
18194
18195 # For LFS support.
18196
18197
18198 ac_ext=cpp
18199 ac_cpp='$CXXCPP $CPPFLAGS'
18200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18203
18204 ac_save_CXXFLAGS="$CXXFLAGS"
18205 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18207 $as_echo_n "checking for LFS support... " >&6; }
18208 if test "${glibcxx_cv_LFS+set}" = set; then :
18209 $as_echo_n "(cached) " >&6
18210 else
18211
18212 if test x$gcc_no_link = xyes; then
18213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18214 /* end confdefs.h. */
18215 #include <unistd.h>
18216 #include <stdio.h>
18217 #include <sys/stat.h>
18218
18219 int
18220 main ()
18221 {
18222 FILE* fp;
18223 fopen64("t", "w");
18224 fseeko64(fp, 0, SEEK_CUR);
18225 ftello64(fp);
18226 lseek64(1, 0, SEEK_CUR);
18227 struct stat64 buf;
18228 fstat64(1, &buf);
18229 ;
18230 return 0;
18231 }
18232 _ACEOF
18233 if ac_fn_cxx_try_compile "$LINENO"; then :
18234 glibcxx_cv_LFS=yes
18235 else
18236 glibcxx_cv_LFS=no
18237 fi
18238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18239 else
18240 if test x$gcc_no_link = xyes; then
18241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18242 fi
18243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18244 /* end confdefs.h. */
18245 #include <unistd.h>
18246 #include <stdio.h>
18247 #include <sys/stat.h>
18248
18249 int
18250 main ()
18251 {
18252 FILE* fp;
18253 fopen64("t", "w");
18254 fseeko64(fp, 0, SEEK_CUR);
18255 ftello64(fp);
18256 lseek64(1, 0, SEEK_CUR);
18257 struct stat64 buf;
18258 fstat64(1, &buf);
18259 ;
18260 return 0;
18261 }
18262 _ACEOF
18263 if ac_fn_cxx_try_link "$LINENO"; then :
18264 glibcxx_cv_LFS=yes
18265 else
18266 glibcxx_cv_LFS=no
18267 fi
18268 rm -f core conftest.err conftest.$ac_objext \
18269 conftest$ac_exeext conftest.$ac_ext
18270 fi
18271
18272 fi
18273
18274 if test $glibcxx_cv_LFS = yes; then
18275
18276 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18277
18278 fi
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18280 $as_echo "$glibcxx_cv_LFS" >&6; }
18281 CXXFLAGS="$ac_save_CXXFLAGS"
18282 ac_ext=c
18283 ac_cpp='$CPP $CPPFLAGS'
18284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18287
18288
18289
18290 # For showmanyc_helper().
18291 for ac_header in sys/ioctl.h sys/filio.h
18292 do :
18293 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18294 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18295 eval as_val=\$$as_ac_Header
18296 if test "x$as_val" = x""yes; then :
18297 cat >>confdefs.h <<_ACEOF
18298 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18299 _ACEOF
18300
18301 fi
18302
18303 done
18304
18305
18306
18307
18308 ac_ext=cpp
18309 ac_cpp='$CXXCPP $CPPFLAGS'
18310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18313
18314 ac_save_CXXFLAGS="$CXXFLAGS"
18315 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18316
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18318 $as_echo_n "checking for poll... " >&6; }
18319 if test "${glibcxx_cv_POLL+set}" = set; then :
18320 $as_echo_n "(cached) " >&6
18321 else
18322
18323 if test x$gcc_no_link = xyes; then
18324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h. */
18326 #include <poll.h>
18327 int
18328 main ()
18329 {
18330 struct pollfd pfd[1];
18331 pfd[0].events = POLLIN;
18332 poll(pfd, 1, 0);
18333 ;
18334 return 0;
18335 }
18336 _ACEOF
18337 if ac_fn_cxx_try_compile "$LINENO"; then :
18338 glibcxx_cv_POLL=yes
18339 else
18340 glibcxx_cv_POLL=no
18341 fi
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18343 else
18344 if test x$gcc_no_link = xyes; then
18345 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18346 fi
18347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h. */
18349 #include <poll.h>
18350 int
18351 main ()
18352 {
18353 struct pollfd pfd[1];
18354 pfd[0].events = POLLIN;
18355 poll(pfd, 1, 0);
18356 ;
18357 return 0;
18358 }
18359 _ACEOF
18360 if ac_fn_cxx_try_link "$LINENO"; then :
18361 glibcxx_cv_POLL=yes
18362 else
18363 glibcxx_cv_POLL=no
18364 fi
18365 rm -f core conftest.err conftest.$ac_objext \
18366 conftest$ac_exeext conftest.$ac_ext
18367 fi
18368
18369 fi
18370
18371 if test $glibcxx_cv_POLL = yes; then
18372
18373 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18374
18375 fi
18376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18377 $as_echo "$glibcxx_cv_POLL" >&6; }
18378
18379 CXXFLAGS="$ac_save_CXXFLAGS"
18380 ac_ext=c
18381 ac_cpp='$CPP $CPPFLAGS'
18382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18385
18386
18387
18388
18389
18390 ac_ext=cpp
18391 ac_cpp='$CXXCPP $CPPFLAGS'
18392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18395
18396 ac_save_CXXFLAGS="$CXXFLAGS"
18397 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18398
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18400 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18401 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18402 $as_echo_n "(cached) " >&6
18403 else
18404
18405 if test x$gcc_no_link = xyes; then
18406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18408 #include <sys/stat.h>
18409 int
18410 main ()
18411 {
18412 struct stat buffer;
18413 fstat(0, &buffer);
18414 S_ISREG(buffer.st_mode);
18415 ;
18416 return 0;
18417 }
18418 _ACEOF
18419 if ac_fn_cxx_try_compile "$LINENO"; then :
18420 glibcxx_cv_S_ISREG=yes
18421 else
18422 glibcxx_cv_S_ISREG=no
18423 fi
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425 else
18426 if test x$gcc_no_link = xyes; then
18427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18428 fi
18429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18430 /* end confdefs.h. */
18431 #include <sys/stat.h>
18432 int
18433 main ()
18434 {
18435 struct stat buffer;
18436 fstat(0, &buffer);
18437 S_ISREG(buffer.st_mode);
18438 ;
18439 return 0;
18440 }
18441 _ACEOF
18442 if ac_fn_cxx_try_link "$LINENO"; then :
18443 glibcxx_cv_S_ISREG=yes
18444 else
18445 glibcxx_cv_S_ISREG=no
18446 fi
18447 rm -f core conftest.err conftest.$ac_objext \
18448 conftest$ac_exeext conftest.$ac_ext
18449 fi
18450
18451 fi
18452
18453 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18454 $as_echo_n "(cached) " >&6
18455 else
18456
18457 if test x$gcc_no_link = xyes; then
18458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18459 /* end confdefs.h. */
18460 #include <sys/stat.h>
18461 int
18462 main ()
18463 {
18464 struct stat buffer;
18465 fstat(0, &buffer);
18466 S_IFREG & buffer.st_mode;
18467 ;
18468 return 0;
18469 }
18470 _ACEOF
18471 if ac_fn_cxx_try_compile "$LINENO"; then :
18472 glibcxx_cv_S_IFREG=yes
18473 else
18474 glibcxx_cv_S_IFREG=no
18475 fi
18476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18477 else
18478 if test x$gcc_no_link = xyes; then
18479 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18480 fi
18481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h. */
18483 #include <sys/stat.h>
18484 int
18485 main ()
18486 {
18487 struct stat buffer;
18488 fstat(0, &buffer);
18489 S_IFREG & buffer.st_mode;
18490 ;
18491 return 0;
18492 }
18493 _ACEOF
18494 if ac_fn_cxx_try_link "$LINENO"; then :
18495 glibcxx_cv_S_IFREG=yes
18496 else
18497 glibcxx_cv_S_IFREG=no
18498 fi
18499 rm -f core conftest.err conftest.$ac_objext \
18500 conftest$ac_exeext conftest.$ac_ext
18501 fi
18502
18503 fi
18504
18505 res=no
18506 if test $glibcxx_cv_S_ISREG = yes; then
18507
18508 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18509
18510 res=S_ISREG
18511 elif test $glibcxx_cv_S_IFREG = yes; then
18512
18513 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18514
18515 res=S_IFREG
18516 fi
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18518 $as_echo "$res" >&6; }
18519
18520 CXXFLAGS="$ac_save_CXXFLAGS"
18521 ac_ext=c
18522 ac_cpp='$CPP $CPPFLAGS'
18523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18526
18527
18528
18529 # For xsputn_2().
18530 for ac_header in sys/uio.h
18531 do :
18532 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18533 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18534 cat >>confdefs.h <<_ACEOF
18535 #define HAVE_SYS_UIO_H 1
18536 _ACEOF
18537
18538 fi
18539
18540 done
18541
18542
18543
18544
18545 ac_ext=cpp
18546 ac_cpp='$CXXCPP $CPPFLAGS'
18547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18550
18551 ac_save_CXXFLAGS="$CXXFLAGS"
18552 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18553
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18555 $as_echo_n "checking for writev... " >&6; }
18556 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18557 $as_echo_n "(cached) " >&6
18558 else
18559
18560 if test x$gcc_no_link = xyes; then
18561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18563 #include <sys/uio.h>
18564 int
18565 main ()
18566 {
18567 struct iovec iov[2];
18568 writev(0, iov, 0);
18569 ;
18570 return 0;
18571 }
18572 _ACEOF
18573 if ac_fn_cxx_try_compile "$LINENO"; then :
18574 glibcxx_cv_WRITEV=yes
18575 else
18576 glibcxx_cv_WRITEV=no
18577 fi
18578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18579 else
18580 if test x$gcc_no_link = xyes; then
18581 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18582 fi
18583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18584 /* end confdefs.h. */
18585 #include <sys/uio.h>
18586 int
18587 main ()
18588 {
18589 struct iovec iov[2];
18590 writev(0, iov, 0);
18591 ;
18592 return 0;
18593 }
18594 _ACEOF
18595 if ac_fn_cxx_try_link "$LINENO"; then :
18596 glibcxx_cv_WRITEV=yes
18597 else
18598 glibcxx_cv_WRITEV=no
18599 fi
18600 rm -f core conftest.err conftest.$ac_objext \
18601 conftest$ac_exeext conftest.$ac_ext
18602 fi
18603
18604 fi
18605
18606 if test $glibcxx_cv_WRITEV = yes; then
18607
18608 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18609
18610 fi
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18612 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18613
18614 CXXFLAGS="$ac_save_CXXFLAGS"
18615 ac_ext=c
18616 ac_cpp='$CPP $CPPFLAGS'
18617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18620
18621
18622
18623 # For C99 support to TR1.
18624
18625
18626
18627 ac_ext=cpp
18628 ac_cpp='$CXXCPP $CPPFLAGS'
18629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18632
18633
18634 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18635 # undefined and fake C99 facilities may be spuriously enabled.
18636 ac_save_CXXFLAGS="$CXXFLAGS"
18637 CXXFLAGS="$CXXFLAGS -std=c++98"
18638
18639 # Check for the existence of <complex.h> complex math functions used
18640 # by tr1/complex.
18641 for ac_header in complex.h
18642 do :
18643 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18644 if test "x$ac_cv_header_complex_h" = x""yes; then :
18645 cat >>confdefs.h <<_ACEOF
18646 #define HAVE_COMPLEX_H 1
18647 _ACEOF
18648 ac_has_complex_h=yes
18649 else
18650 ac_has_complex_h=no
18651 fi
18652
18653 done
18654
18655 ac_c99_complex_tr1=no;
18656 if test x"$ac_has_complex_h" = x"yes"; then
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18658 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18661 #include <complex.h>
18662 int
18663 main ()
18664 {
18665 typedef __complex__ float float_type; float_type tmpf;
18666 cacosf(tmpf);
18667 casinf(tmpf);
18668 catanf(tmpf);
18669 cacoshf(tmpf);
18670 casinhf(tmpf);
18671 catanhf(tmpf);
18672 typedef __complex__ double double_type; double_type tmpd;
18673 cacos(tmpd);
18674 casin(tmpd);
18675 catan(tmpd);
18676 cacosh(tmpd);
18677 casinh(tmpd);
18678 catanh(tmpd);
18679 typedef __complex__ long double ld_type; ld_type tmpld;
18680 cacosl(tmpld);
18681 casinl(tmpld);
18682 catanl(tmpld);
18683 cacoshl(tmpld);
18684 casinhl(tmpld);
18685 catanhl(tmpld);
18686
18687 ;
18688 return 0;
18689 }
18690 _ACEOF
18691 if ac_fn_cxx_try_compile "$LINENO"; then :
18692 ac_c99_complex_tr1=yes
18693 else
18694 ac_c99_complex_tr1=no
18695 fi
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697 fi
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18699 $as_echo "$ac_c99_complex_tr1" >&6; }
18700 if test x"$ac_c99_complex_tr1" = x"yes"; then
18701
18702 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18703
18704 fi
18705
18706 # Check for the existence of <ctype.h> functions.
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18708 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18709 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18710 $as_echo_n "(cached) " >&6
18711 else
18712
18713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18714 /* end confdefs.h. */
18715 #include <ctype.h>
18716 int
18717 main ()
18718 {
18719 int ch;
18720 int ret;
18721 ret = isblank(ch);
18722
18723 ;
18724 return 0;
18725 }
18726 _ACEOF
18727 if ac_fn_cxx_try_compile "$LINENO"; then :
18728 glibcxx_cv_c99_ctype_tr1=yes
18729 else
18730 glibcxx_cv_c99_ctype_tr1=no
18731 fi
18732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18733
18734 fi
18735
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18737 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18738 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18739
18740 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18741
18742 fi
18743
18744 # Check for the existence of <fenv.h> functions.
18745 for ac_header in fenv.h
18746 do :
18747 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18748 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18749 cat >>confdefs.h <<_ACEOF
18750 #define HAVE_FENV_H 1
18751 _ACEOF
18752 ac_has_fenv_h=yes
18753 else
18754 ac_has_fenv_h=no
18755 fi
18756
18757 done
18758
18759 ac_c99_fenv_tr1=no;
18760 if test x"$ac_has_fenv_h" = x"yes"; then
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18762 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18764 /* end confdefs.h. */
18765 #include <fenv.h>
18766 int
18767 main ()
18768 {
18769 int except, mode;
18770 fexcept_t* pflag;
18771 fenv_t* penv;
18772 int ret;
18773 ret = feclearexcept(except);
18774 ret = fegetexceptflag(pflag, except);
18775 ret = feraiseexcept(except);
18776 ret = fesetexceptflag(pflag, except);
18777 ret = fetestexcept(except);
18778 ret = fegetround();
18779 ret = fesetround(mode);
18780 ret = fegetenv(penv);
18781 ret = feholdexcept(penv);
18782 ret = fesetenv(penv);
18783 ret = feupdateenv(penv);
18784
18785 ;
18786 return 0;
18787 }
18788 _ACEOF
18789 if ac_fn_cxx_try_compile "$LINENO"; then :
18790 ac_c99_fenv_tr1=yes
18791 else
18792 ac_c99_fenv_tr1=no
18793 fi
18794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18795 fi
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18797 $as_echo "$ac_c99_fenv_tr1" >&6; }
18798 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18799
18800 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18801
18802 fi
18803
18804 # Check for the existence of <stdint.h> types.
18805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18806 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18807 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18808 $as_echo_n "(cached) " >&6
18809 else
18810
18811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h. */
18813 #define __STDC_LIMIT_MACROS
18814 #define __STDC_CONSTANT_MACROS
18815 #include <stdint.h>
18816 int
18817 main ()
18818 {
18819 typedef int8_t my_int8_t;
18820 my_int8_t i8 = INT8_MIN;
18821 i8 = INT8_MAX;
18822 typedef int16_t my_int16_t;
18823 my_int16_t i16 = INT16_MIN;
18824 i16 = INT16_MAX;
18825 typedef int32_t my_int32_t;
18826 my_int32_t i32 = INT32_MIN;
18827 i32 = INT32_MAX;
18828 typedef int64_t my_int64_t;
18829 my_int64_t i64 = INT64_MIN;
18830 i64 = INT64_MAX;
18831 typedef int_fast8_t my_int_fast8_t;
18832 my_int_fast8_t if8 = INT_FAST8_MIN;
18833 if8 = INT_FAST8_MAX;
18834 typedef int_fast16_t my_int_fast16_t;
18835 my_int_fast16_t if16 = INT_FAST16_MIN;
18836 if16 = INT_FAST16_MAX;
18837 typedef int_fast32_t my_int_fast32_t;
18838 my_int_fast32_t if32 = INT_FAST32_MIN;
18839 if32 = INT_FAST32_MAX;
18840 typedef int_fast64_t my_int_fast64_t;
18841 my_int_fast64_t if64 = INT_FAST64_MIN;
18842 if64 = INT_FAST64_MAX;
18843 typedef int_least8_t my_int_least8_t;
18844 my_int_least8_t il8 = INT_LEAST8_MIN;
18845 il8 = INT_LEAST8_MAX;
18846 typedef int_least16_t my_int_least16_t;
18847 my_int_least16_t il16 = INT_LEAST16_MIN;
18848 il16 = INT_LEAST16_MAX;
18849 typedef int_least32_t my_int_least32_t;
18850 my_int_least32_t il32 = INT_LEAST32_MIN;
18851 il32 = INT_LEAST32_MAX;
18852 typedef int_least64_t my_int_least64_t;
18853 my_int_least64_t il64 = INT_LEAST64_MIN;
18854 il64 = INT_LEAST64_MAX;
18855 typedef intmax_t my_intmax_t;
18856 my_intmax_t im = INTMAX_MAX;
18857 im = INTMAX_MIN;
18858 typedef intptr_t my_intptr_t;
18859 my_intptr_t ip = INTPTR_MAX;
18860 ip = INTPTR_MIN;
18861 typedef uint8_t my_uint8_t;
18862 my_uint8_t ui8 = UINT8_MAX;
18863 ui8 = UINT8_MAX;
18864 typedef uint16_t my_uint16_t;
18865 my_uint16_t ui16 = UINT16_MAX;
18866 ui16 = UINT16_MAX;
18867 typedef uint32_t my_uint32_t;
18868 my_uint32_t ui32 = UINT32_MAX;
18869 ui32 = UINT32_MAX;
18870 typedef uint64_t my_uint64_t;
18871 my_uint64_t ui64 = UINT64_MAX;
18872 ui64 = UINT64_MAX;
18873 typedef uint_fast8_t my_uint_fast8_t;
18874 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18875 uif8 = UINT_FAST8_MAX;
18876 typedef uint_fast16_t my_uint_fast16_t;
18877 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18878 uif16 = UINT_FAST16_MAX;
18879 typedef uint_fast32_t my_uint_fast32_t;
18880 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18881 uif32 = UINT_FAST32_MAX;
18882 typedef uint_fast64_t my_uint_fast64_t;
18883 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18884 uif64 = UINT_FAST64_MAX;
18885 typedef uint_least8_t my_uint_least8_t;
18886 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18887 uil8 = UINT_LEAST8_MAX;
18888 typedef uint_least16_t my_uint_least16_t;
18889 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18890 uil16 = UINT_LEAST16_MAX;
18891 typedef uint_least32_t my_uint_least32_t;
18892 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18893 uil32 = UINT_LEAST32_MAX;
18894 typedef uint_least64_t my_uint_least64_t;
18895 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18896 uil64 = UINT_LEAST64_MAX;
18897 typedef uintmax_t my_uintmax_t;
18898 my_uintmax_t uim = UINTMAX_MAX;
18899 uim = UINTMAX_MAX;
18900 typedef uintptr_t my_uintptr_t;
18901 my_uintptr_t uip = UINTPTR_MAX;
18902 uip = UINTPTR_MAX;
18903
18904 ;
18905 return 0;
18906 }
18907 _ACEOF
18908 if ac_fn_cxx_try_compile "$LINENO"; then :
18909 glibcxx_cv_c99_stdint_tr1=yes
18910 else
18911 glibcxx_cv_c99_stdint_tr1=no
18912 fi
18913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18914
18915 fi
18916
18917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18918 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18919 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18920
18921 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18922
18923 fi
18924
18925 # Check for the existence of <math.h> functions.
18926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18927 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18928 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18929 $as_echo_n "(cached) " >&6
18930 else
18931
18932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18933 /* end confdefs.h. */
18934 #include <math.h>
18935 int
18936 main ()
18937 {
18938 typedef double_t my_double_t;
18939 typedef float_t my_float_t;
18940 acosh(0.0);
18941 acoshf(0.0f);
18942 acoshl(0.0l);
18943 asinh(0.0);
18944 asinhf(0.0f);
18945 asinhl(0.0l);
18946 atanh(0.0);
18947 atanhf(0.0f);
18948 atanhl(0.0l);
18949 cbrt(0.0);
18950 cbrtf(0.0f);
18951 cbrtl(0.0l);
18952 copysign(0.0, 0.0);
18953 copysignf(0.0f, 0.0f);
18954 copysignl(0.0l, 0.0l);
18955 erf(0.0);
18956 erff(0.0f);
18957 erfl(0.0l);
18958 erfc(0.0);
18959 erfcf(0.0f);
18960 erfcl(0.0l);
18961 exp2(0.0);
18962 exp2f(0.0f);
18963 exp2l(0.0l);
18964 expm1(0.0);
18965 expm1f(0.0f);
18966 expm1l(0.0l);
18967 fdim(0.0, 0.0);
18968 fdimf(0.0f, 0.0f);
18969 fdiml(0.0l, 0.0l);
18970 fma(0.0, 0.0, 0.0);
18971 fmaf(0.0f, 0.0f, 0.0f);
18972 fmal(0.0l, 0.0l, 0.0l);
18973 fmax(0.0, 0.0);
18974 fmaxf(0.0f, 0.0f);
18975 fmaxl(0.0l, 0.0l);
18976 fmin(0.0, 0.0);
18977 fminf(0.0f, 0.0f);
18978 fminl(0.0l, 0.0l);
18979 hypot(0.0, 0.0);
18980 hypotf(0.0f, 0.0f);
18981 hypotl(0.0l, 0.0l);
18982 ilogb(0.0);
18983 ilogbf(0.0f);
18984 ilogbl(0.0l);
18985 lgamma(0.0);
18986 lgammaf(0.0f);
18987 lgammal(0.0l);
18988 llrint(0.0);
18989 llrintf(0.0f);
18990 llrintl(0.0l);
18991 llround(0.0);
18992 llroundf(0.0f);
18993 llroundl(0.0l);
18994 log1p(0.0);
18995 log1pf(0.0f);
18996 log1pl(0.0l);
18997 log2(0.0);
18998 log2f(0.0f);
18999 log2l(0.0l);
19000 logb(0.0);
19001 logbf(0.0f);
19002 logbl(0.0l);
19003 lrint(0.0);
19004 lrintf(0.0f);
19005 lrintl(0.0l);
19006 lround(0.0);
19007 lroundf(0.0f);
19008 lroundl(0.0l);
19009 nan(0);
19010 nanf(0);
19011 nanl(0);
19012 nearbyint(0.0);
19013 nearbyintf(0.0f);
19014 nearbyintl(0.0l);
19015 nextafter(0.0, 0.0);
19016 nextafterf(0.0f, 0.0f);
19017 nextafterl(0.0l, 0.0l);
19018 nexttoward(0.0, 0.0);
19019 nexttowardf(0.0f, 0.0f);
19020 nexttowardl(0.0l, 0.0l);
19021 remainder(0.0, 0.0);
19022 remainderf(0.0f, 0.0f);
19023 remainderl(0.0l, 0.0l);
19024 remquo(0.0, 0.0, 0);
19025 remquof(0.0f, 0.0f, 0);
19026 remquol(0.0l, 0.0l, 0);
19027 rint(0.0);
19028 rintf(0.0f);
19029 rintl(0.0l);
19030 round(0.0);
19031 roundf(0.0f);
19032 roundl(0.0l);
19033 scalbln(0.0, 0l);
19034 scalblnf(0.0f, 0l);
19035 scalblnl(0.0l, 0l);
19036 scalbn(0.0, 0);
19037 scalbnf(0.0f, 0);
19038 scalbnl(0.0l, 0);
19039 tgamma(0.0);
19040 tgammaf(0.0f);
19041 tgammal(0.0l);
19042 trunc(0.0);
19043 truncf(0.0f);
19044 truncl(0.0l);
19045
19046 ;
19047 return 0;
19048 }
19049 _ACEOF
19050 if ac_fn_cxx_try_compile "$LINENO"; then :
19051 glibcxx_cv_c99_math_tr1=yes
19052 else
19053 glibcxx_cv_c99_math_tr1=no
19054 fi
19055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19056
19057 fi
19058
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19060 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19061 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19062
19063 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19064
19065 fi
19066
19067 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19068 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19069 ac_c99_inttypes_tr1=no;
19070 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19072 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19074 /* end confdefs.h. */
19075 #include <inttypes.h>
19076 int
19077 main ()
19078 {
19079 intmax_t i, numer, denom, base;
19080 const char* s;
19081 char** endptr;
19082 intmax_t ret = imaxabs(i);
19083 imaxdiv_t dret = imaxdiv(numer, denom);
19084 ret = strtoimax(s, endptr, base);
19085 uintmax_t uret = strtoumax(s, endptr, base);
19086
19087 ;
19088 return 0;
19089 }
19090 _ACEOF
19091 if ac_fn_cxx_try_compile "$LINENO"; then :
19092 ac_c99_inttypes_tr1=yes
19093 else
19094 ac_c99_inttypes_tr1=no
19095 fi
19096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19097 fi
19098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19099 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19100 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19101
19102 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19103
19104 fi
19105
19106 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19107 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19108 ac_c99_inttypes_wchar_t_tr1=no;
19109 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19111 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19113 /* end confdefs.h. */
19114 #include <inttypes.h>
19115 int
19116 main ()
19117 {
19118 intmax_t base;
19119 const wchar_t* s;
19120 wchar_t** endptr;
19121 intmax_t ret = wcstoimax(s, endptr, base);
19122 uintmax_t uret = wcstoumax(s, endptr, base);
19123
19124 ;
19125 return 0;
19126 }
19127 _ACEOF
19128 if ac_fn_cxx_try_compile "$LINENO"; then :
19129 ac_c99_inttypes_wchar_t_tr1=yes
19130 else
19131 ac_c99_inttypes_wchar_t_tr1=no
19132 fi
19133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19134 fi
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19136 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19137 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19138
19139 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19140
19141 fi
19142
19143 # Check for the existence of the <stdbool.h> header.
19144 for ac_header in stdbool.h
19145 do :
19146 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19147 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19148 cat >>confdefs.h <<_ACEOF
19149 #define HAVE_STDBOOL_H 1
19150 _ACEOF
19151
19152 fi
19153
19154 done
19155
19156
19157 # Check for the existence of the <stdalign.h> header.
19158 for ac_header in stdalign.h
19159 do :
19160 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19161 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19162 cat >>confdefs.h <<_ACEOF
19163 #define HAVE_STDALIGN_H 1
19164 _ACEOF
19165
19166 fi
19167
19168 done
19169
19170
19171 CXXFLAGS="$ac_save_CXXFLAGS"
19172 ac_ext=c
19173 ac_cpp='$CPP $CPPFLAGS'
19174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19177
19178
19179
19180 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19181
19182
19183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19184 $as_echo_n "checking for the value of EOF... " >&6; }
19185 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19186 $as_echo_n "(cached) " >&6
19187 else
19188
19189 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19190
19191 else
19192 as_fn_error "computing EOF failed" "$LINENO" 5
19193 fi
19194
19195
19196 fi
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19198 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19199
19200 cat >>confdefs.h <<_ACEOF
19201 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19202 _ACEOF
19203
19204
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19206 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19207 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19208 $as_echo_n "(cached) " >&6
19209 else
19210
19211 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19212
19213 else
19214 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19215 fi
19216
19217
19218 fi
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19220 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19221
19222 cat >>confdefs.h <<_ACEOF
19223 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19224 _ACEOF
19225
19226
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19228 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19229 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19230 $as_echo_n "(cached) " >&6
19231 else
19232
19233 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19234
19235 else
19236 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19237 fi
19238
19239
19240 fi
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19242 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19243
19244 cat >>confdefs.h <<_ACEOF
19245 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19246 _ACEOF
19247
19248
19249
19250 # For gettimeofday support.
19251
19252
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19254 $as_echo_n "checking for gettimeofday... " >&6; }
19255
19256
19257 ac_ext=cpp
19258 ac_cpp='$CXXCPP $CPPFLAGS'
19259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19262
19263 ac_save_CXXFLAGS="$CXXFLAGS"
19264 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19265
19266 ac_has_gettimeofday=no;
19267 for ac_header in sys/time.h
19268 do :
19269 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19270 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19271 cat >>confdefs.h <<_ACEOF
19272 #define HAVE_SYS_TIME_H 1
19273 _ACEOF
19274 ac_has_sys_time_h=yes
19275 else
19276 ac_has_sys_time_h=no
19277 fi
19278
19279 done
19280
19281 if test x"$ac_has_sys_time_h" = x"yes"; then
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19283 $as_echo_n "checking for gettimeofday... " >&6; }
19284 if test x$gcc_no_link = xyes; then
19285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19286 /* end confdefs.h. */
19287 #include <sys/time.h>
19288 int
19289 main ()
19290 {
19291 timeval tv; gettimeofday(&tv, 0);
19292 ;
19293 return 0;
19294 }
19295 _ACEOF
19296 if ac_fn_cxx_try_compile "$LINENO"; then :
19297 ac_has_gettimeofday=yes
19298 else
19299 ac_has_gettimeofday=no
19300 fi
19301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19302 else
19303 if test x$gcc_no_link = xyes; then
19304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19305 fi
19306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19307 /* end confdefs.h. */
19308 #include <sys/time.h>
19309 int
19310 main ()
19311 {
19312 timeval tv; gettimeofday(&tv, 0);
19313 ;
19314 return 0;
19315 }
19316 _ACEOF
19317 if ac_fn_cxx_try_link "$LINENO"; then :
19318 ac_has_gettimeofday=yes
19319 else
19320 ac_has_gettimeofday=no
19321 fi
19322 rm -f core conftest.err conftest.$ac_objext \
19323 conftest$ac_exeext conftest.$ac_ext
19324 fi
19325
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19327 $as_echo "$ac_has_gettimeofday" >&6; }
19328 fi
19329
19330 if test x"$ac_has_gettimeofday" = x"yes"; then
19331
19332 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19333
19334 fi
19335
19336 CXXFLAGS="$ac_save_CXXFLAGS"
19337 ac_ext=c
19338 ac_cpp='$CPP $CPPFLAGS'
19339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19342
19343
19344
19345 # For clock_gettime, nanosleep and sched_yield support.
19346 # NB: The default is [no], because otherwise it requires linking.
19347
19348
19349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19350 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19351 # Check whether --enable-libstdcxx-time was given.
19352 if test "${enable_libstdcxx_time+set}" = set; then :
19353 enableval=$enable_libstdcxx_time;
19354 case "$enableval" in
19355 yes|no|rt) ;;
19356 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19357 esac
19358
19359 else
19360 enable_libstdcxx_time=no
19361 fi
19362
19363
19364
19365
19366 ac_ext=cpp
19367 ac_cpp='$CXXCPP $CPPFLAGS'
19368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19371
19372 ac_save_CXXFLAGS="$CXXFLAGS"
19373 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19374 ac_save_LIBS="$LIBS"
19375
19376 ac_has_clock_monotonic=no
19377 ac_has_clock_realtime=no
19378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19379 $as_echo "$enable_libstdcxx_time" >&6; }
19380
19381 if test x"$enable_libstdcxx_time" != x"no"; then
19382
19383 if test x"$enable_libstdcxx_time" = x"rt"; then
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19385 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19386 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19387 $as_echo_n "(cached) " >&6
19388 else
19389 ac_func_search_save_LIBS=$LIBS
19390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19391 /* end confdefs.h. */
19392
19393 /* Override any GCC internal prototype to avoid an error.
19394 Use char because int might match the return type of a GCC
19395 builtin and then its argument prototype would still apply. */
19396 #ifdef __cplusplus
19397 extern "C"
19398 #endif
19399 char clock_gettime ();
19400 int
19401 main ()
19402 {
19403 return clock_gettime ();
19404 ;
19405 return 0;
19406 }
19407 _ACEOF
19408 for ac_lib in '' rt posix4; do
19409 if test -z "$ac_lib"; then
19410 ac_res="none required"
19411 else
19412 ac_res=-l$ac_lib
19413 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19414 fi
19415 if test x$gcc_no_link = xyes; then
19416 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19417 fi
19418 if ac_fn_cxx_try_link "$LINENO"; then :
19419 ac_cv_search_clock_gettime=$ac_res
19420 fi
19421 rm -f core conftest.err conftest.$ac_objext \
19422 conftest$ac_exeext
19423 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19424 break
19425 fi
19426 done
19427 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19428
19429 else
19430 ac_cv_search_clock_gettime=no
19431 fi
19432 rm conftest.$ac_ext
19433 LIBS=$ac_func_search_save_LIBS
19434 fi
19435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19436 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19437 ac_res=$ac_cv_search_clock_gettime
19438 if test "$ac_res" != no; then :
19439 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19440
19441 fi
19442
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19444 $as_echo_n "checking for library containing nanosleep... " >&6; }
19445 if test "${ac_cv_search_nanosleep+set}" = set; then :
19446 $as_echo_n "(cached) " >&6
19447 else
19448 ac_func_search_save_LIBS=$LIBS
19449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19450 /* end confdefs.h. */
19451
19452 /* Override any GCC internal prototype to avoid an error.
19453 Use char because int might match the return type of a GCC
19454 builtin and then its argument prototype would still apply. */
19455 #ifdef __cplusplus
19456 extern "C"
19457 #endif
19458 char nanosleep ();
19459 int
19460 main ()
19461 {
19462 return nanosleep ();
19463 ;
19464 return 0;
19465 }
19466 _ACEOF
19467 for ac_lib in '' rt posix4; do
19468 if test -z "$ac_lib"; then
19469 ac_res="none required"
19470 else
19471 ac_res=-l$ac_lib
19472 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19473 fi
19474 if test x$gcc_no_link = xyes; then
19475 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19476 fi
19477 if ac_fn_cxx_try_link "$LINENO"; then :
19478 ac_cv_search_nanosleep=$ac_res
19479 fi
19480 rm -f core conftest.err conftest.$ac_objext \
19481 conftest$ac_exeext
19482 if test "${ac_cv_search_nanosleep+set}" = set; then :
19483 break
19484 fi
19485 done
19486 if test "${ac_cv_search_nanosleep+set}" = set; then :
19487
19488 else
19489 ac_cv_search_nanosleep=no
19490 fi
19491 rm conftest.$ac_ext
19492 LIBS=$ac_func_search_save_LIBS
19493 fi
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19495 $as_echo "$ac_cv_search_nanosleep" >&6; }
19496 ac_res=$ac_cv_search_nanosleep
19497 if test "$ac_res" != no; then :
19498 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19499
19500 fi
19501
19502 else
19503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19504 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19505 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19506 $as_echo_n "(cached) " >&6
19507 else
19508 ac_func_search_save_LIBS=$LIBS
19509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19510 /* end confdefs.h. */
19511
19512 /* Override any GCC internal prototype to avoid an error.
19513 Use char because int might match the return type of a GCC
19514 builtin and then its argument prototype would still apply. */
19515 #ifdef __cplusplus
19516 extern "C"
19517 #endif
19518 char clock_gettime ();
19519 int
19520 main ()
19521 {
19522 return clock_gettime ();
19523 ;
19524 return 0;
19525 }
19526 _ACEOF
19527 for ac_lib in '' posix4; do
19528 if test -z "$ac_lib"; then
19529 ac_res="none required"
19530 else
19531 ac_res=-l$ac_lib
19532 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19533 fi
19534 if test x$gcc_no_link = xyes; then
19535 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19536 fi
19537 if ac_fn_cxx_try_link "$LINENO"; then :
19538 ac_cv_search_clock_gettime=$ac_res
19539 fi
19540 rm -f core conftest.err conftest.$ac_objext \
19541 conftest$ac_exeext
19542 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19543 break
19544 fi
19545 done
19546 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19547
19548 else
19549 ac_cv_search_clock_gettime=no
19550 fi
19551 rm conftest.$ac_ext
19552 LIBS=$ac_func_search_save_LIBS
19553 fi
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19555 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19556 ac_res=$ac_cv_search_clock_gettime
19557 if test "$ac_res" != no; then :
19558 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19559
19560 fi
19561
19562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19563 $as_echo_n "checking for library containing nanosleep... " >&6; }
19564 if test "${ac_cv_search_nanosleep+set}" = set; then :
19565 $as_echo_n "(cached) " >&6
19566 else
19567 ac_func_search_save_LIBS=$LIBS
19568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19569 /* end confdefs.h. */
19570
19571 /* Override any GCC internal prototype to avoid an error.
19572 Use char because int might match the return type of a GCC
19573 builtin and then its argument prototype would still apply. */
19574 #ifdef __cplusplus
19575 extern "C"
19576 #endif
19577 char nanosleep ();
19578 int
19579 main ()
19580 {
19581 return nanosleep ();
19582 ;
19583 return 0;
19584 }
19585 _ACEOF
19586 for ac_lib in '' posix4; do
19587 if test -z "$ac_lib"; then
19588 ac_res="none required"
19589 else
19590 ac_res=-l$ac_lib
19591 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19592 fi
19593 if test x$gcc_no_link = xyes; then
19594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19595 fi
19596 if ac_fn_cxx_try_link "$LINENO"; then :
19597 ac_cv_search_nanosleep=$ac_res
19598 fi
19599 rm -f core conftest.err conftest.$ac_objext \
19600 conftest$ac_exeext
19601 if test "${ac_cv_search_nanosleep+set}" = set; then :
19602 break
19603 fi
19604 done
19605 if test "${ac_cv_search_nanosleep+set}" = set; then :
19606
19607 else
19608 ac_cv_search_nanosleep=no
19609 fi
19610 rm conftest.$ac_ext
19611 LIBS=$ac_func_search_save_LIBS
19612 fi
19613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19614 $as_echo "$ac_cv_search_nanosleep" >&6; }
19615 ac_res=$ac_cv_search_nanosleep
19616 if test "$ac_res" != no; then :
19617 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19618
19619 fi
19620
19621 fi
19622
19623 case "$ac_cv_search_clock_gettime" in
19624 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19625 ;;
19626 esac
19627 case "$ac_cv_search_nanosleep" in
19628 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19629 ;;
19630 esac
19631
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19633 $as_echo_n "checking for library containing sched_yield... " >&6; }
19634 if test "${ac_cv_search_sched_yield+set}" = set; then :
19635 $as_echo_n "(cached) " >&6
19636 else
19637 ac_func_search_save_LIBS=$LIBS
19638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19639 /* end confdefs.h. */
19640
19641 /* Override any GCC internal prototype to avoid an error.
19642 Use char because int might match the return type of a GCC
19643 builtin and then its argument prototype would still apply. */
19644 #ifdef __cplusplus
19645 extern "C"
19646 #endif
19647 char sched_yield ();
19648 int
19649 main ()
19650 {
19651 return sched_yield ();
19652 ;
19653 return 0;
19654 }
19655 _ACEOF
19656 for ac_lib in '' rt posix4; do
19657 if test -z "$ac_lib"; then
19658 ac_res="none required"
19659 else
19660 ac_res=-l$ac_lib
19661 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19662 fi
19663 if test x$gcc_no_link = xyes; then
19664 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19665 fi
19666 if ac_fn_cxx_try_link "$LINENO"; then :
19667 ac_cv_search_sched_yield=$ac_res
19668 fi
19669 rm -f core conftest.err conftest.$ac_objext \
19670 conftest$ac_exeext
19671 if test "${ac_cv_search_sched_yield+set}" = set; then :
19672 break
19673 fi
19674 done
19675 if test "${ac_cv_search_sched_yield+set}" = set; then :
19676
19677 else
19678 ac_cv_search_sched_yield=no
19679 fi
19680 rm conftest.$ac_ext
19681 LIBS=$ac_func_search_save_LIBS
19682 fi
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19684 $as_echo "$ac_cv_search_sched_yield" >&6; }
19685 ac_res=$ac_cv_search_sched_yield
19686 if test "$ac_res" != no; then :
19687 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19688
19689 fi
19690
19691
19692 case "$ac_cv_search_sched_yield" in
19693 -lposix4*)
19694 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19695
19696 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19697
19698 ;;
19699 -lrt*)
19700 if test x"$enable_libstdcxx_time" = x"rt"; then
19701 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19702
19703 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19704
19705 fi
19706 ;;
19707 *)
19708
19709 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19710
19711 ;;
19712 esac
19713
19714 for ac_header in unistd.h
19715 do :
19716 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19717 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19718 cat >>confdefs.h <<_ACEOF
19719 #define HAVE_UNISTD_H 1
19720 _ACEOF
19721 ac_has_unistd_h=yes
19722 else
19723 ac_has_unistd_h=no
19724 fi
19725
19726 done
19727
19728
19729 if test x"$ac_has_unistd_h" = x"yes"; then
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19731 $as_echo_n "checking for monotonic clock... " >&6; }
19732 if test x$gcc_no_link = xyes; then
19733 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19734 fi
19735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19736 /* end confdefs.h. */
19737 #include <unistd.h>
19738 #include <time.h>
19739
19740 int
19741 main ()
19742 {
19743 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19744 timespec tp;
19745 #endif
19746 clock_gettime(CLOCK_MONOTONIC, &tp);
19747
19748 ;
19749 return 0;
19750 }
19751 _ACEOF
19752 if ac_fn_cxx_try_link "$LINENO"; then :
19753 ac_has_clock_monotonic=yes
19754 else
19755 ac_has_clock_monotonic=no
19756 fi
19757 rm -f core conftest.err conftest.$ac_objext \
19758 conftest$ac_exeext conftest.$ac_ext
19759
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19761 $as_echo "$ac_has_clock_monotonic" >&6; }
19762
19763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19764 $as_echo_n "checking for realtime clock... " >&6; }
19765 if test x$gcc_no_link = xyes; then
19766 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19767 fi
19768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19769 /* end confdefs.h. */
19770 #include <unistd.h>
19771 #include <time.h>
19772
19773 int
19774 main ()
19775 {
19776 #if _POSIX_TIMERS > 0
19777 timespec tp;
19778 #endif
19779 clock_gettime(CLOCK_REALTIME, &tp);
19780
19781 ;
19782 return 0;
19783 }
19784 _ACEOF
19785 if ac_fn_cxx_try_link "$LINENO"; then :
19786 ac_has_clock_realtime=yes
19787 else
19788 ac_has_clock_realtime=no
19789 fi
19790 rm -f core conftest.err conftest.$ac_objext \
19791 conftest$ac_exeext conftest.$ac_ext
19792
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19794 $as_echo "$ac_has_clock_realtime" >&6; }
19795
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19797 $as_echo_n "checking for nanosleep... " >&6; }
19798 if test x$gcc_no_link = xyes; then
19799 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19800 fi
19801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19802 /* end confdefs.h. */
19803 #include <unistd.h>
19804 #include <time.h>
19805
19806 int
19807 main ()
19808 {
19809 #if _POSIX_TIMERS > 0
19810 timespec tp;
19811 #endif
19812 nanosleep(&tp, 0);
19813
19814 ;
19815 return 0;
19816 }
19817 _ACEOF
19818 if ac_fn_cxx_try_link "$LINENO"; then :
19819 ac_has_nanosleep=yes
19820 else
19821 ac_has_nanosleep=no
19822 fi
19823 rm -f core conftest.err conftest.$ac_objext \
19824 conftest$ac_exeext conftest.$ac_ext
19825
19826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19827 $as_echo "$ac_has_nanosleep" >&6; }
19828 fi
19829 fi
19830
19831 if test x"$ac_has_clock_monotonic" = x"yes"; then
19832
19833 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19834
19835 fi
19836
19837 if test x"$ac_has_clock_realtime" = x"yes"; then
19838
19839 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19840
19841 fi
19842
19843 if test x"$ac_has_nanosleep" = x"yes"; then
19844
19845 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19846
19847 else
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
19849 $as_echo_n "checking for sleep... " >&6; }
19850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19851 /* end confdefs.h. */
19852 #include <unistd.h>
19853 int
19854 main ()
19855 {
19856 sleep(1)
19857 ;
19858 return 0;
19859 }
19860 _ACEOF
19861 if ac_fn_cxx_try_compile "$LINENO"; then :
19862 ac_has_sleep=yes
19863 else
19864 ac_has_sleep=no
19865 fi
19866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19867 if test x"$ac_has_sleep" = x"yes"; then
19868
19869 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
19870
19871 fi
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
19873 $as_echo "$ac_has_sleep" >&6; }
19874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
19875 $as_echo_n "checking for usleep... " >&6; }
19876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19877 /* end confdefs.h. */
19878 #include <unistd.h>
19879 int
19880 main ()
19881 {
19882 sleep(1);
19883 usleep(100);
19884 ;
19885 return 0;
19886 }
19887 _ACEOF
19888 if ac_fn_cxx_try_compile "$LINENO"; then :
19889 ac_has_usleep=yes
19890 else
19891 ac_has_usleep=no
19892 fi
19893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19894 if test x"$ac_has_usleep" = x"yes"; then
19895
19896 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
19897
19898 fi
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
19900 $as_echo "$ac_has_usleep" >&6; }
19901 fi
19902
19903 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
19904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
19905 $as_echo_n "checking for Sleep... " >&6; }
19906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19907 /* end confdefs.h. */
19908 #include <windows.h>
19909 int
19910 main ()
19911 {
19912 Sleep(1)
19913 ;
19914 return 0;
19915 }
19916 _ACEOF
19917 if ac_fn_cxx_try_compile "$LINENO"; then :
19918 ac_has_win32_sleep=yes
19919 else
19920 ac_has_win32_sleep=no
19921 fi
19922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19923 if test x"$ac_has_win32_sleep" = x"yes"; then
19924
19925 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
19926
19927 fi
19928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
19929 $as_echo "$ac_has_win32_sleep" >&6; }
19930 fi
19931
19932
19933
19934 CXXFLAGS="$ac_save_CXXFLAGS"
19935 LIBS="$ac_save_LIBS"
19936 ac_ext=c
19937 ac_cpp='$CPP $CPPFLAGS'
19938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19941
19942
19943
19944
19945 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19946 if test "x$ac_cv_header_locale_h" = x""yes; then :
19947
19948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19949 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19950 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19951 $as_echo_n "(cached) " >&6
19952 else
19953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19954 /* end confdefs.h. */
19955 #include <locale.h>
19956 int
19957 main ()
19958 {
19959 return LC_MESSAGES
19960 ;
19961 return 0;
19962 }
19963 _ACEOF
19964 if ac_fn_c_try_compile "$LINENO"; then :
19965 ac_cv_val_LC_MESSAGES=yes
19966 else
19967 ac_cv_val_LC_MESSAGES=no
19968 fi
19969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19970 fi
19971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19972 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19973 if test $ac_cv_val_LC_MESSAGES = yes; then
19974
19975 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19976
19977 fi
19978
19979 fi
19980
19981
19982
19983
19984 # For hardware_concurrency
19985 for ac_header in sys/sysinfo.h
19986 do :
19987 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19988 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19989 cat >>confdefs.h <<_ACEOF
19990 #define HAVE_SYS_SYSINFO_H 1
19991 _ACEOF
19992
19993 fi
19994
19995 done
19996
19997
19998
19999
20000 ac_ext=cpp
20001 ac_cpp='$CXXCPP $CPPFLAGS'
20002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20005
20006 ac_save_CXXFLAGS="$CXXFLAGS"
20007 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20008
20009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20010 $as_echo_n "checking for get_nprocs... " >&6; }
20011 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20012 $as_echo_n "(cached) " >&6
20013 else
20014
20015 if test x$gcc_no_link = xyes; then
20016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20017 /* end confdefs.h. */
20018 #include <sys/sysinfo.h>
20019 int
20020 main ()
20021 {
20022 int n = get_nprocs();
20023 ;
20024 return 0;
20025 }
20026 _ACEOF
20027 if ac_fn_cxx_try_compile "$LINENO"; then :
20028 glibcxx_cv_GET_NPROCS=yes
20029 else
20030 glibcxx_cv_GET_NPROCS=no
20031 fi
20032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20033 else
20034 if test x$gcc_no_link = xyes; then
20035 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20036 fi
20037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20038 /* end confdefs.h. */
20039 #include <sys/sysinfo.h>
20040 int
20041 main ()
20042 {
20043 int n = get_nprocs();
20044 ;
20045 return 0;
20046 }
20047 _ACEOF
20048 if ac_fn_cxx_try_link "$LINENO"; then :
20049 glibcxx_cv_GET_NPROCS=yes
20050 else
20051 glibcxx_cv_GET_NPROCS=no
20052 fi
20053 rm -f core conftest.err conftest.$ac_objext \
20054 conftest$ac_exeext conftest.$ac_ext
20055 fi
20056
20057 fi
20058
20059 if test $glibcxx_cv_GET_NPROCS = yes; then
20060
20061 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20062
20063 fi
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20065 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20066
20067 CXXFLAGS="$ac_save_CXXFLAGS"
20068 ac_ext=c
20069 ac_cpp='$CPP $CPPFLAGS'
20070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20073
20074
20075 for ac_header in unistd.h
20076 do :
20077 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20078 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20079 cat >>confdefs.h <<_ACEOF
20080 #define HAVE_UNISTD_H 1
20081 _ACEOF
20082
20083 fi
20084
20085 done
20086
20087
20088
20089
20090 ac_ext=cpp
20091 ac_cpp='$CXXCPP $CPPFLAGS'
20092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20095
20096 ac_save_CXXFLAGS="$CXXFLAGS"
20097 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20098
20099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20100 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20101 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20102 $as_echo_n "(cached) " >&6
20103 else
20104
20105 if test x$gcc_no_link = xyes; then
20106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20107 /* end confdefs.h. */
20108 #include <unistd.h>
20109 int
20110 main ()
20111 {
20112 int n = sysconf(_SC_NPROCESSORS_ONLN);
20113 ;
20114 return 0;
20115 }
20116 _ACEOF
20117 if ac_fn_cxx_try_compile "$LINENO"; then :
20118 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20119 else
20120 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20121 fi
20122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20123 else
20124 if test x$gcc_no_link = xyes; then
20125 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20126 fi
20127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20128 /* end confdefs.h. */
20129 #include <unistd.h>
20130 int
20131 main ()
20132 {
20133 int n = sysconf(_SC_NPROCESSORS_ONLN);
20134 ;
20135 return 0;
20136 }
20137 _ACEOF
20138 if ac_fn_cxx_try_link "$LINENO"; then :
20139 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20140 else
20141 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20142 fi
20143 rm -f core conftest.err conftest.$ac_objext \
20144 conftest$ac_exeext conftest.$ac_ext
20145 fi
20146
20147 fi
20148
20149 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20150
20151 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20152
20153 fi
20154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20155 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20156
20157 CXXFLAGS="$ac_save_CXXFLAGS"
20158 ac_ext=c
20159 ac_cpp='$CPP $CPPFLAGS'
20160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20163
20164
20165
20166
20167
20168 ac_ext=cpp
20169 ac_cpp='$CXXCPP $CPPFLAGS'
20170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20173
20174 ac_save_CXXFLAGS="$CXXFLAGS"
20175 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20176
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20178 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20179 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20180 $as_echo_n "(cached) " >&6
20181 else
20182
20183 if test x$gcc_no_link = xyes; then
20184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20185 /* end confdefs.h. */
20186 #include <unistd.h>
20187 int
20188 main ()
20189 {
20190 int n = sysconf(_SC_NPROC_ONLN);
20191 ;
20192 return 0;
20193 }
20194 _ACEOF
20195 if ac_fn_cxx_try_compile "$LINENO"; then :
20196 glibcxx_cv_SC_NPROC_ONLN=yes
20197 else
20198 glibcxx_cv_SC_NPROC_ONLN=no
20199 fi
20200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20201 else
20202 if test x$gcc_no_link = xyes; then
20203 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20204 fi
20205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20206 /* end confdefs.h. */
20207 #include <unistd.h>
20208 int
20209 main ()
20210 {
20211 int n = sysconf(_SC_NPROC_ONLN);
20212 ;
20213 return 0;
20214 }
20215 _ACEOF
20216 if ac_fn_cxx_try_link "$LINENO"; then :
20217 glibcxx_cv_SC_NPROC_ONLN=yes
20218 else
20219 glibcxx_cv_SC_NPROC_ONLN=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_SC_NPROC_ONLN = yes; then
20228
20229 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20230
20231 fi
20232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20233 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&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
20245
20246 ac_ext=cpp
20247 ac_cpp='$CXXCPP $CPPFLAGS'
20248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20251
20252 ac_save_CXXFLAGS="$CXXFLAGS"
20253 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20254
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20256 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20257 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20258 $as_echo_n "(cached) " >&6
20259 else
20260
20261 if test x$gcc_no_link = xyes; then
20262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20263 /* end confdefs.h. */
20264 #include <pthread.h>
20265 int
20266 main ()
20267 {
20268 int n = pthread_num_processors_np();
20269 ;
20270 return 0;
20271 }
20272 _ACEOF
20273 if ac_fn_cxx_try_compile "$LINENO"; then :
20274 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20275 else
20276 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20277 fi
20278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20279 else
20280 if test x$gcc_no_link = xyes; then
20281 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20282 fi
20283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20284 /* end confdefs.h. */
20285 #include <pthread.h>
20286 int
20287 main ()
20288 {
20289 int n = pthread_num_processors_np();
20290 ;
20291 return 0;
20292 }
20293 _ACEOF
20294 if ac_fn_cxx_try_link "$LINENO"; then :
20295 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20296 else
20297 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20298 fi
20299 rm -f core conftest.err conftest.$ac_objext \
20300 conftest$ac_exeext conftest.$ac_ext
20301 fi
20302
20303 fi
20304
20305 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20306
20307 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20308
20309 fi
20310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20311 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20312
20313 CXXFLAGS="$ac_save_CXXFLAGS"
20314 ac_ext=c
20315 ac_cpp='$CPP $CPPFLAGS'
20316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20319
20320
20321
20322
20323
20324 ac_ext=cpp
20325 ac_cpp='$CXXCPP $CPPFLAGS'
20326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20329
20330 ac_save_CXXFLAGS="$CXXFLAGS"
20331 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20332
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20334 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20335 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20336 $as_echo_n "(cached) " >&6
20337 else
20338
20339 if test x$gcc_no_link = xyes; then
20340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20341 /* end confdefs.h. */
20342
20343 #include <stddef.h>
20344 #include <sys/sysctl.h>
20345
20346 int
20347 main ()
20348 {
20349
20350 int count;
20351 size_t size = sizeof(count);
20352 int mib[] = { CTL_HW, HW_NCPU };
20353 sysctl(mib, 2, &count, &size, NULL, 0);
20354
20355 ;
20356 return 0;
20357 }
20358 _ACEOF
20359 if ac_fn_cxx_try_compile "$LINENO"; then :
20360 glibcxx_cv_SYSCTL_HW_NCPU=yes
20361 else
20362 glibcxx_cv_SYSCTL_HW_NCPU=no
20363 fi
20364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20365 else
20366 if test x$gcc_no_link = xyes; then
20367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20368 fi
20369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20370 /* end confdefs.h. */
20371
20372 #include <stddef.h>
20373 #include <sys/sysctl.h>
20374
20375 int
20376 main ()
20377 {
20378
20379 int count;
20380 size_t size = sizeof(count);
20381 int mib[] = { CTL_HW, HW_NCPU };
20382 sysctl(mib, 2, &count, &size, NULL, 0);
20383
20384 ;
20385 return 0;
20386 }
20387 _ACEOF
20388 if ac_fn_cxx_try_link "$LINENO"; then :
20389 glibcxx_cv_SYSCTL_HW_NCPU=yes
20390 else
20391 glibcxx_cv_SYSCTL_HW_NCPU=no
20392 fi
20393 rm -f core conftest.err conftest.$ac_objext \
20394 conftest$ac_exeext conftest.$ac_ext
20395 fi
20396
20397 fi
20398
20399 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20400
20401 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20402
20403 fi
20404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20405 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20406
20407 CXXFLAGS="$ac_save_CXXFLAGS"
20408 ac_ext=c
20409 ac_cpp='$CPP $CPPFLAGS'
20410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20413
20414
20415
20416 # Check for available headers.
20417 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20418 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20419 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20420 sys/resource.h sys/sdt.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20421 wchar.h wctype.h
20422 do :
20423 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20424 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20425 eval as_val=\$$as_ac_Header
20426 if test "x$as_val" = x""yes; then :
20427 cat >>confdefs.h <<_ACEOF
20428 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20429 _ACEOF
20430
20431 fi
20432
20433 done
20434
20435
20436 # Only do link tests if native. Else, hardcode.
20437 if $GLIBCXX_IS_NATIVE; then
20438
20439 # We can do more elaborate tests that assume a working linker.
20440 CANADIAN=no
20441
20442
20443
20444 # Check whether --with-gnu-ld was given.
20445 if test "${with_gnu_ld+set}" = set; then :
20446 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20447 else
20448 with_gnu_ld=no
20449 fi
20450
20451 ac_prog=ld
20452 if test "$GCC" = yes; then
20453 # Check if gcc -print-prog-name=ld gives a path.
20454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20455 $as_echo_n "checking for ld used by $CC... " >&6; }
20456 case $host in
20457 *-*-mingw*)
20458 # gcc leaves a trailing carriage return which upsets mingw
20459 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20460 *)
20461 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20462 esac
20463 case $ac_prog in
20464 # Accept absolute paths.
20465 [\\/]* | ?:[\\/]*)
20466 re_direlt='/[^/][^/]*/\.\./'
20467 # Canonicalize the pathname of ld
20468 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20469 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20470 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20471 done
20472 test -z "$LD" && LD="$ac_prog"
20473 ;;
20474 "")
20475 # If it fails, then pretend we aren't using GCC.
20476 ac_prog=ld
20477 ;;
20478 *)
20479 # If it is relative, then search for the first ld in PATH.
20480 with_gnu_ld=unknown
20481 ;;
20482 esac
20483 elif test "$with_gnu_ld" = yes; then
20484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20485 $as_echo_n "checking for GNU ld... " >&6; }
20486 else
20487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20488 $as_echo_n "checking for non-GNU ld... " >&6; }
20489 fi
20490 if test "${lt_cv_path_LD+set}" = set; then :
20491 $as_echo_n "(cached) " >&6
20492 else
20493 if test -z "$LD"; then
20494 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20495 for ac_dir in $PATH; do
20496 IFS="$lt_save_ifs"
20497 test -z "$ac_dir" && ac_dir=.
20498 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20499 lt_cv_path_LD="$ac_dir/$ac_prog"
20500 # Check to see if the program is GNU ld. I'd rather use --version,
20501 # but apparently some variants of GNU ld only accept -v.
20502 # Break only if it was the GNU/non-GNU ld that we prefer.
20503 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20504 *GNU* | *'with BFD'*)
20505 test "$with_gnu_ld" != no && break
20506 ;;
20507 *)
20508 test "$with_gnu_ld" != yes && break
20509 ;;
20510 esac
20511 fi
20512 done
20513 IFS="$lt_save_ifs"
20514 else
20515 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20516 fi
20517 fi
20518
20519 LD="$lt_cv_path_LD"
20520 if test -n "$LD"; then
20521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20522 $as_echo "$LD" >&6; }
20523 else
20524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20525 $as_echo "no" >&6; }
20526 fi
20527 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20529 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20530 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20531 $as_echo_n "(cached) " >&6
20532 else
20533 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20534 case `$LD -v 2>&1 </dev/null` in
20535 *GNU* | *'with BFD'*)
20536 lt_cv_prog_gnu_ld=yes
20537 ;;
20538 *)
20539 lt_cv_prog_gnu_ld=no
20540 ;;
20541 esac
20542 fi
20543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20544 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20545 with_gnu_ld=$lt_cv_prog_gnu_ld
20546
20547
20548
20549
20550
20551
20552
20553 # If we're not using GNU ld, then there's no point in even trying these
20554 # tests. Check for that first. We should have already tested for gld
20555 # by now (in libtool), but require it now just to be safe...
20556 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20557 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20558
20559
20560
20561 # The name set by libtool depends on the version of libtool. Shame on us
20562 # for depending on an impl detail, but c'est la vie. Older versions used
20563 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20564 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20565 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20566 # set (hence we're using an older libtool), then set it.
20567 if test x${with_gnu_ld+set} != xset; then
20568 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20569 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20570 with_gnu_ld=no
20571 else
20572 with_gnu_ld=$ac_cv_prog_gnu_ld
20573 fi
20574 fi
20575
20576 # Start by getting the version number. I think the libtool test already
20577 # does some of this, but throws away the result.
20578 glibcxx_ld_is_gold=no
20579 if test x"$with_gnu_ld" = x"yes"; then
20580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20581 $as_echo_n "checking for ld version... " >&6; }
20582
20583 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20584 glibcxx_ld_is_gold=yes
20585 fi
20586 ldver=`$LD --version 2>/dev/null |
20587 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'`
20588
20589 glibcxx_gnu_ld_version=`echo $ldver | \
20590 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20592 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20593 fi
20594
20595 # Set --gc-sections.
20596 glibcxx_have_gc_sections=no
20597 if test "$glibcxx_ld_is_gold" = "yes"; then
20598 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20599 glibcxx_have_gc_sections=yes
20600 fi
20601 else
20602 glibcxx_gcsections_min_ld=21602
20603 if test x"$with_gnu_ld" = x"yes" &&
20604 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20605 glibcxx_have_gc_sections=yes
20606 fi
20607 fi
20608 if test "$glibcxx_have_gc_sections" = "yes"; then
20609 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20610 # NB: This flag only works reliably after 2.16.1. Configure tests
20611 # for this are difficult, so hard wire a value that should work.
20612
20613 ac_test_CFLAGS="${CFLAGS+set}"
20614 ac_save_CFLAGS="$CFLAGS"
20615 CFLAGS='-Wl,--gc-sections'
20616
20617 # Check for -Wl,--gc-sections
20618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20619 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20620 if test x$gcc_no_link = xyes; then
20621 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20622 fi
20623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20624 /* end confdefs.h. */
20625 int one(void) { return 1; }
20626 int two(void) { return 2; }
20627
20628 int
20629 main ()
20630 {
20631 two();
20632 ;
20633 return 0;
20634 }
20635 _ACEOF
20636 if ac_fn_c_try_link "$LINENO"; then :
20637 ac_gcsections=yes
20638 else
20639 ac_gcsections=no
20640 fi
20641 rm -f core conftest.err conftest.$ac_objext \
20642 conftest$ac_exeext conftest.$ac_ext
20643 if test "$ac_gcsections" = "yes"; then
20644 rm -f conftest.c
20645 touch conftest.c
20646 if $CC -c conftest.c; then
20647 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20648 grep "Warning: gc-sections option ignored" > /dev/null; then
20649 ac_gcsections=no
20650 fi
20651 fi
20652 rm -f conftest.c conftest.o conftest
20653 fi
20654 if test "$ac_gcsections" = "yes"; then
20655 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20656 fi
20657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20658 $as_echo "$ac_gcsections" >&6; }
20659
20660 if test "$ac_test_CFLAGS" = set; then
20661 CFLAGS="$ac_save_CFLAGS"
20662 else
20663 # this is the suspicious part
20664 CFLAGS=''
20665 fi
20666 fi
20667
20668 # Set -z,relro.
20669 # Note this is only for shared objects.
20670 ac_ld_relro=no
20671 if test x"$with_gnu_ld" = x"yes"; then
20672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20673 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20674 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20675 if test -n "$cxx_z_relo"; then
20676 OPT_LDFLAGS="-Wl,-z,relro"
20677 ac_ld_relro=yes
20678 fi
20679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20680 $as_echo "$ac_ld_relro" >&6; }
20681 fi
20682
20683 # Set linker optimization flags.
20684 if test x"$with_gnu_ld" = x"yes"; then
20685 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20686 fi
20687
20688
20689
20690
20691
20692 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20693 ac_save_CXXFLAGS="$CXXFLAGS"
20694 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20695
20696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20697 $as_echo_n "checking for sin in -lm... " >&6; }
20698 if test "${ac_cv_lib_m_sin+set}" = set; then :
20699 $as_echo_n "(cached) " >&6
20700 else
20701 ac_check_lib_save_LIBS=$LIBS
20702 LIBS="-lm $LIBS"
20703 if test x$gcc_no_link = xyes; then
20704 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20705 fi
20706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20707 /* end confdefs.h. */
20708
20709 /* Override any GCC internal prototype to avoid an error.
20710 Use char because int might match the return type of a GCC
20711 builtin and then its argument prototype would still apply. */
20712 #ifdef __cplusplus
20713 extern "C"
20714 #endif
20715 char sin ();
20716 int
20717 main ()
20718 {
20719 return sin ();
20720 ;
20721 return 0;
20722 }
20723 _ACEOF
20724 if ac_fn_c_try_link "$LINENO"; then :
20725 ac_cv_lib_m_sin=yes
20726 else
20727 ac_cv_lib_m_sin=no
20728 fi
20729 rm -f core conftest.err conftest.$ac_objext \
20730 conftest$ac_exeext conftest.$ac_ext
20731 LIBS=$ac_check_lib_save_LIBS
20732 fi
20733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20734 $as_echo "$ac_cv_lib_m_sin" >&6; }
20735 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20736 libm="-lm"
20737 fi
20738
20739 ac_save_LIBS="$LIBS"
20740 LIBS="$LIBS $libm"
20741
20742
20743
20744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20745 $as_echo_n "checking for isinf declaration... " >&6; }
20746 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20747 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20748 $as_echo_n "(cached) " >&6
20749 else
20750
20751
20752 ac_ext=cpp
20753 ac_cpp='$CXXCPP $CPPFLAGS'
20754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20757
20758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20759 /* end confdefs.h. */
20760 #include <math.h>
20761 #ifdef HAVE_IEEEFP_H
20762 #include <ieeefp.h>
20763 #endif
20764
20765 int
20766 main ()
20767 {
20768 isinf(0);
20769 ;
20770 return 0;
20771 }
20772 _ACEOF
20773 if ac_fn_cxx_try_compile "$LINENO"; then :
20774 glibcxx_cv_func_isinf_use=yes
20775 else
20776 glibcxx_cv_func_isinf_use=no
20777 fi
20778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20779 ac_ext=c
20780 ac_cpp='$CPP $CPPFLAGS'
20781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20784
20785
20786 fi
20787
20788 fi
20789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20790 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20791
20792 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20793 for ac_func in isinf
20794 do :
20795 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20796 if test "x$ac_cv_func_isinf" = x""yes; then :
20797 cat >>confdefs.h <<_ACEOF
20798 #define HAVE_ISINF 1
20799 _ACEOF
20800
20801 fi
20802 done
20803
20804 else
20805
20806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20807 $as_echo_n "checking for _isinf declaration... " >&6; }
20808 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20809 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20810 $as_echo_n "(cached) " >&6
20811 else
20812
20813
20814 ac_ext=cpp
20815 ac_cpp='$CXXCPP $CPPFLAGS'
20816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20819
20820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20821 /* end confdefs.h. */
20822 #include <math.h>
20823 #ifdef HAVE_IEEEFP_H
20824 #include <ieeefp.h>
20825 #endif
20826
20827 int
20828 main ()
20829 {
20830 _isinf(0);
20831 ;
20832 return 0;
20833 }
20834 _ACEOF
20835 if ac_fn_cxx_try_compile "$LINENO"; then :
20836 glibcxx_cv_func__isinf_use=yes
20837 else
20838 glibcxx_cv_func__isinf_use=no
20839 fi
20840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20841 ac_ext=c
20842 ac_cpp='$CPP $CPPFLAGS'
20843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20846
20847
20848 fi
20849
20850 fi
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20852 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20853
20854 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20855 for ac_func in _isinf
20856 do :
20857 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20858 if test "x$ac_cv_func__isinf" = x""yes; then :
20859 cat >>confdefs.h <<_ACEOF
20860 #define HAVE__ISINF 1
20861 _ACEOF
20862
20863 fi
20864 done
20865
20866 fi
20867 fi
20868
20869
20870
20871
20872
20873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20874 $as_echo_n "checking for isnan declaration... " >&6; }
20875 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20876 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20877 $as_echo_n "(cached) " >&6
20878 else
20879
20880
20881 ac_ext=cpp
20882 ac_cpp='$CXXCPP $CPPFLAGS'
20883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20886
20887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20888 /* end confdefs.h. */
20889 #include <math.h>
20890 #ifdef HAVE_IEEEFP_H
20891 #include <ieeefp.h>
20892 #endif
20893
20894 int
20895 main ()
20896 {
20897 isnan(0);
20898 ;
20899 return 0;
20900 }
20901 _ACEOF
20902 if ac_fn_cxx_try_compile "$LINENO"; then :
20903 glibcxx_cv_func_isnan_use=yes
20904 else
20905 glibcxx_cv_func_isnan_use=no
20906 fi
20907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20908 ac_ext=c
20909 ac_cpp='$CPP $CPPFLAGS'
20910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20913
20914
20915 fi
20916
20917 fi
20918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20919 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20920
20921 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20922 for ac_func in isnan
20923 do :
20924 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20925 if test "x$ac_cv_func_isnan" = x""yes; then :
20926 cat >>confdefs.h <<_ACEOF
20927 #define HAVE_ISNAN 1
20928 _ACEOF
20929
20930 fi
20931 done
20932
20933 else
20934
20935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20936 $as_echo_n "checking for _isnan declaration... " >&6; }
20937 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20938 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20939 $as_echo_n "(cached) " >&6
20940 else
20941
20942
20943 ac_ext=cpp
20944 ac_cpp='$CXXCPP $CPPFLAGS'
20945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20948
20949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20950 /* end confdefs.h. */
20951 #include <math.h>
20952 #ifdef HAVE_IEEEFP_H
20953 #include <ieeefp.h>
20954 #endif
20955
20956 int
20957 main ()
20958 {
20959 _isnan(0);
20960 ;
20961 return 0;
20962 }
20963 _ACEOF
20964 if ac_fn_cxx_try_compile "$LINENO"; then :
20965 glibcxx_cv_func__isnan_use=yes
20966 else
20967 glibcxx_cv_func__isnan_use=no
20968 fi
20969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20970 ac_ext=c
20971 ac_cpp='$CPP $CPPFLAGS'
20972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20975
20976
20977 fi
20978
20979 fi
20980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20981 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20982
20983 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20984 for ac_func in _isnan
20985 do :
20986 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20987 if test "x$ac_cv_func__isnan" = x""yes; then :
20988 cat >>confdefs.h <<_ACEOF
20989 #define HAVE__ISNAN 1
20990 _ACEOF
20991
20992 fi
20993 done
20994
20995 fi
20996 fi
20997
20998
20999
21000
21001
21002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21003 $as_echo_n "checking for finite declaration... " >&6; }
21004 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21005 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21006 $as_echo_n "(cached) " >&6
21007 else
21008
21009
21010 ac_ext=cpp
21011 ac_cpp='$CXXCPP $CPPFLAGS'
21012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21015
21016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21017 /* end confdefs.h. */
21018 #include <math.h>
21019 #ifdef HAVE_IEEEFP_H
21020 #include <ieeefp.h>
21021 #endif
21022
21023 int
21024 main ()
21025 {
21026 finite(0);
21027 ;
21028 return 0;
21029 }
21030 _ACEOF
21031 if ac_fn_cxx_try_compile "$LINENO"; then :
21032 glibcxx_cv_func_finite_use=yes
21033 else
21034 glibcxx_cv_func_finite_use=no
21035 fi
21036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21037 ac_ext=c
21038 ac_cpp='$CPP $CPPFLAGS'
21039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21042
21043
21044 fi
21045
21046 fi
21047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21048 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21049
21050 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21051 for ac_func in finite
21052 do :
21053 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21054 if test "x$ac_cv_func_finite" = x""yes; then :
21055 cat >>confdefs.h <<_ACEOF
21056 #define HAVE_FINITE 1
21057 _ACEOF
21058
21059 fi
21060 done
21061
21062 else
21063
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21065 $as_echo_n "checking for _finite declaration... " >&6; }
21066 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21067 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21068 $as_echo_n "(cached) " >&6
21069 else
21070
21071
21072 ac_ext=cpp
21073 ac_cpp='$CXXCPP $CPPFLAGS'
21074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21077
21078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21079 /* end confdefs.h. */
21080 #include <math.h>
21081 #ifdef HAVE_IEEEFP_H
21082 #include <ieeefp.h>
21083 #endif
21084
21085 int
21086 main ()
21087 {
21088 _finite(0);
21089 ;
21090 return 0;
21091 }
21092 _ACEOF
21093 if ac_fn_cxx_try_compile "$LINENO"; then :
21094 glibcxx_cv_func__finite_use=yes
21095 else
21096 glibcxx_cv_func__finite_use=no
21097 fi
21098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21099 ac_ext=c
21100 ac_cpp='$CPP $CPPFLAGS'
21101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21104
21105
21106 fi
21107
21108 fi
21109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21110 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21111
21112 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21113 for ac_func in _finite
21114 do :
21115 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21116 if test "x$ac_cv_func__finite" = x""yes; then :
21117 cat >>confdefs.h <<_ACEOF
21118 #define HAVE__FINITE 1
21119 _ACEOF
21120
21121 fi
21122 done
21123
21124 fi
21125 fi
21126
21127
21128
21129
21130
21131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21132 $as_echo_n "checking for sincos declaration... " >&6; }
21133 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21134 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21135 $as_echo_n "(cached) " >&6
21136 else
21137
21138
21139 ac_ext=cpp
21140 ac_cpp='$CXXCPP $CPPFLAGS'
21141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21144
21145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21146 /* end confdefs.h. */
21147 #include <math.h>
21148 int
21149 main ()
21150 {
21151 sincos(0, 0, 0);
21152 ;
21153 return 0;
21154 }
21155 _ACEOF
21156 if ac_fn_cxx_try_compile "$LINENO"; then :
21157 glibcxx_cv_func_sincos_use=yes
21158 else
21159 glibcxx_cv_func_sincos_use=no
21160 fi
21161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21162 ac_ext=c
21163 ac_cpp='$CPP $CPPFLAGS'
21164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21167
21168
21169 fi
21170
21171 fi
21172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21173 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21174
21175 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21176 for ac_func in sincos
21177 do :
21178 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21179 if test "x$ac_cv_func_sincos" = x""yes; then :
21180 cat >>confdefs.h <<_ACEOF
21181 #define HAVE_SINCOS 1
21182 _ACEOF
21183
21184 fi
21185 done
21186
21187 else
21188
21189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21190 $as_echo_n "checking for _sincos declaration... " >&6; }
21191 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21192 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21193 $as_echo_n "(cached) " >&6
21194 else
21195
21196
21197 ac_ext=cpp
21198 ac_cpp='$CXXCPP $CPPFLAGS'
21199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21202
21203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21204 /* end confdefs.h. */
21205 #include <math.h>
21206 int
21207 main ()
21208 {
21209 _sincos(0, 0, 0);
21210 ;
21211 return 0;
21212 }
21213 _ACEOF
21214 if ac_fn_cxx_try_compile "$LINENO"; then :
21215 glibcxx_cv_func__sincos_use=yes
21216 else
21217 glibcxx_cv_func__sincos_use=no
21218 fi
21219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21220 ac_ext=c
21221 ac_cpp='$CPP $CPPFLAGS'
21222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21225
21226
21227 fi
21228
21229 fi
21230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21231 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21232
21233 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21234 for ac_func in _sincos
21235 do :
21236 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21237 if test "x$ac_cv_func__sincos" = x""yes; then :
21238 cat >>confdefs.h <<_ACEOF
21239 #define HAVE__SINCOS 1
21240 _ACEOF
21241
21242 fi
21243 done
21244
21245 fi
21246 fi
21247
21248
21249
21250
21251
21252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21253 $as_echo_n "checking for fpclass declaration... " >&6; }
21254 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21255 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21256 $as_echo_n "(cached) " >&6
21257 else
21258
21259
21260 ac_ext=cpp
21261 ac_cpp='$CXXCPP $CPPFLAGS'
21262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21265
21266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21267 /* end confdefs.h. */
21268 #include <math.h>
21269 #ifdef HAVE_IEEEFP_H
21270 #include <ieeefp.h>
21271 #endif
21272
21273 int
21274 main ()
21275 {
21276 fpclass(0);
21277 ;
21278 return 0;
21279 }
21280 _ACEOF
21281 if ac_fn_cxx_try_compile "$LINENO"; then :
21282 glibcxx_cv_func_fpclass_use=yes
21283 else
21284 glibcxx_cv_func_fpclass_use=no
21285 fi
21286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21287 ac_ext=c
21288 ac_cpp='$CPP $CPPFLAGS'
21289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21292
21293
21294 fi
21295
21296 fi
21297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21298 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21299
21300 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21301 for ac_func in fpclass
21302 do :
21303 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21304 if test "x$ac_cv_func_fpclass" = x""yes; then :
21305 cat >>confdefs.h <<_ACEOF
21306 #define HAVE_FPCLASS 1
21307 _ACEOF
21308
21309 fi
21310 done
21311
21312 else
21313
21314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21315 $as_echo_n "checking for _fpclass declaration... " >&6; }
21316 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21317 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21318 $as_echo_n "(cached) " >&6
21319 else
21320
21321
21322 ac_ext=cpp
21323 ac_cpp='$CXXCPP $CPPFLAGS'
21324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21327
21328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21329 /* end confdefs.h. */
21330 #include <math.h>
21331 #ifdef HAVE_IEEEFP_H
21332 #include <ieeefp.h>
21333 #endif
21334
21335 int
21336 main ()
21337 {
21338 _fpclass(0);
21339 ;
21340 return 0;
21341 }
21342 _ACEOF
21343 if ac_fn_cxx_try_compile "$LINENO"; then :
21344 glibcxx_cv_func__fpclass_use=yes
21345 else
21346 glibcxx_cv_func__fpclass_use=no
21347 fi
21348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21349 ac_ext=c
21350 ac_cpp='$CPP $CPPFLAGS'
21351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21354
21355
21356 fi
21357
21358 fi
21359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21360 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21361
21362 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21363 for ac_func in _fpclass
21364 do :
21365 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21366 if test "x$ac_cv_func__fpclass" = x""yes; then :
21367 cat >>confdefs.h <<_ACEOF
21368 #define HAVE__FPCLASS 1
21369 _ACEOF
21370
21371 fi
21372 done
21373
21374 fi
21375 fi
21376
21377
21378
21379
21380
21381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21382 $as_echo_n "checking for qfpclass declaration... " >&6; }
21383 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21384 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21385 $as_echo_n "(cached) " >&6
21386 else
21387
21388
21389 ac_ext=cpp
21390 ac_cpp='$CXXCPP $CPPFLAGS'
21391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21394
21395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21396 /* end confdefs.h. */
21397 #include <math.h>
21398 #ifdef HAVE_IEEEFP_H
21399 #include <ieeefp.h>
21400 #endif
21401
21402 int
21403 main ()
21404 {
21405 qfpclass(0);
21406 ;
21407 return 0;
21408 }
21409 _ACEOF
21410 if ac_fn_cxx_try_compile "$LINENO"; then :
21411 glibcxx_cv_func_qfpclass_use=yes
21412 else
21413 glibcxx_cv_func_qfpclass_use=no
21414 fi
21415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21416 ac_ext=c
21417 ac_cpp='$CPP $CPPFLAGS'
21418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21421
21422
21423 fi
21424
21425 fi
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21427 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21428
21429 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21430 for ac_func in qfpclass
21431 do :
21432 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21433 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21434 cat >>confdefs.h <<_ACEOF
21435 #define HAVE_QFPCLASS 1
21436 _ACEOF
21437
21438 fi
21439 done
21440
21441 else
21442
21443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21444 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21445 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21446 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21447 $as_echo_n "(cached) " >&6
21448 else
21449
21450
21451 ac_ext=cpp
21452 ac_cpp='$CXXCPP $CPPFLAGS'
21453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21456
21457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21458 /* end confdefs.h. */
21459 #include <math.h>
21460 #ifdef HAVE_IEEEFP_H
21461 #include <ieeefp.h>
21462 #endif
21463
21464 int
21465 main ()
21466 {
21467 _qfpclass(0);
21468 ;
21469 return 0;
21470 }
21471 _ACEOF
21472 if ac_fn_cxx_try_compile "$LINENO"; then :
21473 glibcxx_cv_func__qfpclass_use=yes
21474 else
21475 glibcxx_cv_func__qfpclass_use=no
21476 fi
21477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21478 ac_ext=c
21479 ac_cpp='$CPP $CPPFLAGS'
21480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21483
21484
21485 fi
21486
21487 fi
21488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21489 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21490
21491 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21492 for ac_func in _qfpclass
21493 do :
21494 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21495 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21496 cat >>confdefs.h <<_ACEOF
21497 #define HAVE__QFPCLASS 1
21498 _ACEOF
21499
21500 fi
21501 done
21502
21503 fi
21504 fi
21505
21506
21507
21508
21509
21510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21511 $as_echo_n "checking for hypot declaration... " >&6; }
21512 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21513 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21514 $as_echo_n "(cached) " >&6
21515 else
21516
21517
21518 ac_ext=cpp
21519 ac_cpp='$CXXCPP $CPPFLAGS'
21520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21523
21524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21525 /* end confdefs.h. */
21526 #include <math.h>
21527 int
21528 main ()
21529 {
21530 hypot(0, 0);
21531 ;
21532 return 0;
21533 }
21534 _ACEOF
21535 if ac_fn_cxx_try_compile "$LINENO"; then :
21536 glibcxx_cv_func_hypot_use=yes
21537 else
21538 glibcxx_cv_func_hypot_use=no
21539 fi
21540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21541 ac_ext=c
21542 ac_cpp='$CPP $CPPFLAGS'
21543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21546
21547
21548 fi
21549
21550 fi
21551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21552 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21553
21554 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21555 for ac_func in hypot
21556 do :
21557 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21558 if test "x$ac_cv_func_hypot" = x""yes; then :
21559 cat >>confdefs.h <<_ACEOF
21560 #define HAVE_HYPOT 1
21561 _ACEOF
21562
21563 fi
21564 done
21565
21566 else
21567
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21569 $as_echo_n "checking for _hypot declaration... " >&6; }
21570 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21571 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21572 $as_echo_n "(cached) " >&6
21573 else
21574
21575
21576 ac_ext=cpp
21577 ac_cpp='$CXXCPP $CPPFLAGS'
21578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21581
21582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21583 /* end confdefs.h. */
21584 #include <math.h>
21585 int
21586 main ()
21587 {
21588 _hypot(0, 0);
21589 ;
21590 return 0;
21591 }
21592 _ACEOF
21593 if ac_fn_cxx_try_compile "$LINENO"; then :
21594 glibcxx_cv_func__hypot_use=yes
21595 else
21596 glibcxx_cv_func__hypot_use=no
21597 fi
21598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21599 ac_ext=c
21600 ac_cpp='$CPP $CPPFLAGS'
21601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21604
21605
21606 fi
21607
21608 fi
21609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21610 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21611
21612 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21613 for ac_func in _hypot
21614 do :
21615 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21616 if test "x$ac_cv_func__hypot" = x""yes; then :
21617 cat >>confdefs.h <<_ACEOF
21618 #define HAVE__HYPOT 1
21619 _ACEOF
21620
21621 fi
21622 done
21623
21624 fi
21625 fi
21626
21627
21628
21629
21630
21631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21632 $as_echo_n "checking for float trig functions... " >&6; }
21633 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21634 $as_echo_n "(cached) " >&6
21635 else
21636
21637
21638 ac_ext=cpp
21639 ac_cpp='$CXXCPP $CPPFLAGS'
21640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21643
21644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21645 /* end confdefs.h. */
21646 #include <math.h>
21647 int
21648 main ()
21649 {
21650 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21651 ;
21652 return 0;
21653 }
21654 _ACEOF
21655 if ac_fn_cxx_try_compile "$LINENO"; then :
21656 glibcxx_cv_func_float_trig_use=yes
21657 else
21658 glibcxx_cv_func_float_trig_use=no
21659 fi
21660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21661 ac_ext=c
21662 ac_cpp='$CPP $CPPFLAGS'
21663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21666
21667 fi
21668
21669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21670 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21671 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21672 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21673 do :
21674 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21675 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21676 eval as_val=\$$as_ac_var
21677 if test "x$as_val" = x""yes; then :
21678 cat >>confdefs.h <<_ACEOF
21679 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21680 _ACEOF
21681
21682 fi
21683 done
21684
21685 else
21686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21687 $as_echo_n "checking for _float trig functions... " >&6; }
21688 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21689 $as_echo_n "(cached) " >&6
21690 else
21691
21692
21693 ac_ext=cpp
21694 ac_cpp='$CXXCPP $CPPFLAGS'
21695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21698
21699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21700 /* end confdefs.h. */
21701 #include <math.h>
21702 int
21703 main ()
21704 {
21705 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21706 ;
21707 return 0;
21708 }
21709 _ACEOF
21710 if ac_fn_cxx_try_compile "$LINENO"; then :
21711 glibcxx_cv_func__float_trig_use=yes
21712 else
21713 glibcxx_cv_func__float_trig_use=no
21714 fi
21715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21716 ac_ext=c
21717 ac_cpp='$CPP $CPPFLAGS'
21718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21721
21722 fi
21723
21724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21725 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21726 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21727 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21728 do :
21729 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21730 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21731 eval as_val=\$$as_ac_var
21732 if test "x$as_val" = x""yes; then :
21733 cat >>confdefs.h <<_ACEOF
21734 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21735 _ACEOF
21736
21737 fi
21738 done
21739
21740 fi
21741 fi
21742
21743
21744
21745
21746
21747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21748 $as_echo_n "checking for float round functions... " >&6; }
21749 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21750 $as_echo_n "(cached) " >&6
21751 else
21752
21753
21754 ac_ext=cpp
21755 ac_cpp='$CXXCPP $CPPFLAGS'
21756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21759
21760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21761 /* end confdefs.h. */
21762 #include <math.h>
21763 int
21764 main ()
21765 {
21766 ceilf (0); floorf (0);
21767 ;
21768 return 0;
21769 }
21770 _ACEOF
21771 if ac_fn_cxx_try_compile "$LINENO"; then :
21772 glibcxx_cv_func_float_round_use=yes
21773 else
21774 glibcxx_cv_func_float_round_use=no
21775 fi
21776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21777 ac_ext=c
21778 ac_cpp='$CPP $CPPFLAGS'
21779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21782
21783 fi
21784
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21786 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21787 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21788 for ac_func in ceilf floorf
21789 do :
21790 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21792 eval as_val=\$$as_ac_var
21793 if test "x$as_val" = x""yes; then :
21794 cat >>confdefs.h <<_ACEOF
21795 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21796 _ACEOF
21797
21798 fi
21799 done
21800
21801 else
21802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21803 $as_echo_n "checking for _float round functions... " >&6; }
21804 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21805 $as_echo_n "(cached) " >&6
21806 else
21807
21808
21809 ac_ext=cpp
21810 ac_cpp='$CXXCPP $CPPFLAGS'
21811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21814
21815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21816 /* end confdefs.h. */
21817 #include <math.h>
21818 int
21819 main ()
21820 {
21821 _ceilf (0); _floorf (0);
21822 ;
21823 return 0;
21824 }
21825 _ACEOF
21826 if ac_fn_cxx_try_compile "$LINENO"; then :
21827 glibcxx_cv_func__float_round_use=yes
21828 else
21829 glibcxx_cv_func__float_round_use=no
21830 fi
21831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21832 ac_ext=c
21833 ac_cpp='$CPP $CPPFLAGS'
21834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21837
21838 fi
21839
21840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21841 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21842 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21843 for ac_func in _ceilf _floorf
21844 do :
21845 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21846 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21847 eval as_val=\$$as_ac_var
21848 if test "x$as_val" = x""yes; then :
21849 cat >>confdefs.h <<_ACEOF
21850 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21851 _ACEOF
21852
21853 fi
21854 done
21855
21856 fi
21857 fi
21858
21859
21860
21861
21862
21863
21864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21865 $as_echo_n "checking for expf declaration... " >&6; }
21866 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21867 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21868 $as_echo_n "(cached) " >&6
21869 else
21870
21871
21872 ac_ext=cpp
21873 ac_cpp='$CXXCPP $CPPFLAGS'
21874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21877
21878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21879 /* end confdefs.h. */
21880 #include <math.h>
21881 #ifdef HAVE_IEEEFP_H
21882 #include <ieeefp.h>
21883 #endif
21884
21885 int
21886 main ()
21887 {
21888 expf(0);
21889 ;
21890 return 0;
21891 }
21892 _ACEOF
21893 if ac_fn_cxx_try_compile "$LINENO"; then :
21894 glibcxx_cv_func_expf_use=yes
21895 else
21896 glibcxx_cv_func_expf_use=no
21897 fi
21898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21899 ac_ext=c
21900 ac_cpp='$CPP $CPPFLAGS'
21901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21904
21905
21906 fi
21907
21908 fi
21909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21910 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21911
21912 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21913 for ac_func in expf
21914 do :
21915 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21916 if test "x$ac_cv_func_expf" = x""yes; then :
21917 cat >>confdefs.h <<_ACEOF
21918 #define HAVE_EXPF 1
21919 _ACEOF
21920
21921 fi
21922 done
21923
21924 else
21925
21926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21927 $as_echo_n "checking for _expf declaration... " >&6; }
21928 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21929 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21930 $as_echo_n "(cached) " >&6
21931 else
21932
21933
21934 ac_ext=cpp
21935 ac_cpp='$CXXCPP $CPPFLAGS'
21936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21939
21940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21941 /* end confdefs.h. */
21942 #include <math.h>
21943 #ifdef HAVE_IEEEFP_H
21944 #include <ieeefp.h>
21945 #endif
21946
21947 int
21948 main ()
21949 {
21950 _expf(0);
21951 ;
21952 return 0;
21953 }
21954 _ACEOF
21955 if ac_fn_cxx_try_compile "$LINENO"; then :
21956 glibcxx_cv_func__expf_use=yes
21957 else
21958 glibcxx_cv_func__expf_use=no
21959 fi
21960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21961 ac_ext=c
21962 ac_cpp='$CPP $CPPFLAGS'
21963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21966
21967
21968 fi
21969
21970 fi
21971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21972 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21973
21974 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21975 for ac_func in _expf
21976 do :
21977 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21978 if test "x$ac_cv_func__expf" = x""yes; then :
21979 cat >>confdefs.h <<_ACEOF
21980 #define HAVE__EXPF 1
21981 _ACEOF
21982
21983 fi
21984 done
21985
21986 fi
21987 fi
21988
21989
21990
21991
21992
21993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21994 $as_echo_n "checking for isnanf declaration... " >&6; }
21995 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21996 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21997 $as_echo_n "(cached) " >&6
21998 else
21999
22000
22001 ac_ext=cpp
22002 ac_cpp='$CXXCPP $CPPFLAGS'
22003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22006
22007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22008 /* end confdefs.h. */
22009 #include <math.h>
22010 #ifdef HAVE_IEEEFP_H
22011 #include <ieeefp.h>
22012 #endif
22013
22014 int
22015 main ()
22016 {
22017 isnanf(0);
22018 ;
22019 return 0;
22020 }
22021 _ACEOF
22022 if ac_fn_cxx_try_compile "$LINENO"; then :
22023 glibcxx_cv_func_isnanf_use=yes
22024 else
22025 glibcxx_cv_func_isnanf_use=no
22026 fi
22027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22028 ac_ext=c
22029 ac_cpp='$CPP $CPPFLAGS'
22030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22033
22034
22035 fi
22036
22037 fi
22038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22039 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22040
22041 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22042 for ac_func in isnanf
22043 do :
22044 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22045 if test "x$ac_cv_func_isnanf" = x""yes; then :
22046 cat >>confdefs.h <<_ACEOF
22047 #define HAVE_ISNANF 1
22048 _ACEOF
22049
22050 fi
22051 done
22052
22053 else
22054
22055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22056 $as_echo_n "checking for _isnanf declaration... " >&6; }
22057 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22058 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22059 $as_echo_n "(cached) " >&6
22060 else
22061
22062
22063 ac_ext=cpp
22064 ac_cpp='$CXXCPP $CPPFLAGS'
22065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22068
22069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22070 /* end confdefs.h. */
22071 #include <math.h>
22072 #ifdef HAVE_IEEEFP_H
22073 #include <ieeefp.h>
22074 #endif
22075
22076 int
22077 main ()
22078 {
22079 _isnanf(0);
22080 ;
22081 return 0;
22082 }
22083 _ACEOF
22084 if ac_fn_cxx_try_compile "$LINENO"; then :
22085 glibcxx_cv_func__isnanf_use=yes
22086 else
22087 glibcxx_cv_func__isnanf_use=no
22088 fi
22089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22090 ac_ext=c
22091 ac_cpp='$CPP $CPPFLAGS'
22092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22095
22096
22097 fi
22098
22099 fi
22100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22101 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22102
22103 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22104 for ac_func in _isnanf
22105 do :
22106 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22107 if test "x$ac_cv_func__isnanf" = x""yes; then :
22108 cat >>confdefs.h <<_ACEOF
22109 #define HAVE__ISNANF 1
22110 _ACEOF
22111
22112 fi
22113 done
22114
22115 fi
22116 fi
22117
22118
22119
22120
22121
22122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22123 $as_echo_n "checking for isinff declaration... " >&6; }
22124 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22125 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22126 $as_echo_n "(cached) " >&6
22127 else
22128
22129
22130 ac_ext=cpp
22131 ac_cpp='$CXXCPP $CPPFLAGS'
22132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22135
22136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22137 /* end confdefs.h. */
22138 #include <math.h>
22139 #ifdef HAVE_IEEEFP_H
22140 #include <ieeefp.h>
22141 #endif
22142
22143 int
22144 main ()
22145 {
22146 isinff(0);
22147 ;
22148 return 0;
22149 }
22150 _ACEOF
22151 if ac_fn_cxx_try_compile "$LINENO"; then :
22152 glibcxx_cv_func_isinff_use=yes
22153 else
22154 glibcxx_cv_func_isinff_use=no
22155 fi
22156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22157 ac_ext=c
22158 ac_cpp='$CPP $CPPFLAGS'
22159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22162
22163
22164 fi
22165
22166 fi
22167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22168 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22169
22170 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22171 for ac_func in isinff
22172 do :
22173 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22174 if test "x$ac_cv_func_isinff" = x""yes; then :
22175 cat >>confdefs.h <<_ACEOF
22176 #define HAVE_ISINFF 1
22177 _ACEOF
22178
22179 fi
22180 done
22181
22182 else
22183
22184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22185 $as_echo_n "checking for _isinff declaration... " >&6; }
22186 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22187 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22188 $as_echo_n "(cached) " >&6
22189 else
22190
22191
22192 ac_ext=cpp
22193 ac_cpp='$CXXCPP $CPPFLAGS'
22194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22197
22198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22199 /* end confdefs.h. */
22200 #include <math.h>
22201 #ifdef HAVE_IEEEFP_H
22202 #include <ieeefp.h>
22203 #endif
22204
22205 int
22206 main ()
22207 {
22208 _isinff(0);
22209 ;
22210 return 0;
22211 }
22212 _ACEOF
22213 if ac_fn_cxx_try_compile "$LINENO"; then :
22214 glibcxx_cv_func__isinff_use=yes
22215 else
22216 glibcxx_cv_func__isinff_use=no
22217 fi
22218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22219 ac_ext=c
22220 ac_cpp='$CPP $CPPFLAGS'
22221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22224
22225
22226 fi
22227
22228 fi
22229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22230 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22231
22232 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22233 for ac_func in _isinff
22234 do :
22235 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22236 if test "x$ac_cv_func__isinff" = x""yes; then :
22237 cat >>confdefs.h <<_ACEOF
22238 #define HAVE__ISINFF 1
22239 _ACEOF
22240
22241 fi
22242 done
22243
22244 fi
22245 fi
22246
22247
22248
22249
22250
22251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22252 $as_echo_n "checking for atan2f declaration... " >&6; }
22253 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22254 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22255 $as_echo_n "(cached) " >&6
22256 else
22257
22258
22259 ac_ext=cpp
22260 ac_cpp='$CXXCPP $CPPFLAGS'
22261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22264
22265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22266 /* end confdefs.h. */
22267 #include <math.h>
22268 int
22269 main ()
22270 {
22271 atan2f(0, 0);
22272 ;
22273 return 0;
22274 }
22275 _ACEOF
22276 if ac_fn_cxx_try_compile "$LINENO"; then :
22277 glibcxx_cv_func_atan2f_use=yes
22278 else
22279 glibcxx_cv_func_atan2f_use=no
22280 fi
22281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22282 ac_ext=c
22283 ac_cpp='$CPP $CPPFLAGS'
22284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22287
22288
22289 fi
22290
22291 fi
22292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22293 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22294
22295 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22296 for ac_func in atan2f
22297 do :
22298 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22299 if test "x$ac_cv_func_atan2f" = x""yes; then :
22300 cat >>confdefs.h <<_ACEOF
22301 #define HAVE_ATAN2F 1
22302 _ACEOF
22303
22304 fi
22305 done
22306
22307 else
22308
22309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22310 $as_echo_n "checking for _atan2f declaration... " >&6; }
22311 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22312 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22313 $as_echo_n "(cached) " >&6
22314 else
22315
22316
22317 ac_ext=cpp
22318 ac_cpp='$CXXCPP $CPPFLAGS'
22319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22322
22323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22324 /* end confdefs.h. */
22325 #include <math.h>
22326 int
22327 main ()
22328 {
22329 _atan2f(0, 0);
22330 ;
22331 return 0;
22332 }
22333 _ACEOF
22334 if ac_fn_cxx_try_compile "$LINENO"; then :
22335 glibcxx_cv_func__atan2f_use=yes
22336 else
22337 glibcxx_cv_func__atan2f_use=no
22338 fi
22339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22340 ac_ext=c
22341 ac_cpp='$CPP $CPPFLAGS'
22342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22345
22346
22347 fi
22348
22349 fi
22350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22351 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22352
22353 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22354 for ac_func in _atan2f
22355 do :
22356 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22357 if test "x$ac_cv_func__atan2f" = x""yes; then :
22358 cat >>confdefs.h <<_ACEOF
22359 #define HAVE__ATAN2F 1
22360 _ACEOF
22361
22362 fi
22363 done
22364
22365 fi
22366 fi
22367
22368
22369
22370
22371
22372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22373 $as_echo_n "checking for fabsf declaration... " >&6; }
22374 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22375 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22376 $as_echo_n "(cached) " >&6
22377 else
22378
22379
22380 ac_ext=cpp
22381 ac_cpp='$CXXCPP $CPPFLAGS'
22382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22385
22386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22387 /* end confdefs.h. */
22388 #include <math.h>
22389 #ifdef HAVE_IEEEFP_H
22390 #include <ieeefp.h>
22391 #endif
22392
22393 int
22394 main ()
22395 {
22396 fabsf(0);
22397 ;
22398 return 0;
22399 }
22400 _ACEOF
22401 if ac_fn_cxx_try_compile "$LINENO"; then :
22402 glibcxx_cv_func_fabsf_use=yes
22403 else
22404 glibcxx_cv_func_fabsf_use=no
22405 fi
22406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22407 ac_ext=c
22408 ac_cpp='$CPP $CPPFLAGS'
22409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22412
22413
22414 fi
22415
22416 fi
22417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22418 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22419
22420 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22421 for ac_func in fabsf
22422 do :
22423 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22424 if test "x$ac_cv_func_fabsf" = x""yes; then :
22425 cat >>confdefs.h <<_ACEOF
22426 #define HAVE_FABSF 1
22427 _ACEOF
22428
22429 fi
22430 done
22431
22432 else
22433
22434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22435 $as_echo_n "checking for _fabsf declaration... " >&6; }
22436 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22437 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22438 $as_echo_n "(cached) " >&6
22439 else
22440
22441
22442 ac_ext=cpp
22443 ac_cpp='$CXXCPP $CPPFLAGS'
22444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22447
22448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22449 /* end confdefs.h. */
22450 #include <math.h>
22451 #ifdef HAVE_IEEEFP_H
22452 #include <ieeefp.h>
22453 #endif
22454
22455 int
22456 main ()
22457 {
22458 _fabsf(0);
22459 ;
22460 return 0;
22461 }
22462 _ACEOF
22463 if ac_fn_cxx_try_compile "$LINENO"; then :
22464 glibcxx_cv_func__fabsf_use=yes
22465 else
22466 glibcxx_cv_func__fabsf_use=no
22467 fi
22468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22469 ac_ext=c
22470 ac_cpp='$CPP $CPPFLAGS'
22471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22474
22475
22476 fi
22477
22478 fi
22479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22480 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22481
22482 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22483 for ac_func in _fabsf
22484 do :
22485 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22486 if test "x$ac_cv_func__fabsf" = x""yes; then :
22487 cat >>confdefs.h <<_ACEOF
22488 #define HAVE__FABSF 1
22489 _ACEOF
22490
22491 fi
22492 done
22493
22494 fi
22495 fi
22496
22497
22498
22499
22500
22501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22502 $as_echo_n "checking for fmodf declaration... " >&6; }
22503 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22504 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22505 $as_echo_n "(cached) " >&6
22506 else
22507
22508
22509 ac_ext=cpp
22510 ac_cpp='$CXXCPP $CPPFLAGS'
22511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22514
22515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22516 /* end confdefs.h. */
22517 #include <math.h>
22518 int
22519 main ()
22520 {
22521 fmodf(0, 0);
22522 ;
22523 return 0;
22524 }
22525 _ACEOF
22526 if ac_fn_cxx_try_compile "$LINENO"; then :
22527 glibcxx_cv_func_fmodf_use=yes
22528 else
22529 glibcxx_cv_func_fmodf_use=no
22530 fi
22531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22532 ac_ext=c
22533 ac_cpp='$CPP $CPPFLAGS'
22534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22537
22538
22539 fi
22540
22541 fi
22542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22543 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22544
22545 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22546 for ac_func in fmodf
22547 do :
22548 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22549 if test "x$ac_cv_func_fmodf" = x""yes; then :
22550 cat >>confdefs.h <<_ACEOF
22551 #define HAVE_FMODF 1
22552 _ACEOF
22553
22554 fi
22555 done
22556
22557 else
22558
22559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22560 $as_echo_n "checking for _fmodf declaration... " >&6; }
22561 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22562 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22563 $as_echo_n "(cached) " >&6
22564 else
22565
22566
22567 ac_ext=cpp
22568 ac_cpp='$CXXCPP $CPPFLAGS'
22569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22572
22573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22574 /* end confdefs.h. */
22575 #include <math.h>
22576 int
22577 main ()
22578 {
22579 _fmodf(0, 0);
22580 ;
22581 return 0;
22582 }
22583 _ACEOF
22584 if ac_fn_cxx_try_compile "$LINENO"; then :
22585 glibcxx_cv_func__fmodf_use=yes
22586 else
22587 glibcxx_cv_func__fmodf_use=no
22588 fi
22589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22590 ac_ext=c
22591 ac_cpp='$CPP $CPPFLAGS'
22592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22595
22596
22597 fi
22598
22599 fi
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22601 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22602
22603 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22604 for ac_func in _fmodf
22605 do :
22606 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22607 if test "x$ac_cv_func__fmodf" = x""yes; then :
22608 cat >>confdefs.h <<_ACEOF
22609 #define HAVE__FMODF 1
22610 _ACEOF
22611
22612 fi
22613 done
22614
22615 fi
22616 fi
22617
22618
22619
22620
22621
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22623 $as_echo_n "checking for frexpf declaration... " >&6; }
22624 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22625 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22626 $as_echo_n "(cached) " >&6
22627 else
22628
22629
22630 ac_ext=cpp
22631 ac_cpp='$CXXCPP $CPPFLAGS'
22632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22635
22636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22637 /* end confdefs.h. */
22638 #include <math.h>
22639 int
22640 main ()
22641 {
22642 frexpf(0, 0);
22643 ;
22644 return 0;
22645 }
22646 _ACEOF
22647 if ac_fn_cxx_try_compile "$LINENO"; then :
22648 glibcxx_cv_func_frexpf_use=yes
22649 else
22650 glibcxx_cv_func_frexpf_use=no
22651 fi
22652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22653 ac_ext=c
22654 ac_cpp='$CPP $CPPFLAGS'
22655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22658
22659
22660 fi
22661
22662 fi
22663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22664 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22665
22666 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22667 for ac_func in frexpf
22668 do :
22669 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22670 if test "x$ac_cv_func_frexpf" = x""yes; then :
22671 cat >>confdefs.h <<_ACEOF
22672 #define HAVE_FREXPF 1
22673 _ACEOF
22674
22675 fi
22676 done
22677
22678 else
22679
22680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22681 $as_echo_n "checking for _frexpf declaration... " >&6; }
22682 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22683 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22684 $as_echo_n "(cached) " >&6
22685 else
22686
22687
22688 ac_ext=cpp
22689 ac_cpp='$CXXCPP $CPPFLAGS'
22690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22693
22694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22695 /* end confdefs.h. */
22696 #include <math.h>
22697 int
22698 main ()
22699 {
22700 _frexpf(0, 0);
22701 ;
22702 return 0;
22703 }
22704 _ACEOF
22705 if ac_fn_cxx_try_compile "$LINENO"; then :
22706 glibcxx_cv_func__frexpf_use=yes
22707 else
22708 glibcxx_cv_func__frexpf_use=no
22709 fi
22710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22711 ac_ext=c
22712 ac_cpp='$CPP $CPPFLAGS'
22713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22716
22717
22718 fi
22719
22720 fi
22721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22722 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22723
22724 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22725 for ac_func in _frexpf
22726 do :
22727 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22728 if test "x$ac_cv_func__frexpf" = x""yes; then :
22729 cat >>confdefs.h <<_ACEOF
22730 #define HAVE__FREXPF 1
22731 _ACEOF
22732
22733 fi
22734 done
22735
22736 fi
22737 fi
22738
22739
22740
22741
22742
22743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22744 $as_echo_n "checking for hypotf declaration... " >&6; }
22745 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22746 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22747 $as_echo_n "(cached) " >&6
22748 else
22749
22750
22751 ac_ext=cpp
22752 ac_cpp='$CXXCPP $CPPFLAGS'
22753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22756
22757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22758 /* end confdefs.h. */
22759 #include <math.h>
22760 int
22761 main ()
22762 {
22763 hypotf(0, 0);
22764 ;
22765 return 0;
22766 }
22767 _ACEOF
22768 if ac_fn_cxx_try_compile "$LINENO"; then :
22769 glibcxx_cv_func_hypotf_use=yes
22770 else
22771 glibcxx_cv_func_hypotf_use=no
22772 fi
22773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22774 ac_ext=c
22775 ac_cpp='$CPP $CPPFLAGS'
22776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22779
22780
22781 fi
22782
22783 fi
22784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22785 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22786
22787 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22788 for ac_func in hypotf
22789 do :
22790 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22791 if test "x$ac_cv_func_hypotf" = x""yes; then :
22792 cat >>confdefs.h <<_ACEOF
22793 #define HAVE_HYPOTF 1
22794 _ACEOF
22795
22796 fi
22797 done
22798
22799 else
22800
22801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22802 $as_echo_n "checking for _hypotf declaration... " >&6; }
22803 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22804 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22805 $as_echo_n "(cached) " >&6
22806 else
22807
22808
22809 ac_ext=cpp
22810 ac_cpp='$CXXCPP $CPPFLAGS'
22811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22814
22815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22816 /* end confdefs.h. */
22817 #include <math.h>
22818 int
22819 main ()
22820 {
22821 _hypotf(0, 0);
22822 ;
22823 return 0;
22824 }
22825 _ACEOF
22826 if ac_fn_cxx_try_compile "$LINENO"; then :
22827 glibcxx_cv_func__hypotf_use=yes
22828 else
22829 glibcxx_cv_func__hypotf_use=no
22830 fi
22831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22832 ac_ext=c
22833 ac_cpp='$CPP $CPPFLAGS'
22834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22837
22838
22839 fi
22840
22841 fi
22842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22843 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22844
22845 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22846 for ac_func in _hypotf
22847 do :
22848 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22849 if test "x$ac_cv_func__hypotf" = x""yes; then :
22850 cat >>confdefs.h <<_ACEOF
22851 #define HAVE__HYPOTF 1
22852 _ACEOF
22853
22854 fi
22855 done
22856
22857 fi
22858 fi
22859
22860
22861
22862
22863
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22865 $as_echo_n "checking for ldexpf declaration... " >&6; }
22866 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22867 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22868 $as_echo_n "(cached) " >&6
22869 else
22870
22871
22872 ac_ext=cpp
22873 ac_cpp='$CXXCPP $CPPFLAGS'
22874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22877
22878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22879 /* end confdefs.h. */
22880 #include <math.h>
22881 int
22882 main ()
22883 {
22884 ldexpf(0, 0);
22885 ;
22886 return 0;
22887 }
22888 _ACEOF
22889 if ac_fn_cxx_try_compile "$LINENO"; then :
22890 glibcxx_cv_func_ldexpf_use=yes
22891 else
22892 glibcxx_cv_func_ldexpf_use=no
22893 fi
22894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22895 ac_ext=c
22896 ac_cpp='$CPP $CPPFLAGS'
22897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22900
22901
22902 fi
22903
22904 fi
22905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22906 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22907
22908 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22909 for ac_func in ldexpf
22910 do :
22911 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22912 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22913 cat >>confdefs.h <<_ACEOF
22914 #define HAVE_LDEXPF 1
22915 _ACEOF
22916
22917 fi
22918 done
22919
22920 else
22921
22922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22923 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22924 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22925 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22926 $as_echo_n "(cached) " >&6
22927 else
22928
22929
22930 ac_ext=cpp
22931 ac_cpp='$CXXCPP $CPPFLAGS'
22932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22935
22936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22937 /* end confdefs.h. */
22938 #include <math.h>
22939 int
22940 main ()
22941 {
22942 _ldexpf(0, 0);
22943 ;
22944 return 0;
22945 }
22946 _ACEOF
22947 if ac_fn_cxx_try_compile "$LINENO"; then :
22948 glibcxx_cv_func__ldexpf_use=yes
22949 else
22950 glibcxx_cv_func__ldexpf_use=no
22951 fi
22952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22953 ac_ext=c
22954 ac_cpp='$CPP $CPPFLAGS'
22955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22958
22959
22960 fi
22961
22962 fi
22963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22964 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22965
22966 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22967 for ac_func in _ldexpf
22968 do :
22969 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22970 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22971 cat >>confdefs.h <<_ACEOF
22972 #define HAVE__LDEXPF 1
22973 _ACEOF
22974
22975 fi
22976 done
22977
22978 fi
22979 fi
22980
22981
22982
22983
22984
22985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22986 $as_echo_n "checking for logf declaration... " >&6; }
22987 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22988 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22989 $as_echo_n "(cached) " >&6
22990 else
22991
22992
22993 ac_ext=cpp
22994 ac_cpp='$CXXCPP $CPPFLAGS'
22995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22998
22999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23000 /* end confdefs.h. */
23001 #include <math.h>
23002 #ifdef HAVE_IEEEFP_H
23003 #include <ieeefp.h>
23004 #endif
23005
23006 int
23007 main ()
23008 {
23009 logf(0);
23010 ;
23011 return 0;
23012 }
23013 _ACEOF
23014 if ac_fn_cxx_try_compile "$LINENO"; then :
23015 glibcxx_cv_func_logf_use=yes
23016 else
23017 glibcxx_cv_func_logf_use=no
23018 fi
23019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23020 ac_ext=c
23021 ac_cpp='$CPP $CPPFLAGS'
23022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23025
23026
23027 fi
23028
23029 fi
23030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23031 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23032
23033 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23034 for ac_func in logf
23035 do :
23036 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23037 if test "x$ac_cv_func_logf" = x""yes; then :
23038 cat >>confdefs.h <<_ACEOF
23039 #define HAVE_LOGF 1
23040 _ACEOF
23041
23042 fi
23043 done
23044
23045 else
23046
23047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23048 $as_echo_n "checking for _logf declaration... " >&6; }
23049 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23050 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23051 $as_echo_n "(cached) " >&6
23052 else
23053
23054
23055 ac_ext=cpp
23056 ac_cpp='$CXXCPP $CPPFLAGS'
23057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23060
23061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23062 /* end confdefs.h. */
23063 #include <math.h>
23064 #ifdef HAVE_IEEEFP_H
23065 #include <ieeefp.h>
23066 #endif
23067
23068 int
23069 main ()
23070 {
23071 _logf(0);
23072 ;
23073 return 0;
23074 }
23075 _ACEOF
23076 if ac_fn_cxx_try_compile "$LINENO"; then :
23077 glibcxx_cv_func__logf_use=yes
23078 else
23079 glibcxx_cv_func__logf_use=no
23080 fi
23081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23082 ac_ext=c
23083 ac_cpp='$CPP $CPPFLAGS'
23084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23087
23088
23089 fi
23090
23091 fi
23092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23093 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23094
23095 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23096 for ac_func in _logf
23097 do :
23098 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23099 if test "x$ac_cv_func__logf" = x""yes; then :
23100 cat >>confdefs.h <<_ACEOF
23101 #define HAVE__LOGF 1
23102 _ACEOF
23103
23104 fi
23105 done
23106
23107 fi
23108 fi
23109
23110
23111
23112
23113
23114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23115 $as_echo_n "checking for log10f declaration... " >&6; }
23116 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23117 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23118 $as_echo_n "(cached) " >&6
23119 else
23120
23121
23122 ac_ext=cpp
23123 ac_cpp='$CXXCPP $CPPFLAGS'
23124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23127
23128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23129 /* end confdefs.h. */
23130 #include <math.h>
23131 #ifdef HAVE_IEEEFP_H
23132 #include <ieeefp.h>
23133 #endif
23134
23135 int
23136 main ()
23137 {
23138 log10f(0);
23139 ;
23140 return 0;
23141 }
23142 _ACEOF
23143 if ac_fn_cxx_try_compile "$LINENO"; then :
23144 glibcxx_cv_func_log10f_use=yes
23145 else
23146 glibcxx_cv_func_log10f_use=no
23147 fi
23148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23149 ac_ext=c
23150 ac_cpp='$CPP $CPPFLAGS'
23151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23154
23155
23156 fi
23157
23158 fi
23159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23160 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23161
23162 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23163 for ac_func in log10f
23164 do :
23165 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23166 if test "x$ac_cv_func_log10f" = x""yes; then :
23167 cat >>confdefs.h <<_ACEOF
23168 #define HAVE_LOG10F 1
23169 _ACEOF
23170
23171 fi
23172 done
23173
23174 else
23175
23176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23177 $as_echo_n "checking for _log10f declaration... " >&6; }
23178 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23179 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23180 $as_echo_n "(cached) " >&6
23181 else
23182
23183
23184 ac_ext=cpp
23185 ac_cpp='$CXXCPP $CPPFLAGS'
23186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23189
23190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23191 /* end confdefs.h. */
23192 #include <math.h>
23193 #ifdef HAVE_IEEEFP_H
23194 #include <ieeefp.h>
23195 #endif
23196
23197 int
23198 main ()
23199 {
23200 _log10f(0);
23201 ;
23202 return 0;
23203 }
23204 _ACEOF
23205 if ac_fn_cxx_try_compile "$LINENO"; then :
23206 glibcxx_cv_func__log10f_use=yes
23207 else
23208 glibcxx_cv_func__log10f_use=no
23209 fi
23210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23211 ac_ext=c
23212 ac_cpp='$CPP $CPPFLAGS'
23213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23216
23217
23218 fi
23219
23220 fi
23221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23222 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23223
23224 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23225 for ac_func in _log10f
23226 do :
23227 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23228 if test "x$ac_cv_func__log10f" = x""yes; then :
23229 cat >>confdefs.h <<_ACEOF
23230 #define HAVE__LOG10F 1
23231 _ACEOF
23232
23233 fi
23234 done
23235
23236 fi
23237 fi
23238
23239
23240
23241
23242
23243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23244 $as_echo_n "checking for modff declaration... " >&6; }
23245 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23246 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23247 $as_echo_n "(cached) " >&6
23248 else
23249
23250
23251 ac_ext=cpp
23252 ac_cpp='$CXXCPP $CPPFLAGS'
23253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23256
23257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23258 /* end confdefs.h. */
23259 #include <math.h>
23260 int
23261 main ()
23262 {
23263 modff(0, 0);
23264 ;
23265 return 0;
23266 }
23267 _ACEOF
23268 if ac_fn_cxx_try_compile "$LINENO"; then :
23269 glibcxx_cv_func_modff_use=yes
23270 else
23271 glibcxx_cv_func_modff_use=no
23272 fi
23273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23274 ac_ext=c
23275 ac_cpp='$CPP $CPPFLAGS'
23276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23279
23280
23281 fi
23282
23283 fi
23284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23285 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23286
23287 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23288 for ac_func in modff
23289 do :
23290 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23291 if test "x$ac_cv_func_modff" = x""yes; then :
23292 cat >>confdefs.h <<_ACEOF
23293 #define HAVE_MODFF 1
23294 _ACEOF
23295
23296 fi
23297 done
23298
23299 else
23300
23301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23302 $as_echo_n "checking for _modff declaration... " >&6; }
23303 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23304 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23305 $as_echo_n "(cached) " >&6
23306 else
23307
23308
23309 ac_ext=cpp
23310 ac_cpp='$CXXCPP $CPPFLAGS'
23311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23314
23315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23316 /* end confdefs.h. */
23317 #include <math.h>
23318 int
23319 main ()
23320 {
23321 _modff(0, 0);
23322 ;
23323 return 0;
23324 }
23325 _ACEOF
23326 if ac_fn_cxx_try_compile "$LINENO"; then :
23327 glibcxx_cv_func__modff_use=yes
23328 else
23329 glibcxx_cv_func__modff_use=no
23330 fi
23331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23332 ac_ext=c
23333 ac_cpp='$CPP $CPPFLAGS'
23334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23337
23338
23339 fi
23340
23341 fi
23342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23343 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23344
23345 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23346 for ac_func in _modff
23347 do :
23348 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23349 if test "x$ac_cv_func__modff" = x""yes; then :
23350 cat >>confdefs.h <<_ACEOF
23351 #define HAVE__MODFF 1
23352 _ACEOF
23353
23354 fi
23355 done
23356
23357 fi
23358 fi
23359
23360
23361
23362
23363
23364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23365 $as_echo_n "checking for modf declaration... " >&6; }
23366 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23367 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23368 $as_echo_n "(cached) " >&6
23369 else
23370
23371
23372 ac_ext=cpp
23373 ac_cpp='$CXXCPP $CPPFLAGS'
23374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23377
23378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23379 /* end confdefs.h. */
23380 #include <math.h>
23381 int
23382 main ()
23383 {
23384 modf(0, 0);
23385 ;
23386 return 0;
23387 }
23388 _ACEOF
23389 if ac_fn_cxx_try_compile "$LINENO"; then :
23390 glibcxx_cv_func_modf_use=yes
23391 else
23392 glibcxx_cv_func_modf_use=no
23393 fi
23394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23395 ac_ext=c
23396 ac_cpp='$CPP $CPPFLAGS'
23397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23400
23401
23402 fi
23403
23404 fi
23405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23406 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23407
23408 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23409 for ac_func in modf
23410 do :
23411 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23412 if test "x$ac_cv_func_modf" = x""yes; then :
23413 cat >>confdefs.h <<_ACEOF
23414 #define HAVE_MODF 1
23415 _ACEOF
23416
23417 fi
23418 done
23419
23420 else
23421
23422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23423 $as_echo_n "checking for _modf declaration... " >&6; }
23424 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23425 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23426 $as_echo_n "(cached) " >&6
23427 else
23428
23429
23430 ac_ext=cpp
23431 ac_cpp='$CXXCPP $CPPFLAGS'
23432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23435
23436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23437 /* end confdefs.h. */
23438 #include <math.h>
23439 int
23440 main ()
23441 {
23442 _modf(0, 0);
23443 ;
23444 return 0;
23445 }
23446 _ACEOF
23447 if ac_fn_cxx_try_compile "$LINENO"; then :
23448 glibcxx_cv_func__modf_use=yes
23449 else
23450 glibcxx_cv_func__modf_use=no
23451 fi
23452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23453 ac_ext=c
23454 ac_cpp='$CPP $CPPFLAGS'
23455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23458
23459
23460 fi
23461
23462 fi
23463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23464 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23465
23466 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23467 for ac_func in _modf
23468 do :
23469 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23470 if test "x$ac_cv_func__modf" = x""yes; then :
23471 cat >>confdefs.h <<_ACEOF
23472 #define HAVE__MODF 1
23473 _ACEOF
23474
23475 fi
23476 done
23477
23478 fi
23479 fi
23480
23481
23482
23483
23484
23485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23486 $as_echo_n "checking for powf declaration... " >&6; }
23487 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23488 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23489 $as_echo_n "(cached) " >&6
23490 else
23491
23492
23493 ac_ext=cpp
23494 ac_cpp='$CXXCPP $CPPFLAGS'
23495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23498
23499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23500 /* end confdefs.h. */
23501 #include <math.h>
23502 int
23503 main ()
23504 {
23505 powf(0, 0);
23506 ;
23507 return 0;
23508 }
23509 _ACEOF
23510 if ac_fn_cxx_try_compile "$LINENO"; then :
23511 glibcxx_cv_func_powf_use=yes
23512 else
23513 glibcxx_cv_func_powf_use=no
23514 fi
23515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23516 ac_ext=c
23517 ac_cpp='$CPP $CPPFLAGS'
23518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23521
23522
23523 fi
23524
23525 fi
23526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23527 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23528
23529 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23530 for ac_func in powf
23531 do :
23532 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23533 if test "x$ac_cv_func_powf" = x""yes; then :
23534 cat >>confdefs.h <<_ACEOF
23535 #define HAVE_POWF 1
23536 _ACEOF
23537
23538 fi
23539 done
23540
23541 else
23542
23543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23544 $as_echo_n "checking for _powf declaration... " >&6; }
23545 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23546 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23547 $as_echo_n "(cached) " >&6
23548 else
23549
23550
23551 ac_ext=cpp
23552 ac_cpp='$CXXCPP $CPPFLAGS'
23553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23556
23557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23558 /* end confdefs.h. */
23559 #include <math.h>
23560 int
23561 main ()
23562 {
23563 _powf(0, 0);
23564 ;
23565 return 0;
23566 }
23567 _ACEOF
23568 if ac_fn_cxx_try_compile "$LINENO"; then :
23569 glibcxx_cv_func__powf_use=yes
23570 else
23571 glibcxx_cv_func__powf_use=no
23572 fi
23573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23574 ac_ext=c
23575 ac_cpp='$CPP $CPPFLAGS'
23576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23579
23580
23581 fi
23582
23583 fi
23584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23585 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23586
23587 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23588 for ac_func in _powf
23589 do :
23590 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23591 if test "x$ac_cv_func__powf" = x""yes; then :
23592 cat >>confdefs.h <<_ACEOF
23593 #define HAVE__POWF 1
23594 _ACEOF
23595
23596 fi
23597 done
23598
23599 fi
23600 fi
23601
23602
23603
23604
23605
23606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23607 $as_echo_n "checking for sqrtf declaration... " >&6; }
23608 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23609 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23610 $as_echo_n "(cached) " >&6
23611 else
23612
23613
23614 ac_ext=cpp
23615 ac_cpp='$CXXCPP $CPPFLAGS'
23616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23619
23620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23621 /* end confdefs.h. */
23622 #include <math.h>
23623 #ifdef HAVE_IEEEFP_H
23624 #include <ieeefp.h>
23625 #endif
23626
23627 int
23628 main ()
23629 {
23630 sqrtf(0);
23631 ;
23632 return 0;
23633 }
23634 _ACEOF
23635 if ac_fn_cxx_try_compile "$LINENO"; then :
23636 glibcxx_cv_func_sqrtf_use=yes
23637 else
23638 glibcxx_cv_func_sqrtf_use=no
23639 fi
23640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23641 ac_ext=c
23642 ac_cpp='$CPP $CPPFLAGS'
23643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23646
23647
23648 fi
23649
23650 fi
23651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23652 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23653
23654 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23655 for ac_func in sqrtf
23656 do :
23657 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23658 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23659 cat >>confdefs.h <<_ACEOF
23660 #define HAVE_SQRTF 1
23661 _ACEOF
23662
23663 fi
23664 done
23665
23666 else
23667
23668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23669 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23670 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23671 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23672 $as_echo_n "(cached) " >&6
23673 else
23674
23675
23676 ac_ext=cpp
23677 ac_cpp='$CXXCPP $CPPFLAGS'
23678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23681
23682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23683 /* end confdefs.h. */
23684 #include <math.h>
23685 #ifdef HAVE_IEEEFP_H
23686 #include <ieeefp.h>
23687 #endif
23688
23689 int
23690 main ()
23691 {
23692 _sqrtf(0);
23693 ;
23694 return 0;
23695 }
23696 _ACEOF
23697 if ac_fn_cxx_try_compile "$LINENO"; then :
23698 glibcxx_cv_func__sqrtf_use=yes
23699 else
23700 glibcxx_cv_func__sqrtf_use=no
23701 fi
23702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23703 ac_ext=c
23704 ac_cpp='$CPP $CPPFLAGS'
23705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23708
23709
23710 fi
23711
23712 fi
23713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23714 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23715
23716 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23717 for ac_func in _sqrtf
23718 do :
23719 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23720 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23721 cat >>confdefs.h <<_ACEOF
23722 #define HAVE__SQRTF 1
23723 _ACEOF
23724
23725 fi
23726 done
23727
23728 fi
23729 fi
23730
23731
23732
23733
23734
23735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23736 $as_echo_n "checking for sincosf declaration... " >&6; }
23737 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23738 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23739 $as_echo_n "(cached) " >&6
23740 else
23741
23742
23743 ac_ext=cpp
23744 ac_cpp='$CXXCPP $CPPFLAGS'
23745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23748
23749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23750 /* end confdefs.h. */
23751 #include <math.h>
23752 int
23753 main ()
23754 {
23755 sincosf(0, 0, 0);
23756 ;
23757 return 0;
23758 }
23759 _ACEOF
23760 if ac_fn_cxx_try_compile "$LINENO"; then :
23761 glibcxx_cv_func_sincosf_use=yes
23762 else
23763 glibcxx_cv_func_sincosf_use=no
23764 fi
23765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23766 ac_ext=c
23767 ac_cpp='$CPP $CPPFLAGS'
23768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23771
23772
23773 fi
23774
23775 fi
23776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23777 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23778
23779 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23780 for ac_func in sincosf
23781 do :
23782 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23783 if test "x$ac_cv_func_sincosf" = x""yes; then :
23784 cat >>confdefs.h <<_ACEOF
23785 #define HAVE_SINCOSF 1
23786 _ACEOF
23787
23788 fi
23789 done
23790
23791 else
23792
23793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23794 $as_echo_n "checking for _sincosf declaration... " >&6; }
23795 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23796 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23797 $as_echo_n "(cached) " >&6
23798 else
23799
23800
23801 ac_ext=cpp
23802 ac_cpp='$CXXCPP $CPPFLAGS'
23803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23806
23807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23808 /* end confdefs.h. */
23809 #include <math.h>
23810 int
23811 main ()
23812 {
23813 _sincosf(0, 0, 0);
23814 ;
23815 return 0;
23816 }
23817 _ACEOF
23818 if ac_fn_cxx_try_compile "$LINENO"; then :
23819 glibcxx_cv_func__sincosf_use=yes
23820 else
23821 glibcxx_cv_func__sincosf_use=no
23822 fi
23823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23824 ac_ext=c
23825 ac_cpp='$CPP $CPPFLAGS'
23826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23829
23830
23831 fi
23832
23833 fi
23834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23835 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23836
23837 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23838 for ac_func in _sincosf
23839 do :
23840 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23841 if test "x$ac_cv_func__sincosf" = x""yes; then :
23842 cat >>confdefs.h <<_ACEOF
23843 #define HAVE__SINCOSF 1
23844 _ACEOF
23845
23846 fi
23847 done
23848
23849 fi
23850 fi
23851
23852
23853
23854
23855
23856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23857 $as_echo_n "checking for finitef declaration... " >&6; }
23858 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23859 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23860 $as_echo_n "(cached) " >&6
23861 else
23862
23863
23864 ac_ext=cpp
23865 ac_cpp='$CXXCPP $CPPFLAGS'
23866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23869
23870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23871 /* end confdefs.h. */
23872 #include <math.h>
23873 #ifdef HAVE_IEEEFP_H
23874 #include <ieeefp.h>
23875 #endif
23876
23877 int
23878 main ()
23879 {
23880 finitef(0);
23881 ;
23882 return 0;
23883 }
23884 _ACEOF
23885 if ac_fn_cxx_try_compile "$LINENO"; then :
23886 glibcxx_cv_func_finitef_use=yes
23887 else
23888 glibcxx_cv_func_finitef_use=no
23889 fi
23890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23891 ac_ext=c
23892 ac_cpp='$CPP $CPPFLAGS'
23893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23896
23897
23898 fi
23899
23900 fi
23901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23902 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23903
23904 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23905 for ac_func in finitef
23906 do :
23907 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23908 if test "x$ac_cv_func_finitef" = x""yes; then :
23909 cat >>confdefs.h <<_ACEOF
23910 #define HAVE_FINITEF 1
23911 _ACEOF
23912
23913 fi
23914 done
23915
23916 else
23917
23918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23919 $as_echo_n "checking for _finitef declaration... " >&6; }
23920 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23921 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23922 $as_echo_n "(cached) " >&6
23923 else
23924
23925
23926 ac_ext=cpp
23927 ac_cpp='$CXXCPP $CPPFLAGS'
23928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23931
23932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23933 /* end confdefs.h. */
23934 #include <math.h>
23935 #ifdef HAVE_IEEEFP_H
23936 #include <ieeefp.h>
23937 #endif
23938
23939 int
23940 main ()
23941 {
23942 _finitef(0);
23943 ;
23944 return 0;
23945 }
23946 _ACEOF
23947 if ac_fn_cxx_try_compile "$LINENO"; then :
23948 glibcxx_cv_func__finitef_use=yes
23949 else
23950 glibcxx_cv_func__finitef_use=no
23951 fi
23952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23953 ac_ext=c
23954 ac_cpp='$CPP $CPPFLAGS'
23955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23958
23959
23960 fi
23961
23962 fi
23963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23964 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23965
23966 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23967 for ac_func in _finitef
23968 do :
23969 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23970 if test "x$ac_cv_func__finitef" = x""yes; then :
23971 cat >>confdefs.h <<_ACEOF
23972 #define HAVE__FINITEF 1
23973 _ACEOF
23974
23975 fi
23976 done
23977
23978 fi
23979 fi
23980
23981
23982
23983
23984
23985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23986 $as_echo_n "checking for long double trig functions... " >&6; }
23987 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23988 $as_echo_n "(cached) " >&6
23989 else
23990
23991
23992 ac_ext=cpp
23993 ac_cpp='$CXXCPP $CPPFLAGS'
23994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23997
23998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23999 /* end confdefs.h. */
24000 #include <math.h>
24001 int
24002 main ()
24003 {
24004 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24005 ;
24006 return 0;
24007 }
24008 _ACEOF
24009 if ac_fn_cxx_try_compile "$LINENO"; then :
24010 glibcxx_cv_func_long_double_trig_use=yes
24011 else
24012 glibcxx_cv_func_long_double_trig_use=no
24013 fi
24014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24015 ac_ext=c
24016 ac_cpp='$CPP $CPPFLAGS'
24017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24020
24021 fi
24022
24023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24024 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24025 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24026 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24027 do :
24028 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24029 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24030 eval as_val=\$$as_ac_var
24031 if test "x$as_val" = x""yes; then :
24032 cat >>confdefs.h <<_ACEOF
24033 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24034 _ACEOF
24035
24036 fi
24037 done
24038
24039 else
24040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24041 $as_echo_n "checking for _long double trig functions... " >&6; }
24042 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24043 $as_echo_n "(cached) " >&6
24044 else
24045
24046
24047 ac_ext=cpp
24048 ac_cpp='$CXXCPP $CPPFLAGS'
24049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24052
24053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24054 /* end confdefs.h. */
24055 #include <math.h>
24056 int
24057 main ()
24058 {
24059 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24060 ;
24061 return 0;
24062 }
24063 _ACEOF
24064 if ac_fn_cxx_try_compile "$LINENO"; then :
24065 glibcxx_cv_func__long_double_trig_use=yes
24066 else
24067 glibcxx_cv_func__long_double_trig_use=no
24068 fi
24069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24070 ac_ext=c
24071 ac_cpp='$CPP $CPPFLAGS'
24072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24075
24076 fi
24077
24078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24079 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24080 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24081 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24082 do :
24083 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24084 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24085 eval as_val=\$$as_ac_var
24086 if test "x$as_val" = x""yes; then :
24087 cat >>confdefs.h <<_ACEOF
24088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24089 _ACEOF
24090
24091 fi
24092 done
24093
24094 fi
24095 fi
24096
24097
24098
24099
24100
24101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24102 $as_echo_n "checking for long double round functions... " >&6; }
24103 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24104 $as_echo_n "(cached) " >&6
24105 else
24106
24107
24108 ac_ext=cpp
24109 ac_cpp='$CXXCPP $CPPFLAGS'
24110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24113
24114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24115 /* end confdefs.h. */
24116 #include <math.h>
24117 int
24118 main ()
24119 {
24120 ceill (0); floorl (0);
24121 ;
24122 return 0;
24123 }
24124 _ACEOF
24125 if ac_fn_cxx_try_compile "$LINENO"; then :
24126 glibcxx_cv_func_long_double_round_use=yes
24127 else
24128 glibcxx_cv_func_long_double_round_use=no
24129 fi
24130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24131 ac_ext=c
24132 ac_cpp='$CPP $CPPFLAGS'
24133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24136
24137 fi
24138
24139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24140 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24141 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24142 for ac_func in ceill floorl
24143 do :
24144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24146 eval as_val=\$$as_ac_var
24147 if test "x$as_val" = x""yes; then :
24148 cat >>confdefs.h <<_ACEOF
24149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24150 _ACEOF
24151
24152 fi
24153 done
24154
24155 else
24156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24157 $as_echo_n "checking for _long double round functions... " >&6; }
24158 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24159 $as_echo_n "(cached) " >&6
24160 else
24161
24162
24163 ac_ext=cpp
24164 ac_cpp='$CXXCPP $CPPFLAGS'
24165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24168
24169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24170 /* end confdefs.h. */
24171 #include <math.h>
24172 int
24173 main ()
24174 {
24175 _ceill (0); _floorl (0);
24176 ;
24177 return 0;
24178 }
24179 _ACEOF
24180 if ac_fn_cxx_try_compile "$LINENO"; then :
24181 glibcxx_cv_func__long_double_round_use=yes
24182 else
24183 glibcxx_cv_func__long_double_round_use=no
24184 fi
24185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24186 ac_ext=c
24187 ac_cpp='$CPP $CPPFLAGS'
24188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24191
24192 fi
24193
24194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24195 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24196 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24197 for ac_func in _ceill _floorl
24198 do :
24199 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24200 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24201 eval as_val=\$$as_ac_var
24202 if test "x$as_val" = x""yes; then :
24203 cat >>confdefs.h <<_ACEOF
24204 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24205 _ACEOF
24206
24207 fi
24208 done
24209
24210 fi
24211 fi
24212
24213
24214
24215
24216
24217
24218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24219 $as_echo_n "checking for isnanl declaration... " >&6; }
24220 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24221 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24222 $as_echo_n "(cached) " >&6
24223 else
24224
24225
24226 ac_ext=cpp
24227 ac_cpp='$CXXCPP $CPPFLAGS'
24228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24231
24232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24233 /* end confdefs.h. */
24234 #include <math.h>
24235 #ifdef HAVE_IEEEFP_H
24236 #include <ieeefp.h>
24237 #endif
24238
24239 int
24240 main ()
24241 {
24242 isnanl(0);
24243 ;
24244 return 0;
24245 }
24246 _ACEOF
24247 if ac_fn_cxx_try_compile "$LINENO"; then :
24248 glibcxx_cv_func_isnanl_use=yes
24249 else
24250 glibcxx_cv_func_isnanl_use=no
24251 fi
24252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24253 ac_ext=c
24254 ac_cpp='$CPP $CPPFLAGS'
24255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24258
24259
24260 fi
24261
24262 fi
24263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24264 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24265
24266 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24267 for ac_func in isnanl
24268 do :
24269 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24270 if test "x$ac_cv_func_isnanl" = x""yes; then :
24271 cat >>confdefs.h <<_ACEOF
24272 #define HAVE_ISNANL 1
24273 _ACEOF
24274
24275 fi
24276 done
24277
24278 else
24279
24280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24281 $as_echo_n "checking for _isnanl declaration... " >&6; }
24282 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24283 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24284 $as_echo_n "(cached) " >&6
24285 else
24286
24287
24288 ac_ext=cpp
24289 ac_cpp='$CXXCPP $CPPFLAGS'
24290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24293
24294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24295 /* end confdefs.h. */
24296 #include <math.h>
24297 #ifdef HAVE_IEEEFP_H
24298 #include <ieeefp.h>
24299 #endif
24300
24301 int
24302 main ()
24303 {
24304 _isnanl(0);
24305 ;
24306 return 0;
24307 }
24308 _ACEOF
24309 if ac_fn_cxx_try_compile "$LINENO"; then :
24310 glibcxx_cv_func__isnanl_use=yes
24311 else
24312 glibcxx_cv_func__isnanl_use=no
24313 fi
24314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24315 ac_ext=c
24316 ac_cpp='$CPP $CPPFLAGS'
24317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24320
24321
24322 fi
24323
24324 fi
24325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24326 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24327
24328 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24329 for ac_func in _isnanl
24330 do :
24331 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24332 if test "x$ac_cv_func__isnanl" = x""yes; then :
24333 cat >>confdefs.h <<_ACEOF
24334 #define HAVE__ISNANL 1
24335 _ACEOF
24336
24337 fi
24338 done
24339
24340 fi
24341 fi
24342
24343
24344
24345
24346
24347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24348 $as_echo_n "checking for isinfl declaration... " >&6; }
24349 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24350 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24351 $as_echo_n "(cached) " >&6
24352 else
24353
24354
24355 ac_ext=cpp
24356 ac_cpp='$CXXCPP $CPPFLAGS'
24357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24360
24361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24362 /* end confdefs.h. */
24363 #include <math.h>
24364 #ifdef HAVE_IEEEFP_H
24365 #include <ieeefp.h>
24366 #endif
24367
24368 int
24369 main ()
24370 {
24371 isinfl(0);
24372 ;
24373 return 0;
24374 }
24375 _ACEOF
24376 if ac_fn_cxx_try_compile "$LINENO"; then :
24377 glibcxx_cv_func_isinfl_use=yes
24378 else
24379 glibcxx_cv_func_isinfl_use=no
24380 fi
24381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24382 ac_ext=c
24383 ac_cpp='$CPP $CPPFLAGS'
24384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24387
24388
24389 fi
24390
24391 fi
24392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24393 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24394
24395 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24396 for ac_func in isinfl
24397 do :
24398 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24399 if test "x$ac_cv_func_isinfl" = x""yes; then :
24400 cat >>confdefs.h <<_ACEOF
24401 #define HAVE_ISINFL 1
24402 _ACEOF
24403
24404 fi
24405 done
24406
24407 else
24408
24409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24410 $as_echo_n "checking for _isinfl declaration... " >&6; }
24411 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24412 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24413 $as_echo_n "(cached) " >&6
24414 else
24415
24416
24417 ac_ext=cpp
24418 ac_cpp='$CXXCPP $CPPFLAGS'
24419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24422
24423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24424 /* end confdefs.h. */
24425 #include <math.h>
24426 #ifdef HAVE_IEEEFP_H
24427 #include <ieeefp.h>
24428 #endif
24429
24430 int
24431 main ()
24432 {
24433 _isinfl(0);
24434 ;
24435 return 0;
24436 }
24437 _ACEOF
24438 if ac_fn_cxx_try_compile "$LINENO"; then :
24439 glibcxx_cv_func__isinfl_use=yes
24440 else
24441 glibcxx_cv_func__isinfl_use=no
24442 fi
24443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24444 ac_ext=c
24445 ac_cpp='$CPP $CPPFLAGS'
24446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24449
24450
24451 fi
24452
24453 fi
24454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24455 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24456
24457 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24458 for ac_func in _isinfl
24459 do :
24460 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24461 if test "x$ac_cv_func__isinfl" = x""yes; then :
24462 cat >>confdefs.h <<_ACEOF
24463 #define HAVE__ISINFL 1
24464 _ACEOF
24465
24466 fi
24467 done
24468
24469 fi
24470 fi
24471
24472
24473
24474
24475
24476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24477 $as_echo_n "checking for atan2l declaration... " >&6; }
24478 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24479 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24480 $as_echo_n "(cached) " >&6
24481 else
24482
24483
24484 ac_ext=cpp
24485 ac_cpp='$CXXCPP $CPPFLAGS'
24486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24489
24490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24491 /* end confdefs.h. */
24492 #include <math.h>
24493 int
24494 main ()
24495 {
24496 atan2l(0, 0);
24497 ;
24498 return 0;
24499 }
24500 _ACEOF
24501 if ac_fn_cxx_try_compile "$LINENO"; then :
24502 glibcxx_cv_func_atan2l_use=yes
24503 else
24504 glibcxx_cv_func_atan2l_use=no
24505 fi
24506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24507 ac_ext=c
24508 ac_cpp='$CPP $CPPFLAGS'
24509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24512
24513
24514 fi
24515
24516 fi
24517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24518 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24519
24520 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24521 for ac_func in atan2l
24522 do :
24523 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24524 if test "x$ac_cv_func_atan2l" = x""yes; then :
24525 cat >>confdefs.h <<_ACEOF
24526 #define HAVE_ATAN2L 1
24527 _ACEOF
24528
24529 fi
24530 done
24531
24532 else
24533
24534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24535 $as_echo_n "checking for _atan2l declaration... " >&6; }
24536 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24537 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24538 $as_echo_n "(cached) " >&6
24539 else
24540
24541
24542 ac_ext=cpp
24543 ac_cpp='$CXXCPP $CPPFLAGS'
24544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24547
24548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24549 /* end confdefs.h. */
24550 #include <math.h>
24551 int
24552 main ()
24553 {
24554 _atan2l(0, 0);
24555 ;
24556 return 0;
24557 }
24558 _ACEOF
24559 if ac_fn_cxx_try_compile "$LINENO"; then :
24560 glibcxx_cv_func__atan2l_use=yes
24561 else
24562 glibcxx_cv_func__atan2l_use=no
24563 fi
24564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24565 ac_ext=c
24566 ac_cpp='$CPP $CPPFLAGS'
24567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24570
24571
24572 fi
24573
24574 fi
24575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24576 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24577
24578 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24579 for ac_func in _atan2l
24580 do :
24581 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24582 if test "x$ac_cv_func__atan2l" = x""yes; then :
24583 cat >>confdefs.h <<_ACEOF
24584 #define HAVE__ATAN2L 1
24585 _ACEOF
24586
24587 fi
24588 done
24589
24590 fi
24591 fi
24592
24593
24594
24595
24596
24597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24598 $as_echo_n "checking for expl declaration... " >&6; }
24599 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24600 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24601 $as_echo_n "(cached) " >&6
24602 else
24603
24604
24605 ac_ext=cpp
24606 ac_cpp='$CXXCPP $CPPFLAGS'
24607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24610
24611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24612 /* end confdefs.h. */
24613 #include <math.h>
24614 #ifdef HAVE_IEEEFP_H
24615 #include <ieeefp.h>
24616 #endif
24617
24618 int
24619 main ()
24620 {
24621 expl(0);
24622 ;
24623 return 0;
24624 }
24625 _ACEOF
24626 if ac_fn_cxx_try_compile "$LINENO"; then :
24627 glibcxx_cv_func_expl_use=yes
24628 else
24629 glibcxx_cv_func_expl_use=no
24630 fi
24631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24632 ac_ext=c
24633 ac_cpp='$CPP $CPPFLAGS'
24634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24637
24638
24639 fi
24640
24641 fi
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24643 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24644
24645 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24646 for ac_func in expl
24647 do :
24648 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24649 if test "x$ac_cv_func_expl" = x""yes; then :
24650 cat >>confdefs.h <<_ACEOF
24651 #define HAVE_EXPL 1
24652 _ACEOF
24653
24654 fi
24655 done
24656
24657 else
24658
24659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24660 $as_echo_n "checking for _expl declaration... " >&6; }
24661 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24662 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24663 $as_echo_n "(cached) " >&6
24664 else
24665
24666
24667 ac_ext=cpp
24668 ac_cpp='$CXXCPP $CPPFLAGS'
24669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24672
24673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24674 /* end confdefs.h. */
24675 #include <math.h>
24676 #ifdef HAVE_IEEEFP_H
24677 #include <ieeefp.h>
24678 #endif
24679
24680 int
24681 main ()
24682 {
24683 _expl(0);
24684 ;
24685 return 0;
24686 }
24687 _ACEOF
24688 if ac_fn_cxx_try_compile "$LINENO"; then :
24689 glibcxx_cv_func__expl_use=yes
24690 else
24691 glibcxx_cv_func__expl_use=no
24692 fi
24693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24694 ac_ext=c
24695 ac_cpp='$CPP $CPPFLAGS'
24696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24699
24700
24701 fi
24702
24703 fi
24704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24705 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24706
24707 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24708 for ac_func in _expl
24709 do :
24710 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24711 if test "x$ac_cv_func__expl" = x""yes; then :
24712 cat >>confdefs.h <<_ACEOF
24713 #define HAVE__EXPL 1
24714 _ACEOF
24715
24716 fi
24717 done
24718
24719 fi
24720 fi
24721
24722
24723
24724
24725
24726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24727 $as_echo_n "checking for fabsl declaration... " >&6; }
24728 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24729 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24730 $as_echo_n "(cached) " >&6
24731 else
24732
24733
24734 ac_ext=cpp
24735 ac_cpp='$CXXCPP $CPPFLAGS'
24736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24739
24740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24741 /* end confdefs.h. */
24742 #include <math.h>
24743 #ifdef HAVE_IEEEFP_H
24744 #include <ieeefp.h>
24745 #endif
24746
24747 int
24748 main ()
24749 {
24750 fabsl(0);
24751 ;
24752 return 0;
24753 }
24754 _ACEOF
24755 if ac_fn_cxx_try_compile "$LINENO"; then :
24756 glibcxx_cv_func_fabsl_use=yes
24757 else
24758 glibcxx_cv_func_fabsl_use=no
24759 fi
24760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24761 ac_ext=c
24762 ac_cpp='$CPP $CPPFLAGS'
24763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24766
24767
24768 fi
24769
24770 fi
24771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24772 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24773
24774 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24775 for ac_func in fabsl
24776 do :
24777 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24778 if test "x$ac_cv_func_fabsl" = x""yes; then :
24779 cat >>confdefs.h <<_ACEOF
24780 #define HAVE_FABSL 1
24781 _ACEOF
24782
24783 fi
24784 done
24785
24786 else
24787
24788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24789 $as_echo_n "checking for _fabsl declaration... " >&6; }
24790 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24791 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24792 $as_echo_n "(cached) " >&6
24793 else
24794
24795
24796 ac_ext=cpp
24797 ac_cpp='$CXXCPP $CPPFLAGS'
24798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24801
24802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24803 /* end confdefs.h. */
24804 #include <math.h>
24805 #ifdef HAVE_IEEEFP_H
24806 #include <ieeefp.h>
24807 #endif
24808
24809 int
24810 main ()
24811 {
24812 _fabsl(0);
24813 ;
24814 return 0;
24815 }
24816 _ACEOF
24817 if ac_fn_cxx_try_compile "$LINENO"; then :
24818 glibcxx_cv_func__fabsl_use=yes
24819 else
24820 glibcxx_cv_func__fabsl_use=no
24821 fi
24822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24823 ac_ext=c
24824 ac_cpp='$CPP $CPPFLAGS'
24825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24828
24829
24830 fi
24831
24832 fi
24833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24834 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24835
24836 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24837 for ac_func in _fabsl
24838 do :
24839 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24840 if test "x$ac_cv_func__fabsl" = x""yes; then :
24841 cat >>confdefs.h <<_ACEOF
24842 #define HAVE__FABSL 1
24843 _ACEOF
24844
24845 fi
24846 done
24847
24848 fi
24849 fi
24850
24851
24852
24853
24854
24855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24856 $as_echo_n "checking for fmodl declaration... " >&6; }
24857 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24858 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24859 $as_echo_n "(cached) " >&6
24860 else
24861
24862
24863 ac_ext=cpp
24864 ac_cpp='$CXXCPP $CPPFLAGS'
24865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24868
24869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24870 /* end confdefs.h. */
24871 #include <math.h>
24872 int
24873 main ()
24874 {
24875 fmodl(0, 0);
24876 ;
24877 return 0;
24878 }
24879 _ACEOF
24880 if ac_fn_cxx_try_compile "$LINENO"; then :
24881 glibcxx_cv_func_fmodl_use=yes
24882 else
24883 glibcxx_cv_func_fmodl_use=no
24884 fi
24885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24886 ac_ext=c
24887 ac_cpp='$CPP $CPPFLAGS'
24888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24891
24892
24893 fi
24894
24895 fi
24896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24897 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24898
24899 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24900 for ac_func in fmodl
24901 do :
24902 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24903 if test "x$ac_cv_func_fmodl" = x""yes; then :
24904 cat >>confdefs.h <<_ACEOF
24905 #define HAVE_FMODL 1
24906 _ACEOF
24907
24908 fi
24909 done
24910
24911 else
24912
24913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24914 $as_echo_n "checking for _fmodl declaration... " >&6; }
24915 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24916 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24917 $as_echo_n "(cached) " >&6
24918 else
24919
24920
24921 ac_ext=cpp
24922 ac_cpp='$CXXCPP $CPPFLAGS'
24923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24926
24927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24928 /* end confdefs.h. */
24929 #include <math.h>
24930 int
24931 main ()
24932 {
24933 _fmodl(0, 0);
24934 ;
24935 return 0;
24936 }
24937 _ACEOF
24938 if ac_fn_cxx_try_compile "$LINENO"; then :
24939 glibcxx_cv_func__fmodl_use=yes
24940 else
24941 glibcxx_cv_func__fmodl_use=no
24942 fi
24943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24944 ac_ext=c
24945 ac_cpp='$CPP $CPPFLAGS'
24946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24949
24950
24951 fi
24952
24953 fi
24954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24955 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24956
24957 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24958 for ac_func in _fmodl
24959 do :
24960 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24961 if test "x$ac_cv_func__fmodl" = x""yes; then :
24962 cat >>confdefs.h <<_ACEOF
24963 #define HAVE__FMODL 1
24964 _ACEOF
24965
24966 fi
24967 done
24968
24969 fi
24970 fi
24971
24972
24973
24974
24975
24976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24977 $as_echo_n "checking for frexpl declaration... " >&6; }
24978 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24979 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24980 $as_echo_n "(cached) " >&6
24981 else
24982
24983
24984 ac_ext=cpp
24985 ac_cpp='$CXXCPP $CPPFLAGS'
24986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24989
24990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24991 /* end confdefs.h. */
24992 #include <math.h>
24993 int
24994 main ()
24995 {
24996 frexpl(0, 0);
24997 ;
24998 return 0;
24999 }
25000 _ACEOF
25001 if ac_fn_cxx_try_compile "$LINENO"; then :
25002 glibcxx_cv_func_frexpl_use=yes
25003 else
25004 glibcxx_cv_func_frexpl_use=no
25005 fi
25006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25007 ac_ext=c
25008 ac_cpp='$CPP $CPPFLAGS'
25009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25012
25013
25014 fi
25015
25016 fi
25017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25018 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25019
25020 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25021 for ac_func in frexpl
25022 do :
25023 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25024 if test "x$ac_cv_func_frexpl" = x""yes; then :
25025 cat >>confdefs.h <<_ACEOF
25026 #define HAVE_FREXPL 1
25027 _ACEOF
25028
25029 fi
25030 done
25031
25032 else
25033
25034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25035 $as_echo_n "checking for _frexpl declaration... " >&6; }
25036 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25037 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25038 $as_echo_n "(cached) " >&6
25039 else
25040
25041
25042 ac_ext=cpp
25043 ac_cpp='$CXXCPP $CPPFLAGS'
25044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25047
25048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25049 /* end confdefs.h. */
25050 #include <math.h>
25051 int
25052 main ()
25053 {
25054 _frexpl(0, 0);
25055 ;
25056 return 0;
25057 }
25058 _ACEOF
25059 if ac_fn_cxx_try_compile "$LINENO"; then :
25060 glibcxx_cv_func__frexpl_use=yes
25061 else
25062 glibcxx_cv_func__frexpl_use=no
25063 fi
25064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25065 ac_ext=c
25066 ac_cpp='$CPP $CPPFLAGS'
25067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25070
25071
25072 fi
25073
25074 fi
25075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25076 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25077
25078 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25079 for ac_func in _frexpl
25080 do :
25081 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25082 if test "x$ac_cv_func__frexpl" = x""yes; then :
25083 cat >>confdefs.h <<_ACEOF
25084 #define HAVE__FREXPL 1
25085 _ACEOF
25086
25087 fi
25088 done
25089
25090 fi
25091 fi
25092
25093
25094
25095
25096
25097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25098 $as_echo_n "checking for hypotl declaration... " >&6; }
25099 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25100 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25101 $as_echo_n "(cached) " >&6
25102 else
25103
25104
25105 ac_ext=cpp
25106 ac_cpp='$CXXCPP $CPPFLAGS'
25107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25110
25111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25112 /* end confdefs.h. */
25113 #include <math.h>
25114 int
25115 main ()
25116 {
25117 hypotl(0, 0);
25118 ;
25119 return 0;
25120 }
25121 _ACEOF
25122 if ac_fn_cxx_try_compile "$LINENO"; then :
25123 glibcxx_cv_func_hypotl_use=yes
25124 else
25125 glibcxx_cv_func_hypotl_use=no
25126 fi
25127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25128 ac_ext=c
25129 ac_cpp='$CPP $CPPFLAGS'
25130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25133
25134
25135 fi
25136
25137 fi
25138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25139 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25140
25141 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25142 for ac_func in hypotl
25143 do :
25144 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25145 if test "x$ac_cv_func_hypotl" = x""yes; then :
25146 cat >>confdefs.h <<_ACEOF
25147 #define HAVE_HYPOTL 1
25148 _ACEOF
25149
25150 fi
25151 done
25152
25153 else
25154
25155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25156 $as_echo_n "checking for _hypotl declaration... " >&6; }
25157 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25158 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25159 $as_echo_n "(cached) " >&6
25160 else
25161
25162
25163 ac_ext=cpp
25164 ac_cpp='$CXXCPP $CPPFLAGS'
25165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25168
25169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25170 /* end confdefs.h. */
25171 #include <math.h>
25172 int
25173 main ()
25174 {
25175 _hypotl(0, 0);
25176 ;
25177 return 0;
25178 }
25179 _ACEOF
25180 if ac_fn_cxx_try_compile "$LINENO"; then :
25181 glibcxx_cv_func__hypotl_use=yes
25182 else
25183 glibcxx_cv_func__hypotl_use=no
25184 fi
25185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25186 ac_ext=c
25187 ac_cpp='$CPP $CPPFLAGS'
25188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25191
25192
25193 fi
25194
25195 fi
25196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25197 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25198
25199 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25200 for ac_func in _hypotl
25201 do :
25202 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25203 if test "x$ac_cv_func__hypotl" = x""yes; then :
25204 cat >>confdefs.h <<_ACEOF
25205 #define HAVE__HYPOTL 1
25206 _ACEOF
25207
25208 fi
25209 done
25210
25211 fi
25212 fi
25213
25214
25215
25216
25217
25218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25219 $as_echo_n "checking for ldexpl declaration... " >&6; }
25220 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25221 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25222 $as_echo_n "(cached) " >&6
25223 else
25224
25225
25226 ac_ext=cpp
25227 ac_cpp='$CXXCPP $CPPFLAGS'
25228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25231
25232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25233 /* end confdefs.h. */
25234 #include <math.h>
25235 int
25236 main ()
25237 {
25238 ldexpl(0, 0);
25239 ;
25240 return 0;
25241 }
25242 _ACEOF
25243 if ac_fn_cxx_try_compile "$LINENO"; then :
25244 glibcxx_cv_func_ldexpl_use=yes
25245 else
25246 glibcxx_cv_func_ldexpl_use=no
25247 fi
25248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25249 ac_ext=c
25250 ac_cpp='$CPP $CPPFLAGS'
25251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25254
25255
25256 fi
25257
25258 fi
25259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25260 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25261
25262 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25263 for ac_func in ldexpl
25264 do :
25265 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25266 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25267 cat >>confdefs.h <<_ACEOF
25268 #define HAVE_LDEXPL 1
25269 _ACEOF
25270
25271 fi
25272 done
25273
25274 else
25275
25276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25277 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25278 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25279 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25280 $as_echo_n "(cached) " >&6
25281 else
25282
25283
25284 ac_ext=cpp
25285 ac_cpp='$CXXCPP $CPPFLAGS'
25286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25289
25290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25291 /* end confdefs.h. */
25292 #include <math.h>
25293 int
25294 main ()
25295 {
25296 _ldexpl(0, 0);
25297 ;
25298 return 0;
25299 }
25300 _ACEOF
25301 if ac_fn_cxx_try_compile "$LINENO"; then :
25302 glibcxx_cv_func__ldexpl_use=yes
25303 else
25304 glibcxx_cv_func__ldexpl_use=no
25305 fi
25306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25307 ac_ext=c
25308 ac_cpp='$CPP $CPPFLAGS'
25309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25312
25313
25314 fi
25315
25316 fi
25317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25318 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25319
25320 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25321 for ac_func in _ldexpl
25322 do :
25323 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25324 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25325 cat >>confdefs.h <<_ACEOF
25326 #define HAVE__LDEXPL 1
25327 _ACEOF
25328
25329 fi
25330 done
25331
25332 fi
25333 fi
25334
25335
25336
25337
25338
25339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25340 $as_echo_n "checking for logl declaration... " >&6; }
25341 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25342 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25343 $as_echo_n "(cached) " >&6
25344 else
25345
25346
25347 ac_ext=cpp
25348 ac_cpp='$CXXCPP $CPPFLAGS'
25349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25352
25353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25354 /* end confdefs.h. */
25355 #include <math.h>
25356 #ifdef HAVE_IEEEFP_H
25357 #include <ieeefp.h>
25358 #endif
25359
25360 int
25361 main ()
25362 {
25363 logl(0);
25364 ;
25365 return 0;
25366 }
25367 _ACEOF
25368 if ac_fn_cxx_try_compile "$LINENO"; then :
25369 glibcxx_cv_func_logl_use=yes
25370 else
25371 glibcxx_cv_func_logl_use=no
25372 fi
25373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25374 ac_ext=c
25375 ac_cpp='$CPP $CPPFLAGS'
25376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25379
25380
25381 fi
25382
25383 fi
25384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25385 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25386
25387 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25388 for ac_func in logl
25389 do :
25390 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25391 if test "x$ac_cv_func_logl" = x""yes; then :
25392 cat >>confdefs.h <<_ACEOF
25393 #define HAVE_LOGL 1
25394 _ACEOF
25395
25396 fi
25397 done
25398
25399 else
25400
25401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25402 $as_echo_n "checking for _logl declaration... " >&6; }
25403 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25404 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25405 $as_echo_n "(cached) " >&6
25406 else
25407
25408
25409 ac_ext=cpp
25410 ac_cpp='$CXXCPP $CPPFLAGS'
25411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25414
25415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25416 /* end confdefs.h. */
25417 #include <math.h>
25418 #ifdef HAVE_IEEEFP_H
25419 #include <ieeefp.h>
25420 #endif
25421
25422 int
25423 main ()
25424 {
25425 _logl(0);
25426 ;
25427 return 0;
25428 }
25429 _ACEOF
25430 if ac_fn_cxx_try_compile "$LINENO"; then :
25431 glibcxx_cv_func__logl_use=yes
25432 else
25433 glibcxx_cv_func__logl_use=no
25434 fi
25435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25436 ac_ext=c
25437 ac_cpp='$CPP $CPPFLAGS'
25438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25441
25442
25443 fi
25444
25445 fi
25446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25447 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25448
25449 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25450 for ac_func in _logl
25451 do :
25452 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25453 if test "x$ac_cv_func__logl" = x""yes; then :
25454 cat >>confdefs.h <<_ACEOF
25455 #define HAVE__LOGL 1
25456 _ACEOF
25457
25458 fi
25459 done
25460
25461 fi
25462 fi
25463
25464
25465
25466
25467
25468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25469 $as_echo_n "checking for log10l declaration... " >&6; }
25470 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25471 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25472 $as_echo_n "(cached) " >&6
25473 else
25474
25475
25476 ac_ext=cpp
25477 ac_cpp='$CXXCPP $CPPFLAGS'
25478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25481
25482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25483 /* end confdefs.h. */
25484 #include <math.h>
25485 #ifdef HAVE_IEEEFP_H
25486 #include <ieeefp.h>
25487 #endif
25488
25489 int
25490 main ()
25491 {
25492 log10l(0);
25493 ;
25494 return 0;
25495 }
25496 _ACEOF
25497 if ac_fn_cxx_try_compile "$LINENO"; then :
25498 glibcxx_cv_func_log10l_use=yes
25499 else
25500 glibcxx_cv_func_log10l_use=no
25501 fi
25502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25503 ac_ext=c
25504 ac_cpp='$CPP $CPPFLAGS'
25505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25508
25509
25510 fi
25511
25512 fi
25513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25514 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25515
25516 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25517 for ac_func in log10l
25518 do :
25519 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25520 if test "x$ac_cv_func_log10l" = x""yes; then :
25521 cat >>confdefs.h <<_ACEOF
25522 #define HAVE_LOG10L 1
25523 _ACEOF
25524
25525 fi
25526 done
25527
25528 else
25529
25530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25531 $as_echo_n "checking for _log10l declaration... " >&6; }
25532 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25533 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25534 $as_echo_n "(cached) " >&6
25535 else
25536
25537
25538 ac_ext=cpp
25539 ac_cpp='$CXXCPP $CPPFLAGS'
25540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25543
25544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25545 /* end confdefs.h. */
25546 #include <math.h>
25547 #ifdef HAVE_IEEEFP_H
25548 #include <ieeefp.h>
25549 #endif
25550
25551 int
25552 main ()
25553 {
25554 _log10l(0);
25555 ;
25556 return 0;
25557 }
25558 _ACEOF
25559 if ac_fn_cxx_try_compile "$LINENO"; then :
25560 glibcxx_cv_func__log10l_use=yes
25561 else
25562 glibcxx_cv_func__log10l_use=no
25563 fi
25564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25565 ac_ext=c
25566 ac_cpp='$CPP $CPPFLAGS'
25567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25570
25571
25572 fi
25573
25574 fi
25575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25576 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25577
25578 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25579 for ac_func in _log10l
25580 do :
25581 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25582 if test "x$ac_cv_func__log10l" = x""yes; then :
25583 cat >>confdefs.h <<_ACEOF
25584 #define HAVE__LOG10L 1
25585 _ACEOF
25586
25587 fi
25588 done
25589
25590 fi
25591 fi
25592
25593
25594
25595
25596
25597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25598 $as_echo_n "checking for modfl declaration... " >&6; }
25599 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25600 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25601 $as_echo_n "(cached) " >&6
25602 else
25603
25604
25605 ac_ext=cpp
25606 ac_cpp='$CXXCPP $CPPFLAGS'
25607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25610
25611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25612 /* end confdefs.h. */
25613 #include <math.h>
25614 int
25615 main ()
25616 {
25617 modfl(0, 0);
25618 ;
25619 return 0;
25620 }
25621 _ACEOF
25622 if ac_fn_cxx_try_compile "$LINENO"; then :
25623 glibcxx_cv_func_modfl_use=yes
25624 else
25625 glibcxx_cv_func_modfl_use=no
25626 fi
25627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25628 ac_ext=c
25629 ac_cpp='$CPP $CPPFLAGS'
25630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25633
25634
25635 fi
25636
25637 fi
25638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25639 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25640
25641 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25642 for ac_func in modfl
25643 do :
25644 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25645 if test "x$ac_cv_func_modfl" = x""yes; then :
25646 cat >>confdefs.h <<_ACEOF
25647 #define HAVE_MODFL 1
25648 _ACEOF
25649
25650 fi
25651 done
25652
25653 else
25654
25655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25656 $as_echo_n "checking for _modfl declaration... " >&6; }
25657 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25658 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25659 $as_echo_n "(cached) " >&6
25660 else
25661
25662
25663 ac_ext=cpp
25664 ac_cpp='$CXXCPP $CPPFLAGS'
25665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25668
25669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25670 /* end confdefs.h. */
25671 #include <math.h>
25672 int
25673 main ()
25674 {
25675 _modfl(0, 0);
25676 ;
25677 return 0;
25678 }
25679 _ACEOF
25680 if ac_fn_cxx_try_compile "$LINENO"; then :
25681 glibcxx_cv_func__modfl_use=yes
25682 else
25683 glibcxx_cv_func__modfl_use=no
25684 fi
25685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25686 ac_ext=c
25687 ac_cpp='$CPP $CPPFLAGS'
25688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25691
25692
25693 fi
25694
25695 fi
25696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25697 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25698
25699 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25700 for ac_func in _modfl
25701 do :
25702 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25703 if test "x$ac_cv_func__modfl" = x""yes; then :
25704 cat >>confdefs.h <<_ACEOF
25705 #define HAVE__MODFL 1
25706 _ACEOF
25707
25708 fi
25709 done
25710
25711 fi
25712 fi
25713
25714
25715
25716
25717
25718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25719 $as_echo_n "checking for powl declaration... " >&6; }
25720 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25721 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25722 $as_echo_n "(cached) " >&6
25723 else
25724
25725
25726 ac_ext=cpp
25727 ac_cpp='$CXXCPP $CPPFLAGS'
25728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25731
25732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25733 /* end confdefs.h. */
25734 #include <math.h>
25735 int
25736 main ()
25737 {
25738 powl(0, 0);
25739 ;
25740 return 0;
25741 }
25742 _ACEOF
25743 if ac_fn_cxx_try_compile "$LINENO"; then :
25744 glibcxx_cv_func_powl_use=yes
25745 else
25746 glibcxx_cv_func_powl_use=no
25747 fi
25748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25749 ac_ext=c
25750 ac_cpp='$CPP $CPPFLAGS'
25751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25754
25755
25756 fi
25757
25758 fi
25759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25760 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25761
25762 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25763 for ac_func in powl
25764 do :
25765 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25766 if test "x$ac_cv_func_powl" = x""yes; then :
25767 cat >>confdefs.h <<_ACEOF
25768 #define HAVE_POWL 1
25769 _ACEOF
25770
25771 fi
25772 done
25773
25774 else
25775
25776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25777 $as_echo_n "checking for _powl declaration... " >&6; }
25778 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25779 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25780 $as_echo_n "(cached) " >&6
25781 else
25782
25783
25784 ac_ext=cpp
25785 ac_cpp='$CXXCPP $CPPFLAGS'
25786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25789
25790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25791 /* end confdefs.h. */
25792 #include <math.h>
25793 int
25794 main ()
25795 {
25796 _powl(0, 0);
25797 ;
25798 return 0;
25799 }
25800 _ACEOF
25801 if ac_fn_cxx_try_compile "$LINENO"; then :
25802 glibcxx_cv_func__powl_use=yes
25803 else
25804 glibcxx_cv_func__powl_use=no
25805 fi
25806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25807 ac_ext=c
25808 ac_cpp='$CPP $CPPFLAGS'
25809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25812
25813
25814 fi
25815
25816 fi
25817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25818 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25819
25820 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25821 for ac_func in _powl
25822 do :
25823 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25824 if test "x$ac_cv_func__powl" = x""yes; then :
25825 cat >>confdefs.h <<_ACEOF
25826 #define HAVE__POWL 1
25827 _ACEOF
25828
25829 fi
25830 done
25831
25832 fi
25833 fi
25834
25835
25836
25837
25838
25839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25840 $as_echo_n "checking for sqrtl declaration... " >&6; }
25841 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25842 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25843 $as_echo_n "(cached) " >&6
25844 else
25845
25846
25847 ac_ext=cpp
25848 ac_cpp='$CXXCPP $CPPFLAGS'
25849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25852
25853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25854 /* end confdefs.h. */
25855 #include <math.h>
25856 #ifdef HAVE_IEEEFP_H
25857 #include <ieeefp.h>
25858 #endif
25859
25860 int
25861 main ()
25862 {
25863 sqrtl(0);
25864 ;
25865 return 0;
25866 }
25867 _ACEOF
25868 if ac_fn_cxx_try_compile "$LINENO"; then :
25869 glibcxx_cv_func_sqrtl_use=yes
25870 else
25871 glibcxx_cv_func_sqrtl_use=no
25872 fi
25873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25874 ac_ext=c
25875 ac_cpp='$CPP $CPPFLAGS'
25876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25879
25880
25881 fi
25882
25883 fi
25884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25885 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25886
25887 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25888 for ac_func in sqrtl
25889 do :
25890 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25891 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25892 cat >>confdefs.h <<_ACEOF
25893 #define HAVE_SQRTL 1
25894 _ACEOF
25895
25896 fi
25897 done
25898
25899 else
25900
25901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25902 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25903 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25904 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25905 $as_echo_n "(cached) " >&6
25906 else
25907
25908
25909 ac_ext=cpp
25910 ac_cpp='$CXXCPP $CPPFLAGS'
25911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25914
25915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25916 /* end confdefs.h. */
25917 #include <math.h>
25918 #ifdef HAVE_IEEEFP_H
25919 #include <ieeefp.h>
25920 #endif
25921
25922 int
25923 main ()
25924 {
25925 _sqrtl(0);
25926 ;
25927 return 0;
25928 }
25929 _ACEOF
25930 if ac_fn_cxx_try_compile "$LINENO"; then :
25931 glibcxx_cv_func__sqrtl_use=yes
25932 else
25933 glibcxx_cv_func__sqrtl_use=no
25934 fi
25935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25936 ac_ext=c
25937 ac_cpp='$CPP $CPPFLAGS'
25938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25941
25942
25943 fi
25944
25945 fi
25946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25947 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25948
25949 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25950 for ac_func in _sqrtl
25951 do :
25952 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25953 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25954 cat >>confdefs.h <<_ACEOF
25955 #define HAVE__SQRTL 1
25956 _ACEOF
25957
25958 fi
25959 done
25960
25961 fi
25962 fi
25963
25964
25965
25966
25967
25968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25969 $as_echo_n "checking for sincosl declaration... " >&6; }
25970 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25971 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25972 $as_echo_n "(cached) " >&6
25973 else
25974
25975
25976 ac_ext=cpp
25977 ac_cpp='$CXXCPP $CPPFLAGS'
25978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25981
25982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25983 /* end confdefs.h. */
25984 #include <math.h>
25985 int
25986 main ()
25987 {
25988 sincosl(0, 0, 0);
25989 ;
25990 return 0;
25991 }
25992 _ACEOF
25993 if ac_fn_cxx_try_compile "$LINENO"; then :
25994 glibcxx_cv_func_sincosl_use=yes
25995 else
25996 glibcxx_cv_func_sincosl_use=no
25997 fi
25998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25999 ac_ext=c
26000 ac_cpp='$CPP $CPPFLAGS'
26001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26004
26005
26006 fi
26007
26008 fi
26009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26010 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26011
26012 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26013 for ac_func in sincosl
26014 do :
26015 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26016 if test "x$ac_cv_func_sincosl" = x""yes; then :
26017 cat >>confdefs.h <<_ACEOF
26018 #define HAVE_SINCOSL 1
26019 _ACEOF
26020
26021 fi
26022 done
26023
26024 else
26025
26026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26027 $as_echo_n "checking for _sincosl declaration... " >&6; }
26028 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26029 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26030 $as_echo_n "(cached) " >&6
26031 else
26032
26033
26034 ac_ext=cpp
26035 ac_cpp='$CXXCPP $CPPFLAGS'
26036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26039
26040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26041 /* end confdefs.h. */
26042 #include <math.h>
26043 int
26044 main ()
26045 {
26046 _sincosl(0, 0, 0);
26047 ;
26048 return 0;
26049 }
26050 _ACEOF
26051 if ac_fn_cxx_try_compile "$LINENO"; then :
26052 glibcxx_cv_func__sincosl_use=yes
26053 else
26054 glibcxx_cv_func__sincosl_use=no
26055 fi
26056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26057 ac_ext=c
26058 ac_cpp='$CPP $CPPFLAGS'
26059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26062
26063
26064 fi
26065
26066 fi
26067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26068 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26069
26070 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26071 for ac_func in _sincosl
26072 do :
26073 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26074 if test "x$ac_cv_func__sincosl" = x""yes; then :
26075 cat >>confdefs.h <<_ACEOF
26076 #define HAVE__SINCOSL 1
26077 _ACEOF
26078
26079 fi
26080 done
26081
26082 fi
26083 fi
26084
26085
26086
26087
26088
26089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26090 $as_echo_n "checking for finitel declaration... " >&6; }
26091 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26092 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26093 $as_echo_n "(cached) " >&6
26094 else
26095
26096
26097 ac_ext=cpp
26098 ac_cpp='$CXXCPP $CPPFLAGS'
26099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26102
26103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26104 /* end confdefs.h. */
26105 #include <math.h>
26106 #ifdef HAVE_IEEEFP_H
26107 #include <ieeefp.h>
26108 #endif
26109
26110 int
26111 main ()
26112 {
26113 finitel(0);
26114 ;
26115 return 0;
26116 }
26117 _ACEOF
26118 if ac_fn_cxx_try_compile "$LINENO"; then :
26119 glibcxx_cv_func_finitel_use=yes
26120 else
26121 glibcxx_cv_func_finitel_use=no
26122 fi
26123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26124 ac_ext=c
26125 ac_cpp='$CPP $CPPFLAGS'
26126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26129
26130
26131 fi
26132
26133 fi
26134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26135 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26136
26137 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26138 for ac_func in finitel
26139 do :
26140 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26141 if test "x$ac_cv_func_finitel" = x""yes; then :
26142 cat >>confdefs.h <<_ACEOF
26143 #define HAVE_FINITEL 1
26144 _ACEOF
26145
26146 fi
26147 done
26148
26149 else
26150
26151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26152 $as_echo_n "checking for _finitel declaration... " >&6; }
26153 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26154 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26155 $as_echo_n "(cached) " >&6
26156 else
26157
26158
26159 ac_ext=cpp
26160 ac_cpp='$CXXCPP $CPPFLAGS'
26161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26164
26165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26166 /* end confdefs.h. */
26167 #include <math.h>
26168 #ifdef HAVE_IEEEFP_H
26169 #include <ieeefp.h>
26170 #endif
26171
26172 int
26173 main ()
26174 {
26175 _finitel(0);
26176 ;
26177 return 0;
26178 }
26179 _ACEOF
26180 if ac_fn_cxx_try_compile "$LINENO"; then :
26181 glibcxx_cv_func__finitel_use=yes
26182 else
26183 glibcxx_cv_func__finitel_use=no
26184 fi
26185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26186 ac_ext=c
26187 ac_cpp='$CPP $CPPFLAGS'
26188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26191
26192
26193 fi
26194
26195 fi
26196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26197 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26198
26199 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26200 for ac_func in _finitel
26201 do :
26202 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26203 if test "x$ac_cv_func__finitel" = x""yes; then :
26204 cat >>confdefs.h <<_ACEOF
26205 #define HAVE__FINITEL 1
26206 _ACEOF
26207
26208 fi
26209 done
26210
26211 fi
26212 fi
26213
26214
26215
26216
26217 LIBS="$ac_save_LIBS"
26218 CXXFLAGS="$ac_save_CXXFLAGS"
26219
26220
26221 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26222 ac_save_CXXFLAGS="$CXXFLAGS"
26223 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26224
26225
26226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26227 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26228 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26229 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26230 $as_echo_n "(cached) " >&6
26231 else
26232
26233
26234 ac_ext=cpp
26235 ac_cpp='$CXXCPP $CPPFLAGS'
26236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26239
26240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26241 /* end confdefs.h. */
26242 #include <stdlib.h>
26243 int
26244 main ()
26245 {
26246 at_quick_exit(0);
26247 ;
26248 return 0;
26249 }
26250 _ACEOF
26251 if ac_fn_cxx_try_compile "$LINENO"; then :
26252 glibcxx_cv_func_at_quick_exit_use=yes
26253 else
26254 glibcxx_cv_func_at_quick_exit_use=no
26255 fi
26256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26257 ac_ext=c
26258 ac_cpp='$CPP $CPPFLAGS'
26259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26262
26263
26264 fi
26265
26266 fi
26267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26268 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26269 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26270 for ac_func in at_quick_exit
26271 do :
26272 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26273 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26274 cat >>confdefs.h <<_ACEOF
26275 #define HAVE_AT_QUICK_EXIT 1
26276 _ACEOF
26277
26278 fi
26279 done
26280
26281 fi
26282
26283
26284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26285 $as_echo_n "checking for quick_exit declaration... " >&6; }
26286 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26287 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26288 $as_echo_n "(cached) " >&6
26289 else
26290
26291
26292 ac_ext=cpp
26293 ac_cpp='$CXXCPP $CPPFLAGS'
26294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26297
26298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26299 /* end confdefs.h. */
26300 #include <stdlib.h>
26301 int
26302 main ()
26303 {
26304 quick_exit(0);
26305 ;
26306 return 0;
26307 }
26308 _ACEOF
26309 if ac_fn_cxx_try_compile "$LINENO"; then :
26310 glibcxx_cv_func_quick_exit_use=yes
26311 else
26312 glibcxx_cv_func_quick_exit_use=no
26313 fi
26314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26315 ac_ext=c
26316 ac_cpp='$CPP $CPPFLAGS'
26317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26320
26321
26322 fi
26323
26324 fi
26325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26326 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26327 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26328 for ac_func in quick_exit
26329 do :
26330 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26331 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26332 cat >>confdefs.h <<_ACEOF
26333 #define HAVE_QUICK_EXIT 1
26334 _ACEOF
26335
26336 fi
26337 done
26338
26339 fi
26340
26341
26342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26343 $as_echo_n "checking for strtold declaration... " >&6; }
26344 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26345 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26346 $as_echo_n "(cached) " >&6
26347 else
26348
26349
26350 ac_ext=cpp
26351 ac_cpp='$CXXCPP $CPPFLAGS'
26352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26355
26356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26357 /* end confdefs.h. */
26358 #include <stdlib.h>
26359 int
26360 main ()
26361 {
26362 strtold(0, 0);
26363 ;
26364 return 0;
26365 }
26366 _ACEOF
26367 if ac_fn_cxx_try_compile "$LINENO"; then :
26368 glibcxx_cv_func_strtold_use=yes
26369 else
26370 glibcxx_cv_func_strtold_use=no
26371 fi
26372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26373 ac_ext=c
26374 ac_cpp='$CPP $CPPFLAGS'
26375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26378
26379
26380 fi
26381
26382 fi
26383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26384 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26385 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26386 for ac_func in strtold
26387 do :
26388 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26389 if test "x$ac_cv_func_strtold" = x""yes; then :
26390 cat >>confdefs.h <<_ACEOF
26391 #define HAVE_STRTOLD 1
26392 _ACEOF
26393
26394 fi
26395 done
26396
26397 fi
26398
26399
26400
26401
26402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26403 $as_echo_n "checking for strtof declaration... " >&6; }
26404 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26405 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26406 $as_echo_n "(cached) " >&6
26407 else
26408
26409
26410 ac_ext=cpp
26411 ac_cpp='$CXXCPP $CPPFLAGS'
26412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26415
26416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26417 /* end confdefs.h. */
26418 #include <stdlib.h>
26419 int
26420 main ()
26421 {
26422 strtof(0, 0);
26423 ;
26424 return 0;
26425 }
26426 _ACEOF
26427 if ac_fn_cxx_try_compile "$LINENO"; then :
26428 glibcxx_cv_func_strtof_use=yes
26429 else
26430 glibcxx_cv_func_strtof_use=no
26431 fi
26432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26433 ac_ext=c
26434 ac_cpp='$CPP $CPPFLAGS'
26435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26438
26439
26440 fi
26441
26442 fi
26443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26444 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26445 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26446 for ac_func in strtof
26447 do :
26448 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26449 if test "x$ac_cv_func_strtof" = x""yes; then :
26450 cat >>confdefs.h <<_ACEOF
26451 #define HAVE_STRTOF 1
26452 _ACEOF
26453
26454 fi
26455 done
26456
26457 fi
26458
26459
26460
26461
26462 CXXFLAGS="$ac_save_CXXFLAGS"
26463
26464
26465 # For /dev/random and /dev/urandom for TR1.
26466
26467
26468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26469 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26470 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26471 $as_echo_n "(cached) " >&6
26472 else
26473
26474 if test -r /dev/random && test -r /dev/urandom; then
26475 ## For MSys environment the test above is detect as false-positive
26476 ## on mingw-targets. So disable it explicit for them.
26477 case ${target_os} in
26478 *mingw*) glibcxx_cv_random_tr1=no ;;
26479 *) glibcxx_cv_random_tr1=yes ;;
26480 esac
26481 else
26482 glibcxx_cv_random_tr1=no;
26483 fi
26484
26485 fi
26486
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26488 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26489
26490 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26491
26492 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26493
26494 fi
26495
26496
26497
26498 # For TLS support.
26499
26500
26501 # Check whether --enable-tls was given.
26502 if test "${enable_tls+set}" = set; then :
26503 enableval=$enable_tls;
26504 case "$enableval" in
26505 yes|no) ;;
26506 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26507 esac
26508
26509 else
26510 enable_tls=yes
26511 fi
26512
26513
26514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26515 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26516 if test "${gcc_cv_have_tls+set}" = set; then :
26517 $as_echo_n "(cached) " >&6
26518 else
26519
26520 if test "$cross_compiling" = yes; then :
26521 if test x$gcc_no_link = xyes; then
26522 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26523 fi
26524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26525 /* end confdefs.h. */
26526 __thread int a; int b; int main() { return a = b; }
26527 _ACEOF
26528 if ac_fn_c_try_link "$LINENO"; then :
26529 chktls_save_LDFLAGS="$LDFLAGS"
26530 case $host in
26531 *-*-linux*)
26532 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26533 ;;
26534 esac
26535 chktls_save_CFLAGS="$CFLAGS"
26536 CFLAGS="-fPIC $CFLAGS"
26537 if test x$gcc_no_link = xyes; then
26538 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26539 fi
26540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26541 /* end confdefs.h. */
26542 int f() { return 0; }
26543 _ACEOF
26544 if ac_fn_c_try_link "$LINENO"; then :
26545 if test x$gcc_no_link = xyes; then
26546 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26547 fi
26548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26549 /* end confdefs.h. */
26550 __thread int a; int b; int f() { return a = b; }
26551 _ACEOF
26552 if ac_fn_c_try_link "$LINENO"; then :
26553 gcc_cv_have_tls=yes
26554 else
26555 gcc_cv_have_tls=no
26556 fi
26557 rm -f core conftest.err conftest.$ac_objext \
26558 conftest$ac_exeext conftest.$ac_ext
26559 else
26560 gcc_cv_have_tls=yes
26561 fi
26562 rm -f core conftest.err conftest.$ac_objext \
26563 conftest$ac_exeext conftest.$ac_ext
26564 CFLAGS="$chktls_save_CFLAGS"
26565 LDFLAGS="$chktls_save_LDFLAGS"
26566 else
26567 gcc_cv_have_tls=no
26568 fi
26569 rm -f core conftest.err conftest.$ac_objext \
26570 conftest$ac_exeext conftest.$ac_ext
26571
26572
26573 else
26574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26575 /* end confdefs.h. */
26576 __thread int a; int b; int main() { return a = b; }
26577 _ACEOF
26578 if ac_fn_c_try_run "$LINENO"; then :
26579 chktls_save_LDFLAGS="$LDFLAGS"
26580 LDFLAGS="-static $LDFLAGS"
26581 if test x$gcc_no_link = xyes; then
26582 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26583 fi
26584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26585 /* end confdefs.h. */
26586 int main() { return 0; }
26587 _ACEOF
26588 if ac_fn_c_try_link "$LINENO"; then :
26589 if test "$cross_compiling" = yes; then :
26590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26592 as_fn_error "cannot run test program while cross compiling
26593 See \`config.log' for more details." "$LINENO" 5; }
26594 else
26595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26596 /* end confdefs.h. */
26597 __thread int a; int b; int main() { return a = b; }
26598 _ACEOF
26599 if ac_fn_c_try_run "$LINENO"; then :
26600 gcc_cv_have_tls=yes
26601 else
26602 gcc_cv_have_tls=no
26603 fi
26604 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26605 conftest.$ac_objext conftest.beam conftest.$ac_ext
26606 fi
26607
26608 else
26609 gcc_cv_have_tls=yes
26610 fi
26611 rm -f core conftest.err conftest.$ac_objext \
26612 conftest$ac_exeext conftest.$ac_ext
26613 LDFLAGS="$chktls_save_LDFLAGS"
26614 if test $gcc_cv_have_tls = yes; then
26615 chktls_save_CFLAGS="$CFLAGS"
26616 thread_CFLAGS=failed
26617 for flag in '' '-pthread' '-lpthread'; do
26618 CFLAGS="$flag $chktls_save_CFLAGS"
26619 if test x$gcc_no_link = xyes; then
26620 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26621 fi
26622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26623 /* end confdefs.h. */
26624 #include <pthread.h>
26625 void *g(void *d) { return NULL; }
26626 int
26627 main ()
26628 {
26629 pthread_t t; pthread_create(&t,NULL,g,NULL);
26630 ;
26631 return 0;
26632 }
26633 _ACEOF
26634 if ac_fn_c_try_link "$LINENO"; then :
26635 thread_CFLAGS="$flag"
26636 fi
26637 rm -f core conftest.err conftest.$ac_objext \
26638 conftest$ac_exeext conftest.$ac_ext
26639 if test "X$thread_CFLAGS" != Xfailed; then
26640 break
26641 fi
26642 done
26643 CFLAGS="$chktls_save_CFLAGS"
26644 if test "X$thread_CFLAGS" != Xfailed; then
26645 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26646 if test "$cross_compiling" = yes; then :
26647 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26649 as_fn_error "cannot run test program while cross compiling
26650 See \`config.log' for more details." "$LINENO" 5; }
26651 else
26652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26653 /* end confdefs.h. */
26654 #include <pthread.h>
26655 __thread int a;
26656 static int *volatile a_in_other_thread;
26657 static void *
26658 thread_func (void *arg)
26659 {
26660 a_in_other_thread = &a;
26661 return (void *)0;
26662 }
26663 int
26664 main ()
26665 {
26666 pthread_t thread;
26667 void *thread_retval;
26668 int *volatile a_in_main_thread;
26669 a_in_main_thread = &a;
26670 if (pthread_create (&thread, (pthread_attr_t *)0,
26671 thread_func, (void *)0))
26672 return 0;
26673 if (pthread_join (thread, &thread_retval))
26674 return 0;
26675 return (a_in_other_thread == a_in_main_thread);
26676 ;
26677 return 0;
26678 }
26679 _ACEOF
26680 if ac_fn_c_try_run "$LINENO"; then :
26681 gcc_cv_have_tls=yes
26682 else
26683 gcc_cv_have_tls=no
26684 fi
26685 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26686 conftest.$ac_objext conftest.beam conftest.$ac_ext
26687 fi
26688
26689 CFLAGS="$chktls_save_CFLAGS"
26690 fi
26691 fi
26692 else
26693 gcc_cv_have_tls=no
26694 fi
26695 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26696 conftest.$ac_objext conftest.beam conftest.$ac_ext
26697 fi
26698
26699 fi
26700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26701 $as_echo "$gcc_cv_have_tls" >&6; }
26702 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26703
26704 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26705
26706 fi
26707
26708 for ac_func in __cxa_thread_atexit_impl
26709 do :
26710 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
26711 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
26712 cat >>confdefs.h <<_ACEOF
26713 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
26714 _ACEOF
26715
26716 fi
26717 done
26718
26719
26720 # For iconv support.
26721
26722 if test "X$prefix" = "XNONE"; then
26723 acl_final_prefix="$ac_default_prefix"
26724 else
26725 acl_final_prefix="$prefix"
26726 fi
26727 if test "X$exec_prefix" = "XNONE"; then
26728 acl_final_exec_prefix='${prefix}'
26729 else
26730 acl_final_exec_prefix="$exec_prefix"
26731 fi
26732 acl_save_prefix="$prefix"
26733 prefix="$acl_final_prefix"
26734 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26735 prefix="$acl_save_prefix"
26736
26737
26738 # Check whether --with-gnu-ld was given.
26739 if test "${with_gnu_ld+set}" = set; then :
26740 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26741 else
26742 with_gnu_ld=no
26743 fi
26744
26745 # Prepare PATH_SEPARATOR.
26746 # The user is always right.
26747 if test "${PATH_SEPARATOR+set}" != set; then
26748 echo "#! /bin/sh" >conf$$.sh
26749 echo "exit 0" >>conf$$.sh
26750 chmod +x conf$$.sh
26751 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26752 PATH_SEPARATOR=';'
26753 else
26754 PATH_SEPARATOR=:
26755 fi
26756 rm -f conf$$.sh
26757 fi
26758 ac_prog=ld
26759 if test "$GCC" = yes; then
26760 # Check if gcc -print-prog-name=ld gives a path.
26761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26762 $as_echo_n "checking for ld used by GCC... " >&6; }
26763 case $host in
26764 *-*-mingw*)
26765 # gcc leaves a trailing carriage return which upsets mingw
26766 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26767 *)
26768 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26769 esac
26770 case $ac_prog in
26771 # Accept absolute paths.
26772 [\\/]* | [A-Za-z]:[\\/]*)
26773 re_direlt='/[^/][^/]*/\.\./'
26774 # Canonicalize the path of ld
26775 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26776 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26777 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26778 done
26779 test -z "$LD" && LD="$ac_prog"
26780 ;;
26781 "")
26782 # If it fails, then pretend we aren't using GCC.
26783 ac_prog=ld
26784 ;;
26785 *)
26786 # If it is relative, then search for the first ld in PATH.
26787 with_gnu_ld=unknown
26788 ;;
26789 esac
26790 elif test "$with_gnu_ld" = yes; then
26791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26792 $as_echo_n "checking for GNU ld... " >&6; }
26793 else
26794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26795 $as_echo_n "checking for non-GNU ld... " >&6; }
26796 fi
26797 if test "${acl_cv_path_LD+set}" = set; then :
26798 $as_echo_n "(cached) " >&6
26799 else
26800 if test -z "$LD"; then
26801 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26802 for ac_dir in $PATH; do
26803 test -z "$ac_dir" && ac_dir=.
26804 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26805 acl_cv_path_LD="$ac_dir/$ac_prog"
26806 # Check to see if the program is GNU ld. I'd rather use --version,
26807 # but apparently some GNU ld's only accept -v.
26808 # Break only if it was the GNU/non-GNU ld that we prefer.
26809 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26810 test "$with_gnu_ld" != no && break
26811 else
26812 test "$with_gnu_ld" != yes && break
26813 fi
26814 fi
26815 done
26816 IFS="$ac_save_ifs"
26817 else
26818 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26819 fi
26820 fi
26821
26822 LD="$acl_cv_path_LD"
26823 if test -n "$LD"; then
26824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26825 $as_echo "$LD" >&6; }
26826 else
26827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26828 $as_echo "no" >&6; }
26829 fi
26830 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26832 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26833 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26834 $as_echo_n "(cached) " >&6
26835 else
26836 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26837 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26838 acl_cv_prog_gnu_ld=yes
26839 else
26840 acl_cv_prog_gnu_ld=no
26841 fi
26842 fi
26843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26844 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26845 with_gnu_ld=$acl_cv_prog_gnu_ld
26846
26847
26848
26849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26850 $as_echo_n "checking for shared library run path origin... " >&6; }
26851 if test "${acl_cv_rpath+set}" = set; then :
26852 $as_echo_n "(cached) " >&6
26853 else
26854
26855 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26856 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26857 . ./conftest.sh
26858 rm -f ./conftest.sh
26859 acl_cv_rpath=done
26860
26861 fi
26862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26863 $as_echo "$acl_cv_rpath" >&6; }
26864 wl="$acl_cv_wl"
26865 libext="$acl_cv_libext"
26866 shlibext="$acl_cv_shlibext"
26867 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26868 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26869 hardcode_direct="$acl_cv_hardcode_direct"
26870 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26871 # Check whether --enable-rpath was given.
26872 if test "${enable_rpath+set}" = set; then :
26873 enableval=$enable_rpath; :
26874 else
26875 enable_rpath=yes
26876 fi
26877
26878
26879
26880
26881
26882
26883
26884
26885 use_additional=yes
26886
26887 acl_save_prefix="$prefix"
26888 prefix="$acl_final_prefix"
26889 acl_save_exec_prefix="$exec_prefix"
26890 exec_prefix="$acl_final_exec_prefix"
26891
26892 eval additional_includedir=\"$includedir\"
26893 eval additional_libdir=\"$libdir\"
26894
26895 exec_prefix="$acl_save_exec_prefix"
26896 prefix="$acl_save_prefix"
26897
26898
26899 # Check whether --with-libiconv-prefix was given.
26900 if test "${with_libiconv_prefix+set}" = set; then :
26901 withval=$with_libiconv_prefix;
26902 if test "X$withval" = "Xno"; then
26903 use_additional=no
26904 else
26905 if test "X$withval" = "X"; then
26906
26907 acl_save_prefix="$prefix"
26908 prefix="$acl_final_prefix"
26909 acl_save_exec_prefix="$exec_prefix"
26910 exec_prefix="$acl_final_exec_prefix"
26911
26912 eval additional_includedir=\"$includedir\"
26913 eval additional_libdir=\"$libdir\"
26914
26915 exec_prefix="$acl_save_exec_prefix"
26916 prefix="$acl_save_prefix"
26917
26918 else
26919 additional_includedir="$withval/include"
26920 additional_libdir="$withval/lib"
26921 fi
26922 fi
26923
26924 fi
26925
26926 LIBICONV=
26927 LTLIBICONV=
26928 INCICONV=
26929 rpathdirs=
26930 ltrpathdirs=
26931 names_already_handled=
26932 names_next_round='iconv '
26933 while test -n "$names_next_round"; do
26934 names_this_round="$names_next_round"
26935 names_next_round=
26936 for name in $names_this_round; do
26937 already_handled=
26938 for n in $names_already_handled; do
26939 if test "$n" = "$name"; then
26940 already_handled=yes
26941 break
26942 fi
26943 done
26944 if test -z "$already_handled"; then
26945 names_already_handled="$names_already_handled $name"
26946 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26947 eval value=\"\$HAVE_LIB$uppername\"
26948 if test -n "$value"; then
26949 if test "$value" = yes; then
26950 eval value=\"\$LIB$uppername\"
26951 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26952 eval value=\"\$LTLIB$uppername\"
26953 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26954 else
26955 :
26956 fi
26957 else
26958 found_dir=
26959 found_la=
26960 found_so=
26961 found_a=
26962 if test $use_additional = yes; then
26963 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26964 found_dir="$additional_libdir"
26965 found_so="$additional_libdir/lib$name.$shlibext"
26966 if test -f "$additional_libdir/lib$name.la"; then
26967 found_la="$additional_libdir/lib$name.la"
26968 fi
26969 else
26970 if test -f "$additional_libdir/lib$name.$libext"; then
26971 found_dir="$additional_libdir"
26972 found_a="$additional_libdir/lib$name.$libext"
26973 if test -f "$additional_libdir/lib$name.la"; then
26974 found_la="$additional_libdir/lib$name.la"
26975 fi
26976 fi
26977 fi
26978 fi
26979 if test "X$found_dir" = "X"; then
26980 for x in $LDFLAGS $LTLIBICONV; do
26981
26982 acl_save_prefix="$prefix"
26983 prefix="$acl_final_prefix"
26984 acl_save_exec_prefix="$exec_prefix"
26985 exec_prefix="$acl_final_exec_prefix"
26986 eval x=\"$x\"
26987 exec_prefix="$acl_save_exec_prefix"
26988 prefix="$acl_save_prefix"
26989
26990 case "$x" in
26991 -L*)
26992 dir=`echo "X$x" | sed -e 's/^X-L//'`
26993 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26994 found_dir="$dir"
26995 found_so="$dir/lib$name.$shlibext"
26996 if test -f "$dir/lib$name.la"; then
26997 found_la="$dir/lib$name.la"
26998 fi
26999 else
27000 if test -f "$dir/lib$name.$libext"; then
27001 found_dir="$dir"
27002 found_a="$dir/lib$name.$libext"
27003 if test -f "$dir/lib$name.la"; then
27004 found_la="$dir/lib$name.la"
27005 fi
27006 fi
27007 fi
27008 ;;
27009 esac
27010 if test "X$found_dir" != "X"; then
27011 break
27012 fi
27013 done
27014 fi
27015 if test "X$found_dir" != "X"; then
27016 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27017 if test "X$found_so" != "X"; then
27018 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27019 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27020 else
27021 haveit=
27022 for x in $ltrpathdirs; do
27023 if test "X$x" = "X$found_dir"; then
27024 haveit=yes
27025 break
27026 fi
27027 done
27028 if test -z "$haveit"; then
27029 ltrpathdirs="$ltrpathdirs $found_dir"
27030 fi
27031 if test "$hardcode_direct" = yes; then
27032 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27033 else
27034 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27035 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27036 haveit=
27037 for x in $rpathdirs; do
27038 if test "X$x" = "X$found_dir"; then
27039 haveit=yes
27040 break
27041 fi
27042 done
27043 if test -z "$haveit"; then
27044 rpathdirs="$rpathdirs $found_dir"
27045 fi
27046 else
27047 haveit=
27048 for x in $LDFLAGS $LIBICONV; do
27049
27050 acl_save_prefix="$prefix"
27051 prefix="$acl_final_prefix"
27052 acl_save_exec_prefix="$exec_prefix"
27053 exec_prefix="$acl_final_exec_prefix"
27054 eval x=\"$x\"
27055 exec_prefix="$acl_save_exec_prefix"
27056 prefix="$acl_save_prefix"
27057
27058 if test "X$x" = "X-L$found_dir"; then
27059 haveit=yes
27060 break
27061 fi
27062 done
27063 if test -z "$haveit"; then
27064 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27065 fi
27066 if test "$hardcode_minus_L" != no; then
27067 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27068 else
27069 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27070 fi
27071 fi
27072 fi
27073 fi
27074 else
27075 if test "X$found_a" != "X"; then
27076 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27077 else
27078 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27079 fi
27080 fi
27081 additional_includedir=
27082 case "$found_dir" in
27083 */lib | */lib/)
27084 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27085 additional_includedir="$basedir/include"
27086 ;;
27087 esac
27088 if test "X$additional_includedir" != "X"; then
27089 if test "X$additional_includedir" != "X/usr/include"; then
27090 haveit=
27091 if test "X$additional_includedir" = "X/usr/local/include"; then
27092 if test -n "$GCC"; then
27093 case $host_os in
27094 linux*) haveit=yes;;
27095 esac
27096 fi
27097 fi
27098 if test -z "$haveit"; then
27099 for x in $CPPFLAGS $INCICONV; do
27100
27101 acl_save_prefix="$prefix"
27102 prefix="$acl_final_prefix"
27103 acl_save_exec_prefix="$exec_prefix"
27104 exec_prefix="$acl_final_exec_prefix"
27105 eval x=\"$x\"
27106 exec_prefix="$acl_save_exec_prefix"
27107 prefix="$acl_save_prefix"
27108
27109 if test "X$x" = "X-I$additional_includedir"; then
27110 haveit=yes
27111 break
27112 fi
27113 done
27114 if test -z "$haveit"; then
27115 if test -d "$additional_includedir"; then
27116 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27117 fi
27118 fi
27119 fi
27120 fi
27121 fi
27122 if test -n "$found_la"; then
27123 save_libdir="$libdir"
27124 case "$found_la" in
27125 */* | *\\*) . "$found_la" ;;
27126 *) . "./$found_la" ;;
27127 esac
27128 libdir="$save_libdir"
27129 for dep in $dependency_libs; do
27130 case "$dep" in
27131 -L*)
27132 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27133 if test "X$additional_libdir" != "X/usr/lib"; then
27134 haveit=
27135 if test "X$additional_libdir" = "X/usr/local/lib"; then
27136 if test -n "$GCC"; then
27137 case $host_os in
27138 linux*) haveit=yes;;
27139 esac
27140 fi
27141 fi
27142 if test -z "$haveit"; then
27143 haveit=
27144 for x in $LDFLAGS $LIBICONV; do
27145
27146 acl_save_prefix="$prefix"
27147 prefix="$acl_final_prefix"
27148 acl_save_exec_prefix="$exec_prefix"
27149 exec_prefix="$acl_final_exec_prefix"
27150 eval x=\"$x\"
27151 exec_prefix="$acl_save_exec_prefix"
27152 prefix="$acl_save_prefix"
27153
27154 if test "X$x" = "X-L$additional_libdir"; then
27155 haveit=yes
27156 break
27157 fi
27158 done
27159 if test -z "$haveit"; then
27160 if test -d "$additional_libdir"; then
27161 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27162 fi
27163 fi
27164 haveit=
27165 for x in $LDFLAGS $LTLIBICONV; do
27166
27167 acl_save_prefix="$prefix"
27168 prefix="$acl_final_prefix"
27169 acl_save_exec_prefix="$exec_prefix"
27170 exec_prefix="$acl_final_exec_prefix"
27171 eval x=\"$x\"
27172 exec_prefix="$acl_save_exec_prefix"
27173 prefix="$acl_save_prefix"
27174
27175 if test "X$x" = "X-L$additional_libdir"; then
27176 haveit=yes
27177 break
27178 fi
27179 done
27180 if test -z "$haveit"; then
27181 if test -d "$additional_libdir"; then
27182 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27183 fi
27184 fi
27185 fi
27186 fi
27187 ;;
27188 -R*)
27189 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27190 if test "$enable_rpath" != no; then
27191 haveit=
27192 for x in $rpathdirs; do
27193 if test "X$x" = "X$dir"; then
27194 haveit=yes
27195 break
27196 fi
27197 done
27198 if test -z "$haveit"; then
27199 rpathdirs="$rpathdirs $dir"
27200 fi
27201 haveit=
27202 for x in $ltrpathdirs; do
27203 if test "X$x" = "X$dir"; then
27204 haveit=yes
27205 break
27206 fi
27207 done
27208 if test -z "$haveit"; then
27209 ltrpathdirs="$ltrpathdirs $dir"
27210 fi
27211 fi
27212 ;;
27213 -l*)
27214 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27215 ;;
27216 *.la)
27217 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27218 ;;
27219 *)
27220 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27221 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27222 ;;
27223 esac
27224 done
27225 fi
27226 else
27227 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27228 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27229 fi
27230 fi
27231 fi
27232 done
27233 done
27234 if test "X$rpathdirs" != "X"; then
27235 if test -n "$hardcode_libdir_separator"; then
27236 alldirs=
27237 for found_dir in $rpathdirs; do
27238 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27239 done
27240 acl_save_libdir="$libdir"
27241 libdir="$alldirs"
27242 eval flag=\"$hardcode_libdir_flag_spec\"
27243 libdir="$acl_save_libdir"
27244 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27245 else
27246 for found_dir in $rpathdirs; do
27247 acl_save_libdir="$libdir"
27248 libdir="$found_dir"
27249 eval flag=\"$hardcode_libdir_flag_spec\"
27250 libdir="$acl_save_libdir"
27251 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27252 done
27253 fi
27254 fi
27255 if test "X$ltrpathdirs" != "X"; then
27256 for found_dir in $ltrpathdirs; do
27257 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27258 done
27259 fi
27260
27261
27262
27263
27264
27265
27266
27267 am_save_CPPFLAGS="$CPPFLAGS"
27268
27269 for element in $INCICONV; do
27270 haveit=
27271 for x in $CPPFLAGS; do
27272
27273 acl_save_prefix="$prefix"
27274 prefix="$acl_final_prefix"
27275 acl_save_exec_prefix="$exec_prefix"
27276 exec_prefix="$acl_final_exec_prefix"
27277 eval x=\"$x\"
27278 exec_prefix="$acl_save_exec_prefix"
27279 prefix="$acl_save_prefix"
27280
27281 if test "X$x" = "X$element"; then
27282 haveit=yes
27283 break
27284 fi
27285 done
27286 if test -z "$haveit"; then
27287 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27288 fi
27289 done
27290
27291
27292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27293 $as_echo_n "checking for iconv... " >&6; }
27294 if test "${am_cv_func_iconv+set}" = set; then :
27295 $as_echo_n "(cached) " >&6
27296 else
27297
27298 am_cv_func_iconv="no, consider installing GNU libiconv"
27299 am_cv_lib_iconv=no
27300 if test x$gcc_no_link = xyes; then
27301 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27302 fi
27303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27304 /* end confdefs.h. */
27305 #include <stdlib.h>
27306 #include <iconv.h>
27307 int
27308 main ()
27309 {
27310 iconv_t cd = iconv_open("","");
27311 iconv(cd,NULL,NULL,NULL,NULL);
27312 iconv_close(cd);
27313 ;
27314 return 0;
27315 }
27316 _ACEOF
27317 if ac_fn_c_try_link "$LINENO"; then :
27318 am_cv_func_iconv=yes
27319 fi
27320 rm -f core conftest.err conftest.$ac_objext \
27321 conftest$ac_exeext conftest.$ac_ext
27322 if test "$am_cv_func_iconv" != yes; then
27323 am_save_LIBS="$LIBS"
27324 LIBS="$LIBS $LIBICONV"
27325 if test x$gcc_no_link = xyes; then
27326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27327 fi
27328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27329 /* end confdefs.h. */
27330 #include <stdlib.h>
27331 #include <iconv.h>
27332 int
27333 main ()
27334 {
27335 iconv_t cd = iconv_open("","");
27336 iconv(cd,NULL,NULL,NULL,NULL);
27337 iconv_close(cd);
27338 ;
27339 return 0;
27340 }
27341 _ACEOF
27342 if ac_fn_c_try_link "$LINENO"; then :
27343 am_cv_lib_iconv=yes
27344 am_cv_func_iconv=yes
27345 fi
27346 rm -f core conftest.err conftest.$ac_objext \
27347 conftest$ac_exeext conftest.$ac_ext
27348 LIBS="$am_save_LIBS"
27349 fi
27350
27351 fi
27352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27353 $as_echo "$am_cv_func_iconv" >&6; }
27354 if test "$am_cv_func_iconv" = yes; then
27355
27356 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27357
27358 fi
27359 if test "$am_cv_lib_iconv" = yes; then
27360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27361 $as_echo_n "checking how to link with libiconv... " >&6; }
27362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27363 $as_echo "$LIBICONV" >&6; }
27364 else
27365 CPPFLAGS="$am_save_CPPFLAGS"
27366 LIBICONV=
27367 LTLIBICONV=
27368 fi
27369
27370
27371
27372 if test "$am_cv_func_iconv" = yes; then
27373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27374 $as_echo_n "checking for iconv declaration... " >&6; }
27375 if test "${am_cv_proto_iconv+set}" = set; then :
27376 $as_echo_n "(cached) " >&6
27377 else
27378
27379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27380 /* end confdefs.h. */
27381
27382 #include <stdlib.h>
27383 #include <iconv.h>
27384 extern
27385 #ifdef __cplusplus
27386 "C"
27387 #endif
27388 #if defined(__STDC__) || defined(__cplusplus)
27389 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27390 #else
27391 size_t iconv();
27392 #endif
27393
27394 int
27395 main ()
27396 {
27397
27398 ;
27399 return 0;
27400 }
27401 _ACEOF
27402 if ac_fn_c_try_compile "$LINENO"; then :
27403 am_cv_proto_iconv_arg1=""
27404 else
27405 am_cv_proto_iconv_arg1="const"
27406 fi
27407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27408 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);"
27409 fi
27410
27411 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27413 }$am_cv_proto_iconv" >&5
27414 $as_echo "${ac_t:-
27415 }$am_cv_proto_iconv" >&6; }
27416
27417 cat >>confdefs.h <<_ACEOF
27418 #define ICONV_CONST $am_cv_proto_iconv_arg1
27419 _ACEOF
27420
27421 fi
27422
27423
27424 else
27425
27426 # This lets us hard-code the functionality we know we'll have in the cross
27427 # target environment. "Let" is a sugar-coated word placed on an especially
27428 # dull and tedious hack, actually.
27429 #
27430 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27431 # that involve linking, can't be used:
27432 # "cannot open sim-crt0.o"
27433 # "cannot open crt0.o"
27434 # etc. All this is because there currently exists no unified, consistent
27435 # way for top level CC information to be passed down to target directories:
27436 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27437 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27438 # crosses can be removed.
27439
27440 # If Canadian cross, then don't pick up tools from the build directory.
27441 # Used only in GLIBCXX_EXPORT_INCLUDES.
27442 if test -n "$with_cross_host" &&
27443 test x"$build_alias" != x"$with_cross_host" &&
27444 test x"$build" != x"$target";
27445 then
27446 CANADIAN=yes
27447 else
27448 CANADIAN=no
27449 fi
27450
27451 # Construct crosses by hand, eliminating bits that need ld...
27452 # GLIBCXX_CHECK_MATH_SUPPORT
27453
27454 # First, test for "known" system libraries. We may be using newlib even
27455 # on a hosted environment.
27456 if test "x${with_newlib}" = "xyes"; then
27457 os_include_dir="os/newlib"
27458 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27459
27460
27461 # GLIBCXX_CHECK_STDLIB_SUPPORT
27462 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27463
27464
27465 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27466
27467 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27468
27469 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27470
27471 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27472
27473 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27474
27475 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27476
27477 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27478
27479 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27480
27481 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27482
27483 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27484
27485 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27486
27487 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27488
27489 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27490
27491 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27492
27493 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27494
27495 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27496
27497 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27498
27499 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27500
27501 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27502
27503 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27504
27505 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27506
27507 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27508
27509
27510 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27511
27512 else
27513
27514 # Base decisions on target environment.
27515 case "${host}" in
27516 arm*-*-symbianelf*)
27517 # This is a freestanding configuration; there is nothing to do here.
27518 ;;
27519
27520 mips*-sde-elf*)
27521 # These definitions are for the SDE C library rather than newlib.
27522 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27523
27524
27525 # All these tests are for C++; save the language and the compiler flags.
27526 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27527 # found in GLIBCXX_CONFIGURE.
27528
27529 ac_ext=cpp
27530 ac_cpp='$CXXCPP $CPPFLAGS'
27531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27534
27535 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27536 ac_save_CXXFLAGS="$CXXFLAGS"
27537
27538 # Check for maintainer-mode bits.
27539 if test x"$USE_MAINTAINER_MODE" = xno; then
27540 WERROR=''
27541 else
27542 WERROR='-Werror'
27543 fi
27544
27545 # Check for -ffunction-sections -fdata-sections
27546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27547 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27548 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27550 /* end confdefs.h. */
27551 int foo; void bar() { };
27552 int
27553 main ()
27554 {
27555
27556 ;
27557 return 0;
27558 }
27559 _ACEOF
27560 if ac_fn_cxx_try_compile "$LINENO"; then :
27561 ac_fdsections=yes
27562 else
27563 ac_fdsections=no
27564 fi
27565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27566 if test "$ac_test_CXXFLAGS" = set; then
27567 CXXFLAGS="$ac_save_CXXFLAGS"
27568 else
27569 # this is the suspicious part
27570 CXXFLAGS=''
27571 fi
27572 if test x"$ac_fdsections" = x"yes"; then
27573 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27574 fi
27575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27576 $as_echo "$ac_fdsections" >&6; }
27577
27578 ac_ext=c
27579 ac_cpp='$CPP $CPPFLAGS'
27580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27583
27584
27585
27586
27587
27588 # If we're not using GNU ld, then there's no point in even trying these
27589 # tests. Check for that first. We should have already tested for gld
27590 # by now (in libtool), but require it now just to be safe...
27591 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27592 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27593
27594
27595
27596 # The name set by libtool depends on the version of libtool. Shame on us
27597 # for depending on an impl detail, but c'est la vie. Older versions used
27598 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27599 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27600 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27601 # set (hence we're using an older libtool), then set it.
27602 if test x${with_gnu_ld+set} != xset; then
27603 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27604 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27605 with_gnu_ld=no
27606 else
27607 with_gnu_ld=$ac_cv_prog_gnu_ld
27608 fi
27609 fi
27610
27611 # Start by getting the version number. I think the libtool test already
27612 # does some of this, but throws away the result.
27613 glibcxx_ld_is_gold=no
27614 if test x"$with_gnu_ld" = x"yes"; then
27615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27616 $as_echo_n "checking for ld version... " >&6; }
27617
27618 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27619 glibcxx_ld_is_gold=yes
27620 fi
27621 ldver=`$LD --version 2>/dev/null |
27622 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'`
27623
27624 glibcxx_gnu_ld_version=`echo $ldver | \
27625 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27627 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27628 fi
27629
27630 # Set --gc-sections.
27631 glibcxx_have_gc_sections=no
27632 if test "$glibcxx_ld_is_gold" = "yes"; then
27633 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27634 glibcxx_have_gc_sections=yes
27635 fi
27636 else
27637 glibcxx_gcsections_min_ld=21602
27638 if test x"$with_gnu_ld" = x"yes" &&
27639 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27640 glibcxx_have_gc_sections=yes
27641 fi
27642 fi
27643 if test "$glibcxx_have_gc_sections" = "yes"; then
27644 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27645 # NB: This flag only works reliably after 2.16.1. Configure tests
27646 # for this are difficult, so hard wire a value that should work.
27647
27648 ac_test_CFLAGS="${CFLAGS+set}"
27649 ac_save_CFLAGS="$CFLAGS"
27650 CFLAGS='-Wl,--gc-sections'
27651
27652 # Check for -Wl,--gc-sections
27653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27654 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27655 if test x$gcc_no_link = xyes; then
27656 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27657 fi
27658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27659 /* end confdefs.h. */
27660 int one(void) { return 1; }
27661 int two(void) { return 2; }
27662
27663 int
27664 main ()
27665 {
27666 two();
27667 ;
27668 return 0;
27669 }
27670 _ACEOF
27671 if ac_fn_c_try_link "$LINENO"; then :
27672 ac_gcsections=yes
27673 else
27674 ac_gcsections=no
27675 fi
27676 rm -f core conftest.err conftest.$ac_objext \
27677 conftest$ac_exeext conftest.$ac_ext
27678 if test "$ac_gcsections" = "yes"; then
27679 rm -f conftest.c
27680 touch conftest.c
27681 if $CC -c conftest.c; then
27682 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27683 grep "Warning: gc-sections option ignored" > /dev/null; then
27684 ac_gcsections=no
27685 fi
27686 fi
27687 rm -f conftest.c conftest.o conftest
27688 fi
27689 if test "$ac_gcsections" = "yes"; then
27690 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27691 fi
27692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27693 $as_echo "$ac_gcsections" >&6; }
27694
27695 if test "$ac_test_CFLAGS" = set; then
27696 CFLAGS="$ac_save_CFLAGS"
27697 else
27698 # this is the suspicious part
27699 CFLAGS=''
27700 fi
27701 fi
27702
27703 # Set -z,relro.
27704 # Note this is only for shared objects.
27705 ac_ld_relro=no
27706 if test x"$with_gnu_ld" = x"yes"; then
27707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27708 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27709 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27710 if test -n "$cxx_z_relo"; then
27711 OPT_LDFLAGS="-Wl,-z,relro"
27712 ac_ld_relro=yes
27713 fi
27714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27715 $as_echo "$ac_ld_relro" >&6; }
27716 fi
27717
27718 # Set linker optimization flags.
27719 if test x"$with_gnu_ld" = x"yes"; then
27720 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27721 fi
27722
27723
27724
27725
27726
27727 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27728 ac_save_CXXFLAGS="$CXXFLAGS"
27729 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27730
27731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27732 $as_echo_n "checking for sin in -lm... " >&6; }
27733 if test "${ac_cv_lib_m_sin+set}" = set; then :
27734 $as_echo_n "(cached) " >&6
27735 else
27736 ac_check_lib_save_LIBS=$LIBS
27737 LIBS="-lm $LIBS"
27738 if test x$gcc_no_link = xyes; then
27739 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27740 fi
27741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27742 /* end confdefs.h. */
27743
27744 /* Override any GCC internal prototype to avoid an error.
27745 Use char because int might match the return type of a GCC
27746 builtin and then its argument prototype would still apply. */
27747 #ifdef __cplusplus
27748 extern "C"
27749 #endif
27750 char sin ();
27751 int
27752 main ()
27753 {
27754 return sin ();
27755 ;
27756 return 0;
27757 }
27758 _ACEOF
27759 if ac_fn_c_try_link "$LINENO"; then :
27760 ac_cv_lib_m_sin=yes
27761 else
27762 ac_cv_lib_m_sin=no
27763 fi
27764 rm -f core conftest.err conftest.$ac_objext \
27765 conftest$ac_exeext conftest.$ac_ext
27766 LIBS=$ac_check_lib_save_LIBS
27767 fi
27768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27769 $as_echo "$ac_cv_lib_m_sin" >&6; }
27770 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27771 libm="-lm"
27772 fi
27773
27774 ac_save_LIBS="$LIBS"
27775 LIBS="$LIBS $libm"
27776
27777
27778
27779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27780 $as_echo_n "checking for isinf declaration... " >&6; }
27781 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27782 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27783 $as_echo_n "(cached) " >&6
27784 else
27785
27786
27787 ac_ext=cpp
27788 ac_cpp='$CXXCPP $CPPFLAGS'
27789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27792
27793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27794 /* end confdefs.h. */
27795 #include <math.h>
27796 #ifdef HAVE_IEEEFP_H
27797 #include <ieeefp.h>
27798 #endif
27799
27800 int
27801 main ()
27802 {
27803 isinf(0);
27804 ;
27805 return 0;
27806 }
27807 _ACEOF
27808 if ac_fn_cxx_try_compile "$LINENO"; then :
27809 glibcxx_cv_func_isinf_use=yes
27810 else
27811 glibcxx_cv_func_isinf_use=no
27812 fi
27813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27814 ac_ext=c
27815 ac_cpp='$CPP $CPPFLAGS'
27816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27819
27820
27821 fi
27822
27823 fi
27824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27825 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27826
27827 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27828 for ac_func in isinf
27829 do :
27830 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27831 if test "x$ac_cv_func_isinf" = x""yes; then :
27832 cat >>confdefs.h <<_ACEOF
27833 #define HAVE_ISINF 1
27834 _ACEOF
27835
27836 fi
27837 done
27838
27839 else
27840
27841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27842 $as_echo_n "checking for _isinf declaration... " >&6; }
27843 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27844 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27845 $as_echo_n "(cached) " >&6
27846 else
27847
27848
27849 ac_ext=cpp
27850 ac_cpp='$CXXCPP $CPPFLAGS'
27851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27854
27855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27856 /* end confdefs.h. */
27857 #include <math.h>
27858 #ifdef HAVE_IEEEFP_H
27859 #include <ieeefp.h>
27860 #endif
27861
27862 int
27863 main ()
27864 {
27865 _isinf(0);
27866 ;
27867 return 0;
27868 }
27869 _ACEOF
27870 if ac_fn_cxx_try_compile "$LINENO"; then :
27871 glibcxx_cv_func__isinf_use=yes
27872 else
27873 glibcxx_cv_func__isinf_use=no
27874 fi
27875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27876 ac_ext=c
27877 ac_cpp='$CPP $CPPFLAGS'
27878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27881
27882
27883 fi
27884
27885 fi
27886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27887 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27888
27889 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27890 for ac_func in _isinf
27891 do :
27892 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27893 if test "x$ac_cv_func__isinf" = x""yes; then :
27894 cat >>confdefs.h <<_ACEOF
27895 #define HAVE__ISINF 1
27896 _ACEOF
27897
27898 fi
27899 done
27900
27901 fi
27902 fi
27903
27904
27905
27906
27907
27908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27909 $as_echo_n "checking for isnan declaration... " >&6; }
27910 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27911 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27912 $as_echo_n "(cached) " >&6
27913 else
27914
27915
27916 ac_ext=cpp
27917 ac_cpp='$CXXCPP $CPPFLAGS'
27918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27921
27922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27923 /* end confdefs.h. */
27924 #include <math.h>
27925 #ifdef HAVE_IEEEFP_H
27926 #include <ieeefp.h>
27927 #endif
27928
27929 int
27930 main ()
27931 {
27932 isnan(0);
27933 ;
27934 return 0;
27935 }
27936 _ACEOF
27937 if ac_fn_cxx_try_compile "$LINENO"; then :
27938 glibcxx_cv_func_isnan_use=yes
27939 else
27940 glibcxx_cv_func_isnan_use=no
27941 fi
27942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27943 ac_ext=c
27944 ac_cpp='$CPP $CPPFLAGS'
27945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27948
27949
27950 fi
27951
27952 fi
27953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27954 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27955
27956 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27957 for ac_func in isnan
27958 do :
27959 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27960 if test "x$ac_cv_func_isnan" = x""yes; then :
27961 cat >>confdefs.h <<_ACEOF
27962 #define HAVE_ISNAN 1
27963 _ACEOF
27964
27965 fi
27966 done
27967
27968 else
27969
27970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27971 $as_echo_n "checking for _isnan declaration... " >&6; }
27972 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27973 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27974 $as_echo_n "(cached) " >&6
27975 else
27976
27977
27978 ac_ext=cpp
27979 ac_cpp='$CXXCPP $CPPFLAGS'
27980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27983
27984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27985 /* end confdefs.h. */
27986 #include <math.h>
27987 #ifdef HAVE_IEEEFP_H
27988 #include <ieeefp.h>
27989 #endif
27990
27991 int
27992 main ()
27993 {
27994 _isnan(0);
27995 ;
27996 return 0;
27997 }
27998 _ACEOF
27999 if ac_fn_cxx_try_compile "$LINENO"; then :
28000 glibcxx_cv_func__isnan_use=yes
28001 else
28002 glibcxx_cv_func__isnan_use=no
28003 fi
28004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28005 ac_ext=c
28006 ac_cpp='$CPP $CPPFLAGS'
28007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28010
28011
28012 fi
28013
28014 fi
28015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28016 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28017
28018 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28019 for ac_func in _isnan
28020 do :
28021 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28022 if test "x$ac_cv_func__isnan" = x""yes; then :
28023 cat >>confdefs.h <<_ACEOF
28024 #define HAVE__ISNAN 1
28025 _ACEOF
28026
28027 fi
28028 done
28029
28030 fi
28031 fi
28032
28033
28034
28035
28036
28037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28038 $as_echo_n "checking for finite declaration... " >&6; }
28039 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28040 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28041 $as_echo_n "(cached) " >&6
28042 else
28043
28044
28045 ac_ext=cpp
28046 ac_cpp='$CXXCPP $CPPFLAGS'
28047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28050
28051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28052 /* end confdefs.h. */
28053 #include <math.h>
28054 #ifdef HAVE_IEEEFP_H
28055 #include <ieeefp.h>
28056 #endif
28057
28058 int
28059 main ()
28060 {
28061 finite(0);
28062 ;
28063 return 0;
28064 }
28065 _ACEOF
28066 if ac_fn_cxx_try_compile "$LINENO"; then :
28067 glibcxx_cv_func_finite_use=yes
28068 else
28069 glibcxx_cv_func_finite_use=no
28070 fi
28071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28072 ac_ext=c
28073 ac_cpp='$CPP $CPPFLAGS'
28074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28077
28078
28079 fi
28080
28081 fi
28082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28083 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28084
28085 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28086 for ac_func in finite
28087 do :
28088 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28089 if test "x$ac_cv_func_finite" = x""yes; then :
28090 cat >>confdefs.h <<_ACEOF
28091 #define HAVE_FINITE 1
28092 _ACEOF
28093
28094 fi
28095 done
28096
28097 else
28098
28099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28100 $as_echo_n "checking for _finite declaration... " >&6; }
28101 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28102 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28103 $as_echo_n "(cached) " >&6
28104 else
28105
28106
28107 ac_ext=cpp
28108 ac_cpp='$CXXCPP $CPPFLAGS'
28109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28112
28113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28114 /* end confdefs.h. */
28115 #include <math.h>
28116 #ifdef HAVE_IEEEFP_H
28117 #include <ieeefp.h>
28118 #endif
28119
28120 int
28121 main ()
28122 {
28123 _finite(0);
28124 ;
28125 return 0;
28126 }
28127 _ACEOF
28128 if ac_fn_cxx_try_compile "$LINENO"; then :
28129 glibcxx_cv_func__finite_use=yes
28130 else
28131 glibcxx_cv_func__finite_use=no
28132 fi
28133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28134 ac_ext=c
28135 ac_cpp='$CPP $CPPFLAGS'
28136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28139
28140
28141 fi
28142
28143 fi
28144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28145 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28146
28147 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28148 for ac_func in _finite
28149 do :
28150 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28151 if test "x$ac_cv_func__finite" = x""yes; then :
28152 cat >>confdefs.h <<_ACEOF
28153 #define HAVE__FINITE 1
28154 _ACEOF
28155
28156 fi
28157 done
28158
28159 fi
28160 fi
28161
28162
28163
28164
28165
28166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28167 $as_echo_n "checking for sincos declaration... " >&6; }
28168 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28169 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28170 $as_echo_n "(cached) " >&6
28171 else
28172
28173
28174 ac_ext=cpp
28175 ac_cpp='$CXXCPP $CPPFLAGS'
28176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28179
28180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28181 /* end confdefs.h. */
28182 #include <math.h>
28183 int
28184 main ()
28185 {
28186 sincos(0, 0, 0);
28187 ;
28188 return 0;
28189 }
28190 _ACEOF
28191 if ac_fn_cxx_try_compile "$LINENO"; then :
28192 glibcxx_cv_func_sincos_use=yes
28193 else
28194 glibcxx_cv_func_sincos_use=no
28195 fi
28196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28197 ac_ext=c
28198 ac_cpp='$CPP $CPPFLAGS'
28199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28202
28203
28204 fi
28205
28206 fi
28207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28208 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28209
28210 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28211 for ac_func in sincos
28212 do :
28213 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28214 if test "x$ac_cv_func_sincos" = x""yes; then :
28215 cat >>confdefs.h <<_ACEOF
28216 #define HAVE_SINCOS 1
28217 _ACEOF
28218
28219 fi
28220 done
28221
28222 else
28223
28224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28225 $as_echo_n "checking for _sincos declaration... " >&6; }
28226 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28227 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28228 $as_echo_n "(cached) " >&6
28229 else
28230
28231
28232 ac_ext=cpp
28233 ac_cpp='$CXXCPP $CPPFLAGS'
28234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28237
28238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28239 /* end confdefs.h. */
28240 #include <math.h>
28241 int
28242 main ()
28243 {
28244 _sincos(0, 0, 0);
28245 ;
28246 return 0;
28247 }
28248 _ACEOF
28249 if ac_fn_cxx_try_compile "$LINENO"; then :
28250 glibcxx_cv_func__sincos_use=yes
28251 else
28252 glibcxx_cv_func__sincos_use=no
28253 fi
28254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28255 ac_ext=c
28256 ac_cpp='$CPP $CPPFLAGS'
28257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28260
28261
28262 fi
28263
28264 fi
28265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28266 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28267
28268 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28269 for ac_func in _sincos
28270 do :
28271 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28272 if test "x$ac_cv_func__sincos" = x""yes; then :
28273 cat >>confdefs.h <<_ACEOF
28274 #define HAVE__SINCOS 1
28275 _ACEOF
28276
28277 fi
28278 done
28279
28280 fi
28281 fi
28282
28283
28284
28285
28286
28287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28288 $as_echo_n "checking for fpclass declaration... " >&6; }
28289 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28290 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28291 $as_echo_n "(cached) " >&6
28292 else
28293
28294
28295 ac_ext=cpp
28296 ac_cpp='$CXXCPP $CPPFLAGS'
28297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28300
28301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28302 /* end confdefs.h. */
28303 #include <math.h>
28304 #ifdef HAVE_IEEEFP_H
28305 #include <ieeefp.h>
28306 #endif
28307
28308 int
28309 main ()
28310 {
28311 fpclass(0);
28312 ;
28313 return 0;
28314 }
28315 _ACEOF
28316 if ac_fn_cxx_try_compile "$LINENO"; then :
28317 glibcxx_cv_func_fpclass_use=yes
28318 else
28319 glibcxx_cv_func_fpclass_use=no
28320 fi
28321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28322 ac_ext=c
28323 ac_cpp='$CPP $CPPFLAGS'
28324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28327
28328
28329 fi
28330
28331 fi
28332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28333 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28334
28335 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28336 for ac_func in fpclass
28337 do :
28338 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28339 if test "x$ac_cv_func_fpclass" = x""yes; then :
28340 cat >>confdefs.h <<_ACEOF
28341 #define HAVE_FPCLASS 1
28342 _ACEOF
28343
28344 fi
28345 done
28346
28347 else
28348
28349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28350 $as_echo_n "checking for _fpclass declaration... " >&6; }
28351 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28352 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28353 $as_echo_n "(cached) " >&6
28354 else
28355
28356
28357 ac_ext=cpp
28358 ac_cpp='$CXXCPP $CPPFLAGS'
28359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28362
28363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28364 /* end confdefs.h. */
28365 #include <math.h>
28366 #ifdef HAVE_IEEEFP_H
28367 #include <ieeefp.h>
28368 #endif
28369
28370 int
28371 main ()
28372 {
28373 _fpclass(0);
28374 ;
28375 return 0;
28376 }
28377 _ACEOF
28378 if ac_fn_cxx_try_compile "$LINENO"; then :
28379 glibcxx_cv_func__fpclass_use=yes
28380 else
28381 glibcxx_cv_func__fpclass_use=no
28382 fi
28383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28384 ac_ext=c
28385 ac_cpp='$CPP $CPPFLAGS'
28386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28389
28390
28391 fi
28392
28393 fi
28394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28395 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28396
28397 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28398 for ac_func in _fpclass
28399 do :
28400 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28401 if test "x$ac_cv_func__fpclass" = x""yes; then :
28402 cat >>confdefs.h <<_ACEOF
28403 #define HAVE__FPCLASS 1
28404 _ACEOF
28405
28406 fi
28407 done
28408
28409 fi
28410 fi
28411
28412
28413
28414
28415
28416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28417 $as_echo_n "checking for qfpclass declaration... " >&6; }
28418 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28419 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28420 $as_echo_n "(cached) " >&6
28421 else
28422
28423
28424 ac_ext=cpp
28425 ac_cpp='$CXXCPP $CPPFLAGS'
28426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28429
28430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28431 /* end confdefs.h. */
28432 #include <math.h>
28433 #ifdef HAVE_IEEEFP_H
28434 #include <ieeefp.h>
28435 #endif
28436
28437 int
28438 main ()
28439 {
28440 qfpclass(0);
28441 ;
28442 return 0;
28443 }
28444 _ACEOF
28445 if ac_fn_cxx_try_compile "$LINENO"; then :
28446 glibcxx_cv_func_qfpclass_use=yes
28447 else
28448 glibcxx_cv_func_qfpclass_use=no
28449 fi
28450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28451 ac_ext=c
28452 ac_cpp='$CPP $CPPFLAGS'
28453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28456
28457
28458 fi
28459
28460 fi
28461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28462 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28463
28464 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28465 for ac_func in qfpclass
28466 do :
28467 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28468 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28469 cat >>confdefs.h <<_ACEOF
28470 #define HAVE_QFPCLASS 1
28471 _ACEOF
28472
28473 fi
28474 done
28475
28476 else
28477
28478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28479 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28480 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28481 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28482 $as_echo_n "(cached) " >&6
28483 else
28484
28485
28486 ac_ext=cpp
28487 ac_cpp='$CXXCPP $CPPFLAGS'
28488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28491
28492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28493 /* end confdefs.h. */
28494 #include <math.h>
28495 #ifdef HAVE_IEEEFP_H
28496 #include <ieeefp.h>
28497 #endif
28498
28499 int
28500 main ()
28501 {
28502 _qfpclass(0);
28503 ;
28504 return 0;
28505 }
28506 _ACEOF
28507 if ac_fn_cxx_try_compile "$LINENO"; then :
28508 glibcxx_cv_func__qfpclass_use=yes
28509 else
28510 glibcxx_cv_func__qfpclass_use=no
28511 fi
28512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28513 ac_ext=c
28514 ac_cpp='$CPP $CPPFLAGS'
28515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28518
28519
28520 fi
28521
28522 fi
28523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28524 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28525
28526 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28527 for ac_func in _qfpclass
28528 do :
28529 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28530 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28531 cat >>confdefs.h <<_ACEOF
28532 #define HAVE__QFPCLASS 1
28533 _ACEOF
28534
28535 fi
28536 done
28537
28538 fi
28539 fi
28540
28541
28542
28543
28544
28545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28546 $as_echo_n "checking for hypot declaration... " >&6; }
28547 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28548 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28549 $as_echo_n "(cached) " >&6
28550 else
28551
28552
28553 ac_ext=cpp
28554 ac_cpp='$CXXCPP $CPPFLAGS'
28555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28558
28559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28560 /* end confdefs.h. */
28561 #include <math.h>
28562 int
28563 main ()
28564 {
28565 hypot(0, 0);
28566 ;
28567 return 0;
28568 }
28569 _ACEOF
28570 if ac_fn_cxx_try_compile "$LINENO"; then :
28571 glibcxx_cv_func_hypot_use=yes
28572 else
28573 glibcxx_cv_func_hypot_use=no
28574 fi
28575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28576 ac_ext=c
28577 ac_cpp='$CPP $CPPFLAGS'
28578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28581
28582
28583 fi
28584
28585 fi
28586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28587 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28588
28589 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28590 for ac_func in hypot
28591 do :
28592 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28593 if test "x$ac_cv_func_hypot" = x""yes; then :
28594 cat >>confdefs.h <<_ACEOF
28595 #define HAVE_HYPOT 1
28596 _ACEOF
28597
28598 fi
28599 done
28600
28601 else
28602
28603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28604 $as_echo_n "checking for _hypot declaration... " >&6; }
28605 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28606 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28607 $as_echo_n "(cached) " >&6
28608 else
28609
28610
28611 ac_ext=cpp
28612 ac_cpp='$CXXCPP $CPPFLAGS'
28613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28616
28617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28618 /* end confdefs.h. */
28619 #include <math.h>
28620 int
28621 main ()
28622 {
28623 _hypot(0, 0);
28624 ;
28625 return 0;
28626 }
28627 _ACEOF
28628 if ac_fn_cxx_try_compile "$LINENO"; then :
28629 glibcxx_cv_func__hypot_use=yes
28630 else
28631 glibcxx_cv_func__hypot_use=no
28632 fi
28633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28634 ac_ext=c
28635 ac_cpp='$CPP $CPPFLAGS'
28636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28639
28640
28641 fi
28642
28643 fi
28644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28645 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28646
28647 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28648 for ac_func in _hypot
28649 do :
28650 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28651 if test "x$ac_cv_func__hypot" = x""yes; then :
28652 cat >>confdefs.h <<_ACEOF
28653 #define HAVE__HYPOT 1
28654 _ACEOF
28655
28656 fi
28657 done
28658
28659 fi
28660 fi
28661
28662
28663
28664
28665
28666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28667 $as_echo_n "checking for float trig functions... " >&6; }
28668 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28669 $as_echo_n "(cached) " >&6
28670 else
28671
28672
28673 ac_ext=cpp
28674 ac_cpp='$CXXCPP $CPPFLAGS'
28675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28678
28679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28680 /* end confdefs.h. */
28681 #include <math.h>
28682 int
28683 main ()
28684 {
28685 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28686 ;
28687 return 0;
28688 }
28689 _ACEOF
28690 if ac_fn_cxx_try_compile "$LINENO"; then :
28691 glibcxx_cv_func_float_trig_use=yes
28692 else
28693 glibcxx_cv_func_float_trig_use=no
28694 fi
28695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28696 ac_ext=c
28697 ac_cpp='$CPP $CPPFLAGS'
28698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28701
28702 fi
28703
28704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28705 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28706 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28707 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28708 do :
28709 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28710 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28711 eval as_val=\$$as_ac_var
28712 if test "x$as_val" = x""yes; then :
28713 cat >>confdefs.h <<_ACEOF
28714 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28715 _ACEOF
28716
28717 fi
28718 done
28719
28720 else
28721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28722 $as_echo_n "checking for _float trig functions... " >&6; }
28723 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28724 $as_echo_n "(cached) " >&6
28725 else
28726
28727
28728 ac_ext=cpp
28729 ac_cpp='$CXXCPP $CPPFLAGS'
28730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28733
28734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28735 /* end confdefs.h. */
28736 #include <math.h>
28737 int
28738 main ()
28739 {
28740 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28741 ;
28742 return 0;
28743 }
28744 _ACEOF
28745 if ac_fn_cxx_try_compile "$LINENO"; then :
28746 glibcxx_cv_func__float_trig_use=yes
28747 else
28748 glibcxx_cv_func__float_trig_use=no
28749 fi
28750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28751 ac_ext=c
28752 ac_cpp='$CPP $CPPFLAGS'
28753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28756
28757 fi
28758
28759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28760 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28761 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28762 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28763 do :
28764 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28765 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28766 eval as_val=\$$as_ac_var
28767 if test "x$as_val" = x""yes; then :
28768 cat >>confdefs.h <<_ACEOF
28769 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28770 _ACEOF
28771
28772 fi
28773 done
28774
28775 fi
28776 fi
28777
28778
28779
28780
28781
28782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28783 $as_echo_n "checking for float round functions... " >&6; }
28784 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28785 $as_echo_n "(cached) " >&6
28786 else
28787
28788
28789 ac_ext=cpp
28790 ac_cpp='$CXXCPP $CPPFLAGS'
28791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28794
28795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28796 /* end confdefs.h. */
28797 #include <math.h>
28798 int
28799 main ()
28800 {
28801 ceilf (0); floorf (0);
28802 ;
28803 return 0;
28804 }
28805 _ACEOF
28806 if ac_fn_cxx_try_compile "$LINENO"; then :
28807 glibcxx_cv_func_float_round_use=yes
28808 else
28809 glibcxx_cv_func_float_round_use=no
28810 fi
28811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28812 ac_ext=c
28813 ac_cpp='$CPP $CPPFLAGS'
28814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28817
28818 fi
28819
28820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28821 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28822 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28823 for ac_func in ceilf floorf
28824 do :
28825 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28826 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28827 eval as_val=\$$as_ac_var
28828 if test "x$as_val" = x""yes; then :
28829 cat >>confdefs.h <<_ACEOF
28830 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28831 _ACEOF
28832
28833 fi
28834 done
28835
28836 else
28837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28838 $as_echo_n "checking for _float round functions... " >&6; }
28839 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28840 $as_echo_n "(cached) " >&6
28841 else
28842
28843
28844 ac_ext=cpp
28845 ac_cpp='$CXXCPP $CPPFLAGS'
28846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28849
28850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28851 /* end confdefs.h. */
28852 #include <math.h>
28853 int
28854 main ()
28855 {
28856 _ceilf (0); _floorf (0);
28857 ;
28858 return 0;
28859 }
28860 _ACEOF
28861 if ac_fn_cxx_try_compile "$LINENO"; then :
28862 glibcxx_cv_func__float_round_use=yes
28863 else
28864 glibcxx_cv_func__float_round_use=no
28865 fi
28866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28867 ac_ext=c
28868 ac_cpp='$CPP $CPPFLAGS'
28869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28872
28873 fi
28874
28875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28876 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28877 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28878 for ac_func in _ceilf _floorf
28879 do :
28880 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28881 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28882 eval as_val=\$$as_ac_var
28883 if test "x$as_val" = x""yes; then :
28884 cat >>confdefs.h <<_ACEOF
28885 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28886 _ACEOF
28887
28888 fi
28889 done
28890
28891 fi
28892 fi
28893
28894
28895
28896
28897
28898
28899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28900 $as_echo_n "checking for expf declaration... " >&6; }
28901 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28902 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28903 $as_echo_n "(cached) " >&6
28904 else
28905
28906
28907 ac_ext=cpp
28908 ac_cpp='$CXXCPP $CPPFLAGS'
28909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28912
28913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28914 /* end confdefs.h. */
28915 #include <math.h>
28916 #ifdef HAVE_IEEEFP_H
28917 #include <ieeefp.h>
28918 #endif
28919
28920 int
28921 main ()
28922 {
28923 expf(0);
28924 ;
28925 return 0;
28926 }
28927 _ACEOF
28928 if ac_fn_cxx_try_compile "$LINENO"; then :
28929 glibcxx_cv_func_expf_use=yes
28930 else
28931 glibcxx_cv_func_expf_use=no
28932 fi
28933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28934 ac_ext=c
28935 ac_cpp='$CPP $CPPFLAGS'
28936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28939
28940
28941 fi
28942
28943 fi
28944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28945 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28946
28947 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28948 for ac_func in expf
28949 do :
28950 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28951 if test "x$ac_cv_func_expf" = x""yes; then :
28952 cat >>confdefs.h <<_ACEOF
28953 #define HAVE_EXPF 1
28954 _ACEOF
28955
28956 fi
28957 done
28958
28959 else
28960
28961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28962 $as_echo_n "checking for _expf declaration... " >&6; }
28963 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28964 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28965 $as_echo_n "(cached) " >&6
28966 else
28967
28968
28969 ac_ext=cpp
28970 ac_cpp='$CXXCPP $CPPFLAGS'
28971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28974
28975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28976 /* end confdefs.h. */
28977 #include <math.h>
28978 #ifdef HAVE_IEEEFP_H
28979 #include <ieeefp.h>
28980 #endif
28981
28982 int
28983 main ()
28984 {
28985 _expf(0);
28986 ;
28987 return 0;
28988 }
28989 _ACEOF
28990 if ac_fn_cxx_try_compile "$LINENO"; then :
28991 glibcxx_cv_func__expf_use=yes
28992 else
28993 glibcxx_cv_func__expf_use=no
28994 fi
28995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28996 ac_ext=c
28997 ac_cpp='$CPP $CPPFLAGS'
28998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29001
29002
29003 fi
29004
29005 fi
29006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29007 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29008
29009 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29010 for ac_func in _expf
29011 do :
29012 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29013 if test "x$ac_cv_func__expf" = x""yes; then :
29014 cat >>confdefs.h <<_ACEOF
29015 #define HAVE__EXPF 1
29016 _ACEOF
29017
29018 fi
29019 done
29020
29021 fi
29022 fi
29023
29024
29025
29026
29027
29028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29029 $as_echo_n "checking for isnanf declaration... " >&6; }
29030 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29031 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29032 $as_echo_n "(cached) " >&6
29033 else
29034
29035
29036 ac_ext=cpp
29037 ac_cpp='$CXXCPP $CPPFLAGS'
29038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29041
29042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29043 /* end confdefs.h. */
29044 #include <math.h>
29045 #ifdef HAVE_IEEEFP_H
29046 #include <ieeefp.h>
29047 #endif
29048
29049 int
29050 main ()
29051 {
29052 isnanf(0);
29053 ;
29054 return 0;
29055 }
29056 _ACEOF
29057 if ac_fn_cxx_try_compile "$LINENO"; then :
29058 glibcxx_cv_func_isnanf_use=yes
29059 else
29060 glibcxx_cv_func_isnanf_use=no
29061 fi
29062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29063 ac_ext=c
29064 ac_cpp='$CPP $CPPFLAGS'
29065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29068
29069
29070 fi
29071
29072 fi
29073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29074 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29075
29076 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29077 for ac_func in isnanf
29078 do :
29079 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29080 if test "x$ac_cv_func_isnanf" = x""yes; then :
29081 cat >>confdefs.h <<_ACEOF
29082 #define HAVE_ISNANF 1
29083 _ACEOF
29084
29085 fi
29086 done
29087
29088 else
29089
29090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29091 $as_echo_n "checking for _isnanf declaration... " >&6; }
29092 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29093 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29094 $as_echo_n "(cached) " >&6
29095 else
29096
29097
29098 ac_ext=cpp
29099 ac_cpp='$CXXCPP $CPPFLAGS'
29100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29103
29104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29105 /* end confdefs.h. */
29106 #include <math.h>
29107 #ifdef HAVE_IEEEFP_H
29108 #include <ieeefp.h>
29109 #endif
29110
29111 int
29112 main ()
29113 {
29114 _isnanf(0);
29115 ;
29116 return 0;
29117 }
29118 _ACEOF
29119 if ac_fn_cxx_try_compile "$LINENO"; then :
29120 glibcxx_cv_func__isnanf_use=yes
29121 else
29122 glibcxx_cv_func__isnanf_use=no
29123 fi
29124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29125 ac_ext=c
29126 ac_cpp='$CPP $CPPFLAGS'
29127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29130
29131
29132 fi
29133
29134 fi
29135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29136 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29137
29138 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29139 for ac_func in _isnanf
29140 do :
29141 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29142 if test "x$ac_cv_func__isnanf" = x""yes; then :
29143 cat >>confdefs.h <<_ACEOF
29144 #define HAVE__ISNANF 1
29145 _ACEOF
29146
29147 fi
29148 done
29149
29150 fi
29151 fi
29152
29153
29154
29155
29156
29157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29158 $as_echo_n "checking for isinff declaration... " >&6; }
29159 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29160 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29161 $as_echo_n "(cached) " >&6
29162 else
29163
29164
29165 ac_ext=cpp
29166 ac_cpp='$CXXCPP $CPPFLAGS'
29167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29170
29171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29172 /* end confdefs.h. */
29173 #include <math.h>
29174 #ifdef HAVE_IEEEFP_H
29175 #include <ieeefp.h>
29176 #endif
29177
29178 int
29179 main ()
29180 {
29181 isinff(0);
29182 ;
29183 return 0;
29184 }
29185 _ACEOF
29186 if ac_fn_cxx_try_compile "$LINENO"; then :
29187 glibcxx_cv_func_isinff_use=yes
29188 else
29189 glibcxx_cv_func_isinff_use=no
29190 fi
29191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29192 ac_ext=c
29193 ac_cpp='$CPP $CPPFLAGS'
29194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29197
29198
29199 fi
29200
29201 fi
29202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29203 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29204
29205 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29206 for ac_func in isinff
29207 do :
29208 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29209 if test "x$ac_cv_func_isinff" = x""yes; then :
29210 cat >>confdefs.h <<_ACEOF
29211 #define HAVE_ISINFF 1
29212 _ACEOF
29213
29214 fi
29215 done
29216
29217 else
29218
29219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29220 $as_echo_n "checking for _isinff declaration... " >&6; }
29221 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29222 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29223 $as_echo_n "(cached) " >&6
29224 else
29225
29226
29227 ac_ext=cpp
29228 ac_cpp='$CXXCPP $CPPFLAGS'
29229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29232
29233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29234 /* end confdefs.h. */
29235 #include <math.h>
29236 #ifdef HAVE_IEEEFP_H
29237 #include <ieeefp.h>
29238 #endif
29239
29240 int
29241 main ()
29242 {
29243 _isinff(0);
29244 ;
29245 return 0;
29246 }
29247 _ACEOF
29248 if ac_fn_cxx_try_compile "$LINENO"; then :
29249 glibcxx_cv_func__isinff_use=yes
29250 else
29251 glibcxx_cv_func__isinff_use=no
29252 fi
29253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29254 ac_ext=c
29255 ac_cpp='$CPP $CPPFLAGS'
29256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29259
29260
29261 fi
29262
29263 fi
29264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29265 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29266
29267 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29268 for ac_func in _isinff
29269 do :
29270 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29271 if test "x$ac_cv_func__isinff" = x""yes; then :
29272 cat >>confdefs.h <<_ACEOF
29273 #define HAVE__ISINFF 1
29274 _ACEOF
29275
29276 fi
29277 done
29278
29279 fi
29280 fi
29281
29282
29283
29284
29285
29286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29287 $as_echo_n "checking for atan2f declaration... " >&6; }
29288 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29289 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29290 $as_echo_n "(cached) " >&6
29291 else
29292
29293
29294 ac_ext=cpp
29295 ac_cpp='$CXXCPP $CPPFLAGS'
29296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29299
29300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29301 /* end confdefs.h. */
29302 #include <math.h>
29303 int
29304 main ()
29305 {
29306 atan2f(0, 0);
29307 ;
29308 return 0;
29309 }
29310 _ACEOF
29311 if ac_fn_cxx_try_compile "$LINENO"; then :
29312 glibcxx_cv_func_atan2f_use=yes
29313 else
29314 glibcxx_cv_func_atan2f_use=no
29315 fi
29316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29317 ac_ext=c
29318 ac_cpp='$CPP $CPPFLAGS'
29319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29322
29323
29324 fi
29325
29326 fi
29327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29328 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29329
29330 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29331 for ac_func in atan2f
29332 do :
29333 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29334 if test "x$ac_cv_func_atan2f" = x""yes; then :
29335 cat >>confdefs.h <<_ACEOF
29336 #define HAVE_ATAN2F 1
29337 _ACEOF
29338
29339 fi
29340 done
29341
29342 else
29343
29344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29345 $as_echo_n "checking for _atan2f declaration... " >&6; }
29346 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29347 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29348 $as_echo_n "(cached) " >&6
29349 else
29350
29351
29352 ac_ext=cpp
29353 ac_cpp='$CXXCPP $CPPFLAGS'
29354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29357
29358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29359 /* end confdefs.h. */
29360 #include <math.h>
29361 int
29362 main ()
29363 {
29364 _atan2f(0, 0);
29365 ;
29366 return 0;
29367 }
29368 _ACEOF
29369 if ac_fn_cxx_try_compile "$LINENO"; then :
29370 glibcxx_cv_func__atan2f_use=yes
29371 else
29372 glibcxx_cv_func__atan2f_use=no
29373 fi
29374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29375 ac_ext=c
29376 ac_cpp='$CPP $CPPFLAGS'
29377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29380
29381
29382 fi
29383
29384 fi
29385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29386 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29387
29388 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29389 for ac_func in _atan2f
29390 do :
29391 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29392 if test "x$ac_cv_func__atan2f" = x""yes; then :
29393 cat >>confdefs.h <<_ACEOF
29394 #define HAVE__ATAN2F 1
29395 _ACEOF
29396
29397 fi
29398 done
29399
29400 fi
29401 fi
29402
29403
29404
29405
29406
29407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29408 $as_echo_n "checking for fabsf declaration... " >&6; }
29409 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29410 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29411 $as_echo_n "(cached) " >&6
29412 else
29413
29414
29415 ac_ext=cpp
29416 ac_cpp='$CXXCPP $CPPFLAGS'
29417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29420
29421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29422 /* end confdefs.h. */
29423 #include <math.h>
29424 #ifdef HAVE_IEEEFP_H
29425 #include <ieeefp.h>
29426 #endif
29427
29428 int
29429 main ()
29430 {
29431 fabsf(0);
29432 ;
29433 return 0;
29434 }
29435 _ACEOF
29436 if ac_fn_cxx_try_compile "$LINENO"; then :
29437 glibcxx_cv_func_fabsf_use=yes
29438 else
29439 glibcxx_cv_func_fabsf_use=no
29440 fi
29441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29442 ac_ext=c
29443 ac_cpp='$CPP $CPPFLAGS'
29444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29447
29448
29449 fi
29450
29451 fi
29452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29453 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29454
29455 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29456 for ac_func in fabsf
29457 do :
29458 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29459 if test "x$ac_cv_func_fabsf" = x""yes; then :
29460 cat >>confdefs.h <<_ACEOF
29461 #define HAVE_FABSF 1
29462 _ACEOF
29463
29464 fi
29465 done
29466
29467 else
29468
29469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29470 $as_echo_n "checking for _fabsf declaration... " >&6; }
29471 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29472 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29473 $as_echo_n "(cached) " >&6
29474 else
29475
29476
29477 ac_ext=cpp
29478 ac_cpp='$CXXCPP $CPPFLAGS'
29479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29482
29483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29484 /* end confdefs.h. */
29485 #include <math.h>
29486 #ifdef HAVE_IEEEFP_H
29487 #include <ieeefp.h>
29488 #endif
29489
29490 int
29491 main ()
29492 {
29493 _fabsf(0);
29494 ;
29495 return 0;
29496 }
29497 _ACEOF
29498 if ac_fn_cxx_try_compile "$LINENO"; then :
29499 glibcxx_cv_func__fabsf_use=yes
29500 else
29501 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
29515 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29516
29517 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29518 for ac_func in _fabsf
29519 do :
29520 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29521 if test "x$ac_cv_func__fabsf" = x""yes; then :
29522 cat >>confdefs.h <<_ACEOF
29523 #define HAVE__FABSF 1
29524 _ACEOF
29525
29526 fi
29527 done
29528
29529 fi
29530 fi
29531
29532
29533
29534
29535
29536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29537 $as_echo_n "checking for fmodf declaration... " >&6; }
29538 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29539 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29540 $as_echo_n "(cached) " >&6
29541 else
29542
29543
29544 ac_ext=cpp
29545 ac_cpp='$CXXCPP $CPPFLAGS'
29546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29549
29550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29551 /* end confdefs.h. */
29552 #include <math.h>
29553 int
29554 main ()
29555 {
29556 fmodf(0, 0);
29557 ;
29558 return 0;
29559 }
29560 _ACEOF
29561 if ac_fn_cxx_try_compile "$LINENO"; then :
29562 glibcxx_cv_func_fmodf_use=yes
29563 else
29564 glibcxx_cv_func_fmodf_use=no
29565 fi
29566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29567 ac_ext=c
29568 ac_cpp='$CPP $CPPFLAGS'
29569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29572
29573
29574 fi
29575
29576 fi
29577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29578 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29579
29580 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29581 for ac_func in fmodf
29582 do :
29583 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29584 if test "x$ac_cv_func_fmodf" = x""yes; then :
29585 cat >>confdefs.h <<_ACEOF
29586 #define HAVE_FMODF 1
29587 _ACEOF
29588
29589 fi
29590 done
29591
29592 else
29593
29594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29595 $as_echo_n "checking for _fmodf declaration... " >&6; }
29596 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29597 if test "${glibcxx_cv_func__fmodf_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 _fmodf(0, 0);
29615 ;
29616 return 0;
29617 }
29618 _ACEOF
29619 if ac_fn_cxx_try_compile "$LINENO"; then :
29620 glibcxx_cv_func__fmodf_use=yes
29621 else
29622 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
29636 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29637
29638 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29639 for ac_func in _fmodf
29640 do :
29641 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29642 if test "x$ac_cv_func__fmodf" = x""yes; then :
29643 cat >>confdefs.h <<_ACEOF
29644 #define HAVE__FMODF 1
29645 _ACEOF
29646
29647 fi
29648 done
29649
29650 fi
29651 fi
29652
29653
29654
29655
29656
29657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29658 $as_echo_n "checking for frexpf declaration... " >&6; }
29659 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29660 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29661 $as_echo_n "(cached) " >&6
29662 else
29663
29664
29665 ac_ext=cpp
29666 ac_cpp='$CXXCPP $CPPFLAGS'
29667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29670
29671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29672 /* end confdefs.h. */
29673 #include <math.h>
29674 int
29675 main ()
29676 {
29677 frexpf(0, 0);
29678 ;
29679 return 0;
29680 }
29681 _ACEOF
29682 if ac_fn_cxx_try_compile "$LINENO"; then :
29683 glibcxx_cv_func_frexpf_use=yes
29684 else
29685 glibcxx_cv_func_frexpf_use=no
29686 fi
29687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29688 ac_ext=c
29689 ac_cpp='$CPP $CPPFLAGS'
29690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29693
29694
29695 fi
29696
29697 fi
29698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29699 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29700
29701 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29702 for ac_func in frexpf
29703 do :
29704 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29705 if test "x$ac_cv_func_frexpf" = x""yes; then :
29706 cat >>confdefs.h <<_ACEOF
29707 #define HAVE_FREXPF 1
29708 _ACEOF
29709
29710 fi
29711 done
29712
29713 else
29714
29715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29716 $as_echo_n "checking for _frexpf declaration... " >&6; }
29717 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29718 if test "${glibcxx_cv_func__frexpf_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 int
29733 main ()
29734 {
29735 _frexpf(0, 0);
29736 ;
29737 return 0;
29738 }
29739 _ACEOF
29740 if ac_fn_cxx_try_compile "$LINENO"; then :
29741 glibcxx_cv_func__frexpf_use=yes
29742 else
29743 glibcxx_cv_func__frexpf_use=no
29744 fi
29745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29746 ac_ext=c
29747 ac_cpp='$CPP $CPPFLAGS'
29748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29751
29752
29753 fi
29754
29755 fi
29756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29757 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29758
29759 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29760 for ac_func in _frexpf
29761 do :
29762 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29763 if test "x$ac_cv_func__frexpf" = x""yes; then :
29764 cat >>confdefs.h <<_ACEOF
29765 #define HAVE__FREXPF 1
29766 _ACEOF
29767
29768 fi
29769 done
29770
29771 fi
29772 fi
29773
29774
29775
29776
29777
29778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29779 $as_echo_n "checking for hypotf declaration... " >&6; }
29780 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29781 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29782 $as_echo_n "(cached) " >&6
29783 else
29784
29785
29786 ac_ext=cpp
29787 ac_cpp='$CXXCPP $CPPFLAGS'
29788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29791
29792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29793 /* end confdefs.h. */
29794 #include <math.h>
29795 int
29796 main ()
29797 {
29798 hypotf(0, 0);
29799 ;
29800 return 0;
29801 }
29802 _ACEOF
29803 if ac_fn_cxx_try_compile "$LINENO"; then :
29804 glibcxx_cv_func_hypotf_use=yes
29805 else
29806 glibcxx_cv_func_hypotf_use=no
29807 fi
29808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29809 ac_ext=c
29810 ac_cpp='$CPP $CPPFLAGS'
29811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29814
29815
29816 fi
29817
29818 fi
29819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29820 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29821
29822 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29823 for ac_func in hypotf
29824 do :
29825 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29826 if test "x$ac_cv_func_hypotf" = x""yes; then :
29827 cat >>confdefs.h <<_ACEOF
29828 #define HAVE_HYPOTF 1
29829 _ACEOF
29830
29831 fi
29832 done
29833
29834 else
29835
29836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29837 $as_echo_n "checking for _hypotf declaration... " >&6; }
29838 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29839 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29840 $as_echo_n "(cached) " >&6
29841 else
29842
29843
29844 ac_ext=cpp
29845 ac_cpp='$CXXCPP $CPPFLAGS'
29846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29849
29850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29851 /* end confdefs.h. */
29852 #include <math.h>
29853 int
29854 main ()
29855 {
29856 _hypotf(0, 0);
29857 ;
29858 return 0;
29859 }
29860 _ACEOF
29861 if ac_fn_cxx_try_compile "$LINENO"; then :
29862 glibcxx_cv_func__hypotf_use=yes
29863 else
29864 glibcxx_cv_func__hypotf_use=no
29865 fi
29866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29867 ac_ext=c
29868 ac_cpp='$CPP $CPPFLAGS'
29869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29872
29873
29874 fi
29875
29876 fi
29877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29878 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29879
29880 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29881 for ac_func in _hypotf
29882 do :
29883 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29884 if test "x$ac_cv_func__hypotf" = x""yes; then :
29885 cat >>confdefs.h <<_ACEOF
29886 #define HAVE__HYPOTF 1
29887 _ACEOF
29888
29889 fi
29890 done
29891
29892 fi
29893 fi
29894
29895
29896
29897
29898
29899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29900 $as_echo_n "checking for ldexpf declaration... " >&6; }
29901 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29902 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29903 $as_echo_n "(cached) " >&6
29904 else
29905
29906
29907 ac_ext=cpp
29908 ac_cpp='$CXXCPP $CPPFLAGS'
29909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29912
29913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29914 /* end confdefs.h. */
29915 #include <math.h>
29916 int
29917 main ()
29918 {
29919 ldexpf(0, 0);
29920 ;
29921 return 0;
29922 }
29923 _ACEOF
29924 if ac_fn_cxx_try_compile "$LINENO"; then :
29925 glibcxx_cv_func_ldexpf_use=yes
29926 else
29927 glibcxx_cv_func_ldexpf_use=no
29928 fi
29929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29930 ac_ext=c
29931 ac_cpp='$CPP $CPPFLAGS'
29932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29935
29936
29937 fi
29938
29939 fi
29940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29941 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29942
29943 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29944 for ac_func in ldexpf
29945 do :
29946 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29947 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29948 cat >>confdefs.h <<_ACEOF
29949 #define HAVE_LDEXPF 1
29950 _ACEOF
29951
29952 fi
29953 done
29954
29955 else
29956
29957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29958 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29959 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29960 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29961 $as_echo_n "(cached) " >&6
29962 else
29963
29964
29965 ac_ext=cpp
29966 ac_cpp='$CXXCPP $CPPFLAGS'
29967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29970
29971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29972 /* end confdefs.h. */
29973 #include <math.h>
29974 int
29975 main ()
29976 {
29977 _ldexpf(0, 0);
29978 ;
29979 return 0;
29980 }
29981 _ACEOF
29982 if ac_fn_cxx_try_compile "$LINENO"; then :
29983 glibcxx_cv_func__ldexpf_use=yes
29984 else
29985 glibcxx_cv_func__ldexpf_use=no
29986 fi
29987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29988 ac_ext=c
29989 ac_cpp='$CPP $CPPFLAGS'
29990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29993
29994
29995 fi
29996
29997 fi
29998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29999 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30000
30001 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30002 for ac_func in _ldexpf
30003 do :
30004 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30005 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30006 cat >>confdefs.h <<_ACEOF
30007 #define HAVE__LDEXPF 1
30008 _ACEOF
30009
30010 fi
30011 done
30012
30013 fi
30014 fi
30015
30016
30017
30018
30019
30020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30021 $as_echo_n "checking for logf declaration... " >&6; }
30022 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30023 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30024 $as_echo_n "(cached) " >&6
30025 else
30026
30027
30028 ac_ext=cpp
30029 ac_cpp='$CXXCPP $CPPFLAGS'
30030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30033
30034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30035 /* end confdefs.h. */
30036 #include <math.h>
30037 #ifdef HAVE_IEEEFP_H
30038 #include <ieeefp.h>
30039 #endif
30040
30041 int
30042 main ()
30043 {
30044 logf(0);
30045 ;
30046 return 0;
30047 }
30048 _ACEOF
30049 if ac_fn_cxx_try_compile "$LINENO"; then :
30050 glibcxx_cv_func_logf_use=yes
30051 else
30052 glibcxx_cv_func_logf_use=no
30053 fi
30054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30055 ac_ext=c
30056 ac_cpp='$CPP $CPPFLAGS'
30057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30060
30061
30062 fi
30063
30064 fi
30065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30066 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30067
30068 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30069 for ac_func in logf
30070 do :
30071 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30072 if test "x$ac_cv_func_logf" = x""yes; then :
30073 cat >>confdefs.h <<_ACEOF
30074 #define HAVE_LOGF 1
30075 _ACEOF
30076
30077 fi
30078 done
30079
30080 else
30081
30082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30083 $as_echo_n "checking for _logf declaration... " >&6; }
30084 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30085 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30086 $as_echo_n "(cached) " >&6
30087 else
30088
30089
30090 ac_ext=cpp
30091 ac_cpp='$CXXCPP $CPPFLAGS'
30092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30095
30096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30097 /* end confdefs.h. */
30098 #include <math.h>
30099 #ifdef HAVE_IEEEFP_H
30100 #include <ieeefp.h>
30101 #endif
30102
30103 int
30104 main ()
30105 {
30106 _logf(0);
30107 ;
30108 return 0;
30109 }
30110 _ACEOF
30111 if ac_fn_cxx_try_compile "$LINENO"; then :
30112 glibcxx_cv_func__logf_use=yes
30113 else
30114 glibcxx_cv_func__logf_use=no
30115 fi
30116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30117 ac_ext=c
30118 ac_cpp='$CPP $CPPFLAGS'
30119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30122
30123
30124 fi
30125
30126 fi
30127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30128 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30129
30130 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30131 for ac_func in _logf
30132 do :
30133 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30134 if test "x$ac_cv_func__logf" = x""yes; then :
30135 cat >>confdefs.h <<_ACEOF
30136 #define HAVE__LOGF 1
30137 _ACEOF
30138
30139 fi
30140 done
30141
30142 fi
30143 fi
30144
30145
30146
30147
30148
30149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30150 $as_echo_n "checking for log10f declaration... " >&6; }
30151 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30152 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30153 $as_echo_n "(cached) " >&6
30154 else
30155
30156
30157 ac_ext=cpp
30158 ac_cpp='$CXXCPP $CPPFLAGS'
30159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30162
30163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30164 /* end confdefs.h. */
30165 #include <math.h>
30166 #ifdef HAVE_IEEEFP_H
30167 #include <ieeefp.h>
30168 #endif
30169
30170 int
30171 main ()
30172 {
30173 log10f(0);
30174 ;
30175 return 0;
30176 }
30177 _ACEOF
30178 if ac_fn_cxx_try_compile "$LINENO"; then :
30179 glibcxx_cv_func_log10f_use=yes
30180 else
30181 glibcxx_cv_func_log10f_use=no
30182 fi
30183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30184 ac_ext=c
30185 ac_cpp='$CPP $CPPFLAGS'
30186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30189
30190
30191 fi
30192
30193 fi
30194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30195 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30196
30197 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30198 for ac_func in log10f
30199 do :
30200 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30201 if test "x$ac_cv_func_log10f" = x""yes; then :
30202 cat >>confdefs.h <<_ACEOF
30203 #define HAVE_LOG10F 1
30204 _ACEOF
30205
30206 fi
30207 done
30208
30209 else
30210
30211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30212 $as_echo_n "checking for _log10f declaration... " >&6; }
30213 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30214 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30215 $as_echo_n "(cached) " >&6
30216 else
30217
30218
30219 ac_ext=cpp
30220 ac_cpp='$CXXCPP $CPPFLAGS'
30221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30224
30225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30226 /* end confdefs.h. */
30227 #include <math.h>
30228 #ifdef HAVE_IEEEFP_H
30229 #include <ieeefp.h>
30230 #endif
30231
30232 int
30233 main ()
30234 {
30235 _log10f(0);
30236 ;
30237 return 0;
30238 }
30239 _ACEOF
30240 if ac_fn_cxx_try_compile "$LINENO"; then :
30241 glibcxx_cv_func__log10f_use=yes
30242 else
30243 glibcxx_cv_func__log10f_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__log10f_use" >&5
30257 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30258
30259 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30260 for ac_func in _log10f
30261 do :
30262 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30263 if test "x$ac_cv_func__log10f" = x""yes; then :
30264 cat >>confdefs.h <<_ACEOF
30265 #define HAVE__LOG10F 1
30266 _ACEOF
30267
30268 fi
30269 done
30270
30271 fi
30272 fi
30273
30274
30275
30276
30277
30278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30279 $as_echo_n "checking for modff declaration... " >&6; }
30280 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30281 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30282 $as_echo_n "(cached) " >&6
30283 else
30284
30285
30286 ac_ext=cpp
30287 ac_cpp='$CXXCPP $CPPFLAGS'
30288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30291
30292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30293 /* end confdefs.h. */
30294 #include <math.h>
30295 int
30296 main ()
30297 {
30298 modff(0, 0);
30299 ;
30300 return 0;
30301 }
30302 _ACEOF
30303 if ac_fn_cxx_try_compile "$LINENO"; then :
30304 glibcxx_cv_func_modff_use=yes
30305 else
30306 glibcxx_cv_func_modff_use=no
30307 fi
30308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30309 ac_ext=c
30310 ac_cpp='$CPP $CPPFLAGS'
30311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30314
30315
30316 fi
30317
30318 fi
30319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30320 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30321
30322 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30323 for ac_func in modff
30324 do :
30325 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30326 if test "x$ac_cv_func_modff" = x""yes; then :
30327 cat >>confdefs.h <<_ACEOF
30328 #define HAVE_MODFF 1
30329 _ACEOF
30330
30331 fi
30332 done
30333
30334 else
30335
30336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30337 $as_echo_n "checking for _modff declaration... " >&6; }
30338 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30339 if test "${glibcxx_cv_func__modff_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 int
30354 main ()
30355 {
30356 _modff(0, 0);
30357 ;
30358 return 0;
30359 }
30360 _ACEOF
30361 if ac_fn_cxx_try_compile "$LINENO"; then :
30362 glibcxx_cv_func__modff_use=yes
30363 else
30364 glibcxx_cv_func__modff_use=no
30365 fi
30366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30367 ac_ext=c
30368 ac_cpp='$CPP $CPPFLAGS'
30369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30372
30373
30374 fi
30375
30376 fi
30377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30378 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30379
30380 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30381 for ac_func in _modff
30382 do :
30383 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30384 if test "x$ac_cv_func__modff" = x""yes; then :
30385 cat >>confdefs.h <<_ACEOF
30386 #define HAVE__MODFF 1
30387 _ACEOF
30388
30389 fi
30390 done
30391
30392 fi
30393 fi
30394
30395
30396
30397
30398
30399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30400 $as_echo_n "checking for modf declaration... " >&6; }
30401 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30402 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30403 $as_echo_n "(cached) " >&6
30404 else
30405
30406
30407 ac_ext=cpp
30408 ac_cpp='$CXXCPP $CPPFLAGS'
30409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30412
30413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30414 /* end confdefs.h. */
30415 #include <math.h>
30416 int
30417 main ()
30418 {
30419 modf(0, 0);
30420 ;
30421 return 0;
30422 }
30423 _ACEOF
30424 if ac_fn_cxx_try_compile "$LINENO"; then :
30425 glibcxx_cv_func_modf_use=yes
30426 else
30427 glibcxx_cv_func_modf_use=no
30428 fi
30429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30430 ac_ext=c
30431 ac_cpp='$CPP $CPPFLAGS'
30432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30435
30436
30437 fi
30438
30439 fi
30440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30441 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30442
30443 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30444 for ac_func in modf
30445 do :
30446 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30447 if test "x$ac_cv_func_modf" = x""yes; then :
30448 cat >>confdefs.h <<_ACEOF
30449 #define HAVE_MODF 1
30450 _ACEOF
30451
30452 fi
30453 done
30454
30455 else
30456
30457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30458 $as_echo_n "checking for _modf declaration... " >&6; }
30459 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30460 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30461 $as_echo_n "(cached) " >&6
30462 else
30463
30464
30465 ac_ext=cpp
30466 ac_cpp='$CXXCPP $CPPFLAGS'
30467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30470
30471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30472 /* end confdefs.h. */
30473 #include <math.h>
30474 int
30475 main ()
30476 {
30477 _modf(0, 0);
30478 ;
30479 return 0;
30480 }
30481 _ACEOF
30482 if ac_fn_cxx_try_compile "$LINENO"; then :
30483 glibcxx_cv_func__modf_use=yes
30484 else
30485 glibcxx_cv_func__modf_use=no
30486 fi
30487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30488 ac_ext=c
30489 ac_cpp='$CPP $CPPFLAGS'
30490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30493
30494
30495 fi
30496
30497 fi
30498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30499 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30500
30501 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30502 for ac_func in _modf
30503 do :
30504 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30505 if test "x$ac_cv_func__modf" = x""yes; then :
30506 cat >>confdefs.h <<_ACEOF
30507 #define HAVE__MODF 1
30508 _ACEOF
30509
30510 fi
30511 done
30512
30513 fi
30514 fi
30515
30516
30517
30518
30519
30520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30521 $as_echo_n "checking for powf declaration... " >&6; }
30522 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30523 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30524 $as_echo_n "(cached) " >&6
30525 else
30526
30527
30528 ac_ext=cpp
30529 ac_cpp='$CXXCPP $CPPFLAGS'
30530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30533
30534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30535 /* end confdefs.h. */
30536 #include <math.h>
30537 int
30538 main ()
30539 {
30540 powf(0, 0);
30541 ;
30542 return 0;
30543 }
30544 _ACEOF
30545 if ac_fn_cxx_try_compile "$LINENO"; then :
30546 glibcxx_cv_func_powf_use=yes
30547 else
30548 glibcxx_cv_func_powf_use=no
30549 fi
30550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30551 ac_ext=c
30552 ac_cpp='$CPP $CPPFLAGS'
30553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30556
30557
30558 fi
30559
30560 fi
30561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30562 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30563
30564 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30565 for ac_func in powf
30566 do :
30567 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30568 if test "x$ac_cv_func_powf" = x""yes; then :
30569 cat >>confdefs.h <<_ACEOF
30570 #define HAVE_POWF 1
30571 _ACEOF
30572
30573 fi
30574 done
30575
30576 else
30577
30578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30579 $as_echo_n "checking for _powf declaration... " >&6; }
30580 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30581 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30582 $as_echo_n "(cached) " >&6
30583 else
30584
30585
30586 ac_ext=cpp
30587 ac_cpp='$CXXCPP $CPPFLAGS'
30588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30591
30592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30593 /* end confdefs.h. */
30594 #include <math.h>
30595 int
30596 main ()
30597 {
30598 _powf(0, 0);
30599 ;
30600 return 0;
30601 }
30602 _ACEOF
30603 if ac_fn_cxx_try_compile "$LINENO"; then :
30604 glibcxx_cv_func__powf_use=yes
30605 else
30606 glibcxx_cv_func__powf_use=no
30607 fi
30608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30609 ac_ext=c
30610 ac_cpp='$CPP $CPPFLAGS'
30611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30614
30615
30616 fi
30617
30618 fi
30619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30620 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30621
30622 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30623 for ac_func in _powf
30624 do :
30625 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30626 if test "x$ac_cv_func__powf" = x""yes; then :
30627 cat >>confdefs.h <<_ACEOF
30628 #define HAVE__POWF 1
30629 _ACEOF
30630
30631 fi
30632 done
30633
30634 fi
30635 fi
30636
30637
30638
30639
30640
30641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30642 $as_echo_n "checking for sqrtf declaration... " >&6; }
30643 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30644 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30645 $as_echo_n "(cached) " >&6
30646 else
30647
30648
30649 ac_ext=cpp
30650 ac_cpp='$CXXCPP $CPPFLAGS'
30651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30654
30655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30656 /* end confdefs.h. */
30657 #include <math.h>
30658 #ifdef HAVE_IEEEFP_H
30659 #include <ieeefp.h>
30660 #endif
30661
30662 int
30663 main ()
30664 {
30665 sqrtf(0);
30666 ;
30667 return 0;
30668 }
30669 _ACEOF
30670 if ac_fn_cxx_try_compile "$LINENO"; then :
30671 glibcxx_cv_func_sqrtf_use=yes
30672 else
30673 glibcxx_cv_func_sqrtf_use=no
30674 fi
30675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30676 ac_ext=c
30677 ac_cpp='$CPP $CPPFLAGS'
30678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30681
30682
30683 fi
30684
30685 fi
30686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30687 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30688
30689 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30690 for ac_func in sqrtf
30691 do :
30692 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30693 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30694 cat >>confdefs.h <<_ACEOF
30695 #define HAVE_SQRTF 1
30696 _ACEOF
30697
30698 fi
30699 done
30700
30701 else
30702
30703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30704 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30705 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30706 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30707 $as_echo_n "(cached) " >&6
30708 else
30709
30710
30711 ac_ext=cpp
30712 ac_cpp='$CXXCPP $CPPFLAGS'
30713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30716
30717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30718 /* end confdefs.h. */
30719 #include <math.h>
30720 #ifdef HAVE_IEEEFP_H
30721 #include <ieeefp.h>
30722 #endif
30723
30724 int
30725 main ()
30726 {
30727 _sqrtf(0);
30728 ;
30729 return 0;
30730 }
30731 _ACEOF
30732 if ac_fn_cxx_try_compile "$LINENO"; then :
30733 glibcxx_cv_func__sqrtf_use=yes
30734 else
30735 glibcxx_cv_func__sqrtf_use=no
30736 fi
30737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30738 ac_ext=c
30739 ac_cpp='$CPP $CPPFLAGS'
30740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30743
30744
30745 fi
30746
30747 fi
30748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30749 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30750
30751 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30752 for ac_func in _sqrtf
30753 do :
30754 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30755 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30756 cat >>confdefs.h <<_ACEOF
30757 #define HAVE__SQRTF 1
30758 _ACEOF
30759
30760 fi
30761 done
30762
30763 fi
30764 fi
30765
30766
30767
30768
30769
30770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30771 $as_echo_n "checking for sincosf declaration... " >&6; }
30772 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30773 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30774 $as_echo_n "(cached) " >&6
30775 else
30776
30777
30778 ac_ext=cpp
30779 ac_cpp='$CXXCPP $CPPFLAGS'
30780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30783
30784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30785 /* end confdefs.h. */
30786 #include <math.h>
30787 int
30788 main ()
30789 {
30790 sincosf(0, 0, 0);
30791 ;
30792 return 0;
30793 }
30794 _ACEOF
30795 if ac_fn_cxx_try_compile "$LINENO"; then :
30796 glibcxx_cv_func_sincosf_use=yes
30797 else
30798 glibcxx_cv_func_sincosf_use=no
30799 fi
30800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30801 ac_ext=c
30802 ac_cpp='$CPP $CPPFLAGS'
30803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30806
30807
30808 fi
30809
30810 fi
30811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30812 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30813
30814 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30815 for ac_func in sincosf
30816 do :
30817 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30818 if test "x$ac_cv_func_sincosf" = x""yes; then :
30819 cat >>confdefs.h <<_ACEOF
30820 #define HAVE_SINCOSF 1
30821 _ACEOF
30822
30823 fi
30824 done
30825
30826 else
30827
30828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30829 $as_echo_n "checking for _sincosf declaration... " >&6; }
30830 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30831 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30832 $as_echo_n "(cached) " >&6
30833 else
30834
30835
30836 ac_ext=cpp
30837 ac_cpp='$CXXCPP $CPPFLAGS'
30838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30841
30842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30843 /* end confdefs.h. */
30844 #include <math.h>
30845 int
30846 main ()
30847 {
30848 _sincosf(0, 0, 0);
30849 ;
30850 return 0;
30851 }
30852 _ACEOF
30853 if ac_fn_cxx_try_compile "$LINENO"; then :
30854 glibcxx_cv_func__sincosf_use=yes
30855 else
30856 glibcxx_cv_func__sincosf_use=no
30857 fi
30858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30859 ac_ext=c
30860 ac_cpp='$CPP $CPPFLAGS'
30861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30864
30865
30866 fi
30867
30868 fi
30869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30870 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30871
30872 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30873 for ac_func in _sincosf
30874 do :
30875 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30876 if test "x$ac_cv_func__sincosf" = x""yes; then :
30877 cat >>confdefs.h <<_ACEOF
30878 #define HAVE__SINCOSF 1
30879 _ACEOF
30880
30881 fi
30882 done
30883
30884 fi
30885 fi
30886
30887
30888
30889
30890
30891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30892 $as_echo_n "checking for finitef declaration... " >&6; }
30893 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30894 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30895 $as_echo_n "(cached) " >&6
30896 else
30897
30898
30899 ac_ext=cpp
30900 ac_cpp='$CXXCPP $CPPFLAGS'
30901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30904
30905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30906 /* end confdefs.h. */
30907 #include <math.h>
30908 #ifdef HAVE_IEEEFP_H
30909 #include <ieeefp.h>
30910 #endif
30911
30912 int
30913 main ()
30914 {
30915 finitef(0);
30916 ;
30917 return 0;
30918 }
30919 _ACEOF
30920 if ac_fn_cxx_try_compile "$LINENO"; then :
30921 glibcxx_cv_func_finitef_use=yes
30922 else
30923 glibcxx_cv_func_finitef_use=no
30924 fi
30925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30926 ac_ext=c
30927 ac_cpp='$CPP $CPPFLAGS'
30928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30931
30932
30933 fi
30934
30935 fi
30936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30937 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30938
30939 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30940 for ac_func in finitef
30941 do :
30942 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30943 if test "x$ac_cv_func_finitef" = x""yes; then :
30944 cat >>confdefs.h <<_ACEOF
30945 #define HAVE_FINITEF 1
30946 _ACEOF
30947
30948 fi
30949 done
30950
30951 else
30952
30953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30954 $as_echo_n "checking for _finitef declaration... " >&6; }
30955 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30956 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30957 $as_echo_n "(cached) " >&6
30958 else
30959
30960
30961 ac_ext=cpp
30962 ac_cpp='$CXXCPP $CPPFLAGS'
30963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30966
30967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30968 /* end confdefs.h. */
30969 #include <math.h>
30970 #ifdef HAVE_IEEEFP_H
30971 #include <ieeefp.h>
30972 #endif
30973
30974 int
30975 main ()
30976 {
30977 _finitef(0);
30978 ;
30979 return 0;
30980 }
30981 _ACEOF
30982 if ac_fn_cxx_try_compile "$LINENO"; then :
30983 glibcxx_cv_func__finitef_use=yes
30984 else
30985 glibcxx_cv_func__finitef_use=no
30986 fi
30987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30988 ac_ext=c
30989 ac_cpp='$CPP $CPPFLAGS'
30990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30993
30994
30995 fi
30996
30997 fi
30998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30999 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31000
31001 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31002 for ac_func in _finitef
31003 do :
31004 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31005 if test "x$ac_cv_func__finitef" = x""yes; then :
31006 cat >>confdefs.h <<_ACEOF
31007 #define HAVE__FINITEF 1
31008 _ACEOF
31009
31010 fi
31011 done
31012
31013 fi
31014 fi
31015
31016
31017
31018
31019
31020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31021 $as_echo_n "checking for long double trig functions... " >&6; }
31022 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31023 $as_echo_n "(cached) " >&6
31024 else
31025
31026
31027 ac_ext=cpp
31028 ac_cpp='$CXXCPP $CPPFLAGS'
31029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31032
31033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31034 /* end confdefs.h. */
31035 #include <math.h>
31036 int
31037 main ()
31038 {
31039 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31040 ;
31041 return 0;
31042 }
31043 _ACEOF
31044 if ac_fn_cxx_try_compile "$LINENO"; then :
31045 glibcxx_cv_func_long_double_trig_use=yes
31046 else
31047 glibcxx_cv_func_long_double_trig_use=no
31048 fi
31049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31050 ac_ext=c
31051 ac_cpp='$CPP $CPPFLAGS'
31052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31055
31056 fi
31057
31058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31059 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31060 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31061 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31062 do :
31063 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31065 eval as_val=\$$as_ac_var
31066 if test "x$as_val" = x""yes; then :
31067 cat >>confdefs.h <<_ACEOF
31068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31069 _ACEOF
31070
31071 fi
31072 done
31073
31074 else
31075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31076 $as_echo_n "checking for _long double trig functions... " >&6; }
31077 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31078 $as_echo_n "(cached) " >&6
31079 else
31080
31081
31082 ac_ext=cpp
31083 ac_cpp='$CXXCPP $CPPFLAGS'
31084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31087
31088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31089 /* end confdefs.h. */
31090 #include <math.h>
31091 int
31092 main ()
31093 {
31094 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31095 ;
31096 return 0;
31097 }
31098 _ACEOF
31099 if ac_fn_cxx_try_compile "$LINENO"; then :
31100 glibcxx_cv_func__long_double_trig_use=yes
31101 else
31102 glibcxx_cv_func__long_double_trig_use=no
31103 fi
31104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31105 ac_ext=c
31106 ac_cpp='$CPP $CPPFLAGS'
31107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31110
31111 fi
31112
31113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31114 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31115 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31116 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31117 do :
31118 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31120 eval as_val=\$$as_ac_var
31121 if test "x$as_val" = x""yes; then :
31122 cat >>confdefs.h <<_ACEOF
31123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31124 _ACEOF
31125
31126 fi
31127 done
31128
31129 fi
31130 fi
31131
31132
31133
31134
31135
31136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31137 $as_echo_n "checking for long double round functions... " >&6; }
31138 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31139 $as_echo_n "(cached) " >&6
31140 else
31141
31142
31143 ac_ext=cpp
31144 ac_cpp='$CXXCPP $CPPFLAGS'
31145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31148
31149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31150 /* end confdefs.h. */
31151 #include <math.h>
31152 int
31153 main ()
31154 {
31155 ceill (0); floorl (0);
31156 ;
31157 return 0;
31158 }
31159 _ACEOF
31160 if ac_fn_cxx_try_compile "$LINENO"; then :
31161 glibcxx_cv_func_long_double_round_use=yes
31162 else
31163 glibcxx_cv_func_long_double_round_use=no
31164 fi
31165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31166 ac_ext=c
31167 ac_cpp='$CPP $CPPFLAGS'
31168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31171
31172 fi
31173
31174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31175 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31176 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31177 for ac_func in ceill floorl
31178 do :
31179 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31181 eval as_val=\$$as_ac_var
31182 if test "x$as_val" = x""yes; then :
31183 cat >>confdefs.h <<_ACEOF
31184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31185 _ACEOF
31186
31187 fi
31188 done
31189
31190 else
31191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31192 $as_echo_n "checking for _long double round functions... " >&6; }
31193 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31194 $as_echo_n "(cached) " >&6
31195 else
31196
31197
31198 ac_ext=cpp
31199 ac_cpp='$CXXCPP $CPPFLAGS'
31200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31203
31204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31205 /* end confdefs.h. */
31206 #include <math.h>
31207 int
31208 main ()
31209 {
31210 _ceill (0); _floorl (0);
31211 ;
31212 return 0;
31213 }
31214 _ACEOF
31215 if ac_fn_cxx_try_compile "$LINENO"; then :
31216 glibcxx_cv_func__long_double_round_use=yes
31217 else
31218 glibcxx_cv_func__long_double_round_use=no
31219 fi
31220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31221 ac_ext=c
31222 ac_cpp='$CPP $CPPFLAGS'
31223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31226
31227 fi
31228
31229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31230 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31231 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31232 for ac_func in _ceill _floorl
31233 do :
31234 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31235 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31236 eval as_val=\$$as_ac_var
31237 if test "x$as_val" = x""yes; then :
31238 cat >>confdefs.h <<_ACEOF
31239 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31240 _ACEOF
31241
31242 fi
31243 done
31244
31245 fi
31246 fi
31247
31248
31249
31250
31251
31252
31253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31254 $as_echo_n "checking for isnanl declaration... " >&6; }
31255 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31256 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31257 $as_echo_n "(cached) " >&6
31258 else
31259
31260
31261 ac_ext=cpp
31262 ac_cpp='$CXXCPP $CPPFLAGS'
31263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31266
31267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31268 /* end confdefs.h. */
31269 #include <math.h>
31270 #ifdef HAVE_IEEEFP_H
31271 #include <ieeefp.h>
31272 #endif
31273
31274 int
31275 main ()
31276 {
31277 isnanl(0);
31278 ;
31279 return 0;
31280 }
31281 _ACEOF
31282 if ac_fn_cxx_try_compile "$LINENO"; then :
31283 glibcxx_cv_func_isnanl_use=yes
31284 else
31285 glibcxx_cv_func_isnanl_use=no
31286 fi
31287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31288 ac_ext=c
31289 ac_cpp='$CPP $CPPFLAGS'
31290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31293
31294
31295 fi
31296
31297 fi
31298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31299 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31300
31301 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31302 for ac_func in isnanl
31303 do :
31304 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31305 if test "x$ac_cv_func_isnanl" = x""yes; then :
31306 cat >>confdefs.h <<_ACEOF
31307 #define HAVE_ISNANL 1
31308 _ACEOF
31309
31310 fi
31311 done
31312
31313 else
31314
31315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31316 $as_echo_n "checking for _isnanl declaration... " >&6; }
31317 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31318 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31319 $as_echo_n "(cached) " >&6
31320 else
31321
31322
31323 ac_ext=cpp
31324 ac_cpp='$CXXCPP $CPPFLAGS'
31325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31328
31329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31330 /* end confdefs.h. */
31331 #include <math.h>
31332 #ifdef HAVE_IEEEFP_H
31333 #include <ieeefp.h>
31334 #endif
31335
31336 int
31337 main ()
31338 {
31339 _isnanl(0);
31340 ;
31341 return 0;
31342 }
31343 _ACEOF
31344 if ac_fn_cxx_try_compile "$LINENO"; then :
31345 glibcxx_cv_func__isnanl_use=yes
31346 else
31347 glibcxx_cv_func__isnanl_use=no
31348 fi
31349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31350 ac_ext=c
31351 ac_cpp='$CPP $CPPFLAGS'
31352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31355
31356
31357 fi
31358
31359 fi
31360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31361 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31362
31363 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31364 for ac_func in _isnanl
31365 do :
31366 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31367 if test "x$ac_cv_func__isnanl" = x""yes; then :
31368 cat >>confdefs.h <<_ACEOF
31369 #define HAVE__ISNANL 1
31370 _ACEOF
31371
31372 fi
31373 done
31374
31375 fi
31376 fi
31377
31378
31379
31380
31381
31382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31383 $as_echo_n "checking for isinfl declaration... " >&6; }
31384 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31385 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31386 $as_echo_n "(cached) " >&6
31387 else
31388
31389
31390 ac_ext=cpp
31391 ac_cpp='$CXXCPP $CPPFLAGS'
31392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31395
31396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31397 /* end confdefs.h. */
31398 #include <math.h>
31399 #ifdef HAVE_IEEEFP_H
31400 #include <ieeefp.h>
31401 #endif
31402
31403 int
31404 main ()
31405 {
31406 isinfl(0);
31407 ;
31408 return 0;
31409 }
31410 _ACEOF
31411 if ac_fn_cxx_try_compile "$LINENO"; then :
31412 glibcxx_cv_func_isinfl_use=yes
31413 else
31414 glibcxx_cv_func_isinfl_use=no
31415 fi
31416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31417 ac_ext=c
31418 ac_cpp='$CPP $CPPFLAGS'
31419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31422
31423
31424 fi
31425
31426 fi
31427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31428 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31429
31430 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31431 for ac_func in isinfl
31432 do :
31433 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31434 if test "x$ac_cv_func_isinfl" = x""yes; then :
31435 cat >>confdefs.h <<_ACEOF
31436 #define HAVE_ISINFL 1
31437 _ACEOF
31438
31439 fi
31440 done
31441
31442 else
31443
31444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31445 $as_echo_n "checking for _isinfl declaration... " >&6; }
31446 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31447 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31448 $as_echo_n "(cached) " >&6
31449 else
31450
31451
31452 ac_ext=cpp
31453 ac_cpp='$CXXCPP $CPPFLAGS'
31454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31457
31458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31459 /* end confdefs.h. */
31460 #include <math.h>
31461 #ifdef HAVE_IEEEFP_H
31462 #include <ieeefp.h>
31463 #endif
31464
31465 int
31466 main ()
31467 {
31468 _isinfl(0);
31469 ;
31470 return 0;
31471 }
31472 _ACEOF
31473 if ac_fn_cxx_try_compile "$LINENO"; then :
31474 glibcxx_cv_func__isinfl_use=yes
31475 else
31476 glibcxx_cv_func__isinfl_use=no
31477 fi
31478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31479 ac_ext=c
31480 ac_cpp='$CPP $CPPFLAGS'
31481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31484
31485
31486 fi
31487
31488 fi
31489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31490 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31491
31492 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31493 for ac_func in _isinfl
31494 do :
31495 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31496 if test "x$ac_cv_func__isinfl" = x""yes; then :
31497 cat >>confdefs.h <<_ACEOF
31498 #define HAVE__ISINFL 1
31499 _ACEOF
31500
31501 fi
31502 done
31503
31504 fi
31505 fi
31506
31507
31508
31509
31510
31511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31512 $as_echo_n "checking for atan2l declaration... " >&6; }
31513 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31514 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31515 $as_echo_n "(cached) " >&6
31516 else
31517
31518
31519 ac_ext=cpp
31520 ac_cpp='$CXXCPP $CPPFLAGS'
31521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31524
31525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31526 /* end confdefs.h. */
31527 #include <math.h>
31528 int
31529 main ()
31530 {
31531 atan2l(0, 0);
31532 ;
31533 return 0;
31534 }
31535 _ACEOF
31536 if ac_fn_cxx_try_compile "$LINENO"; then :
31537 glibcxx_cv_func_atan2l_use=yes
31538 else
31539 glibcxx_cv_func_atan2l_use=no
31540 fi
31541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31542 ac_ext=c
31543 ac_cpp='$CPP $CPPFLAGS'
31544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31547
31548
31549 fi
31550
31551 fi
31552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31553 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31554
31555 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31556 for ac_func in atan2l
31557 do :
31558 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31559 if test "x$ac_cv_func_atan2l" = x""yes; then :
31560 cat >>confdefs.h <<_ACEOF
31561 #define HAVE_ATAN2L 1
31562 _ACEOF
31563
31564 fi
31565 done
31566
31567 else
31568
31569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31570 $as_echo_n "checking for _atan2l declaration... " >&6; }
31571 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31572 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31573 $as_echo_n "(cached) " >&6
31574 else
31575
31576
31577 ac_ext=cpp
31578 ac_cpp='$CXXCPP $CPPFLAGS'
31579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31582
31583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31584 /* end confdefs.h. */
31585 #include <math.h>
31586 int
31587 main ()
31588 {
31589 _atan2l(0, 0);
31590 ;
31591 return 0;
31592 }
31593 _ACEOF
31594 if ac_fn_cxx_try_compile "$LINENO"; then :
31595 glibcxx_cv_func__atan2l_use=yes
31596 else
31597 glibcxx_cv_func__atan2l_use=no
31598 fi
31599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31600 ac_ext=c
31601 ac_cpp='$CPP $CPPFLAGS'
31602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31605
31606
31607 fi
31608
31609 fi
31610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31611 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31612
31613 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31614 for ac_func in _atan2l
31615 do :
31616 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31617 if test "x$ac_cv_func__atan2l" = x""yes; then :
31618 cat >>confdefs.h <<_ACEOF
31619 #define HAVE__ATAN2L 1
31620 _ACEOF
31621
31622 fi
31623 done
31624
31625 fi
31626 fi
31627
31628
31629
31630
31631
31632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31633 $as_echo_n "checking for expl declaration... " >&6; }
31634 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31635 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31636 $as_echo_n "(cached) " >&6
31637 else
31638
31639
31640 ac_ext=cpp
31641 ac_cpp='$CXXCPP $CPPFLAGS'
31642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31645
31646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31647 /* end confdefs.h. */
31648 #include <math.h>
31649 #ifdef HAVE_IEEEFP_H
31650 #include <ieeefp.h>
31651 #endif
31652
31653 int
31654 main ()
31655 {
31656 expl(0);
31657 ;
31658 return 0;
31659 }
31660 _ACEOF
31661 if ac_fn_cxx_try_compile "$LINENO"; then :
31662 glibcxx_cv_func_expl_use=yes
31663 else
31664 glibcxx_cv_func_expl_use=no
31665 fi
31666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31667 ac_ext=c
31668 ac_cpp='$CPP $CPPFLAGS'
31669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31672
31673
31674 fi
31675
31676 fi
31677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31678 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31679
31680 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31681 for ac_func in expl
31682 do :
31683 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31684 if test "x$ac_cv_func_expl" = x""yes; then :
31685 cat >>confdefs.h <<_ACEOF
31686 #define HAVE_EXPL 1
31687 _ACEOF
31688
31689 fi
31690 done
31691
31692 else
31693
31694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31695 $as_echo_n "checking for _expl declaration... " >&6; }
31696 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31697 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31698 $as_echo_n "(cached) " >&6
31699 else
31700
31701
31702 ac_ext=cpp
31703 ac_cpp='$CXXCPP $CPPFLAGS'
31704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31707
31708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31709 /* end confdefs.h. */
31710 #include <math.h>
31711 #ifdef HAVE_IEEEFP_H
31712 #include <ieeefp.h>
31713 #endif
31714
31715 int
31716 main ()
31717 {
31718 _expl(0);
31719 ;
31720 return 0;
31721 }
31722 _ACEOF
31723 if ac_fn_cxx_try_compile "$LINENO"; then :
31724 glibcxx_cv_func__expl_use=yes
31725 else
31726 glibcxx_cv_func__expl_use=no
31727 fi
31728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31729 ac_ext=c
31730 ac_cpp='$CPP $CPPFLAGS'
31731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31734
31735
31736 fi
31737
31738 fi
31739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31740 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31741
31742 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31743 for ac_func in _expl
31744 do :
31745 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31746 if test "x$ac_cv_func__expl" = x""yes; then :
31747 cat >>confdefs.h <<_ACEOF
31748 #define HAVE__EXPL 1
31749 _ACEOF
31750
31751 fi
31752 done
31753
31754 fi
31755 fi
31756
31757
31758
31759
31760
31761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31762 $as_echo_n "checking for fabsl declaration... " >&6; }
31763 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31764 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31765 $as_echo_n "(cached) " >&6
31766 else
31767
31768
31769 ac_ext=cpp
31770 ac_cpp='$CXXCPP $CPPFLAGS'
31771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31774
31775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31776 /* end confdefs.h. */
31777 #include <math.h>
31778 #ifdef HAVE_IEEEFP_H
31779 #include <ieeefp.h>
31780 #endif
31781
31782 int
31783 main ()
31784 {
31785 fabsl(0);
31786 ;
31787 return 0;
31788 }
31789 _ACEOF
31790 if ac_fn_cxx_try_compile "$LINENO"; then :
31791 glibcxx_cv_func_fabsl_use=yes
31792 else
31793 glibcxx_cv_func_fabsl_use=no
31794 fi
31795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31796 ac_ext=c
31797 ac_cpp='$CPP $CPPFLAGS'
31798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31801
31802
31803 fi
31804
31805 fi
31806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31807 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31808
31809 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31810 for ac_func in fabsl
31811 do :
31812 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31813 if test "x$ac_cv_func_fabsl" = x""yes; then :
31814 cat >>confdefs.h <<_ACEOF
31815 #define HAVE_FABSL 1
31816 _ACEOF
31817
31818 fi
31819 done
31820
31821 else
31822
31823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31824 $as_echo_n "checking for _fabsl declaration... " >&6; }
31825 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31826 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31827 $as_echo_n "(cached) " >&6
31828 else
31829
31830
31831 ac_ext=cpp
31832 ac_cpp='$CXXCPP $CPPFLAGS'
31833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31836
31837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31838 /* end confdefs.h. */
31839 #include <math.h>
31840 #ifdef HAVE_IEEEFP_H
31841 #include <ieeefp.h>
31842 #endif
31843
31844 int
31845 main ()
31846 {
31847 _fabsl(0);
31848 ;
31849 return 0;
31850 }
31851 _ACEOF
31852 if ac_fn_cxx_try_compile "$LINENO"; then :
31853 glibcxx_cv_func__fabsl_use=yes
31854 else
31855 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
31869 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31870
31871 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31872 for ac_func in _fabsl
31873 do :
31874 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31875 if test "x$ac_cv_func__fabsl" = x""yes; then :
31876 cat >>confdefs.h <<_ACEOF
31877 #define HAVE__FABSL 1
31878 _ACEOF
31879
31880 fi
31881 done
31882
31883 fi
31884 fi
31885
31886
31887
31888
31889
31890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31891 $as_echo_n "checking for fmodl declaration... " >&6; }
31892 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31893 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31894 $as_echo_n "(cached) " >&6
31895 else
31896
31897
31898 ac_ext=cpp
31899 ac_cpp='$CXXCPP $CPPFLAGS'
31900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31903
31904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31905 /* end confdefs.h. */
31906 #include <math.h>
31907 int
31908 main ()
31909 {
31910 fmodl(0, 0);
31911 ;
31912 return 0;
31913 }
31914 _ACEOF
31915 if ac_fn_cxx_try_compile "$LINENO"; then :
31916 glibcxx_cv_func_fmodl_use=yes
31917 else
31918 glibcxx_cv_func_fmodl_use=no
31919 fi
31920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31921 ac_ext=c
31922 ac_cpp='$CPP $CPPFLAGS'
31923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31926
31927
31928 fi
31929
31930 fi
31931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31932 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31933
31934 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31935 for ac_func in fmodl
31936 do :
31937 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31938 if test "x$ac_cv_func_fmodl" = x""yes; then :
31939 cat >>confdefs.h <<_ACEOF
31940 #define HAVE_FMODL 1
31941 _ACEOF
31942
31943 fi
31944 done
31945
31946 else
31947
31948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31949 $as_echo_n "checking for _fmodl declaration... " >&6; }
31950 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31951 if test "${glibcxx_cv_func__fmodl_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 _fmodl(0, 0);
31969 ;
31970 return 0;
31971 }
31972 _ACEOF
31973 if ac_fn_cxx_try_compile "$LINENO"; then :
31974 glibcxx_cv_func__fmodl_use=yes
31975 else
31976 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
31990 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31991
31992 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31993 for ac_func in _fmodl
31994 do :
31995 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31996 if test "x$ac_cv_func__fmodl" = x""yes; then :
31997 cat >>confdefs.h <<_ACEOF
31998 #define HAVE__FMODL 1
31999 _ACEOF
32000
32001 fi
32002 done
32003
32004 fi
32005 fi
32006
32007
32008
32009
32010
32011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32012 $as_echo_n "checking for frexpl declaration... " >&6; }
32013 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32014 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32015 $as_echo_n "(cached) " >&6
32016 else
32017
32018
32019 ac_ext=cpp
32020 ac_cpp='$CXXCPP $CPPFLAGS'
32021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32024
32025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32026 /* end confdefs.h. */
32027 #include <math.h>
32028 int
32029 main ()
32030 {
32031 frexpl(0, 0);
32032 ;
32033 return 0;
32034 }
32035 _ACEOF
32036 if ac_fn_cxx_try_compile "$LINENO"; then :
32037 glibcxx_cv_func_frexpl_use=yes
32038 else
32039 glibcxx_cv_func_frexpl_use=no
32040 fi
32041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32042 ac_ext=c
32043 ac_cpp='$CPP $CPPFLAGS'
32044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32047
32048
32049 fi
32050
32051 fi
32052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32053 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32054
32055 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32056 for ac_func in frexpl
32057 do :
32058 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32059 if test "x$ac_cv_func_frexpl" = x""yes; then :
32060 cat >>confdefs.h <<_ACEOF
32061 #define HAVE_FREXPL 1
32062 _ACEOF
32063
32064 fi
32065 done
32066
32067 else
32068
32069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32070 $as_echo_n "checking for _frexpl declaration... " >&6; }
32071 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32072 if test "${glibcxx_cv_func__frexpl_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 int
32087 main ()
32088 {
32089 _frexpl(0, 0);
32090 ;
32091 return 0;
32092 }
32093 _ACEOF
32094 if ac_fn_cxx_try_compile "$LINENO"; then :
32095 glibcxx_cv_func__frexpl_use=yes
32096 else
32097 glibcxx_cv_func__frexpl_use=no
32098 fi
32099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32100 ac_ext=c
32101 ac_cpp='$CPP $CPPFLAGS'
32102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32105
32106
32107 fi
32108
32109 fi
32110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32111 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32112
32113 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32114 for ac_func in _frexpl
32115 do :
32116 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32117 if test "x$ac_cv_func__frexpl" = x""yes; then :
32118 cat >>confdefs.h <<_ACEOF
32119 #define HAVE__FREXPL 1
32120 _ACEOF
32121
32122 fi
32123 done
32124
32125 fi
32126 fi
32127
32128
32129
32130
32131
32132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32133 $as_echo_n "checking for hypotl declaration... " >&6; }
32134 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32135 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32136 $as_echo_n "(cached) " >&6
32137 else
32138
32139
32140 ac_ext=cpp
32141 ac_cpp='$CXXCPP $CPPFLAGS'
32142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32145
32146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32147 /* end confdefs.h. */
32148 #include <math.h>
32149 int
32150 main ()
32151 {
32152 hypotl(0, 0);
32153 ;
32154 return 0;
32155 }
32156 _ACEOF
32157 if ac_fn_cxx_try_compile "$LINENO"; then :
32158 glibcxx_cv_func_hypotl_use=yes
32159 else
32160 glibcxx_cv_func_hypotl_use=no
32161 fi
32162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32163 ac_ext=c
32164 ac_cpp='$CPP $CPPFLAGS'
32165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32168
32169
32170 fi
32171
32172 fi
32173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32174 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32175
32176 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32177 for ac_func in hypotl
32178 do :
32179 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32180 if test "x$ac_cv_func_hypotl" = x""yes; then :
32181 cat >>confdefs.h <<_ACEOF
32182 #define HAVE_HYPOTL 1
32183 _ACEOF
32184
32185 fi
32186 done
32187
32188 else
32189
32190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32191 $as_echo_n "checking for _hypotl declaration... " >&6; }
32192 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32193 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32194 $as_echo_n "(cached) " >&6
32195 else
32196
32197
32198 ac_ext=cpp
32199 ac_cpp='$CXXCPP $CPPFLAGS'
32200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32203
32204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32205 /* end confdefs.h. */
32206 #include <math.h>
32207 int
32208 main ()
32209 {
32210 _hypotl(0, 0);
32211 ;
32212 return 0;
32213 }
32214 _ACEOF
32215 if ac_fn_cxx_try_compile "$LINENO"; then :
32216 glibcxx_cv_func__hypotl_use=yes
32217 else
32218 glibcxx_cv_func__hypotl_use=no
32219 fi
32220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32221 ac_ext=c
32222 ac_cpp='$CPP $CPPFLAGS'
32223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32226
32227
32228 fi
32229
32230 fi
32231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32232 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32233
32234 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32235 for ac_func in _hypotl
32236 do :
32237 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32238 if test "x$ac_cv_func__hypotl" = x""yes; then :
32239 cat >>confdefs.h <<_ACEOF
32240 #define HAVE__HYPOTL 1
32241 _ACEOF
32242
32243 fi
32244 done
32245
32246 fi
32247 fi
32248
32249
32250
32251
32252
32253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32254 $as_echo_n "checking for ldexpl declaration... " >&6; }
32255 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32256 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32257 $as_echo_n "(cached) " >&6
32258 else
32259
32260
32261 ac_ext=cpp
32262 ac_cpp='$CXXCPP $CPPFLAGS'
32263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32266
32267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32268 /* end confdefs.h. */
32269 #include <math.h>
32270 int
32271 main ()
32272 {
32273 ldexpl(0, 0);
32274 ;
32275 return 0;
32276 }
32277 _ACEOF
32278 if ac_fn_cxx_try_compile "$LINENO"; then :
32279 glibcxx_cv_func_ldexpl_use=yes
32280 else
32281 glibcxx_cv_func_ldexpl_use=no
32282 fi
32283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32284 ac_ext=c
32285 ac_cpp='$CPP $CPPFLAGS'
32286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32289
32290
32291 fi
32292
32293 fi
32294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32295 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32296
32297 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32298 for ac_func in ldexpl
32299 do :
32300 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32301 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32302 cat >>confdefs.h <<_ACEOF
32303 #define HAVE_LDEXPL 1
32304 _ACEOF
32305
32306 fi
32307 done
32308
32309 else
32310
32311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32312 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32313 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32314 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32315 $as_echo_n "(cached) " >&6
32316 else
32317
32318
32319 ac_ext=cpp
32320 ac_cpp='$CXXCPP $CPPFLAGS'
32321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32324
32325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32326 /* end confdefs.h. */
32327 #include <math.h>
32328 int
32329 main ()
32330 {
32331 _ldexpl(0, 0);
32332 ;
32333 return 0;
32334 }
32335 _ACEOF
32336 if ac_fn_cxx_try_compile "$LINENO"; then :
32337 glibcxx_cv_func__ldexpl_use=yes
32338 else
32339 glibcxx_cv_func__ldexpl_use=no
32340 fi
32341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32342 ac_ext=c
32343 ac_cpp='$CPP $CPPFLAGS'
32344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32347
32348
32349 fi
32350
32351 fi
32352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32353 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32354
32355 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32356 for ac_func in _ldexpl
32357 do :
32358 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32359 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32360 cat >>confdefs.h <<_ACEOF
32361 #define HAVE__LDEXPL 1
32362 _ACEOF
32363
32364 fi
32365 done
32366
32367 fi
32368 fi
32369
32370
32371
32372
32373
32374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32375 $as_echo_n "checking for logl declaration... " >&6; }
32376 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32377 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32378 $as_echo_n "(cached) " >&6
32379 else
32380
32381
32382 ac_ext=cpp
32383 ac_cpp='$CXXCPP $CPPFLAGS'
32384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32387
32388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32389 /* end confdefs.h. */
32390 #include <math.h>
32391 #ifdef HAVE_IEEEFP_H
32392 #include <ieeefp.h>
32393 #endif
32394
32395 int
32396 main ()
32397 {
32398 logl(0);
32399 ;
32400 return 0;
32401 }
32402 _ACEOF
32403 if ac_fn_cxx_try_compile "$LINENO"; then :
32404 glibcxx_cv_func_logl_use=yes
32405 else
32406 glibcxx_cv_func_logl_use=no
32407 fi
32408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32409 ac_ext=c
32410 ac_cpp='$CPP $CPPFLAGS'
32411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32414
32415
32416 fi
32417
32418 fi
32419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32420 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32421
32422 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32423 for ac_func in logl
32424 do :
32425 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32426 if test "x$ac_cv_func_logl" = x""yes; then :
32427 cat >>confdefs.h <<_ACEOF
32428 #define HAVE_LOGL 1
32429 _ACEOF
32430
32431 fi
32432 done
32433
32434 else
32435
32436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32437 $as_echo_n "checking for _logl declaration... " >&6; }
32438 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32439 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32440 $as_echo_n "(cached) " >&6
32441 else
32442
32443
32444 ac_ext=cpp
32445 ac_cpp='$CXXCPP $CPPFLAGS'
32446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32449
32450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32451 /* end confdefs.h. */
32452 #include <math.h>
32453 #ifdef HAVE_IEEEFP_H
32454 #include <ieeefp.h>
32455 #endif
32456
32457 int
32458 main ()
32459 {
32460 _logl(0);
32461 ;
32462 return 0;
32463 }
32464 _ACEOF
32465 if ac_fn_cxx_try_compile "$LINENO"; then :
32466 glibcxx_cv_func__logl_use=yes
32467 else
32468 glibcxx_cv_func__logl_use=no
32469 fi
32470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32471 ac_ext=c
32472 ac_cpp='$CPP $CPPFLAGS'
32473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32476
32477
32478 fi
32479
32480 fi
32481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32482 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32483
32484 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32485 for ac_func in _logl
32486 do :
32487 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32488 if test "x$ac_cv_func__logl" = x""yes; then :
32489 cat >>confdefs.h <<_ACEOF
32490 #define HAVE__LOGL 1
32491 _ACEOF
32492
32493 fi
32494 done
32495
32496 fi
32497 fi
32498
32499
32500
32501
32502
32503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32504 $as_echo_n "checking for log10l declaration... " >&6; }
32505 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32506 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32507 $as_echo_n "(cached) " >&6
32508 else
32509
32510
32511 ac_ext=cpp
32512 ac_cpp='$CXXCPP $CPPFLAGS'
32513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32516
32517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32518 /* end confdefs.h. */
32519 #include <math.h>
32520 #ifdef HAVE_IEEEFP_H
32521 #include <ieeefp.h>
32522 #endif
32523
32524 int
32525 main ()
32526 {
32527 log10l(0);
32528 ;
32529 return 0;
32530 }
32531 _ACEOF
32532 if ac_fn_cxx_try_compile "$LINENO"; then :
32533 glibcxx_cv_func_log10l_use=yes
32534 else
32535 glibcxx_cv_func_log10l_use=no
32536 fi
32537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32538 ac_ext=c
32539 ac_cpp='$CPP $CPPFLAGS'
32540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32543
32544
32545 fi
32546
32547 fi
32548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32549 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32550
32551 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32552 for ac_func in log10l
32553 do :
32554 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32555 if test "x$ac_cv_func_log10l" = x""yes; then :
32556 cat >>confdefs.h <<_ACEOF
32557 #define HAVE_LOG10L 1
32558 _ACEOF
32559
32560 fi
32561 done
32562
32563 else
32564
32565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32566 $as_echo_n "checking for _log10l declaration... " >&6; }
32567 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32568 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32569 $as_echo_n "(cached) " >&6
32570 else
32571
32572
32573 ac_ext=cpp
32574 ac_cpp='$CXXCPP $CPPFLAGS'
32575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32578
32579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32580 /* end confdefs.h. */
32581 #include <math.h>
32582 #ifdef HAVE_IEEEFP_H
32583 #include <ieeefp.h>
32584 #endif
32585
32586 int
32587 main ()
32588 {
32589 _log10l(0);
32590 ;
32591 return 0;
32592 }
32593 _ACEOF
32594 if ac_fn_cxx_try_compile "$LINENO"; then :
32595 glibcxx_cv_func__log10l_use=yes
32596 else
32597 glibcxx_cv_func__log10l_use=no
32598 fi
32599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32600 ac_ext=c
32601 ac_cpp='$CPP $CPPFLAGS'
32602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32605
32606
32607 fi
32608
32609 fi
32610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32611 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32612
32613 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32614 for ac_func in _log10l
32615 do :
32616 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32617 if test "x$ac_cv_func__log10l" = x""yes; then :
32618 cat >>confdefs.h <<_ACEOF
32619 #define HAVE__LOG10L 1
32620 _ACEOF
32621
32622 fi
32623 done
32624
32625 fi
32626 fi
32627
32628
32629
32630
32631
32632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32633 $as_echo_n "checking for modfl declaration... " >&6; }
32634 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32635 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32636 $as_echo_n "(cached) " >&6
32637 else
32638
32639
32640 ac_ext=cpp
32641 ac_cpp='$CXXCPP $CPPFLAGS'
32642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32645
32646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32647 /* end confdefs.h. */
32648 #include <math.h>
32649 int
32650 main ()
32651 {
32652 modfl(0, 0);
32653 ;
32654 return 0;
32655 }
32656 _ACEOF
32657 if ac_fn_cxx_try_compile "$LINENO"; then :
32658 glibcxx_cv_func_modfl_use=yes
32659 else
32660 glibcxx_cv_func_modfl_use=no
32661 fi
32662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32663 ac_ext=c
32664 ac_cpp='$CPP $CPPFLAGS'
32665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32668
32669
32670 fi
32671
32672 fi
32673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32674 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32675
32676 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32677 for ac_func in modfl
32678 do :
32679 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32680 if test "x$ac_cv_func_modfl" = x""yes; then :
32681 cat >>confdefs.h <<_ACEOF
32682 #define HAVE_MODFL 1
32683 _ACEOF
32684
32685 fi
32686 done
32687
32688 else
32689
32690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32691 $as_echo_n "checking for _modfl declaration... " >&6; }
32692 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32693 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32694 $as_echo_n "(cached) " >&6
32695 else
32696
32697
32698 ac_ext=cpp
32699 ac_cpp='$CXXCPP $CPPFLAGS'
32700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32703
32704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32705 /* end confdefs.h. */
32706 #include <math.h>
32707 int
32708 main ()
32709 {
32710 _modfl(0, 0);
32711 ;
32712 return 0;
32713 }
32714 _ACEOF
32715 if ac_fn_cxx_try_compile "$LINENO"; then :
32716 glibcxx_cv_func__modfl_use=yes
32717 else
32718 glibcxx_cv_func__modfl_use=no
32719 fi
32720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32721 ac_ext=c
32722 ac_cpp='$CPP $CPPFLAGS'
32723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32726
32727
32728 fi
32729
32730 fi
32731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32732 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32733
32734 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32735 for ac_func in _modfl
32736 do :
32737 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32738 if test "x$ac_cv_func__modfl" = x""yes; then :
32739 cat >>confdefs.h <<_ACEOF
32740 #define HAVE__MODFL 1
32741 _ACEOF
32742
32743 fi
32744 done
32745
32746 fi
32747 fi
32748
32749
32750
32751
32752
32753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32754 $as_echo_n "checking for powl declaration... " >&6; }
32755 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32756 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32757 $as_echo_n "(cached) " >&6
32758 else
32759
32760
32761 ac_ext=cpp
32762 ac_cpp='$CXXCPP $CPPFLAGS'
32763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32766
32767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32768 /* end confdefs.h. */
32769 #include <math.h>
32770 int
32771 main ()
32772 {
32773 powl(0, 0);
32774 ;
32775 return 0;
32776 }
32777 _ACEOF
32778 if ac_fn_cxx_try_compile "$LINENO"; then :
32779 glibcxx_cv_func_powl_use=yes
32780 else
32781 glibcxx_cv_func_powl_use=no
32782 fi
32783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32784 ac_ext=c
32785 ac_cpp='$CPP $CPPFLAGS'
32786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32789
32790
32791 fi
32792
32793 fi
32794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32795 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32796
32797 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32798 for ac_func in powl
32799 do :
32800 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32801 if test "x$ac_cv_func_powl" = x""yes; then :
32802 cat >>confdefs.h <<_ACEOF
32803 #define HAVE_POWL 1
32804 _ACEOF
32805
32806 fi
32807 done
32808
32809 else
32810
32811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32812 $as_echo_n "checking for _powl declaration... " >&6; }
32813 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32814 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32815 $as_echo_n "(cached) " >&6
32816 else
32817
32818
32819 ac_ext=cpp
32820 ac_cpp='$CXXCPP $CPPFLAGS'
32821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32824
32825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32826 /* end confdefs.h. */
32827 #include <math.h>
32828 int
32829 main ()
32830 {
32831 _powl(0, 0);
32832 ;
32833 return 0;
32834 }
32835 _ACEOF
32836 if ac_fn_cxx_try_compile "$LINENO"; then :
32837 glibcxx_cv_func__powl_use=yes
32838 else
32839 glibcxx_cv_func__powl_use=no
32840 fi
32841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32842 ac_ext=c
32843 ac_cpp='$CPP $CPPFLAGS'
32844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32847
32848
32849 fi
32850
32851 fi
32852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32853 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32854
32855 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32856 for ac_func in _powl
32857 do :
32858 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32859 if test "x$ac_cv_func__powl" = x""yes; then :
32860 cat >>confdefs.h <<_ACEOF
32861 #define HAVE__POWL 1
32862 _ACEOF
32863
32864 fi
32865 done
32866
32867 fi
32868 fi
32869
32870
32871
32872
32873
32874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32875 $as_echo_n "checking for sqrtl declaration... " >&6; }
32876 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32877 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32878 $as_echo_n "(cached) " >&6
32879 else
32880
32881
32882 ac_ext=cpp
32883 ac_cpp='$CXXCPP $CPPFLAGS'
32884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32887
32888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32889 /* end confdefs.h. */
32890 #include <math.h>
32891 #ifdef HAVE_IEEEFP_H
32892 #include <ieeefp.h>
32893 #endif
32894
32895 int
32896 main ()
32897 {
32898 sqrtl(0);
32899 ;
32900 return 0;
32901 }
32902 _ACEOF
32903 if ac_fn_cxx_try_compile "$LINENO"; then :
32904 glibcxx_cv_func_sqrtl_use=yes
32905 else
32906 glibcxx_cv_func_sqrtl_use=no
32907 fi
32908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32909 ac_ext=c
32910 ac_cpp='$CPP $CPPFLAGS'
32911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32914
32915
32916 fi
32917
32918 fi
32919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32920 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32921
32922 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32923 for ac_func in sqrtl
32924 do :
32925 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32926 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32927 cat >>confdefs.h <<_ACEOF
32928 #define HAVE_SQRTL 1
32929 _ACEOF
32930
32931 fi
32932 done
32933
32934 else
32935
32936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32937 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32938 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32939 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32940 $as_echo_n "(cached) " >&6
32941 else
32942
32943
32944 ac_ext=cpp
32945 ac_cpp='$CXXCPP $CPPFLAGS'
32946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32949
32950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32951 /* end confdefs.h. */
32952 #include <math.h>
32953 #ifdef HAVE_IEEEFP_H
32954 #include <ieeefp.h>
32955 #endif
32956
32957 int
32958 main ()
32959 {
32960 _sqrtl(0);
32961 ;
32962 return 0;
32963 }
32964 _ACEOF
32965 if ac_fn_cxx_try_compile "$LINENO"; then :
32966 glibcxx_cv_func__sqrtl_use=yes
32967 else
32968 glibcxx_cv_func__sqrtl_use=no
32969 fi
32970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32971 ac_ext=c
32972 ac_cpp='$CPP $CPPFLAGS'
32973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32976
32977
32978 fi
32979
32980 fi
32981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32982 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32983
32984 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32985 for ac_func in _sqrtl
32986 do :
32987 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32988 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32989 cat >>confdefs.h <<_ACEOF
32990 #define HAVE__SQRTL 1
32991 _ACEOF
32992
32993 fi
32994 done
32995
32996 fi
32997 fi
32998
32999
33000
33001
33002
33003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33004 $as_echo_n "checking for sincosl declaration... " >&6; }
33005 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33006 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33007 $as_echo_n "(cached) " >&6
33008 else
33009
33010
33011 ac_ext=cpp
33012 ac_cpp='$CXXCPP $CPPFLAGS'
33013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33016
33017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33018 /* end confdefs.h. */
33019 #include <math.h>
33020 int
33021 main ()
33022 {
33023 sincosl(0, 0, 0);
33024 ;
33025 return 0;
33026 }
33027 _ACEOF
33028 if ac_fn_cxx_try_compile "$LINENO"; then :
33029 glibcxx_cv_func_sincosl_use=yes
33030 else
33031 glibcxx_cv_func_sincosl_use=no
33032 fi
33033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33034 ac_ext=c
33035 ac_cpp='$CPP $CPPFLAGS'
33036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33039
33040
33041 fi
33042
33043 fi
33044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33045 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33046
33047 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33048 for ac_func in sincosl
33049 do :
33050 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33051 if test "x$ac_cv_func_sincosl" = x""yes; then :
33052 cat >>confdefs.h <<_ACEOF
33053 #define HAVE_SINCOSL 1
33054 _ACEOF
33055
33056 fi
33057 done
33058
33059 else
33060
33061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33062 $as_echo_n "checking for _sincosl declaration... " >&6; }
33063 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33064 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33065 $as_echo_n "(cached) " >&6
33066 else
33067
33068
33069 ac_ext=cpp
33070 ac_cpp='$CXXCPP $CPPFLAGS'
33071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33074
33075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33076 /* end confdefs.h. */
33077 #include <math.h>
33078 int
33079 main ()
33080 {
33081 _sincosl(0, 0, 0);
33082 ;
33083 return 0;
33084 }
33085 _ACEOF
33086 if ac_fn_cxx_try_compile "$LINENO"; then :
33087 glibcxx_cv_func__sincosl_use=yes
33088 else
33089 glibcxx_cv_func__sincosl_use=no
33090 fi
33091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33092 ac_ext=c
33093 ac_cpp='$CPP $CPPFLAGS'
33094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33097
33098
33099 fi
33100
33101 fi
33102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33103 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33104
33105 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33106 for ac_func in _sincosl
33107 do :
33108 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33109 if test "x$ac_cv_func__sincosl" = x""yes; then :
33110 cat >>confdefs.h <<_ACEOF
33111 #define HAVE__SINCOSL 1
33112 _ACEOF
33113
33114 fi
33115 done
33116
33117 fi
33118 fi
33119
33120
33121
33122
33123
33124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33125 $as_echo_n "checking for finitel declaration... " >&6; }
33126 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33127 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33128 $as_echo_n "(cached) " >&6
33129 else
33130
33131
33132 ac_ext=cpp
33133 ac_cpp='$CXXCPP $CPPFLAGS'
33134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33137
33138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33139 /* end confdefs.h. */
33140 #include <math.h>
33141 #ifdef HAVE_IEEEFP_H
33142 #include <ieeefp.h>
33143 #endif
33144
33145 int
33146 main ()
33147 {
33148 finitel(0);
33149 ;
33150 return 0;
33151 }
33152 _ACEOF
33153 if ac_fn_cxx_try_compile "$LINENO"; then :
33154 glibcxx_cv_func_finitel_use=yes
33155 else
33156 glibcxx_cv_func_finitel_use=no
33157 fi
33158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33159 ac_ext=c
33160 ac_cpp='$CPP $CPPFLAGS'
33161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33164
33165
33166 fi
33167
33168 fi
33169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33170 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33171
33172 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33173 for ac_func in finitel
33174 do :
33175 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33176 if test "x$ac_cv_func_finitel" = x""yes; then :
33177 cat >>confdefs.h <<_ACEOF
33178 #define HAVE_FINITEL 1
33179 _ACEOF
33180
33181 fi
33182 done
33183
33184 else
33185
33186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33187 $as_echo_n "checking for _finitel declaration... " >&6; }
33188 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33189 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33190 $as_echo_n "(cached) " >&6
33191 else
33192
33193
33194 ac_ext=cpp
33195 ac_cpp='$CXXCPP $CPPFLAGS'
33196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33199
33200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33201 /* end confdefs.h. */
33202 #include <math.h>
33203 #ifdef HAVE_IEEEFP_H
33204 #include <ieeefp.h>
33205 #endif
33206
33207 int
33208 main ()
33209 {
33210 _finitel(0);
33211 ;
33212 return 0;
33213 }
33214 _ACEOF
33215 if ac_fn_cxx_try_compile "$LINENO"; then :
33216 glibcxx_cv_func__finitel_use=yes
33217 else
33218 glibcxx_cv_func__finitel_use=no
33219 fi
33220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33221 ac_ext=c
33222 ac_cpp='$CPP $CPPFLAGS'
33223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33226
33227
33228 fi
33229
33230 fi
33231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33232 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33233
33234 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33235 for ac_func in _finitel
33236 do :
33237 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33238 if test "x$ac_cv_func__finitel" = x""yes; then :
33239 cat >>confdefs.h <<_ACEOF
33240 #define HAVE__FINITEL 1
33241 _ACEOF
33242
33243 fi
33244 done
33245
33246 fi
33247 fi
33248
33249
33250
33251
33252 LIBS="$ac_save_LIBS"
33253 CXXFLAGS="$ac_save_CXXFLAGS"
33254
33255
33256 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33257 ac_save_CXXFLAGS="$CXXFLAGS"
33258 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33259
33260
33261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33262 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33263 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33264 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33265 $as_echo_n "(cached) " >&6
33266 else
33267
33268
33269 ac_ext=cpp
33270 ac_cpp='$CXXCPP $CPPFLAGS'
33271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33274
33275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33276 /* end confdefs.h. */
33277 #include <stdlib.h>
33278 int
33279 main ()
33280 {
33281 at_quick_exit(0);
33282 ;
33283 return 0;
33284 }
33285 _ACEOF
33286 if ac_fn_cxx_try_compile "$LINENO"; then :
33287 glibcxx_cv_func_at_quick_exit_use=yes
33288 else
33289 glibcxx_cv_func_at_quick_exit_use=no
33290 fi
33291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33292 ac_ext=c
33293 ac_cpp='$CPP $CPPFLAGS'
33294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33297
33298
33299 fi
33300
33301 fi
33302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33303 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33304 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33305 for ac_func in at_quick_exit
33306 do :
33307 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33308 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33309 cat >>confdefs.h <<_ACEOF
33310 #define HAVE_AT_QUICK_EXIT 1
33311 _ACEOF
33312
33313 fi
33314 done
33315
33316 fi
33317
33318
33319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33320 $as_echo_n "checking for quick_exit declaration... " >&6; }
33321 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33322 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33323 $as_echo_n "(cached) " >&6
33324 else
33325
33326
33327 ac_ext=cpp
33328 ac_cpp='$CXXCPP $CPPFLAGS'
33329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33332
33333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33334 /* end confdefs.h. */
33335 #include <stdlib.h>
33336 int
33337 main ()
33338 {
33339 quick_exit(0);
33340 ;
33341 return 0;
33342 }
33343 _ACEOF
33344 if ac_fn_cxx_try_compile "$LINENO"; then :
33345 glibcxx_cv_func_quick_exit_use=yes
33346 else
33347 glibcxx_cv_func_quick_exit_use=no
33348 fi
33349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33350 ac_ext=c
33351 ac_cpp='$CPP $CPPFLAGS'
33352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33355
33356
33357 fi
33358
33359 fi
33360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33361 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33362 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33363 for ac_func in quick_exit
33364 do :
33365 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33366 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33367 cat >>confdefs.h <<_ACEOF
33368 #define HAVE_QUICK_EXIT 1
33369 _ACEOF
33370
33371 fi
33372 done
33373
33374 fi
33375
33376
33377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33378 $as_echo_n "checking for strtold declaration... " >&6; }
33379 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33380 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33381 $as_echo_n "(cached) " >&6
33382 else
33383
33384
33385 ac_ext=cpp
33386 ac_cpp='$CXXCPP $CPPFLAGS'
33387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33390
33391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33392 /* end confdefs.h. */
33393 #include <stdlib.h>
33394 int
33395 main ()
33396 {
33397 strtold(0, 0);
33398 ;
33399 return 0;
33400 }
33401 _ACEOF
33402 if ac_fn_cxx_try_compile "$LINENO"; then :
33403 glibcxx_cv_func_strtold_use=yes
33404 else
33405 glibcxx_cv_func_strtold_use=no
33406 fi
33407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33408 ac_ext=c
33409 ac_cpp='$CPP $CPPFLAGS'
33410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33413
33414
33415 fi
33416
33417 fi
33418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33419 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33420 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33421 for ac_func in strtold
33422 do :
33423 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33424 if test "x$ac_cv_func_strtold" = x""yes; then :
33425 cat >>confdefs.h <<_ACEOF
33426 #define HAVE_STRTOLD 1
33427 _ACEOF
33428
33429 fi
33430 done
33431
33432 fi
33433
33434
33435
33436
33437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33438 $as_echo_n "checking for strtof declaration... " >&6; }
33439 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33440 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33441 $as_echo_n "(cached) " >&6
33442 else
33443
33444
33445 ac_ext=cpp
33446 ac_cpp='$CXXCPP $CPPFLAGS'
33447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33450
33451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33452 /* end confdefs.h. */
33453 #include <stdlib.h>
33454 int
33455 main ()
33456 {
33457 strtof(0, 0);
33458 ;
33459 return 0;
33460 }
33461 _ACEOF
33462 if ac_fn_cxx_try_compile "$LINENO"; then :
33463 glibcxx_cv_func_strtof_use=yes
33464 else
33465 glibcxx_cv_func_strtof_use=no
33466 fi
33467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33468 ac_ext=c
33469 ac_cpp='$CPP $CPPFLAGS'
33470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33473
33474
33475 fi
33476
33477 fi
33478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33479 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33480 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33481 for ac_func in strtof
33482 do :
33483 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33484 if test "x$ac_cv_func_strtof" = x""yes; then :
33485 cat >>confdefs.h <<_ACEOF
33486 #define HAVE_STRTOF 1
33487 _ACEOF
33488
33489 fi
33490 done
33491
33492 fi
33493
33494
33495
33496
33497 CXXFLAGS="$ac_save_CXXFLAGS"
33498
33499
33500 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33501
33502 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33503
33504 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33505
33506 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33507
33508
33509 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33510
33511 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33512
33513 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33514
33515 ;;
33516
33517 *-aix*)
33518
33519 # If we're not using GNU ld, then there's no point in even trying these
33520 # tests. Check for that first. We should have already tested for gld
33521 # by now (in libtool), but require it now just to be safe...
33522 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33523 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33524
33525
33526
33527 # The name set by libtool depends on the version of libtool. Shame on us
33528 # for depending on an impl detail, but c'est la vie. Older versions used
33529 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33530 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33531 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33532 # set (hence we're using an older libtool), then set it.
33533 if test x${with_gnu_ld+set} != xset; then
33534 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33535 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33536 with_gnu_ld=no
33537 else
33538 with_gnu_ld=$ac_cv_prog_gnu_ld
33539 fi
33540 fi
33541
33542 # Start by getting the version number. I think the libtool test already
33543 # does some of this, but throws away the result.
33544 glibcxx_ld_is_gold=no
33545 if test x"$with_gnu_ld" = x"yes"; then
33546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33547 $as_echo_n "checking for ld version... " >&6; }
33548
33549 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33550 glibcxx_ld_is_gold=yes
33551 fi
33552 ldver=`$LD --version 2>/dev/null |
33553 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'`
33554
33555 glibcxx_gnu_ld_version=`echo $ldver | \
33556 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33558 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33559 fi
33560
33561 # Set --gc-sections.
33562 glibcxx_have_gc_sections=no
33563 if test "$glibcxx_ld_is_gold" = "yes"; then
33564 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33565 glibcxx_have_gc_sections=yes
33566 fi
33567 else
33568 glibcxx_gcsections_min_ld=21602
33569 if test x"$with_gnu_ld" = x"yes" &&
33570 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33571 glibcxx_have_gc_sections=yes
33572 fi
33573 fi
33574 if test "$glibcxx_have_gc_sections" = "yes"; then
33575 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33576 # NB: This flag only works reliably after 2.16.1. Configure tests
33577 # for this are difficult, so hard wire a value that should work.
33578
33579 ac_test_CFLAGS="${CFLAGS+set}"
33580 ac_save_CFLAGS="$CFLAGS"
33581 CFLAGS='-Wl,--gc-sections'
33582
33583 # Check for -Wl,--gc-sections
33584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33585 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33586 if test x$gcc_no_link = xyes; then
33587 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33588 fi
33589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33590 /* end confdefs.h. */
33591 int one(void) { return 1; }
33592 int two(void) { return 2; }
33593
33594 int
33595 main ()
33596 {
33597 two();
33598 ;
33599 return 0;
33600 }
33601 _ACEOF
33602 if ac_fn_c_try_link "$LINENO"; then :
33603 ac_gcsections=yes
33604 else
33605 ac_gcsections=no
33606 fi
33607 rm -f core conftest.err conftest.$ac_objext \
33608 conftest$ac_exeext conftest.$ac_ext
33609 if test "$ac_gcsections" = "yes"; then
33610 rm -f conftest.c
33611 touch conftest.c
33612 if $CC -c conftest.c; then
33613 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33614 grep "Warning: gc-sections option ignored" > /dev/null; then
33615 ac_gcsections=no
33616 fi
33617 fi
33618 rm -f conftest.c conftest.o conftest
33619 fi
33620 if test "$ac_gcsections" = "yes"; then
33621 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33622 fi
33623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33624 $as_echo "$ac_gcsections" >&6; }
33625
33626 if test "$ac_test_CFLAGS" = set; then
33627 CFLAGS="$ac_save_CFLAGS"
33628 else
33629 # this is the suspicious part
33630 CFLAGS=''
33631 fi
33632 fi
33633
33634 # Set -z,relro.
33635 # Note this is only for shared objects.
33636 ac_ld_relro=no
33637 if test x"$with_gnu_ld" = x"yes"; then
33638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33639 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33640 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33641 if test -n "$cxx_z_relo"; then
33642 OPT_LDFLAGS="-Wl,-z,relro"
33643 ac_ld_relro=yes
33644 fi
33645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33646 $as_echo "$ac_ld_relro" >&6; }
33647 fi
33648
33649 # Set linker optimization flags.
33650 if test x"$with_gnu_ld" = x"yes"; then
33651 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33652 fi
33653
33654
33655
33656
33657
33658 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33659 ac_save_CXXFLAGS="$CXXFLAGS"
33660 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33661
33662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33663 $as_echo_n "checking for sin in -lm... " >&6; }
33664 if test "${ac_cv_lib_m_sin+set}" = set; then :
33665 $as_echo_n "(cached) " >&6
33666 else
33667 ac_check_lib_save_LIBS=$LIBS
33668 LIBS="-lm $LIBS"
33669 if test x$gcc_no_link = xyes; then
33670 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33671 fi
33672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33673 /* end confdefs.h. */
33674
33675 /* Override any GCC internal prototype to avoid an error.
33676 Use char because int might match the return type of a GCC
33677 builtin and then its argument prototype would still apply. */
33678 #ifdef __cplusplus
33679 extern "C"
33680 #endif
33681 char sin ();
33682 int
33683 main ()
33684 {
33685 return sin ();
33686 ;
33687 return 0;
33688 }
33689 _ACEOF
33690 if ac_fn_c_try_link "$LINENO"; then :
33691 ac_cv_lib_m_sin=yes
33692 else
33693 ac_cv_lib_m_sin=no
33694 fi
33695 rm -f core conftest.err conftest.$ac_objext \
33696 conftest$ac_exeext conftest.$ac_ext
33697 LIBS=$ac_check_lib_save_LIBS
33698 fi
33699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33700 $as_echo "$ac_cv_lib_m_sin" >&6; }
33701 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33702 libm="-lm"
33703 fi
33704
33705 ac_save_LIBS="$LIBS"
33706 LIBS="$LIBS $libm"
33707
33708
33709
33710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33711 $as_echo_n "checking for isinf declaration... " >&6; }
33712 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33713 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33714 $as_echo_n "(cached) " >&6
33715 else
33716
33717
33718 ac_ext=cpp
33719 ac_cpp='$CXXCPP $CPPFLAGS'
33720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33723
33724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33725 /* end confdefs.h. */
33726 #include <math.h>
33727 #ifdef HAVE_IEEEFP_H
33728 #include <ieeefp.h>
33729 #endif
33730
33731 int
33732 main ()
33733 {
33734 isinf(0);
33735 ;
33736 return 0;
33737 }
33738 _ACEOF
33739 if ac_fn_cxx_try_compile "$LINENO"; then :
33740 glibcxx_cv_func_isinf_use=yes
33741 else
33742 glibcxx_cv_func_isinf_use=no
33743 fi
33744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33745 ac_ext=c
33746 ac_cpp='$CPP $CPPFLAGS'
33747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33750
33751
33752 fi
33753
33754 fi
33755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33756 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33757
33758 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33759 for ac_func in isinf
33760 do :
33761 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33762 if test "x$ac_cv_func_isinf" = x""yes; then :
33763 cat >>confdefs.h <<_ACEOF
33764 #define HAVE_ISINF 1
33765 _ACEOF
33766
33767 fi
33768 done
33769
33770 else
33771
33772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33773 $as_echo_n "checking for _isinf declaration... " >&6; }
33774 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33775 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33776 $as_echo_n "(cached) " >&6
33777 else
33778
33779
33780 ac_ext=cpp
33781 ac_cpp='$CXXCPP $CPPFLAGS'
33782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33785
33786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33787 /* end confdefs.h. */
33788 #include <math.h>
33789 #ifdef HAVE_IEEEFP_H
33790 #include <ieeefp.h>
33791 #endif
33792
33793 int
33794 main ()
33795 {
33796 _isinf(0);
33797 ;
33798 return 0;
33799 }
33800 _ACEOF
33801 if ac_fn_cxx_try_compile "$LINENO"; then :
33802 glibcxx_cv_func__isinf_use=yes
33803 else
33804 glibcxx_cv_func__isinf_use=no
33805 fi
33806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33807 ac_ext=c
33808 ac_cpp='$CPP $CPPFLAGS'
33809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33812
33813
33814 fi
33815
33816 fi
33817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33818 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33819
33820 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33821 for ac_func in _isinf
33822 do :
33823 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33824 if test "x$ac_cv_func__isinf" = x""yes; then :
33825 cat >>confdefs.h <<_ACEOF
33826 #define HAVE__ISINF 1
33827 _ACEOF
33828
33829 fi
33830 done
33831
33832 fi
33833 fi
33834
33835
33836
33837
33838
33839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33840 $as_echo_n "checking for isnan declaration... " >&6; }
33841 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33842 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33843 $as_echo_n "(cached) " >&6
33844 else
33845
33846
33847 ac_ext=cpp
33848 ac_cpp='$CXXCPP $CPPFLAGS'
33849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33852
33853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33854 /* end confdefs.h. */
33855 #include <math.h>
33856 #ifdef HAVE_IEEEFP_H
33857 #include <ieeefp.h>
33858 #endif
33859
33860 int
33861 main ()
33862 {
33863 isnan(0);
33864 ;
33865 return 0;
33866 }
33867 _ACEOF
33868 if ac_fn_cxx_try_compile "$LINENO"; then :
33869 glibcxx_cv_func_isnan_use=yes
33870 else
33871 glibcxx_cv_func_isnan_use=no
33872 fi
33873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33874 ac_ext=c
33875 ac_cpp='$CPP $CPPFLAGS'
33876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33879
33880
33881 fi
33882
33883 fi
33884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33885 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33886
33887 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33888 for ac_func in isnan
33889 do :
33890 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33891 if test "x$ac_cv_func_isnan" = x""yes; then :
33892 cat >>confdefs.h <<_ACEOF
33893 #define HAVE_ISNAN 1
33894 _ACEOF
33895
33896 fi
33897 done
33898
33899 else
33900
33901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33902 $as_echo_n "checking for _isnan declaration... " >&6; }
33903 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33904 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33905 $as_echo_n "(cached) " >&6
33906 else
33907
33908
33909 ac_ext=cpp
33910 ac_cpp='$CXXCPP $CPPFLAGS'
33911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33914
33915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33916 /* end confdefs.h. */
33917 #include <math.h>
33918 #ifdef HAVE_IEEEFP_H
33919 #include <ieeefp.h>
33920 #endif
33921
33922 int
33923 main ()
33924 {
33925 _isnan(0);
33926 ;
33927 return 0;
33928 }
33929 _ACEOF
33930 if ac_fn_cxx_try_compile "$LINENO"; then :
33931 glibcxx_cv_func__isnan_use=yes
33932 else
33933 glibcxx_cv_func__isnan_use=no
33934 fi
33935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33936 ac_ext=c
33937 ac_cpp='$CPP $CPPFLAGS'
33938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33941
33942
33943 fi
33944
33945 fi
33946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33947 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33948
33949 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33950 for ac_func in _isnan
33951 do :
33952 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33953 if test "x$ac_cv_func__isnan" = x""yes; then :
33954 cat >>confdefs.h <<_ACEOF
33955 #define HAVE__ISNAN 1
33956 _ACEOF
33957
33958 fi
33959 done
33960
33961 fi
33962 fi
33963
33964
33965
33966
33967
33968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33969 $as_echo_n "checking for finite declaration... " >&6; }
33970 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33971 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33972 $as_echo_n "(cached) " >&6
33973 else
33974
33975
33976 ac_ext=cpp
33977 ac_cpp='$CXXCPP $CPPFLAGS'
33978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33981
33982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33983 /* end confdefs.h. */
33984 #include <math.h>
33985 #ifdef HAVE_IEEEFP_H
33986 #include <ieeefp.h>
33987 #endif
33988
33989 int
33990 main ()
33991 {
33992 finite(0);
33993 ;
33994 return 0;
33995 }
33996 _ACEOF
33997 if ac_fn_cxx_try_compile "$LINENO"; then :
33998 glibcxx_cv_func_finite_use=yes
33999 else
34000 glibcxx_cv_func_finite_use=no
34001 fi
34002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34003 ac_ext=c
34004 ac_cpp='$CPP $CPPFLAGS'
34005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34008
34009
34010 fi
34011
34012 fi
34013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34014 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34015
34016 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34017 for ac_func in finite
34018 do :
34019 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34020 if test "x$ac_cv_func_finite" = x""yes; then :
34021 cat >>confdefs.h <<_ACEOF
34022 #define HAVE_FINITE 1
34023 _ACEOF
34024
34025 fi
34026 done
34027
34028 else
34029
34030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34031 $as_echo_n "checking for _finite declaration... " >&6; }
34032 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34033 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34034 $as_echo_n "(cached) " >&6
34035 else
34036
34037
34038 ac_ext=cpp
34039 ac_cpp='$CXXCPP $CPPFLAGS'
34040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34043
34044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34045 /* end confdefs.h. */
34046 #include <math.h>
34047 #ifdef HAVE_IEEEFP_H
34048 #include <ieeefp.h>
34049 #endif
34050
34051 int
34052 main ()
34053 {
34054 _finite(0);
34055 ;
34056 return 0;
34057 }
34058 _ACEOF
34059 if ac_fn_cxx_try_compile "$LINENO"; then :
34060 glibcxx_cv_func__finite_use=yes
34061 else
34062 glibcxx_cv_func__finite_use=no
34063 fi
34064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34065 ac_ext=c
34066 ac_cpp='$CPP $CPPFLAGS'
34067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34070
34071
34072 fi
34073
34074 fi
34075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34076 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34077
34078 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34079 for ac_func in _finite
34080 do :
34081 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34082 if test "x$ac_cv_func__finite" = x""yes; then :
34083 cat >>confdefs.h <<_ACEOF
34084 #define HAVE__FINITE 1
34085 _ACEOF
34086
34087 fi
34088 done
34089
34090 fi
34091 fi
34092
34093
34094
34095
34096
34097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34098 $as_echo_n "checking for sincos declaration... " >&6; }
34099 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34100 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34101 $as_echo_n "(cached) " >&6
34102 else
34103
34104
34105 ac_ext=cpp
34106 ac_cpp='$CXXCPP $CPPFLAGS'
34107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34110
34111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34112 /* end confdefs.h. */
34113 #include <math.h>
34114 int
34115 main ()
34116 {
34117 sincos(0, 0, 0);
34118 ;
34119 return 0;
34120 }
34121 _ACEOF
34122 if ac_fn_cxx_try_compile "$LINENO"; then :
34123 glibcxx_cv_func_sincos_use=yes
34124 else
34125 glibcxx_cv_func_sincos_use=no
34126 fi
34127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34128 ac_ext=c
34129 ac_cpp='$CPP $CPPFLAGS'
34130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34133
34134
34135 fi
34136
34137 fi
34138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34139 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34140
34141 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34142 for ac_func in sincos
34143 do :
34144 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34145 if test "x$ac_cv_func_sincos" = x""yes; then :
34146 cat >>confdefs.h <<_ACEOF
34147 #define HAVE_SINCOS 1
34148 _ACEOF
34149
34150 fi
34151 done
34152
34153 else
34154
34155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34156 $as_echo_n "checking for _sincos declaration... " >&6; }
34157 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34158 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34159 $as_echo_n "(cached) " >&6
34160 else
34161
34162
34163 ac_ext=cpp
34164 ac_cpp='$CXXCPP $CPPFLAGS'
34165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34168
34169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34170 /* end confdefs.h. */
34171 #include <math.h>
34172 int
34173 main ()
34174 {
34175 _sincos(0, 0, 0);
34176 ;
34177 return 0;
34178 }
34179 _ACEOF
34180 if ac_fn_cxx_try_compile "$LINENO"; then :
34181 glibcxx_cv_func__sincos_use=yes
34182 else
34183 glibcxx_cv_func__sincos_use=no
34184 fi
34185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34186 ac_ext=c
34187 ac_cpp='$CPP $CPPFLAGS'
34188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34191
34192
34193 fi
34194
34195 fi
34196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34197 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34198
34199 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34200 for ac_func in _sincos
34201 do :
34202 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34203 if test "x$ac_cv_func__sincos" = x""yes; then :
34204 cat >>confdefs.h <<_ACEOF
34205 #define HAVE__SINCOS 1
34206 _ACEOF
34207
34208 fi
34209 done
34210
34211 fi
34212 fi
34213
34214
34215
34216
34217
34218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34219 $as_echo_n "checking for fpclass declaration... " >&6; }
34220 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34221 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34222 $as_echo_n "(cached) " >&6
34223 else
34224
34225
34226 ac_ext=cpp
34227 ac_cpp='$CXXCPP $CPPFLAGS'
34228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34231
34232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34233 /* end confdefs.h. */
34234 #include <math.h>
34235 #ifdef HAVE_IEEEFP_H
34236 #include <ieeefp.h>
34237 #endif
34238
34239 int
34240 main ()
34241 {
34242 fpclass(0);
34243 ;
34244 return 0;
34245 }
34246 _ACEOF
34247 if ac_fn_cxx_try_compile "$LINENO"; then :
34248 glibcxx_cv_func_fpclass_use=yes
34249 else
34250 glibcxx_cv_func_fpclass_use=no
34251 fi
34252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34253 ac_ext=c
34254 ac_cpp='$CPP $CPPFLAGS'
34255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34258
34259
34260 fi
34261
34262 fi
34263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34264 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34265
34266 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34267 for ac_func in fpclass
34268 do :
34269 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34270 if test "x$ac_cv_func_fpclass" = x""yes; then :
34271 cat >>confdefs.h <<_ACEOF
34272 #define HAVE_FPCLASS 1
34273 _ACEOF
34274
34275 fi
34276 done
34277
34278 else
34279
34280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34281 $as_echo_n "checking for _fpclass declaration... " >&6; }
34282 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34283 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34284 $as_echo_n "(cached) " >&6
34285 else
34286
34287
34288 ac_ext=cpp
34289 ac_cpp='$CXXCPP $CPPFLAGS'
34290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34293
34294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34295 /* end confdefs.h. */
34296 #include <math.h>
34297 #ifdef HAVE_IEEEFP_H
34298 #include <ieeefp.h>
34299 #endif
34300
34301 int
34302 main ()
34303 {
34304 _fpclass(0);
34305 ;
34306 return 0;
34307 }
34308 _ACEOF
34309 if ac_fn_cxx_try_compile "$LINENO"; then :
34310 glibcxx_cv_func__fpclass_use=yes
34311 else
34312 glibcxx_cv_func__fpclass_use=no
34313 fi
34314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34315 ac_ext=c
34316 ac_cpp='$CPP $CPPFLAGS'
34317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34320
34321
34322 fi
34323
34324 fi
34325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34326 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34327
34328 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34329 for ac_func in _fpclass
34330 do :
34331 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34332 if test "x$ac_cv_func__fpclass" = x""yes; then :
34333 cat >>confdefs.h <<_ACEOF
34334 #define HAVE__FPCLASS 1
34335 _ACEOF
34336
34337 fi
34338 done
34339
34340 fi
34341 fi
34342
34343
34344
34345
34346
34347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34348 $as_echo_n "checking for qfpclass declaration... " >&6; }
34349 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34350 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34351 $as_echo_n "(cached) " >&6
34352 else
34353
34354
34355 ac_ext=cpp
34356 ac_cpp='$CXXCPP $CPPFLAGS'
34357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34360
34361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34362 /* end confdefs.h. */
34363 #include <math.h>
34364 #ifdef HAVE_IEEEFP_H
34365 #include <ieeefp.h>
34366 #endif
34367
34368 int
34369 main ()
34370 {
34371 qfpclass(0);
34372 ;
34373 return 0;
34374 }
34375 _ACEOF
34376 if ac_fn_cxx_try_compile "$LINENO"; then :
34377 glibcxx_cv_func_qfpclass_use=yes
34378 else
34379 glibcxx_cv_func_qfpclass_use=no
34380 fi
34381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34382 ac_ext=c
34383 ac_cpp='$CPP $CPPFLAGS'
34384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34387
34388
34389 fi
34390
34391 fi
34392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34393 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34394
34395 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34396 for ac_func in qfpclass
34397 do :
34398 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34399 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34400 cat >>confdefs.h <<_ACEOF
34401 #define HAVE_QFPCLASS 1
34402 _ACEOF
34403
34404 fi
34405 done
34406
34407 else
34408
34409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34410 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34411 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34412 if test "${glibcxx_cv_func__qfpclass_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 _qfpclass(0);
34434 ;
34435 return 0;
34436 }
34437 _ACEOF
34438 if ac_fn_cxx_try_compile "$LINENO"; then :
34439 glibcxx_cv_func__qfpclass_use=yes
34440 else
34441 glibcxx_cv_func__qfpclass_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__qfpclass_use" >&5
34455 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34456
34457 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34458 for ac_func in _qfpclass
34459 do :
34460 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34461 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34462 cat >>confdefs.h <<_ACEOF
34463 #define HAVE__QFPCLASS 1
34464 _ACEOF
34465
34466 fi
34467 done
34468
34469 fi
34470 fi
34471
34472
34473
34474
34475
34476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34477 $as_echo_n "checking for hypot declaration... " >&6; }
34478 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34479 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34480 $as_echo_n "(cached) " >&6
34481 else
34482
34483
34484 ac_ext=cpp
34485 ac_cpp='$CXXCPP $CPPFLAGS'
34486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34489
34490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34491 /* end confdefs.h. */
34492 #include <math.h>
34493 int
34494 main ()
34495 {
34496 hypot(0, 0);
34497 ;
34498 return 0;
34499 }
34500 _ACEOF
34501 if ac_fn_cxx_try_compile "$LINENO"; then :
34502 glibcxx_cv_func_hypot_use=yes
34503 else
34504 glibcxx_cv_func_hypot_use=no
34505 fi
34506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34507 ac_ext=c
34508 ac_cpp='$CPP $CPPFLAGS'
34509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34512
34513
34514 fi
34515
34516 fi
34517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34518 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34519
34520 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34521 for ac_func in hypot
34522 do :
34523 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34524 if test "x$ac_cv_func_hypot" = x""yes; then :
34525 cat >>confdefs.h <<_ACEOF
34526 #define HAVE_HYPOT 1
34527 _ACEOF
34528
34529 fi
34530 done
34531
34532 else
34533
34534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34535 $as_echo_n "checking for _hypot declaration... " >&6; }
34536 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34537 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34538 $as_echo_n "(cached) " >&6
34539 else
34540
34541
34542 ac_ext=cpp
34543 ac_cpp='$CXXCPP $CPPFLAGS'
34544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34547
34548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34549 /* end confdefs.h. */
34550 #include <math.h>
34551 int
34552 main ()
34553 {
34554 _hypot(0, 0);
34555 ;
34556 return 0;
34557 }
34558 _ACEOF
34559 if ac_fn_cxx_try_compile "$LINENO"; then :
34560 glibcxx_cv_func__hypot_use=yes
34561 else
34562 glibcxx_cv_func__hypot_use=no
34563 fi
34564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34565 ac_ext=c
34566 ac_cpp='$CPP $CPPFLAGS'
34567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34570
34571
34572 fi
34573
34574 fi
34575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34576 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34577
34578 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34579 for ac_func in _hypot
34580 do :
34581 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34582 if test "x$ac_cv_func__hypot" = x""yes; then :
34583 cat >>confdefs.h <<_ACEOF
34584 #define HAVE__HYPOT 1
34585 _ACEOF
34586
34587 fi
34588 done
34589
34590 fi
34591 fi
34592
34593
34594
34595
34596
34597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34598 $as_echo_n "checking for float trig functions... " >&6; }
34599 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34600 $as_echo_n "(cached) " >&6
34601 else
34602
34603
34604 ac_ext=cpp
34605 ac_cpp='$CXXCPP $CPPFLAGS'
34606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34609
34610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34611 /* end confdefs.h. */
34612 #include <math.h>
34613 int
34614 main ()
34615 {
34616 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34617 ;
34618 return 0;
34619 }
34620 _ACEOF
34621 if ac_fn_cxx_try_compile "$LINENO"; then :
34622 glibcxx_cv_func_float_trig_use=yes
34623 else
34624 glibcxx_cv_func_float_trig_use=no
34625 fi
34626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34627 ac_ext=c
34628 ac_cpp='$CPP $CPPFLAGS'
34629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34632
34633 fi
34634
34635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34636 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34637 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34638 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34639 do :
34640 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34641 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34642 eval as_val=\$$as_ac_var
34643 if test "x$as_val" = x""yes; then :
34644 cat >>confdefs.h <<_ACEOF
34645 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34646 _ACEOF
34647
34648 fi
34649 done
34650
34651 else
34652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34653 $as_echo_n "checking for _float trig functions... " >&6; }
34654 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34655 $as_echo_n "(cached) " >&6
34656 else
34657
34658
34659 ac_ext=cpp
34660 ac_cpp='$CXXCPP $CPPFLAGS'
34661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34664
34665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34666 /* end confdefs.h. */
34667 #include <math.h>
34668 int
34669 main ()
34670 {
34671 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34672 ;
34673 return 0;
34674 }
34675 _ACEOF
34676 if ac_fn_cxx_try_compile "$LINENO"; then :
34677 glibcxx_cv_func__float_trig_use=yes
34678 else
34679 glibcxx_cv_func__float_trig_use=no
34680 fi
34681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34682 ac_ext=c
34683 ac_cpp='$CPP $CPPFLAGS'
34684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34687
34688 fi
34689
34690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34691 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34692 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34693 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34694 do :
34695 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34696 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34697 eval as_val=\$$as_ac_var
34698 if test "x$as_val" = x""yes; then :
34699 cat >>confdefs.h <<_ACEOF
34700 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34701 _ACEOF
34702
34703 fi
34704 done
34705
34706 fi
34707 fi
34708
34709
34710
34711
34712
34713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34714 $as_echo_n "checking for float round functions... " >&6; }
34715 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34716 $as_echo_n "(cached) " >&6
34717 else
34718
34719
34720 ac_ext=cpp
34721 ac_cpp='$CXXCPP $CPPFLAGS'
34722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34725
34726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34727 /* end confdefs.h. */
34728 #include <math.h>
34729 int
34730 main ()
34731 {
34732 ceilf (0); floorf (0);
34733 ;
34734 return 0;
34735 }
34736 _ACEOF
34737 if ac_fn_cxx_try_compile "$LINENO"; then :
34738 glibcxx_cv_func_float_round_use=yes
34739 else
34740 glibcxx_cv_func_float_round_use=no
34741 fi
34742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34743 ac_ext=c
34744 ac_cpp='$CPP $CPPFLAGS'
34745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34748
34749 fi
34750
34751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34752 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34753 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34754 for ac_func in ceilf floorf
34755 do :
34756 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34757 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34758 eval as_val=\$$as_ac_var
34759 if test "x$as_val" = x""yes; then :
34760 cat >>confdefs.h <<_ACEOF
34761 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34762 _ACEOF
34763
34764 fi
34765 done
34766
34767 else
34768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34769 $as_echo_n "checking for _float round functions... " >&6; }
34770 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34771 $as_echo_n "(cached) " >&6
34772 else
34773
34774
34775 ac_ext=cpp
34776 ac_cpp='$CXXCPP $CPPFLAGS'
34777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34780
34781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34782 /* end confdefs.h. */
34783 #include <math.h>
34784 int
34785 main ()
34786 {
34787 _ceilf (0); _floorf (0);
34788 ;
34789 return 0;
34790 }
34791 _ACEOF
34792 if ac_fn_cxx_try_compile "$LINENO"; then :
34793 glibcxx_cv_func__float_round_use=yes
34794 else
34795 glibcxx_cv_func__float_round_use=no
34796 fi
34797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34798 ac_ext=c
34799 ac_cpp='$CPP $CPPFLAGS'
34800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34803
34804 fi
34805
34806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34807 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34808 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34809 for ac_func in _ceilf _floorf
34810 do :
34811 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34813 eval as_val=\$$as_ac_var
34814 if test "x$as_val" = x""yes; then :
34815 cat >>confdefs.h <<_ACEOF
34816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34817 _ACEOF
34818
34819 fi
34820 done
34821
34822 fi
34823 fi
34824
34825
34826
34827
34828
34829
34830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34831 $as_echo_n "checking for expf declaration... " >&6; }
34832 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34833 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34834 $as_echo_n "(cached) " >&6
34835 else
34836
34837
34838 ac_ext=cpp
34839 ac_cpp='$CXXCPP $CPPFLAGS'
34840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34843
34844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34845 /* end confdefs.h. */
34846 #include <math.h>
34847 #ifdef HAVE_IEEEFP_H
34848 #include <ieeefp.h>
34849 #endif
34850
34851 int
34852 main ()
34853 {
34854 expf(0);
34855 ;
34856 return 0;
34857 }
34858 _ACEOF
34859 if ac_fn_cxx_try_compile "$LINENO"; then :
34860 glibcxx_cv_func_expf_use=yes
34861 else
34862 glibcxx_cv_func_expf_use=no
34863 fi
34864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34865 ac_ext=c
34866 ac_cpp='$CPP $CPPFLAGS'
34867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34870
34871
34872 fi
34873
34874 fi
34875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34876 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34877
34878 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34879 for ac_func in expf
34880 do :
34881 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34882 if test "x$ac_cv_func_expf" = x""yes; then :
34883 cat >>confdefs.h <<_ACEOF
34884 #define HAVE_EXPF 1
34885 _ACEOF
34886
34887 fi
34888 done
34889
34890 else
34891
34892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34893 $as_echo_n "checking for _expf declaration... " >&6; }
34894 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34895 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34896 $as_echo_n "(cached) " >&6
34897 else
34898
34899
34900 ac_ext=cpp
34901 ac_cpp='$CXXCPP $CPPFLAGS'
34902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34905
34906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34907 /* end confdefs.h. */
34908 #include <math.h>
34909 #ifdef HAVE_IEEEFP_H
34910 #include <ieeefp.h>
34911 #endif
34912
34913 int
34914 main ()
34915 {
34916 _expf(0);
34917 ;
34918 return 0;
34919 }
34920 _ACEOF
34921 if ac_fn_cxx_try_compile "$LINENO"; then :
34922 glibcxx_cv_func__expf_use=yes
34923 else
34924 glibcxx_cv_func__expf_use=no
34925 fi
34926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34927 ac_ext=c
34928 ac_cpp='$CPP $CPPFLAGS'
34929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34932
34933
34934 fi
34935
34936 fi
34937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34938 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34939
34940 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34941 for ac_func in _expf
34942 do :
34943 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34944 if test "x$ac_cv_func__expf" = x""yes; then :
34945 cat >>confdefs.h <<_ACEOF
34946 #define HAVE__EXPF 1
34947 _ACEOF
34948
34949 fi
34950 done
34951
34952 fi
34953 fi
34954
34955
34956
34957
34958
34959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34960 $as_echo_n "checking for isnanf declaration... " >&6; }
34961 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34962 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34963 $as_echo_n "(cached) " >&6
34964 else
34965
34966
34967 ac_ext=cpp
34968 ac_cpp='$CXXCPP $CPPFLAGS'
34969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34972
34973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34974 /* end confdefs.h. */
34975 #include <math.h>
34976 #ifdef HAVE_IEEEFP_H
34977 #include <ieeefp.h>
34978 #endif
34979
34980 int
34981 main ()
34982 {
34983 isnanf(0);
34984 ;
34985 return 0;
34986 }
34987 _ACEOF
34988 if ac_fn_cxx_try_compile "$LINENO"; then :
34989 glibcxx_cv_func_isnanf_use=yes
34990 else
34991 glibcxx_cv_func_isnanf_use=no
34992 fi
34993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34994 ac_ext=c
34995 ac_cpp='$CPP $CPPFLAGS'
34996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34999
35000
35001 fi
35002
35003 fi
35004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35005 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35006
35007 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35008 for ac_func in isnanf
35009 do :
35010 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35011 if test "x$ac_cv_func_isnanf" = x""yes; then :
35012 cat >>confdefs.h <<_ACEOF
35013 #define HAVE_ISNANF 1
35014 _ACEOF
35015
35016 fi
35017 done
35018
35019 else
35020
35021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35022 $as_echo_n "checking for _isnanf declaration... " >&6; }
35023 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35024 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35025 $as_echo_n "(cached) " >&6
35026 else
35027
35028
35029 ac_ext=cpp
35030 ac_cpp='$CXXCPP $CPPFLAGS'
35031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35034
35035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35036 /* end confdefs.h. */
35037 #include <math.h>
35038 #ifdef HAVE_IEEEFP_H
35039 #include <ieeefp.h>
35040 #endif
35041
35042 int
35043 main ()
35044 {
35045 _isnanf(0);
35046 ;
35047 return 0;
35048 }
35049 _ACEOF
35050 if ac_fn_cxx_try_compile "$LINENO"; then :
35051 glibcxx_cv_func__isnanf_use=yes
35052 else
35053 glibcxx_cv_func__isnanf_use=no
35054 fi
35055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35056 ac_ext=c
35057 ac_cpp='$CPP $CPPFLAGS'
35058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35061
35062
35063 fi
35064
35065 fi
35066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35067 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35068
35069 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35070 for ac_func in _isnanf
35071 do :
35072 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35073 if test "x$ac_cv_func__isnanf" = x""yes; then :
35074 cat >>confdefs.h <<_ACEOF
35075 #define HAVE__ISNANF 1
35076 _ACEOF
35077
35078 fi
35079 done
35080
35081 fi
35082 fi
35083
35084
35085
35086
35087
35088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35089 $as_echo_n "checking for isinff declaration... " >&6; }
35090 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35091 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35092 $as_echo_n "(cached) " >&6
35093 else
35094
35095
35096 ac_ext=cpp
35097 ac_cpp='$CXXCPP $CPPFLAGS'
35098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35101
35102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35103 /* end confdefs.h. */
35104 #include <math.h>
35105 #ifdef HAVE_IEEEFP_H
35106 #include <ieeefp.h>
35107 #endif
35108
35109 int
35110 main ()
35111 {
35112 isinff(0);
35113 ;
35114 return 0;
35115 }
35116 _ACEOF
35117 if ac_fn_cxx_try_compile "$LINENO"; then :
35118 glibcxx_cv_func_isinff_use=yes
35119 else
35120 glibcxx_cv_func_isinff_use=no
35121 fi
35122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35123 ac_ext=c
35124 ac_cpp='$CPP $CPPFLAGS'
35125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35128
35129
35130 fi
35131
35132 fi
35133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35134 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35135
35136 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35137 for ac_func in isinff
35138 do :
35139 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35140 if test "x$ac_cv_func_isinff" = x""yes; then :
35141 cat >>confdefs.h <<_ACEOF
35142 #define HAVE_ISINFF 1
35143 _ACEOF
35144
35145 fi
35146 done
35147
35148 else
35149
35150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35151 $as_echo_n "checking for _isinff declaration... " >&6; }
35152 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35153 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35154 $as_echo_n "(cached) " >&6
35155 else
35156
35157
35158 ac_ext=cpp
35159 ac_cpp='$CXXCPP $CPPFLAGS'
35160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35163
35164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35165 /* end confdefs.h. */
35166 #include <math.h>
35167 #ifdef HAVE_IEEEFP_H
35168 #include <ieeefp.h>
35169 #endif
35170
35171 int
35172 main ()
35173 {
35174 _isinff(0);
35175 ;
35176 return 0;
35177 }
35178 _ACEOF
35179 if ac_fn_cxx_try_compile "$LINENO"; then :
35180 glibcxx_cv_func__isinff_use=yes
35181 else
35182 glibcxx_cv_func__isinff_use=no
35183 fi
35184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35185 ac_ext=c
35186 ac_cpp='$CPP $CPPFLAGS'
35187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35190
35191
35192 fi
35193
35194 fi
35195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35196 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35197
35198 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35199 for ac_func in _isinff
35200 do :
35201 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35202 if test "x$ac_cv_func__isinff" = x""yes; then :
35203 cat >>confdefs.h <<_ACEOF
35204 #define HAVE__ISINFF 1
35205 _ACEOF
35206
35207 fi
35208 done
35209
35210 fi
35211 fi
35212
35213
35214
35215
35216
35217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35218 $as_echo_n "checking for atan2f declaration... " >&6; }
35219 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35220 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35221 $as_echo_n "(cached) " >&6
35222 else
35223
35224
35225 ac_ext=cpp
35226 ac_cpp='$CXXCPP $CPPFLAGS'
35227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35230
35231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35232 /* end confdefs.h. */
35233 #include <math.h>
35234 int
35235 main ()
35236 {
35237 atan2f(0, 0);
35238 ;
35239 return 0;
35240 }
35241 _ACEOF
35242 if ac_fn_cxx_try_compile "$LINENO"; then :
35243 glibcxx_cv_func_atan2f_use=yes
35244 else
35245 glibcxx_cv_func_atan2f_use=no
35246 fi
35247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35248 ac_ext=c
35249 ac_cpp='$CPP $CPPFLAGS'
35250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35253
35254
35255 fi
35256
35257 fi
35258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35259 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35260
35261 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35262 for ac_func in atan2f
35263 do :
35264 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35265 if test "x$ac_cv_func_atan2f" = x""yes; then :
35266 cat >>confdefs.h <<_ACEOF
35267 #define HAVE_ATAN2F 1
35268 _ACEOF
35269
35270 fi
35271 done
35272
35273 else
35274
35275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35276 $as_echo_n "checking for _atan2f declaration... " >&6; }
35277 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35278 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35279 $as_echo_n "(cached) " >&6
35280 else
35281
35282
35283 ac_ext=cpp
35284 ac_cpp='$CXXCPP $CPPFLAGS'
35285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35288
35289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35290 /* end confdefs.h. */
35291 #include <math.h>
35292 int
35293 main ()
35294 {
35295 _atan2f(0, 0);
35296 ;
35297 return 0;
35298 }
35299 _ACEOF
35300 if ac_fn_cxx_try_compile "$LINENO"; then :
35301 glibcxx_cv_func__atan2f_use=yes
35302 else
35303 glibcxx_cv_func__atan2f_use=no
35304 fi
35305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35306 ac_ext=c
35307 ac_cpp='$CPP $CPPFLAGS'
35308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35311
35312
35313 fi
35314
35315 fi
35316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35317 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35318
35319 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35320 for ac_func in _atan2f
35321 do :
35322 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35323 if test "x$ac_cv_func__atan2f" = x""yes; then :
35324 cat >>confdefs.h <<_ACEOF
35325 #define HAVE__ATAN2F 1
35326 _ACEOF
35327
35328 fi
35329 done
35330
35331 fi
35332 fi
35333
35334
35335
35336
35337
35338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35339 $as_echo_n "checking for fabsf declaration... " >&6; }
35340 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35341 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35342 $as_echo_n "(cached) " >&6
35343 else
35344
35345
35346 ac_ext=cpp
35347 ac_cpp='$CXXCPP $CPPFLAGS'
35348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35351
35352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35353 /* end confdefs.h. */
35354 #include <math.h>
35355 #ifdef HAVE_IEEEFP_H
35356 #include <ieeefp.h>
35357 #endif
35358
35359 int
35360 main ()
35361 {
35362 fabsf(0);
35363 ;
35364 return 0;
35365 }
35366 _ACEOF
35367 if ac_fn_cxx_try_compile "$LINENO"; then :
35368 glibcxx_cv_func_fabsf_use=yes
35369 else
35370 glibcxx_cv_func_fabsf_use=no
35371 fi
35372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35373 ac_ext=c
35374 ac_cpp='$CPP $CPPFLAGS'
35375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35378
35379
35380 fi
35381
35382 fi
35383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35384 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35385
35386 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35387 for ac_func in fabsf
35388 do :
35389 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35390 if test "x$ac_cv_func_fabsf" = x""yes; then :
35391 cat >>confdefs.h <<_ACEOF
35392 #define HAVE_FABSF 1
35393 _ACEOF
35394
35395 fi
35396 done
35397
35398 else
35399
35400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35401 $as_echo_n "checking for _fabsf declaration... " >&6; }
35402 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35403 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35404 $as_echo_n "(cached) " >&6
35405 else
35406
35407
35408 ac_ext=cpp
35409 ac_cpp='$CXXCPP $CPPFLAGS'
35410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35413
35414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35415 /* end confdefs.h. */
35416 #include <math.h>
35417 #ifdef HAVE_IEEEFP_H
35418 #include <ieeefp.h>
35419 #endif
35420
35421 int
35422 main ()
35423 {
35424 _fabsf(0);
35425 ;
35426 return 0;
35427 }
35428 _ACEOF
35429 if ac_fn_cxx_try_compile "$LINENO"; then :
35430 glibcxx_cv_func__fabsf_use=yes
35431 else
35432 glibcxx_cv_func__fabsf_use=no
35433 fi
35434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35435 ac_ext=c
35436 ac_cpp='$CPP $CPPFLAGS'
35437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35440
35441
35442 fi
35443
35444 fi
35445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35446 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35447
35448 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35449 for ac_func in _fabsf
35450 do :
35451 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35452 if test "x$ac_cv_func__fabsf" = x""yes; then :
35453 cat >>confdefs.h <<_ACEOF
35454 #define HAVE__FABSF 1
35455 _ACEOF
35456
35457 fi
35458 done
35459
35460 fi
35461 fi
35462
35463
35464
35465
35466
35467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35468 $as_echo_n "checking for fmodf declaration... " >&6; }
35469 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35470 if test "${glibcxx_cv_func_fmodf_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 fmodf(0, 0);
35488 ;
35489 return 0;
35490 }
35491 _ACEOF
35492 if ac_fn_cxx_try_compile "$LINENO"; then :
35493 glibcxx_cv_func_fmodf_use=yes
35494 else
35495 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
35509 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35510
35511 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35512 for ac_func in fmodf
35513 do :
35514 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35515 if test "x$ac_cv_func_fmodf" = x""yes; then :
35516 cat >>confdefs.h <<_ACEOF
35517 #define HAVE_FMODF 1
35518 _ACEOF
35519
35520 fi
35521 done
35522
35523 else
35524
35525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35526 $as_echo_n "checking for _fmodf declaration... " >&6; }
35527 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35528 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35529 $as_echo_n "(cached) " >&6
35530 else
35531
35532
35533 ac_ext=cpp
35534 ac_cpp='$CXXCPP $CPPFLAGS'
35535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35538
35539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35540 /* end confdefs.h. */
35541 #include <math.h>
35542 int
35543 main ()
35544 {
35545 _fmodf(0, 0);
35546 ;
35547 return 0;
35548 }
35549 _ACEOF
35550 if ac_fn_cxx_try_compile "$LINENO"; then :
35551 glibcxx_cv_func__fmodf_use=yes
35552 else
35553 glibcxx_cv_func__fmodf_use=no
35554 fi
35555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35556 ac_ext=c
35557 ac_cpp='$CPP $CPPFLAGS'
35558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35561
35562
35563 fi
35564
35565 fi
35566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35567 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35568
35569 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35570 for ac_func in _fmodf
35571 do :
35572 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35573 if test "x$ac_cv_func__fmodf" = x""yes; then :
35574 cat >>confdefs.h <<_ACEOF
35575 #define HAVE__FMODF 1
35576 _ACEOF
35577
35578 fi
35579 done
35580
35581 fi
35582 fi
35583
35584
35585
35586
35587
35588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35589 $as_echo_n "checking for frexpf declaration... " >&6; }
35590 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35591 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35592 $as_echo_n "(cached) " >&6
35593 else
35594
35595
35596 ac_ext=cpp
35597 ac_cpp='$CXXCPP $CPPFLAGS'
35598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35601
35602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35603 /* end confdefs.h. */
35604 #include <math.h>
35605 int
35606 main ()
35607 {
35608 frexpf(0, 0);
35609 ;
35610 return 0;
35611 }
35612 _ACEOF
35613 if ac_fn_cxx_try_compile "$LINENO"; then :
35614 glibcxx_cv_func_frexpf_use=yes
35615 else
35616 glibcxx_cv_func_frexpf_use=no
35617 fi
35618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35619 ac_ext=c
35620 ac_cpp='$CPP $CPPFLAGS'
35621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35624
35625
35626 fi
35627
35628 fi
35629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35630 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35631
35632 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35633 for ac_func in frexpf
35634 do :
35635 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35636 if test "x$ac_cv_func_frexpf" = x""yes; then :
35637 cat >>confdefs.h <<_ACEOF
35638 #define HAVE_FREXPF 1
35639 _ACEOF
35640
35641 fi
35642 done
35643
35644 else
35645
35646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35647 $as_echo_n "checking for _frexpf declaration... " >&6; }
35648 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35649 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35650 $as_echo_n "(cached) " >&6
35651 else
35652
35653
35654 ac_ext=cpp
35655 ac_cpp='$CXXCPP $CPPFLAGS'
35656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35659
35660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35661 /* end confdefs.h. */
35662 #include <math.h>
35663 int
35664 main ()
35665 {
35666 _frexpf(0, 0);
35667 ;
35668 return 0;
35669 }
35670 _ACEOF
35671 if ac_fn_cxx_try_compile "$LINENO"; then :
35672 glibcxx_cv_func__frexpf_use=yes
35673 else
35674 glibcxx_cv_func__frexpf_use=no
35675 fi
35676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35677 ac_ext=c
35678 ac_cpp='$CPP $CPPFLAGS'
35679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35682
35683
35684 fi
35685
35686 fi
35687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35688 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35689
35690 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35691 for ac_func in _frexpf
35692 do :
35693 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35694 if test "x$ac_cv_func__frexpf" = x""yes; then :
35695 cat >>confdefs.h <<_ACEOF
35696 #define HAVE__FREXPF 1
35697 _ACEOF
35698
35699 fi
35700 done
35701
35702 fi
35703 fi
35704
35705
35706
35707
35708
35709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35710 $as_echo_n "checking for hypotf declaration... " >&6; }
35711 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35712 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35713 $as_echo_n "(cached) " >&6
35714 else
35715
35716
35717 ac_ext=cpp
35718 ac_cpp='$CXXCPP $CPPFLAGS'
35719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35722
35723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35724 /* end confdefs.h. */
35725 #include <math.h>
35726 int
35727 main ()
35728 {
35729 hypotf(0, 0);
35730 ;
35731 return 0;
35732 }
35733 _ACEOF
35734 if ac_fn_cxx_try_compile "$LINENO"; then :
35735 glibcxx_cv_func_hypotf_use=yes
35736 else
35737 glibcxx_cv_func_hypotf_use=no
35738 fi
35739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35740 ac_ext=c
35741 ac_cpp='$CPP $CPPFLAGS'
35742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35745
35746
35747 fi
35748
35749 fi
35750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35751 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35752
35753 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35754 for ac_func in hypotf
35755 do :
35756 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35757 if test "x$ac_cv_func_hypotf" = x""yes; then :
35758 cat >>confdefs.h <<_ACEOF
35759 #define HAVE_HYPOTF 1
35760 _ACEOF
35761
35762 fi
35763 done
35764
35765 else
35766
35767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35768 $as_echo_n "checking for _hypotf declaration... " >&6; }
35769 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35770 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35771 $as_echo_n "(cached) " >&6
35772 else
35773
35774
35775 ac_ext=cpp
35776 ac_cpp='$CXXCPP $CPPFLAGS'
35777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35780
35781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35782 /* end confdefs.h. */
35783 #include <math.h>
35784 int
35785 main ()
35786 {
35787 _hypotf(0, 0);
35788 ;
35789 return 0;
35790 }
35791 _ACEOF
35792 if ac_fn_cxx_try_compile "$LINENO"; then :
35793 glibcxx_cv_func__hypotf_use=yes
35794 else
35795 glibcxx_cv_func__hypotf_use=no
35796 fi
35797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35798 ac_ext=c
35799 ac_cpp='$CPP $CPPFLAGS'
35800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35803
35804
35805 fi
35806
35807 fi
35808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35809 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35810
35811 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35812 for ac_func in _hypotf
35813 do :
35814 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35815 if test "x$ac_cv_func__hypotf" = x""yes; then :
35816 cat >>confdefs.h <<_ACEOF
35817 #define HAVE__HYPOTF 1
35818 _ACEOF
35819
35820 fi
35821 done
35822
35823 fi
35824 fi
35825
35826
35827
35828
35829
35830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35831 $as_echo_n "checking for ldexpf declaration... " >&6; }
35832 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35833 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35834 $as_echo_n "(cached) " >&6
35835 else
35836
35837
35838 ac_ext=cpp
35839 ac_cpp='$CXXCPP $CPPFLAGS'
35840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35843
35844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35845 /* end confdefs.h. */
35846 #include <math.h>
35847 int
35848 main ()
35849 {
35850 ldexpf(0, 0);
35851 ;
35852 return 0;
35853 }
35854 _ACEOF
35855 if ac_fn_cxx_try_compile "$LINENO"; then :
35856 glibcxx_cv_func_ldexpf_use=yes
35857 else
35858 glibcxx_cv_func_ldexpf_use=no
35859 fi
35860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35861 ac_ext=c
35862 ac_cpp='$CPP $CPPFLAGS'
35863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35866
35867
35868 fi
35869
35870 fi
35871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35872 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35873
35874 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35875 for ac_func in ldexpf
35876 do :
35877 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35878 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35879 cat >>confdefs.h <<_ACEOF
35880 #define HAVE_LDEXPF 1
35881 _ACEOF
35882
35883 fi
35884 done
35885
35886 else
35887
35888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35889 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35890 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35891 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35892 $as_echo_n "(cached) " >&6
35893 else
35894
35895
35896 ac_ext=cpp
35897 ac_cpp='$CXXCPP $CPPFLAGS'
35898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35901
35902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35903 /* end confdefs.h. */
35904 #include <math.h>
35905 int
35906 main ()
35907 {
35908 _ldexpf(0, 0);
35909 ;
35910 return 0;
35911 }
35912 _ACEOF
35913 if ac_fn_cxx_try_compile "$LINENO"; then :
35914 glibcxx_cv_func__ldexpf_use=yes
35915 else
35916 glibcxx_cv_func__ldexpf_use=no
35917 fi
35918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35919 ac_ext=c
35920 ac_cpp='$CPP $CPPFLAGS'
35921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35924
35925
35926 fi
35927
35928 fi
35929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35930 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35931
35932 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35933 for ac_func in _ldexpf
35934 do :
35935 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35936 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35937 cat >>confdefs.h <<_ACEOF
35938 #define HAVE__LDEXPF 1
35939 _ACEOF
35940
35941 fi
35942 done
35943
35944 fi
35945 fi
35946
35947
35948
35949
35950
35951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35952 $as_echo_n "checking for logf declaration... " >&6; }
35953 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35954 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35955 $as_echo_n "(cached) " >&6
35956 else
35957
35958
35959 ac_ext=cpp
35960 ac_cpp='$CXXCPP $CPPFLAGS'
35961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35964
35965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35966 /* end confdefs.h. */
35967 #include <math.h>
35968 #ifdef HAVE_IEEEFP_H
35969 #include <ieeefp.h>
35970 #endif
35971
35972 int
35973 main ()
35974 {
35975 logf(0);
35976 ;
35977 return 0;
35978 }
35979 _ACEOF
35980 if ac_fn_cxx_try_compile "$LINENO"; then :
35981 glibcxx_cv_func_logf_use=yes
35982 else
35983 glibcxx_cv_func_logf_use=no
35984 fi
35985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35986 ac_ext=c
35987 ac_cpp='$CPP $CPPFLAGS'
35988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35991
35992
35993 fi
35994
35995 fi
35996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35997 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35998
35999 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36000 for ac_func in logf
36001 do :
36002 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36003 if test "x$ac_cv_func_logf" = x""yes; then :
36004 cat >>confdefs.h <<_ACEOF
36005 #define HAVE_LOGF 1
36006 _ACEOF
36007
36008 fi
36009 done
36010
36011 else
36012
36013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36014 $as_echo_n "checking for _logf declaration... " >&6; }
36015 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36016 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36017 $as_echo_n "(cached) " >&6
36018 else
36019
36020
36021 ac_ext=cpp
36022 ac_cpp='$CXXCPP $CPPFLAGS'
36023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36026
36027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36028 /* end confdefs.h. */
36029 #include <math.h>
36030 #ifdef HAVE_IEEEFP_H
36031 #include <ieeefp.h>
36032 #endif
36033
36034 int
36035 main ()
36036 {
36037 _logf(0);
36038 ;
36039 return 0;
36040 }
36041 _ACEOF
36042 if ac_fn_cxx_try_compile "$LINENO"; then :
36043 glibcxx_cv_func__logf_use=yes
36044 else
36045 glibcxx_cv_func__logf_use=no
36046 fi
36047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36048 ac_ext=c
36049 ac_cpp='$CPP $CPPFLAGS'
36050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36053
36054
36055 fi
36056
36057 fi
36058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36059 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36060
36061 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36062 for ac_func in _logf
36063 do :
36064 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36065 if test "x$ac_cv_func__logf" = x""yes; then :
36066 cat >>confdefs.h <<_ACEOF
36067 #define HAVE__LOGF 1
36068 _ACEOF
36069
36070 fi
36071 done
36072
36073 fi
36074 fi
36075
36076
36077
36078
36079
36080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36081 $as_echo_n "checking for log10f declaration... " >&6; }
36082 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36083 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36084 $as_echo_n "(cached) " >&6
36085 else
36086
36087
36088 ac_ext=cpp
36089 ac_cpp='$CXXCPP $CPPFLAGS'
36090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36093
36094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36095 /* end confdefs.h. */
36096 #include <math.h>
36097 #ifdef HAVE_IEEEFP_H
36098 #include <ieeefp.h>
36099 #endif
36100
36101 int
36102 main ()
36103 {
36104 log10f(0);
36105 ;
36106 return 0;
36107 }
36108 _ACEOF
36109 if ac_fn_cxx_try_compile "$LINENO"; then :
36110 glibcxx_cv_func_log10f_use=yes
36111 else
36112 glibcxx_cv_func_log10f_use=no
36113 fi
36114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36115 ac_ext=c
36116 ac_cpp='$CPP $CPPFLAGS'
36117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36120
36121
36122 fi
36123
36124 fi
36125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36126 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36127
36128 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36129 for ac_func in log10f
36130 do :
36131 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36132 if test "x$ac_cv_func_log10f" = x""yes; then :
36133 cat >>confdefs.h <<_ACEOF
36134 #define HAVE_LOG10F 1
36135 _ACEOF
36136
36137 fi
36138 done
36139
36140 else
36141
36142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36143 $as_echo_n "checking for _log10f declaration... " >&6; }
36144 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36145 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36146 $as_echo_n "(cached) " >&6
36147 else
36148
36149
36150 ac_ext=cpp
36151 ac_cpp='$CXXCPP $CPPFLAGS'
36152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36155
36156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36157 /* end confdefs.h. */
36158 #include <math.h>
36159 #ifdef HAVE_IEEEFP_H
36160 #include <ieeefp.h>
36161 #endif
36162
36163 int
36164 main ()
36165 {
36166 _log10f(0);
36167 ;
36168 return 0;
36169 }
36170 _ACEOF
36171 if ac_fn_cxx_try_compile "$LINENO"; then :
36172 glibcxx_cv_func__log10f_use=yes
36173 else
36174 glibcxx_cv_func__log10f_use=no
36175 fi
36176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36177 ac_ext=c
36178 ac_cpp='$CPP $CPPFLAGS'
36179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36182
36183
36184 fi
36185
36186 fi
36187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36188 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36189
36190 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36191 for ac_func in _log10f
36192 do :
36193 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36194 if test "x$ac_cv_func__log10f" = x""yes; then :
36195 cat >>confdefs.h <<_ACEOF
36196 #define HAVE__LOG10F 1
36197 _ACEOF
36198
36199 fi
36200 done
36201
36202 fi
36203 fi
36204
36205
36206
36207
36208
36209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36210 $as_echo_n "checking for modff declaration... " >&6; }
36211 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36212 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36213 $as_echo_n "(cached) " >&6
36214 else
36215
36216
36217 ac_ext=cpp
36218 ac_cpp='$CXXCPP $CPPFLAGS'
36219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36222
36223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36224 /* end confdefs.h. */
36225 #include <math.h>
36226 int
36227 main ()
36228 {
36229 modff(0, 0);
36230 ;
36231 return 0;
36232 }
36233 _ACEOF
36234 if ac_fn_cxx_try_compile "$LINENO"; then :
36235 glibcxx_cv_func_modff_use=yes
36236 else
36237 glibcxx_cv_func_modff_use=no
36238 fi
36239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36240 ac_ext=c
36241 ac_cpp='$CPP $CPPFLAGS'
36242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36245
36246
36247 fi
36248
36249 fi
36250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36251 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36252
36253 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36254 for ac_func in modff
36255 do :
36256 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36257 if test "x$ac_cv_func_modff" = x""yes; then :
36258 cat >>confdefs.h <<_ACEOF
36259 #define HAVE_MODFF 1
36260 _ACEOF
36261
36262 fi
36263 done
36264
36265 else
36266
36267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36268 $as_echo_n "checking for _modff declaration... " >&6; }
36269 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36270 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36271 $as_echo_n "(cached) " >&6
36272 else
36273
36274
36275 ac_ext=cpp
36276 ac_cpp='$CXXCPP $CPPFLAGS'
36277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36280
36281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36282 /* end confdefs.h. */
36283 #include <math.h>
36284 int
36285 main ()
36286 {
36287 _modff(0, 0);
36288 ;
36289 return 0;
36290 }
36291 _ACEOF
36292 if ac_fn_cxx_try_compile "$LINENO"; then :
36293 glibcxx_cv_func__modff_use=yes
36294 else
36295 glibcxx_cv_func__modff_use=no
36296 fi
36297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36298 ac_ext=c
36299 ac_cpp='$CPP $CPPFLAGS'
36300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36303
36304
36305 fi
36306
36307 fi
36308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36309 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36310
36311 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36312 for ac_func in _modff
36313 do :
36314 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36315 if test "x$ac_cv_func__modff" = x""yes; then :
36316 cat >>confdefs.h <<_ACEOF
36317 #define HAVE__MODFF 1
36318 _ACEOF
36319
36320 fi
36321 done
36322
36323 fi
36324 fi
36325
36326
36327
36328
36329
36330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36331 $as_echo_n "checking for modf declaration... " >&6; }
36332 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36333 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36334 $as_echo_n "(cached) " >&6
36335 else
36336
36337
36338 ac_ext=cpp
36339 ac_cpp='$CXXCPP $CPPFLAGS'
36340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36343
36344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36345 /* end confdefs.h. */
36346 #include <math.h>
36347 int
36348 main ()
36349 {
36350 modf(0, 0);
36351 ;
36352 return 0;
36353 }
36354 _ACEOF
36355 if ac_fn_cxx_try_compile "$LINENO"; then :
36356 glibcxx_cv_func_modf_use=yes
36357 else
36358 glibcxx_cv_func_modf_use=no
36359 fi
36360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36361 ac_ext=c
36362 ac_cpp='$CPP $CPPFLAGS'
36363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36366
36367
36368 fi
36369
36370 fi
36371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36372 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36373
36374 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36375 for ac_func in modf
36376 do :
36377 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36378 if test "x$ac_cv_func_modf" = x""yes; then :
36379 cat >>confdefs.h <<_ACEOF
36380 #define HAVE_MODF 1
36381 _ACEOF
36382
36383 fi
36384 done
36385
36386 else
36387
36388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36389 $as_echo_n "checking for _modf declaration... " >&6; }
36390 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36391 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36392 $as_echo_n "(cached) " >&6
36393 else
36394
36395
36396 ac_ext=cpp
36397 ac_cpp='$CXXCPP $CPPFLAGS'
36398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36401
36402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36403 /* end confdefs.h. */
36404 #include <math.h>
36405 int
36406 main ()
36407 {
36408 _modf(0, 0);
36409 ;
36410 return 0;
36411 }
36412 _ACEOF
36413 if ac_fn_cxx_try_compile "$LINENO"; then :
36414 glibcxx_cv_func__modf_use=yes
36415 else
36416 glibcxx_cv_func__modf_use=no
36417 fi
36418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36419 ac_ext=c
36420 ac_cpp='$CPP $CPPFLAGS'
36421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36424
36425
36426 fi
36427
36428 fi
36429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36430 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36431
36432 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36433 for ac_func in _modf
36434 do :
36435 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36436 if test "x$ac_cv_func__modf" = x""yes; then :
36437 cat >>confdefs.h <<_ACEOF
36438 #define HAVE__MODF 1
36439 _ACEOF
36440
36441 fi
36442 done
36443
36444 fi
36445 fi
36446
36447
36448
36449
36450
36451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36452 $as_echo_n "checking for powf declaration... " >&6; }
36453 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36454 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36455 $as_echo_n "(cached) " >&6
36456 else
36457
36458
36459 ac_ext=cpp
36460 ac_cpp='$CXXCPP $CPPFLAGS'
36461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36464
36465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36466 /* end confdefs.h. */
36467 #include <math.h>
36468 int
36469 main ()
36470 {
36471 powf(0, 0);
36472 ;
36473 return 0;
36474 }
36475 _ACEOF
36476 if ac_fn_cxx_try_compile "$LINENO"; then :
36477 glibcxx_cv_func_powf_use=yes
36478 else
36479 glibcxx_cv_func_powf_use=no
36480 fi
36481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36482 ac_ext=c
36483 ac_cpp='$CPP $CPPFLAGS'
36484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36487
36488
36489 fi
36490
36491 fi
36492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36493 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36494
36495 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36496 for ac_func in powf
36497 do :
36498 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36499 if test "x$ac_cv_func_powf" = x""yes; then :
36500 cat >>confdefs.h <<_ACEOF
36501 #define HAVE_POWF 1
36502 _ACEOF
36503
36504 fi
36505 done
36506
36507 else
36508
36509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36510 $as_echo_n "checking for _powf declaration... " >&6; }
36511 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36512 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36513 $as_echo_n "(cached) " >&6
36514 else
36515
36516
36517 ac_ext=cpp
36518 ac_cpp='$CXXCPP $CPPFLAGS'
36519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36522
36523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36524 /* end confdefs.h. */
36525 #include <math.h>
36526 int
36527 main ()
36528 {
36529 _powf(0, 0);
36530 ;
36531 return 0;
36532 }
36533 _ACEOF
36534 if ac_fn_cxx_try_compile "$LINENO"; then :
36535 glibcxx_cv_func__powf_use=yes
36536 else
36537 glibcxx_cv_func__powf_use=no
36538 fi
36539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36540 ac_ext=c
36541 ac_cpp='$CPP $CPPFLAGS'
36542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36545
36546
36547 fi
36548
36549 fi
36550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36551 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36552
36553 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36554 for ac_func in _powf
36555 do :
36556 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36557 if test "x$ac_cv_func__powf" = x""yes; then :
36558 cat >>confdefs.h <<_ACEOF
36559 #define HAVE__POWF 1
36560 _ACEOF
36561
36562 fi
36563 done
36564
36565 fi
36566 fi
36567
36568
36569
36570
36571
36572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36573 $as_echo_n "checking for sqrtf declaration... " >&6; }
36574 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36575 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36576 $as_echo_n "(cached) " >&6
36577 else
36578
36579
36580 ac_ext=cpp
36581 ac_cpp='$CXXCPP $CPPFLAGS'
36582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36585
36586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36587 /* end confdefs.h. */
36588 #include <math.h>
36589 #ifdef HAVE_IEEEFP_H
36590 #include <ieeefp.h>
36591 #endif
36592
36593 int
36594 main ()
36595 {
36596 sqrtf(0);
36597 ;
36598 return 0;
36599 }
36600 _ACEOF
36601 if ac_fn_cxx_try_compile "$LINENO"; then :
36602 glibcxx_cv_func_sqrtf_use=yes
36603 else
36604 glibcxx_cv_func_sqrtf_use=no
36605 fi
36606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36607 ac_ext=c
36608 ac_cpp='$CPP $CPPFLAGS'
36609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36612
36613
36614 fi
36615
36616 fi
36617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36618 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36619
36620 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36621 for ac_func in sqrtf
36622 do :
36623 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36624 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36625 cat >>confdefs.h <<_ACEOF
36626 #define HAVE_SQRTF 1
36627 _ACEOF
36628
36629 fi
36630 done
36631
36632 else
36633
36634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36635 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36636 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36637 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36638 $as_echo_n "(cached) " >&6
36639 else
36640
36641
36642 ac_ext=cpp
36643 ac_cpp='$CXXCPP $CPPFLAGS'
36644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36647
36648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36649 /* end confdefs.h. */
36650 #include <math.h>
36651 #ifdef HAVE_IEEEFP_H
36652 #include <ieeefp.h>
36653 #endif
36654
36655 int
36656 main ()
36657 {
36658 _sqrtf(0);
36659 ;
36660 return 0;
36661 }
36662 _ACEOF
36663 if ac_fn_cxx_try_compile "$LINENO"; then :
36664 glibcxx_cv_func__sqrtf_use=yes
36665 else
36666 glibcxx_cv_func__sqrtf_use=no
36667 fi
36668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36669 ac_ext=c
36670 ac_cpp='$CPP $CPPFLAGS'
36671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36674
36675
36676 fi
36677
36678 fi
36679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36680 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36681
36682 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36683 for ac_func in _sqrtf
36684 do :
36685 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36686 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36687 cat >>confdefs.h <<_ACEOF
36688 #define HAVE__SQRTF 1
36689 _ACEOF
36690
36691 fi
36692 done
36693
36694 fi
36695 fi
36696
36697
36698
36699
36700
36701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36702 $as_echo_n "checking for sincosf declaration... " >&6; }
36703 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36704 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36705 $as_echo_n "(cached) " >&6
36706 else
36707
36708
36709 ac_ext=cpp
36710 ac_cpp='$CXXCPP $CPPFLAGS'
36711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36714
36715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36716 /* end confdefs.h. */
36717 #include <math.h>
36718 int
36719 main ()
36720 {
36721 sincosf(0, 0, 0);
36722 ;
36723 return 0;
36724 }
36725 _ACEOF
36726 if ac_fn_cxx_try_compile "$LINENO"; then :
36727 glibcxx_cv_func_sincosf_use=yes
36728 else
36729 glibcxx_cv_func_sincosf_use=no
36730 fi
36731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36732 ac_ext=c
36733 ac_cpp='$CPP $CPPFLAGS'
36734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36737
36738
36739 fi
36740
36741 fi
36742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36743 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36744
36745 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36746 for ac_func in sincosf
36747 do :
36748 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36749 if test "x$ac_cv_func_sincosf" = x""yes; then :
36750 cat >>confdefs.h <<_ACEOF
36751 #define HAVE_SINCOSF 1
36752 _ACEOF
36753
36754 fi
36755 done
36756
36757 else
36758
36759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36760 $as_echo_n "checking for _sincosf declaration... " >&6; }
36761 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36762 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36763 $as_echo_n "(cached) " >&6
36764 else
36765
36766
36767 ac_ext=cpp
36768 ac_cpp='$CXXCPP $CPPFLAGS'
36769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36772
36773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36774 /* end confdefs.h. */
36775 #include <math.h>
36776 int
36777 main ()
36778 {
36779 _sincosf(0, 0, 0);
36780 ;
36781 return 0;
36782 }
36783 _ACEOF
36784 if ac_fn_cxx_try_compile "$LINENO"; then :
36785 glibcxx_cv_func__sincosf_use=yes
36786 else
36787 glibcxx_cv_func__sincosf_use=no
36788 fi
36789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36790 ac_ext=c
36791 ac_cpp='$CPP $CPPFLAGS'
36792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36795
36796
36797 fi
36798
36799 fi
36800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36801 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36802
36803 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36804 for ac_func in _sincosf
36805 do :
36806 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36807 if test "x$ac_cv_func__sincosf" = x""yes; then :
36808 cat >>confdefs.h <<_ACEOF
36809 #define HAVE__SINCOSF 1
36810 _ACEOF
36811
36812 fi
36813 done
36814
36815 fi
36816 fi
36817
36818
36819
36820
36821
36822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36823 $as_echo_n "checking for finitef declaration... " >&6; }
36824 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36825 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36826 $as_echo_n "(cached) " >&6
36827 else
36828
36829
36830 ac_ext=cpp
36831 ac_cpp='$CXXCPP $CPPFLAGS'
36832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36835
36836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36837 /* end confdefs.h. */
36838 #include <math.h>
36839 #ifdef HAVE_IEEEFP_H
36840 #include <ieeefp.h>
36841 #endif
36842
36843 int
36844 main ()
36845 {
36846 finitef(0);
36847 ;
36848 return 0;
36849 }
36850 _ACEOF
36851 if ac_fn_cxx_try_compile "$LINENO"; then :
36852 glibcxx_cv_func_finitef_use=yes
36853 else
36854 glibcxx_cv_func_finitef_use=no
36855 fi
36856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36857 ac_ext=c
36858 ac_cpp='$CPP $CPPFLAGS'
36859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36862
36863
36864 fi
36865
36866 fi
36867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36868 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36869
36870 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36871 for ac_func in finitef
36872 do :
36873 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36874 if test "x$ac_cv_func_finitef" = x""yes; then :
36875 cat >>confdefs.h <<_ACEOF
36876 #define HAVE_FINITEF 1
36877 _ACEOF
36878
36879 fi
36880 done
36881
36882 else
36883
36884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36885 $as_echo_n "checking for _finitef declaration... " >&6; }
36886 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36887 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36888 $as_echo_n "(cached) " >&6
36889 else
36890
36891
36892 ac_ext=cpp
36893 ac_cpp='$CXXCPP $CPPFLAGS'
36894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36897
36898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36899 /* end confdefs.h. */
36900 #include <math.h>
36901 #ifdef HAVE_IEEEFP_H
36902 #include <ieeefp.h>
36903 #endif
36904
36905 int
36906 main ()
36907 {
36908 _finitef(0);
36909 ;
36910 return 0;
36911 }
36912 _ACEOF
36913 if ac_fn_cxx_try_compile "$LINENO"; then :
36914 glibcxx_cv_func__finitef_use=yes
36915 else
36916 glibcxx_cv_func__finitef_use=no
36917 fi
36918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36919 ac_ext=c
36920 ac_cpp='$CPP $CPPFLAGS'
36921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36924
36925
36926 fi
36927
36928 fi
36929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36930 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36931
36932 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36933 for ac_func in _finitef
36934 do :
36935 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36936 if test "x$ac_cv_func__finitef" = x""yes; then :
36937 cat >>confdefs.h <<_ACEOF
36938 #define HAVE__FINITEF 1
36939 _ACEOF
36940
36941 fi
36942 done
36943
36944 fi
36945 fi
36946
36947
36948
36949
36950
36951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36952 $as_echo_n "checking for long double trig functions... " >&6; }
36953 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36954 $as_echo_n "(cached) " >&6
36955 else
36956
36957
36958 ac_ext=cpp
36959 ac_cpp='$CXXCPP $CPPFLAGS'
36960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36963
36964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36965 /* end confdefs.h. */
36966 #include <math.h>
36967 int
36968 main ()
36969 {
36970 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36971 ;
36972 return 0;
36973 }
36974 _ACEOF
36975 if ac_fn_cxx_try_compile "$LINENO"; then :
36976 glibcxx_cv_func_long_double_trig_use=yes
36977 else
36978 glibcxx_cv_func_long_double_trig_use=no
36979 fi
36980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36981 ac_ext=c
36982 ac_cpp='$CPP $CPPFLAGS'
36983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36986
36987 fi
36988
36989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36990 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36991 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36992 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36993 do :
36994 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36995 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36996 eval as_val=\$$as_ac_var
36997 if test "x$as_val" = x""yes; then :
36998 cat >>confdefs.h <<_ACEOF
36999 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37000 _ACEOF
37001
37002 fi
37003 done
37004
37005 else
37006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37007 $as_echo_n "checking for _long double trig functions... " >&6; }
37008 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37009 $as_echo_n "(cached) " >&6
37010 else
37011
37012
37013 ac_ext=cpp
37014 ac_cpp='$CXXCPP $CPPFLAGS'
37015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37018
37019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37020 /* end confdefs.h. */
37021 #include <math.h>
37022 int
37023 main ()
37024 {
37025 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37026 ;
37027 return 0;
37028 }
37029 _ACEOF
37030 if ac_fn_cxx_try_compile "$LINENO"; then :
37031 glibcxx_cv_func__long_double_trig_use=yes
37032 else
37033 glibcxx_cv_func__long_double_trig_use=no
37034 fi
37035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37036 ac_ext=c
37037 ac_cpp='$CPP $CPPFLAGS'
37038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37041
37042 fi
37043
37044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37045 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37046 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37047 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37048 do :
37049 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37050 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37051 eval as_val=\$$as_ac_var
37052 if test "x$as_val" = x""yes; then :
37053 cat >>confdefs.h <<_ACEOF
37054 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37055 _ACEOF
37056
37057 fi
37058 done
37059
37060 fi
37061 fi
37062
37063
37064
37065
37066
37067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37068 $as_echo_n "checking for long double round functions... " >&6; }
37069 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37070 $as_echo_n "(cached) " >&6
37071 else
37072
37073
37074 ac_ext=cpp
37075 ac_cpp='$CXXCPP $CPPFLAGS'
37076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37079
37080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37081 /* end confdefs.h. */
37082 #include <math.h>
37083 int
37084 main ()
37085 {
37086 ceill (0); floorl (0);
37087 ;
37088 return 0;
37089 }
37090 _ACEOF
37091 if ac_fn_cxx_try_compile "$LINENO"; then :
37092 glibcxx_cv_func_long_double_round_use=yes
37093 else
37094 glibcxx_cv_func_long_double_round_use=no
37095 fi
37096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37097 ac_ext=c
37098 ac_cpp='$CPP $CPPFLAGS'
37099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37102
37103 fi
37104
37105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37106 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37107 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37108 for ac_func in ceill floorl
37109 do :
37110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37112 eval as_val=\$$as_ac_var
37113 if test "x$as_val" = x""yes; then :
37114 cat >>confdefs.h <<_ACEOF
37115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37116 _ACEOF
37117
37118 fi
37119 done
37120
37121 else
37122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37123 $as_echo_n "checking for _long double round functions... " >&6; }
37124 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37125 $as_echo_n "(cached) " >&6
37126 else
37127
37128
37129 ac_ext=cpp
37130 ac_cpp='$CXXCPP $CPPFLAGS'
37131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37134
37135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37136 /* end confdefs.h. */
37137 #include <math.h>
37138 int
37139 main ()
37140 {
37141 _ceill (0); _floorl (0);
37142 ;
37143 return 0;
37144 }
37145 _ACEOF
37146 if ac_fn_cxx_try_compile "$LINENO"; then :
37147 glibcxx_cv_func__long_double_round_use=yes
37148 else
37149 glibcxx_cv_func__long_double_round_use=no
37150 fi
37151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37152 ac_ext=c
37153 ac_cpp='$CPP $CPPFLAGS'
37154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37157
37158 fi
37159
37160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37161 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37162 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37163 for ac_func in _ceill _floorl
37164 do :
37165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37167 eval as_val=\$$as_ac_var
37168 if test "x$as_val" = x""yes; then :
37169 cat >>confdefs.h <<_ACEOF
37170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37171 _ACEOF
37172
37173 fi
37174 done
37175
37176 fi
37177 fi
37178
37179
37180
37181
37182
37183
37184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37185 $as_echo_n "checking for isnanl declaration... " >&6; }
37186 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37187 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37188 $as_echo_n "(cached) " >&6
37189 else
37190
37191
37192 ac_ext=cpp
37193 ac_cpp='$CXXCPP $CPPFLAGS'
37194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37197
37198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37199 /* end confdefs.h. */
37200 #include <math.h>
37201 #ifdef HAVE_IEEEFP_H
37202 #include <ieeefp.h>
37203 #endif
37204
37205 int
37206 main ()
37207 {
37208 isnanl(0);
37209 ;
37210 return 0;
37211 }
37212 _ACEOF
37213 if ac_fn_cxx_try_compile "$LINENO"; then :
37214 glibcxx_cv_func_isnanl_use=yes
37215 else
37216 glibcxx_cv_func_isnanl_use=no
37217 fi
37218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37219 ac_ext=c
37220 ac_cpp='$CPP $CPPFLAGS'
37221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37224
37225
37226 fi
37227
37228 fi
37229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37230 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37231
37232 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37233 for ac_func in isnanl
37234 do :
37235 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37236 if test "x$ac_cv_func_isnanl" = x""yes; then :
37237 cat >>confdefs.h <<_ACEOF
37238 #define HAVE_ISNANL 1
37239 _ACEOF
37240
37241 fi
37242 done
37243
37244 else
37245
37246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37247 $as_echo_n "checking for _isnanl declaration... " >&6; }
37248 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37249 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37250 $as_echo_n "(cached) " >&6
37251 else
37252
37253
37254 ac_ext=cpp
37255 ac_cpp='$CXXCPP $CPPFLAGS'
37256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37259
37260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37261 /* end confdefs.h. */
37262 #include <math.h>
37263 #ifdef HAVE_IEEEFP_H
37264 #include <ieeefp.h>
37265 #endif
37266
37267 int
37268 main ()
37269 {
37270 _isnanl(0);
37271 ;
37272 return 0;
37273 }
37274 _ACEOF
37275 if ac_fn_cxx_try_compile "$LINENO"; then :
37276 glibcxx_cv_func__isnanl_use=yes
37277 else
37278 glibcxx_cv_func__isnanl_use=no
37279 fi
37280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37281 ac_ext=c
37282 ac_cpp='$CPP $CPPFLAGS'
37283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37286
37287
37288 fi
37289
37290 fi
37291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37292 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37293
37294 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37295 for ac_func in _isnanl
37296 do :
37297 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37298 if test "x$ac_cv_func__isnanl" = x""yes; then :
37299 cat >>confdefs.h <<_ACEOF
37300 #define HAVE__ISNANL 1
37301 _ACEOF
37302
37303 fi
37304 done
37305
37306 fi
37307 fi
37308
37309
37310
37311
37312
37313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37314 $as_echo_n "checking for isinfl declaration... " >&6; }
37315 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37316 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37317 $as_echo_n "(cached) " >&6
37318 else
37319
37320
37321 ac_ext=cpp
37322 ac_cpp='$CXXCPP $CPPFLAGS'
37323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37326
37327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37328 /* end confdefs.h. */
37329 #include <math.h>
37330 #ifdef HAVE_IEEEFP_H
37331 #include <ieeefp.h>
37332 #endif
37333
37334 int
37335 main ()
37336 {
37337 isinfl(0);
37338 ;
37339 return 0;
37340 }
37341 _ACEOF
37342 if ac_fn_cxx_try_compile "$LINENO"; then :
37343 glibcxx_cv_func_isinfl_use=yes
37344 else
37345 glibcxx_cv_func_isinfl_use=no
37346 fi
37347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37348 ac_ext=c
37349 ac_cpp='$CPP $CPPFLAGS'
37350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37353
37354
37355 fi
37356
37357 fi
37358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37359 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37360
37361 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37362 for ac_func in isinfl
37363 do :
37364 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37365 if test "x$ac_cv_func_isinfl" = x""yes; then :
37366 cat >>confdefs.h <<_ACEOF
37367 #define HAVE_ISINFL 1
37368 _ACEOF
37369
37370 fi
37371 done
37372
37373 else
37374
37375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37376 $as_echo_n "checking for _isinfl declaration... " >&6; }
37377 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37378 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37379 $as_echo_n "(cached) " >&6
37380 else
37381
37382
37383 ac_ext=cpp
37384 ac_cpp='$CXXCPP $CPPFLAGS'
37385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37388
37389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37390 /* end confdefs.h. */
37391 #include <math.h>
37392 #ifdef HAVE_IEEEFP_H
37393 #include <ieeefp.h>
37394 #endif
37395
37396 int
37397 main ()
37398 {
37399 _isinfl(0);
37400 ;
37401 return 0;
37402 }
37403 _ACEOF
37404 if ac_fn_cxx_try_compile "$LINENO"; then :
37405 glibcxx_cv_func__isinfl_use=yes
37406 else
37407 glibcxx_cv_func__isinfl_use=no
37408 fi
37409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37410 ac_ext=c
37411 ac_cpp='$CPP $CPPFLAGS'
37412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37415
37416
37417 fi
37418
37419 fi
37420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37421 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37422
37423 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37424 for ac_func in _isinfl
37425 do :
37426 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37427 if test "x$ac_cv_func__isinfl" = x""yes; then :
37428 cat >>confdefs.h <<_ACEOF
37429 #define HAVE__ISINFL 1
37430 _ACEOF
37431
37432 fi
37433 done
37434
37435 fi
37436 fi
37437
37438
37439
37440
37441
37442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37443 $as_echo_n "checking for atan2l declaration... " >&6; }
37444 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37445 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37446 $as_echo_n "(cached) " >&6
37447 else
37448
37449
37450 ac_ext=cpp
37451 ac_cpp='$CXXCPP $CPPFLAGS'
37452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37455
37456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37457 /* end confdefs.h. */
37458 #include <math.h>
37459 int
37460 main ()
37461 {
37462 atan2l(0, 0);
37463 ;
37464 return 0;
37465 }
37466 _ACEOF
37467 if ac_fn_cxx_try_compile "$LINENO"; then :
37468 glibcxx_cv_func_atan2l_use=yes
37469 else
37470 glibcxx_cv_func_atan2l_use=no
37471 fi
37472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37473 ac_ext=c
37474 ac_cpp='$CPP $CPPFLAGS'
37475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37478
37479
37480 fi
37481
37482 fi
37483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37484 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37485
37486 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37487 for ac_func in atan2l
37488 do :
37489 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37490 if test "x$ac_cv_func_atan2l" = x""yes; then :
37491 cat >>confdefs.h <<_ACEOF
37492 #define HAVE_ATAN2L 1
37493 _ACEOF
37494
37495 fi
37496 done
37497
37498 else
37499
37500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37501 $as_echo_n "checking for _atan2l declaration... " >&6; }
37502 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37503 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37504 $as_echo_n "(cached) " >&6
37505 else
37506
37507
37508 ac_ext=cpp
37509 ac_cpp='$CXXCPP $CPPFLAGS'
37510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37513
37514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37515 /* end confdefs.h. */
37516 #include <math.h>
37517 int
37518 main ()
37519 {
37520 _atan2l(0, 0);
37521 ;
37522 return 0;
37523 }
37524 _ACEOF
37525 if ac_fn_cxx_try_compile "$LINENO"; then :
37526 glibcxx_cv_func__atan2l_use=yes
37527 else
37528 glibcxx_cv_func__atan2l_use=no
37529 fi
37530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37531 ac_ext=c
37532 ac_cpp='$CPP $CPPFLAGS'
37533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37536
37537
37538 fi
37539
37540 fi
37541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37542 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37543
37544 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37545 for ac_func in _atan2l
37546 do :
37547 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37548 if test "x$ac_cv_func__atan2l" = x""yes; then :
37549 cat >>confdefs.h <<_ACEOF
37550 #define HAVE__ATAN2L 1
37551 _ACEOF
37552
37553 fi
37554 done
37555
37556 fi
37557 fi
37558
37559
37560
37561
37562
37563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37564 $as_echo_n "checking for expl declaration... " >&6; }
37565 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37566 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37567 $as_echo_n "(cached) " >&6
37568 else
37569
37570
37571 ac_ext=cpp
37572 ac_cpp='$CXXCPP $CPPFLAGS'
37573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37576
37577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37578 /* end confdefs.h. */
37579 #include <math.h>
37580 #ifdef HAVE_IEEEFP_H
37581 #include <ieeefp.h>
37582 #endif
37583
37584 int
37585 main ()
37586 {
37587 expl(0);
37588 ;
37589 return 0;
37590 }
37591 _ACEOF
37592 if ac_fn_cxx_try_compile "$LINENO"; then :
37593 glibcxx_cv_func_expl_use=yes
37594 else
37595 glibcxx_cv_func_expl_use=no
37596 fi
37597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37598 ac_ext=c
37599 ac_cpp='$CPP $CPPFLAGS'
37600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37603
37604
37605 fi
37606
37607 fi
37608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37609 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37610
37611 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37612 for ac_func in expl
37613 do :
37614 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37615 if test "x$ac_cv_func_expl" = x""yes; then :
37616 cat >>confdefs.h <<_ACEOF
37617 #define HAVE_EXPL 1
37618 _ACEOF
37619
37620 fi
37621 done
37622
37623 else
37624
37625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37626 $as_echo_n "checking for _expl declaration... " >&6; }
37627 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37628 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37629 $as_echo_n "(cached) " >&6
37630 else
37631
37632
37633 ac_ext=cpp
37634 ac_cpp='$CXXCPP $CPPFLAGS'
37635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37638
37639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37640 /* end confdefs.h. */
37641 #include <math.h>
37642 #ifdef HAVE_IEEEFP_H
37643 #include <ieeefp.h>
37644 #endif
37645
37646 int
37647 main ()
37648 {
37649 _expl(0);
37650 ;
37651 return 0;
37652 }
37653 _ACEOF
37654 if ac_fn_cxx_try_compile "$LINENO"; then :
37655 glibcxx_cv_func__expl_use=yes
37656 else
37657 glibcxx_cv_func__expl_use=no
37658 fi
37659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37660 ac_ext=c
37661 ac_cpp='$CPP $CPPFLAGS'
37662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37665
37666
37667 fi
37668
37669 fi
37670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37671 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37672
37673 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37674 for ac_func in _expl
37675 do :
37676 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37677 if test "x$ac_cv_func__expl" = x""yes; then :
37678 cat >>confdefs.h <<_ACEOF
37679 #define HAVE__EXPL 1
37680 _ACEOF
37681
37682 fi
37683 done
37684
37685 fi
37686 fi
37687
37688
37689
37690
37691
37692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37693 $as_echo_n "checking for fabsl declaration... " >&6; }
37694 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37695 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37696 $as_echo_n "(cached) " >&6
37697 else
37698
37699
37700 ac_ext=cpp
37701 ac_cpp='$CXXCPP $CPPFLAGS'
37702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37705
37706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37707 /* end confdefs.h. */
37708 #include <math.h>
37709 #ifdef HAVE_IEEEFP_H
37710 #include <ieeefp.h>
37711 #endif
37712
37713 int
37714 main ()
37715 {
37716 fabsl(0);
37717 ;
37718 return 0;
37719 }
37720 _ACEOF
37721 if ac_fn_cxx_try_compile "$LINENO"; then :
37722 glibcxx_cv_func_fabsl_use=yes
37723 else
37724 glibcxx_cv_func_fabsl_use=no
37725 fi
37726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37727 ac_ext=c
37728 ac_cpp='$CPP $CPPFLAGS'
37729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37732
37733
37734 fi
37735
37736 fi
37737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37738 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37739
37740 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37741 for ac_func in fabsl
37742 do :
37743 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37744 if test "x$ac_cv_func_fabsl" = x""yes; then :
37745 cat >>confdefs.h <<_ACEOF
37746 #define HAVE_FABSL 1
37747 _ACEOF
37748
37749 fi
37750 done
37751
37752 else
37753
37754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37755 $as_echo_n "checking for _fabsl declaration... " >&6; }
37756 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37757 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37758 $as_echo_n "(cached) " >&6
37759 else
37760
37761
37762 ac_ext=cpp
37763 ac_cpp='$CXXCPP $CPPFLAGS'
37764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37767
37768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37769 /* end confdefs.h. */
37770 #include <math.h>
37771 #ifdef HAVE_IEEEFP_H
37772 #include <ieeefp.h>
37773 #endif
37774
37775 int
37776 main ()
37777 {
37778 _fabsl(0);
37779 ;
37780 return 0;
37781 }
37782 _ACEOF
37783 if ac_fn_cxx_try_compile "$LINENO"; then :
37784 glibcxx_cv_func__fabsl_use=yes
37785 else
37786 glibcxx_cv_func__fabsl_use=no
37787 fi
37788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37789 ac_ext=c
37790 ac_cpp='$CPP $CPPFLAGS'
37791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37794
37795
37796 fi
37797
37798 fi
37799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37800 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37801
37802 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37803 for ac_func in _fabsl
37804 do :
37805 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37806 if test "x$ac_cv_func__fabsl" = x""yes; then :
37807 cat >>confdefs.h <<_ACEOF
37808 #define HAVE__FABSL 1
37809 _ACEOF
37810
37811 fi
37812 done
37813
37814 fi
37815 fi
37816
37817
37818
37819
37820
37821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37822 $as_echo_n "checking for fmodl declaration... " >&6; }
37823 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37824 if test "${glibcxx_cv_func_fmodl_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 fmodl(0, 0);
37842 ;
37843 return 0;
37844 }
37845 _ACEOF
37846 if ac_fn_cxx_try_compile "$LINENO"; then :
37847 glibcxx_cv_func_fmodl_use=yes
37848 else
37849 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
37863 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37864
37865 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37866 for ac_func in fmodl
37867 do :
37868 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37869 if test "x$ac_cv_func_fmodl" = x""yes; then :
37870 cat >>confdefs.h <<_ACEOF
37871 #define HAVE_FMODL 1
37872 _ACEOF
37873
37874 fi
37875 done
37876
37877 else
37878
37879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37880 $as_echo_n "checking for _fmodl declaration... " >&6; }
37881 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37882 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37883 $as_echo_n "(cached) " >&6
37884 else
37885
37886
37887 ac_ext=cpp
37888 ac_cpp='$CXXCPP $CPPFLAGS'
37889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37892
37893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37894 /* end confdefs.h. */
37895 #include <math.h>
37896 int
37897 main ()
37898 {
37899 _fmodl(0, 0);
37900 ;
37901 return 0;
37902 }
37903 _ACEOF
37904 if ac_fn_cxx_try_compile "$LINENO"; then :
37905 glibcxx_cv_func__fmodl_use=yes
37906 else
37907 glibcxx_cv_func__fmodl_use=no
37908 fi
37909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37910 ac_ext=c
37911 ac_cpp='$CPP $CPPFLAGS'
37912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37915
37916
37917 fi
37918
37919 fi
37920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37921 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37922
37923 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37924 for ac_func in _fmodl
37925 do :
37926 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37927 if test "x$ac_cv_func__fmodl" = x""yes; then :
37928 cat >>confdefs.h <<_ACEOF
37929 #define HAVE__FMODL 1
37930 _ACEOF
37931
37932 fi
37933 done
37934
37935 fi
37936 fi
37937
37938
37939
37940
37941
37942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37943 $as_echo_n "checking for frexpl declaration... " >&6; }
37944 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37945 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37946 $as_echo_n "(cached) " >&6
37947 else
37948
37949
37950 ac_ext=cpp
37951 ac_cpp='$CXXCPP $CPPFLAGS'
37952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37955
37956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37957 /* end confdefs.h. */
37958 #include <math.h>
37959 int
37960 main ()
37961 {
37962 frexpl(0, 0);
37963 ;
37964 return 0;
37965 }
37966 _ACEOF
37967 if ac_fn_cxx_try_compile "$LINENO"; then :
37968 glibcxx_cv_func_frexpl_use=yes
37969 else
37970 glibcxx_cv_func_frexpl_use=no
37971 fi
37972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37973 ac_ext=c
37974 ac_cpp='$CPP $CPPFLAGS'
37975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37978
37979
37980 fi
37981
37982 fi
37983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37984 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37985
37986 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37987 for ac_func in frexpl
37988 do :
37989 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37990 if test "x$ac_cv_func_frexpl" = x""yes; then :
37991 cat >>confdefs.h <<_ACEOF
37992 #define HAVE_FREXPL 1
37993 _ACEOF
37994
37995 fi
37996 done
37997
37998 else
37999
38000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38001 $as_echo_n "checking for _frexpl declaration... " >&6; }
38002 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38003 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38004 $as_echo_n "(cached) " >&6
38005 else
38006
38007
38008 ac_ext=cpp
38009 ac_cpp='$CXXCPP $CPPFLAGS'
38010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38013
38014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38015 /* end confdefs.h. */
38016 #include <math.h>
38017 int
38018 main ()
38019 {
38020 _frexpl(0, 0);
38021 ;
38022 return 0;
38023 }
38024 _ACEOF
38025 if ac_fn_cxx_try_compile "$LINENO"; then :
38026 glibcxx_cv_func__frexpl_use=yes
38027 else
38028 glibcxx_cv_func__frexpl_use=no
38029 fi
38030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38031 ac_ext=c
38032 ac_cpp='$CPP $CPPFLAGS'
38033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38036
38037
38038 fi
38039
38040 fi
38041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38042 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38043
38044 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38045 for ac_func in _frexpl
38046 do :
38047 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38048 if test "x$ac_cv_func__frexpl" = x""yes; then :
38049 cat >>confdefs.h <<_ACEOF
38050 #define HAVE__FREXPL 1
38051 _ACEOF
38052
38053 fi
38054 done
38055
38056 fi
38057 fi
38058
38059
38060
38061
38062
38063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38064 $as_echo_n "checking for hypotl declaration... " >&6; }
38065 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38066 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38067 $as_echo_n "(cached) " >&6
38068 else
38069
38070
38071 ac_ext=cpp
38072 ac_cpp='$CXXCPP $CPPFLAGS'
38073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38076
38077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38078 /* end confdefs.h. */
38079 #include <math.h>
38080 int
38081 main ()
38082 {
38083 hypotl(0, 0);
38084 ;
38085 return 0;
38086 }
38087 _ACEOF
38088 if ac_fn_cxx_try_compile "$LINENO"; then :
38089 glibcxx_cv_func_hypotl_use=yes
38090 else
38091 glibcxx_cv_func_hypotl_use=no
38092 fi
38093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38094 ac_ext=c
38095 ac_cpp='$CPP $CPPFLAGS'
38096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38099
38100
38101 fi
38102
38103 fi
38104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38105 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38106
38107 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38108 for ac_func in hypotl
38109 do :
38110 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38111 if test "x$ac_cv_func_hypotl" = x""yes; then :
38112 cat >>confdefs.h <<_ACEOF
38113 #define HAVE_HYPOTL 1
38114 _ACEOF
38115
38116 fi
38117 done
38118
38119 else
38120
38121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38122 $as_echo_n "checking for _hypotl declaration... " >&6; }
38123 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38124 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38125 $as_echo_n "(cached) " >&6
38126 else
38127
38128
38129 ac_ext=cpp
38130 ac_cpp='$CXXCPP $CPPFLAGS'
38131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38134
38135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38136 /* end confdefs.h. */
38137 #include <math.h>
38138 int
38139 main ()
38140 {
38141 _hypotl(0, 0);
38142 ;
38143 return 0;
38144 }
38145 _ACEOF
38146 if ac_fn_cxx_try_compile "$LINENO"; then :
38147 glibcxx_cv_func__hypotl_use=yes
38148 else
38149 glibcxx_cv_func__hypotl_use=no
38150 fi
38151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38152 ac_ext=c
38153 ac_cpp='$CPP $CPPFLAGS'
38154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38157
38158
38159 fi
38160
38161 fi
38162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38163 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38164
38165 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38166 for ac_func in _hypotl
38167 do :
38168 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38169 if test "x$ac_cv_func__hypotl" = x""yes; then :
38170 cat >>confdefs.h <<_ACEOF
38171 #define HAVE__HYPOTL 1
38172 _ACEOF
38173
38174 fi
38175 done
38176
38177 fi
38178 fi
38179
38180
38181
38182
38183
38184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38185 $as_echo_n "checking for ldexpl declaration... " >&6; }
38186 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38187 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38188 $as_echo_n "(cached) " >&6
38189 else
38190
38191
38192 ac_ext=cpp
38193 ac_cpp='$CXXCPP $CPPFLAGS'
38194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38197
38198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38199 /* end confdefs.h. */
38200 #include <math.h>
38201 int
38202 main ()
38203 {
38204 ldexpl(0, 0);
38205 ;
38206 return 0;
38207 }
38208 _ACEOF
38209 if ac_fn_cxx_try_compile "$LINENO"; then :
38210 glibcxx_cv_func_ldexpl_use=yes
38211 else
38212 glibcxx_cv_func_ldexpl_use=no
38213 fi
38214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38215 ac_ext=c
38216 ac_cpp='$CPP $CPPFLAGS'
38217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38220
38221
38222 fi
38223
38224 fi
38225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38226 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38227
38228 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38229 for ac_func in ldexpl
38230 do :
38231 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38232 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38233 cat >>confdefs.h <<_ACEOF
38234 #define HAVE_LDEXPL 1
38235 _ACEOF
38236
38237 fi
38238 done
38239
38240 else
38241
38242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38243 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38244 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38245 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38246 $as_echo_n "(cached) " >&6
38247 else
38248
38249
38250 ac_ext=cpp
38251 ac_cpp='$CXXCPP $CPPFLAGS'
38252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38255
38256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38257 /* end confdefs.h. */
38258 #include <math.h>
38259 int
38260 main ()
38261 {
38262 _ldexpl(0, 0);
38263 ;
38264 return 0;
38265 }
38266 _ACEOF
38267 if ac_fn_cxx_try_compile "$LINENO"; then :
38268 glibcxx_cv_func__ldexpl_use=yes
38269 else
38270 glibcxx_cv_func__ldexpl_use=no
38271 fi
38272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38273 ac_ext=c
38274 ac_cpp='$CPP $CPPFLAGS'
38275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38278
38279
38280 fi
38281
38282 fi
38283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38284 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38285
38286 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38287 for ac_func in _ldexpl
38288 do :
38289 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38290 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38291 cat >>confdefs.h <<_ACEOF
38292 #define HAVE__LDEXPL 1
38293 _ACEOF
38294
38295 fi
38296 done
38297
38298 fi
38299 fi
38300
38301
38302
38303
38304
38305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38306 $as_echo_n "checking for logl declaration... " >&6; }
38307 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38308 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38309 $as_echo_n "(cached) " >&6
38310 else
38311
38312
38313 ac_ext=cpp
38314 ac_cpp='$CXXCPP $CPPFLAGS'
38315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38318
38319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38320 /* end confdefs.h. */
38321 #include <math.h>
38322 #ifdef HAVE_IEEEFP_H
38323 #include <ieeefp.h>
38324 #endif
38325
38326 int
38327 main ()
38328 {
38329 logl(0);
38330 ;
38331 return 0;
38332 }
38333 _ACEOF
38334 if ac_fn_cxx_try_compile "$LINENO"; then :
38335 glibcxx_cv_func_logl_use=yes
38336 else
38337 glibcxx_cv_func_logl_use=no
38338 fi
38339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38340 ac_ext=c
38341 ac_cpp='$CPP $CPPFLAGS'
38342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38345
38346
38347 fi
38348
38349 fi
38350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38351 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38352
38353 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38354 for ac_func in logl
38355 do :
38356 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38357 if test "x$ac_cv_func_logl" = x""yes; then :
38358 cat >>confdefs.h <<_ACEOF
38359 #define HAVE_LOGL 1
38360 _ACEOF
38361
38362 fi
38363 done
38364
38365 else
38366
38367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38368 $as_echo_n "checking for _logl declaration... " >&6; }
38369 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38370 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38371 $as_echo_n "(cached) " >&6
38372 else
38373
38374
38375 ac_ext=cpp
38376 ac_cpp='$CXXCPP $CPPFLAGS'
38377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38380
38381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38382 /* end confdefs.h. */
38383 #include <math.h>
38384 #ifdef HAVE_IEEEFP_H
38385 #include <ieeefp.h>
38386 #endif
38387
38388 int
38389 main ()
38390 {
38391 _logl(0);
38392 ;
38393 return 0;
38394 }
38395 _ACEOF
38396 if ac_fn_cxx_try_compile "$LINENO"; then :
38397 glibcxx_cv_func__logl_use=yes
38398 else
38399 glibcxx_cv_func__logl_use=no
38400 fi
38401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38402 ac_ext=c
38403 ac_cpp='$CPP $CPPFLAGS'
38404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38407
38408
38409 fi
38410
38411 fi
38412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38413 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38414
38415 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38416 for ac_func in _logl
38417 do :
38418 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38419 if test "x$ac_cv_func__logl" = x""yes; then :
38420 cat >>confdefs.h <<_ACEOF
38421 #define HAVE__LOGL 1
38422 _ACEOF
38423
38424 fi
38425 done
38426
38427 fi
38428 fi
38429
38430
38431
38432
38433
38434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38435 $as_echo_n "checking for log10l declaration... " >&6; }
38436 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38437 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38438 $as_echo_n "(cached) " >&6
38439 else
38440
38441
38442 ac_ext=cpp
38443 ac_cpp='$CXXCPP $CPPFLAGS'
38444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38447
38448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38449 /* end confdefs.h. */
38450 #include <math.h>
38451 #ifdef HAVE_IEEEFP_H
38452 #include <ieeefp.h>
38453 #endif
38454
38455 int
38456 main ()
38457 {
38458 log10l(0);
38459 ;
38460 return 0;
38461 }
38462 _ACEOF
38463 if ac_fn_cxx_try_compile "$LINENO"; then :
38464 glibcxx_cv_func_log10l_use=yes
38465 else
38466 glibcxx_cv_func_log10l_use=no
38467 fi
38468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38469 ac_ext=c
38470 ac_cpp='$CPP $CPPFLAGS'
38471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38474
38475
38476 fi
38477
38478 fi
38479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38480 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38481
38482 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38483 for ac_func in log10l
38484 do :
38485 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38486 if test "x$ac_cv_func_log10l" = x""yes; then :
38487 cat >>confdefs.h <<_ACEOF
38488 #define HAVE_LOG10L 1
38489 _ACEOF
38490
38491 fi
38492 done
38493
38494 else
38495
38496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38497 $as_echo_n "checking for _log10l declaration... " >&6; }
38498 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38499 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38500 $as_echo_n "(cached) " >&6
38501 else
38502
38503
38504 ac_ext=cpp
38505 ac_cpp='$CXXCPP $CPPFLAGS'
38506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38509
38510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38511 /* end confdefs.h. */
38512 #include <math.h>
38513 #ifdef HAVE_IEEEFP_H
38514 #include <ieeefp.h>
38515 #endif
38516
38517 int
38518 main ()
38519 {
38520 _log10l(0);
38521 ;
38522 return 0;
38523 }
38524 _ACEOF
38525 if ac_fn_cxx_try_compile "$LINENO"; then :
38526 glibcxx_cv_func__log10l_use=yes
38527 else
38528 glibcxx_cv_func__log10l_use=no
38529 fi
38530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38531 ac_ext=c
38532 ac_cpp='$CPP $CPPFLAGS'
38533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38536
38537
38538 fi
38539
38540 fi
38541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38542 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38543
38544 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38545 for ac_func in _log10l
38546 do :
38547 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38548 if test "x$ac_cv_func__log10l" = x""yes; then :
38549 cat >>confdefs.h <<_ACEOF
38550 #define HAVE__LOG10L 1
38551 _ACEOF
38552
38553 fi
38554 done
38555
38556 fi
38557 fi
38558
38559
38560
38561
38562
38563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38564 $as_echo_n "checking for modfl declaration... " >&6; }
38565 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38566 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38567 $as_echo_n "(cached) " >&6
38568 else
38569
38570
38571 ac_ext=cpp
38572 ac_cpp='$CXXCPP $CPPFLAGS'
38573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38576
38577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38578 /* end confdefs.h. */
38579 #include <math.h>
38580 int
38581 main ()
38582 {
38583 modfl(0, 0);
38584 ;
38585 return 0;
38586 }
38587 _ACEOF
38588 if ac_fn_cxx_try_compile "$LINENO"; then :
38589 glibcxx_cv_func_modfl_use=yes
38590 else
38591 glibcxx_cv_func_modfl_use=no
38592 fi
38593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38594 ac_ext=c
38595 ac_cpp='$CPP $CPPFLAGS'
38596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38599
38600
38601 fi
38602
38603 fi
38604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38605 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38606
38607 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38608 for ac_func in modfl
38609 do :
38610 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38611 if test "x$ac_cv_func_modfl" = x""yes; then :
38612 cat >>confdefs.h <<_ACEOF
38613 #define HAVE_MODFL 1
38614 _ACEOF
38615
38616 fi
38617 done
38618
38619 else
38620
38621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38622 $as_echo_n "checking for _modfl declaration... " >&6; }
38623 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38624 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38625 $as_echo_n "(cached) " >&6
38626 else
38627
38628
38629 ac_ext=cpp
38630 ac_cpp='$CXXCPP $CPPFLAGS'
38631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38634
38635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38636 /* end confdefs.h. */
38637 #include <math.h>
38638 int
38639 main ()
38640 {
38641 _modfl(0, 0);
38642 ;
38643 return 0;
38644 }
38645 _ACEOF
38646 if ac_fn_cxx_try_compile "$LINENO"; then :
38647 glibcxx_cv_func__modfl_use=yes
38648 else
38649 glibcxx_cv_func__modfl_use=no
38650 fi
38651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38652 ac_ext=c
38653 ac_cpp='$CPP $CPPFLAGS'
38654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38657
38658
38659 fi
38660
38661 fi
38662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38663 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38664
38665 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38666 for ac_func in _modfl
38667 do :
38668 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38669 if test "x$ac_cv_func__modfl" = x""yes; then :
38670 cat >>confdefs.h <<_ACEOF
38671 #define HAVE__MODFL 1
38672 _ACEOF
38673
38674 fi
38675 done
38676
38677 fi
38678 fi
38679
38680
38681
38682
38683
38684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38685 $as_echo_n "checking for powl declaration... " >&6; }
38686 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38687 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38688 $as_echo_n "(cached) " >&6
38689 else
38690
38691
38692 ac_ext=cpp
38693 ac_cpp='$CXXCPP $CPPFLAGS'
38694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38697
38698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38699 /* end confdefs.h. */
38700 #include <math.h>
38701 int
38702 main ()
38703 {
38704 powl(0, 0);
38705 ;
38706 return 0;
38707 }
38708 _ACEOF
38709 if ac_fn_cxx_try_compile "$LINENO"; then :
38710 glibcxx_cv_func_powl_use=yes
38711 else
38712 glibcxx_cv_func_powl_use=no
38713 fi
38714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38715 ac_ext=c
38716 ac_cpp='$CPP $CPPFLAGS'
38717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38720
38721
38722 fi
38723
38724 fi
38725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38726 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38727
38728 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38729 for ac_func in powl
38730 do :
38731 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38732 if test "x$ac_cv_func_powl" = x""yes; then :
38733 cat >>confdefs.h <<_ACEOF
38734 #define HAVE_POWL 1
38735 _ACEOF
38736
38737 fi
38738 done
38739
38740 else
38741
38742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38743 $as_echo_n "checking for _powl declaration... " >&6; }
38744 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38745 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38746 $as_echo_n "(cached) " >&6
38747 else
38748
38749
38750 ac_ext=cpp
38751 ac_cpp='$CXXCPP $CPPFLAGS'
38752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38755
38756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38757 /* end confdefs.h. */
38758 #include <math.h>
38759 int
38760 main ()
38761 {
38762 _powl(0, 0);
38763 ;
38764 return 0;
38765 }
38766 _ACEOF
38767 if ac_fn_cxx_try_compile "$LINENO"; then :
38768 glibcxx_cv_func__powl_use=yes
38769 else
38770 glibcxx_cv_func__powl_use=no
38771 fi
38772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38773 ac_ext=c
38774 ac_cpp='$CPP $CPPFLAGS'
38775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38778
38779
38780 fi
38781
38782 fi
38783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38784 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38785
38786 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38787 for ac_func in _powl
38788 do :
38789 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38790 if test "x$ac_cv_func__powl" = x""yes; then :
38791 cat >>confdefs.h <<_ACEOF
38792 #define HAVE__POWL 1
38793 _ACEOF
38794
38795 fi
38796 done
38797
38798 fi
38799 fi
38800
38801
38802
38803
38804
38805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38806 $as_echo_n "checking for sqrtl declaration... " >&6; }
38807 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38808 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38809 $as_echo_n "(cached) " >&6
38810 else
38811
38812
38813 ac_ext=cpp
38814 ac_cpp='$CXXCPP $CPPFLAGS'
38815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38818
38819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38820 /* end confdefs.h. */
38821 #include <math.h>
38822 #ifdef HAVE_IEEEFP_H
38823 #include <ieeefp.h>
38824 #endif
38825
38826 int
38827 main ()
38828 {
38829 sqrtl(0);
38830 ;
38831 return 0;
38832 }
38833 _ACEOF
38834 if ac_fn_cxx_try_compile "$LINENO"; then :
38835 glibcxx_cv_func_sqrtl_use=yes
38836 else
38837 glibcxx_cv_func_sqrtl_use=no
38838 fi
38839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38840 ac_ext=c
38841 ac_cpp='$CPP $CPPFLAGS'
38842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38845
38846
38847 fi
38848
38849 fi
38850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38851 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38852
38853 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38854 for ac_func in sqrtl
38855 do :
38856 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38857 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38858 cat >>confdefs.h <<_ACEOF
38859 #define HAVE_SQRTL 1
38860 _ACEOF
38861
38862 fi
38863 done
38864
38865 else
38866
38867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38868 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38869 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38870 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38871 $as_echo_n "(cached) " >&6
38872 else
38873
38874
38875 ac_ext=cpp
38876 ac_cpp='$CXXCPP $CPPFLAGS'
38877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38880
38881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38882 /* end confdefs.h. */
38883 #include <math.h>
38884 #ifdef HAVE_IEEEFP_H
38885 #include <ieeefp.h>
38886 #endif
38887
38888 int
38889 main ()
38890 {
38891 _sqrtl(0);
38892 ;
38893 return 0;
38894 }
38895 _ACEOF
38896 if ac_fn_cxx_try_compile "$LINENO"; then :
38897 glibcxx_cv_func__sqrtl_use=yes
38898 else
38899 glibcxx_cv_func__sqrtl_use=no
38900 fi
38901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38902 ac_ext=c
38903 ac_cpp='$CPP $CPPFLAGS'
38904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38907
38908
38909 fi
38910
38911 fi
38912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38913 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38914
38915 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38916 for ac_func in _sqrtl
38917 do :
38918 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38919 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38920 cat >>confdefs.h <<_ACEOF
38921 #define HAVE__SQRTL 1
38922 _ACEOF
38923
38924 fi
38925 done
38926
38927 fi
38928 fi
38929
38930
38931
38932
38933
38934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38935 $as_echo_n "checking for sincosl declaration... " >&6; }
38936 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38937 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38938 $as_echo_n "(cached) " >&6
38939 else
38940
38941
38942 ac_ext=cpp
38943 ac_cpp='$CXXCPP $CPPFLAGS'
38944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38947
38948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38949 /* end confdefs.h. */
38950 #include <math.h>
38951 int
38952 main ()
38953 {
38954 sincosl(0, 0, 0);
38955 ;
38956 return 0;
38957 }
38958 _ACEOF
38959 if ac_fn_cxx_try_compile "$LINENO"; then :
38960 glibcxx_cv_func_sincosl_use=yes
38961 else
38962 glibcxx_cv_func_sincosl_use=no
38963 fi
38964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38965 ac_ext=c
38966 ac_cpp='$CPP $CPPFLAGS'
38967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38970
38971
38972 fi
38973
38974 fi
38975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38976 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38977
38978 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38979 for ac_func in sincosl
38980 do :
38981 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38982 if test "x$ac_cv_func_sincosl" = x""yes; then :
38983 cat >>confdefs.h <<_ACEOF
38984 #define HAVE_SINCOSL 1
38985 _ACEOF
38986
38987 fi
38988 done
38989
38990 else
38991
38992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38993 $as_echo_n "checking for _sincosl declaration... " >&6; }
38994 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38995 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38996 $as_echo_n "(cached) " >&6
38997 else
38998
38999
39000 ac_ext=cpp
39001 ac_cpp='$CXXCPP $CPPFLAGS'
39002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39005
39006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39007 /* end confdefs.h. */
39008 #include <math.h>
39009 int
39010 main ()
39011 {
39012 _sincosl(0, 0, 0);
39013 ;
39014 return 0;
39015 }
39016 _ACEOF
39017 if ac_fn_cxx_try_compile "$LINENO"; then :
39018 glibcxx_cv_func__sincosl_use=yes
39019 else
39020 glibcxx_cv_func__sincosl_use=no
39021 fi
39022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39023 ac_ext=c
39024 ac_cpp='$CPP $CPPFLAGS'
39025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39028
39029
39030 fi
39031
39032 fi
39033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39034 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39035
39036 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39037 for ac_func in _sincosl
39038 do :
39039 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39040 if test "x$ac_cv_func__sincosl" = x""yes; then :
39041 cat >>confdefs.h <<_ACEOF
39042 #define HAVE__SINCOSL 1
39043 _ACEOF
39044
39045 fi
39046 done
39047
39048 fi
39049 fi
39050
39051
39052
39053
39054
39055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39056 $as_echo_n "checking for finitel declaration... " >&6; }
39057 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39058 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39059 $as_echo_n "(cached) " >&6
39060 else
39061
39062
39063 ac_ext=cpp
39064 ac_cpp='$CXXCPP $CPPFLAGS'
39065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39068
39069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39070 /* end confdefs.h. */
39071 #include <math.h>
39072 #ifdef HAVE_IEEEFP_H
39073 #include <ieeefp.h>
39074 #endif
39075
39076 int
39077 main ()
39078 {
39079 finitel(0);
39080 ;
39081 return 0;
39082 }
39083 _ACEOF
39084 if ac_fn_cxx_try_compile "$LINENO"; then :
39085 glibcxx_cv_func_finitel_use=yes
39086 else
39087 glibcxx_cv_func_finitel_use=no
39088 fi
39089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39090 ac_ext=c
39091 ac_cpp='$CPP $CPPFLAGS'
39092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39095
39096
39097 fi
39098
39099 fi
39100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39101 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39102
39103 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39104 for ac_func in finitel
39105 do :
39106 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39107 if test "x$ac_cv_func_finitel" = x""yes; then :
39108 cat >>confdefs.h <<_ACEOF
39109 #define HAVE_FINITEL 1
39110 _ACEOF
39111
39112 fi
39113 done
39114
39115 else
39116
39117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39118 $as_echo_n "checking for _finitel declaration... " >&6; }
39119 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39120 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39121 $as_echo_n "(cached) " >&6
39122 else
39123
39124
39125 ac_ext=cpp
39126 ac_cpp='$CXXCPP $CPPFLAGS'
39127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39130
39131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39132 /* end confdefs.h. */
39133 #include <math.h>
39134 #ifdef HAVE_IEEEFP_H
39135 #include <ieeefp.h>
39136 #endif
39137
39138 int
39139 main ()
39140 {
39141 _finitel(0);
39142 ;
39143 return 0;
39144 }
39145 _ACEOF
39146 if ac_fn_cxx_try_compile "$LINENO"; then :
39147 glibcxx_cv_func__finitel_use=yes
39148 else
39149 glibcxx_cv_func__finitel_use=no
39150 fi
39151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39152 ac_ext=c
39153 ac_cpp='$CPP $CPPFLAGS'
39154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39157
39158
39159 fi
39160
39161 fi
39162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39163 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39164
39165 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39166 for ac_func in _finitel
39167 do :
39168 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39169 if test "x$ac_cv_func__finitel" = x""yes; then :
39170 cat >>confdefs.h <<_ACEOF
39171 #define HAVE__FINITEL 1
39172 _ACEOF
39173
39174 fi
39175 done
39176
39177 fi
39178 fi
39179
39180
39181
39182
39183 LIBS="$ac_save_LIBS"
39184 CXXFLAGS="$ac_save_CXXFLAGS"
39185
39186
39187 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39188 ac_save_CXXFLAGS="$CXXFLAGS"
39189 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39190
39191
39192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39193 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39194 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39195 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39196 $as_echo_n "(cached) " >&6
39197 else
39198
39199
39200 ac_ext=cpp
39201 ac_cpp='$CXXCPP $CPPFLAGS'
39202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39205
39206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39207 /* end confdefs.h. */
39208 #include <stdlib.h>
39209 int
39210 main ()
39211 {
39212 at_quick_exit(0);
39213 ;
39214 return 0;
39215 }
39216 _ACEOF
39217 if ac_fn_cxx_try_compile "$LINENO"; then :
39218 glibcxx_cv_func_at_quick_exit_use=yes
39219 else
39220 glibcxx_cv_func_at_quick_exit_use=no
39221 fi
39222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39223 ac_ext=c
39224 ac_cpp='$CPP $CPPFLAGS'
39225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39228
39229
39230 fi
39231
39232 fi
39233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39234 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39235 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39236 for ac_func in at_quick_exit
39237 do :
39238 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39239 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39240 cat >>confdefs.h <<_ACEOF
39241 #define HAVE_AT_QUICK_EXIT 1
39242 _ACEOF
39243
39244 fi
39245 done
39246
39247 fi
39248
39249
39250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39251 $as_echo_n "checking for quick_exit declaration... " >&6; }
39252 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39253 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39254 $as_echo_n "(cached) " >&6
39255 else
39256
39257
39258 ac_ext=cpp
39259 ac_cpp='$CXXCPP $CPPFLAGS'
39260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39263
39264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39265 /* end confdefs.h. */
39266 #include <stdlib.h>
39267 int
39268 main ()
39269 {
39270 quick_exit(0);
39271 ;
39272 return 0;
39273 }
39274 _ACEOF
39275 if ac_fn_cxx_try_compile "$LINENO"; then :
39276 glibcxx_cv_func_quick_exit_use=yes
39277 else
39278 glibcxx_cv_func_quick_exit_use=no
39279 fi
39280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39281 ac_ext=c
39282 ac_cpp='$CPP $CPPFLAGS'
39283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39286
39287
39288 fi
39289
39290 fi
39291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39292 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39293 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39294 for ac_func in quick_exit
39295 do :
39296 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39297 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39298 cat >>confdefs.h <<_ACEOF
39299 #define HAVE_QUICK_EXIT 1
39300 _ACEOF
39301
39302 fi
39303 done
39304
39305 fi
39306
39307
39308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39309 $as_echo_n "checking for strtold declaration... " >&6; }
39310 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39311 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39312 $as_echo_n "(cached) " >&6
39313 else
39314
39315
39316 ac_ext=cpp
39317 ac_cpp='$CXXCPP $CPPFLAGS'
39318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39321
39322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39323 /* end confdefs.h. */
39324 #include <stdlib.h>
39325 int
39326 main ()
39327 {
39328 strtold(0, 0);
39329 ;
39330 return 0;
39331 }
39332 _ACEOF
39333 if ac_fn_cxx_try_compile "$LINENO"; then :
39334 glibcxx_cv_func_strtold_use=yes
39335 else
39336 glibcxx_cv_func_strtold_use=no
39337 fi
39338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39339 ac_ext=c
39340 ac_cpp='$CPP $CPPFLAGS'
39341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39344
39345
39346 fi
39347
39348 fi
39349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39350 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39351 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39352 for ac_func in strtold
39353 do :
39354 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39355 if test "x$ac_cv_func_strtold" = x""yes; then :
39356 cat >>confdefs.h <<_ACEOF
39357 #define HAVE_STRTOLD 1
39358 _ACEOF
39359
39360 fi
39361 done
39362
39363 fi
39364
39365
39366
39367
39368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39369 $as_echo_n "checking for strtof declaration... " >&6; }
39370 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39371 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39372 $as_echo_n "(cached) " >&6
39373 else
39374
39375
39376 ac_ext=cpp
39377 ac_cpp='$CXXCPP $CPPFLAGS'
39378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39381
39382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39383 /* end confdefs.h. */
39384 #include <stdlib.h>
39385 int
39386 main ()
39387 {
39388 strtof(0, 0);
39389 ;
39390 return 0;
39391 }
39392 _ACEOF
39393 if ac_fn_cxx_try_compile "$LINENO"; then :
39394 glibcxx_cv_func_strtof_use=yes
39395 else
39396 glibcxx_cv_func_strtof_use=no
39397 fi
39398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39399 ac_ext=c
39400 ac_cpp='$CPP $CPPFLAGS'
39401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39404
39405
39406 fi
39407
39408 fi
39409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39410 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39411 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39412 for ac_func in strtof
39413 do :
39414 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39415 if test "x$ac_cv_func_strtof" = x""yes; then :
39416 cat >>confdefs.h <<_ACEOF
39417 #define HAVE_STRTOF 1
39418 _ACEOF
39419
39420 fi
39421 done
39422
39423 fi
39424
39425
39426
39427
39428 CXXFLAGS="$ac_save_CXXFLAGS"
39429
39430 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39431
39432 # We don't yet support AIX's TLS ABI.
39433 #GCC_CHECK_TLS
39434
39435
39436
39437
39438
39439 am_save_CPPFLAGS="$CPPFLAGS"
39440
39441 for element in $INCICONV; do
39442 haveit=
39443 for x in $CPPFLAGS; do
39444
39445 acl_save_prefix="$prefix"
39446 prefix="$acl_final_prefix"
39447 acl_save_exec_prefix="$exec_prefix"
39448 exec_prefix="$acl_final_exec_prefix"
39449 eval x=\"$x\"
39450 exec_prefix="$acl_save_exec_prefix"
39451 prefix="$acl_save_prefix"
39452
39453 if test "X$x" = "X$element"; then
39454 haveit=yes
39455 break
39456 fi
39457 done
39458 if test -z "$haveit"; then
39459 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39460 fi
39461 done
39462
39463
39464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39465 $as_echo_n "checking for iconv... " >&6; }
39466 if test "${am_cv_func_iconv+set}" = set; then :
39467 $as_echo_n "(cached) " >&6
39468 else
39469
39470 am_cv_func_iconv="no, consider installing GNU libiconv"
39471 am_cv_lib_iconv=no
39472 if test x$gcc_no_link = xyes; then
39473 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39474 fi
39475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39476 /* end confdefs.h. */
39477 #include <stdlib.h>
39478 #include <iconv.h>
39479 int
39480 main ()
39481 {
39482 iconv_t cd = iconv_open("","");
39483 iconv(cd,NULL,NULL,NULL,NULL);
39484 iconv_close(cd);
39485 ;
39486 return 0;
39487 }
39488 _ACEOF
39489 if ac_fn_c_try_link "$LINENO"; then :
39490 am_cv_func_iconv=yes
39491 fi
39492 rm -f core conftest.err conftest.$ac_objext \
39493 conftest$ac_exeext conftest.$ac_ext
39494 if test "$am_cv_func_iconv" != yes; then
39495 am_save_LIBS="$LIBS"
39496 LIBS="$LIBS $LIBICONV"
39497 if test x$gcc_no_link = xyes; then
39498 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39499 fi
39500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39501 /* end confdefs.h. */
39502 #include <stdlib.h>
39503 #include <iconv.h>
39504 int
39505 main ()
39506 {
39507 iconv_t cd = iconv_open("","");
39508 iconv(cd,NULL,NULL,NULL,NULL);
39509 iconv_close(cd);
39510 ;
39511 return 0;
39512 }
39513 _ACEOF
39514 if ac_fn_c_try_link "$LINENO"; then :
39515 am_cv_lib_iconv=yes
39516 am_cv_func_iconv=yes
39517 fi
39518 rm -f core conftest.err conftest.$ac_objext \
39519 conftest$ac_exeext conftest.$ac_ext
39520 LIBS="$am_save_LIBS"
39521 fi
39522
39523 fi
39524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39525 $as_echo "$am_cv_func_iconv" >&6; }
39526 if test "$am_cv_func_iconv" = yes; then
39527
39528 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39529
39530 fi
39531 if test "$am_cv_lib_iconv" = yes; then
39532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39533 $as_echo_n "checking how to link with libiconv... " >&6; }
39534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39535 $as_echo "$LIBICONV" >&6; }
39536 else
39537 CPPFLAGS="$am_save_CPPFLAGS"
39538 LIBICONV=
39539 LTLIBICONV=
39540 fi
39541
39542
39543
39544 if test "$am_cv_func_iconv" = yes; then
39545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39546 $as_echo_n "checking for iconv declaration... " >&6; }
39547 if test "${am_cv_proto_iconv+set}" = set; then :
39548 $as_echo_n "(cached) " >&6
39549 else
39550
39551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39552 /* end confdefs.h. */
39553
39554 #include <stdlib.h>
39555 #include <iconv.h>
39556 extern
39557 #ifdef __cplusplus
39558 "C"
39559 #endif
39560 #if defined(__STDC__) || defined(__cplusplus)
39561 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39562 #else
39563 size_t iconv();
39564 #endif
39565
39566 int
39567 main ()
39568 {
39569
39570 ;
39571 return 0;
39572 }
39573 _ACEOF
39574 if ac_fn_c_try_compile "$LINENO"; then :
39575 am_cv_proto_iconv_arg1=""
39576 else
39577 am_cv_proto_iconv_arg1="const"
39578 fi
39579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39580 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);"
39581 fi
39582
39583 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39585 }$am_cv_proto_iconv" >&5
39586 $as_echo "${ac_t:-
39587 }$am_cv_proto_iconv" >&6; }
39588
39589 cat >>confdefs.h <<_ACEOF
39590 #define ICONV_CONST $am_cv_proto_iconv_arg1
39591 _ACEOF
39592
39593 fi
39594
39595 ;;
39596
39597 *-darwin*)
39598 # Darwin versions vary, but the linker should work in a cross environment,
39599 # so we just check for all the features here.
39600 # Check for available headers.
39601
39602 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39603
39604 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39605 ac_save_CXXFLAGS="$CXXFLAGS"
39606 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39607
39608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39609 $as_echo_n "checking for sin in -lm... " >&6; }
39610 if test "${ac_cv_lib_m_sin+set}" = set; then :
39611 $as_echo_n "(cached) " >&6
39612 else
39613 ac_check_lib_save_LIBS=$LIBS
39614 LIBS="-lm $LIBS"
39615 if test x$gcc_no_link = xyes; then
39616 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39617 fi
39618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39619 /* end confdefs.h. */
39620
39621 /* Override any GCC internal prototype to avoid an error.
39622 Use char because int might match the return type of a GCC
39623 builtin and then its argument prototype would still apply. */
39624 #ifdef __cplusplus
39625 extern "C"
39626 #endif
39627 char sin ();
39628 int
39629 main ()
39630 {
39631 return sin ();
39632 ;
39633 return 0;
39634 }
39635 _ACEOF
39636 if ac_fn_c_try_link "$LINENO"; then :
39637 ac_cv_lib_m_sin=yes
39638 else
39639 ac_cv_lib_m_sin=no
39640 fi
39641 rm -f core conftest.err conftest.$ac_objext \
39642 conftest$ac_exeext conftest.$ac_ext
39643 LIBS=$ac_check_lib_save_LIBS
39644 fi
39645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39646 $as_echo "$ac_cv_lib_m_sin" >&6; }
39647 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39648 libm="-lm"
39649 fi
39650
39651 ac_save_LIBS="$LIBS"
39652 LIBS="$LIBS $libm"
39653
39654
39655
39656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39657 $as_echo_n "checking for isinf declaration... " >&6; }
39658 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39659 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39660 $as_echo_n "(cached) " >&6
39661 else
39662
39663
39664 ac_ext=cpp
39665 ac_cpp='$CXXCPP $CPPFLAGS'
39666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39669
39670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39671 /* end confdefs.h. */
39672 #include <math.h>
39673 #ifdef HAVE_IEEEFP_H
39674 #include <ieeefp.h>
39675 #endif
39676
39677 int
39678 main ()
39679 {
39680 isinf(0);
39681 ;
39682 return 0;
39683 }
39684 _ACEOF
39685 if ac_fn_cxx_try_compile "$LINENO"; then :
39686 glibcxx_cv_func_isinf_use=yes
39687 else
39688 glibcxx_cv_func_isinf_use=no
39689 fi
39690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39691 ac_ext=c
39692 ac_cpp='$CPP $CPPFLAGS'
39693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39696
39697
39698 fi
39699
39700 fi
39701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39702 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39703
39704 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39705 for ac_func in isinf
39706 do :
39707 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39708 if test "x$ac_cv_func_isinf" = x""yes; then :
39709 cat >>confdefs.h <<_ACEOF
39710 #define HAVE_ISINF 1
39711 _ACEOF
39712
39713 fi
39714 done
39715
39716 else
39717
39718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39719 $as_echo_n "checking for _isinf declaration... " >&6; }
39720 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39721 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39722 $as_echo_n "(cached) " >&6
39723 else
39724
39725
39726 ac_ext=cpp
39727 ac_cpp='$CXXCPP $CPPFLAGS'
39728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39731
39732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39733 /* end confdefs.h. */
39734 #include <math.h>
39735 #ifdef HAVE_IEEEFP_H
39736 #include <ieeefp.h>
39737 #endif
39738
39739 int
39740 main ()
39741 {
39742 _isinf(0);
39743 ;
39744 return 0;
39745 }
39746 _ACEOF
39747 if ac_fn_cxx_try_compile "$LINENO"; then :
39748 glibcxx_cv_func__isinf_use=yes
39749 else
39750 glibcxx_cv_func__isinf_use=no
39751 fi
39752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39753 ac_ext=c
39754 ac_cpp='$CPP $CPPFLAGS'
39755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39758
39759
39760 fi
39761
39762 fi
39763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39764 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39765
39766 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39767 for ac_func in _isinf
39768 do :
39769 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39770 if test "x$ac_cv_func__isinf" = x""yes; then :
39771 cat >>confdefs.h <<_ACEOF
39772 #define HAVE__ISINF 1
39773 _ACEOF
39774
39775 fi
39776 done
39777
39778 fi
39779 fi
39780
39781
39782
39783
39784
39785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39786 $as_echo_n "checking for isnan declaration... " >&6; }
39787 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39788 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39789 $as_echo_n "(cached) " >&6
39790 else
39791
39792
39793 ac_ext=cpp
39794 ac_cpp='$CXXCPP $CPPFLAGS'
39795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39798
39799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39800 /* end confdefs.h. */
39801 #include <math.h>
39802 #ifdef HAVE_IEEEFP_H
39803 #include <ieeefp.h>
39804 #endif
39805
39806 int
39807 main ()
39808 {
39809 isnan(0);
39810 ;
39811 return 0;
39812 }
39813 _ACEOF
39814 if ac_fn_cxx_try_compile "$LINENO"; then :
39815 glibcxx_cv_func_isnan_use=yes
39816 else
39817 glibcxx_cv_func_isnan_use=no
39818 fi
39819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39820 ac_ext=c
39821 ac_cpp='$CPP $CPPFLAGS'
39822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39825
39826
39827 fi
39828
39829 fi
39830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39831 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39832
39833 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39834 for ac_func in isnan
39835 do :
39836 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39837 if test "x$ac_cv_func_isnan" = x""yes; then :
39838 cat >>confdefs.h <<_ACEOF
39839 #define HAVE_ISNAN 1
39840 _ACEOF
39841
39842 fi
39843 done
39844
39845 else
39846
39847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39848 $as_echo_n "checking for _isnan declaration... " >&6; }
39849 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39850 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39851 $as_echo_n "(cached) " >&6
39852 else
39853
39854
39855 ac_ext=cpp
39856 ac_cpp='$CXXCPP $CPPFLAGS'
39857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39860
39861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39862 /* end confdefs.h. */
39863 #include <math.h>
39864 #ifdef HAVE_IEEEFP_H
39865 #include <ieeefp.h>
39866 #endif
39867
39868 int
39869 main ()
39870 {
39871 _isnan(0);
39872 ;
39873 return 0;
39874 }
39875 _ACEOF
39876 if ac_fn_cxx_try_compile "$LINENO"; then :
39877 glibcxx_cv_func__isnan_use=yes
39878 else
39879 glibcxx_cv_func__isnan_use=no
39880 fi
39881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39882 ac_ext=c
39883 ac_cpp='$CPP $CPPFLAGS'
39884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39887
39888
39889 fi
39890
39891 fi
39892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39893 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39894
39895 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39896 for ac_func in _isnan
39897 do :
39898 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39899 if test "x$ac_cv_func__isnan" = x""yes; then :
39900 cat >>confdefs.h <<_ACEOF
39901 #define HAVE__ISNAN 1
39902 _ACEOF
39903
39904 fi
39905 done
39906
39907 fi
39908 fi
39909
39910
39911
39912
39913
39914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39915 $as_echo_n "checking for finite declaration... " >&6; }
39916 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39917 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39918 $as_echo_n "(cached) " >&6
39919 else
39920
39921
39922 ac_ext=cpp
39923 ac_cpp='$CXXCPP $CPPFLAGS'
39924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39927
39928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39929 /* end confdefs.h. */
39930 #include <math.h>
39931 #ifdef HAVE_IEEEFP_H
39932 #include <ieeefp.h>
39933 #endif
39934
39935 int
39936 main ()
39937 {
39938 finite(0);
39939 ;
39940 return 0;
39941 }
39942 _ACEOF
39943 if ac_fn_cxx_try_compile "$LINENO"; then :
39944 glibcxx_cv_func_finite_use=yes
39945 else
39946 glibcxx_cv_func_finite_use=no
39947 fi
39948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39949 ac_ext=c
39950 ac_cpp='$CPP $CPPFLAGS'
39951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39954
39955
39956 fi
39957
39958 fi
39959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39960 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39961
39962 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39963 for ac_func in finite
39964 do :
39965 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39966 if test "x$ac_cv_func_finite" = x""yes; then :
39967 cat >>confdefs.h <<_ACEOF
39968 #define HAVE_FINITE 1
39969 _ACEOF
39970
39971 fi
39972 done
39973
39974 else
39975
39976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39977 $as_echo_n "checking for _finite declaration... " >&6; }
39978 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39979 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39980 $as_echo_n "(cached) " >&6
39981 else
39982
39983
39984 ac_ext=cpp
39985 ac_cpp='$CXXCPP $CPPFLAGS'
39986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39989
39990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39991 /* end confdefs.h. */
39992 #include <math.h>
39993 #ifdef HAVE_IEEEFP_H
39994 #include <ieeefp.h>
39995 #endif
39996
39997 int
39998 main ()
39999 {
40000 _finite(0);
40001 ;
40002 return 0;
40003 }
40004 _ACEOF
40005 if ac_fn_cxx_try_compile "$LINENO"; then :
40006 glibcxx_cv_func__finite_use=yes
40007 else
40008 glibcxx_cv_func__finite_use=no
40009 fi
40010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40011 ac_ext=c
40012 ac_cpp='$CPP $CPPFLAGS'
40013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40016
40017
40018 fi
40019
40020 fi
40021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40022 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40023
40024 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40025 for ac_func in _finite
40026 do :
40027 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40028 if test "x$ac_cv_func__finite" = x""yes; then :
40029 cat >>confdefs.h <<_ACEOF
40030 #define HAVE__FINITE 1
40031 _ACEOF
40032
40033 fi
40034 done
40035
40036 fi
40037 fi
40038
40039
40040
40041
40042
40043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40044 $as_echo_n "checking for sincos declaration... " >&6; }
40045 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40046 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40047 $as_echo_n "(cached) " >&6
40048 else
40049
40050
40051 ac_ext=cpp
40052 ac_cpp='$CXXCPP $CPPFLAGS'
40053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40056
40057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40058 /* end confdefs.h. */
40059 #include <math.h>
40060 int
40061 main ()
40062 {
40063 sincos(0, 0, 0);
40064 ;
40065 return 0;
40066 }
40067 _ACEOF
40068 if ac_fn_cxx_try_compile "$LINENO"; then :
40069 glibcxx_cv_func_sincos_use=yes
40070 else
40071 glibcxx_cv_func_sincos_use=no
40072 fi
40073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40074 ac_ext=c
40075 ac_cpp='$CPP $CPPFLAGS'
40076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40079
40080
40081 fi
40082
40083 fi
40084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40085 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40086
40087 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40088 for ac_func in sincos
40089 do :
40090 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40091 if test "x$ac_cv_func_sincos" = x""yes; then :
40092 cat >>confdefs.h <<_ACEOF
40093 #define HAVE_SINCOS 1
40094 _ACEOF
40095
40096 fi
40097 done
40098
40099 else
40100
40101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40102 $as_echo_n "checking for _sincos declaration... " >&6; }
40103 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40104 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40105 $as_echo_n "(cached) " >&6
40106 else
40107
40108
40109 ac_ext=cpp
40110 ac_cpp='$CXXCPP $CPPFLAGS'
40111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40114
40115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40116 /* end confdefs.h. */
40117 #include <math.h>
40118 int
40119 main ()
40120 {
40121 _sincos(0, 0, 0);
40122 ;
40123 return 0;
40124 }
40125 _ACEOF
40126 if ac_fn_cxx_try_compile "$LINENO"; then :
40127 glibcxx_cv_func__sincos_use=yes
40128 else
40129 glibcxx_cv_func__sincos_use=no
40130 fi
40131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40132 ac_ext=c
40133 ac_cpp='$CPP $CPPFLAGS'
40134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40137
40138
40139 fi
40140
40141 fi
40142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40143 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40144
40145 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40146 for ac_func in _sincos
40147 do :
40148 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40149 if test "x$ac_cv_func__sincos" = x""yes; then :
40150 cat >>confdefs.h <<_ACEOF
40151 #define HAVE__SINCOS 1
40152 _ACEOF
40153
40154 fi
40155 done
40156
40157 fi
40158 fi
40159
40160
40161
40162
40163
40164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40165 $as_echo_n "checking for fpclass declaration... " >&6; }
40166 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40167 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40168 $as_echo_n "(cached) " >&6
40169 else
40170
40171
40172 ac_ext=cpp
40173 ac_cpp='$CXXCPP $CPPFLAGS'
40174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40177
40178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40179 /* end confdefs.h. */
40180 #include <math.h>
40181 #ifdef HAVE_IEEEFP_H
40182 #include <ieeefp.h>
40183 #endif
40184
40185 int
40186 main ()
40187 {
40188 fpclass(0);
40189 ;
40190 return 0;
40191 }
40192 _ACEOF
40193 if ac_fn_cxx_try_compile "$LINENO"; then :
40194 glibcxx_cv_func_fpclass_use=yes
40195 else
40196 glibcxx_cv_func_fpclass_use=no
40197 fi
40198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40199 ac_ext=c
40200 ac_cpp='$CPP $CPPFLAGS'
40201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40204
40205
40206 fi
40207
40208 fi
40209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40210 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40211
40212 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40213 for ac_func in fpclass
40214 do :
40215 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40216 if test "x$ac_cv_func_fpclass" = x""yes; then :
40217 cat >>confdefs.h <<_ACEOF
40218 #define HAVE_FPCLASS 1
40219 _ACEOF
40220
40221 fi
40222 done
40223
40224 else
40225
40226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40227 $as_echo_n "checking for _fpclass declaration... " >&6; }
40228 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40229 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40230 $as_echo_n "(cached) " >&6
40231 else
40232
40233
40234 ac_ext=cpp
40235 ac_cpp='$CXXCPP $CPPFLAGS'
40236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40239
40240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40241 /* end confdefs.h. */
40242 #include <math.h>
40243 #ifdef HAVE_IEEEFP_H
40244 #include <ieeefp.h>
40245 #endif
40246
40247 int
40248 main ()
40249 {
40250 _fpclass(0);
40251 ;
40252 return 0;
40253 }
40254 _ACEOF
40255 if ac_fn_cxx_try_compile "$LINENO"; then :
40256 glibcxx_cv_func__fpclass_use=yes
40257 else
40258 glibcxx_cv_func__fpclass_use=no
40259 fi
40260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40261 ac_ext=c
40262 ac_cpp='$CPP $CPPFLAGS'
40263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40266
40267
40268 fi
40269
40270 fi
40271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40272 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40273
40274 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40275 for ac_func in _fpclass
40276 do :
40277 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40278 if test "x$ac_cv_func__fpclass" = x""yes; then :
40279 cat >>confdefs.h <<_ACEOF
40280 #define HAVE__FPCLASS 1
40281 _ACEOF
40282
40283 fi
40284 done
40285
40286 fi
40287 fi
40288
40289
40290
40291
40292
40293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40294 $as_echo_n "checking for qfpclass declaration... " >&6; }
40295 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40296 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40297 $as_echo_n "(cached) " >&6
40298 else
40299
40300
40301 ac_ext=cpp
40302 ac_cpp='$CXXCPP $CPPFLAGS'
40303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40306
40307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40308 /* end confdefs.h. */
40309 #include <math.h>
40310 #ifdef HAVE_IEEEFP_H
40311 #include <ieeefp.h>
40312 #endif
40313
40314 int
40315 main ()
40316 {
40317 qfpclass(0);
40318 ;
40319 return 0;
40320 }
40321 _ACEOF
40322 if ac_fn_cxx_try_compile "$LINENO"; then :
40323 glibcxx_cv_func_qfpclass_use=yes
40324 else
40325 glibcxx_cv_func_qfpclass_use=no
40326 fi
40327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40328 ac_ext=c
40329 ac_cpp='$CPP $CPPFLAGS'
40330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40333
40334
40335 fi
40336
40337 fi
40338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40339 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40340
40341 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40342 for ac_func in qfpclass
40343 do :
40344 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40345 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40346 cat >>confdefs.h <<_ACEOF
40347 #define HAVE_QFPCLASS 1
40348 _ACEOF
40349
40350 fi
40351 done
40352
40353 else
40354
40355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40356 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40357 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40358 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40359 $as_echo_n "(cached) " >&6
40360 else
40361
40362
40363 ac_ext=cpp
40364 ac_cpp='$CXXCPP $CPPFLAGS'
40365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40368
40369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40370 /* end confdefs.h. */
40371 #include <math.h>
40372 #ifdef HAVE_IEEEFP_H
40373 #include <ieeefp.h>
40374 #endif
40375
40376 int
40377 main ()
40378 {
40379 _qfpclass(0);
40380 ;
40381 return 0;
40382 }
40383 _ACEOF
40384 if ac_fn_cxx_try_compile "$LINENO"; then :
40385 glibcxx_cv_func__qfpclass_use=yes
40386 else
40387 glibcxx_cv_func__qfpclass_use=no
40388 fi
40389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40390 ac_ext=c
40391 ac_cpp='$CPP $CPPFLAGS'
40392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40395
40396
40397 fi
40398
40399 fi
40400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40401 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40402
40403 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40404 for ac_func in _qfpclass
40405 do :
40406 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40407 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40408 cat >>confdefs.h <<_ACEOF
40409 #define HAVE__QFPCLASS 1
40410 _ACEOF
40411
40412 fi
40413 done
40414
40415 fi
40416 fi
40417
40418
40419
40420
40421
40422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40423 $as_echo_n "checking for hypot declaration... " >&6; }
40424 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40425 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40426 $as_echo_n "(cached) " >&6
40427 else
40428
40429
40430 ac_ext=cpp
40431 ac_cpp='$CXXCPP $CPPFLAGS'
40432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40435
40436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40437 /* end confdefs.h. */
40438 #include <math.h>
40439 int
40440 main ()
40441 {
40442 hypot(0, 0);
40443 ;
40444 return 0;
40445 }
40446 _ACEOF
40447 if ac_fn_cxx_try_compile "$LINENO"; then :
40448 glibcxx_cv_func_hypot_use=yes
40449 else
40450 glibcxx_cv_func_hypot_use=no
40451 fi
40452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40453 ac_ext=c
40454 ac_cpp='$CPP $CPPFLAGS'
40455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40458
40459
40460 fi
40461
40462 fi
40463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40464 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40465
40466 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40467 for ac_func in hypot
40468 do :
40469 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40470 if test "x$ac_cv_func_hypot" = x""yes; then :
40471 cat >>confdefs.h <<_ACEOF
40472 #define HAVE_HYPOT 1
40473 _ACEOF
40474
40475 fi
40476 done
40477
40478 else
40479
40480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40481 $as_echo_n "checking for _hypot declaration... " >&6; }
40482 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40483 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40484 $as_echo_n "(cached) " >&6
40485 else
40486
40487
40488 ac_ext=cpp
40489 ac_cpp='$CXXCPP $CPPFLAGS'
40490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40493
40494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40495 /* end confdefs.h. */
40496 #include <math.h>
40497 int
40498 main ()
40499 {
40500 _hypot(0, 0);
40501 ;
40502 return 0;
40503 }
40504 _ACEOF
40505 if ac_fn_cxx_try_compile "$LINENO"; then :
40506 glibcxx_cv_func__hypot_use=yes
40507 else
40508 glibcxx_cv_func__hypot_use=no
40509 fi
40510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40511 ac_ext=c
40512 ac_cpp='$CPP $CPPFLAGS'
40513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40516
40517
40518 fi
40519
40520 fi
40521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40522 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40523
40524 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40525 for ac_func in _hypot
40526 do :
40527 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40528 if test "x$ac_cv_func__hypot" = x""yes; then :
40529 cat >>confdefs.h <<_ACEOF
40530 #define HAVE__HYPOT 1
40531 _ACEOF
40532
40533 fi
40534 done
40535
40536 fi
40537 fi
40538
40539
40540
40541
40542
40543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40544 $as_echo_n "checking for float trig functions... " >&6; }
40545 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40546 $as_echo_n "(cached) " >&6
40547 else
40548
40549
40550 ac_ext=cpp
40551 ac_cpp='$CXXCPP $CPPFLAGS'
40552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40555
40556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40557 /* end confdefs.h. */
40558 #include <math.h>
40559 int
40560 main ()
40561 {
40562 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40563 ;
40564 return 0;
40565 }
40566 _ACEOF
40567 if ac_fn_cxx_try_compile "$LINENO"; then :
40568 glibcxx_cv_func_float_trig_use=yes
40569 else
40570 glibcxx_cv_func_float_trig_use=no
40571 fi
40572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40573 ac_ext=c
40574 ac_cpp='$CPP $CPPFLAGS'
40575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40578
40579 fi
40580
40581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40582 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40583 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40584 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40585 do :
40586 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40587 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40588 eval as_val=\$$as_ac_var
40589 if test "x$as_val" = x""yes; then :
40590 cat >>confdefs.h <<_ACEOF
40591 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40592 _ACEOF
40593
40594 fi
40595 done
40596
40597 else
40598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40599 $as_echo_n "checking for _float trig functions... " >&6; }
40600 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40601 $as_echo_n "(cached) " >&6
40602 else
40603
40604
40605 ac_ext=cpp
40606 ac_cpp='$CXXCPP $CPPFLAGS'
40607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40610
40611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40612 /* end confdefs.h. */
40613 #include <math.h>
40614 int
40615 main ()
40616 {
40617 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40618 ;
40619 return 0;
40620 }
40621 _ACEOF
40622 if ac_fn_cxx_try_compile "$LINENO"; then :
40623 glibcxx_cv_func__float_trig_use=yes
40624 else
40625 glibcxx_cv_func__float_trig_use=no
40626 fi
40627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40628 ac_ext=c
40629 ac_cpp='$CPP $CPPFLAGS'
40630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40633
40634 fi
40635
40636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40637 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40638 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40639 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40640 do :
40641 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40642 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40643 eval as_val=\$$as_ac_var
40644 if test "x$as_val" = x""yes; then :
40645 cat >>confdefs.h <<_ACEOF
40646 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40647 _ACEOF
40648
40649 fi
40650 done
40651
40652 fi
40653 fi
40654
40655
40656
40657
40658
40659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40660 $as_echo_n "checking for float round functions... " >&6; }
40661 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40662 $as_echo_n "(cached) " >&6
40663 else
40664
40665
40666 ac_ext=cpp
40667 ac_cpp='$CXXCPP $CPPFLAGS'
40668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40671
40672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40673 /* end confdefs.h. */
40674 #include <math.h>
40675 int
40676 main ()
40677 {
40678 ceilf (0); floorf (0);
40679 ;
40680 return 0;
40681 }
40682 _ACEOF
40683 if ac_fn_cxx_try_compile "$LINENO"; then :
40684 glibcxx_cv_func_float_round_use=yes
40685 else
40686 glibcxx_cv_func_float_round_use=no
40687 fi
40688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40689 ac_ext=c
40690 ac_cpp='$CPP $CPPFLAGS'
40691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40694
40695 fi
40696
40697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40698 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40699 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40700 for ac_func in ceilf floorf
40701 do :
40702 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40703 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40704 eval as_val=\$$as_ac_var
40705 if test "x$as_val" = x""yes; then :
40706 cat >>confdefs.h <<_ACEOF
40707 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40708 _ACEOF
40709
40710 fi
40711 done
40712
40713 else
40714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40715 $as_echo_n "checking for _float round functions... " >&6; }
40716 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40717 $as_echo_n "(cached) " >&6
40718 else
40719
40720
40721 ac_ext=cpp
40722 ac_cpp='$CXXCPP $CPPFLAGS'
40723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40726
40727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40728 /* end confdefs.h. */
40729 #include <math.h>
40730 int
40731 main ()
40732 {
40733 _ceilf (0); _floorf (0);
40734 ;
40735 return 0;
40736 }
40737 _ACEOF
40738 if ac_fn_cxx_try_compile "$LINENO"; then :
40739 glibcxx_cv_func__float_round_use=yes
40740 else
40741 glibcxx_cv_func__float_round_use=no
40742 fi
40743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40744 ac_ext=c
40745 ac_cpp='$CPP $CPPFLAGS'
40746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40749
40750 fi
40751
40752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40753 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40754 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40755 for ac_func in _ceilf _floorf
40756 do :
40757 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40758 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40759 eval as_val=\$$as_ac_var
40760 if test "x$as_val" = x""yes; then :
40761 cat >>confdefs.h <<_ACEOF
40762 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40763 _ACEOF
40764
40765 fi
40766 done
40767
40768 fi
40769 fi
40770
40771
40772
40773
40774
40775
40776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40777 $as_echo_n "checking for expf declaration... " >&6; }
40778 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40779 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40780 $as_echo_n "(cached) " >&6
40781 else
40782
40783
40784 ac_ext=cpp
40785 ac_cpp='$CXXCPP $CPPFLAGS'
40786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40789
40790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40791 /* end confdefs.h. */
40792 #include <math.h>
40793 #ifdef HAVE_IEEEFP_H
40794 #include <ieeefp.h>
40795 #endif
40796
40797 int
40798 main ()
40799 {
40800 expf(0);
40801 ;
40802 return 0;
40803 }
40804 _ACEOF
40805 if ac_fn_cxx_try_compile "$LINENO"; then :
40806 glibcxx_cv_func_expf_use=yes
40807 else
40808 glibcxx_cv_func_expf_use=no
40809 fi
40810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40811 ac_ext=c
40812 ac_cpp='$CPP $CPPFLAGS'
40813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40816
40817
40818 fi
40819
40820 fi
40821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40822 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40823
40824 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40825 for ac_func in expf
40826 do :
40827 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40828 if test "x$ac_cv_func_expf" = x""yes; then :
40829 cat >>confdefs.h <<_ACEOF
40830 #define HAVE_EXPF 1
40831 _ACEOF
40832
40833 fi
40834 done
40835
40836 else
40837
40838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40839 $as_echo_n "checking for _expf declaration... " >&6; }
40840 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40841 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40842 $as_echo_n "(cached) " >&6
40843 else
40844
40845
40846 ac_ext=cpp
40847 ac_cpp='$CXXCPP $CPPFLAGS'
40848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40851
40852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40853 /* end confdefs.h. */
40854 #include <math.h>
40855 #ifdef HAVE_IEEEFP_H
40856 #include <ieeefp.h>
40857 #endif
40858
40859 int
40860 main ()
40861 {
40862 _expf(0);
40863 ;
40864 return 0;
40865 }
40866 _ACEOF
40867 if ac_fn_cxx_try_compile "$LINENO"; then :
40868 glibcxx_cv_func__expf_use=yes
40869 else
40870 glibcxx_cv_func__expf_use=no
40871 fi
40872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40873 ac_ext=c
40874 ac_cpp='$CPP $CPPFLAGS'
40875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40878
40879
40880 fi
40881
40882 fi
40883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40884 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40885
40886 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40887 for ac_func in _expf
40888 do :
40889 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40890 if test "x$ac_cv_func__expf" = x""yes; then :
40891 cat >>confdefs.h <<_ACEOF
40892 #define HAVE__EXPF 1
40893 _ACEOF
40894
40895 fi
40896 done
40897
40898 fi
40899 fi
40900
40901
40902
40903
40904
40905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40906 $as_echo_n "checking for isnanf declaration... " >&6; }
40907 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40908 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40909 $as_echo_n "(cached) " >&6
40910 else
40911
40912
40913 ac_ext=cpp
40914 ac_cpp='$CXXCPP $CPPFLAGS'
40915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40918
40919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40920 /* end confdefs.h. */
40921 #include <math.h>
40922 #ifdef HAVE_IEEEFP_H
40923 #include <ieeefp.h>
40924 #endif
40925
40926 int
40927 main ()
40928 {
40929 isnanf(0);
40930 ;
40931 return 0;
40932 }
40933 _ACEOF
40934 if ac_fn_cxx_try_compile "$LINENO"; then :
40935 glibcxx_cv_func_isnanf_use=yes
40936 else
40937 glibcxx_cv_func_isnanf_use=no
40938 fi
40939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40940 ac_ext=c
40941 ac_cpp='$CPP $CPPFLAGS'
40942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40945
40946
40947 fi
40948
40949 fi
40950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40951 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40952
40953 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40954 for ac_func in isnanf
40955 do :
40956 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40957 if test "x$ac_cv_func_isnanf" = x""yes; then :
40958 cat >>confdefs.h <<_ACEOF
40959 #define HAVE_ISNANF 1
40960 _ACEOF
40961
40962 fi
40963 done
40964
40965 else
40966
40967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40968 $as_echo_n "checking for _isnanf declaration... " >&6; }
40969 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40970 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40971 $as_echo_n "(cached) " >&6
40972 else
40973
40974
40975 ac_ext=cpp
40976 ac_cpp='$CXXCPP $CPPFLAGS'
40977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40980
40981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40982 /* end confdefs.h. */
40983 #include <math.h>
40984 #ifdef HAVE_IEEEFP_H
40985 #include <ieeefp.h>
40986 #endif
40987
40988 int
40989 main ()
40990 {
40991 _isnanf(0);
40992 ;
40993 return 0;
40994 }
40995 _ACEOF
40996 if ac_fn_cxx_try_compile "$LINENO"; then :
40997 glibcxx_cv_func__isnanf_use=yes
40998 else
40999 glibcxx_cv_func__isnanf_use=no
41000 fi
41001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41002 ac_ext=c
41003 ac_cpp='$CPP $CPPFLAGS'
41004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41007
41008
41009 fi
41010
41011 fi
41012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41013 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41014
41015 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41016 for ac_func in _isnanf
41017 do :
41018 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41019 if test "x$ac_cv_func__isnanf" = x""yes; then :
41020 cat >>confdefs.h <<_ACEOF
41021 #define HAVE__ISNANF 1
41022 _ACEOF
41023
41024 fi
41025 done
41026
41027 fi
41028 fi
41029
41030
41031
41032
41033
41034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41035 $as_echo_n "checking for isinff declaration... " >&6; }
41036 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41037 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41038 $as_echo_n "(cached) " >&6
41039 else
41040
41041
41042 ac_ext=cpp
41043 ac_cpp='$CXXCPP $CPPFLAGS'
41044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41047
41048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41049 /* end confdefs.h. */
41050 #include <math.h>
41051 #ifdef HAVE_IEEEFP_H
41052 #include <ieeefp.h>
41053 #endif
41054
41055 int
41056 main ()
41057 {
41058 isinff(0);
41059 ;
41060 return 0;
41061 }
41062 _ACEOF
41063 if ac_fn_cxx_try_compile "$LINENO"; then :
41064 glibcxx_cv_func_isinff_use=yes
41065 else
41066 glibcxx_cv_func_isinff_use=no
41067 fi
41068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41069 ac_ext=c
41070 ac_cpp='$CPP $CPPFLAGS'
41071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41074
41075
41076 fi
41077
41078 fi
41079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41080 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41081
41082 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41083 for ac_func in isinff
41084 do :
41085 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41086 if test "x$ac_cv_func_isinff" = x""yes; then :
41087 cat >>confdefs.h <<_ACEOF
41088 #define HAVE_ISINFF 1
41089 _ACEOF
41090
41091 fi
41092 done
41093
41094 else
41095
41096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41097 $as_echo_n "checking for _isinff declaration... " >&6; }
41098 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41099 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41100 $as_echo_n "(cached) " >&6
41101 else
41102
41103
41104 ac_ext=cpp
41105 ac_cpp='$CXXCPP $CPPFLAGS'
41106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41109
41110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41111 /* end confdefs.h. */
41112 #include <math.h>
41113 #ifdef HAVE_IEEEFP_H
41114 #include <ieeefp.h>
41115 #endif
41116
41117 int
41118 main ()
41119 {
41120 _isinff(0);
41121 ;
41122 return 0;
41123 }
41124 _ACEOF
41125 if ac_fn_cxx_try_compile "$LINENO"; then :
41126 glibcxx_cv_func__isinff_use=yes
41127 else
41128 glibcxx_cv_func__isinff_use=no
41129 fi
41130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41131 ac_ext=c
41132 ac_cpp='$CPP $CPPFLAGS'
41133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41136
41137
41138 fi
41139
41140 fi
41141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41142 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41143
41144 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41145 for ac_func in _isinff
41146 do :
41147 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41148 if test "x$ac_cv_func__isinff" = x""yes; then :
41149 cat >>confdefs.h <<_ACEOF
41150 #define HAVE__ISINFF 1
41151 _ACEOF
41152
41153 fi
41154 done
41155
41156 fi
41157 fi
41158
41159
41160
41161
41162
41163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41164 $as_echo_n "checking for atan2f declaration... " >&6; }
41165 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41166 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41167 $as_echo_n "(cached) " >&6
41168 else
41169
41170
41171 ac_ext=cpp
41172 ac_cpp='$CXXCPP $CPPFLAGS'
41173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41176
41177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41178 /* end confdefs.h. */
41179 #include <math.h>
41180 int
41181 main ()
41182 {
41183 atan2f(0, 0);
41184 ;
41185 return 0;
41186 }
41187 _ACEOF
41188 if ac_fn_cxx_try_compile "$LINENO"; then :
41189 glibcxx_cv_func_atan2f_use=yes
41190 else
41191 glibcxx_cv_func_atan2f_use=no
41192 fi
41193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41194 ac_ext=c
41195 ac_cpp='$CPP $CPPFLAGS'
41196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41199
41200
41201 fi
41202
41203 fi
41204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41205 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41206
41207 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41208 for ac_func in atan2f
41209 do :
41210 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41211 if test "x$ac_cv_func_atan2f" = x""yes; then :
41212 cat >>confdefs.h <<_ACEOF
41213 #define HAVE_ATAN2F 1
41214 _ACEOF
41215
41216 fi
41217 done
41218
41219 else
41220
41221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41222 $as_echo_n "checking for _atan2f declaration... " >&6; }
41223 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41224 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41225 $as_echo_n "(cached) " >&6
41226 else
41227
41228
41229 ac_ext=cpp
41230 ac_cpp='$CXXCPP $CPPFLAGS'
41231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41234
41235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41236 /* end confdefs.h. */
41237 #include <math.h>
41238 int
41239 main ()
41240 {
41241 _atan2f(0, 0);
41242 ;
41243 return 0;
41244 }
41245 _ACEOF
41246 if ac_fn_cxx_try_compile "$LINENO"; then :
41247 glibcxx_cv_func__atan2f_use=yes
41248 else
41249 glibcxx_cv_func__atan2f_use=no
41250 fi
41251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41252 ac_ext=c
41253 ac_cpp='$CPP $CPPFLAGS'
41254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41257
41258
41259 fi
41260
41261 fi
41262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41263 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41264
41265 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41266 for ac_func in _atan2f
41267 do :
41268 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41269 if test "x$ac_cv_func__atan2f" = x""yes; then :
41270 cat >>confdefs.h <<_ACEOF
41271 #define HAVE__ATAN2F 1
41272 _ACEOF
41273
41274 fi
41275 done
41276
41277 fi
41278 fi
41279
41280
41281
41282
41283
41284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41285 $as_echo_n "checking for fabsf declaration... " >&6; }
41286 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41287 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41288 $as_echo_n "(cached) " >&6
41289 else
41290
41291
41292 ac_ext=cpp
41293 ac_cpp='$CXXCPP $CPPFLAGS'
41294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41297
41298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41299 /* end confdefs.h. */
41300 #include <math.h>
41301 #ifdef HAVE_IEEEFP_H
41302 #include <ieeefp.h>
41303 #endif
41304
41305 int
41306 main ()
41307 {
41308 fabsf(0);
41309 ;
41310 return 0;
41311 }
41312 _ACEOF
41313 if ac_fn_cxx_try_compile "$LINENO"; then :
41314 glibcxx_cv_func_fabsf_use=yes
41315 else
41316 glibcxx_cv_func_fabsf_use=no
41317 fi
41318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41319 ac_ext=c
41320 ac_cpp='$CPP $CPPFLAGS'
41321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41324
41325
41326 fi
41327
41328 fi
41329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41330 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41331
41332 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41333 for ac_func in fabsf
41334 do :
41335 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41336 if test "x$ac_cv_func_fabsf" = x""yes; then :
41337 cat >>confdefs.h <<_ACEOF
41338 #define HAVE_FABSF 1
41339 _ACEOF
41340
41341 fi
41342 done
41343
41344 else
41345
41346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41347 $as_echo_n "checking for _fabsf declaration... " >&6; }
41348 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41349 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41350 $as_echo_n "(cached) " >&6
41351 else
41352
41353
41354 ac_ext=cpp
41355 ac_cpp='$CXXCPP $CPPFLAGS'
41356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41359
41360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41361 /* end confdefs.h. */
41362 #include <math.h>
41363 #ifdef HAVE_IEEEFP_H
41364 #include <ieeefp.h>
41365 #endif
41366
41367 int
41368 main ()
41369 {
41370 _fabsf(0);
41371 ;
41372 return 0;
41373 }
41374 _ACEOF
41375 if ac_fn_cxx_try_compile "$LINENO"; then :
41376 glibcxx_cv_func__fabsf_use=yes
41377 else
41378 glibcxx_cv_func__fabsf_use=no
41379 fi
41380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41381 ac_ext=c
41382 ac_cpp='$CPP $CPPFLAGS'
41383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41386
41387
41388 fi
41389
41390 fi
41391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41392 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41393
41394 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41395 for ac_func in _fabsf
41396 do :
41397 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41398 if test "x$ac_cv_func__fabsf" = x""yes; then :
41399 cat >>confdefs.h <<_ACEOF
41400 #define HAVE__FABSF 1
41401 _ACEOF
41402
41403 fi
41404 done
41405
41406 fi
41407 fi
41408
41409
41410
41411
41412
41413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41414 $as_echo_n "checking for fmodf declaration... " >&6; }
41415 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41416 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41417 $as_echo_n "(cached) " >&6
41418 else
41419
41420
41421 ac_ext=cpp
41422 ac_cpp='$CXXCPP $CPPFLAGS'
41423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41426
41427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41428 /* end confdefs.h. */
41429 #include <math.h>
41430 int
41431 main ()
41432 {
41433 fmodf(0, 0);
41434 ;
41435 return 0;
41436 }
41437 _ACEOF
41438 if ac_fn_cxx_try_compile "$LINENO"; then :
41439 glibcxx_cv_func_fmodf_use=yes
41440 else
41441 glibcxx_cv_func_fmodf_use=no
41442 fi
41443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41444 ac_ext=c
41445 ac_cpp='$CPP $CPPFLAGS'
41446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41449
41450
41451 fi
41452
41453 fi
41454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41455 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41456
41457 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41458 for ac_func in fmodf
41459 do :
41460 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41461 if test "x$ac_cv_func_fmodf" = x""yes; then :
41462 cat >>confdefs.h <<_ACEOF
41463 #define HAVE_FMODF 1
41464 _ACEOF
41465
41466 fi
41467 done
41468
41469 else
41470
41471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41472 $as_echo_n "checking for _fmodf declaration... " >&6; }
41473 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41474 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41475 $as_echo_n "(cached) " >&6
41476 else
41477
41478
41479 ac_ext=cpp
41480 ac_cpp='$CXXCPP $CPPFLAGS'
41481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41484
41485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41486 /* end confdefs.h. */
41487 #include <math.h>
41488 int
41489 main ()
41490 {
41491 _fmodf(0, 0);
41492 ;
41493 return 0;
41494 }
41495 _ACEOF
41496 if ac_fn_cxx_try_compile "$LINENO"; then :
41497 glibcxx_cv_func__fmodf_use=yes
41498 else
41499 glibcxx_cv_func__fmodf_use=no
41500 fi
41501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41502 ac_ext=c
41503 ac_cpp='$CPP $CPPFLAGS'
41504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41507
41508
41509 fi
41510
41511 fi
41512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41513 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41514
41515 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41516 for ac_func in _fmodf
41517 do :
41518 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41519 if test "x$ac_cv_func__fmodf" = x""yes; then :
41520 cat >>confdefs.h <<_ACEOF
41521 #define HAVE__FMODF 1
41522 _ACEOF
41523
41524 fi
41525 done
41526
41527 fi
41528 fi
41529
41530
41531
41532
41533
41534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41535 $as_echo_n "checking for frexpf declaration... " >&6; }
41536 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41537 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41538 $as_echo_n "(cached) " >&6
41539 else
41540
41541
41542 ac_ext=cpp
41543 ac_cpp='$CXXCPP $CPPFLAGS'
41544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41547
41548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41549 /* end confdefs.h. */
41550 #include <math.h>
41551 int
41552 main ()
41553 {
41554 frexpf(0, 0);
41555 ;
41556 return 0;
41557 }
41558 _ACEOF
41559 if ac_fn_cxx_try_compile "$LINENO"; then :
41560 glibcxx_cv_func_frexpf_use=yes
41561 else
41562 glibcxx_cv_func_frexpf_use=no
41563 fi
41564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41565 ac_ext=c
41566 ac_cpp='$CPP $CPPFLAGS'
41567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41570
41571
41572 fi
41573
41574 fi
41575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41576 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41577
41578 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41579 for ac_func in frexpf
41580 do :
41581 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41582 if test "x$ac_cv_func_frexpf" = x""yes; then :
41583 cat >>confdefs.h <<_ACEOF
41584 #define HAVE_FREXPF 1
41585 _ACEOF
41586
41587 fi
41588 done
41589
41590 else
41591
41592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41593 $as_echo_n "checking for _frexpf declaration... " >&6; }
41594 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41595 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41596 $as_echo_n "(cached) " >&6
41597 else
41598
41599
41600 ac_ext=cpp
41601 ac_cpp='$CXXCPP $CPPFLAGS'
41602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41605
41606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41607 /* end confdefs.h. */
41608 #include <math.h>
41609 int
41610 main ()
41611 {
41612 _frexpf(0, 0);
41613 ;
41614 return 0;
41615 }
41616 _ACEOF
41617 if ac_fn_cxx_try_compile "$LINENO"; then :
41618 glibcxx_cv_func__frexpf_use=yes
41619 else
41620 glibcxx_cv_func__frexpf_use=no
41621 fi
41622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41623 ac_ext=c
41624 ac_cpp='$CPP $CPPFLAGS'
41625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41628
41629
41630 fi
41631
41632 fi
41633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41634 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41635
41636 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41637 for ac_func in _frexpf
41638 do :
41639 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41640 if test "x$ac_cv_func__frexpf" = x""yes; then :
41641 cat >>confdefs.h <<_ACEOF
41642 #define HAVE__FREXPF 1
41643 _ACEOF
41644
41645 fi
41646 done
41647
41648 fi
41649 fi
41650
41651
41652
41653
41654
41655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41656 $as_echo_n "checking for hypotf declaration... " >&6; }
41657 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41658 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41659 $as_echo_n "(cached) " >&6
41660 else
41661
41662
41663 ac_ext=cpp
41664 ac_cpp='$CXXCPP $CPPFLAGS'
41665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41668
41669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41670 /* end confdefs.h. */
41671 #include <math.h>
41672 int
41673 main ()
41674 {
41675 hypotf(0, 0);
41676 ;
41677 return 0;
41678 }
41679 _ACEOF
41680 if ac_fn_cxx_try_compile "$LINENO"; then :
41681 glibcxx_cv_func_hypotf_use=yes
41682 else
41683 glibcxx_cv_func_hypotf_use=no
41684 fi
41685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41686 ac_ext=c
41687 ac_cpp='$CPP $CPPFLAGS'
41688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41691
41692
41693 fi
41694
41695 fi
41696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41697 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41698
41699 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41700 for ac_func in hypotf
41701 do :
41702 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41703 if test "x$ac_cv_func_hypotf" = x""yes; then :
41704 cat >>confdefs.h <<_ACEOF
41705 #define HAVE_HYPOTF 1
41706 _ACEOF
41707
41708 fi
41709 done
41710
41711 else
41712
41713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41714 $as_echo_n "checking for _hypotf declaration... " >&6; }
41715 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41716 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41717 $as_echo_n "(cached) " >&6
41718 else
41719
41720
41721 ac_ext=cpp
41722 ac_cpp='$CXXCPP $CPPFLAGS'
41723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41726
41727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41728 /* end confdefs.h. */
41729 #include <math.h>
41730 int
41731 main ()
41732 {
41733 _hypotf(0, 0);
41734 ;
41735 return 0;
41736 }
41737 _ACEOF
41738 if ac_fn_cxx_try_compile "$LINENO"; then :
41739 glibcxx_cv_func__hypotf_use=yes
41740 else
41741 glibcxx_cv_func__hypotf_use=no
41742 fi
41743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41744 ac_ext=c
41745 ac_cpp='$CPP $CPPFLAGS'
41746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41749
41750
41751 fi
41752
41753 fi
41754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41755 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41756
41757 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41758 for ac_func in _hypotf
41759 do :
41760 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41761 if test "x$ac_cv_func__hypotf" = x""yes; then :
41762 cat >>confdefs.h <<_ACEOF
41763 #define HAVE__HYPOTF 1
41764 _ACEOF
41765
41766 fi
41767 done
41768
41769 fi
41770 fi
41771
41772
41773
41774
41775
41776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41777 $as_echo_n "checking for ldexpf declaration... " >&6; }
41778 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41779 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41780 $as_echo_n "(cached) " >&6
41781 else
41782
41783
41784 ac_ext=cpp
41785 ac_cpp='$CXXCPP $CPPFLAGS'
41786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41789
41790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41791 /* end confdefs.h. */
41792 #include <math.h>
41793 int
41794 main ()
41795 {
41796 ldexpf(0, 0);
41797 ;
41798 return 0;
41799 }
41800 _ACEOF
41801 if ac_fn_cxx_try_compile "$LINENO"; then :
41802 glibcxx_cv_func_ldexpf_use=yes
41803 else
41804 glibcxx_cv_func_ldexpf_use=no
41805 fi
41806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41807 ac_ext=c
41808 ac_cpp='$CPP $CPPFLAGS'
41809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41812
41813
41814 fi
41815
41816 fi
41817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41818 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41819
41820 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41821 for ac_func in ldexpf
41822 do :
41823 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41824 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41825 cat >>confdefs.h <<_ACEOF
41826 #define HAVE_LDEXPF 1
41827 _ACEOF
41828
41829 fi
41830 done
41831
41832 else
41833
41834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41835 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41836 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41837 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41838 $as_echo_n "(cached) " >&6
41839 else
41840
41841
41842 ac_ext=cpp
41843 ac_cpp='$CXXCPP $CPPFLAGS'
41844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41847
41848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41849 /* end confdefs.h. */
41850 #include <math.h>
41851 int
41852 main ()
41853 {
41854 _ldexpf(0, 0);
41855 ;
41856 return 0;
41857 }
41858 _ACEOF
41859 if ac_fn_cxx_try_compile "$LINENO"; then :
41860 glibcxx_cv_func__ldexpf_use=yes
41861 else
41862 glibcxx_cv_func__ldexpf_use=no
41863 fi
41864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41865 ac_ext=c
41866 ac_cpp='$CPP $CPPFLAGS'
41867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41870
41871
41872 fi
41873
41874 fi
41875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41876 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41877
41878 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41879 for ac_func in _ldexpf
41880 do :
41881 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41882 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41883 cat >>confdefs.h <<_ACEOF
41884 #define HAVE__LDEXPF 1
41885 _ACEOF
41886
41887 fi
41888 done
41889
41890 fi
41891 fi
41892
41893
41894
41895
41896
41897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41898 $as_echo_n "checking for logf declaration... " >&6; }
41899 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41900 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41901 $as_echo_n "(cached) " >&6
41902 else
41903
41904
41905 ac_ext=cpp
41906 ac_cpp='$CXXCPP $CPPFLAGS'
41907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41910
41911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41912 /* end confdefs.h. */
41913 #include <math.h>
41914 #ifdef HAVE_IEEEFP_H
41915 #include <ieeefp.h>
41916 #endif
41917
41918 int
41919 main ()
41920 {
41921 logf(0);
41922 ;
41923 return 0;
41924 }
41925 _ACEOF
41926 if ac_fn_cxx_try_compile "$LINENO"; then :
41927 glibcxx_cv_func_logf_use=yes
41928 else
41929 glibcxx_cv_func_logf_use=no
41930 fi
41931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41932 ac_ext=c
41933 ac_cpp='$CPP $CPPFLAGS'
41934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41937
41938
41939 fi
41940
41941 fi
41942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41943 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41944
41945 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41946 for ac_func in logf
41947 do :
41948 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41949 if test "x$ac_cv_func_logf" = x""yes; then :
41950 cat >>confdefs.h <<_ACEOF
41951 #define HAVE_LOGF 1
41952 _ACEOF
41953
41954 fi
41955 done
41956
41957 else
41958
41959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41960 $as_echo_n "checking for _logf declaration... " >&6; }
41961 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41962 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41963 $as_echo_n "(cached) " >&6
41964 else
41965
41966
41967 ac_ext=cpp
41968 ac_cpp='$CXXCPP $CPPFLAGS'
41969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41972
41973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41974 /* end confdefs.h. */
41975 #include <math.h>
41976 #ifdef HAVE_IEEEFP_H
41977 #include <ieeefp.h>
41978 #endif
41979
41980 int
41981 main ()
41982 {
41983 _logf(0);
41984 ;
41985 return 0;
41986 }
41987 _ACEOF
41988 if ac_fn_cxx_try_compile "$LINENO"; then :
41989 glibcxx_cv_func__logf_use=yes
41990 else
41991 glibcxx_cv_func__logf_use=no
41992 fi
41993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41994 ac_ext=c
41995 ac_cpp='$CPP $CPPFLAGS'
41996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41999
42000
42001 fi
42002
42003 fi
42004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42005 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42006
42007 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42008 for ac_func in _logf
42009 do :
42010 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42011 if test "x$ac_cv_func__logf" = x""yes; then :
42012 cat >>confdefs.h <<_ACEOF
42013 #define HAVE__LOGF 1
42014 _ACEOF
42015
42016 fi
42017 done
42018
42019 fi
42020 fi
42021
42022
42023
42024
42025
42026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42027 $as_echo_n "checking for log10f declaration... " >&6; }
42028 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42029 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42030 $as_echo_n "(cached) " >&6
42031 else
42032
42033
42034 ac_ext=cpp
42035 ac_cpp='$CXXCPP $CPPFLAGS'
42036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42039
42040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42041 /* end confdefs.h. */
42042 #include <math.h>
42043 #ifdef HAVE_IEEEFP_H
42044 #include <ieeefp.h>
42045 #endif
42046
42047 int
42048 main ()
42049 {
42050 log10f(0);
42051 ;
42052 return 0;
42053 }
42054 _ACEOF
42055 if ac_fn_cxx_try_compile "$LINENO"; then :
42056 glibcxx_cv_func_log10f_use=yes
42057 else
42058 glibcxx_cv_func_log10f_use=no
42059 fi
42060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42061 ac_ext=c
42062 ac_cpp='$CPP $CPPFLAGS'
42063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42066
42067
42068 fi
42069
42070 fi
42071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42072 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42073
42074 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42075 for ac_func in log10f
42076 do :
42077 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42078 if test "x$ac_cv_func_log10f" = x""yes; then :
42079 cat >>confdefs.h <<_ACEOF
42080 #define HAVE_LOG10F 1
42081 _ACEOF
42082
42083 fi
42084 done
42085
42086 else
42087
42088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42089 $as_echo_n "checking for _log10f declaration... " >&6; }
42090 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42091 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42092 $as_echo_n "(cached) " >&6
42093 else
42094
42095
42096 ac_ext=cpp
42097 ac_cpp='$CXXCPP $CPPFLAGS'
42098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42101
42102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42103 /* end confdefs.h. */
42104 #include <math.h>
42105 #ifdef HAVE_IEEEFP_H
42106 #include <ieeefp.h>
42107 #endif
42108
42109 int
42110 main ()
42111 {
42112 _log10f(0);
42113 ;
42114 return 0;
42115 }
42116 _ACEOF
42117 if ac_fn_cxx_try_compile "$LINENO"; then :
42118 glibcxx_cv_func__log10f_use=yes
42119 else
42120 glibcxx_cv_func__log10f_use=no
42121 fi
42122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42123 ac_ext=c
42124 ac_cpp='$CPP $CPPFLAGS'
42125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42128
42129
42130 fi
42131
42132 fi
42133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42134 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42135
42136 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42137 for ac_func in _log10f
42138 do :
42139 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42140 if test "x$ac_cv_func__log10f" = x""yes; then :
42141 cat >>confdefs.h <<_ACEOF
42142 #define HAVE__LOG10F 1
42143 _ACEOF
42144
42145 fi
42146 done
42147
42148 fi
42149 fi
42150
42151
42152
42153
42154
42155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42156 $as_echo_n "checking for modff declaration... " >&6; }
42157 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42158 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42159 $as_echo_n "(cached) " >&6
42160 else
42161
42162
42163 ac_ext=cpp
42164 ac_cpp='$CXXCPP $CPPFLAGS'
42165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42168
42169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42170 /* end confdefs.h. */
42171 #include <math.h>
42172 int
42173 main ()
42174 {
42175 modff(0, 0);
42176 ;
42177 return 0;
42178 }
42179 _ACEOF
42180 if ac_fn_cxx_try_compile "$LINENO"; then :
42181 glibcxx_cv_func_modff_use=yes
42182 else
42183 glibcxx_cv_func_modff_use=no
42184 fi
42185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42186 ac_ext=c
42187 ac_cpp='$CPP $CPPFLAGS'
42188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42191
42192
42193 fi
42194
42195 fi
42196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42197 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42198
42199 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42200 for ac_func in modff
42201 do :
42202 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42203 if test "x$ac_cv_func_modff" = x""yes; then :
42204 cat >>confdefs.h <<_ACEOF
42205 #define HAVE_MODFF 1
42206 _ACEOF
42207
42208 fi
42209 done
42210
42211 else
42212
42213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42214 $as_echo_n "checking for _modff declaration... " >&6; }
42215 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42216 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42217 $as_echo_n "(cached) " >&6
42218 else
42219
42220
42221 ac_ext=cpp
42222 ac_cpp='$CXXCPP $CPPFLAGS'
42223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42226
42227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42228 /* end confdefs.h. */
42229 #include <math.h>
42230 int
42231 main ()
42232 {
42233 _modff(0, 0);
42234 ;
42235 return 0;
42236 }
42237 _ACEOF
42238 if ac_fn_cxx_try_compile "$LINENO"; then :
42239 glibcxx_cv_func__modff_use=yes
42240 else
42241 glibcxx_cv_func__modff_use=no
42242 fi
42243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42244 ac_ext=c
42245 ac_cpp='$CPP $CPPFLAGS'
42246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42249
42250
42251 fi
42252
42253 fi
42254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42255 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42256
42257 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42258 for ac_func in _modff
42259 do :
42260 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42261 if test "x$ac_cv_func__modff" = x""yes; then :
42262 cat >>confdefs.h <<_ACEOF
42263 #define HAVE__MODFF 1
42264 _ACEOF
42265
42266 fi
42267 done
42268
42269 fi
42270 fi
42271
42272
42273
42274
42275
42276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42277 $as_echo_n "checking for modf declaration... " >&6; }
42278 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42279 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42280 $as_echo_n "(cached) " >&6
42281 else
42282
42283
42284 ac_ext=cpp
42285 ac_cpp='$CXXCPP $CPPFLAGS'
42286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42289
42290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42291 /* end confdefs.h. */
42292 #include <math.h>
42293 int
42294 main ()
42295 {
42296 modf(0, 0);
42297 ;
42298 return 0;
42299 }
42300 _ACEOF
42301 if ac_fn_cxx_try_compile "$LINENO"; then :
42302 glibcxx_cv_func_modf_use=yes
42303 else
42304 glibcxx_cv_func_modf_use=no
42305 fi
42306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42307 ac_ext=c
42308 ac_cpp='$CPP $CPPFLAGS'
42309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42312
42313
42314 fi
42315
42316 fi
42317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42318 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42319
42320 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42321 for ac_func in modf
42322 do :
42323 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42324 if test "x$ac_cv_func_modf" = x""yes; then :
42325 cat >>confdefs.h <<_ACEOF
42326 #define HAVE_MODF 1
42327 _ACEOF
42328
42329 fi
42330 done
42331
42332 else
42333
42334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42335 $as_echo_n "checking for _modf declaration... " >&6; }
42336 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42337 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42338 $as_echo_n "(cached) " >&6
42339 else
42340
42341
42342 ac_ext=cpp
42343 ac_cpp='$CXXCPP $CPPFLAGS'
42344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42347
42348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42349 /* end confdefs.h. */
42350 #include <math.h>
42351 int
42352 main ()
42353 {
42354 _modf(0, 0);
42355 ;
42356 return 0;
42357 }
42358 _ACEOF
42359 if ac_fn_cxx_try_compile "$LINENO"; then :
42360 glibcxx_cv_func__modf_use=yes
42361 else
42362 glibcxx_cv_func__modf_use=no
42363 fi
42364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42365 ac_ext=c
42366 ac_cpp='$CPP $CPPFLAGS'
42367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42370
42371
42372 fi
42373
42374 fi
42375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42376 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42377
42378 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42379 for ac_func in _modf
42380 do :
42381 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42382 if test "x$ac_cv_func__modf" = x""yes; then :
42383 cat >>confdefs.h <<_ACEOF
42384 #define HAVE__MODF 1
42385 _ACEOF
42386
42387 fi
42388 done
42389
42390 fi
42391 fi
42392
42393
42394
42395
42396
42397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42398 $as_echo_n "checking for powf declaration... " >&6; }
42399 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42400 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42401 $as_echo_n "(cached) " >&6
42402 else
42403
42404
42405 ac_ext=cpp
42406 ac_cpp='$CXXCPP $CPPFLAGS'
42407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42410
42411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42412 /* end confdefs.h. */
42413 #include <math.h>
42414 int
42415 main ()
42416 {
42417 powf(0, 0);
42418 ;
42419 return 0;
42420 }
42421 _ACEOF
42422 if ac_fn_cxx_try_compile "$LINENO"; then :
42423 glibcxx_cv_func_powf_use=yes
42424 else
42425 glibcxx_cv_func_powf_use=no
42426 fi
42427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42428 ac_ext=c
42429 ac_cpp='$CPP $CPPFLAGS'
42430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42433
42434
42435 fi
42436
42437 fi
42438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42439 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42440
42441 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42442 for ac_func in powf
42443 do :
42444 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42445 if test "x$ac_cv_func_powf" = x""yes; then :
42446 cat >>confdefs.h <<_ACEOF
42447 #define HAVE_POWF 1
42448 _ACEOF
42449
42450 fi
42451 done
42452
42453 else
42454
42455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42456 $as_echo_n "checking for _powf declaration... " >&6; }
42457 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42458 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42459 $as_echo_n "(cached) " >&6
42460 else
42461
42462
42463 ac_ext=cpp
42464 ac_cpp='$CXXCPP $CPPFLAGS'
42465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42468
42469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42470 /* end confdefs.h. */
42471 #include <math.h>
42472 int
42473 main ()
42474 {
42475 _powf(0, 0);
42476 ;
42477 return 0;
42478 }
42479 _ACEOF
42480 if ac_fn_cxx_try_compile "$LINENO"; then :
42481 glibcxx_cv_func__powf_use=yes
42482 else
42483 glibcxx_cv_func__powf_use=no
42484 fi
42485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42486 ac_ext=c
42487 ac_cpp='$CPP $CPPFLAGS'
42488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42491
42492
42493 fi
42494
42495 fi
42496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42497 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42498
42499 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42500 for ac_func in _powf
42501 do :
42502 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42503 if test "x$ac_cv_func__powf" = x""yes; then :
42504 cat >>confdefs.h <<_ACEOF
42505 #define HAVE__POWF 1
42506 _ACEOF
42507
42508 fi
42509 done
42510
42511 fi
42512 fi
42513
42514
42515
42516
42517
42518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42519 $as_echo_n "checking for sqrtf declaration... " >&6; }
42520 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42521 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42522 $as_echo_n "(cached) " >&6
42523 else
42524
42525
42526 ac_ext=cpp
42527 ac_cpp='$CXXCPP $CPPFLAGS'
42528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42531
42532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42533 /* end confdefs.h. */
42534 #include <math.h>
42535 #ifdef HAVE_IEEEFP_H
42536 #include <ieeefp.h>
42537 #endif
42538
42539 int
42540 main ()
42541 {
42542 sqrtf(0);
42543 ;
42544 return 0;
42545 }
42546 _ACEOF
42547 if ac_fn_cxx_try_compile "$LINENO"; then :
42548 glibcxx_cv_func_sqrtf_use=yes
42549 else
42550 glibcxx_cv_func_sqrtf_use=no
42551 fi
42552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42553 ac_ext=c
42554 ac_cpp='$CPP $CPPFLAGS'
42555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42558
42559
42560 fi
42561
42562 fi
42563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42564 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42565
42566 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42567 for ac_func in sqrtf
42568 do :
42569 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42570 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42571 cat >>confdefs.h <<_ACEOF
42572 #define HAVE_SQRTF 1
42573 _ACEOF
42574
42575 fi
42576 done
42577
42578 else
42579
42580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42581 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42582 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42583 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42584 $as_echo_n "(cached) " >&6
42585 else
42586
42587
42588 ac_ext=cpp
42589 ac_cpp='$CXXCPP $CPPFLAGS'
42590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42593
42594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42595 /* end confdefs.h. */
42596 #include <math.h>
42597 #ifdef HAVE_IEEEFP_H
42598 #include <ieeefp.h>
42599 #endif
42600
42601 int
42602 main ()
42603 {
42604 _sqrtf(0);
42605 ;
42606 return 0;
42607 }
42608 _ACEOF
42609 if ac_fn_cxx_try_compile "$LINENO"; then :
42610 glibcxx_cv_func__sqrtf_use=yes
42611 else
42612 glibcxx_cv_func__sqrtf_use=no
42613 fi
42614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42615 ac_ext=c
42616 ac_cpp='$CPP $CPPFLAGS'
42617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42620
42621
42622 fi
42623
42624 fi
42625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42626 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42627
42628 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42629 for ac_func in _sqrtf
42630 do :
42631 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42632 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42633 cat >>confdefs.h <<_ACEOF
42634 #define HAVE__SQRTF 1
42635 _ACEOF
42636
42637 fi
42638 done
42639
42640 fi
42641 fi
42642
42643
42644
42645
42646
42647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42648 $as_echo_n "checking for sincosf declaration... " >&6; }
42649 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42650 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42651 $as_echo_n "(cached) " >&6
42652 else
42653
42654
42655 ac_ext=cpp
42656 ac_cpp='$CXXCPP $CPPFLAGS'
42657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42660
42661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42662 /* end confdefs.h. */
42663 #include <math.h>
42664 int
42665 main ()
42666 {
42667 sincosf(0, 0, 0);
42668 ;
42669 return 0;
42670 }
42671 _ACEOF
42672 if ac_fn_cxx_try_compile "$LINENO"; then :
42673 glibcxx_cv_func_sincosf_use=yes
42674 else
42675 glibcxx_cv_func_sincosf_use=no
42676 fi
42677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42678 ac_ext=c
42679 ac_cpp='$CPP $CPPFLAGS'
42680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42683
42684
42685 fi
42686
42687 fi
42688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42689 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42690
42691 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42692 for ac_func in sincosf
42693 do :
42694 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42695 if test "x$ac_cv_func_sincosf" = x""yes; then :
42696 cat >>confdefs.h <<_ACEOF
42697 #define HAVE_SINCOSF 1
42698 _ACEOF
42699
42700 fi
42701 done
42702
42703 else
42704
42705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42706 $as_echo_n "checking for _sincosf declaration... " >&6; }
42707 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42708 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42709 $as_echo_n "(cached) " >&6
42710 else
42711
42712
42713 ac_ext=cpp
42714 ac_cpp='$CXXCPP $CPPFLAGS'
42715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42718
42719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42720 /* end confdefs.h. */
42721 #include <math.h>
42722 int
42723 main ()
42724 {
42725 _sincosf(0, 0, 0);
42726 ;
42727 return 0;
42728 }
42729 _ACEOF
42730 if ac_fn_cxx_try_compile "$LINENO"; then :
42731 glibcxx_cv_func__sincosf_use=yes
42732 else
42733 glibcxx_cv_func__sincosf_use=no
42734 fi
42735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42736 ac_ext=c
42737 ac_cpp='$CPP $CPPFLAGS'
42738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42741
42742
42743 fi
42744
42745 fi
42746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42747 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42748
42749 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42750 for ac_func in _sincosf
42751 do :
42752 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42753 if test "x$ac_cv_func__sincosf" = x""yes; then :
42754 cat >>confdefs.h <<_ACEOF
42755 #define HAVE__SINCOSF 1
42756 _ACEOF
42757
42758 fi
42759 done
42760
42761 fi
42762 fi
42763
42764
42765
42766
42767
42768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42769 $as_echo_n "checking for finitef declaration... " >&6; }
42770 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42771 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42772 $as_echo_n "(cached) " >&6
42773 else
42774
42775
42776 ac_ext=cpp
42777 ac_cpp='$CXXCPP $CPPFLAGS'
42778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42781
42782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42783 /* end confdefs.h. */
42784 #include <math.h>
42785 #ifdef HAVE_IEEEFP_H
42786 #include <ieeefp.h>
42787 #endif
42788
42789 int
42790 main ()
42791 {
42792 finitef(0);
42793 ;
42794 return 0;
42795 }
42796 _ACEOF
42797 if ac_fn_cxx_try_compile "$LINENO"; then :
42798 glibcxx_cv_func_finitef_use=yes
42799 else
42800 glibcxx_cv_func_finitef_use=no
42801 fi
42802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42803 ac_ext=c
42804 ac_cpp='$CPP $CPPFLAGS'
42805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42808
42809
42810 fi
42811
42812 fi
42813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42814 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42815
42816 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42817 for ac_func in finitef
42818 do :
42819 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42820 if test "x$ac_cv_func_finitef" = x""yes; then :
42821 cat >>confdefs.h <<_ACEOF
42822 #define HAVE_FINITEF 1
42823 _ACEOF
42824
42825 fi
42826 done
42827
42828 else
42829
42830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42831 $as_echo_n "checking for _finitef declaration... " >&6; }
42832 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42833 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42834 $as_echo_n "(cached) " >&6
42835 else
42836
42837
42838 ac_ext=cpp
42839 ac_cpp='$CXXCPP $CPPFLAGS'
42840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42843
42844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42845 /* end confdefs.h. */
42846 #include <math.h>
42847 #ifdef HAVE_IEEEFP_H
42848 #include <ieeefp.h>
42849 #endif
42850
42851 int
42852 main ()
42853 {
42854 _finitef(0);
42855 ;
42856 return 0;
42857 }
42858 _ACEOF
42859 if ac_fn_cxx_try_compile "$LINENO"; then :
42860 glibcxx_cv_func__finitef_use=yes
42861 else
42862 glibcxx_cv_func__finitef_use=no
42863 fi
42864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42865 ac_ext=c
42866 ac_cpp='$CPP $CPPFLAGS'
42867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42870
42871
42872 fi
42873
42874 fi
42875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42876 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42877
42878 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42879 for ac_func in _finitef
42880 do :
42881 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42882 if test "x$ac_cv_func__finitef" = x""yes; then :
42883 cat >>confdefs.h <<_ACEOF
42884 #define HAVE__FINITEF 1
42885 _ACEOF
42886
42887 fi
42888 done
42889
42890 fi
42891 fi
42892
42893
42894
42895
42896
42897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42898 $as_echo_n "checking for long double trig functions... " >&6; }
42899 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42900 $as_echo_n "(cached) " >&6
42901 else
42902
42903
42904 ac_ext=cpp
42905 ac_cpp='$CXXCPP $CPPFLAGS'
42906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42909
42910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42911 /* end confdefs.h. */
42912 #include <math.h>
42913 int
42914 main ()
42915 {
42916 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42917 ;
42918 return 0;
42919 }
42920 _ACEOF
42921 if ac_fn_cxx_try_compile "$LINENO"; then :
42922 glibcxx_cv_func_long_double_trig_use=yes
42923 else
42924 glibcxx_cv_func_long_double_trig_use=no
42925 fi
42926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42927 ac_ext=c
42928 ac_cpp='$CPP $CPPFLAGS'
42929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42932
42933 fi
42934
42935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42936 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42937 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42938 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42939 do :
42940 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42941 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42942 eval as_val=\$$as_ac_var
42943 if test "x$as_val" = x""yes; then :
42944 cat >>confdefs.h <<_ACEOF
42945 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42946 _ACEOF
42947
42948 fi
42949 done
42950
42951 else
42952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42953 $as_echo_n "checking for _long double trig functions... " >&6; }
42954 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42955 $as_echo_n "(cached) " >&6
42956 else
42957
42958
42959 ac_ext=cpp
42960 ac_cpp='$CXXCPP $CPPFLAGS'
42961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42964
42965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42966 /* end confdefs.h. */
42967 #include <math.h>
42968 int
42969 main ()
42970 {
42971 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42972 ;
42973 return 0;
42974 }
42975 _ACEOF
42976 if ac_fn_cxx_try_compile "$LINENO"; then :
42977 glibcxx_cv_func__long_double_trig_use=yes
42978 else
42979 glibcxx_cv_func__long_double_trig_use=no
42980 fi
42981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42982 ac_ext=c
42983 ac_cpp='$CPP $CPPFLAGS'
42984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42987
42988 fi
42989
42990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42991 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42992 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42993 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42994 do :
42995 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42996 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42997 eval as_val=\$$as_ac_var
42998 if test "x$as_val" = x""yes; then :
42999 cat >>confdefs.h <<_ACEOF
43000 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43001 _ACEOF
43002
43003 fi
43004 done
43005
43006 fi
43007 fi
43008
43009
43010
43011
43012
43013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43014 $as_echo_n "checking for long double round functions... " >&6; }
43015 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43016 $as_echo_n "(cached) " >&6
43017 else
43018
43019
43020 ac_ext=cpp
43021 ac_cpp='$CXXCPP $CPPFLAGS'
43022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43025
43026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43027 /* end confdefs.h. */
43028 #include <math.h>
43029 int
43030 main ()
43031 {
43032 ceill (0); floorl (0);
43033 ;
43034 return 0;
43035 }
43036 _ACEOF
43037 if ac_fn_cxx_try_compile "$LINENO"; then :
43038 glibcxx_cv_func_long_double_round_use=yes
43039 else
43040 glibcxx_cv_func_long_double_round_use=no
43041 fi
43042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43043 ac_ext=c
43044 ac_cpp='$CPP $CPPFLAGS'
43045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43048
43049 fi
43050
43051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43052 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43053 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43054 for ac_func in ceill floorl
43055 do :
43056 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43058 eval as_val=\$$as_ac_var
43059 if test "x$as_val" = x""yes; then :
43060 cat >>confdefs.h <<_ACEOF
43061 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43062 _ACEOF
43063
43064 fi
43065 done
43066
43067 else
43068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43069 $as_echo_n "checking for _long double round functions... " >&6; }
43070 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43071 $as_echo_n "(cached) " >&6
43072 else
43073
43074
43075 ac_ext=cpp
43076 ac_cpp='$CXXCPP $CPPFLAGS'
43077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43080
43081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43082 /* end confdefs.h. */
43083 #include <math.h>
43084 int
43085 main ()
43086 {
43087 _ceill (0); _floorl (0);
43088 ;
43089 return 0;
43090 }
43091 _ACEOF
43092 if ac_fn_cxx_try_compile "$LINENO"; then :
43093 glibcxx_cv_func__long_double_round_use=yes
43094 else
43095 glibcxx_cv_func__long_double_round_use=no
43096 fi
43097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43098 ac_ext=c
43099 ac_cpp='$CPP $CPPFLAGS'
43100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43103
43104 fi
43105
43106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43107 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43108 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43109 for ac_func in _ceill _floorl
43110 do :
43111 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43112 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43113 eval as_val=\$$as_ac_var
43114 if test "x$as_val" = x""yes; then :
43115 cat >>confdefs.h <<_ACEOF
43116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43117 _ACEOF
43118
43119 fi
43120 done
43121
43122 fi
43123 fi
43124
43125
43126
43127
43128
43129
43130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43131 $as_echo_n "checking for isnanl declaration... " >&6; }
43132 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43133 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43134 $as_echo_n "(cached) " >&6
43135 else
43136
43137
43138 ac_ext=cpp
43139 ac_cpp='$CXXCPP $CPPFLAGS'
43140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43143
43144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43145 /* end confdefs.h. */
43146 #include <math.h>
43147 #ifdef HAVE_IEEEFP_H
43148 #include <ieeefp.h>
43149 #endif
43150
43151 int
43152 main ()
43153 {
43154 isnanl(0);
43155 ;
43156 return 0;
43157 }
43158 _ACEOF
43159 if ac_fn_cxx_try_compile "$LINENO"; then :
43160 glibcxx_cv_func_isnanl_use=yes
43161 else
43162 glibcxx_cv_func_isnanl_use=no
43163 fi
43164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43165 ac_ext=c
43166 ac_cpp='$CPP $CPPFLAGS'
43167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43170
43171
43172 fi
43173
43174 fi
43175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43176 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43177
43178 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43179 for ac_func in isnanl
43180 do :
43181 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43182 if test "x$ac_cv_func_isnanl" = x""yes; then :
43183 cat >>confdefs.h <<_ACEOF
43184 #define HAVE_ISNANL 1
43185 _ACEOF
43186
43187 fi
43188 done
43189
43190 else
43191
43192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43193 $as_echo_n "checking for _isnanl declaration... " >&6; }
43194 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43195 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43196 $as_echo_n "(cached) " >&6
43197 else
43198
43199
43200 ac_ext=cpp
43201 ac_cpp='$CXXCPP $CPPFLAGS'
43202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43205
43206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43207 /* end confdefs.h. */
43208 #include <math.h>
43209 #ifdef HAVE_IEEEFP_H
43210 #include <ieeefp.h>
43211 #endif
43212
43213 int
43214 main ()
43215 {
43216 _isnanl(0);
43217 ;
43218 return 0;
43219 }
43220 _ACEOF
43221 if ac_fn_cxx_try_compile "$LINENO"; then :
43222 glibcxx_cv_func__isnanl_use=yes
43223 else
43224 glibcxx_cv_func__isnanl_use=no
43225 fi
43226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43227 ac_ext=c
43228 ac_cpp='$CPP $CPPFLAGS'
43229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43232
43233
43234 fi
43235
43236 fi
43237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43238 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43239
43240 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43241 for ac_func in _isnanl
43242 do :
43243 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43244 if test "x$ac_cv_func__isnanl" = x""yes; then :
43245 cat >>confdefs.h <<_ACEOF
43246 #define HAVE__ISNANL 1
43247 _ACEOF
43248
43249 fi
43250 done
43251
43252 fi
43253 fi
43254
43255
43256
43257
43258
43259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43260 $as_echo_n "checking for isinfl declaration... " >&6; }
43261 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43262 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43263 $as_echo_n "(cached) " >&6
43264 else
43265
43266
43267 ac_ext=cpp
43268 ac_cpp='$CXXCPP $CPPFLAGS'
43269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43272
43273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43274 /* end confdefs.h. */
43275 #include <math.h>
43276 #ifdef HAVE_IEEEFP_H
43277 #include <ieeefp.h>
43278 #endif
43279
43280 int
43281 main ()
43282 {
43283 isinfl(0);
43284 ;
43285 return 0;
43286 }
43287 _ACEOF
43288 if ac_fn_cxx_try_compile "$LINENO"; then :
43289 glibcxx_cv_func_isinfl_use=yes
43290 else
43291 glibcxx_cv_func_isinfl_use=no
43292 fi
43293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43294 ac_ext=c
43295 ac_cpp='$CPP $CPPFLAGS'
43296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43299
43300
43301 fi
43302
43303 fi
43304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43305 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43306
43307 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43308 for ac_func in isinfl
43309 do :
43310 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43311 if test "x$ac_cv_func_isinfl" = x""yes; then :
43312 cat >>confdefs.h <<_ACEOF
43313 #define HAVE_ISINFL 1
43314 _ACEOF
43315
43316 fi
43317 done
43318
43319 else
43320
43321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43322 $as_echo_n "checking for _isinfl declaration... " >&6; }
43323 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43324 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43325 $as_echo_n "(cached) " >&6
43326 else
43327
43328
43329 ac_ext=cpp
43330 ac_cpp='$CXXCPP $CPPFLAGS'
43331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43334
43335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43336 /* end confdefs.h. */
43337 #include <math.h>
43338 #ifdef HAVE_IEEEFP_H
43339 #include <ieeefp.h>
43340 #endif
43341
43342 int
43343 main ()
43344 {
43345 _isinfl(0);
43346 ;
43347 return 0;
43348 }
43349 _ACEOF
43350 if ac_fn_cxx_try_compile "$LINENO"; then :
43351 glibcxx_cv_func__isinfl_use=yes
43352 else
43353 glibcxx_cv_func__isinfl_use=no
43354 fi
43355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43356 ac_ext=c
43357 ac_cpp='$CPP $CPPFLAGS'
43358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43361
43362
43363 fi
43364
43365 fi
43366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43367 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43368
43369 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43370 for ac_func in _isinfl
43371 do :
43372 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43373 if test "x$ac_cv_func__isinfl" = x""yes; then :
43374 cat >>confdefs.h <<_ACEOF
43375 #define HAVE__ISINFL 1
43376 _ACEOF
43377
43378 fi
43379 done
43380
43381 fi
43382 fi
43383
43384
43385
43386
43387
43388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43389 $as_echo_n "checking for atan2l declaration... " >&6; }
43390 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43391 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43392 $as_echo_n "(cached) " >&6
43393 else
43394
43395
43396 ac_ext=cpp
43397 ac_cpp='$CXXCPP $CPPFLAGS'
43398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43401
43402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43403 /* end confdefs.h. */
43404 #include <math.h>
43405 int
43406 main ()
43407 {
43408 atan2l(0, 0);
43409 ;
43410 return 0;
43411 }
43412 _ACEOF
43413 if ac_fn_cxx_try_compile "$LINENO"; then :
43414 glibcxx_cv_func_atan2l_use=yes
43415 else
43416 glibcxx_cv_func_atan2l_use=no
43417 fi
43418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43419 ac_ext=c
43420 ac_cpp='$CPP $CPPFLAGS'
43421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43424
43425
43426 fi
43427
43428 fi
43429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43430 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43431
43432 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43433 for ac_func in atan2l
43434 do :
43435 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43436 if test "x$ac_cv_func_atan2l" = x""yes; then :
43437 cat >>confdefs.h <<_ACEOF
43438 #define HAVE_ATAN2L 1
43439 _ACEOF
43440
43441 fi
43442 done
43443
43444 else
43445
43446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43447 $as_echo_n "checking for _atan2l declaration... " >&6; }
43448 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43449 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43450 $as_echo_n "(cached) " >&6
43451 else
43452
43453
43454 ac_ext=cpp
43455 ac_cpp='$CXXCPP $CPPFLAGS'
43456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43459
43460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43461 /* end confdefs.h. */
43462 #include <math.h>
43463 int
43464 main ()
43465 {
43466 _atan2l(0, 0);
43467 ;
43468 return 0;
43469 }
43470 _ACEOF
43471 if ac_fn_cxx_try_compile "$LINENO"; then :
43472 glibcxx_cv_func__atan2l_use=yes
43473 else
43474 glibcxx_cv_func__atan2l_use=no
43475 fi
43476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43477 ac_ext=c
43478 ac_cpp='$CPP $CPPFLAGS'
43479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43482
43483
43484 fi
43485
43486 fi
43487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43488 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43489
43490 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43491 for ac_func in _atan2l
43492 do :
43493 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43494 if test "x$ac_cv_func__atan2l" = x""yes; then :
43495 cat >>confdefs.h <<_ACEOF
43496 #define HAVE__ATAN2L 1
43497 _ACEOF
43498
43499 fi
43500 done
43501
43502 fi
43503 fi
43504
43505
43506
43507
43508
43509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43510 $as_echo_n "checking for expl declaration... " >&6; }
43511 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43512 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43513 $as_echo_n "(cached) " >&6
43514 else
43515
43516
43517 ac_ext=cpp
43518 ac_cpp='$CXXCPP $CPPFLAGS'
43519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43522
43523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43524 /* end confdefs.h. */
43525 #include <math.h>
43526 #ifdef HAVE_IEEEFP_H
43527 #include <ieeefp.h>
43528 #endif
43529
43530 int
43531 main ()
43532 {
43533 expl(0);
43534 ;
43535 return 0;
43536 }
43537 _ACEOF
43538 if ac_fn_cxx_try_compile "$LINENO"; then :
43539 glibcxx_cv_func_expl_use=yes
43540 else
43541 glibcxx_cv_func_expl_use=no
43542 fi
43543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43544 ac_ext=c
43545 ac_cpp='$CPP $CPPFLAGS'
43546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43549
43550
43551 fi
43552
43553 fi
43554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43555 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43556
43557 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43558 for ac_func in expl
43559 do :
43560 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43561 if test "x$ac_cv_func_expl" = x""yes; then :
43562 cat >>confdefs.h <<_ACEOF
43563 #define HAVE_EXPL 1
43564 _ACEOF
43565
43566 fi
43567 done
43568
43569 else
43570
43571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43572 $as_echo_n "checking for _expl declaration... " >&6; }
43573 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43574 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43575 $as_echo_n "(cached) " >&6
43576 else
43577
43578
43579 ac_ext=cpp
43580 ac_cpp='$CXXCPP $CPPFLAGS'
43581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43584
43585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43586 /* end confdefs.h. */
43587 #include <math.h>
43588 #ifdef HAVE_IEEEFP_H
43589 #include <ieeefp.h>
43590 #endif
43591
43592 int
43593 main ()
43594 {
43595 _expl(0);
43596 ;
43597 return 0;
43598 }
43599 _ACEOF
43600 if ac_fn_cxx_try_compile "$LINENO"; then :
43601 glibcxx_cv_func__expl_use=yes
43602 else
43603 glibcxx_cv_func__expl_use=no
43604 fi
43605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43606 ac_ext=c
43607 ac_cpp='$CPP $CPPFLAGS'
43608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43611
43612
43613 fi
43614
43615 fi
43616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43617 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43618
43619 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43620 for ac_func in _expl
43621 do :
43622 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43623 if test "x$ac_cv_func__expl" = x""yes; then :
43624 cat >>confdefs.h <<_ACEOF
43625 #define HAVE__EXPL 1
43626 _ACEOF
43627
43628 fi
43629 done
43630
43631 fi
43632 fi
43633
43634
43635
43636
43637
43638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43639 $as_echo_n "checking for fabsl declaration... " >&6; }
43640 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43641 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43642 $as_echo_n "(cached) " >&6
43643 else
43644
43645
43646 ac_ext=cpp
43647 ac_cpp='$CXXCPP $CPPFLAGS'
43648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43651
43652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43653 /* end confdefs.h. */
43654 #include <math.h>
43655 #ifdef HAVE_IEEEFP_H
43656 #include <ieeefp.h>
43657 #endif
43658
43659 int
43660 main ()
43661 {
43662 fabsl(0);
43663 ;
43664 return 0;
43665 }
43666 _ACEOF
43667 if ac_fn_cxx_try_compile "$LINENO"; then :
43668 glibcxx_cv_func_fabsl_use=yes
43669 else
43670 glibcxx_cv_func_fabsl_use=no
43671 fi
43672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43673 ac_ext=c
43674 ac_cpp='$CPP $CPPFLAGS'
43675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43678
43679
43680 fi
43681
43682 fi
43683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43684 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43685
43686 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43687 for ac_func in fabsl
43688 do :
43689 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43690 if test "x$ac_cv_func_fabsl" = x""yes; then :
43691 cat >>confdefs.h <<_ACEOF
43692 #define HAVE_FABSL 1
43693 _ACEOF
43694
43695 fi
43696 done
43697
43698 else
43699
43700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43701 $as_echo_n "checking for _fabsl declaration... " >&6; }
43702 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43703 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43704 $as_echo_n "(cached) " >&6
43705 else
43706
43707
43708 ac_ext=cpp
43709 ac_cpp='$CXXCPP $CPPFLAGS'
43710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43713
43714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43715 /* end confdefs.h. */
43716 #include <math.h>
43717 #ifdef HAVE_IEEEFP_H
43718 #include <ieeefp.h>
43719 #endif
43720
43721 int
43722 main ()
43723 {
43724 _fabsl(0);
43725 ;
43726 return 0;
43727 }
43728 _ACEOF
43729 if ac_fn_cxx_try_compile "$LINENO"; then :
43730 glibcxx_cv_func__fabsl_use=yes
43731 else
43732 glibcxx_cv_func__fabsl_use=no
43733 fi
43734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43735 ac_ext=c
43736 ac_cpp='$CPP $CPPFLAGS'
43737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43740
43741
43742 fi
43743
43744 fi
43745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43746 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43747
43748 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43749 for ac_func in _fabsl
43750 do :
43751 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43752 if test "x$ac_cv_func__fabsl" = x""yes; then :
43753 cat >>confdefs.h <<_ACEOF
43754 #define HAVE__FABSL 1
43755 _ACEOF
43756
43757 fi
43758 done
43759
43760 fi
43761 fi
43762
43763
43764
43765
43766
43767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43768 $as_echo_n "checking for fmodl declaration... " >&6; }
43769 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43770 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43771 $as_echo_n "(cached) " >&6
43772 else
43773
43774
43775 ac_ext=cpp
43776 ac_cpp='$CXXCPP $CPPFLAGS'
43777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43780
43781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43782 /* end confdefs.h. */
43783 #include <math.h>
43784 int
43785 main ()
43786 {
43787 fmodl(0, 0);
43788 ;
43789 return 0;
43790 }
43791 _ACEOF
43792 if ac_fn_cxx_try_compile "$LINENO"; then :
43793 glibcxx_cv_func_fmodl_use=yes
43794 else
43795 glibcxx_cv_func_fmodl_use=no
43796 fi
43797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43798 ac_ext=c
43799 ac_cpp='$CPP $CPPFLAGS'
43800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43803
43804
43805 fi
43806
43807 fi
43808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43809 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43810
43811 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43812 for ac_func in fmodl
43813 do :
43814 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43815 if test "x$ac_cv_func_fmodl" = x""yes; then :
43816 cat >>confdefs.h <<_ACEOF
43817 #define HAVE_FMODL 1
43818 _ACEOF
43819
43820 fi
43821 done
43822
43823 else
43824
43825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43826 $as_echo_n "checking for _fmodl declaration... " >&6; }
43827 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43828 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43829 $as_echo_n "(cached) " >&6
43830 else
43831
43832
43833 ac_ext=cpp
43834 ac_cpp='$CXXCPP $CPPFLAGS'
43835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43838
43839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43840 /* end confdefs.h. */
43841 #include <math.h>
43842 int
43843 main ()
43844 {
43845 _fmodl(0, 0);
43846 ;
43847 return 0;
43848 }
43849 _ACEOF
43850 if ac_fn_cxx_try_compile "$LINENO"; then :
43851 glibcxx_cv_func__fmodl_use=yes
43852 else
43853 glibcxx_cv_func__fmodl_use=no
43854 fi
43855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43856 ac_ext=c
43857 ac_cpp='$CPP $CPPFLAGS'
43858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43861
43862
43863 fi
43864
43865 fi
43866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43867 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43868
43869 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43870 for ac_func in _fmodl
43871 do :
43872 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43873 if test "x$ac_cv_func__fmodl" = x""yes; then :
43874 cat >>confdefs.h <<_ACEOF
43875 #define HAVE__FMODL 1
43876 _ACEOF
43877
43878 fi
43879 done
43880
43881 fi
43882 fi
43883
43884
43885
43886
43887
43888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43889 $as_echo_n "checking for frexpl declaration... " >&6; }
43890 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43891 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43892 $as_echo_n "(cached) " >&6
43893 else
43894
43895
43896 ac_ext=cpp
43897 ac_cpp='$CXXCPP $CPPFLAGS'
43898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43901
43902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43903 /* end confdefs.h. */
43904 #include <math.h>
43905 int
43906 main ()
43907 {
43908 frexpl(0, 0);
43909 ;
43910 return 0;
43911 }
43912 _ACEOF
43913 if ac_fn_cxx_try_compile "$LINENO"; then :
43914 glibcxx_cv_func_frexpl_use=yes
43915 else
43916 glibcxx_cv_func_frexpl_use=no
43917 fi
43918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43919 ac_ext=c
43920 ac_cpp='$CPP $CPPFLAGS'
43921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43924
43925
43926 fi
43927
43928 fi
43929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43930 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43931
43932 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43933 for ac_func in frexpl
43934 do :
43935 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43936 if test "x$ac_cv_func_frexpl" = x""yes; then :
43937 cat >>confdefs.h <<_ACEOF
43938 #define HAVE_FREXPL 1
43939 _ACEOF
43940
43941 fi
43942 done
43943
43944 else
43945
43946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43947 $as_echo_n "checking for _frexpl declaration... " >&6; }
43948 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43949 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43950 $as_echo_n "(cached) " >&6
43951 else
43952
43953
43954 ac_ext=cpp
43955 ac_cpp='$CXXCPP $CPPFLAGS'
43956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43959
43960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43961 /* end confdefs.h. */
43962 #include <math.h>
43963 int
43964 main ()
43965 {
43966 _frexpl(0, 0);
43967 ;
43968 return 0;
43969 }
43970 _ACEOF
43971 if ac_fn_cxx_try_compile "$LINENO"; then :
43972 glibcxx_cv_func__frexpl_use=yes
43973 else
43974 glibcxx_cv_func__frexpl_use=no
43975 fi
43976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43977 ac_ext=c
43978 ac_cpp='$CPP $CPPFLAGS'
43979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43982
43983
43984 fi
43985
43986 fi
43987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43988 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43989
43990 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43991 for ac_func in _frexpl
43992 do :
43993 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43994 if test "x$ac_cv_func__frexpl" = x""yes; then :
43995 cat >>confdefs.h <<_ACEOF
43996 #define HAVE__FREXPL 1
43997 _ACEOF
43998
43999 fi
44000 done
44001
44002 fi
44003 fi
44004
44005
44006
44007
44008
44009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44010 $as_echo_n "checking for hypotl declaration... " >&6; }
44011 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44012 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44013 $as_echo_n "(cached) " >&6
44014 else
44015
44016
44017 ac_ext=cpp
44018 ac_cpp='$CXXCPP $CPPFLAGS'
44019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44022
44023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44024 /* end confdefs.h. */
44025 #include <math.h>
44026 int
44027 main ()
44028 {
44029 hypotl(0, 0);
44030 ;
44031 return 0;
44032 }
44033 _ACEOF
44034 if ac_fn_cxx_try_compile "$LINENO"; then :
44035 glibcxx_cv_func_hypotl_use=yes
44036 else
44037 glibcxx_cv_func_hypotl_use=no
44038 fi
44039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44040 ac_ext=c
44041 ac_cpp='$CPP $CPPFLAGS'
44042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44045
44046
44047 fi
44048
44049 fi
44050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44051 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44052
44053 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44054 for ac_func in hypotl
44055 do :
44056 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44057 if test "x$ac_cv_func_hypotl" = x""yes; then :
44058 cat >>confdefs.h <<_ACEOF
44059 #define HAVE_HYPOTL 1
44060 _ACEOF
44061
44062 fi
44063 done
44064
44065 else
44066
44067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44068 $as_echo_n "checking for _hypotl declaration... " >&6; }
44069 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44070 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44071 $as_echo_n "(cached) " >&6
44072 else
44073
44074
44075 ac_ext=cpp
44076 ac_cpp='$CXXCPP $CPPFLAGS'
44077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44080
44081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44082 /* end confdefs.h. */
44083 #include <math.h>
44084 int
44085 main ()
44086 {
44087 _hypotl(0, 0);
44088 ;
44089 return 0;
44090 }
44091 _ACEOF
44092 if ac_fn_cxx_try_compile "$LINENO"; then :
44093 glibcxx_cv_func__hypotl_use=yes
44094 else
44095 glibcxx_cv_func__hypotl_use=no
44096 fi
44097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44098 ac_ext=c
44099 ac_cpp='$CPP $CPPFLAGS'
44100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44103
44104
44105 fi
44106
44107 fi
44108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44109 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44110
44111 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44112 for ac_func in _hypotl
44113 do :
44114 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44115 if test "x$ac_cv_func__hypotl" = x""yes; then :
44116 cat >>confdefs.h <<_ACEOF
44117 #define HAVE__HYPOTL 1
44118 _ACEOF
44119
44120 fi
44121 done
44122
44123 fi
44124 fi
44125
44126
44127
44128
44129
44130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44131 $as_echo_n "checking for ldexpl declaration... " >&6; }
44132 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44133 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44134 $as_echo_n "(cached) " >&6
44135 else
44136
44137
44138 ac_ext=cpp
44139 ac_cpp='$CXXCPP $CPPFLAGS'
44140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44143
44144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44145 /* end confdefs.h. */
44146 #include <math.h>
44147 int
44148 main ()
44149 {
44150 ldexpl(0, 0);
44151 ;
44152 return 0;
44153 }
44154 _ACEOF
44155 if ac_fn_cxx_try_compile "$LINENO"; then :
44156 glibcxx_cv_func_ldexpl_use=yes
44157 else
44158 glibcxx_cv_func_ldexpl_use=no
44159 fi
44160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44161 ac_ext=c
44162 ac_cpp='$CPP $CPPFLAGS'
44163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44166
44167
44168 fi
44169
44170 fi
44171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44172 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44173
44174 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44175 for ac_func in ldexpl
44176 do :
44177 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44178 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44179 cat >>confdefs.h <<_ACEOF
44180 #define HAVE_LDEXPL 1
44181 _ACEOF
44182
44183 fi
44184 done
44185
44186 else
44187
44188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44189 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44190 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44191 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44192 $as_echo_n "(cached) " >&6
44193 else
44194
44195
44196 ac_ext=cpp
44197 ac_cpp='$CXXCPP $CPPFLAGS'
44198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44201
44202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44203 /* end confdefs.h. */
44204 #include <math.h>
44205 int
44206 main ()
44207 {
44208 _ldexpl(0, 0);
44209 ;
44210 return 0;
44211 }
44212 _ACEOF
44213 if ac_fn_cxx_try_compile "$LINENO"; then :
44214 glibcxx_cv_func__ldexpl_use=yes
44215 else
44216 glibcxx_cv_func__ldexpl_use=no
44217 fi
44218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44219 ac_ext=c
44220 ac_cpp='$CPP $CPPFLAGS'
44221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44224
44225
44226 fi
44227
44228 fi
44229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44230 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44231
44232 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44233 for ac_func in _ldexpl
44234 do :
44235 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44236 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44237 cat >>confdefs.h <<_ACEOF
44238 #define HAVE__LDEXPL 1
44239 _ACEOF
44240
44241 fi
44242 done
44243
44244 fi
44245 fi
44246
44247
44248
44249
44250
44251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44252 $as_echo_n "checking for logl declaration... " >&6; }
44253 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44254 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44255 $as_echo_n "(cached) " >&6
44256 else
44257
44258
44259 ac_ext=cpp
44260 ac_cpp='$CXXCPP $CPPFLAGS'
44261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44264
44265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44266 /* end confdefs.h. */
44267 #include <math.h>
44268 #ifdef HAVE_IEEEFP_H
44269 #include <ieeefp.h>
44270 #endif
44271
44272 int
44273 main ()
44274 {
44275 logl(0);
44276 ;
44277 return 0;
44278 }
44279 _ACEOF
44280 if ac_fn_cxx_try_compile "$LINENO"; then :
44281 glibcxx_cv_func_logl_use=yes
44282 else
44283 glibcxx_cv_func_logl_use=no
44284 fi
44285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44286 ac_ext=c
44287 ac_cpp='$CPP $CPPFLAGS'
44288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44291
44292
44293 fi
44294
44295 fi
44296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44297 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44298
44299 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44300 for ac_func in logl
44301 do :
44302 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44303 if test "x$ac_cv_func_logl" = x""yes; then :
44304 cat >>confdefs.h <<_ACEOF
44305 #define HAVE_LOGL 1
44306 _ACEOF
44307
44308 fi
44309 done
44310
44311 else
44312
44313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44314 $as_echo_n "checking for _logl declaration... " >&6; }
44315 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44316 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44317 $as_echo_n "(cached) " >&6
44318 else
44319
44320
44321 ac_ext=cpp
44322 ac_cpp='$CXXCPP $CPPFLAGS'
44323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44326
44327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44328 /* end confdefs.h. */
44329 #include <math.h>
44330 #ifdef HAVE_IEEEFP_H
44331 #include <ieeefp.h>
44332 #endif
44333
44334 int
44335 main ()
44336 {
44337 _logl(0);
44338 ;
44339 return 0;
44340 }
44341 _ACEOF
44342 if ac_fn_cxx_try_compile "$LINENO"; then :
44343 glibcxx_cv_func__logl_use=yes
44344 else
44345 glibcxx_cv_func__logl_use=no
44346 fi
44347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44348 ac_ext=c
44349 ac_cpp='$CPP $CPPFLAGS'
44350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44353
44354
44355 fi
44356
44357 fi
44358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44359 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44360
44361 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44362 for ac_func in _logl
44363 do :
44364 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44365 if test "x$ac_cv_func__logl" = x""yes; then :
44366 cat >>confdefs.h <<_ACEOF
44367 #define HAVE__LOGL 1
44368 _ACEOF
44369
44370 fi
44371 done
44372
44373 fi
44374 fi
44375
44376
44377
44378
44379
44380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44381 $as_echo_n "checking for log10l declaration... " >&6; }
44382 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44383 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44384 $as_echo_n "(cached) " >&6
44385 else
44386
44387
44388 ac_ext=cpp
44389 ac_cpp='$CXXCPP $CPPFLAGS'
44390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44393
44394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44395 /* end confdefs.h. */
44396 #include <math.h>
44397 #ifdef HAVE_IEEEFP_H
44398 #include <ieeefp.h>
44399 #endif
44400
44401 int
44402 main ()
44403 {
44404 log10l(0);
44405 ;
44406 return 0;
44407 }
44408 _ACEOF
44409 if ac_fn_cxx_try_compile "$LINENO"; then :
44410 glibcxx_cv_func_log10l_use=yes
44411 else
44412 glibcxx_cv_func_log10l_use=no
44413 fi
44414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44415 ac_ext=c
44416 ac_cpp='$CPP $CPPFLAGS'
44417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44420
44421
44422 fi
44423
44424 fi
44425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44426 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44427
44428 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44429 for ac_func in log10l
44430 do :
44431 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44432 if test "x$ac_cv_func_log10l" = x""yes; then :
44433 cat >>confdefs.h <<_ACEOF
44434 #define HAVE_LOG10L 1
44435 _ACEOF
44436
44437 fi
44438 done
44439
44440 else
44441
44442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44443 $as_echo_n "checking for _log10l declaration... " >&6; }
44444 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44445 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44446 $as_echo_n "(cached) " >&6
44447 else
44448
44449
44450 ac_ext=cpp
44451 ac_cpp='$CXXCPP $CPPFLAGS'
44452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44455
44456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44457 /* end confdefs.h. */
44458 #include <math.h>
44459 #ifdef HAVE_IEEEFP_H
44460 #include <ieeefp.h>
44461 #endif
44462
44463 int
44464 main ()
44465 {
44466 _log10l(0);
44467 ;
44468 return 0;
44469 }
44470 _ACEOF
44471 if ac_fn_cxx_try_compile "$LINENO"; then :
44472 glibcxx_cv_func__log10l_use=yes
44473 else
44474 glibcxx_cv_func__log10l_use=no
44475 fi
44476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44477 ac_ext=c
44478 ac_cpp='$CPP $CPPFLAGS'
44479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44482
44483
44484 fi
44485
44486 fi
44487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44488 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44489
44490 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44491 for ac_func in _log10l
44492 do :
44493 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44494 if test "x$ac_cv_func__log10l" = x""yes; then :
44495 cat >>confdefs.h <<_ACEOF
44496 #define HAVE__LOG10L 1
44497 _ACEOF
44498
44499 fi
44500 done
44501
44502 fi
44503 fi
44504
44505
44506
44507
44508
44509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44510 $as_echo_n "checking for modfl declaration... " >&6; }
44511 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44512 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44513 $as_echo_n "(cached) " >&6
44514 else
44515
44516
44517 ac_ext=cpp
44518 ac_cpp='$CXXCPP $CPPFLAGS'
44519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44522
44523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44524 /* end confdefs.h. */
44525 #include <math.h>
44526 int
44527 main ()
44528 {
44529 modfl(0, 0);
44530 ;
44531 return 0;
44532 }
44533 _ACEOF
44534 if ac_fn_cxx_try_compile "$LINENO"; then :
44535 glibcxx_cv_func_modfl_use=yes
44536 else
44537 glibcxx_cv_func_modfl_use=no
44538 fi
44539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44540 ac_ext=c
44541 ac_cpp='$CPP $CPPFLAGS'
44542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44545
44546
44547 fi
44548
44549 fi
44550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44551 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44552
44553 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44554 for ac_func in modfl
44555 do :
44556 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44557 if test "x$ac_cv_func_modfl" = x""yes; then :
44558 cat >>confdefs.h <<_ACEOF
44559 #define HAVE_MODFL 1
44560 _ACEOF
44561
44562 fi
44563 done
44564
44565 else
44566
44567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44568 $as_echo_n "checking for _modfl declaration... " >&6; }
44569 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44570 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44571 $as_echo_n "(cached) " >&6
44572 else
44573
44574
44575 ac_ext=cpp
44576 ac_cpp='$CXXCPP $CPPFLAGS'
44577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44580
44581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44582 /* end confdefs.h. */
44583 #include <math.h>
44584 int
44585 main ()
44586 {
44587 _modfl(0, 0);
44588 ;
44589 return 0;
44590 }
44591 _ACEOF
44592 if ac_fn_cxx_try_compile "$LINENO"; then :
44593 glibcxx_cv_func__modfl_use=yes
44594 else
44595 glibcxx_cv_func__modfl_use=no
44596 fi
44597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44598 ac_ext=c
44599 ac_cpp='$CPP $CPPFLAGS'
44600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44603
44604
44605 fi
44606
44607 fi
44608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44609 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44610
44611 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44612 for ac_func in _modfl
44613 do :
44614 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44615 if test "x$ac_cv_func__modfl" = x""yes; then :
44616 cat >>confdefs.h <<_ACEOF
44617 #define HAVE__MODFL 1
44618 _ACEOF
44619
44620 fi
44621 done
44622
44623 fi
44624 fi
44625
44626
44627
44628
44629
44630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44631 $as_echo_n "checking for powl declaration... " >&6; }
44632 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44633 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44634 $as_echo_n "(cached) " >&6
44635 else
44636
44637
44638 ac_ext=cpp
44639 ac_cpp='$CXXCPP $CPPFLAGS'
44640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44643
44644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44645 /* end confdefs.h. */
44646 #include <math.h>
44647 int
44648 main ()
44649 {
44650 powl(0, 0);
44651 ;
44652 return 0;
44653 }
44654 _ACEOF
44655 if ac_fn_cxx_try_compile "$LINENO"; then :
44656 glibcxx_cv_func_powl_use=yes
44657 else
44658 glibcxx_cv_func_powl_use=no
44659 fi
44660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44661 ac_ext=c
44662 ac_cpp='$CPP $CPPFLAGS'
44663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44666
44667
44668 fi
44669
44670 fi
44671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44672 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44673
44674 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44675 for ac_func in powl
44676 do :
44677 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44678 if test "x$ac_cv_func_powl" = x""yes; then :
44679 cat >>confdefs.h <<_ACEOF
44680 #define HAVE_POWL 1
44681 _ACEOF
44682
44683 fi
44684 done
44685
44686 else
44687
44688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44689 $as_echo_n "checking for _powl declaration... " >&6; }
44690 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44691 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44692 $as_echo_n "(cached) " >&6
44693 else
44694
44695
44696 ac_ext=cpp
44697 ac_cpp='$CXXCPP $CPPFLAGS'
44698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44701
44702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44703 /* end confdefs.h. */
44704 #include <math.h>
44705 int
44706 main ()
44707 {
44708 _powl(0, 0);
44709 ;
44710 return 0;
44711 }
44712 _ACEOF
44713 if ac_fn_cxx_try_compile "$LINENO"; then :
44714 glibcxx_cv_func__powl_use=yes
44715 else
44716 glibcxx_cv_func__powl_use=no
44717 fi
44718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44719 ac_ext=c
44720 ac_cpp='$CPP $CPPFLAGS'
44721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44724
44725
44726 fi
44727
44728 fi
44729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44730 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44731
44732 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44733 for ac_func in _powl
44734 do :
44735 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44736 if test "x$ac_cv_func__powl" = x""yes; then :
44737 cat >>confdefs.h <<_ACEOF
44738 #define HAVE__POWL 1
44739 _ACEOF
44740
44741 fi
44742 done
44743
44744 fi
44745 fi
44746
44747
44748
44749
44750
44751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44752 $as_echo_n "checking for sqrtl declaration... " >&6; }
44753 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44754 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44755 $as_echo_n "(cached) " >&6
44756 else
44757
44758
44759 ac_ext=cpp
44760 ac_cpp='$CXXCPP $CPPFLAGS'
44761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44764
44765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44766 /* end confdefs.h. */
44767 #include <math.h>
44768 #ifdef HAVE_IEEEFP_H
44769 #include <ieeefp.h>
44770 #endif
44771
44772 int
44773 main ()
44774 {
44775 sqrtl(0);
44776 ;
44777 return 0;
44778 }
44779 _ACEOF
44780 if ac_fn_cxx_try_compile "$LINENO"; then :
44781 glibcxx_cv_func_sqrtl_use=yes
44782 else
44783 glibcxx_cv_func_sqrtl_use=no
44784 fi
44785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44786 ac_ext=c
44787 ac_cpp='$CPP $CPPFLAGS'
44788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44791
44792
44793 fi
44794
44795 fi
44796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44797 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44798
44799 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44800 for ac_func in sqrtl
44801 do :
44802 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44803 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44804 cat >>confdefs.h <<_ACEOF
44805 #define HAVE_SQRTL 1
44806 _ACEOF
44807
44808 fi
44809 done
44810
44811 else
44812
44813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44814 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44815 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44816 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44817 $as_echo_n "(cached) " >&6
44818 else
44819
44820
44821 ac_ext=cpp
44822 ac_cpp='$CXXCPP $CPPFLAGS'
44823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44826
44827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44828 /* end confdefs.h. */
44829 #include <math.h>
44830 #ifdef HAVE_IEEEFP_H
44831 #include <ieeefp.h>
44832 #endif
44833
44834 int
44835 main ()
44836 {
44837 _sqrtl(0);
44838 ;
44839 return 0;
44840 }
44841 _ACEOF
44842 if ac_fn_cxx_try_compile "$LINENO"; then :
44843 glibcxx_cv_func__sqrtl_use=yes
44844 else
44845 glibcxx_cv_func__sqrtl_use=no
44846 fi
44847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44848 ac_ext=c
44849 ac_cpp='$CPP $CPPFLAGS'
44850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44853
44854
44855 fi
44856
44857 fi
44858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44859 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44860
44861 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44862 for ac_func in _sqrtl
44863 do :
44864 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44865 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44866 cat >>confdefs.h <<_ACEOF
44867 #define HAVE__SQRTL 1
44868 _ACEOF
44869
44870 fi
44871 done
44872
44873 fi
44874 fi
44875
44876
44877
44878
44879
44880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44881 $as_echo_n "checking for sincosl declaration... " >&6; }
44882 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44883 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44884 $as_echo_n "(cached) " >&6
44885 else
44886
44887
44888 ac_ext=cpp
44889 ac_cpp='$CXXCPP $CPPFLAGS'
44890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44893
44894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44895 /* end confdefs.h. */
44896 #include <math.h>
44897 int
44898 main ()
44899 {
44900 sincosl(0, 0, 0);
44901 ;
44902 return 0;
44903 }
44904 _ACEOF
44905 if ac_fn_cxx_try_compile "$LINENO"; then :
44906 glibcxx_cv_func_sincosl_use=yes
44907 else
44908 glibcxx_cv_func_sincosl_use=no
44909 fi
44910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44911 ac_ext=c
44912 ac_cpp='$CPP $CPPFLAGS'
44913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44916
44917
44918 fi
44919
44920 fi
44921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44922 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44923
44924 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44925 for ac_func in sincosl
44926 do :
44927 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44928 if test "x$ac_cv_func_sincosl" = x""yes; then :
44929 cat >>confdefs.h <<_ACEOF
44930 #define HAVE_SINCOSL 1
44931 _ACEOF
44932
44933 fi
44934 done
44935
44936 else
44937
44938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44939 $as_echo_n "checking for _sincosl declaration... " >&6; }
44940 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44941 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44942 $as_echo_n "(cached) " >&6
44943 else
44944
44945
44946 ac_ext=cpp
44947 ac_cpp='$CXXCPP $CPPFLAGS'
44948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44951
44952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44953 /* end confdefs.h. */
44954 #include <math.h>
44955 int
44956 main ()
44957 {
44958 _sincosl(0, 0, 0);
44959 ;
44960 return 0;
44961 }
44962 _ACEOF
44963 if ac_fn_cxx_try_compile "$LINENO"; then :
44964 glibcxx_cv_func__sincosl_use=yes
44965 else
44966 glibcxx_cv_func__sincosl_use=no
44967 fi
44968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44969 ac_ext=c
44970 ac_cpp='$CPP $CPPFLAGS'
44971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44974
44975
44976 fi
44977
44978 fi
44979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44980 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44981
44982 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44983 for ac_func in _sincosl
44984 do :
44985 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44986 if test "x$ac_cv_func__sincosl" = x""yes; then :
44987 cat >>confdefs.h <<_ACEOF
44988 #define HAVE__SINCOSL 1
44989 _ACEOF
44990
44991 fi
44992 done
44993
44994 fi
44995 fi
44996
44997
44998
44999
45000
45001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45002 $as_echo_n "checking for finitel declaration... " >&6; }
45003 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45004 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45005 $as_echo_n "(cached) " >&6
45006 else
45007
45008
45009 ac_ext=cpp
45010 ac_cpp='$CXXCPP $CPPFLAGS'
45011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45014
45015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45016 /* end confdefs.h. */
45017 #include <math.h>
45018 #ifdef HAVE_IEEEFP_H
45019 #include <ieeefp.h>
45020 #endif
45021
45022 int
45023 main ()
45024 {
45025 finitel(0);
45026 ;
45027 return 0;
45028 }
45029 _ACEOF
45030 if ac_fn_cxx_try_compile "$LINENO"; then :
45031 glibcxx_cv_func_finitel_use=yes
45032 else
45033 glibcxx_cv_func_finitel_use=no
45034 fi
45035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45036 ac_ext=c
45037 ac_cpp='$CPP $CPPFLAGS'
45038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45041
45042
45043 fi
45044
45045 fi
45046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45047 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45048
45049 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45050 for ac_func in finitel
45051 do :
45052 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45053 if test "x$ac_cv_func_finitel" = x""yes; then :
45054 cat >>confdefs.h <<_ACEOF
45055 #define HAVE_FINITEL 1
45056 _ACEOF
45057
45058 fi
45059 done
45060
45061 else
45062
45063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45064 $as_echo_n "checking for _finitel declaration... " >&6; }
45065 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45066 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45067 $as_echo_n "(cached) " >&6
45068 else
45069
45070
45071 ac_ext=cpp
45072 ac_cpp='$CXXCPP $CPPFLAGS'
45073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45076
45077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45078 /* end confdefs.h. */
45079 #include <math.h>
45080 #ifdef HAVE_IEEEFP_H
45081 #include <ieeefp.h>
45082 #endif
45083
45084 int
45085 main ()
45086 {
45087 _finitel(0);
45088 ;
45089 return 0;
45090 }
45091 _ACEOF
45092 if ac_fn_cxx_try_compile "$LINENO"; then :
45093 glibcxx_cv_func__finitel_use=yes
45094 else
45095 glibcxx_cv_func__finitel_use=no
45096 fi
45097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45098 ac_ext=c
45099 ac_cpp='$CPP $CPPFLAGS'
45100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45103
45104
45105 fi
45106
45107 fi
45108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45109 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45110
45111 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45112 for ac_func in _finitel
45113 do :
45114 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45115 if test "x$ac_cv_func__finitel" = x""yes; then :
45116 cat >>confdefs.h <<_ACEOF
45117 #define HAVE__FINITEL 1
45118 _ACEOF
45119
45120 fi
45121 done
45122
45123 fi
45124 fi
45125
45126
45127
45128
45129 LIBS="$ac_save_LIBS"
45130 CXXFLAGS="$ac_save_CXXFLAGS"
45131
45132
45133 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45134 ac_save_CXXFLAGS="$CXXFLAGS"
45135 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45136
45137
45138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45139 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45140 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45141 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45142 $as_echo_n "(cached) " >&6
45143 else
45144
45145
45146 ac_ext=cpp
45147 ac_cpp='$CXXCPP $CPPFLAGS'
45148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45151
45152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45153 /* end confdefs.h. */
45154 #include <stdlib.h>
45155 int
45156 main ()
45157 {
45158 at_quick_exit(0);
45159 ;
45160 return 0;
45161 }
45162 _ACEOF
45163 if ac_fn_cxx_try_compile "$LINENO"; then :
45164 glibcxx_cv_func_at_quick_exit_use=yes
45165 else
45166 glibcxx_cv_func_at_quick_exit_use=no
45167 fi
45168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45169 ac_ext=c
45170 ac_cpp='$CPP $CPPFLAGS'
45171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45174
45175
45176 fi
45177
45178 fi
45179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45180 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45181 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45182 for ac_func in at_quick_exit
45183 do :
45184 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45185 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45186 cat >>confdefs.h <<_ACEOF
45187 #define HAVE_AT_QUICK_EXIT 1
45188 _ACEOF
45189
45190 fi
45191 done
45192
45193 fi
45194
45195
45196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45197 $as_echo_n "checking for quick_exit declaration... " >&6; }
45198 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45199 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45200 $as_echo_n "(cached) " >&6
45201 else
45202
45203
45204 ac_ext=cpp
45205 ac_cpp='$CXXCPP $CPPFLAGS'
45206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45209
45210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45211 /* end confdefs.h. */
45212 #include <stdlib.h>
45213 int
45214 main ()
45215 {
45216 quick_exit(0);
45217 ;
45218 return 0;
45219 }
45220 _ACEOF
45221 if ac_fn_cxx_try_compile "$LINENO"; then :
45222 glibcxx_cv_func_quick_exit_use=yes
45223 else
45224 glibcxx_cv_func_quick_exit_use=no
45225 fi
45226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45227 ac_ext=c
45228 ac_cpp='$CPP $CPPFLAGS'
45229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45232
45233
45234 fi
45235
45236 fi
45237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45238 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45239 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45240 for ac_func in quick_exit
45241 do :
45242 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45243 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45244 cat >>confdefs.h <<_ACEOF
45245 #define HAVE_QUICK_EXIT 1
45246 _ACEOF
45247
45248 fi
45249 done
45250
45251 fi
45252
45253
45254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45255 $as_echo_n "checking for strtold declaration... " >&6; }
45256 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45257 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45258 $as_echo_n "(cached) " >&6
45259 else
45260
45261
45262 ac_ext=cpp
45263 ac_cpp='$CXXCPP $CPPFLAGS'
45264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45267
45268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45269 /* end confdefs.h. */
45270 #include <stdlib.h>
45271 int
45272 main ()
45273 {
45274 strtold(0, 0);
45275 ;
45276 return 0;
45277 }
45278 _ACEOF
45279 if ac_fn_cxx_try_compile "$LINENO"; then :
45280 glibcxx_cv_func_strtold_use=yes
45281 else
45282 glibcxx_cv_func_strtold_use=no
45283 fi
45284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45285 ac_ext=c
45286 ac_cpp='$CPP $CPPFLAGS'
45287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45290
45291
45292 fi
45293
45294 fi
45295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45296 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45297 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45298 for ac_func in strtold
45299 do :
45300 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45301 if test "x$ac_cv_func_strtold" = x""yes; then :
45302 cat >>confdefs.h <<_ACEOF
45303 #define HAVE_STRTOLD 1
45304 _ACEOF
45305
45306 fi
45307 done
45308
45309 fi
45310
45311
45312
45313
45314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45315 $as_echo_n "checking for strtof declaration... " >&6; }
45316 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45317 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45318 $as_echo_n "(cached) " >&6
45319 else
45320
45321
45322 ac_ext=cpp
45323 ac_cpp='$CXXCPP $CPPFLAGS'
45324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45327
45328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45329 /* end confdefs.h. */
45330 #include <stdlib.h>
45331 int
45332 main ()
45333 {
45334 strtof(0, 0);
45335 ;
45336 return 0;
45337 }
45338 _ACEOF
45339 if ac_fn_cxx_try_compile "$LINENO"; then :
45340 glibcxx_cv_func_strtof_use=yes
45341 else
45342 glibcxx_cv_func_strtof_use=no
45343 fi
45344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45345 ac_ext=c
45346 ac_cpp='$CPP $CPPFLAGS'
45347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45350
45351
45352 fi
45353
45354 fi
45355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45356 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45357 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45358 for ac_func in strtof
45359 do :
45360 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45361 if test "x$ac_cv_func_strtof" = x""yes; then :
45362 cat >>confdefs.h <<_ACEOF
45363 #define HAVE_STRTOF 1
45364 _ACEOF
45365
45366 fi
45367 done
45368
45369 fi
45370
45371
45372
45373
45374 CXXFLAGS="$ac_save_CXXFLAGS"
45375
45376 ;;
45377
45378 *djgpp)
45379 # GLIBCXX_CHECK_MATH_SUPPORT
45380 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45381
45382 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45383
45384 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45385
45386 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
45387
45388 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45389
45390 ;;
45391
45392 *-freebsd*)
45393 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45394
45395
45396 # If we're not using GNU ld, then there's no point in even trying these
45397 # tests. Check for that first. We should have already tested for gld
45398 # by now (in libtool), but require it now just to be safe...
45399 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45400 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45401
45402
45403
45404 # The name set by libtool depends on the version of libtool. Shame on us
45405 # for depending on an impl detail, but c'est la vie. Older versions used
45406 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45407 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45408 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45409 # set (hence we're using an older libtool), then set it.
45410 if test x${with_gnu_ld+set} != xset; then
45411 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45412 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45413 with_gnu_ld=no
45414 else
45415 with_gnu_ld=$ac_cv_prog_gnu_ld
45416 fi
45417 fi
45418
45419 # Start by getting the version number. I think the libtool test already
45420 # does some of this, but throws away the result.
45421 glibcxx_ld_is_gold=no
45422 if test x"$with_gnu_ld" = x"yes"; then
45423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45424 $as_echo_n "checking for ld version... " >&6; }
45425
45426 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45427 glibcxx_ld_is_gold=yes
45428 fi
45429 ldver=`$LD --version 2>/dev/null |
45430 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'`
45431
45432 glibcxx_gnu_ld_version=`echo $ldver | \
45433 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45435 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45436 fi
45437
45438 # Set --gc-sections.
45439 glibcxx_have_gc_sections=no
45440 if test "$glibcxx_ld_is_gold" = "yes"; then
45441 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45442 glibcxx_have_gc_sections=yes
45443 fi
45444 else
45445 glibcxx_gcsections_min_ld=21602
45446 if test x"$with_gnu_ld" = x"yes" &&
45447 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45448 glibcxx_have_gc_sections=yes
45449 fi
45450 fi
45451 if test "$glibcxx_have_gc_sections" = "yes"; then
45452 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45453 # NB: This flag only works reliably after 2.16.1. Configure tests
45454 # for this are difficult, so hard wire a value that should work.
45455
45456 ac_test_CFLAGS="${CFLAGS+set}"
45457 ac_save_CFLAGS="$CFLAGS"
45458 CFLAGS='-Wl,--gc-sections'
45459
45460 # Check for -Wl,--gc-sections
45461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45462 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45463 if test x$gcc_no_link = xyes; then
45464 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45465 fi
45466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45467 /* end confdefs.h. */
45468 int one(void) { return 1; }
45469 int two(void) { return 2; }
45470
45471 int
45472 main ()
45473 {
45474 two();
45475 ;
45476 return 0;
45477 }
45478 _ACEOF
45479 if ac_fn_c_try_link "$LINENO"; then :
45480 ac_gcsections=yes
45481 else
45482 ac_gcsections=no
45483 fi
45484 rm -f core conftest.err conftest.$ac_objext \
45485 conftest$ac_exeext conftest.$ac_ext
45486 if test "$ac_gcsections" = "yes"; then
45487 rm -f conftest.c
45488 touch conftest.c
45489 if $CC -c conftest.c; then
45490 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45491 grep "Warning: gc-sections option ignored" > /dev/null; then
45492 ac_gcsections=no
45493 fi
45494 fi
45495 rm -f conftest.c conftest.o conftest
45496 fi
45497 if test "$ac_gcsections" = "yes"; then
45498 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45499 fi
45500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45501 $as_echo "$ac_gcsections" >&6; }
45502
45503 if test "$ac_test_CFLAGS" = set; then
45504 CFLAGS="$ac_save_CFLAGS"
45505 else
45506 # this is the suspicious part
45507 CFLAGS=''
45508 fi
45509 fi
45510
45511 # Set -z,relro.
45512 # Note this is only for shared objects.
45513 ac_ld_relro=no
45514 if test x"$with_gnu_ld" = x"yes"; then
45515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45516 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45517 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45518 if test -n "$cxx_z_relo"; then
45519 OPT_LDFLAGS="-Wl,-z,relro"
45520 ac_ld_relro=yes
45521 fi
45522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45523 $as_echo "$ac_ld_relro" >&6; }
45524 fi
45525
45526 # Set linker optimization flags.
45527 if test x"$with_gnu_ld" = x"yes"; then
45528 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45529 fi
45530
45531
45532
45533
45534 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45535
45536 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45537
45538 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45539
45540 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45541
45542 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45543
45544 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45545
45546 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45547
45548 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45549
45550 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45551
45552
45553 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45554
45555 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45556
45557 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45558
45559 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45560
45561 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45562
45563 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45564
45565 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45566
45567 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45568
45569 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45570
45571 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45572
45573 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45574
45575 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45576
45577 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45578
45579 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45580
45581 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45582
45583 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45584
45585 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45586
45587 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45588
45589 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45590
45591 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45592
45593 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45594
45595 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45596
45597 if test x"long_double_math_on_this_cpu" = x"yes"; then
45598 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45599
45600 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45601
45602 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45603
45604 fi
45605 ;;
45606 *-hpux*)
45607 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45608
45609
45610 # If we're not using GNU ld, then there's no point in even trying these
45611 # tests. Check for that first. We should have already tested for gld
45612 # by now (in libtool), but require it now just to be safe...
45613 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45614 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45615
45616
45617
45618 # The name set by libtool depends on the version of libtool. Shame on us
45619 # for depending on an impl detail, but c'est la vie. Older versions used
45620 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45621 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45622 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45623 # set (hence we're using an older libtool), then set it.
45624 if test x${with_gnu_ld+set} != xset; then
45625 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45626 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45627 with_gnu_ld=no
45628 else
45629 with_gnu_ld=$ac_cv_prog_gnu_ld
45630 fi
45631 fi
45632
45633 # Start by getting the version number. I think the libtool test already
45634 # does some of this, but throws away the result.
45635 glibcxx_ld_is_gold=no
45636 if test x"$with_gnu_ld" = x"yes"; then
45637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45638 $as_echo_n "checking for ld version... " >&6; }
45639
45640 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45641 glibcxx_ld_is_gold=yes
45642 fi
45643 ldver=`$LD --version 2>/dev/null |
45644 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'`
45645
45646 glibcxx_gnu_ld_version=`echo $ldver | \
45647 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45649 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45650 fi
45651
45652 # Set --gc-sections.
45653 glibcxx_have_gc_sections=no
45654 if test "$glibcxx_ld_is_gold" = "yes"; then
45655 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45656 glibcxx_have_gc_sections=yes
45657 fi
45658 else
45659 glibcxx_gcsections_min_ld=21602
45660 if test x"$with_gnu_ld" = x"yes" &&
45661 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45662 glibcxx_have_gc_sections=yes
45663 fi
45664 fi
45665 if test "$glibcxx_have_gc_sections" = "yes"; then
45666 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45667 # NB: This flag only works reliably after 2.16.1. Configure tests
45668 # for this are difficult, so hard wire a value that should work.
45669
45670 ac_test_CFLAGS="${CFLAGS+set}"
45671 ac_save_CFLAGS="$CFLAGS"
45672 CFLAGS='-Wl,--gc-sections'
45673
45674 # Check for -Wl,--gc-sections
45675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45676 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45677 if test x$gcc_no_link = xyes; then
45678 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45679 fi
45680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45681 /* end confdefs.h. */
45682 int one(void) { return 1; }
45683 int two(void) { return 2; }
45684
45685 int
45686 main ()
45687 {
45688 two();
45689 ;
45690 return 0;
45691 }
45692 _ACEOF
45693 if ac_fn_c_try_link "$LINENO"; then :
45694 ac_gcsections=yes
45695 else
45696 ac_gcsections=no
45697 fi
45698 rm -f core conftest.err conftest.$ac_objext \
45699 conftest$ac_exeext conftest.$ac_ext
45700 if test "$ac_gcsections" = "yes"; then
45701 rm -f conftest.c
45702 touch conftest.c
45703 if $CC -c conftest.c; then
45704 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45705 grep "Warning: gc-sections option ignored" > /dev/null; then
45706 ac_gcsections=no
45707 fi
45708 fi
45709 rm -f conftest.c conftest.o conftest
45710 fi
45711 if test "$ac_gcsections" = "yes"; then
45712 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45713 fi
45714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45715 $as_echo "$ac_gcsections" >&6; }
45716
45717 if test "$ac_test_CFLAGS" = set; then
45718 CFLAGS="$ac_save_CFLAGS"
45719 else
45720 # this is the suspicious part
45721 CFLAGS=''
45722 fi
45723 fi
45724
45725 # Set -z,relro.
45726 # Note this is only for shared objects.
45727 ac_ld_relro=no
45728 if test x"$with_gnu_ld" = x"yes"; then
45729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45730 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45731 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45732 if test -n "$cxx_z_relo"; then
45733 OPT_LDFLAGS="-Wl,-z,relro"
45734 ac_ld_relro=yes
45735 fi
45736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45737 $as_echo "$ac_ld_relro" >&6; }
45738 fi
45739
45740 # Set linker optimization flags.
45741 if test x"$with_gnu_ld" = x"yes"; then
45742 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45743 fi
45744
45745
45746
45747
45748
45749 # GLIBCXX_CHECK_MATH_SUPPORT
45750 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45751
45752 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45753
45754 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45755
45756 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45757
45758 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45759
45760 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45761
45762 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45763
45764 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45765
45766 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45767
45768 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45769
45770 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45771
45772 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45773
45774 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45775
45776 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45777
45778 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45779
45780 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45781
45782 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45783
45784 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45785
45786 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45787
45788 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45789
45790 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45791
45792
45793 # GLIBCXX_CHECK_STDLIB_SUPPORT
45794 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45795
45796
45797
45798
45799 # Check whether --enable-tls was given.
45800 if test "${enable_tls+set}" = set; then :
45801 enableval=$enable_tls;
45802 case "$enableval" in
45803 yes|no) ;;
45804 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45805 esac
45806
45807 else
45808 enable_tls=yes
45809 fi
45810
45811
45812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45813 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45814 if test "${gcc_cv_have_tls+set}" = set; then :
45815 $as_echo_n "(cached) " >&6
45816 else
45817
45818 if test "$cross_compiling" = yes; then :
45819 if test x$gcc_no_link = xyes; then
45820 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45821 fi
45822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45823 /* end confdefs.h. */
45824 __thread int a; int b; int main() { return a = b; }
45825 _ACEOF
45826 if ac_fn_c_try_link "$LINENO"; then :
45827 chktls_save_LDFLAGS="$LDFLAGS"
45828 case $host in
45829 *-*-linux*)
45830 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45831 ;;
45832 esac
45833 chktls_save_CFLAGS="$CFLAGS"
45834 CFLAGS="-fPIC $CFLAGS"
45835 if test x$gcc_no_link = xyes; then
45836 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45837 fi
45838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45839 /* end confdefs.h. */
45840 int f() { return 0; }
45841 _ACEOF
45842 if ac_fn_c_try_link "$LINENO"; then :
45843 if test x$gcc_no_link = xyes; then
45844 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45845 fi
45846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45847 /* end confdefs.h. */
45848 __thread int a; int b; int f() { return a = b; }
45849 _ACEOF
45850 if ac_fn_c_try_link "$LINENO"; then :
45851 gcc_cv_have_tls=yes
45852 else
45853 gcc_cv_have_tls=no
45854 fi
45855 rm -f core conftest.err conftest.$ac_objext \
45856 conftest$ac_exeext conftest.$ac_ext
45857 else
45858 gcc_cv_have_tls=yes
45859 fi
45860 rm -f core conftest.err conftest.$ac_objext \
45861 conftest$ac_exeext conftest.$ac_ext
45862 CFLAGS="$chktls_save_CFLAGS"
45863 LDFLAGS="$chktls_save_LDFLAGS"
45864 else
45865 gcc_cv_have_tls=no
45866 fi
45867 rm -f core conftest.err conftest.$ac_objext \
45868 conftest$ac_exeext conftest.$ac_ext
45869
45870
45871 else
45872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45873 /* end confdefs.h. */
45874 __thread int a; int b; int main() { return a = b; }
45875 _ACEOF
45876 if ac_fn_c_try_run "$LINENO"; then :
45877 chktls_save_LDFLAGS="$LDFLAGS"
45878 LDFLAGS="-static $LDFLAGS"
45879 if test x$gcc_no_link = xyes; then
45880 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45881 fi
45882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45883 /* end confdefs.h. */
45884 int main() { return 0; }
45885 _ACEOF
45886 if ac_fn_c_try_link "$LINENO"; then :
45887 if test "$cross_compiling" = yes; then :
45888 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45890 as_fn_error "cannot run test program while cross compiling
45891 See \`config.log' for more details." "$LINENO" 5; }
45892 else
45893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45894 /* end confdefs.h. */
45895 __thread int a; int b; int main() { return a = b; }
45896 _ACEOF
45897 if ac_fn_c_try_run "$LINENO"; then :
45898 gcc_cv_have_tls=yes
45899 else
45900 gcc_cv_have_tls=no
45901 fi
45902 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45903 conftest.$ac_objext conftest.beam conftest.$ac_ext
45904 fi
45905
45906 else
45907 gcc_cv_have_tls=yes
45908 fi
45909 rm -f core conftest.err conftest.$ac_objext \
45910 conftest$ac_exeext conftest.$ac_ext
45911 LDFLAGS="$chktls_save_LDFLAGS"
45912 if test $gcc_cv_have_tls = yes; then
45913 chktls_save_CFLAGS="$CFLAGS"
45914 thread_CFLAGS=failed
45915 for flag in '' '-pthread' '-lpthread'; do
45916 CFLAGS="$flag $chktls_save_CFLAGS"
45917 if test x$gcc_no_link = xyes; then
45918 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45919 fi
45920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45921 /* end confdefs.h. */
45922 #include <pthread.h>
45923 void *g(void *d) { return NULL; }
45924 int
45925 main ()
45926 {
45927 pthread_t t; pthread_create(&t,NULL,g,NULL);
45928 ;
45929 return 0;
45930 }
45931 _ACEOF
45932 if ac_fn_c_try_link "$LINENO"; then :
45933 thread_CFLAGS="$flag"
45934 fi
45935 rm -f core conftest.err conftest.$ac_objext \
45936 conftest$ac_exeext conftest.$ac_ext
45937 if test "X$thread_CFLAGS" != Xfailed; then
45938 break
45939 fi
45940 done
45941 CFLAGS="$chktls_save_CFLAGS"
45942 if test "X$thread_CFLAGS" != Xfailed; then
45943 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45944 if test "$cross_compiling" = yes; then :
45945 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45946 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45947 as_fn_error "cannot run test program while cross compiling
45948 See \`config.log' for more details." "$LINENO" 5; }
45949 else
45950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45951 /* end confdefs.h. */
45952 #include <pthread.h>
45953 __thread int a;
45954 static int *volatile a_in_other_thread;
45955 static void *
45956 thread_func (void *arg)
45957 {
45958 a_in_other_thread = &a;
45959 return (void *)0;
45960 }
45961 int
45962 main ()
45963 {
45964 pthread_t thread;
45965 void *thread_retval;
45966 int *volatile a_in_main_thread;
45967 a_in_main_thread = &a;
45968 if (pthread_create (&thread, (pthread_attr_t *)0,
45969 thread_func, (void *)0))
45970 return 0;
45971 if (pthread_join (thread, &thread_retval))
45972 return 0;
45973 return (a_in_other_thread == a_in_main_thread);
45974 ;
45975 return 0;
45976 }
45977 _ACEOF
45978 if ac_fn_c_try_run "$LINENO"; then :
45979 gcc_cv_have_tls=yes
45980 else
45981 gcc_cv_have_tls=no
45982 fi
45983 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45984 conftest.$ac_objext conftest.beam conftest.$ac_ext
45985 fi
45986
45987 CFLAGS="$chktls_save_CFLAGS"
45988 fi
45989 fi
45990 else
45991 gcc_cv_have_tls=no
45992 fi
45993 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45994 conftest.$ac_objext conftest.beam conftest.$ac_ext
45995 fi
45996
45997 fi
45998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45999 $as_echo "$gcc_cv_have_tls" >&6; }
46000 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
46001
46002 $as_echo "#define HAVE_TLS 1" >>confdefs.h
46003
46004 fi
46005 case "$target" in
46006 *-hpux10*)
46007 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
46008
46009 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
46010
46011 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
46012
46013 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
46014
46015 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
46016
46017 ;;
46018 esac
46019 ;;
46020 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
46021
46022 # All these tests are for C++; save the language and the compiler flags.
46023 # The CXXFLAGS thing is suspicious, but based on similar bits previously
46024 # found in GLIBCXX_CONFIGURE.
46025
46026 ac_ext=cpp
46027 ac_cpp='$CXXCPP $CPPFLAGS'
46028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46031
46032 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46033 ac_save_CXXFLAGS="$CXXFLAGS"
46034
46035 # Check for maintainer-mode bits.
46036 if test x"$USE_MAINTAINER_MODE" = xno; then
46037 WERROR=''
46038 else
46039 WERROR='-Werror'
46040 fi
46041
46042 # Check for -ffunction-sections -fdata-sections
46043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
46044 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
46045 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
46046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46047 /* end confdefs.h. */
46048 int foo; void bar() { };
46049 int
46050 main ()
46051 {
46052
46053 ;
46054 return 0;
46055 }
46056 _ACEOF
46057 if ac_fn_cxx_try_compile "$LINENO"; then :
46058 ac_fdsections=yes
46059 else
46060 ac_fdsections=no
46061 fi
46062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46063 if test "$ac_test_CXXFLAGS" = set; then
46064 CXXFLAGS="$ac_save_CXXFLAGS"
46065 else
46066 # this is the suspicious part
46067 CXXFLAGS=''
46068 fi
46069 if test x"$ac_fdsections" = x"yes"; then
46070 SECTION_FLAGS='-ffunction-sections -fdata-sections'
46071 fi
46072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
46073 $as_echo "$ac_fdsections" >&6; }
46074
46075 ac_ext=c
46076 ac_cpp='$CPP $CPPFLAGS'
46077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46080
46081
46082
46083
46084
46085 # If we're not using GNU ld, then there's no point in even trying these
46086 # tests. Check for that first. We should have already tested for gld
46087 # by now (in libtool), but require it now just to be safe...
46088 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46089 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46090
46091
46092
46093 # The name set by libtool depends on the version of libtool. Shame on us
46094 # for depending on an impl detail, but c'est la vie. Older versions used
46095 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46096 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46097 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
46098 # set (hence we're using an older libtool), then set it.
46099 if test x${with_gnu_ld+set} != xset; then
46100 if test x${ac_cv_prog_gnu_ld+set} != xset; then
46101 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
46102 with_gnu_ld=no
46103 else
46104 with_gnu_ld=$ac_cv_prog_gnu_ld
46105 fi
46106 fi
46107
46108 # Start by getting the version number. I think the libtool test already
46109 # does some of this, but throws away the result.
46110 glibcxx_ld_is_gold=no
46111 if test x"$with_gnu_ld" = x"yes"; then
46112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
46113 $as_echo_n "checking for ld version... " >&6; }
46114
46115 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
46116 glibcxx_ld_is_gold=yes
46117 fi
46118 ldver=`$LD --version 2>/dev/null |
46119 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'`
46120
46121 glibcxx_gnu_ld_version=`echo $ldver | \
46122 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
46124 $as_echo "$glibcxx_gnu_ld_version" >&6; }
46125 fi
46126
46127 # Set --gc-sections.
46128 glibcxx_have_gc_sections=no
46129 if test "$glibcxx_ld_is_gold" = "yes"; then
46130 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
46131 glibcxx_have_gc_sections=yes
46132 fi
46133 else
46134 glibcxx_gcsections_min_ld=21602
46135 if test x"$with_gnu_ld" = x"yes" &&
46136 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
46137 glibcxx_have_gc_sections=yes
46138 fi
46139 fi
46140 if test "$glibcxx_have_gc_sections" = "yes"; then
46141 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
46142 # NB: This flag only works reliably after 2.16.1. Configure tests
46143 # for this are difficult, so hard wire a value that should work.
46144
46145 ac_test_CFLAGS="${CFLAGS+set}"
46146 ac_save_CFLAGS="$CFLAGS"
46147 CFLAGS='-Wl,--gc-sections'
46148
46149 # Check for -Wl,--gc-sections
46150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
46151 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
46152 if test x$gcc_no_link = xyes; then
46153 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46154 fi
46155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46156 /* end confdefs.h. */
46157 int one(void) { return 1; }
46158 int two(void) { return 2; }
46159
46160 int
46161 main ()
46162 {
46163 two();
46164 ;
46165 return 0;
46166 }
46167 _ACEOF
46168 if ac_fn_c_try_link "$LINENO"; then :
46169 ac_gcsections=yes
46170 else
46171 ac_gcsections=no
46172 fi
46173 rm -f core conftest.err conftest.$ac_objext \
46174 conftest$ac_exeext conftest.$ac_ext
46175 if test "$ac_gcsections" = "yes"; then
46176 rm -f conftest.c
46177 touch conftest.c
46178 if $CC -c conftest.c; then
46179 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
46180 grep "Warning: gc-sections option ignored" > /dev/null; then
46181 ac_gcsections=no
46182 fi
46183 fi
46184 rm -f conftest.c conftest.o conftest
46185 fi
46186 if test "$ac_gcsections" = "yes"; then
46187 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46188 fi
46189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
46190 $as_echo "$ac_gcsections" >&6; }
46191
46192 if test "$ac_test_CFLAGS" = set; then
46193 CFLAGS="$ac_save_CFLAGS"
46194 else
46195 # this is the suspicious part
46196 CFLAGS=''
46197 fi
46198 fi
46199
46200 # Set -z,relro.
46201 # Note this is only for shared objects.
46202 ac_ld_relro=no
46203 if test x"$with_gnu_ld" = x"yes"; then
46204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
46205 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
46206 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
46207 if test -n "$cxx_z_relo"; then
46208 OPT_LDFLAGS="-Wl,-z,relro"
46209 ac_ld_relro=yes
46210 fi
46211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
46212 $as_echo "$ac_ld_relro" >&6; }
46213 fi
46214
46215 # Set linker optimization flags.
46216 if test x"$with_gnu_ld" = x"yes"; then
46217 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46218 fi
46219
46220
46221
46222
46223
46224 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46225 ac_save_CXXFLAGS="$CXXFLAGS"
46226 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46227
46228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46229 $as_echo_n "checking for sin in -lm... " >&6; }
46230 if test "${ac_cv_lib_m_sin+set}" = set; then :
46231 $as_echo_n "(cached) " >&6
46232 else
46233 ac_check_lib_save_LIBS=$LIBS
46234 LIBS="-lm $LIBS"
46235 if test x$gcc_no_link = xyes; then
46236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46237 fi
46238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46239 /* end confdefs.h. */
46240
46241 /* Override any GCC internal prototype to avoid an error.
46242 Use char because int might match the return type of a GCC
46243 builtin and then its argument prototype would still apply. */
46244 #ifdef __cplusplus
46245 extern "C"
46246 #endif
46247 char sin ();
46248 int
46249 main ()
46250 {
46251 return sin ();
46252 ;
46253 return 0;
46254 }
46255 _ACEOF
46256 if ac_fn_c_try_link "$LINENO"; then :
46257 ac_cv_lib_m_sin=yes
46258 else
46259 ac_cv_lib_m_sin=no
46260 fi
46261 rm -f core conftest.err conftest.$ac_objext \
46262 conftest$ac_exeext conftest.$ac_ext
46263 LIBS=$ac_check_lib_save_LIBS
46264 fi
46265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46266 $as_echo "$ac_cv_lib_m_sin" >&6; }
46267 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46268 libm="-lm"
46269 fi
46270
46271 ac_save_LIBS="$LIBS"
46272 LIBS="$LIBS $libm"
46273
46274
46275
46276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46277 $as_echo_n "checking for isinf declaration... " >&6; }
46278 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46279 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46280 $as_echo_n "(cached) " >&6
46281 else
46282
46283
46284 ac_ext=cpp
46285 ac_cpp='$CXXCPP $CPPFLAGS'
46286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46289
46290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46291 /* end confdefs.h. */
46292 #include <math.h>
46293 #ifdef HAVE_IEEEFP_H
46294 #include <ieeefp.h>
46295 #endif
46296
46297 int
46298 main ()
46299 {
46300 isinf(0);
46301 ;
46302 return 0;
46303 }
46304 _ACEOF
46305 if ac_fn_cxx_try_compile "$LINENO"; then :
46306 glibcxx_cv_func_isinf_use=yes
46307 else
46308 glibcxx_cv_func_isinf_use=no
46309 fi
46310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46311 ac_ext=c
46312 ac_cpp='$CPP $CPPFLAGS'
46313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46316
46317
46318 fi
46319
46320 fi
46321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46322 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46323
46324 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46325 for ac_func in isinf
46326 do :
46327 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46328 if test "x$ac_cv_func_isinf" = x""yes; then :
46329 cat >>confdefs.h <<_ACEOF
46330 #define HAVE_ISINF 1
46331 _ACEOF
46332
46333 fi
46334 done
46335
46336 else
46337
46338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46339 $as_echo_n "checking for _isinf declaration... " >&6; }
46340 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46341 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46342 $as_echo_n "(cached) " >&6
46343 else
46344
46345
46346 ac_ext=cpp
46347 ac_cpp='$CXXCPP $CPPFLAGS'
46348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46351
46352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46353 /* end confdefs.h. */
46354 #include <math.h>
46355 #ifdef HAVE_IEEEFP_H
46356 #include <ieeefp.h>
46357 #endif
46358
46359 int
46360 main ()
46361 {
46362 _isinf(0);
46363 ;
46364 return 0;
46365 }
46366 _ACEOF
46367 if ac_fn_cxx_try_compile "$LINENO"; then :
46368 glibcxx_cv_func__isinf_use=yes
46369 else
46370 glibcxx_cv_func__isinf_use=no
46371 fi
46372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46373 ac_ext=c
46374 ac_cpp='$CPP $CPPFLAGS'
46375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46378
46379
46380 fi
46381
46382 fi
46383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46384 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46385
46386 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46387 for ac_func in _isinf
46388 do :
46389 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46390 if test "x$ac_cv_func__isinf" = x""yes; then :
46391 cat >>confdefs.h <<_ACEOF
46392 #define HAVE__ISINF 1
46393 _ACEOF
46394
46395 fi
46396 done
46397
46398 fi
46399 fi
46400
46401
46402
46403
46404
46405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46406 $as_echo_n "checking for isnan declaration... " >&6; }
46407 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46408 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46409 $as_echo_n "(cached) " >&6
46410 else
46411
46412
46413 ac_ext=cpp
46414 ac_cpp='$CXXCPP $CPPFLAGS'
46415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46418
46419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46420 /* end confdefs.h. */
46421 #include <math.h>
46422 #ifdef HAVE_IEEEFP_H
46423 #include <ieeefp.h>
46424 #endif
46425
46426 int
46427 main ()
46428 {
46429 isnan(0);
46430 ;
46431 return 0;
46432 }
46433 _ACEOF
46434 if ac_fn_cxx_try_compile "$LINENO"; then :
46435 glibcxx_cv_func_isnan_use=yes
46436 else
46437 glibcxx_cv_func_isnan_use=no
46438 fi
46439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46440 ac_ext=c
46441 ac_cpp='$CPP $CPPFLAGS'
46442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46445
46446
46447 fi
46448
46449 fi
46450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46451 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46452
46453 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46454 for ac_func in isnan
46455 do :
46456 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46457 if test "x$ac_cv_func_isnan" = x""yes; then :
46458 cat >>confdefs.h <<_ACEOF
46459 #define HAVE_ISNAN 1
46460 _ACEOF
46461
46462 fi
46463 done
46464
46465 else
46466
46467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46468 $as_echo_n "checking for _isnan declaration... " >&6; }
46469 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46470 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46471 $as_echo_n "(cached) " >&6
46472 else
46473
46474
46475 ac_ext=cpp
46476 ac_cpp='$CXXCPP $CPPFLAGS'
46477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46480
46481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46482 /* end confdefs.h. */
46483 #include <math.h>
46484 #ifdef HAVE_IEEEFP_H
46485 #include <ieeefp.h>
46486 #endif
46487
46488 int
46489 main ()
46490 {
46491 _isnan(0);
46492 ;
46493 return 0;
46494 }
46495 _ACEOF
46496 if ac_fn_cxx_try_compile "$LINENO"; then :
46497 glibcxx_cv_func__isnan_use=yes
46498 else
46499 glibcxx_cv_func__isnan_use=no
46500 fi
46501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46502 ac_ext=c
46503 ac_cpp='$CPP $CPPFLAGS'
46504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46507
46508
46509 fi
46510
46511 fi
46512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46513 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46514
46515 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46516 for ac_func in _isnan
46517 do :
46518 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46519 if test "x$ac_cv_func__isnan" = x""yes; then :
46520 cat >>confdefs.h <<_ACEOF
46521 #define HAVE__ISNAN 1
46522 _ACEOF
46523
46524 fi
46525 done
46526
46527 fi
46528 fi
46529
46530
46531
46532
46533
46534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46535 $as_echo_n "checking for finite declaration... " >&6; }
46536 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46537 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46538 $as_echo_n "(cached) " >&6
46539 else
46540
46541
46542 ac_ext=cpp
46543 ac_cpp='$CXXCPP $CPPFLAGS'
46544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46547
46548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46549 /* end confdefs.h. */
46550 #include <math.h>
46551 #ifdef HAVE_IEEEFP_H
46552 #include <ieeefp.h>
46553 #endif
46554
46555 int
46556 main ()
46557 {
46558 finite(0);
46559 ;
46560 return 0;
46561 }
46562 _ACEOF
46563 if ac_fn_cxx_try_compile "$LINENO"; then :
46564 glibcxx_cv_func_finite_use=yes
46565 else
46566 glibcxx_cv_func_finite_use=no
46567 fi
46568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46569 ac_ext=c
46570 ac_cpp='$CPP $CPPFLAGS'
46571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46574
46575
46576 fi
46577
46578 fi
46579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46580 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46581
46582 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46583 for ac_func in finite
46584 do :
46585 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46586 if test "x$ac_cv_func_finite" = x""yes; then :
46587 cat >>confdefs.h <<_ACEOF
46588 #define HAVE_FINITE 1
46589 _ACEOF
46590
46591 fi
46592 done
46593
46594 else
46595
46596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46597 $as_echo_n "checking for _finite declaration... " >&6; }
46598 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46599 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46600 $as_echo_n "(cached) " >&6
46601 else
46602
46603
46604 ac_ext=cpp
46605 ac_cpp='$CXXCPP $CPPFLAGS'
46606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46609
46610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46611 /* end confdefs.h. */
46612 #include <math.h>
46613 #ifdef HAVE_IEEEFP_H
46614 #include <ieeefp.h>
46615 #endif
46616
46617 int
46618 main ()
46619 {
46620 _finite(0);
46621 ;
46622 return 0;
46623 }
46624 _ACEOF
46625 if ac_fn_cxx_try_compile "$LINENO"; then :
46626 glibcxx_cv_func__finite_use=yes
46627 else
46628 glibcxx_cv_func__finite_use=no
46629 fi
46630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46631 ac_ext=c
46632 ac_cpp='$CPP $CPPFLAGS'
46633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46636
46637
46638 fi
46639
46640 fi
46641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46642 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46643
46644 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46645 for ac_func in _finite
46646 do :
46647 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46648 if test "x$ac_cv_func__finite" = x""yes; then :
46649 cat >>confdefs.h <<_ACEOF
46650 #define HAVE__FINITE 1
46651 _ACEOF
46652
46653 fi
46654 done
46655
46656 fi
46657 fi
46658
46659
46660
46661
46662
46663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46664 $as_echo_n "checking for sincos declaration... " >&6; }
46665 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46666 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46667 $as_echo_n "(cached) " >&6
46668 else
46669
46670
46671 ac_ext=cpp
46672 ac_cpp='$CXXCPP $CPPFLAGS'
46673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46676
46677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46678 /* end confdefs.h. */
46679 #include <math.h>
46680 int
46681 main ()
46682 {
46683 sincos(0, 0, 0);
46684 ;
46685 return 0;
46686 }
46687 _ACEOF
46688 if ac_fn_cxx_try_compile "$LINENO"; then :
46689 glibcxx_cv_func_sincos_use=yes
46690 else
46691 glibcxx_cv_func_sincos_use=no
46692 fi
46693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46694 ac_ext=c
46695 ac_cpp='$CPP $CPPFLAGS'
46696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46699
46700
46701 fi
46702
46703 fi
46704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46705 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46706
46707 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46708 for ac_func in sincos
46709 do :
46710 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46711 if test "x$ac_cv_func_sincos" = x""yes; then :
46712 cat >>confdefs.h <<_ACEOF
46713 #define HAVE_SINCOS 1
46714 _ACEOF
46715
46716 fi
46717 done
46718
46719 else
46720
46721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46722 $as_echo_n "checking for _sincos declaration... " >&6; }
46723 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46724 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46725 $as_echo_n "(cached) " >&6
46726 else
46727
46728
46729 ac_ext=cpp
46730 ac_cpp='$CXXCPP $CPPFLAGS'
46731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46734
46735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46736 /* end confdefs.h. */
46737 #include <math.h>
46738 int
46739 main ()
46740 {
46741 _sincos(0, 0, 0);
46742 ;
46743 return 0;
46744 }
46745 _ACEOF
46746 if ac_fn_cxx_try_compile "$LINENO"; then :
46747 glibcxx_cv_func__sincos_use=yes
46748 else
46749 glibcxx_cv_func__sincos_use=no
46750 fi
46751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46752 ac_ext=c
46753 ac_cpp='$CPP $CPPFLAGS'
46754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46757
46758
46759 fi
46760
46761 fi
46762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46763 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46764
46765 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46766 for ac_func in _sincos
46767 do :
46768 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46769 if test "x$ac_cv_func__sincos" = x""yes; then :
46770 cat >>confdefs.h <<_ACEOF
46771 #define HAVE__SINCOS 1
46772 _ACEOF
46773
46774 fi
46775 done
46776
46777 fi
46778 fi
46779
46780
46781
46782
46783
46784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46785 $as_echo_n "checking for fpclass declaration... " >&6; }
46786 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46787 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46788 $as_echo_n "(cached) " >&6
46789 else
46790
46791
46792 ac_ext=cpp
46793 ac_cpp='$CXXCPP $CPPFLAGS'
46794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46797
46798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46799 /* end confdefs.h. */
46800 #include <math.h>
46801 #ifdef HAVE_IEEEFP_H
46802 #include <ieeefp.h>
46803 #endif
46804
46805 int
46806 main ()
46807 {
46808 fpclass(0);
46809 ;
46810 return 0;
46811 }
46812 _ACEOF
46813 if ac_fn_cxx_try_compile "$LINENO"; then :
46814 glibcxx_cv_func_fpclass_use=yes
46815 else
46816 glibcxx_cv_func_fpclass_use=no
46817 fi
46818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46819 ac_ext=c
46820 ac_cpp='$CPP $CPPFLAGS'
46821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46824
46825
46826 fi
46827
46828 fi
46829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46830 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46831
46832 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46833 for ac_func in fpclass
46834 do :
46835 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46836 if test "x$ac_cv_func_fpclass" = x""yes; then :
46837 cat >>confdefs.h <<_ACEOF
46838 #define HAVE_FPCLASS 1
46839 _ACEOF
46840
46841 fi
46842 done
46843
46844 else
46845
46846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46847 $as_echo_n "checking for _fpclass declaration... " >&6; }
46848 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46849 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46850 $as_echo_n "(cached) " >&6
46851 else
46852
46853
46854 ac_ext=cpp
46855 ac_cpp='$CXXCPP $CPPFLAGS'
46856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46859
46860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46861 /* end confdefs.h. */
46862 #include <math.h>
46863 #ifdef HAVE_IEEEFP_H
46864 #include <ieeefp.h>
46865 #endif
46866
46867 int
46868 main ()
46869 {
46870 _fpclass(0);
46871 ;
46872 return 0;
46873 }
46874 _ACEOF
46875 if ac_fn_cxx_try_compile "$LINENO"; then :
46876 glibcxx_cv_func__fpclass_use=yes
46877 else
46878 glibcxx_cv_func__fpclass_use=no
46879 fi
46880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46881 ac_ext=c
46882 ac_cpp='$CPP $CPPFLAGS'
46883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46886
46887
46888 fi
46889
46890 fi
46891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46892 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46893
46894 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46895 for ac_func in _fpclass
46896 do :
46897 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46898 if test "x$ac_cv_func__fpclass" = x""yes; then :
46899 cat >>confdefs.h <<_ACEOF
46900 #define HAVE__FPCLASS 1
46901 _ACEOF
46902
46903 fi
46904 done
46905
46906 fi
46907 fi
46908
46909
46910
46911
46912
46913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46914 $as_echo_n "checking for qfpclass declaration... " >&6; }
46915 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46916 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46917 $as_echo_n "(cached) " >&6
46918 else
46919
46920
46921 ac_ext=cpp
46922 ac_cpp='$CXXCPP $CPPFLAGS'
46923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46926
46927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46928 /* end confdefs.h. */
46929 #include <math.h>
46930 #ifdef HAVE_IEEEFP_H
46931 #include <ieeefp.h>
46932 #endif
46933
46934 int
46935 main ()
46936 {
46937 qfpclass(0);
46938 ;
46939 return 0;
46940 }
46941 _ACEOF
46942 if ac_fn_cxx_try_compile "$LINENO"; then :
46943 glibcxx_cv_func_qfpclass_use=yes
46944 else
46945 glibcxx_cv_func_qfpclass_use=no
46946 fi
46947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46948 ac_ext=c
46949 ac_cpp='$CPP $CPPFLAGS'
46950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46953
46954
46955 fi
46956
46957 fi
46958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46959 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46960
46961 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46962 for ac_func in qfpclass
46963 do :
46964 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46965 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46966 cat >>confdefs.h <<_ACEOF
46967 #define HAVE_QFPCLASS 1
46968 _ACEOF
46969
46970 fi
46971 done
46972
46973 else
46974
46975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46976 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46977 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46978 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46979 $as_echo_n "(cached) " >&6
46980 else
46981
46982
46983 ac_ext=cpp
46984 ac_cpp='$CXXCPP $CPPFLAGS'
46985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46988
46989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46990 /* end confdefs.h. */
46991 #include <math.h>
46992 #ifdef HAVE_IEEEFP_H
46993 #include <ieeefp.h>
46994 #endif
46995
46996 int
46997 main ()
46998 {
46999 _qfpclass(0);
47000 ;
47001 return 0;
47002 }
47003 _ACEOF
47004 if ac_fn_cxx_try_compile "$LINENO"; then :
47005 glibcxx_cv_func__qfpclass_use=yes
47006 else
47007 glibcxx_cv_func__qfpclass_use=no
47008 fi
47009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47010 ac_ext=c
47011 ac_cpp='$CPP $CPPFLAGS'
47012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47015
47016
47017 fi
47018
47019 fi
47020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47021 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47022
47023 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47024 for ac_func in _qfpclass
47025 do :
47026 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47027 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47028 cat >>confdefs.h <<_ACEOF
47029 #define HAVE__QFPCLASS 1
47030 _ACEOF
47031
47032 fi
47033 done
47034
47035 fi
47036 fi
47037
47038
47039
47040
47041
47042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47043 $as_echo_n "checking for hypot declaration... " >&6; }
47044 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47045 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47046 $as_echo_n "(cached) " >&6
47047 else
47048
47049
47050 ac_ext=cpp
47051 ac_cpp='$CXXCPP $CPPFLAGS'
47052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47055
47056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47057 /* end confdefs.h. */
47058 #include <math.h>
47059 int
47060 main ()
47061 {
47062 hypot(0, 0);
47063 ;
47064 return 0;
47065 }
47066 _ACEOF
47067 if ac_fn_cxx_try_compile "$LINENO"; then :
47068 glibcxx_cv_func_hypot_use=yes
47069 else
47070 glibcxx_cv_func_hypot_use=no
47071 fi
47072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47073 ac_ext=c
47074 ac_cpp='$CPP $CPPFLAGS'
47075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47078
47079
47080 fi
47081
47082 fi
47083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47084 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47085
47086 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47087 for ac_func in hypot
47088 do :
47089 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47090 if test "x$ac_cv_func_hypot" = x""yes; then :
47091 cat >>confdefs.h <<_ACEOF
47092 #define HAVE_HYPOT 1
47093 _ACEOF
47094
47095 fi
47096 done
47097
47098 else
47099
47100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47101 $as_echo_n "checking for _hypot declaration... " >&6; }
47102 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47103 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47104 $as_echo_n "(cached) " >&6
47105 else
47106
47107
47108 ac_ext=cpp
47109 ac_cpp='$CXXCPP $CPPFLAGS'
47110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47113
47114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47115 /* end confdefs.h. */
47116 #include <math.h>
47117 int
47118 main ()
47119 {
47120 _hypot(0, 0);
47121 ;
47122 return 0;
47123 }
47124 _ACEOF
47125 if ac_fn_cxx_try_compile "$LINENO"; then :
47126 glibcxx_cv_func__hypot_use=yes
47127 else
47128 glibcxx_cv_func__hypot_use=no
47129 fi
47130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47131 ac_ext=c
47132 ac_cpp='$CPP $CPPFLAGS'
47133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47136
47137
47138 fi
47139
47140 fi
47141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47142 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47143
47144 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47145 for ac_func in _hypot
47146 do :
47147 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47148 if test "x$ac_cv_func__hypot" = x""yes; then :
47149 cat >>confdefs.h <<_ACEOF
47150 #define HAVE__HYPOT 1
47151 _ACEOF
47152
47153 fi
47154 done
47155
47156 fi
47157 fi
47158
47159
47160
47161
47162
47163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47164 $as_echo_n "checking for float trig functions... " >&6; }
47165 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47166 $as_echo_n "(cached) " >&6
47167 else
47168
47169
47170 ac_ext=cpp
47171 ac_cpp='$CXXCPP $CPPFLAGS'
47172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47175
47176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47177 /* end confdefs.h. */
47178 #include <math.h>
47179 int
47180 main ()
47181 {
47182 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47183 ;
47184 return 0;
47185 }
47186 _ACEOF
47187 if ac_fn_cxx_try_compile "$LINENO"; then :
47188 glibcxx_cv_func_float_trig_use=yes
47189 else
47190 glibcxx_cv_func_float_trig_use=no
47191 fi
47192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47193 ac_ext=c
47194 ac_cpp='$CPP $CPPFLAGS'
47195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47198
47199 fi
47200
47201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47202 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47203 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47204 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47205 do :
47206 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47207 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47208 eval as_val=\$$as_ac_var
47209 if test "x$as_val" = x""yes; then :
47210 cat >>confdefs.h <<_ACEOF
47211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47212 _ACEOF
47213
47214 fi
47215 done
47216
47217 else
47218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47219 $as_echo_n "checking for _float trig functions... " >&6; }
47220 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47221 $as_echo_n "(cached) " >&6
47222 else
47223
47224
47225 ac_ext=cpp
47226 ac_cpp='$CXXCPP $CPPFLAGS'
47227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47230
47231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47232 /* end confdefs.h. */
47233 #include <math.h>
47234 int
47235 main ()
47236 {
47237 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47238 ;
47239 return 0;
47240 }
47241 _ACEOF
47242 if ac_fn_cxx_try_compile "$LINENO"; then :
47243 glibcxx_cv_func__float_trig_use=yes
47244 else
47245 glibcxx_cv_func__float_trig_use=no
47246 fi
47247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47248 ac_ext=c
47249 ac_cpp='$CPP $CPPFLAGS'
47250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47253
47254 fi
47255
47256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47257 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47258 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47259 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47260 do :
47261 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47262 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47263 eval as_val=\$$as_ac_var
47264 if test "x$as_val" = x""yes; then :
47265 cat >>confdefs.h <<_ACEOF
47266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47267 _ACEOF
47268
47269 fi
47270 done
47271
47272 fi
47273 fi
47274
47275
47276
47277
47278
47279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47280 $as_echo_n "checking for float round functions... " >&6; }
47281 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47282 $as_echo_n "(cached) " >&6
47283 else
47284
47285
47286 ac_ext=cpp
47287 ac_cpp='$CXXCPP $CPPFLAGS'
47288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47291
47292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47293 /* end confdefs.h. */
47294 #include <math.h>
47295 int
47296 main ()
47297 {
47298 ceilf (0); floorf (0);
47299 ;
47300 return 0;
47301 }
47302 _ACEOF
47303 if ac_fn_cxx_try_compile "$LINENO"; then :
47304 glibcxx_cv_func_float_round_use=yes
47305 else
47306 glibcxx_cv_func_float_round_use=no
47307 fi
47308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47309 ac_ext=c
47310 ac_cpp='$CPP $CPPFLAGS'
47311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47314
47315 fi
47316
47317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47318 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47319 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47320 for ac_func in ceilf floorf
47321 do :
47322 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47323 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47324 eval as_val=\$$as_ac_var
47325 if test "x$as_val" = x""yes; then :
47326 cat >>confdefs.h <<_ACEOF
47327 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47328 _ACEOF
47329
47330 fi
47331 done
47332
47333 else
47334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47335 $as_echo_n "checking for _float round functions... " >&6; }
47336 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47337 $as_echo_n "(cached) " >&6
47338 else
47339
47340
47341 ac_ext=cpp
47342 ac_cpp='$CXXCPP $CPPFLAGS'
47343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47346
47347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47348 /* end confdefs.h. */
47349 #include <math.h>
47350 int
47351 main ()
47352 {
47353 _ceilf (0); _floorf (0);
47354 ;
47355 return 0;
47356 }
47357 _ACEOF
47358 if ac_fn_cxx_try_compile "$LINENO"; then :
47359 glibcxx_cv_func__float_round_use=yes
47360 else
47361 glibcxx_cv_func__float_round_use=no
47362 fi
47363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47364 ac_ext=c
47365 ac_cpp='$CPP $CPPFLAGS'
47366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47369
47370 fi
47371
47372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47373 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47374 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47375 for ac_func in _ceilf _floorf
47376 do :
47377 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47378 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47379 eval as_val=\$$as_ac_var
47380 if test "x$as_val" = x""yes; then :
47381 cat >>confdefs.h <<_ACEOF
47382 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47383 _ACEOF
47384
47385 fi
47386 done
47387
47388 fi
47389 fi
47390
47391
47392
47393
47394
47395
47396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47397 $as_echo_n "checking for expf declaration... " >&6; }
47398 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47399 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47400 $as_echo_n "(cached) " >&6
47401 else
47402
47403
47404 ac_ext=cpp
47405 ac_cpp='$CXXCPP $CPPFLAGS'
47406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47409
47410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47411 /* end confdefs.h. */
47412 #include <math.h>
47413 #ifdef HAVE_IEEEFP_H
47414 #include <ieeefp.h>
47415 #endif
47416
47417 int
47418 main ()
47419 {
47420 expf(0);
47421 ;
47422 return 0;
47423 }
47424 _ACEOF
47425 if ac_fn_cxx_try_compile "$LINENO"; then :
47426 glibcxx_cv_func_expf_use=yes
47427 else
47428 glibcxx_cv_func_expf_use=no
47429 fi
47430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47431 ac_ext=c
47432 ac_cpp='$CPP $CPPFLAGS'
47433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47436
47437
47438 fi
47439
47440 fi
47441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47442 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47443
47444 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47445 for ac_func in expf
47446 do :
47447 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47448 if test "x$ac_cv_func_expf" = x""yes; then :
47449 cat >>confdefs.h <<_ACEOF
47450 #define HAVE_EXPF 1
47451 _ACEOF
47452
47453 fi
47454 done
47455
47456 else
47457
47458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47459 $as_echo_n "checking for _expf declaration... " >&6; }
47460 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47461 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47462 $as_echo_n "(cached) " >&6
47463 else
47464
47465
47466 ac_ext=cpp
47467 ac_cpp='$CXXCPP $CPPFLAGS'
47468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47471
47472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47473 /* end confdefs.h. */
47474 #include <math.h>
47475 #ifdef HAVE_IEEEFP_H
47476 #include <ieeefp.h>
47477 #endif
47478
47479 int
47480 main ()
47481 {
47482 _expf(0);
47483 ;
47484 return 0;
47485 }
47486 _ACEOF
47487 if ac_fn_cxx_try_compile "$LINENO"; then :
47488 glibcxx_cv_func__expf_use=yes
47489 else
47490 glibcxx_cv_func__expf_use=no
47491 fi
47492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47493 ac_ext=c
47494 ac_cpp='$CPP $CPPFLAGS'
47495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47498
47499
47500 fi
47501
47502 fi
47503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47504 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47505
47506 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47507 for ac_func in _expf
47508 do :
47509 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47510 if test "x$ac_cv_func__expf" = x""yes; then :
47511 cat >>confdefs.h <<_ACEOF
47512 #define HAVE__EXPF 1
47513 _ACEOF
47514
47515 fi
47516 done
47517
47518 fi
47519 fi
47520
47521
47522
47523
47524
47525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47526 $as_echo_n "checking for isnanf declaration... " >&6; }
47527 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47528 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47529 $as_echo_n "(cached) " >&6
47530 else
47531
47532
47533 ac_ext=cpp
47534 ac_cpp='$CXXCPP $CPPFLAGS'
47535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47538
47539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47540 /* end confdefs.h. */
47541 #include <math.h>
47542 #ifdef HAVE_IEEEFP_H
47543 #include <ieeefp.h>
47544 #endif
47545
47546 int
47547 main ()
47548 {
47549 isnanf(0);
47550 ;
47551 return 0;
47552 }
47553 _ACEOF
47554 if ac_fn_cxx_try_compile "$LINENO"; then :
47555 glibcxx_cv_func_isnanf_use=yes
47556 else
47557 glibcxx_cv_func_isnanf_use=no
47558 fi
47559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47560 ac_ext=c
47561 ac_cpp='$CPP $CPPFLAGS'
47562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47565
47566
47567 fi
47568
47569 fi
47570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47571 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47572
47573 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47574 for ac_func in isnanf
47575 do :
47576 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47577 if test "x$ac_cv_func_isnanf" = x""yes; then :
47578 cat >>confdefs.h <<_ACEOF
47579 #define HAVE_ISNANF 1
47580 _ACEOF
47581
47582 fi
47583 done
47584
47585 else
47586
47587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47588 $as_echo_n "checking for _isnanf declaration... " >&6; }
47589 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47590 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47591 $as_echo_n "(cached) " >&6
47592 else
47593
47594
47595 ac_ext=cpp
47596 ac_cpp='$CXXCPP $CPPFLAGS'
47597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47600
47601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47602 /* end confdefs.h. */
47603 #include <math.h>
47604 #ifdef HAVE_IEEEFP_H
47605 #include <ieeefp.h>
47606 #endif
47607
47608 int
47609 main ()
47610 {
47611 _isnanf(0);
47612 ;
47613 return 0;
47614 }
47615 _ACEOF
47616 if ac_fn_cxx_try_compile "$LINENO"; then :
47617 glibcxx_cv_func__isnanf_use=yes
47618 else
47619 glibcxx_cv_func__isnanf_use=no
47620 fi
47621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47622 ac_ext=c
47623 ac_cpp='$CPP $CPPFLAGS'
47624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47627
47628
47629 fi
47630
47631 fi
47632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47633 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47634
47635 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47636 for ac_func in _isnanf
47637 do :
47638 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47639 if test "x$ac_cv_func__isnanf" = x""yes; then :
47640 cat >>confdefs.h <<_ACEOF
47641 #define HAVE__ISNANF 1
47642 _ACEOF
47643
47644 fi
47645 done
47646
47647 fi
47648 fi
47649
47650
47651
47652
47653
47654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47655 $as_echo_n "checking for isinff declaration... " >&6; }
47656 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47657 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47658 $as_echo_n "(cached) " >&6
47659 else
47660
47661
47662 ac_ext=cpp
47663 ac_cpp='$CXXCPP $CPPFLAGS'
47664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47667
47668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47669 /* end confdefs.h. */
47670 #include <math.h>
47671 #ifdef HAVE_IEEEFP_H
47672 #include <ieeefp.h>
47673 #endif
47674
47675 int
47676 main ()
47677 {
47678 isinff(0);
47679 ;
47680 return 0;
47681 }
47682 _ACEOF
47683 if ac_fn_cxx_try_compile "$LINENO"; then :
47684 glibcxx_cv_func_isinff_use=yes
47685 else
47686 glibcxx_cv_func_isinff_use=no
47687 fi
47688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47689 ac_ext=c
47690 ac_cpp='$CPP $CPPFLAGS'
47691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47694
47695
47696 fi
47697
47698 fi
47699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47700 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47701
47702 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47703 for ac_func in isinff
47704 do :
47705 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47706 if test "x$ac_cv_func_isinff" = x""yes; then :
47707 cat >>confdefs.h <<_ACEOF
47708 #define HAVE_ISINFF 1
47709 _ACEOF
47710
47711 fi
47712 done
47713
47714 else
47715
47716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47717 $as_echo_n "checking for _isinff declaration... " >&6; }
47718 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47719 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47720 $as_echo_n "(cached) " >&6
47721 else
47722
47723
47724 ac_ext=cpp
47725 ac_cpp='$CXXCPP $CPPFLAGS'
47726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47729
47730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47731 /* end confdefs.h. */
47732 #include <math.h>
47733 #ifdef HAVE_IEEEFP_H
47734 #include <ieeefp.h>
47735 #endif
47736
47737 int
47738 main ()
47739 {
47740 _isinff(0);
47741 ;
47742 return 0;
47743 }
47744 _ACEOF
47745 if ac_fn_cxx_try_compile "$LINENO"; then :
47746 glibcxx_cv_func__isinff_use=yes
47747 else
47748 glibcxx_cv_func__isinff_use=no
47749 fi
47750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47751 ac_ext=c
47752 ac_cpp='$CPP $CPPFLAGS'
47753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47756
47757
47758 fi
47759
47760 fi
47761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47762 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47763
47764 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47765 for ac_func in _isinff
47766 do :
47767 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47768 if test "x$ac_cv_func__isinff" = x""yes; then :
47769 cat >>confdefs.h <<_ACEOF
47770 #define HAVE__ISINFF 1
47771 _ACEOF
47772
47773 fi
47774 done
47775
47776 fi
47777 fi
47778
47779
47780
47781
47782
47783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47784 $as_echo_n "checking for atan2f declaration... " >&6; }
47785 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47786 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47787 $as_echo_n "(cached) " >&6
47788 else
47789
47790
47791 ac_ext=cpp
47792 ac_cpp='$CXXCPP $CPPFLAGS'
47793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47796
47797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47798 /* end confdefs.h. */
47799 #include <math.h>
47800 int
47801 main ()
47802 {
47803 atan2f(0, 0);
47804 ;
47805 return 0;
47806 }
47807 _ACEOF
47808 if ac_fn_cxx_try_compile "$LINENO"; then :
47809 glibcxx_cv_func_atan2f_use=yes
47810 else
47811 glibcxx_cv_func_atan2f_use=no
47812 fi
47813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47814 ac_ext=c
47815 ac_cpp='$CPP $CPPFLAGS'
47816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47819
47820
47821 fi
47822
47823 fi
47824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47825 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47826
47827 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47828 for ac_func in atan2f
47829 do :
47830 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47831 if test "x$ac_cv_func_atan2f" = x""yes; then :
47832 cat >>confdefs.h <<_ACEOF
47833 #define HAVE_ATAN2F 1
47834 _ACEOF
47835
47836 fi
47837 done
47838
47839 else
47840
47841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47842 $as_echo_n "checking for _atan2f declaration... " >&6; }
47843 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47844 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47845 $as_echo_n "(cached) " >&6
47846 else
47847
47848
47849 ac_ext=cpp
47850 ac_cpp='$CXXCPP $CPPFLAGS'
47851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47854
47855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47856 /* end confdefs.h. */
47857 #include <math.h>
47858 int
47859 main ()
47860 {
47861 _atan2f(0, 0);
47862 ;
47863 return 0;
47864 }
47865 _ACEOF
47866 if ac_fn_cxx_try_compile "$LINENO"; then :
47867 glibcxx_cv_func__atan2f_use=yes
47868 else
47869 glibcxx_cv_func__atan2f_use=no
47870 fi
47871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47872 ac_ext=c
47873 ac_cpp='$CPP $CPPFLAGS'
47874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47877
47878
47879 fi
47880
47881 fi
47882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47883 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47884
47885 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47886 for ac_func in _atan2f
47887 do :
47888 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47889 if test "x$ac_cv_func__atan2f" = x""yes; then :
47890 cat >>confdefs.h <<_ACEOF
47891 #define HAVE__ATAN2F 1
47892 _ACEOF
47893
47894 fi
47895 done
47896
47897 fi
47898 fi
47899
47900
47901
47902
47903
47904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47905 $as_echo_n "checking for fabsf declaration... " >&6; }
47906 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47907 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47908 $as_echo_n "(cached) " >&6
47909 else
47910
47911
47912 ac_ext=cpp
47913 ac_cpp='$CXXCPP $CPPFLAGS'
47914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47917
47918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47919 /* end confdefs.h. */
47920 #include <math.h>
47921 #ifdef HAVE_IEEEFP_H
47922 #include <ieeefp.h>
47923 #endif
47924
47925 int
47926 main ()
47927 {
47928 fabsf(0);
47929 ;
47930 return 0;
47931 }
47932 _ACEOF
47933 if ac_fn_cxx_try_compile "$LINENO"; then :
47934 glibcxx_cv_func_fabsf_use=yes
47935 else
47936 glibcxx_cv_func_fabsf_use=no
47937 fi
47938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47939 ac_ext=c
47940 ac_cpp='$CPP $CPPFLAGS'
47941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47944
47945
47946 fi
47947
47948 fi
47949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47950 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47951
47952 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47953 for ac_func in fabsf
47954 do :
47955 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47956 if test "x$ac_cv_func_fabsf" = x""yes; then :
47957 cat >>confdefs.h <<_ACEOF
47958 #define HAVE_FABSF 1
47959 _ACEOF
47960
47961 fi
47962 done
47963
47964 else
47965
47966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47967 $as_echo_n "checking for _fabsf declaration... " >&6; }
47968 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47969 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47970 $as_echo_n "(cached) " >&6
47971 else
47972
47973
47974 ac_ext=cpp
47975 ac_cpp='$CXXCPP $CPPFLAGS'
47976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47979
47980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47981 /* end confdefs.h. */
47982 #include <math.h>
47983 #ifdef HAVE_IEEEFP_H
47984 #include <ieeefp.h>
47985 #endif
47986
47987 int
47988 main ()
47989 {
47990 _fabsf(0);
47991 ;
47992 return 0;
47993 }
47994 _ACEOF
47995 if ac_fn_cxx_try_compile "$LINENO"; then :
47996 glibcxx_cv_func__fabsf_use=yes
47997 else
47998 glibcxx_cv_func__fabsf_use=no
47999 fi
48000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48001 ac_ext=c
48002 ac_cpp='$CPP $CPPFLAGS'
48003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48006
48007
48008 fi
48009
48010 fi
48011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48012 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48013
48014 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48015 for ac_func in _fabsf
48016 do :
48017 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48018 if test "x$ac_cv_func__fabsf" = x""yes; then :
48019 cat >>confdefs.h <<_ACEOF
48020 #define HAVE__FABSF 1
48021 _ACEOF
48022
48023 fi
48024 done
48025
48026 fi
48027 fi
48028
48029
48030
48031
48032
48033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48034 $as_echo_n "checking for fmodf declaration... " >&6; }
48035 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48036 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48037 $as_echo_n "(cached) " >&6
48038 else
48039
48040
48041 ac_ext=cpp
48042 ac_cpp='$CXXCPP $CPPFLAGS'
48043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48046
48047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48048 /* end confdefs.h. */
48049 #include <math.h>
48050 int
48051 main ()
48052 {
48053 fmodf(0, 0);
48054 ;
48055 return 0;
48056 }
48057 _ACEOF
48058 if ac_fn_cxx_try_compile "$LINENO"; then :
48059 glibcxx_cv_func_fmodf_use=yes
48060 else
48061 glibcxx_cv_func_fmodf_use=no
48062 fi
48063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48064 ac_ext=c
48065 ac_cpp='$CPP $CPPFLAGS'
48066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48069
48070
48071 fi
48072
48073 fi
48074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48075 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48076
48077 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48078 for ac_func in fmodf
48079 do :
48080 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48081 if test "x$ac_cv_func_fmodf" = x""yes; then :
48082 cat >>confdefs.h <<_ACEOF
48083 #define HAVE_FMODF 1
48084 _ACEOF
48085
48086 fi
48087 done
48088
48089 else
48090
48091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48092 $as_echo_n "checking for _fmodf declaration... " >&6; }
48093 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48094 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48095 $as_echo_n "(cached) " >&6
48096 else
48097
48098
48099 ac_ext=cpp
48100 ac_cpp='$CXXCPP $CPPFLAGS'
48101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48104
48105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48106 /* end confdefs.h. */
48107 #include <math.h>
48108 int
48109 main ()
48110 {
48111 _fmodf(0, 0);
48112 ;
48113 return 0;
48114 }
48115 _ACEOF
48116 if ac_fn_cxx_try_compile "$LINENO"; then :
48117 glibcxx_cv_func__fmodf_use=yes
48118 else
48119 glibcxx_cv_func__fmodf_use=no
48120 fi
48121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48122 ac_ext=c
48123 ac_cpp='$CPP $CPPFLAGS'
48124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48127
48128
48129 fi
48130
48131 fi
48132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48133 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48134
48135 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48136 for ac_func in _fmodf
48137 do :
48138 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48139 if test "x$ac_cv_func__fmodf" = x""yes; then :
48140 cat >>confdefs.h <<_ACEOF
48141 #define HAVE__FMODF 1
48142 _ACEOF
48143
48144 fi
48145 done
48146
48147 fi
48148 fi
48149
48150
48151
48152
48153
48154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48155 $as_echo_n "checking for frexpf declaration... " >&6; }
48156 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48157 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48158 $as_echo_n "(cached) " >&6
48159 else
48160
48161
48162 ac_ext=cpp
48163 ac_cpp='$CXXCPP $CPPFLAGS'
48164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48167
48168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48169 /* end confdefs.h. */
48170 #include <math.h>
48171 int
48172 main ()
48173 {
48174 frexpf(0, 0);
48175 ;
48176 return 0;
48177 }
48178 _ACEOF
48179 if ac_fn_cxx_try_compile "$LINENO"; then :
48180 glibcxx_cv_func_frexpf_use=yes
48181 else
48182 glibcxx_cv_func_frexpf_use=no
48183 fi
48184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48185 ac_ext=c
48186 ac_cpp='$CPP $CPPFLAGS'
48187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48190
48191
48192 fi
48193
48194 fi
48195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48196 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48197
48198 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48199 for ac_func in frexpf
48200 do :
48201 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48202 if test "x$ac_cv_func_frexpf" = x""yes; then :
48203 cat >>confdefs.h <<_ACEOF
48204 #define HAVE_FREXPF 1
48205 _ACEOF
48206
48207 fi
48208 done
48209
48210 else
48211
48212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48213 $as_echo_n "checking for _frexpf declaration... " >&6; }
48214 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48215 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48216 $as_echo_n "(cached) " >&6
48217 else
48218
48219
48220 ac_ext=cpp
48221 ac_cpp='$CXXCPP $CPPFLAGS'
48222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48225
48226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48227 /* end confdefs.h. */
48228 #include <math.h>
48229 int
48230 main ()
48231 {
48232 _frexpf(0, 0);
48233 ;
48234 return 0;
48235 }
48236 _ACEOF
48237 if ac_fn_cxx_try_compile "$LINENO"; then :
48238 glibcxx_cv_func__frexpf_use=yes
48239 else
48240 glibcxx_cv_func__frexpf_use=no
48241 fi
48242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48243 ac_ext=c
48244 ac_cpp='$CPP $CPPFLAGS'
48245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48248
48249
48250 fi
48251
48252 fi
48253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48254 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48255
48256 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48257 for ac_func in _frexpf
48258 do :
48259 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48260 if test "x$ac_cv_func__frexpf" = x""yes; then :
48261 cat >>confdefs.h <<_ACEOF
48262 #define HAVE__FREXPF 1
48263 _ACEOF
48264
48265 fi
48266 done
48267
48268 fi
48269 fi
48270
48271
48272
48273
48274
48275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48276 $as_echo_n "checking for hypotf declaration... " >&6; }
48277 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48278 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48279 $as_echo_n "(cached) " >&6
48280 else
48281
48282
48283 ac_ext=cpp
48284 ac_cpp='$CXXCPP $CPPFLAGS'
48285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48288
48289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48290 /* end confdefs.h. */
48291 #include <math.h>
48292 int
48293 main ()
48294 {
48295 hypotf(0, 0);
48296 ;
48297 return 0;
48298 }
48299 _ACEOF
48300 if ac_fn_cxx_try_compile "$LINENO"; then :
48301 glibcxx_cv_func_hypotf_use=yes
48302 else
48303 glibcxx_cv_func_hypotf_use=no
48304 fi
48305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48306 ac_ext=c
48307 ac_cpp='$CPP $CPPFLAGS'
48308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48311
48312
48313 fi
48314
48315 fi
48316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48317 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48318
48319 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48320 for ac_func in hypotf
48321 do :
48322 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48323 if test "x$ac_cv_func_hypotf" = x""yes; then :
48324 cat >>confdefs.h <<_ACEOF
48325 #define HAVE_HYPOTF 1
48326 _ACEOF
48327
48328 fi
48329 done
48330
48331 else
48332
48333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48334 $as_echo_n "checking for _hypotf declaration... " >&6; }
48335 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48336 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48337 $as_echo_n "(cached) " >&6
48338 else
48339
48340
48341 ac_ext=cpp
48342 ac_cpp='$CXXCPP $CPPFLAGS'
48343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48346
48347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48348 /* end confdefs.h. */
48349 #include <math.h>
48350 int
48351 main ()
48352 {
48353 _hypotf(0, 0);
48354 ;
48355 return 0;
48356 }
48357 _ACEOF
48358 if ac_fn_cxx_try_compile "$LINENO"; then :
48359 glibcxx_cv_func__hypotf_use=yes
48360 else
48361 glibcxx_cv_func__hypotf_use=no
48362 fi
48363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48364 ac_ext=c
48365 ac_cpp='$CPP $CPPFLAGS'
48366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48369
48370
48371 fi
48372
48373 fi
48374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48375 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48376
48377 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48378 for ac_func in _hypotf
48379 do :
48380 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48381 if test "x$ac_cv_func__hypotf" = x""yes; then :
48382 cat >>confdefs.h <<_ACEOF
48383 #define HAVE__HYPOTF 1
48384 _ACEOF
48385
48386 fi
48387 done
48388
48389 fi
48390 fi
48391
48392
48393
48394
48395
48396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48397 $as_echo_n "checking for ldexpf declaration... " >&6; }
48398 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48399 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48400 $as_echo_n "(cached) " >&6
48401 else
48402
48403
48404 ac_ext=cpp
48405 ac_cpp='$CXXCPP $CPPFLAGS'
48406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48409
48410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48411 /* end confdefs.h. */
48412 #include <math.h>
48413 int
48414 main ()
48415 {
48416 ldexpf(0, 0);
48417 ;
48418 return 0;
48419 }
48420 _ACEOF
48421 if ac_fn_cxx_try_compile "$LINENO"; then :
48422 glibcxx_cv_func_ldexpf_use=yes
48423 else
48424 glibcxx_cv_func_ldexpf_use=no
48425 fi
48426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48427 ac_ext=c
48428 ac_cpp='$CPP $CPPFLAGS'
48429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48432
48433
48434 fi
48435
48436 fi
48437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48438 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48439
48440 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48441 for ac_func in ldexpf
48442 do :
48443 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48444 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48445 cat >>confdefs.h <<_ACEOF
48446 #define HAVE_LDEXPF 1
48447 _ACEOF
48448
48449 fi
48450 done
48451
48452 else
48453
48454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48455 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48456 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48457 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48458 $as_echo_n "(cached) " >&6
48459 else
48460
48461
48462 ac_ext=cpp
48463 ac_cpp='$CXXCPP $CPPFLAGS'
48464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48467
48468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48469 /* end confdefs.h. */
48470 #include <math.h>
48471 int
48472 main ()
48473 {
48474 _ldexpf(0, 0);
48475 ;
48476 return 0;
48477 }
48478 _ACEOF
48479 if ac_fn_cxx_try_compile "$LINENO"; then :
48480 glibcxx_cv_func__ldexpf_use=yes
48481 else
48482 glibcxx_cv_func__ldexpf_use=no
48483 fi
48484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48485 ac_ext=c
48486 ac_cpp='$CPP $CPPFLAGS'
48487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48490
48491
48492 fi
48493
48494 fi
48495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48496 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48497
48498 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48499 for ac_func in _ldexpf
48500 do :
48501 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48502 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48503 cat >>confdefs.h <<_ACEOF
48504 #define HAVE__LDEXPF 1
48505 _ACEOF
48506
48507 fi
48508 done
48509
48510 fi
48511 fi
48512
48513
48514
48515
48516
48517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48518 $as_echo_n "checking for logf declaration... " >&6; }
48519 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48520 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48521 $as_echo_n "(cached) " >&6
48522 else
48523
48524
48525 ac_ext=cpp
48526 ac_cpp='$CXXCPP $CPPFLAGS'
48527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48530
48531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48532 /* end confdefs.h. */
48533 #include <math.h>
48534 #ifdef HAVE_IEEEFP_H
48535 #include <ieeefp.h>
48536 #endif
48537
48538 int
48539 main ()
48540 {
48541 logf(0);
48542 ;
48543 return 0;
48544 }
48545 _ACEOF
48546 if ac_fn_cxx_try_compile "$LINENO"; then :
48547 glibcxx_cv_func_logf_use=yes
48548 else
48549 glibcxx_cv_func_logf_use=no
48550 fi
48551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48552 ac_ext=c
48553 ac_cpp='$CPP $CPPFLAGS'
48554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48557
48558
48559 fi
48560
48561 fi
48562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48563 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48564
48565 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48566 for ac_func in logf
48567 do :
48568 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48569 if test "x$ac_cv_func_logf" = x""yes; then :
48570 cat >>confdefs.h <<_ACEOF
48571 #define HAVE_LOGF 1
48572 _ACEOF
48573
48574 fi
48575 done
48576
48577 else
48578
48579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48580 $as_echo_n "checking for _logf declaration... " >&6; }
48581 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48582 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48583 $as_echo_n "(cached) " >&6
48584 else
48585
48586
48587 ac_ext=cpp
48588 ac_cpp='$CXXCPP $CPPFLAGS'
48589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48592
48593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48594 /* end confdefs.h. */
48595 #include <math.h>
48596 #ifdef HAVE_IEEEFP_H
48597 #include <ieeefp.h>
48598 #endif
48599
48600 int
48601 main ()
48602 {
48603 _logf(0);
48604 ;
48605 return 0;
48606 }
48607 _ACEOF
48608 if ac_fn_cxx_try_compile "$LINENO"; then :
48609 glibcxx_cv_func__logf_use=yes
48610 else
48611 glibcxx_cv_func__logf_use=no
48612 fi
48613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48614 ac_ext=c
48615 ac_cpp='$CPP $CPPFLAGS'
48616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48619
48620
48621 fi
48622
48623 fi
48624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48625 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48626
48627 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48628 for ac_func in _logf
48629 do :
48630 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48631 if test "x$ac_cv_func__logf" = x""yes; then :
48632 cat >>confdefs.h <<_ACEOF
48633 #define HAVE__LOGF 1
48634 _ACEOF
48635
48636 fi
48637 done
48638
48639 fi
48640 fi
48641
48642
48643
48644
48645
48646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48647 $as_echo_n "checking for log10f declaration... " >&6; }
48648 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48649 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48650 $as_echo_n "(cached) " >&6
48651 else
48652
48653
48654 ac_ext=cpp
48655 ac_cpp='$CXXCPP $CPPFLAGS'
48656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48659
48660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48661 /* end confdefs.h. */
48662 #include <math.h>
48663 #ifdef HAVE_IEEEFP_H
48664 #include <ieeefp.h>
48665 #endif
48666
48667 int
48668 main ()
48669 {
48670 log10f(0);
48671 ;
48672 return 0;
48673 }
48674 _ACEOF
48675 if ac_fn_cxx_try_compile "$LINENO"; then :
48676 glibcxx_cv_func_log10f_use=yes
48677 else
48678 glibcxx_cv_func_log10f_use=no
48679 fi
48680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48681 ac_ext=c
48682 ac_cpp='$CPP $CPPFLAGS'
48683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48686
48687
48688 fi
48689
48690 fi
48691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48692 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48693
48694 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48695 for ac_func in log10f
48696 do :
48697 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48698 if test "x$ac_cv_func_log10f" = x""yes; then :
48699 cat >>confdefs.h <<_ACEOF
48700 #define HAVE_LOG10F 1
48701 _ACEOF
48702
48703 fi
48704 done
48705
48706 else
48707
48708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48709 $as_echo_n "checking for _log10f declaration... " >&6; }
48710 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48711 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48712 $as_echo_n "(cached) " >&6
48713 else
48714
48715
48716 ac_ext=cpp
48717 ac_cpp='$CXXCPP $CPPFLAGS'
48718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48721
48722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48723 /* end confdefs.h. */
48724 #include <math.h>
48725 #ifdef HAVE_IEEEFP_H
48726 #include <ieeefp.h>
48727 #endif
48728
48729 int
48730 main ()
48731 {
48732 _log10f(0);
48733 ;
48734 return 0;
48735 }
48736 _ACEOF
48737 if ac_fn_cxx_try_compile "$LINENO"; then :
48738 glibcxx_cv_func__log10f_use=yes
48739 else
48740 glibcxx_cv_func__log10f_use=no
48741 fi
48742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48743 ac_ext=c
48744 ac_cpp='$CPP $CPPFLAGS'
48745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48748
48749
48750 fi
48751
48752 fi
48753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48754 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48755
48756 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48757 for ac_func in _log10f
48758 do :
48759 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48760 if test "x$ac_cv_func__log10f" = x""yes; then :
48761 cat >>confdefs.h <<_ACEOF
48762 #define HAVE__LOG10F 1
48763 _ACEOF
48764
48765 fi
48766 done
48767
48768 fi
48769 fi
48770
48771
48772
48773
48774
48775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48776 $as_echo_n "checking for modff declaration... " >&6; }
48777 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48778 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48779 $as_echo_n "(cached) " >&6
48780 else
48781
48782
48783 ac_ext=cpp
48784 ac_cpp='$CXXCPP $CPPFLAGS'
48785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48788
48789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48790 /* end confdefs.h. */
48791 #include <math.h>
48792 int
48793 main ()
48794 {
48795 modff(0, 0);
48796 ;
48797 return 0;
48798 }
48799 _ACEOF
48800 if ac_fn_cxx_try_compile "$LINENO"; then :
48801 glibcxx_cv_func_modff_use=yes
48802 else
48803 glibcxx_cv_func_modff_use=no
48804 fi
48805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48806 ac_ext=c
48807 ac_cpp='$CPP $CPPFLAGS'
48808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48811
48812
48813 fi
48814
48815 fi
48816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48817 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48818
48819 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48820 for ac_func in modff
48821 do :
48822 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48823 if test "x$ac_cv_func_modff" = x""yes; then :
48824 cat >>confdefs.h <<_ACEOF
48825 #define HAVE_MODFF 1
48826 _ACEOF
48827
48828 fi
48829 done
48830
48831 else
48832
48833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48834 $as_echo_n "checking for _modff declaration... " >&6; }
48835 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48836 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48837 $as_echo_n "(cached) " >&6
48838 else
48839
48840
48841 ac_ext=cpp
48842 ac_cpp='$CXXCPP $CPPFLAGS'
48843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48846
48847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48848 /* end confdefs.h. */
48849 #include <math.h>
48850 int
48851 main ()
48852 {
48853 _modff(0, 0);
48854 ;
48855 return 0;
48856 }
48857 _ACEOF
48858 if ac_fn_cxx_try_compile "$LINENO"; then :
48859 glibcxx_cv_func__modff_use=yes
48860 else
48861 glibcxx_cv_func__modff_use=no
48862 fi
48863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48864 ac_ext=c
48865 ac_cpp='$CPP $CPPFLAGS'
48866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48869
48870
48871 fi
48872
48873 fi
48874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48875 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48876
48877 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48878 for ac_func in _modff
48879 do :
48880 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48881 if test "x$ac_cv_func__modff" = x""yes; then :
48882 cat >>confdefs.h <<_ACEOF
48883 #define HAVE__MODFF 1
48884 _ACEOF
48885
48886 fi
48887 done
48888
48889 fi
48890 fi
48891
48892
48893
48894
48895
48896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48897 $as_echo_n "checking for modf declaration... " >&6; }
48898 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48899 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48900 $as_echo_n "(cached) " >&6
48901 else
48902
48903
48904 ac_ext=cpp
48905 ac_cpp='$CXXCPP $CPPFLAGS'
48906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48909
48910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48911 /* end confdefs.h. */
48912 #include <math.h>
48913 int
48914 main ()
48915 {
48916 modf(0, 0);
48917 ;
48918 return 0;
48919 }
48920 _ACEOF
48921 if ac_fn_cxx_try_compile "$LINENO"; then :
48922 glibcxx_cv_func_modf_use=yes
48923 else
48924 glibcxx_cv_func_modf_use=no
48925 fi
48926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48927 ac_ext=c
48928 ac_cpp='$CPP $CPPFLAGS'
48929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48932
48933
48934 fi
48935
48936 fi
48937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48938 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48939
48940 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48941 for ac_func in modf
48942 do :
48943 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48944 if test "x$ac_cv_func_modf" = x""yes; then :
48945 cat >>confdefs.h <<_ACEOF
48946 #define HAVE_MODF 1
48947 _ACEOF
48948
48949 fi
48950 done
48951
48952 else
48953
48954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48955 $as_echo_n "checking for _modf declaration... " >&6; }
48956 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48957 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48958 $as_echo_n "(cached) " >&6
48959 else
48960
48961
48962 ac_ext=cpp
48963 ac_cpp='$CXXCPP $CPPFLAGS'
48964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48967
48968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48969 /* end confdefs.h. */
48970 #include <math.h>
48971 int
48972 main ()
48973 {
48974 _modf(0, 0);
48975 ;
48976 return 0;
48977 }
48978 _ACEOF
48979 if ac_fn_cxx_try_compile "$LINENO"; then :
48980 glibcxx_cv_func__modf_use=yes
48981 else
48982 glibcxx_cv_func__modf_use=no
48983 fi
48984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48985 ac_ext=c
48986 ac_cpp='$CPP $CPPFLAGS'
48987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48990
48991
48992 fi
48993
48994 fi
48995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48996 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48997
48998 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48999 for ac_func in _modf
49000 do :
49001 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49002 if test "x$ac_cv_func__modf" = x""yes; then :
49003 cat >>confdefs.h <<_ACEOF
49004 #define HAVE__MODF 1
49005 _ACEOF
49006
49007 fi
49008 done
49009
49010 fi
49011 fi
49012
49013
49014
49015
49016
49017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49018 $as_echo_n "checking for powf declaration... " >&6; }
49019 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49020 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49021 $as_echo_n "(cached) " >&6
49022 else
49023
49024
49025 ac_ext=cpp
49026 ac_cpp='$CXXCPP $CPPFLAGS'
49027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49030
49031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49032 /* end confdefs.h. */
49033 #include <math.h>
49034 int
49035 main ()
49036 {
49037 powf(0, 0);
49038 ;
49039 return 0;
49040 }
49041 _ACEOF
49042 if ac_fn_cxx_try_compile "$LINENO"; then :
49043 glibcxx_cv_func_powf_use=yes
49044 else
49045 glibcxx_cv_func_powf_use=no
49046 fi
49047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49048 ac_ext=c
49049 ac_cpp='$CPP $CPPFLAGS'
49050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49053
49054
49055 fi
49056
49057 fi
49058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49059 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49060
49061 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49062 for ac_func in powf
49063 do :
49064 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49065 if test "x$ac_cv_func_powf" = x""yes; then :
49066 cat >>confdefs.h <<_ACEOF
49067 #define HAVE_POWF 1
49068 _ACEOF
49069
49070 fi
49071 done
49072
49073 else
49074
49075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49076 $as_echo_n "checking for _powf declaration... " >&6; }
49077 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49078 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49079 $as_echo_n "(cached) " >&6
49080 else
49081
49082
49083 ac_ext=cpp
49084 ac_cpp='$CXXCPP $CPPFLAGS'
49085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49088
49089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49090 /* end confdefs.h. */
49091 #include <math.h>
49092 int
49093 main ()
49094 {
49095 _powf(0, 0);
49096 ;
49097 return 0;
49098 }
49099 _ACEOF
49100 if ac_fn_cxx_try_compile "$LINENO"; then :
49101 glibcxx_cv_func__powf_use=yes
49102 else
49103 glibcxx_cv_func__powf_use=no
49104 fi
49105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49106 ac_ext=c
49107 ac_cpp='$CPP $CPPFLAGS'
49108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49111
49112
49113 fi
49114
49115 fi
49116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49117 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49118
49119 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49120 for ac_func in _powf
49121 do :
49122 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49123 if test "x$ac_cv_func__powf" = x""yes; then :
49124 cat >>confdefs.h <<_ACEOF
49125 #define HAVE__POWF 1
49126 _ACEOF
49127
49128 fi
49129 done
49130
49131 fi
49132 fi
49133
49134
49135
49136
49137
49138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49139 $as_echo_n "checking for sqrtf declaration... " >&6; }
49140 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49141 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49142 $as_echo_n "(cached) " >&6
49143 else
49144
49145
49146 ac_ext=cpp
49147 ac_cpp='$CXXCPP $CPPFLAGS'
49148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49151
49152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49153 /* end confdefs.h. */
49154 #include <math.h>
49155 #ifdef HAVE_IEEEFP_H
49156 #include <ieeefp.h>
49157 #endif
49158
49159 int
49160 main ()
49161 {
49162 sqrtf(0);
49163 ;
49164 return 0;
49165 }
49166 _ACEOF
49167 if ac_fn_cxx_try_compile "$LINENO"; then :
49168 glibcxx_cv_func_sqrtf_use=yes
49169 else
49170 glibcxx_cv_func_sqrtf_use=no
49171 fi
49172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49173 ac_ext=c
49174 ac_cpp='$CPP $CPPFLAGS'
49175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49178
49179
49180 fi
49181
49182 fi
49183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49184 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49185
49186 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49187 for ac_func in sqrtf
49188 do :
49189 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49190 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49191 cat >>confdefs.h <<_ACEOF
49192 #define HAVE_SQRTF 1
49193 _ACEOF
49194
49195 fi
49196 done
49197
49198 else
49199
49200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49201 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49202 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49203 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49204 $as_echo_n "(cached) " >&6
49205 else
49206
49207
49208 ac_ext=cpp
49209 ac_cpp='$CXXCPP $CPPFLAGS'
49210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49213
49214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49215 /* end confdefs.h. */
49216 #include <math.h>
49217 #ifdef HAVE_IEEEFP_H
49218 #include <ieeefp.h>
49219 #endif
49220
49221 int
49222 main ()
49223 {
49224 _sqrtf(0);
49225 ;
49226 return 0;
49227 }
49228 _ACEOF
49229 if ac_fn_cxx_try_compile "$LINENO"; then :
49230 glibcxx_cv_func__sqrtf_use=yes
49231 else
49232 glibcxx_cv_func__sqrtf_use=no
49233 fi
49234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49235 ac_ext=c
49236 ac_cpp='$CPP $CPPFLAGS'
49237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49240
49241
49242 fi
49243
49244 fi
49245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49246 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49247
49248 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49249 for ac_func in _sqrtf
49250 do :
49251 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49252 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49253 cat >>confdefs.h <<_ACEOF
49254 #define HAVE__SQRTF 1
49255 _ACEOF
49256
49257 fi
49258 done
49259
49260 fi
49261 fi
49262
49263
49264
49265
49266
49267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49268 $as_echo_n "checking for sincosf declaration... " >&6; }
49269 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49270 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49271 $as_echo_n "(cached) " >&6
49272 else
49273
49274
49275 ac_ext=cpp
49276 ac_cpp='$CXXCPP $CPPFLAGS'
49277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49280
49281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49282 /* end confdefs.h. */
49283 #include <math.h>
49284 int
49285 main ()
49286 {
49287 sincosf(0, 0, 0);
49288 ;
49289 return 0;
49290 }
49291 _ACEOF
49292 if ac_fn_cxx_try_compile "$LINENO"; then :
49293 glibcxx_cv_func_sincosf_use=yes
49294 else
49295 glibcxx_cv_func_sincosf_use=no
49296 fi
49297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49298 ac_ext=c
49299 ac_cpp='$CPP $CPPFLAGS'
49300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49303
49304
49305 fi
49306
49307 fi
49308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49309 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49310
49311 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49312 for ac_func in sincosf
49313 do :
49314 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49315 if test "x$ac_cv_func_sincosf" = x""yes; then :
49316 cat >>confdefs.h <<_ACEOF
49317 #define HAVE_SINCOSF 1
49318 _ACEOF
49319
49320 fi
49321 done
49322
49323 else
49324
49325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49326 $as_echo_n "checking for _sincosf declaration... " >&6; }
49327 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49328 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49329 $as_echo_n "(cached) " >&6
49330 else
49331
49332
49333 ac_ext=cpp
49334 ac_cpp='$CXXCPP $CPPFLAGS'
49335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49338
49339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49340 /* end confdefs.h. */
49341 #include <math.h>
49342 int
49343 main ()
49344 {
49345 _sincosf(0, 0, 0);
49346 ;
49347 return 0;
49348 }
49349 _ACEOF
49350 if ac_fn_cxx_try_compile "$LINENO"; then :
49351 glibcxx_cv_func__sincosf_use=yes
49352 else
49353 glibcxx_cv_func__sincosf_use=no
49354 fi
49355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49356 ac_ext=c
49357 ac_cpp='$CPP $CPPFLAGS'
49358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49361
49362
49363 fi
49364
49365 fi
49366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49367 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49368
49369 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49370 for ac_func in _sincosf
49371 do :
49372 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49373 if test "x$ac_cv_func__sincosf" = x""yes; then :
49374 cat >>confdefs.h <<_ACEOF
49375 #define HAVE__SINCOSF 1
49376 _ACEOF
49377
49378 fi
49379 done
49380
49381 fi
49382 fi
49383
49384
49385
49386
49387
49388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49389 $as_echo_n "checking for finitef declaration... " >&6; }
49390 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49391 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49392 $as_echo_n "(cached) " >&6
49393 else
49394
49395
49396 ac_ext=cpp
49397 ac_cpp='$CXXCPP $CPPFLAGS'
49398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49401
49402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49403 /* end confdefs.h. */
49404 #include <math.h>
49405 #ifdef HAVE_IEEEFP_H
49406 #include <ieeefp.h>
49407 #endif
49408
49409 int
49410 main ()
49411 {
49412 finitef(0);
49413 ;
49414 return 0;
49415 }
49416 _ACEOF
49417 if ac_fn_cxx_try_compile "$LINENO"; then :
49418 glibcxx_cv_func_finitef_use=yes
49419 else
49420 glibcxx_cv_func_finitef_use=no
49421 fi
49422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49423 ac_ext=c
49424 ac_cpp='$CPP $CPPFLAGS'
49425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49428
49429
49430 fi
49431
49432 fi
49433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49434 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49435
49436 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49437 for ac_func in finitef
49438 do :
49439 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49440 if test "x$ac_cv_func_finitef" = x""yes; then :
49441 cat >>confdefs.h <<_ACEOF
49442 #define HAVE_FINITEF 1
49443 _ACEOF
49444
49445 fi
49446 done
49447
49448 else
49449
49450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49451 $as_echo_n "checking for _finitef declaration... " >&6; }
49452 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49453 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49454 $as_echo_n "(cached) " >&6
49455 else
49456
49457
49458 ac_ext=cpp
49459 ac_cpp='$CXXCPP $CPPFLAGS'
49460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49463
49464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49465 /* end confdefs.h. */
49466 #include <math.h>
49467 #ifdef HAVE_IEEEFP_H
49468 #include <ieeefp.h>
49469 #endif
49470
49471 int
49472 main ()
49473 {
49474 _finitef(0);
49475 ;
49476 return 0;
49477 }
49478 _ACEOF
49479 if ac_fn_cxx_try_compile "$LINENO"; then :
49480 glibcxx_cv_func__finitef_use=yes
49481 else
49482 glibcxx_cv_func__finitef_use=no
49483 fi
49484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49485 ac_ext=c
49486 ac_cpp='$CPP $CPPFLAGS'
49487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49490
49491
49492 fi
49493
49494 fi
49495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49496 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49497
49498 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49499 for ac_func in _finitef
49500 do :
49501 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49502 if test "x$ac_cv_func__finitef" = x""yes; then :
49503 cat >>confdefs.h <<_ACEOF
49504 #define HAVE__FINITEF 1
49505 _ACEOF
49506
49507 fi
49508 done
49509
49510 fi
49511 fi
49512
49513
49514
49515
49516
49517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49518 $as_echo_n "checking for long double trig functions... " >&6; }
49519 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49520 $as_echo_n "(cached) " >&6
49521 else
49522
49523
49524 ac_ext=cpp
49525 ac_cpp='$CXXCPP $CPPFLAGS'
49526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49529
49530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49531 /* end confdefs.h. */
49532 #include <math.h>
49533 int
49534 main ()
49535 {
49536 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49537 ;
49538 return 0;
49539 }
49540 _ACEOF
49541 if ac_fn_cxx_try_compile "$LINENO"; then :
49542 glibcxx_cv_func_long_double_trig_use=yes
49543 else
49544 glibcxx_cv_func_long_double_trig_use=no
49545 fi
49546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49547 ac_ext=c
49548 ac_cpp='$CPP $CPPFLAGS'
49549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49552
49553 fi
49554
49555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49556 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49557 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49558 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49559 do :
49560 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49561 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49562 eval as_val=\$$as_ac_var
49563 if test "x$as_val" = x""yes; then :
49564 cat >>confdefs.h <<_ACEOF
49565 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49566 _ACEOF
49567
49568 fi
49569 done
49570
49571 else
49572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49573 $as_echo_n "checking for _long double trig functions... " >&6; }
49574 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49575 $as_echo_n "(cached) " >&6
49576 else
49577
49578
49579 ac_ext=cpp
49580 ac_cpp='$CXXCPP $CPPFLAGS'
49581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49584
49585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49586 /* end confdefs.h. */
49587 #include <math.h>
49588 int
49589 main ()
49590 {
49591 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49592 ;
49593 return 0;
49594 }
49595 _ACEOF
49596 if ac_fn_cxx_try_compile "$LINENO"; then :
49597 glibcxx_cv_func__long_double_trig_use=yes
49598 else
49599 glibcxx_cv_func__long_double_trig_use=no
49600 fi
49601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49602 ac_ext=c
49603 ac_cpp='$CPP $CPPFLAGS'
49604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49607
49608 fi
49609
49610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49611 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49612 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49613 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49614 do :
49615 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49617 eval as_val=\$$as_ac_var
49618 if test "x$as_val" = x""yes; then :
49619 cat >>confdefs.h <<_ACEOF
49620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49621 _ACEOF
49622
49623 fi
49624 done
49625
49626 fi
49627 fi
49628
49629
49630
49631
49632
49633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49634 $as_echo_n "checking for long double round functions... " >&6; }
49635 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49636 $as_echo_n "(cached) " >&6
49637 else
49638
49639
49640 ac_ext=cpp
49641 ac_cpp='$CXXCPP $CPPFLAGS'
49642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49645
49646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49647 /* end confdefs.h. */
49648 #include <math.h>
49649 int
49650 main ()
49651 {
49652 ceill (0); floorl (0);
49653 ;
49654 return 0;
49655 }
49656 _ACEOF
49657 if ac_fn_cxx_try_compile "$LINENO"; then :
49658 glibcxx_cv_func_long_double_round_use=yes
49659 else
49660 glibcxx_cv_func_long_double_round_use=no
49661 fi
49662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49663 ac_ext=c
49664 ac_cpp='$CPP $CPPFLAGS'
49665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49668
49669 fi
49670
49671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49672 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49673 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49674 for ac_func in ceill floorl
49675 do :
49676 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49677 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49678 eval as_val=\$$as_ac_var
49679 if test "x$as_val" = x""yes; then :
49680 cat >>confdefs.h <<_ACEOF
49681 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49682 _ACEOF
49683
49684 fi
49685 done
49686
49687 else
49688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49689 $as_echo_n "checking for _long double round functions... " >&6; }
49690 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49691 $as_echo_n "(cached) " >&6
49692 else
49693
49694
49695 ac_ext=cpp
49696 ac_cpp='$CXXCPP $CPPFLAGS'
49697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49700
49701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49702 /* end confdefs.h. */
49703 #include <math.h>
49704 int
49705 main ()
49706 {
49707 _ceill (0); _floorl (0);
49708 ;
49709 return 0;
49710 }
49711 _ACEOF
49712 if ac_fn_cxx_try_compile "$LINENO"; then :
49713 glibcxx_cv_func__long_double_round_use=yes
49714 else
49715 glibcxx_cv_func__long_double_round_use=no
49716 fi
49717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49718 ac_ext=c
49719 ac_cpp='$CPP $CPPFLAGS'
49720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49723
49724 fi
49725
49726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49727 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49728 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49729 for ac_func in _ceill _floorl
49730 do :
49731 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49732 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49733 eval as_val=\$$as_ac_var
49734 if test "x$as_val" = x""yes; then :
49735 cat >>confdefs.h <<_ACEOF
49736 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49737 _ACEOF
49738
49739 fi
49740 done
49741
49742 fi
49743 fi
49744
49745
49746
49747
49748
49749
49750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49751 $as_echo_n "checking for isnanl declaration... " >&6; }
49752 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49753 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49754 $as_echo_n "(cached) " >&6
49755 else
49756
49757
49758 ac_ext=cpp
49759 ac_cpp='$CXXCPP $CPPFLAGS'
49760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49763
49764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49765 /* end confdefs.h. */
49766 #include <math.h>
49767 #ifdef HAVE_IEEEFP_H
49768 #include <ieeefp.h>
49769 #endif
49770
49771 int
49772 main ()
49773 {
49774 isnanl(0);
49775 ;
49776 return 0;
49777 }
49778 _ACEOF
49779 if ac_fn_cxx_try_compile "$LINENO"; then :
49780 glibcxx_cv_func_isnanl_use=yes
49781 else
49782 glibcxx_cv_func_isnanl_use=no
49783 fi
49784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49785 ac_ext=c
49786 ac_cpp='$CPP $CPPFLAGS'
49787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49790
49791
49792 fi
49793
49794 fi
49795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49796 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49797
49798 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49799 for ac_func in isnanl
49800 do :
49801 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49802 if test "x$ac_cv_func_isnanl" = x""yes; then :
49803 cat >>confdefs.h <<_ACEOF
49804 #define HAVE_ISNANL 1
49805 _ACEOF
49806
49807 fi
49808 done
49809
49810 else
49811
49812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49813 $as_echo_n "checking for _isnanl declaration... " >&6; }
49814 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49815 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49816 $as_echo_n "(cached) " >&6
49817 else
49818
49819
49820 ac_ext=cpp
49821 ac_cpp='$CXXCPP $CPPFLAGS'
49822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49825
49826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49827 /* end confdefs.h. */
49828 #include <math.h>
49829 #ifdef HAVE_IEEEFP_H
49830 #include <ieeefp.h>
49831 #endif
49832
49833 int
49834 main ()
49835 {
49836 _isnanl(0);
49837 ;
49838 return 0;
49839 }
49840 _ACEOF
49841 if ac_fn_cxx_try_compile "$LINENO"; then :
49842 glibcxx_cv_func__isnanl_use=yes
49843 else
49844 glibcxx_cv_func__isnanl_use=no
49845 fi
49846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49847 ac_ext=c
49848 ac_cpp='$CPP $CPPFLAGS'
49849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49852
49853
49854 fi
49855
49856 fi
49857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49858 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49859
49860 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49861 for ac_func in _isnanl
49862 do :
49863 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49864 if test "x$ac_cv_func__isnanl" = x""yes; then :
49865 cat >>confdefs.h <<_ACEOF
49866 #define HAVE__ISNANL 1
49867 _ACEOF
49868
49869 fi
49870 done
49871
49872 fi
49873 fi
49874
49875
49876
49877
49878
49879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49880 $as_echo_n "checking for isinfl declaration... " >&6; }
49881 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49882 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49883 $as_echo_n "(cached) " >&6
49884 else
49885
49886
49887 ac_ext=cpp
49888 ac_cpp='$CXXCPP $CPPFLAGS'
49889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49892
49893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49894 /* end confdefs.h. */
49895 #include <math.h>
49896 #ifdef HAVE_IEEEFP_H
49897 #include <ieeefp.h>
49898 #endif
49899
49900 int
49901 main ()
49902 {
49903 isinfl(0);
49904 ;
49905 return 0;
49906 }
49907 _ACEOF
49908 if ac_fn_cxx_try_compile "$LINENO"; then :
49909 glibcxx_cv_func_isinfl_use=yes
49910 else
49911 glibcxx_cv_func_isinfl_use=no
49912 fi
49913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49914 ac_ext=c
49915 ac_cpp='$CPP $CPPFLAGS'
49916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49919
49920
49921 fi
49922
49923 fi
49924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49925 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49926
49927 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49928 for ac_func in isinfl
49929 do :
49930 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49931 if test "x$ac_cv_func_isinfl" = x""yes; then :
49932 cat >>confdefs.h <<_ACEOF
49933 #define HAVE_ISINFL 1
49934 _ACEOF
49935
49936 fi
49937 done
49938
49939 else
49940
49941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49942 $as_echo_n "checking for _isinfl declaration... " >&6; }
49943 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49944 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49945 $as_echo_n "(cached) " >&6
49946 else
49947
49948
49949 ac_ext=cpp
49950 ac_cpp='$CXXCPP $CPPFLAGS'
49951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49954
49955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49956 /* end confdefs.h. */
49957 #include <math.h>
49958 #ifdef HAVE_IEEEFP_H
49959 #include <ieeefp.h>
49960 #endif
49961
49962 int
49963 main ()
49964 {
49965 _isinfl(0);
49966 ;
49967 return 0;
49968 }
49969 _ACEOF
49970 if ac_fn_cxx_try_compile "$LINENO"; then :
49971 glibcxx_cv_func__isinfl_use=yes
49972 else
49973 glibcxx_cv_func__isinfl_use=no
49974 fi
49975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49976 ac_ext=c
49977 ac_cpp='$CPP $CPPFLAGS'
49978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49981
49982
49983 fi
49984
49985 fi
49986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49987 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49988
49989 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49990 for ac_func in _isinfl
49991 do :
49992 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49993 if test "x$ac_cv_func__isinfl" = x""yes; then :
49994 cat >>confdefs.h <<_ACEOF
49995 #define HAVE__ISINFL 1
49996 _ACEOF
49997
49998 fi
49999 done
50000
50001 fi
50002 fi
50003
50004
50005
50006
50007
50008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50009 $as_echo_n "checking for atan2l declaration... " >&6; }
50010 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50011 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50012 $as_echo_n "(cached) " >&6
50013 else
50014
50015
50016 ac_ext=cpp
50017 ac_cpp='$CXXCPP $CPPFLAGS'
50018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50021
50022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50023 /* end confdefs.h. */
50024 #include <math.h>
50025 int
50026 main ()
50027 {
50028 atan2l(0, 0);
50029 ;
50030 return 0;
50031 }
50032 _ACEOF
50033 if ac_fn_cxx_try_compile "$LINENO"; then :
50034 glibcxx_cv_func_atan2l_use=yes
50035 else
50036 glibcxx_cv_func_atan2l_use=no
50037 fi
50038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50039 ac_ext=c
50040 ac_cpp='$CPP $CPPFLAGS'
50041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50044
50045
50046 fi
50047
50048 fi
50049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50050 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50051
50052 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50053 for ac_func in atan2l
50054 do :
50055 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50056 if test "x$ac_cv_func_atan2l" = x""yes; then :
50057 cat >>confdefs.h <<_ACEOF
50058 #define HAVE_ATAN2L 1
50059 _ACEOF
50060
50061 fi
50062 done
50063
50064 else
50065
50066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50067 $as_echo_n "checking for _atan2l declaration... " >&6; }
50068 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50069 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50070 $as_echo_n "(cached) " >&6
50071 else
50072
50073
50074 ac_ext=cpp
50075 ac_cpp='$CXXCPP $CPPFLAGS'
50076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50079
50080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50081 /* end confdefs.h. */
50082 #include <math.h>
50083 int
50084 main ()
50085 {
50086 _atan2l(0, 0);
50087 ;
50088 return 0;
50089 }
50090 _ACEOF
50091 if ac_fn_cxx_try_compile "$LINENO"; then :
50092 glibcxx_cv_func__atan2l_use=yes
50093 else
50094 glibcxx_cv_func__atan2l_use=no
50095 fi
50096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50097 ac_ext=c
50098 ac_cpp='$CPP $CPPFLAGS'
50099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50102
50103
50104 fi
50105
50106 fi
50107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50108 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50109
50110 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50111 for ac_func in _atan2l
50112 do :
50113 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50114 if test "x$ac_cv_func__atan2l" = x""yes; then :
50115 cat >>confdefs.h <<_ACEOF
50116 #define HAVE__ATAN2L 1
50117 _ACEOF
50118
50119 fi
50120 done
50121
50122 fi
50123 fi
50124
50125
50126
50127
50128
50129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50130 $as_echo_n "checking for expl declaration... " >&6; }
50131 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50132 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50133 $as_echo_n "(cached) " >&6
50134 else
50135
50136
50137 ac_ext=cpp
50138 ac_cpp='$CXXCPP $CPPFLAGS'
50139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50142
50143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50144 /* end confdefs.h. */
50145 #include <math.h>
50146 #ifdef HAVE_IEEEFP_H
50147 #include <ieeefp.h>
50148 #endif
50149
50150 int
50151 main ()
50152 {
50153 expl(0);
50154 ;
50155 return 0;
50156 }
50157 _ACEOF
50158 if ac_fn_cxx_try_compile "$LINENO"; then :
50159 glibcxx_cv_func_expl_use=yes
50160 else
50161 glibcxx_cv_func_expl_use=no
50162 fi
50163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50164 ac_ext=c
50165 ac_cpp='$CPP $CPPFLAGS'
50166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50169
50170
50171 fi
50172
50173 fi
50174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50175 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50176
50177 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50178 for ac_func in expl
50179 do :
50180 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50181 if test "x$ac_cv_func_expl" = x""yes; then :
50182 cat >>confdefs.h <<_ACEOF
50183 #define HAVE_EXPL 1
50184 _ACEOF
50185
50186 fi
50187 done
50188
50189 else
50190
50191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50192 $as_echo_n "checking for _expl declaration... " >&6; }
50193 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50194 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50195 $as_echo_n "(cached) " >&6
50196 else
50197
50198
50199 ac_ext=cpp
50200 ac_cpp='$CXXCPP $CPPFLAGS'
50201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50204
50205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50206 /* end confdefs.h. */
50207 #include <math.h>
50208 #ifdef HAVE_IEEEFP_H
50209 #include <ieeefp.h>
50210 #endif
50211
50212 int
50213 main ()
50214 {
50215 _expl(0);
50216 ;
50217 return 0;
50218 }
50219 _ACEOF
50220 if ac_fn_cxx_try_compile "$LINENO"; then :
50221 glibcxx_cv_func__expl_use=yes
50222 else
50223 glibcxx_cv_func__expl_use=no
50224 fi
50225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50226 ac_ext=c
50227 ac_cpp='$CPP $CPPFLAGS'
50228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50231
50232
50233 fi
50234
50235 fi
50236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50237 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50238
50239 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50240 for ac_func in _expl
50241 do :
50242 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50243 if test "x$ac_cv_func__expl" = x""yes; then :
50244 cat >>confdefs.h <<_ACEOF
50245 #define HAVE__EXPL 1
50246 _ACEOF
50247
50248 fi
50249 done
50250
50251 fi
50252 fi
50253
50254
50255
50256
50257
50258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50259 $as_echo_n "checking for fabsl declaration... " >&6; }
50260 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50261 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50262 $as_echo_n "(cached) " >&6
50263 else
50264
50265
50266 ac_ext=cpp
50267 ac_cpp='$CXXCPP $CPPFLAGS'
50268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50271
50272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50273 /* end confdefs.h. */
50274 #include <math.h>
50275 #ifdef HAVE_IEEEFP_H
50276 #include <ieeefp.h>
50277 #endif
50278
50279 int
50280 main ()
50281 {
50282 fabsl(0);
50283 ;
50284 return 0;
50285 }
50286 _ACEOF
50287 if ac_fn_cxx_try_compile "$LINENO"; then :
50288 glibcxx_cv_func_fabsl_use=yes
50289 else
50290 glibcxx_cv_func_fabsl_use=no
50291 fi
50292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50293 ac_ext=c
50294 ac_cpp='$CPP $CPPFLAGS'
50295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50298
50299
50300 fi
50301
50302 fi
50303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50304 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50305
50306 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50307 for ac_func in fabsl
50308 do :
50309 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50310 if test "x$ac_cv_func_fabsl" = x""yes; then :
50311 cat >>confdefs.h <<_ACEOF
50312 #define HAVE_FABSL 1
50313 _ACEOF
50314
50315 fi
50316 done
50317
50318 else
50319
50320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50321 $as_echo_n "checking for _fabsl declaration... " >&6; }
50322 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50323 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50324 $as_echo_n "(cached) " >&6
50325 else
50326
50327
50328 ac_ext=cpp
50329 ac_cpp='$CXXCPP $CPPFLAGS'
50330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50333
50334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50335 /* end confdefs.h. */
50336 #include <math.h>
50337 #ifdef HAVE_IEEEFP_H
50338 #include <ieeefp.h>
50339 #endif
50340
50341 int
50342 main ()
50343 {
50344 _fabsl(0);
50345 ;
50346 return 0;
50347 }
50348 _ACEOF
50349 if ac_fn_cxx_try_compile "$LINENO"; then :
50350 glibcxx_cv_func__fabsl_use=yes
50351 else
50352 glibcxx_cv_func__fabsl_use=no
50353 fi
50354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50355 ac_ext=c
50356 ac_cpp='$CPP $CPPFLAGS'
50357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50360
50361
50362 fi
50363
50364 fi
50365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50366 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50367
50368 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50369 for ac_func in _fabsl
50370 do :
50371 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50372 if test "x$ac_cv_func__fabsl" = x""yes; then :
50373 cat >>confdefs.h <<_ACEOF
50374 #define HAVE__FABSL 1
50375 _ACEOF
50376
50377 fi
50378 done
50379
50380 fi
50381 fi
50382
50383
50384
50385
50386
50387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50388 $as_echo_n "checking for fmodl declaration... " >&6; }
50389 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50390 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50391 $as_echo_n "(cached) " >&6
50392 else
50393
50394
50395 ac_ext=cpp
50396 ac_cpp='$CXXCPP $CPPFLAGS'
50397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50400
50401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50402 /* end confdefs.h. */
50403 #include <math.h>
50404 int
50405 main ()
50406 {
50407 fmodl(0, 0);
50408 ;
50409 return 0;
50410 }
50411 _ACEOF
50412 if ac_fn_cxx_try_compile "$LINENO"; then :
50413 glibcxx_cv_func_fmodl_use=yes
50414 else
50415 glibcxx_cv_func_fmodl_use=no
50416 fi
50417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50418 ac_ext=c
50419 ac_cpp='$CPP $CPPFLAGS'
50420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50423
50424
50425 fi
50426
50427 fi
50428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50429 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50430
50431 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50432 for ac_func in fmodl
50433 do :
50434 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50435 if test "x$ac_cv_func_fmodl" = x""yes; then :
50436 cat >>confdefs.h <<_ACEOF
50437 #define HAVE_FMODL 1
50438 _ACEOF
50439
50440 fi
50441 done
50442
50443 else
50444
50445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50446 $as_echo_n "checking for _fmodl declaration... " >&6; }
50447 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50448 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50449 $as_echo_n "(cached) " >&6
50450 else
50451
50452
50453 ac_ext=cpp
50454 ac_cpp='$CXXCPP $CPPFLAGS'
50455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50458
50459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50460 /* end confdefs.h. */
50461 #include <math.h>
50462 int
50463 main ()
50464 {
50465 _fmodl(0, 0);
50466 ;
50467 return 0;
50468 }
50469 _ACEOF
50470 if ac_fn_cxx_try_compile "$LINENO"; then :
50471 glibcxx_cv_func__fmodl_use=yes
50472 else
50473 glibcxx_cv_func__fmodl_use=no
50474 fi
50475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50476 ac_ext=c
50477 ac_cpp='$CPP $CPPFLAGS'
50478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50481
50482
50483 fi
50484
50485 fi
50486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50487 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50488
50489 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50490 for ac_func in _fmodl
50491 do :
50492 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50493 if test "x$ac_cv_func__fmodl" = x""yes; then :
50494 cat >>confdefs.h <<_ACEOF
50495 #define HAVE__FMODL 1
50496 _ACEOF
50497
50498 fi
50499 done
50500
50501 fi
50502 fi
50503
50504
50505
50506
50507
50508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50509 $as_echo_n "checking for frexpl declaration... " >&6; }
50510 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50511 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50512 $as_echo_n "(cached) " >&6
50513 else
50514
50515
50516 ac_ext=cpp
50517 ac_cpp='$CXXCPP $CPPFLAGS'
50518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50521
50522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50523 /* end confdefs.h. */
50524 #include <math.h>
50525 int
50526 main ()
50527 {
50528 frexpl(0, 0);
50529 ;
50530 return 0;
50531 }
50532 _ACEOF
50533 if ac_fn_cxx_try_compile "$LINENO"; then :
50534 glibcxx_cv_func_frexpl_use=yes
50535 else
50536 glibcxx_cv_func_frexpl_use=no
50537 fi
50538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50539 ac_ext=c
50540 ac_cpp='$CPP $CPPFLAGS'
50541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50544
50545
50546 fi
50547
50548 fi
50549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50550 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50551
50552 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50553 for ac_func in frexpl
50554 do :
50555 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50556 if test "x$ac_cv_func_frexpl" = x""yes; then :
50557 cat >>confdefs.h <<_ACEOF
50558 #define HAVE_FREXPL 1
50559 _ACEOF
50560
50561 fi
50562 done
50563
50564 else
50565
50566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50567 $as_echo_n "checking for _frexpl declaration... " >&6; }
50568 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50569 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50570 $as_echo_n "(cached) " >&6
50571 else
50572
50573
50574 ac_ext=cpp
50575 ac_cpp='$CXXCPP $CPPFLAGS'
50576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50579
50580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50581 /* end confdefs.h. */
50582 #include <math.h>
50583 int
50584 main ()
50585 {
50586 _frexpl(0, 0);
50587 ;
50588 return 0;
50589 }
50590 _ACEOF
50591 if ac_fn_cxx_try_compile "$LINENO"; then :
50592 glibcxx_cv_func__frexpl_use=yes
50593 else
50594 glibcxx_cv_func__frexpl_use=no
50595 fi
50596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50597 ac_ext=c
50598 ac_cpp='$CPP $CPPFLAGS'
50599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50602
50603
50604 fi
50605
50606 fi
50607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50608 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50609
50610 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50611 for ac_func in _frexpl
50612 do :
50613 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50614 if test "x$ac_cv_func__frexpl" = x""yes; then :
50615 cat >>confdefs.h <<_ACEOF
50616 #define HAVE__FREXPL 1
50617 _ACEOF
50618
50619 fi
50620 done
50621
50622 fi
50623 fi
50624
50625
50626
50627
50628
50629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50630 $as_echo_n "checking for hypotl declaration... " >&6; }
50631 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50632 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50633 $as_echo_n "(cached) " >&6
50634 else
50635
50636
50637 ac_ext=cpp
50638 ac_cpp='$CXXCPP $CPPFLAGS'
50639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50642
50643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50644 /* end confdefs.h. */
50645 #include <math.h>
50646 int
50647 main ()
50648 {
50649 hypotl(0, 0);
50650 ;
50651 return 0;
50652 }
50653 _ACEOF
50654 if ac_fn_cxx_try_compile "$LINENO"; then :
50655 glibcxx_cv_func_hypotl_use=yes
50656 else
50657 glibcxx_cv_func_hypotl_use=no
50658 fi
50659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50660 ac_ext=c
50661 ac_cpp='$CPP $CPPFLAGS'
50662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50665
50666
50667 fi
50668
50669 fi
50670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50671 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50672
50673 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50674 for ac_func in hypotl
50675 do :
50676 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50677 if test "x$ac_cv_func_hypotl" = x""yes; then :
50678 cat >>confdefs.h <<_ACEOF
50679 #define HAVE_HYPOTL 1
50680 _ACEOF
50681
50682 fi
50683 done
50684
50685 else
50686
50687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50688 $as_echo_n "checking for _hypotl declaration... " >&6; }
50689 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50690 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50691 $as_echo_n "(cached) " >&6
50692 else
50693
50694
50695 ac_ext=cpp
50696 ac_cpp='$CXXCPP $CPPFLAGS'
50697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50700
50701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50702 /* end confdefs.h. */
50703 #include <math.h>
50704 int
50705 main ()
50706 {
50707 _hypotl(0, 0);
50708 ;
50709 return 0;
50710 }
50711 _ACEOF
50712 if ac_fn_cxx_try_compile "$LINENO"; then :
50713 glibcxx_cv_func__hypotl_use=yes
50714 else
50715 glibcxx_cv_func__hypotl_use=no
50716 fi
50717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50718 ac_ext=c
50719 ac_cpp='$CPP $CPPFLAGS'
50720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50723
50724
50725 fi
50726
50727 fi
50728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50729 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50730
50731 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50732 for ac_func in _hypotl
50733 do :
50734 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50735 if test "x$ac_cv_func__hypotl" = x""yes; then :
50736 cat >>confdefs.h <<_ACEOF
50737 #define HAVE__HYPOTL 1
50738 _ACEOF
50739
50740 fi
50741 done
50742
50743 fi
50744 fi
50745
50746
50747
50748
50749
50750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50751 $as_echo_n "checking for ldexpl declaration... " >&6; }
50752 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50753 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50754 $as_echo_n "(cached) " >&6
50755 else
50756
50757
50758 ac_ext=cpp
50759 ac_cpp='$CXXCPP $CPPFLAGS'
50760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50763
50764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50765 /* end confdefs.h. */
50766 #include <math.h>
50767 int
50768 main ()
50769 {
50770 ldexpl(0, 0);
50771 ;
50772 return 0;
50773 }
50774 _ACEOF
50775 if ac_fn_cxx_try_compile "$LINENO"; then :
50776 glibcxx_cv_func_ldexpl_use=yes
50777 else
50778 glibcxx_cv_func_ldexpl_use=no
50779 fi
50780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50781 ac_ext=c
50782 ac_cpp='$CPP $CPPFLAGS'
50783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50786
50787
50788 fi
50789
50790 fi
50791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50792 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50793
50794 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50795 for ac_func in ldexpl
50796 do :
50797 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50798 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50799 cat >>confdefs.h <<_ACEOF
50800 #define HAVE_LDEXPL 1
50801 _ACEOF
50802
50803 fi
50804 done
50805
50806 else
50807
50808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50809 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50810 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50811 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50812 $as_echo_n "(cached) " >&6
50813 else
50814
50815
50816 ac_ext=cpp
50817 ac_cpp='$CXXCPP $CPPFLAGS'
50818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50821
50822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50823 /* end confdefs.h. */
50824 #include <math.h>
50825 int
50826 main ()
50827 {
50828 _ldexpl(0, 0);
50829 ;
50830 return 0;
50831 }
50832 _ACEOF
50833 if ac_fn_cxx_try_compile "$LINENO"; then :
50834 glibcxx_cv_func__ldexpl_use=yes
50835 else
50836 glibcxx_cv_func__ldexpl_use=no
50837 fi
50838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50839 ac_ext=c
50840 ac_cpp='$CPP $CPPFLAGS'
50841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50844
50845
50846 fi
50847
50848 fi
50849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50850 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50851
50852 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50853 for ac_func in _ldexpl
50854 do :
50855 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50856 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50857 cat >>confdefs.h <<_ACEOF
50858 #define HAVE__LDEXPL 1
50859 _ACEOF
50860
50861 fi
50862 done
50863
50864 fi
50865 fi
50866
50867
50868
50869
50870
50871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50872 $as_echo_n "checking for logl declaration... " >&6; }
50873 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50874 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50875 $as_echo_n "(cached) " >&6
50876 else
50877
50878
50879 ac_ext=cpp
50880 ac_cpp='$CXXCPP $CPPFLAGS'
50881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50884
50885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50886 /* end confdefs.h. */
50887 #include <math.h>
50888 #ifdef HAVE_IEEEFP_H
50889 #include <ieeefp.h>
50890 #endif
50891
50892 int
50893 main ()
50894 {
50895 logl(0);
50896 ;
50897 return 0;
50898 }
50899 _ACEOF
50900 if ac_fn_cxx_try_compile "$LINENO"; then :
50901 glibcxx_cv_func_logl_use=yes
50902 else
50903 glibcxx_cv_func_logl_use=no
50904 fi
50905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50906 ac_ext=c
50907 ac_cpp='$CPP $CPPFLAGS'
50908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50911
50912
50913 fi
50914
50915 fi
50916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50917 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50918
50919 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50920 for ac_func in logl
50921 do :
50922 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50923 if test "x$ac_cv_func_logl" = x""yes; then :
50924 cat >>confdefs.h <<_ACEOF
50925 #define HAVE_LOGL 1
50926 _ACEOF
50927
50928 fi
50929 done
50930
50931 else
50932
50933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50934 $as_echo_n "checking for _logl declaration... " >&6; }
50935 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50936 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50937 $as_echo_n "(cached) " >&6
50938 else
50939
50940
50941 ac_ext=cpp
50942 ac_cpp='$CXXCPP $CPPFLAGS'
50943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50946
50947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50948 /* end confdefs.h. */
50949 #include <math.h>
50950 #ifdef HAVE_IEEEFP_H
50951 #include <ieeefp.h>
50952 #endif
50953
50954 int
50955 main ()
50956 {
50957 _logl(0);
50958 ;
50959 return 0;
50960 }
50961 _ACEOF
50962 if ac_fn_cxx_try_compile "$LINENO"; then :
50963 glibcxx_cv_func__logl_use=yes
50964 else
50965 glibcxx_cv_func__logl_use=no
50966 fi
50967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50968 ac_ext=c
50969 ac_cpp='$CPP $CPPFLAGS'
50970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50973
50974
50975 fi
50976
50977 fi
50978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50979 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50980
50981 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50982 for ac_func in _logl
50983 do :
50984 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50985 if test "x$ac_cv_func__logl" = x""yes; then :
50986 cat >>confdefs.h <<_ACEOF
50987 #define HAVE__LOGL 1
50988 _ACEOF
50989
50990 fi
50991 done
50992
50993 fi
50994 fi
50995
50996
50997
50998
50999
51000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51001 $as_echo_n "checking for log10l declaration... " >&6; }
51002 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51003 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51004 $as_echo_n "(cached) " >&6
51005 else
51006
51007
51008 ac_ext=cpp
51009 ac_cpp='$CXXCPP $CPPFLAGS'
51010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51013
51014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51015 /* end confdefs.h. */
51016 #include <math.h>
51017 #ifdef HAVE_IEEEFP_H
51018 #include <ieeefp.h>
51019 #endif
51020
51021 int
51022 main ()
51023 {
51024 log10l(0);
51025 ;
51026 return 0;
51027 }
51028 _ACEOF
51029 if ac_fn_cxx_try_compile "$LINENO"; then :
51030 glibcxx_cv_func_log10l_use=yes
51031 else
51032 glibcxx_cv_func_log10l_use=no
51033 fi
51034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51035 ac_ext=c
51036 ac_cpp='$CPP $CPPFLAGS'
51037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51040
51041
51042 fi
51043
51044 fi
51045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51046 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51047
51048 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51049 for ac_func in log10l
51050 do :
51051 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51052 if test "x$ac_cv_func_log10l" = x""yes; then :
51053 cat >>confdefs.h <<_ACEOF
51054 #define HAVE_LOG10L 1
51055 _ACEOF
51056
51057 fi
51058 done
51059
51060 else
51061
51062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51063 $as_echo_n "checking for _log10l declaration... " >&6; }
51064 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51065 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51066 $as_echo_n "(cached) " >&6
51067 else
51068
51069
51070 ac_ext=cpp
51071 ac_cpp='$CXXCPP $CPPFLAGS'
51072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51075
51076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51077 /* end confdefs.h. */
51078 #include <math.h>
51079 #ifdef HAVE_IEEEFP_H
51080 #include <ieeefp.h>
51081 #endif
51082
51083 int
51084 main ()
51085 {
51086 _log10l(0);
51087 ;
51088 return 0;
51089 }
51090 _ACEOF
51091 if ac_fn_cxx_try_compile "$LINENO"; then :
51092 glibcxx_cv_func__log10l_use=yes
51093 else
51094 glibcxx_cv_func__log10l_use=no
51095 fi
51096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51097 ac_ext=c
51098 ac_cpp='$CPP $CPPFLAGS'
51099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51102
51103
51104 fi
51105
51106 fi
51107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51108 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51109
51110 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51111 for ac_func in _log10l
51112 do :
51113 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51114 if test "x$ac_cv_func__log10l" = x""yes; then :
51115 cat >>confdefs.h <<_ACEOF
51116 #define HAVE__LOG10L 1
51117 _ACEOF
51118
51119 fi
51120 done
51121
51122 fi
51123 fi
51124
51125
51126
51127
51128
51129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51130 $as_echo_n "checking for modfl declaration... " >&6; }
51131 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51132 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51133 $as_echo_n "(cached) " >&6
51134 else
51135
51136
51137 ac_ext=cpp
51138 ac_cpp='$CXXCPP $CPPFLAGS'
51139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51142
51143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51144 /* end confdefs.h. */
51145 #include <math.h>
51146 int
51147 main ()
51148 {
51149 modfl(0, 0);
51150 ;
51151 return 0;
51152 }
51153 _ACEOF
51154 if ac_fn_cxx_try_compile "$LINENO"; then :
51155 glibcxx_cv_func_modfl_use=yes
51156 else
51157 glibcxx_cv_func_modfl_use=no
51158 fi
51159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51160 ac_ext=c
51161 ac_cpp='$CPP $CPPFLAGS'
51162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51165
51166
51167 fi
51168
51169 fi
51170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51171 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51172
51173 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51174 for ac_func in modfl
51175 do :
51176 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51177 if test "x$ac_cv_func_modfl" = x""yes; then :
51178 cat >>confdefs.h <<_ACEOF
51179 #define HAVE_MODFL 1
51180 _ACEOF
51181
51182 fi
51183 done
51184
51185 else
51186
51187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51188 $as_echo_n "checking for _modfl declaration... " >&6; }
51189 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51190 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51191 $as_echo_n "(cached) " >&6
51192 else
51193
51194
51195 ac_ext=cpp
51196 ac_cpp='$CXXCPP $CPPFLAGS'
51197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51200
51201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51202 /* end confdefs.h. */
51203 #include <math.h>
51204 int
51205 main ()
51206 {
51207 _modfl(0, 0);
51208 ;
51209 return 0;
51210 }
51211 _ACEOF
51212 if ac_fn_cxx_try_compile "$LINENO"; then :
51213 glibcxx_cv_func__modfl_use=yes
51214 else
51215 glibcxx_cv_func__modfl_use=no
51216 fi
51217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51218 ac_ext=c
51219 ac_cpp='$CPP $CPPFLAGS'
51220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51223
51224
51225 fi
51226
51227 fi
51228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51229 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51230
51231 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51232 for ac_func in _modfl
51233 do :
51234 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51235 if test "x$ac_cv_func__modfl" = x""yes; then :
51236 cat >>confdefs.h <<_ACEOF
51237 #define HAVE__MODFL 1
51238 _ACEOF
51239
51240 fi
51241 done
51242
51243 fi
51244 fi
51245
51246
51247
51248
51249
51250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51251 $as_echo_n "checking for powl declaration... " >&6; }
51252 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51253 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51254 $as_echo_n "(cached) " >&6
51255 else
51256
51257
51258 ac_ext=cpp
51259 ac_cpp='$CXXCPP $CPPFLAGS'
51260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51263
51264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51265 /* end confdefs.h. */
51266 #include <math.h>
51267 int
51268 main ()
51269 {
51270 powl(0, 0);
51271 ;
51272 return 0;
51273 }
51274 _ACEOF
51275 if ac_fn_cxx_try_compile "$LINENO"; then :
51276 glibcxx_cv_func_powl_use=yes
51277 else
51278 glibcxx_cv_func_powl_use=no
51279 fi
51280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51281 ac_ext=c
51282 ac_cpp='$CPP $CPPFLAGS'
51283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51286
51287
51288 fi
51289
51290 fi
51291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51292 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51293
51294 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51295 for ac_func in powl
51296 do :
51297 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51298 if test "x$ac_cv_func_powl" = x""yes; then :
51299 cat >>confdefs.h <<_ACEOF
51300 #define HAVE_POWL 1
51301 _ACEOF
51302
51303 fi
51304 done
51305
51306 else
51307
51308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51309 $as_echo_n "checking for _powl declaration... " >&6; }
51310 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51311 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51312 $as_echo_n "(cached) " >&6
51313 else
51314
51315
51316 ac_ext=cpp
51317 ac_cpp='$CXXCPP $CPPFLAGS'
51318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51321
51322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51323 /* end confdefs.h. */
51324 #include <math.h>
51325 int
51326 main ()
51327 {
51328 _powl(0, 0);
51329 ;
51330 return 0;
51331 }
51332 _ACEOF
51333 if ac_fn_cxx_try_compile "$LINENO"; then :
51334 glibcxx_cv_func__powl_use=yes
51335 else
51336 glibcxx_cv_func__powl_use=no
51337 fi
51338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51339 ac_ext=c
51340 ac_cpp='$CPP $CPPFLAGS'
51341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51344
51345
51346 fi
51347
51348 fi
51349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51350 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51351
51352 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51353 for ac_func in _powl
51354 do :
51355 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51356 if test "x$ac_cv_func__powl" = x""yes; then :
51357 cat >>confdefs.h <<_ACEOF
51358 #define HAVE__POWL 1
51359 _ACEOF
51360
51361 fi
51362 done
51363
51364 fi
51365 fi
51366
51367
51368
51369
51370
51371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51372 $as_echo_n "checking for sqrtl declaration... " >&6; }
51373 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51374 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51375 $as_echo_n "(cached) " >&6
51376 else
51377
51378
51379 ac_ext=cpp
51380 ac_cpp='$CXXCPP $CPPFLAGS'
51381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51384
51385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51386 /* end confdefs.h. */
51387 #include <math.h>
51388 #ifdef HAVE_IEEEFP_H
51389 #include <ieeefp.h>
51390 #endif
51391
51392 int
51393 main ()
51394 {
51395 sqrtl(0);
51396 ;
51397 return 0;
51398 }
51399 _ACEOF
51400 if ac_fn_cxx_try_compile "$LINENO"; then :
51401 glibcxx_cv_func_sqrtl_use=yes
51402 else
51403 glibcxx_cv_func_sqrtl_use=no
51404 fi
51405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51406 ac_ext=c
51407 ac_cpp='$CPP $CPPFLAGS'
51408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51411
51412
51413 fi
51414
51415 fi
51416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51417 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51418
51419 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51420 for ac_func in sqrtl
51421 do :
51422 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51423 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51424 cat >>confdefs.h <<_ACEOF
51425 #define HAVE_SQRTL 1
51426 _ACEOF
51427
51428 fi
51429 done
51430
51431 else
51432
51433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51434 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51435 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51436 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51437 $as_echo_n "(cached) " >&6
51438 else
51439
51440
51441 ac_ext=cpp
51442 ac_cpp='$CXXCPP $CPPFLAGS'
51443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51446
51447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51448 /* end confdefs.h. */
51449 #include <math.h>
51450 #ifdef HAVE_IEEEFP_H
51451 #include <ieeefp.h>
51452 #endif
51453
51454 int
51455 main ()
51456 {
51457 _sqrtl(0);
51458 ;
51459 return 0;
51460 }
51461 _ACEOF
51462 if ac_fn_cxx_try_compile "$LINENO"; then :
51463 glibcxx_cv_func__sqrtl_use=yes
51464 else
51465 glibcxx_cv_func__sqrtl_use=no
51466 fi
51467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51468 ac_ext=c
51469 ac_cpp='$CPP $CPPFLAGS'
51470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51473
51474
51475 fi
51476
51477 fi
51478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51479 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51480
51481 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51482 for ac_func in _sqrtl
51483 do :
51484 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51485 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51486 cat >>confdefs.h <<_ACEOF
51487 #define HAVE__SQRTL 1
51488 _ACEOF
51489
51490 fi
51491 done
51492
51493 fi
51494 fi
51495
51496
51497
51498
51499
51500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51501 $as_echo_n "checking for sincosl declaration... " >&6; }
51502 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51503 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51504 $as_echo_n "(cached) " >&6
51505 else
51506
51507
51508 ac_ext=cpp
51509 ac_cpp='$CXXCPP $CPPFLAGS'
51510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51513
51514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51515 /* end confdefs.h. */
51516 #include <math.h>
51517 int
51518 main ()
51519 {
51520 sincosl(0, 0, 0);
51521 ;
51522 return 0;
51523 }
51524 _ACEOF
51525 if ac_fn_cxx_try_compile "$LINENO"; then :
51526 glibcxx_cv_func_sincosl_use=yes
51527 else
51528 glibcxx_cv_func_sincosl_use=no
51529 fi
51530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51531 ac_ext=c
51532 ac_cpp='$CPP $CPPFLAGS'
51533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51536
51537
51538 fi
51539
51540 fi
51541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51542 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51543
51544 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51545 for ac_func in sincosl
51546 do :
51547 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51548 if test "x$ac_cv_func_sincosl" = x""yes; then :
51549 cat >>confdefs.h <<_ACEOF
51550 #define HAVE_SINCOSL 1
51551 _ACEOF
51552
51553 fi
51554 done
51555
51556 else
51557
51558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51559 $as_echo_n "checking for _sincosl declaration... " >&6; }
51560 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51561 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51562 $as_echo_n "(cached) " >&6
51563 else
51564
51565
51566 ac_ext=cpp
51567 ac_cpp='$CXXCPP $CPPFLAGS'
51568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51571
51572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51573 /* end confdefs.h. */
51574 #include <math.h>
51575 int
51576 main ()
51577 {
51578 _sincosl(0, 0, 0);
51579 ;
51580 return 0;
51581 }
51582 _ACEOF
51583 if ac_fn_cxx_try_compile "$LINENO"; then :
51584 glibcxx_cv_func__sincosl_use=yes
51585 else
51586 glibcxx_cv_func__sincosl_use=no
51587 fi
51588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51589 ac_ext=c
51590 ac_cpp='$CPP $CPPFLAGS'
51591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51594
51595
51596 fi
51597
51598 fi
51599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51600 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51601
51602 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51603 for ac_func in _sincosl
51604 do :
51605 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51606 if test "x$ac_cv_func__sincosl" = x""yes; then :
51607 cat >>confdefs.h <<_ACEOF
51608 #define HAVE__SINCOSL 1
51609 _ACEOF
51610
51611 fi
51612 done
51613
51614 fi
51615 fi
51616
51617
51618
51619
51620
51621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51622 $as_echo_n "checking for finitel declaration... " >&6; }
51623 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51624 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51625 $as_echo_n "(cached) " >&6
51626 else
51627
51628
51629 ac_ext=cpp
51630 ac_cpp='$CXXCPP $CPPFLAGS'
51631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51634
51635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51636 /* end confdefs.h. */
51637 #include <math.h>
51638 #ifdef HAVE_IEEEFP_H
51639 #include <ieeefp.h>
51640 #endif
51641
51642 int
51643 main ()
51644 {
51645 finitel(0);
51646 ;
51647 return 0;
51648 }
51649 _ACEOF
51650 if ac_fn_cxx_try_compile "$LINENO"; then :
51651 glibcxx_cv_func_finitel_use=yes
51652 else
51653 glibcxx_cv_func_finitel_use=no
51654 fi
51655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51656 ac_ext=c
51657 ac_cpp='$CPP $CPPFLAGS'
51658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51661
51662
51663 fi
51664
51665 fi
51666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51667 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51668
51669 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51670 for ac_func in finitel
51671 do :
51672 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51673 if test "x$ac_cv_func_finitel" = x""yes; then :
51674 cat >>confdefs.h <<_ACEOF
51675 #define HAVE_FINITEL 1
51676 _ACEOF
51677
51678 fi
51679 done
51680
51681 else
51682
51683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51684 $as_echo_n "checking for _finitel declaration... " >&6; }
51685 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51686 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51687 $as_echo_n "(cached) " >&6
51688 else
51689
51690
51691 ac_ext=cpp
51692 ac_cpp='$CXXCPP $CPPFLAGS'
51693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51696
51697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51698 /* end confdefs.h. */
51699 #include <math.h>
51700 #ifdef HAVE_IEEEFP_H
51701 #include <ieeefp.h>
51702 #endif
51703
51704 int
51705 main ()
51706 {
51707 _finitel(0);
51708 ;
51709 return 0;
51710 }
51711 _ACEOF
51712 if ac_fn_cxx_try_compile "$LINENO"; then :
51713 glibcxx_cv_func__finitel_use=yes
51714 else
51715 glibcxx_cv_func__finitel_use=no
51716 fi
51717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51718 ac_ext=c
51719 ac_cpp='$CPP $CPPFLAGS'
51720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51723
51724
51725 fi
51726
51727 fi
51728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51729 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51730
51731 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51732 for ac_func in _finitel
51733 do :
51734 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51735 if test "x$ac_cv_func__finitel" = x""yes; then :
51736 cat >>confdefs.h <<_ACEOF
51737 #define HAVE__FINITEL 1
51738 _ACEOF
51739
51740 fi
51741 done
51742
51743 fi
51744 fi
51745
51746
51747
51748
51749 LIBS="$ac_save_LIBS"
51750 CXXFLAGS="$ac_save_CXXFLAGS"
51751
51752
51753 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51754 ac_save_CXXFLAGS="$CXXFLAGS"
51755 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51756
51757
51758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51759 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51760 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51761 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51762 $as_echo_n "(cached) " >&6
51763 else
51764
51765
51766 ac_ext=cpp
51767 ac_cpp='$CXXCPP $CPPFLAGS'
51768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51771
51772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51773 /* end confdefs.h. */
51774 #include <stdlib.h>
51775 int
51776 main ()
51777 {
51778 at_quick_exit(0);
51779 ;
51780 return 0;
51781 }
51782 _ACEOF
51783 if ac_fn_cxx_try_compile "$LINENO"; then :
51784 glibcxx_cv_func_at_quick_exit_use=yes
51785 else
51786 glibcxx_cv_func_at_quick_exit_use=no
51787 fi
51788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51789 ac_ext=c
51790 ac_cpp='$CPP $CPPFLAGS'
51791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51794
51795
51796 fi
51797
51798 fi
51799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51800 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51801 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51802 for ac_func in at_quick_exit
51803 do :
51804 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51805 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51806 cat >>confdefs.h <<_ACEOF
51807 #define HAVE_AT_QUICK_EXIT 1
51808 _ACEOF
51809
51810 fi
51811 done
51812
51813 fi
51814
51815
51816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51817 $as_echo_n "checking for quick_exit declaration... " >&6; }
51818 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51819 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51820 $as_echo_n "(cached) " >&6
51821 else
51822
51823
51824 ac_ext=cpp
51825 ac_cpp='$CXXCPP $CPPFLAGS'
51826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51829
51830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51831 /* end confdefs.h. */
51832 #include <stdlib.h>
51833 int
51834 main ()
51835 {
51836 quick_exit(0);
51837 ;
51838 return 0;
51839 }
51840 _ACEOF
51841 if ac_fn_cxx_try_compile "$LINENO"; then :
51842 glibcxx_cv_func_quick_exit_use=yes
51843 else
51844 glibcxx_cv_func_quick_exit_use=no
51845 fi
51846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51847 ac_ext=c
51848 ac_cpp='$CPP $CPPFLAGS'
51849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51852
51853
51854 fi
51855
51856 fi
51857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51858 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51859 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51860 for ac_func in quick_exit
51861 do :
51862 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51863 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51864 cat >>confdefs.h <<_ACEOF
51865 #define HAVE_QUICK_EXIT 1
51866 _ACEOF
51867
51868 fi
51869 done
51870
51871 fi
51872
51873
51874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51875 $as_echo_n "checking for strtold declaration... " >&6; }
51876 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51877 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51878 $as_echo_n "(cached) " >&6
51879 else
51880
51881
51882 ac_ext=cpp
51883 ac_cpp='$CXXCPP $CPPFLAGS'
51884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51887
51888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51889 /* end confdefs.h. */
51890 #include <stdlib.h>
51891 int
51892 main ()
51893 {
51894 strtold(0, 0);
51895 ;
51896 return 0;
51897 }
51898 _ACEOF
51899 if ac_fn_cxx_try_compile "$LINENO"; then :
51900 glibcxx_cv_func_strtold_use=yes
51901 else
51902 glibcxx_cv_func_strtold_use=no
51903 fi
51904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51905 ac_ext=c
51906 ac_cpp='$CPP $CPPFLAGS'
51907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51910
51911
51912 fi
51913
51914 fi
51915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51916 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51917 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51918 for ac_func in strtold
51919 do :
51920 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51921 if test "x$ac_cv_func_strtold" = x""yes; then :
51922 cat >>confdefs.h <<_ACEOF
51923 #define HAVE_STRTOLD 1
51924 _ACEOF
51925
51926 fi
51927 done
51928
51929 fi
51930
51931
51932
51933
51934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51935 $as_echo_n "checking for strtof declaration... " >&6; }
51936 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51937 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51938 $as_echo_n "(cached) " >&6
51939 else
51940
51941
51942 ac_ext=cpp
51943 ac_cpp='$CXXCPP $CPPFLAGS'
51944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51947
51948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51949 /* end confdefs.h. */
51950 #include <stdlib.h>
51951 int
51952 main ()
51953 {
51954 strtof(0, 0);
51955 ;
51956 return 0;
51957 }
51958 _ACEOF
51959 if ac_fn_cxx_try_compile "$LINENO"; then :
51960 glibcxx_cv_func_strtof_use=yes
51961 else
51962 glibcxx_cv_func_strtof_use=no
51963 fi
51964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51965 ac_ext=c
51966 ac_cpp='$CPP $CPPFLAGS'
51967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51970
51971
51972 fi
51973
51974 fi
51975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51976 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51977 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51978 for ac_func in strtof
51979 do :
51980 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51981 if test "x$ac_cv_func_strtof" = x""yes; then :
51982 cat >>confdefs.h <<_ACEOF
51983 #define HAVE_STRTOF 1
51984 _ACEOF
51985
51986 fi
51987 done
51988
51989 fi
51990
51991
51992
51993
51994 CXXFLAGS="$ac_save_CXXFLAGS"
51995
51996 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51997
51998
51999
52000 # Check whether --enable-tls was given.
52001 if test "${enable_tls+set}" = set; then :
52002 enableval=$enable_tls;
52003 case "$enableval" in
52004 yes|no) ;;
52005 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52006 esac
52007
52008 else
52009 enable_tls=yes
52010 fi
52011
52012
52013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52014 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52015 if test "${gcc_cv_have_tls+set}" = set; then :
52016 $as_echo_n "(cached) " >&6
52017 else
52018
52019 if test "$cross_compiling" = yes; then :
52020 if test x$gcc_no_link = xyes; then
52021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52022 fi
52023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52024 /* end confdefs.h. */
52025 __thread int a; int b; int main() { return a = b; }
52026 _ACEOF
52027 if ac_fn_c_try_link "$LINENO"; then :
52028 chktls_save_LDFLAGS="$LDFLAGS"
52029 case $host in
52030 *-*-linux*)
52031 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52032 ;;
52033 esac
52034 chktls_save_CFLAGS="$CFLAGS"
52035 CFLAGS="-fPIC $CFLAGS"
52036 if test x$gcc_no_link = xyes; then
52037 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52038 fi
52039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52040 /* end confdefs.h. */
52041 int f() { return 0; }
52042 _ACEOF
52043 if ac_fn_c_try_link "$LINENO"; then :
52044 if test x$gcc_no_link = xyes; then
52045 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52046 fi
52047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52048 /* end confdefs.h. */
52049 __thread int a; int b; int f() { return a = b; }
52050 _ACEOF
52051 if ac_fn_c_try_link "$LINENO"; then :
52052 gcc_cv_have_tls=yes
52053 else
52054 gcc_cv_have_tls=no
52055 fi
52056 rm -f core conftest.err conftest.$ac_objext \
52057 conftest$ac_exeext conftest.$ac_ext
52058 else
52059 gcc_cv_have_tls=yes
52060 fi
52061 rm -f core conftest.err conftest.$ac_objext \
52062 conftest$ac_exeext conftest.$ac_ext
52063 CFLAGS="$chktls_save_CFLAGS"
52064 LDFLAGS="$chktls_save_LDFLAGS"
52065 else
52066 gcc_cv_have_tls=no
52067 fi
52068 rm -f core conftest.err conftest.$ac_objext \
52069 conftest$ac_exeext conftest.$ac_ext
52070
52071
52072 else
52073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52074 /* end confdefs.h. */
52075 __thread int a; int b; int main() { return a = b; }
52076 _ACEOF
52077 if ac_fn_c_try_run "$LINENO"; then :
52078 chktls_save_LDFLAGS="$LDFLAGS"
52079 LDFLAGS="-static $LDFLAGS"
52080 if test x$gcc_no_link = xyes; then
52081 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52082 fi
52083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52084 /* end confdefs.h. */
52085 int main() { return 0; }
52086 _ACEOF
52087 if ac_fn_c_try_link "$LINENO"; then :
52088 if test "$cross_compiling" = yes; then :
52089 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52091 as_fn_error "cannot run test program while cross compiling
52092 See \`config.log' for more details." "$LINENO" 5; }
52093 else
52094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52095 /* end confdefs.h. */
52096 __thread int a; int b; int main() { return a = b; }
52097 _ACEOF
52098 if ac_fn_c_try_run "$LINENO"; then :
52099 gcc_cv_have_tls=yes
52100 else
52101 gcc_cv_have_tls=no
52102 fi
52103 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52104 conftest.$ac_objext conftest.beam conftest.$ac_ext
52105 fi
52106
52107 else
52108 gcc_cv_have_tls=yes
52109 fi
52110 rm -f core conftest.err conftest.$ac_objext \
52111 conftest$ac_exeext conftest.$ac_ext
52112 LDFLAGS="$chktls_save_LDFLAGS"
52113 if test $gcc_cv_have_tls = yes; then
52114 chktls_save_CFLAGS="$CFLAGS"
52115 thread_CFLAGS=failed
52116 for flag in '' '-pthread' '-lpthread'; do
52117 CFLAGS="$flag $chktls_save_CFLAGS"
52118 if test x$gcc_no_link = xyes; then
52119 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52120 fi
52121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52122 /* end confdefs.h. */
52123 #include <pthread.h>
52124 void *g(void *d) { return NULL; }
52125 int
52126 main ()
52127 {
52128 pthread_t t; pthread_create(&t,NULL,g,NULL);
52129 ;
52130 return 0;
52131 }
52132 _ACEOF
52133 if ac_fn_c_try_link "$LINENO"; then :
52134 thread_CFLAGS="$flag"
52135 fi
52136 rm -f core conftest.err conftest.$ac_objext \
52137 conftest$ac_exeext conftest.$ac_ext
52138 if test "X$thread_CFLAGS" != Xfailed; then
52139 break
52140 fi
52141 done
52142 CFLAGS="$chktls_save_CFLAGS"
52143 if test "X$thread_CFLAGS" != Xfailed; then
52144 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52145 if test "$cross_compiling" = yes; then :
52146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52148 as_fn_error "cannot run test program while cross compiling
52149 See \`config.log' for more details." "$LINENO" 5; }
52150 else
52151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52152 /* end confdefs.h. */
52153 #include <pthread.h>
52154 __thread int a;
52155 static int *volatile a_in_other_thread;
52156 static void *
52157 thread_func (void *arg)
52158 {
52159 a_in_other_thread = &a;
52160 return (void *)0;
52161 }
52162 int
52163 main ()
52164 {
52165 pthread_t thread;
52166 void *thread_retval;
52167 int *volatile a_in_main_thread;
52168 a_in_main_thread = &a;
52169 if (pthread_create (&thread, (pthread_attr_t *)0,
52170 thread_func, (void *)0))
52171 return 0;
52172 if (pthread_join (thread, &thread_retval))
52173 return 0;
52174 return (a_in_other_thread == a_in_main_thread);
52175 ;
52176 return 0;
52177 }
52178 _ACEOF
52179 if ac_fn_c_try_run "$LINENO"; then :
52180 gcc_cv_have_tls=yes
52181 else
52182 gcc_cv_have_tls=no
52183 fi
52184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52185 conftest.$ac_objext conftest.beam conftest.$ac_ext
52186 fi
52187
52188 CFLAGS="$chktls_save_CFLAGS"
52189 fi
52190 fi
52191 else
52192 gcc_cv_have_tls=no
52193 fi
52194 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52195 conftest.$ac_objext conftest.beam conftest.$ac_ext
52196 fi
52197
52198 fi
52199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52200 $as_echo "$gcc_cv_have_tls" >&6; }
52201 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52202
52203 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52204
52205 fi
52206
52207
52208
52209
52210
52211 am_save_CPPFLAGS="$CPPFLAGS"
52212
52213 for element in $INCICONV; do
52214 haveit=
52215 for x in $CPPFLAGS; do
52216
52217 acl_save_prefix="$prefix"
52218 prefix="$acl_final_prefix"
52219 acl_save_exec_prefix="$exec_prefix"
52220 exec_prefix="$acl_final_exec_prefix"
52221 eval x=\"$x\"
52222 exec_prefix="$acl_save_exec_prefix"
52223 prefix="$acl_save_prefix"
52224
52225 if test "X$x" = "X$element"; then
52226 haveit=yes
52227 break
52228 fi
52229 done
52230 if test -z "$haveit"; then
52231 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
52232 fi
52233 done
52234
52235
52236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
52237 $as_echo_n "checking for iconv... " >&6; }
52238 if test "${am_cv_func_iconv+set}" = set; then :
52239 $as_echo_n "(cached) " >&6
52240 else
52241
52242 am_cv_func_iconv="no, consider installing GNU libiconv"
52243 am_cv_lib_iconv=no
52244 if test x$gcc_no_link = xyes; then
52245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52246 fi
52247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52248 /* end confdefs.h. */
52249 #include <stdlib.h>
52250 #include <iconv.h>
52251 int
52252 main ()
52253 {
52254 iconv_t cd = iconv_open("","");
52255 iconv(cd,NULL,NULL,NULL,NULL);
52256 iconv_close(cd);
52257 ;
52258 return 0;
52259 }
52260 _ACEOF
52261 if ac_fn_c_try_link "$LINENO"; then :
52262 am_cv_func_iconv=yes
52263 fi
52264 rm -f core conftest.err conftest.$ac_objext \
52265 conftest$ac_exeext conftest.$ac_ext
52266 if test "$am_cv_func_iconv" != yes; then
52267 am_save_LIBS="$LIBS"
52268 LIBS="$LIBS $LIBICONV"
52269 if test x$gcc_no_link = xyes; then
52270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52271 fi
52272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52273 /* end confdefs.h. */
52274 #include <stdlib.h>
52275 #include <iconv.h>
52276 int
52277 main ()
52278 {
52279 iconv_t cd = iconv_open("","");
52280 iconv(cd,NULL,NULL,NULL,NULL);
52281 iconv_close(cd);
52282 ;
52283 return 0;
52284 }
52285 _ACEOF
52286 if ac_fn_c_try_link "$LINENO"; then :
52287 am_cv_lib_iconv=yes
52288 am_cv_func_iconv=yes
52289 fi
52290 rm -f core conftest.err conftest.$ac_objext \
52291 conftest$ac_exeext conftest.$ac_ext
52292 LIBS="$am_save_LIBS"
52293 fi
52294
52295 fi
52296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
52297 $as_echo "$am_cv_func_iconv" >&6; }
52298 if test "$am_cv_func_iconv" = yes; then
52299
52300 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
52301
52302 fi
52303 if test "$am_cv_lib_iconv" = yes; then
52304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
52305 $as_echo_n "checking how to link with libiconv... " >&6; }
52306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
52307 $as_echo "$LIBICONV" >&6; }
52308 else
52309 CPPFLAGS="$am_save_CPPFLAGS"
52310 LIBICONV=
52311 LTLIBICONV=
52312 fi
52313
52314
52315
52316 if test "$am_cv_func_iconv" = yes; then
52317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
52318 $as_echo_n "checking for iconv declaration... " >&6; }
52319 if test "${am_cv_proto_iconv+set}" = set; then :
52320 $as_echo_n "(cached) " >&6
52321 else
52322
52323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52324 /* end confdefs.h. */
52325
52326 #include <stdlib.h>
52327 #include <iconv.h>
52328 extern
52329 #ifdef __cplusplus
52330 "C"
52331 #endif
52332 #if defined(__STDC__) || defined(__cplusplus)
52333 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
52334 #else
52335 size_t iconv();
52336 #endif
52337
52338 int
52339 main ()
52340 {
52341
52342 ;
52343 return 0;
52344 }
52345 _ACEOF
52346 if ac_fn_c_try_compile "$LINENO"; then :
52347 am_cv_proto_iconv_arg1=""
52348 else
52349 am_cv_proto_iconv_arg1="const"
52350 fi
52351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52352 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);"
52353 fi
52354
52355 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
52356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
52357 }$am_cv_proto_iconv" >&5
52358 $as_echo "${ac_t:-
52359 }$am_cv_proto_iconv" >&6; }
52360
52361 cat >>confdefs.h <<_ACEOF
52362 #define ICONV_CONST $am_cv_proto_iconv_arg1
52363 _ACEOF
52364
52365 fi
52366
52367 ;;
52368 *-mingw32*)
52369
52370 # If we're not using GNU ld, then there's no point in even trying these
52371 # tests. Check for that first. We should have already tested for gld
52372 # by now (in libtool), but require it now just to be safe...
52373 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52374 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52375
52376
52377
52378 # The name set by libtool depends on the version of libtool. Shame on us
52379 # for depending on an impl detail, but c'est la vie. Older versions used
52380 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52381 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52382 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52383 # set (hence we're using an older libtool), then set it.
52384 if test x${with_gnu_ld+set} != xset; then
52385 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52386 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52387 with_gnu_ld=no
52388 else
52389 with_gnu_ld=$ac_cv_prog_gnu_ld
52390 fi
52391 fi
52392
52393 # Start by getting the version number. I think the libtool test already
52394 # does some of this, but throws away the result.
52395 glibcxx_ld_is_gold=no
52396 if test x"$with_gnu_ld" = x"yes"; then
52397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52398 $as_echo_n "checking for ld version... " >&6; }
52399
52400 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52401 glibcxx_ld_is_gold=yes
52402 fi
52403 ldver=`$LD --version 2>/dev/null |
52404 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'`
52405
52406 glibcxx_gnu_ld_version=`echo $ldver | \
52407 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52409 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52410 fi
52411
52412 # Set --gc-sections.
52413 glibcxx_have_gc_sections=no
52414 if test "$glibcxx_ld_is_gold" = "yes"; then
52415 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52416 glibcxx_have_gc_sections=yes
52417 fi
52418 else
52419 glibcxx_gcsections_min_ld=21602
52420 if test x"$with_gnu_ld" = x"yes" &&
52421 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52422 glibcxx_have_gc_sections=yes
52423 fi
52424 fi
52425 if test "$glibcxx_have_gc_sections" = "yes"; then
52426 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52427 # NB: This flag only works reliably after 2.16.1. Configure tests
52428 # for this are difficult, so hard wire a value that should work.
52429
52430 ac_test_CFLAGS="${CFLAGS+set}"
52431 ac_save_CFLAGS="$CFLAGS"
52432 CFLAGS='-Wl,--gc-sections'
52433
52434 # Check for -Wl,--gc-sections
52435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52436 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52437 if test x$gcc_no_link = xyes; then
52438 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52439 fi
52440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52441 /* end confdefs.h. */
52442 int one(void) { return 1; }
52443 int two(void) { return 2; }
52444
52445 int
52446 main ()
52447 {
52448 two();
52449 ;
52450 return 0;
52451 }
52452 _ACEOF
52453 if ac_fn_c_try_link "$LINENO"; then :
52454 ac_gcsections=yes
52455 else
52456 ac_gcsections=no
52457 fi
52458 rm -f core conftest.err conftest.$ac_objext \
52459 conftest$ac_exeext conftest.$ac_ext
52460 if test "$ac_gcsections" = "yes"; then
52461 rm -f conftest.c
52462 touch conftest.c
52463 if $CC -c conftest.c; then
52464 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52465 grep "Warning: gc-sections option ignored" > /dev/null; then
52466 ac_gcsections=no
52467 fi
52468 fi
52469 rm -f conftest.c conftest.o conftest
52470 fi
52471 if test "$ac_gcsections" = "yes"; then
52472 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52473 fi
52474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52475 $as_echo "$ac_gcsections" >&6; }
52476
52477 if test "$ac_test_CFLAGS" = set; then
52478 CFLAGS="$ac_save_CFLAGS"
52479 else
52480 # this is the suspicious part
52481 CFLAGS=''
52482 fi
52483 fi
52484
52485 # Set -z,relro.
52486 # Note this is only for shared objects.
52487 ac_ld_relro=no
52488 if test x"$with_gnu_ld" = x"yes"; then
52489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52490 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52491 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52492 if test -n "$cxx_z_relo"; then
52493 OPT_LDFLAGS="-Wl,-z,relro"
52494 ac_ld_relro=yes
52495 fi
52496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52497 $as_echo "$ac_ld_relro" >&6; }
52498 fi
52499
52500 # Set linker optimization flags.
52501 if test x"$with_gnu_ld" = x"yes"; then
52502 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52503 fi
52504
52505
52506
52507
52508
52509 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52510 ac_save_CXXFLAGS="$CXXFLAGS"
52511 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52512
52513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52514 $as_echo_n "checking for sin in -lm... " >&6; }
52515 if test "${ac_cv_lib_m_sin+set}" = set; then :
52516 $as_echo_n "(cached) " >&6
52517 else
52518 ac_check_lib_save_LIBS=$LIBS
52519 LIBS="-lm $LIBS"
52520 if test x$gcc_no_link = xyes; then
52521 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52522 fi
52523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52524 /* end confdefs.h. */
52525
52526 /* Override any GCC internal prototype to avoid an error.
52527 Use char because int might match the return type of a GCC
52528 builtin and then its argument prototype would still apply. */
52529 #ifdef __cplusplus
52530 extern "C"
52531 #endif
52532 char sin ();
52533 int
52534 main ()
52535 {
52536 return sin ();
52537 ;
52538 return 0;
52539 }
52540 _ACEOF
52541 if ac_fn_c_try_link "$LINENO"; then :
52542 ac_cv_lib_m_sin=yes
52543 else
52544 ac_cv_lib_m_sin=no
52545 fi
52546 rm -f core conftest.err conftest.$ac_objext \
52547 conftest$ac_exeext conftest.$ac_ext
52548 LIBS=$ac_check_lib_save_LIBS
52549 fi
52550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52551 $as_echo "$ac_cv_lib_m_sin" >&6; }
52552 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52553 libm="-lm"
52554 fi
52555
52556 ac_save_LIBS="$LIBS"
52557 LIBS="$LIBS $libm"
52558
52559
52560
52561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52562 $as_echo_n "checking for isinf declaration... " >&6; }
52563 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52564 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52565 $as_echo_n "(cached) " >&6
52566 else
52567
52568
52569 ac_ext=cpp
52570 ac_cpp='$CXXCPP $CPPFLAGS'
52571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52574
52575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52576 /* end confdefs.h. */
52577 #include <math.h>
52578 #ifdef HAVE_IEEEFP_H
52579 #include <ieeefp.h>
52580 #endif
52581
52582 int
52583 main ()
52584 {
52585 isinf(0);
52586 ;
52587 return 0;
52588 }
52589 _ACEOF
52590 if ac_fn_cxx_try_compile "$LINENO"; then :
52591 glibcxx_cv_func_isinf_use=yes
52592 else
52593 glibcxx_cv_func_isinf_use=no
52594 fi
52595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52596 ac_ext=c
52597 ac_cpp='$CPP $CPPFLAGS'
52598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52601
52602
52603 fi
52604
52605 fi
52606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52607 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52608
52609 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52610 for ac_func in isinf
52611 do :
52612 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52613 if test "x$ac_cv_func_isinf" = x""yes; then :
52614 cat >>confdefs.h <<_ACEOF
52615 #define HAVE_ISINF 1
52616 _ACEOF
52617
52618 fi
52619 done
52620
52621 else
52622
52623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52624 $as_echo_n "checking for _isinf declaration... " >&6; }
52625 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52626 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52627 $as_echo_n "(cached) " >&6
52628 else
52629
52630
52631 ac_ext=cpp
52632 ac_cpp='$CXXCPP $CPPFLAGS'
52633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52636
52637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52638 /* end confdefs.h. */
52639 #include <math.h>
52640 #ifdef HAVE_IEEEFP_H
52641 #include <ieeefp.h>
52642 #endif
52643
52644 int
52645 main ()
52646 {
52647 _isinf(0);
52648 ;
52649 return 0;
52650 }
52651 _ACEOF
52652 if ac_fn_cxx_try_compile "$LINENO"; then :
52653 glibcxx_cv_func__isinf_use=yes
52654 else
52655 glibcxx_cv_func__isinf_use=no
52656 fi
52657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52658 ac_ext=c
52659 ac_cpp='$CPP $CPPFLAGS'
52660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52663
52664
52665 fi
52666
52667 fi
52668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52669 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52670
52671 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52672 for ac_func in _isinf
52673 do :
52674 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52675 if test "x$ac_cv_func__isinf" = x""yes; then :
52676 cat >>confdefs.h <<_ACEOF
52677 #define HAVE__ISINF 1
52678 _ACEOF
52679
52680 fi
52681 done
52682
52683 fi
52684 fi
52685
52686
52687
52688
52689
52690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52691 $as_echo_n "checking for isnan declaration... " >&6; }
52692 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52693 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52694 $as_echo_n "(cached) " >&6
52695 else
52696
52697
52698 ac_ext=cpp
52699 ac_cpp='$CXXCPP $CPPFLAGS'
52700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52703
52704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52705 /* end confdefs.h. */
52706 #include <math.h>
52707 #ifdef HAVE_IEEEFP_H
52708 #include <ieeefp.h>
52709 #endif
52710
52711 int
52712 main ()
52713 {
52714 isnan(0);
52715 ;
52716 return 0;
52717 }
52718 _ACEOF
52719 if ac_fn_cxx_try_compile "$LINENO"; then :
52720 glibcxx_cv_func_isnan_use=yes
52721 else
52722 glibcxx_cv_func_isnan_use=no
52723 fi
52724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52725 ac_ext=c
52726 ac_cpp='$CPP $CPPFLAGS'
52727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52730
52731
52732 fi
52733
52734 fi
52735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52736 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52737
52738 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52739 for ac_func in isnan
52740 do :
52741 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52742 if test "x$ac_cv_func_isnan" = x""yes; then :
52743 cat >>confdefs.h <<_ACEOF
52744 #define HAVE_ISNAN 1
52745 _ACEOF
52746
52747 fi
52748 done
52749
52750 else
52751
52752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52753 $as_echo_n "checking for _isnan declaration... " >&6; }
52754 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52755 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52756 $as_echo_n "(cached) " >&6
52757 else
52758
52759
52760 ac_ext=cpp
52761 ac_cpp='$CXXCPP $CPPFLAGS'
52762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52765
52766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52767 /* end confdefs.h. */
52768 #include <math.h>
52769 #ifdef HAVE_IEEEFP_H
52770 #include <ieeefp.h>
52771 #endif
52772
52773 int
52774 main ()
52775 {
52776 _isnan(0);
52777 ;
52778 return 0;
52779 }
52780 _ACEOF
52781 if ac_fn_cxx_try_compile "$LINENO"; then :
52782 glibcxx_cv_func__isnan_use=yes
52783 else
52784 glibcxx_cv_func__isnan_use=no
52785 fi
52786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52787 ac_ext=c
52788 ac_cpp='$CPP $CPPFLAGS'
52789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52792
52793
52794 fi
52795
52796 fi
52797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52798 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52799
52800 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52801 for ac_func in _isnan
52802 do :
52803 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52804 if test "x$ac_cv_func__isnan" = x""yes; then :
52805 cat >>confdefs.h <<_ACEOF
52806 #define HAVE__ISNAN 1
52807 _ACEOF
52808
52809 fi
52810 done
52811
52812 fi
52813 fi
52814
52815
52816
52817
52818
52819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52820 $as_echo_n "checking for finite declaration... " >&6; }
52821 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52822 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52823 $as_echo_n "(cached) " >&6
52824 else
52825
52826
52827 ac_ext=cpp
52828 ac_cpp='$CXXCPP $CPPFLAGS'
52829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52832
52833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52834 /* end confdefs.h. */
52835 #include <math.h>
52836 #ifdef HAVE_IEEEFP_H
52837 #include <ieeefp.h>
52838 #endif
52839
52840 int
52841 main ()
52842 {
52843 finite(0);
52844 ;
52845 return 0;
52846 }
52847 _ACEOF
52848 if ac_fn_cxx_try_compile "$LINENO"; then :
52849 glibcxx_cv_func_finite_use=yes
52850 else
52851 glibcxx_cv_func_finite_use=no
52852 fi
52853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52854 ac_ext=c
52855 ac_cpp='$CPP $CPPFLAGS'
52856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52859
52860
52861 fi
52862
52863 fi
52864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52865 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52866
52867 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52868 for ac_func in finite
52869 do :
52870 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52871 if test "x$ac_cv_func_finite" = x""yes; then :
52872 cat >>confdefs.h <<_ACEOF
52873 #define HAVE_FINITE 1
52874 _ACEOF
52875
52876 fi
52877 done
52878
52879 else
52880
52881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52882 $as_echo_n "checking for _finite declaration... " >&6; }
52883 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52884 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52885 $as_echo_n "(cached) " >&6
52886 else
52887
52888
52889 ac_ext=cpp
52890 ac_cpp='$CXXCPP $CPPFLAGS'
52891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52894
52895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52896 /* end confdefs.h. */
52897 #include <math.h>
52898 #ifdef HAVE_IEEEFP_H
52899 #include <ieeefp.h>
52900 #endif
52901
52902 int
52903 main ()
52904 {
52905 _finite(0);
52906 ;
52907 return 0;
52908 }
52909 _ACEOF
52910 if ac_fn_cxx_try_compile "$LINENO"; then :
52911 glibcxx_cv_func__finite_use=yes
52912 else
52913 glibcxx_cv_func__finite_use=no
52914 fi
52915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52916 ac_ext=c
52917 ac_cpp='$CPP $CPPFLAGS'
52918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52921
52922
52923 fi
52924
52925 fi
52926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52927 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52928
52929 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52930 for ac_func in _finite
52931 do :
52932 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52933 if test "x$ac_cv_func__finite" = x""yes; then :
52934 cat >>confdefs.h <<_ACEOF
52935 #define HAVE__FINITE 1
52936 _ACEOF
52937
52938 fi
52939 done
52940
52941 fi
52942 fi
52943
52944
52945
52946
52947
52948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52949 $as_echo_n "checking for sincos declaration... " >&6; }
52950 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52951 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52952 $as_echo_n "(cached) " >&6
52953 else
52954
52955
52956 ac_ext=cpp
52957 ac_cpp='$CXXCPP $CPPFLAGS'
52958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52961
52962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52963 /* end confdefs.h. */
52964 #include <math.h>
52965 int
52966 main ()
52967 {
52968 sincos(0, 0, 0);
52969 ;
52970 return 0;
52971 }
52972 _ACEOF
52973 if ac_fn_cxx_try_compile "$LINENO"; then :
52974 glibcxx_cv_func_sincos_use=yes
52975 else
52976 glibcxx_cv_func_sincos_use=no
52977 fi
52978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52979 ac_ext=c
52980 ac_cpp='$CPP $CPPFLAGS'
52981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52984
52985
52986 fi
52987
52988 fi
52989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52990 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52991
52992 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52993 for ac_func in sincos
52994 do :
52995 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52996 if test "x$ac_cv_func_sincos" = x""yes; then :
52997 cat >>confdefs.h <<_ACEOF
52998 #define HAVE_SINCOS 1
52999 _ACEOF
53000
53001 fi
53002 done
53003
53004 else
53005
53006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53007 $as_echo_n "checking for _sincos declaration... " >&6; }
53008 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53009 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53010 $as_echo_n "(cached) " >&6
53011 else
53012
53013
53014 ac_ext=cpp
53015 ac_cpp='$CXXCPP $CPPFLAGS'
53016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53019
53020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53021 /* end confdefs.h. */
53022 #include <math.h>
53023 int
53024 main ()
53025 {
53026 _sincos(0, 0, 0);
53027 ;
53028 return 0;
53029 }
53030 _ACEOF
53031 if ac_fn_cxx_try_compile "$LINENO"; then :
53032 glibcxx_cv_func__sincos_use=yes
53033 else
53034 glibcxx_cv_func__sincos_use=no
53035 fi
53036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53037 ac_ext=c
53038 ac_cpp='$CPP $CPPFLAGS'
53039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53042
53043
53044 fi
53045
53046 fi
53047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53048 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53049
53050 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53051 for ac_func in _sincos
53052 do :
53053 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53054 if test "x$ac_cv_func__sincos" = x""yes; then :
53055 cat >>confdefs.h <<_ACEOF
53056 #define HAVE__SINCOS 1
53057 _ACEOF
53058
53059 fi
53060 done
53061
53062 fi
53063 fi
53064
53065
53066
53067
53068
53069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53070 $as_echo_n "checking for fpclass declaration... " >&6; }
53071 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53072 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53073 $as_echo_n "(cached) " >&6
53074 else
53075
53076
53077 ac_ext=cpp
53078 ac_cpp='$CXXCPP $CPPFLAGS'
53079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53082
53083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53084 /* end confdefs.h. */
53085 #include <math.h>
53086 #ifdef HAVE_IEEEFP_H
53087 #include <ieeefp.h>
53088 #endif
53089
53090 int
53091 main ()
53092 {
53093 fpclass(0);
53094 ;
53095 return 0;
53096 }
53097 _ACEOF
53098 if ac_fn_cxx_try_compile "$LINENO"; then :
53099 glibcxx_cv_func_fpclass_use=yes
53100 else
53101 glibcxx_cv_func_fpclass_use=no
53102 fi
53103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53104 ac_ext=c
53105 ac_cpp='$CPP $CPPFLAGS'
53106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53109
53110
53111 fi
53112
53113 fi
53114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53115 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53116
53117 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53118 for ac_func in fpclass
53119 do :
53120 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53121 if test "x$ac_cv_func_fpclass" = x""yes; then :
53122 cat >>confdefs.h <<_ACEOF
53123 #define HAVE_FPCLASS 1
53124 _ACEOF
53125
53126 fi
53127 done
53128
53129 else
53130
53131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53132 $as_echo_n "checking for _fpclass declaration... " >&6; }
53133 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53134 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53135 $as_echo_n "(cached) " >&6
53136 else
53137
53138
53139 ac_ext=cpp
53140 ac_cpp='$CXXCPP $CPPFLAGS'
53141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53144
53145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53146 /* end confdefs.h. */
53147 #include <math.h>
53148 #ifdef HAVE_IEEEFP_H
53149 #include <ieeefp.h>
53150 #endif
53151
53152 int
53153 main ()
53154 {
53155 _fpclass(0);
53156 ;
53157 return 0;
53158 }
53159 _ACEOF
53160 if ac_fn_cxx_try_compile "$LINENO"; then :
53161 glibcxx_cv_func__fpclass_use=yes
53162 else
53163 glibcxx_cv_func__fpclass_use=no
53164 fi
53165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53166 ac_ext=c
53167 ac_cpp='$CPP $CPPFLAGS'
53168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53171
53172
53173 fi
53174
53175 fi
53176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53177 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53178
53179 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53180 for ac_func in _fpclass
53181 do :
53182 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53183 if test "x$ac_cv_func__fpclass" = x""yes; then :
53184 cat >>confdefs.h <<_ACEOF
53185 #define HAVE__FPCLASS 1
53186 _ACEOF
53187
53188 fi
53189 done
53190
53191 fi
53192 fi
53193
53194
53195
53196
53197
53198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53199 $as_echo_n "checking for qfpclass declaration... " >&6; }
53200 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53201 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53202 $as_echo_n "(cached) " >&6
53203 else
53204
53205
53206 ac_ext=cpp
53207 ac_cpp='$CXXCPP $CPPFLAGS'
53208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53211
53212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53213 /* end confdefs.h. */
53214 #include <math.h>
53215 #ifdef HAVE_IEEEFP_H
53216 #include <ieeefp.h>
53217 #endif
53218
53219 int
53220 main ()
53221 {
53222 qfpclass(0);
53223 ;
53224 return 0;
53225 }
53226 _ACEOF
53227 if ac_fn_cxx_try_compile "$LINENO"; then :
53228 glibcxx_cv_func_qfpclass_use=yes
53229 else
53230 glibcxx_cv_func_qfpclass_use=no
53231 fi
53232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53233 ac_ext=c
53234 ac_cpp='$CPP $CPPFLAGS'
53235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53238
53239
53240 fi
53241
53242 fi
53243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53244 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53245
53246 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53247 for ac_func in qfpclass
53248 do :
53249 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53250 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53251 cat >>confdefs.h <<_ACEOF
53252 #define HAVE_QFPCLASS 1
53253 _ACEOF
53254
53255 fi
53256 done
53257
53258 else
53259
53260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53261 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53262 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53263 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53264 $as_echo_n "(cached) " >&6
53265 else
53266
53267
53268 ac_ext=cpp
53269 ac_cpp='$CXXCPP $CPPFLAGS'
53270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53273
53274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53275 /* end confdefs.h. */
53276 #include <math.h>
53277 #ifdef HAVE_IEEEFP_H
53278 #include <ieeefp.h>
53279 #endif
53280
53281 int
53282 main ()
53283 {
53284 _qfpclass(0);
53285 ;
53286 return 0;
53287 }
53288 _ACEOF
53289 if ac_fn_cxx_try_compile "$LINENO"; then :
53290 glibcxx_cv_func__qfpclass_use=yes
53291 else
53292 glibcxx_cv_func__qfpclass_use=no
53293 fi
53294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53295 ac_ext=c
53296 ac_cpp='$CPP $CPPFLAGS'
53297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53300
53301
53302 fi
53303
53304 fi
53305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53306 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53307
53308 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53309 for ac_func in _qfpclass
53310 do :
53311 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53312 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53313 cat >>confdefs.h <<_ACEOF
53314 #define HAVE__QFPCLASS 1
53315 _ACEOF
53316
53317 fi
53318 done
53319
53320 fi
53321 fi
53322
53323
53324
53325
53326
53327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53328 $as_echo_n "checking for hypot declaration... " >&6; }
53329 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53330 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53331 $as_echo_n "(cached) " >&6
53332 else
53333
53334
53335 ac_ext=cpp
53336 ac_cpp='$CXXCPP $CPPFLAGS'
53337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53340
53341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53342 /* end confdefs.h. */
53343 #include <math.h>
53344 int
53345 main ()
53346 {
53347 hypot(0, 0);
53348 ;
53349 return 0;
53350 }
53351 _ACEOF
53352 if ac_fn_cxx_try_compile "$LINENO"; then :
53353 glibcxx_cv_func_hypot_use=yes
53354 else
53355 glibcxx_cv_func_hypot_use=no
53356 fi
53357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53358 ac_ext=c
53359 ac_cpp='$CPP $CPPFLAGS'
53360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53363
53364
53365 fi
53366
53367 fi
53368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53369 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53370
53371 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53372 for ac_func in hypot
53373 do :
53374 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53375 if test "x$ac_cv_func_hypot" = x""yes; then :
53376 cat >>confdefs.h <<_ACEOF
53377 #define HAVE_HYPOT 1
53378 _ACEOF
53379
53380 fi
53381 done
53382
53383 else
53384
53385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53386 $as_echo_n "checking for _hypot declaration... " >&6; }
53387 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53388 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53389 $as_echo_n "(cached) " >&6
53390 else
53391
53392
53393 ac_ext=cpp
53394 ac_cpp='$CXXCPP $CPPFLAGS'
53395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53398
53399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53400 /* end confdefs.h. */
53401 #include <math.h>
53402 int
53403 main ()
53404 {
53405 _hypot(0, 0);
53406 ;
53407 return 0;
53408 }
53409 _ACEOF
53410 if ac_fn_cxx_try_compile "$LINENO"; then :
53411 glibcxx_cv_func__hypot_use=yes
53412 else
53413 glibcxx_cv_func__hypot_use=no
53414 fi
53415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53416 ac_ext=c
53417 ac_cpp='$CPP $CPPFLAGS'
53418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53421
53422
53423 fi
53424
53425 fi
53426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53427 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53428
53429 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53430 for ac_func in _hypot
53431 do :
53432 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53433 if test "x$ac_cv_func__hypot" = x""yes; then :
53434 cat >>confdefs.h <<_ACEOF
53435 #define HAVE__HYPOT 1
53436 _ACEOF
53437
53438 fi
53439 done
53440
53441 fi
53442 fi
53443
53444
53445
53446
53447
53448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53449 $as_echo_n "checking for float trig functions... " >&6; }
53450 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53451 $as_echo_n "(cached) " >&6
53452 else
53453
53454
53455 ac_ext=cpp
53456 ac_cpp='$CXXCPP $CPPFLAGS'
53457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53460
53461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53462 /* end confdefs.h. */
53463 #include <math.h>
53464 int
53465 main ()
53466 {
53467 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53468 ;
53469 return 0;
53470 }
53471 _ACEOF
53472 if ac_fn_cxx_try_compile "$LINENO"; then :
53473 glibcxx_cv_func_float_trig_use=yes
53474 else
53475 glibcxx_cv_func_float_trig_use=no
53476 fi
53477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53478 ac_ext=c
53479 ac_cpp='$CPP $CPPFLAGS'
53480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53483
53484 fi
53485
53486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53487 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53488 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53489 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53490 do :
53491 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53492 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53493 eval as_val=\$$as_ac_var
53494 if test "x$as_val" = x""yes; then :
53495 cat >>confdefs.h <<_ACEOF
53496 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53497 _ACEOF
53498
53499 fi
53500 done
53501
53502 else
53503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53504 $as_echo_n "checking for _float trig functions... " >&6; }
53505 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53506 $as_echo_n "(cached) " >&6
53507 else
53508
53509
53510 ac_ext=cpp
53511 ac_cpp='$CXXCPP $CPPFLAGS'
53512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53515
53516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53517 /* end confdefs.h. */
53518 #include <math.h>
53519 int
53520 main ()
53521 {
53522 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53523 ;
53524 return 0;
53525 }
53526 _ACEOF
53527 if ac_fn_cxx_try_compile "$LINENO"; then :
53528 glibcxx_cv_func__float_trig_use=yes
53529 else
53530 glibcxx_cv_func__float_trig_use=no
53531 fi
53532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53533 ac_ext=c
53534 ac_cpp='$CPP $CPPFLAGS'
53535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53538
53539 fi
53540
53541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53542 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53543 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53544 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53545 do :
53546 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53547 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53548 eval as_val=\$$as_ac_var
53549 if test "x$as_val" = x""yes; then :
53550 cat >>confdefs.h <<_ACEOF
53551 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53552 _ACEOF
53553
53554 fi
53555 done
53556
53557 fi
53558 fi
53559
53560
53561
53562
53563
53564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53565 $as_echo_n "checking for float round functions... " >&6; }
53566 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53567 $as_echo_n "(cached) " >&6
53568 else
53569
53570
53571 ac_ext=cpp
53572 ac_cpp='$CXXCPP $CPPFLAGS'
53573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53576
53577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53578 /* end confdefs.h. */
53579 #include <math.h>
53580 int
53581 main ()
53582 {
53583 ceilf (0); floorf (0);
53584 ;
53585 return 0;
53586 }
53587 _ACEOF
53588 if ac_fn_cxx_try_compile "$LINENO"; then :
53589 glibcxx_cv_func_float_round_use=yes
53590 else
53591 glibcxx_cv_func_float_round_use=no
53592 fi
53593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53594 ac_ext=c
53595 ac_cpp='$CPP $CPPFLAGS'
53596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53599
53600 fi
53601
53602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53603 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53604 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53605 for ac_func in ceilf floorf
53606 do :
53607 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53608 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53609 eval as_val=\$$as_ac_var
53610 if test "x$as_val" = x""yes; then :
53611 cat >>confdefs.h <<_ACEOF
53612 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53613 _ACEOF
53614
53615 fi
53616 done
53617
53618 else
53619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53620 $as_echo_n "checking for _float round functions... " >&6; }
53621 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53622 $as_echo_n "(cached) " >&6
53623 else
53624
53625
53626 ac_ext=cpp
53627 ac_cpp='$CXXCPP $CPPFLAGS'
53628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53631
53632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53633 /* end confdefs.h. */
53634 #include <math.h>
53635 int
53636 main ()
53637 {
53638 _ceilf (0); _floorf (0);
53639 ;
53640 return 0;
53641 }
53642 _ACEOF
53643 if ac_fn_cxx_try_compile "$LINENO"; then :
53644 glibcxx_cv_func__float_round_use=yes
53645 else
53646 glibcxx_cv_func__float_round_use=no
53647 fi
53648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53649 ac_ext=c
53650 ac_cpp='$CPP $CPPFLAGS'
53651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53654
53655 fi
53656
53657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53658 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53659 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53660 for ac_func in _ceilf _floorf
53661 do :
53662 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53663 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53664 eval as_val=\$$as_ac_var
53665 if test "x$as_val" = x""yes; then :
53666 cat >>confdefs.h <<_ACEOF
53667 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53668 _ACEOF
53669
53670 fi
53671 done
53672
53673 fi
53674 fi
53675
53676
53677
53678
53679
53680
53681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53682 $as_echo_n "checking for expf declaration... " >&6; }
53683 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53684 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53685 $as_echo_n "(cached) " >&6
53686 else
53687
53688
53689 ac_ext=cpp
53690 ac_cpp='$CXXCPP $CPPFLAGS'
53691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53694
53695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53696 /* end confdefs.h. */
53697 #include <math.h>
53698 #ifdef HAVE_IEEEFP_H
53699 #include <ieeefp.h>
53700 #endif
53701
53702 int
53703 main ()
53704 {
53705 expf(0);
53706 ;
53707 return 0;
53708 }
53709 _ACEOF
53710 if ac_fn_cxx_try_compile "$LINENO"; then :
53711 glibcxx_cv_func_expf_use=yes
53712 else
53713 glibcxx_cv_func_expf_use=no
53714 fi
53715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53716 ac_ext=c
53717 ac_cpp='$CPP $CPPFLAGS'
53718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53721
53722
53723 fi
53724
53725 fi
53726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53727 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53728
53729 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53730 for ac_func in expf
53731 do :
53732 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53733 if test "x$ac_cv_func_expf" = x""yes; then :
53734 cat >>confdefs.h <<_ACEOF
53735 #define HAVE_EXPF 1
53736 _ACEOF
53737
53738 fi
53739 done
53740
53741 else
53742
53743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53744 $as_echo_n "checking for _expf declaration... " >&6; }
53745 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53746 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53747 $as_echo_n "(cached) " >&6
53748 else
53749
53750
53751 ac_ext=cpp
53752 ac_cpp='$CXXCPP $CPPFLAGS'
53753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53756
53757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53758 /* end confdefs.h. */
53759 #include <math.h>
53760 #ifdef HAVE_IEEEFP_H
53761 #include <ieeefp.h>
53762 #endif
53763
53764 int
53765 main ()
53766 {
53767 _expf(0);
53768 ;
53769 return 0;
53770 }
53771 _ACEOF
53772 if ac_fn_cxx_try_compile "$LINENO"; then :
53773 glibcxx_cv_func__expf_use=yes
53774 else
53775 glibcxx_cv_func__expf_use=no
53776 fi
53777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53778 ac_ext=c
53779 ac_cpp='$CPP $CPPFLAGS'
53780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53783
53784
53785 fi
53786
53787 fi
53788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53789 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53790
53791 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53792 for ac_func in _expf
53793 do :
53794 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53795 if test "x$ac_cv_func__expf" = x""yes; then :
53796 cat >>confdefs.h <<_ACEOF
53797 #define HAVE__EXPF 1
53798 _ACEOF
53799
53800 fi
53801 done
53802
53803 fi
53804 fi
53805
53806
53807
53808
53809
53810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53811 $as_echo_n "checking for isnanf declaration... " >&6; }
53812 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53813 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53814 $as_echo_n "(cached) " >&6
53815 else
53816
53817
53818 ac_ext=cpp
53819 ac_cpp='$CXXCPP $CPPFLAGS'
53820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53823
53824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53825 /* end confdefs.h. */
53826 #include <math.h>
53827 #ifdef HAVE_IEEEFP_H
53828 #include <ieeefp.h>
53829 #endif
53830
53831 int
53832 main ()
53833 {
53834 isnanf(0);
53835 ;
53836 return 0;
53837 }
53838 _ACEOF
53839 if ac_fn_cxx_try_compile "$LINENO"; then :
53840 glibcxx_cv_func_isnanf_use=yes
53841 else
53842 glibcxx_cv_func_isnanf_use=no
53843 fi
53844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53845 ac_ext=c
53846 ac_cpp='$CPP $CPPFLAGS'
53847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53850
53851
53852 fi
53853
53854 fi
53855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53856 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53857
53858 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53859 for ac_func in isnanf
53860 do :
53861 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53862 if test "x$ac_cv_func_isnanf" = x""yes; then :
53863 cat >>confdefs.h <<_ACEOF
53864 #define HAVE_ISNANF 1
53865 _ACEOF
53866
53867 fi
53868 done
53869
53870 else
53871
53872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53873 $as_echo_n "checking for _isnanf declaration... " >&6; }
53874 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53875 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53876 $as_echo_n "(cached) " >&6
53877 else
53878
53879
53880 ac_ext=cpp
53881 ac_cpp='$CXXCPP $CPPFLAGS'
53882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53885
53886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53887 /* end confdefs.h. */
53888 #include <math.h>
53889 #ifdef HAVE_IEEEFP_H
53890 #include <ieeefp.h>
53891 #endif
53892
53893 int
53894 main ()
53895 {
53896 _isnanf(0);
53897 ;
53898 return 0;
53899 }
53900 _ACEOF
53901 if ac_fn_cxx_try_compile "$LINENO"; then :
53902 glibcxx_cv_func__isnanf_use=yes
53903 else
53904 glibcxx_cv_func__isnanf_use=no
53905 fi
53906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53907 ac_ext=c
53908 ac_cpp='$CPP $CPPFLAGS'
53909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53912
53913
53914 fi
53915
53916 fi
53917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53918 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53919
53920 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53921 for ac_func in _isnanf
53922 do :
53923 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53924 if test "x$ac_cv_func__isnanf" = x""yes; then :
53925 cat >>confdefs.h <<_ACEOF
53926 #define HAVE__ISNANF 1
53927 _ACEOF
53928
53929 fi
53930 done
53931
53932 fi
53933 fi
53934
53935
53936
53937
53938
53939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53940 $as_echo_n "checking for isinff declaration... " >&6; }
53941 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53942 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53943 $as_echo_n "(cached) " >&6
53944 else
53945
53946
53947 ac_ext=cpp
53948 ac_cpp='$CXXCPP $CPPFLAGS'
53949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53952
53953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53954 /* end confdefs.h. */
53955 #include <math.h>
53956 #ifdef HAVE_IEEEFP_H
53957 #include <ieeefp.h>
53958 #endif
53959
53960 int
53961 main ()
53962 {
53963 isinff(0);
53964 ;
53965 return 0;
53966 }
53967 _ACEOF
53968 if ac_fn_cxx_try_compile "$LINENO"; then :
53969 glibcxx_cv_func_isinff_use=yes
53970 else
53971 glibcxx_cv_func_isinff_use=no
53972 fi
53973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53974 ac_ext=c
53975 ac_cpp='$CPP $CPPFLAGS'
53976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53979
53980
53981 fi
53982
53983 fi
53984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53985 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53986
53987 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53988 for ac_func in isinff
53989 do :
53990 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53991 if test "x$ac_cv_func_isinff" = x""yes; then :
53992 cat >>confdefs.h <<_ACEOF
53993 #define HAVE_ISINFF 1
53994 _ACEOF
53995
53996 fi
53997 done
53998
53999 else
54000
54001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54002 $as_echo_n "checking for _isinff declaration... " >&6; }
54003 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54004 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54005 $as_echo_n "(cached) " >&6
54006 else
54007
54008
54009 ac_ext=cpp
54010 ac_cpp='$CXXCPP $CPPFLAGS'
54011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54014
54015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54016 /* end confdefs.h. */
54017 #include <math.h>
54018 #ifdef HAVE_IEEEFP_H
54019 #include <ieeefp.h>
54020 #endif
54021
54022 int
54023 main ()
54024 {
54025 _isinff(0);
54026 ;
54027 return 0;
54028 }
54029 _ACEOF
54030 if ac_fn_cxx_try_compile "$LINENO"; then :
54031 glibcxx_cv_func__isinff_use=yes
54032 else
54033 glibcxx_cv_func__isinff_use=no
54034 fi
54035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54036 ac_ext=c
54037 ac_cpp='$CPP $CPPFLAGS'
54038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54041
54042
54043 fi
54044
54045 fi
54046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54047 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54048
54049 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54050 for ac_func in _isinff
54051 do :
54052 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54053 if test "x$ac_cv_func__isinff" = x""yes; then :
54054 cat >>confdefs.h <<_ACEOF
54055 #define HAVE__ISINFF 1
54056 _ACEOF
54057
54058 fi
54059 done
54060
54061 fi
54062 fi
54063
54064
54065
54066
54067
54068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54069 $as_echo_n "checking for atan2f declaration... " >&6; }
54070 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54071 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54072 $as_echo_n "(cached) " >&6
54073 else
54074
54075
54076 ac_ext=cpp
54077 ac_cpp='$CXXCPP $CPPFLAGS'
54078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54081
54082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54083 /* end confdefs.h. */
54084 #include <math.h>
54085 int
54086 main ()
54087 {
54088 atan2f(0, 0);
54089 ;
54090 return 0;
54091 }
54092 _ACEOF
54093 if ac_fn_cxx_try_compile "$LINENO"; then :
54094 glibcxx_cv_func_atan2f_use=yes
54095 else
54096 glibcxx_cv_func_atan2f_use=no
54097 fi
54098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54099 ac_ext=c
54100 ac_cpp='$CPP $CPPFLAGS'
54101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54104
54105
54106 fi
54107
54108 fi
54109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54110 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54111
54112 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54113 for ac_func in atan2f
54114 do :
54115 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54116 if test "x$ac_cv_func_atan2f" = x""yes; then :
54117 cat >>confdefs.h <<_ACEOF
54118 #define HAVE_ATAN2F 1
54119 _ACEOF
54120
54121 fi
54122 done
54123
54124 else
54125
54126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54127 $as_echo_n "checking for _atan2f declaration... " >&6; }
54128 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54129 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54130 $as_echo_n "(cached) " >&6
54131 else
54132
54133
54134 ac_ext=cpp
54135 ac_cpp='$CXXCPP $CPPFLAGS'
54136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54139
54140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54141 /* end confdefs.h. */
54142 #include <math.h>
54143 int
54144 main ()
54145 {
54146 _atan2f(0, 0);
54147 ;
54148 return 0;
54149 }
54150 _ACEOF
54151 if ac_fn_cxx_try_compile "$LINENO"; then :
54152 glibcxx_cv_func__atan2f_use=yes
54153 else
54154 glibcxx_cv_func__atan2f_use=no
54155 fi
54156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54157 ac_ext=c
54158 ac_cpp='$CPP $CPPFLAGS'
54159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54162
54163
54164 fi
54165
54166 fi
54167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54168 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54169
54170 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54171 for ac_func in _atan2f
54172 do :
54173 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54174 if test "x$ac_cv_func__atan2f" = x""yes; then :
54175 cat >>confdefs.h <<_ACEOF
54176 #define HAVE__ATAN2F 1
54177 _ACEOF
54178
54179 fi
54180 done
54181
54182 fi
54183 fi
54184
54185
54186
54187
54188
54189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54190 $as_echo_n "checking for fabsf declaration... " >&6; }
54191 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54192 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54193 $as_echo_n "(cached) " >&6
54194 else
54195
54196
54197 ac_ext=cpp
54198 ac_cpp='$CXXCPP $CPPFLAGS'
54199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54202
54203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54204 /* end confdefs.h. */
54205 #include <math.h>
54206 #ifdef HAVE_IEEEFP_H
54207 #include <ieeefp.h>
54208 #endif
54209
54210 int
54211 main ()
54212 {
54213 fabsf(0);
54214 ;
54215 return 0;
54216 }
54217 _ACEOF
54218 if ac_fn_cxx_try_compile "$LINENO"; then :
54219 glibcxx_cv_func_fabsf_use=yes
54220 else
54221 glibcxx_cv_func_fabsf_use=no
54222 fi
54223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54224 ac_ext=c
54225 ac_cpp='$CPP $CPPFLAGS'
54226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54229
54230
54231 fi
54232
54233 fi
54234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54235 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54236
54237 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54238 for ac_func in fabsf
54239 do :
54240 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54241 if test "x$ac_cv_func_fabsf" = x""yes; then :
54242 cat >>confdefs.h <<_ACEOF
54243 #define HAVE_FABSF 1
54244 _ACEOF
54245
54246 fi
54247 done
54248
54249 else
54250
54251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54252 $as_echo_n "checking for _fabsf declaration... " >&6; }
54253 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54254 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54255 $as_echo_n "(cached) " >&6
54256 else
54257
54258
54259 ac_ext=cpp
54260 ac_cpp='$CXXCPP $CPPFLAGS'
54261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54264
54265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54266 /* end confdefs.h. */
54267 #include <math.h>
54268 #ifdef HAVE_IEEEFP_H
54269 #include <ieeefp.h>
54270 #endif
54271
54272 int
54273 main ()
54274 {
54275 _fabsf(0);
54276 ;
54277 return 0;
54278 }
54279 _ACEOF
54280 if ac_fn_cxx_try_compile "$LINENO"; then :
54281 glibcxx_cv_func__fabsf_use=yes
54282 else
54283 glibcxx_cv_func__fabsf_use=no
54284 fi
54285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54286 ac_ext=c
54287 ac_cpp='$CPP $CPPFLAGS'
54288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54291
54292
54293 fi
54294
54295 fi
54296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54297 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54298
54299 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54300 for ac_func in _fabsf
54301 do :
54302 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54303 if test "x$ac_cv_func__fabsf" = x""yes; then :
54304 cat >>confdefs.h <<_ACEOF
54305 #define HAVE__FABSF 1
54306 _ACEOF
54307
54308 fi
54309 done
54310
54311 fi
54312 fi
54313
54314
54315
54316
54317
54318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54319 $as_echo_n "checking for fmodf declaration... " >&6; }
54320 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54321 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54322 $as_echo_n "(cached) " >&6
54323 else
54324
54325
54326 ac_ext=cpp
54327 ac_cpp='$CXXCPP $CPPFLAGS'
54328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54331
54332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54333 /* end confdefs.h. */
54334 #include <math.h>
54335 int
54336 main ()
54337 {
54338 fmodf(0, 0);
54339 ;
54340 return 0;
54341 }
54342 _ACEOF
54343 if ac_fn_cxx_try_compile "$LINENO"; then :
54344 glibcxx_cv_func_fmodf_use=yes
54345 else
54346 glibcxx_cv_func_fmodf_use=no
54347 fi
54348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54349 ac_ext=c
54350 ac_cpp='$CPP $CPPFLAGS'
54351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54354
54355
54356 fi
54357
54358 fi
54359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54360 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54361
54362 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54363 for ac_func in fmodf
54364 do :
54365 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54366 if test "x$ac_cv_func_fmodf" = x""yes; then :
54367 cat >>confdefs.h <<_ACEOF
54368 #define HAVE_FMODF 1
54369 _ACEOF
54370
54371 fi
54372 done
54373
54374 else
54375
54376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54377 $as_echo_n "checking for _fmodf declaration... " >&6; }
54378 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54379 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54380 $as_echo_n "(cached) " >&6
54381 else
54382
54383
54384 ac_ext=cpp
54385 ac_cpp='$CXXCPP $CPPFLAGS'
54386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54389
54390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54391 /* end confdefs.h. */
54392 #include <math.h>
54393 int
54394 main ()
54395 {
54396 _fmodf(0, 0);
54397 ;
54398 return 0;
54399 }
54400 _ACEOF
54401 if ac_fn_cxx_try_compile "$LINENO"; then :
54402 glibcxx_cv_func__fmodf_use=yes
54403 else
54404 glibcxx_cv_func__fmodf_use=no
54405 fi
54406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54407 ac_ext=c
54408 ac_cpp='$CPP $CPPFLAGS'
54409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54412
54413
54414 fi
54415
54416 fi
54417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54418 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54419
54420 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54421 for ac_func in _fmodf
54422 do :
54423 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54424 if test "x$ac_cv_func__fmodf" = x""yes; then :
54425 cat >>confdefs.h <<_ACEOF
54426 #define HAVE__FMODF 1
54427 _ACEOF
54428
54429 fi
54430 done
54431
54432 fi
54433 fi
54434
54435
54436
54437
54438
54439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54440 $as_echo_n "checking for frexpf declaration... " >&6; }
54441 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54442 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54443 $as_echo_n "(cached) " >&6
54444 else
54445
54446
54447 ac_ext=cpp
54448 ac_cpp='$CXXCPP $CPPFLAGS'
54449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54452
54453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54454 /* end confdefs.h. */
54455 #include <math.h>
54456 int
54457 main ()
54458 {
54459 frexpf(0, 0);
54460 ;
54461 return 0;
54462 }
54463 _ACEOF
54464 if ac_fn_cxx_try_compile "$LINENO"; then :
54465 glibcxx_cv_func_frexpf_use=yes
54466 else
54467 glibcxx_cv_func_frexpf_use=no
54468 fi
54469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54470 ac_ext=c
54471 ac_cpp='$CPP $CPPFLAGS'
54472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54475
54476
54477 fi
54478
54479 fi
54480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54481 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54482
54483 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54484 for ac_func in frexpf
54485 do :
54486 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54487 if test "x$ac_cv_func_frexpf" = x""yes; then :
54488 cat >>confdefs.h <<_ACEOF
54489 #define HAVE_FREXPF 1
54490 _ACEOF
54491
54492 fi
54493 done
54494
54495 else
54496
54497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54498 $as_echo_n "checking for _frexpf declaration... " >&6; }
54499 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54500 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54501 $as_echo_n "(cached) " >&6
54502 else
54503
54504
54505 ac_ext=cpp
54506 ac_cpp='$CXXCPP $CPPFLAGS'
54507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54510
54511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54512 /* end confdefs.h. */
54513 #include <math.h>
54514 int
54515 main ()
54516 {
54517 _frexpf(0, 0);
54518 ;
54519 return 0;
54520 }
54521 _ACEOF
54522 if ac_fn_cxx_try_compile "$LINENO"; then :
54523 glibcxx_cv_func__frexpf_use=yes
54524 else
54525 glibcxx_cv_func__frexpf_use=no
54526 fi
54527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54528 ac_ext=c
54529 ac_cpp='$CPP $CPPFLAGS'
54530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54533
54534
54535 fi
54536
54537 fi
54538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54539 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54540
54541 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54542 for ac_func in _frexpf
54543 do :
54544 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54545 if test "x$ac_cv_func__frexpf" = x""yes; then :
54546 cat >>confdefs.h <<_ACEOF
54547 #define HAVE__FREXPF 1
54548 _ACEOF
54549
54550 fi
54551 done
54552
54553 fi
54554 fi
54555
54556
54557
54558
54559
54560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54561 $as_echo_n "checking for hypotf declaration... " >&6; }
54562 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54563 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54564 $as_echo_n "(cached) " >&6
54565 else
54566
54567
54568 ac_ext=cpp
54569 ac_cpp='$CXXCPP $CPPFLAGS'
54570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54573
54574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54575 /* end confdefs.h. */
54576 #include <math.h>
54577 int
54578 main ()
54579 {
54580 hypotf(0, 0);
54581 ;
54582 return 0;
54583 }
54584 _ACEOF
54585 if ac_fn_cxx_try_compile "$LINENO"; then :
54586 glibcxx_cv_func_hypotf_use=yes
54587 else
54588 glibcxx_cv_func_hypotf_use=no
54589 fi
54590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54591 ac_ext=c
54592 ac_cpp='$CPP $CPPFLAGS'
54593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54596
54597
54598 fi
54599
54600 fi
54601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54602 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54603
54604 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54605 for ac_func in hypotf
54606 do :
54607 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54608 if test "x$ac_cv_func_hypotf" = x""yes; then :
54609 cat >>confdefs.h <<_ACEOF
54610 #define HAVE_HYPOTF 1
54611 _ACEOF
54612
54613 fi
54614 done
54615
54616 else
54617
54618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54619 $as_echo_n "checking for _hypotf declaration... " >&6; }
54620 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54621 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54622 $as_echo_n "(cached) " >&6
54623 else
54624
54625
54626 ac_ext=cpp
54627 ac_cpp='$CXXCPP $CPPFLAGS'
54628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54631
54632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54633 /* end confdefs.h. */
54634 #include <math.h>
54635 int
54636 main ()
54637 {
54638 _hypotf(0, 0);
54639 ;
54640 return 0;
54641 }
54642 _ACEOF
54643 if ac_fn_cxx_try_compile "$LINENO"; then :
54644 glibcxx_cv_func__hypotf_use=yes
54645 else
54646 glibcxx_cv_func__hypotf_use=no
54647 fi
54648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54649 ac_ext=c
54650 ac_cpp='$CPP $CPPFLAGS'
54651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54654
54655
54656 fi
54657
54658 fi
54659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54660 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54661
54662 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54663 for ac_func in _hypotf
54664 do :
54665 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54666 if test "x$ac_cv_func__hypotf" = x""yes; then :
54667 cat >>confdefs.h <<_ACEOF
54668 #define HAVE__HYPOTF 1
54669 _ACEOF
54670
54671 fi
54672 done
54673
54674 fi
54675 fi
54676
54677
54678
54679
54680
54681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54682 $as_echo_n "checking for ldexpf declaration... " >&6; }
54683 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54684 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54685 $as_echo_n "(cached) " >&6
54686 else
54687
54688
54689 ac_ext=cpp
54690 ac_cpp='$CXXCPP $CPPFLAGS'
54691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54694
54695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54696 /* end confdefs.h. */
54697 #include <math.h>
54698 int
54699 main ()
54700 {
54701 ldexpf(0, 0);
54702 ;
54703 return 0;
54704 }
54705 _ACEOF
54706 if ac_fn_cxx_try_compile "$LINENO"; then :
54707 glibcxx_cv_func_ldexpf_use=yes
54708 else
54709 glibcxx_cv_func_ldexpf_use=no
54710 fi
54711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54712 ac_ext=c
54713 ac_cpp='$CPP $CPPFLAGS'
54714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54717
54718
54719 fi
54720
54721 fi
54722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54723 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54724
54725 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54726 for ac_func in ldexpf
54727 do :
54728 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54729 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54730 cat >>confdefs.h <<_ACEOF
54731 #define HAVE_LDEXPF 1
54732 _ACEOF
54733
54734 fi
54735 done
54736
54737 else
54738
54739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54740 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54741 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54742 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54743 $as_echo_n "(cached) " >&6
54744 else
54745
54746
54747 ac_ext=cpp
54748 ac_cpp='$CXXCPP $CPPFLAGS'
54749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54752
54753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54754 /* end confdefs.h. */
54755 #include <math.h>
54756 int
54757 main ()
54758 {
54759 _ldexpf(0, 0);
54760 ;
54761 return 0;
54762 }
54763 _ACEOF
54764 if ac_fn_cxx_try_compile "$LINENO"; then :
54765 glibcxx_cv_func__ldexpf_use=yes
54766 else
54767 glibcxx_cv_func__ldexpf_use=no
54768 fi
54769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54770 ac_ext=c
54771 ac_cpp='$CPP $CPPFLAGS'
54772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54775
54776
54777 fi
54778
54779 fi
54780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54781 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54782
54783 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54784 for ac_func in _ldexpf
54785 do :
54786 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54787 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54788 cat >>confdefs.h <<_ACEOF
54789 #define HAVE__LDEXPF 1
54790 _ACEOF
54791
54792 fi
54793 done
54794
54795 fi
54796 fi
54797
54798
54799
54800
54801
54802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54803 $as_echo_n "checking for logf declaration... " >&6; }
54804 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54805 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54806 $as_echo_n "(cached) " >&6
54807 else
54808
54809
54810 ac_ext=cpp
54811 ac_cpp='$CXXCPP $CPPFLAGS'
54812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54815
54816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54817 /* end confdefs.h. */
54818 #include <math.h>
54819 #ifdef HAVE_IEEEFP_H
54820 #include <ieeefp.h>
54821 #endif
54822
54823 int
54824 main ()
54825 {
54826 logf(0);
54827 ;
54828 return 0;
54829 }
54830 _ACEOF
54831 if ac_fn_cxx_try_compile "$LINENO"; then :
54832 glibcxx_cv_func_logf_use=yes
54833 else
54834 glibcxx_cv_func_logf_use=no
54835 fi
54836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54837 ac_ext=c
54838 ac_cpp='$CPP $CPPFLAGS'
54839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54842
54843
54844 fi
54845
54846 fi
54847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54848 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54849
54850 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54851 for ac_func in logf
54852 do :
54853 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54854 if test "x$ac_cv_func_logf" = x""yes; then :
54855 cat >>confdefs.h <<_ACEOF
54856 #define HAVE_LOGF 1
54857 _ACEOF
54858
54859 fi
54860 done
54861
54862 else
54863
54864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54865 $as_echo_n "checking for _logf declaration... " >&6; }
54866 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54867 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54868 $as_echo_n "(cached) " >&6
54869 else
54870
54871
54872 ac_ext=cpp
54873 ac_cpp='$CXXCPP $CPPFLAGS'
54874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54877
54878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54879 /* end confdefs.h. */
54880 #include <math.h>
54881 #ifdef HAVE_IEEEFP_H
54882 #include <ieeefp.h>
54883 #endif
54884
54885 int
54886 main ()
54887 {
54888 _logf(0);
54889 ;
54890 return 0;
54891 }
54892 _ACEOF
54893 if ac_fn_cxx_try_compile "$LINENO"; then :
54894 glibcxx_cv_func__logf_use=yes
54895 else
54896 glibcxx_cv_func__logf_use=no
54897 fi
54898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54899 ac_ext=c
54900 ac_cpp='$CPP $CPPFLAGS'
54901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54904
54905
54906 fi
54907
54908 fi
54909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54910 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54911
54912 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54913 for ac_func in _logf
54914 do :
54915 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54916 if test "x$ac_cv_func__logf" = x""yes; then :
54917 cat >>confdefs.h <<_ACEOF
54918 #define HAVE__LOGF 1
54919 _ACEOF
54920
54921 fi
54922 done
54923
54924 fi
54925 fi
54926
54927
54928
54929
54930
54931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54932 $as_echo_n "checking for log10f declaration... " >&6; }
54933 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54934 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54935 $as_echo_n "(cached) " >&6
54936 else
54937
54938
54939 ac_ext=cpp
54940 ac_cpp='$CXXCPP $CPPFLAGS'
54941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54944
54945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54946 /* end confdefs.h. */
54947 #include <math.h>
54948 #ifdef HAVE_IEEEFP_H
54949 #include <ieeefp.h>
54950 #endif
54951
54952 int
54953 main ()
54954 {
54955 log10f(0);
54956 ;
54957 return 0;
54958 }
54959 _ACEOF
54960 if ac_fn_cxx_try_compile "$LINENO"; then :
54961 glibcxx_cv_func_log10f_use=yes
54962 else
54963 glibcxx_cv_func_log10f_use=no
54964 fi
54965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54966 ac_ext=c
54967 ac_cpp='$CPP $CPPFLAGS'
54968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54971
54972
54973 fi
54974
54975 fi
54976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54977 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54978
54979 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54980 for ac_func in log10f
54981 do :
54982 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54983 if test "x$ac_cv_func_log10f" = x""yes; then :
54984 cat >>confdefs.h <<_ACEOF
54985 #define HAVE_LOG10F 1
54986 _ACEOF
54987
54988 fi
54989 done
54990
54991 else
54992
54993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54994 $as_echo_n "checking for _log10f declaration... " >&6; }
54995 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54996 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54997 $as_echo_n "(cached) " >&6
54998 else
54999
55000
55001 ac_ext=cpp
55002 ac_cpp='$CXXCPP $CPPFLAGS'
55003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55006
55007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55008 /* end confdefs.h. */
55009 #include <math.h>
55010 #ifdef HAVE_IEEEFP_H
55011 #include <ieeefp.h>
55012 #endif
55013
55014 int
55015 main ()
55016 {
55017 _log10f(0);
55018 ;
55019 return 0;
55020 }
55021 _ACEOF
55022 if ac_fn_cxx_try_compile "$LINENO"; then :
55023 glibcxx_cv_func__log10f_use=yes
55024 else
55025 glibcxx_cv_func__log10f_use=no
55026 fi
55027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55028 ac_ext=c
55029 ac_cpp='$CPP $CPPFLAGS'
55030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55033
55034
55035 fi
55036
55037 fi
55038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55039 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55040
55041 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55042 for ac_func in _log10f
55043 do :
55044 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55045 if test "x$ac_cv_func__log10f" = x""yes; then :
55046 cat >>confdefs.h <<_ACEOF
55047 #define HAVE__LOG10F 1
55048 _ACEOF
55049
55050 fi
55051 done
55052
55053 fi
55054 fi
55055
55056
55057
55058
55059
55060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55061 $as_echo_n "checking for modff declaration... " >&6; }
55062 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55063 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55064 $as_echo_n "(cached) " >&6
55065 else
55066
55067
55068 ac_ext=cpp
55069 ac_cpp='$CXXCPP $CPPFLAGS'
55070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55073
55074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55075 /* end confdefs.h. */
55076 #include <math.h>
55077 int
55078 main ()
55079 {
55080 modff(0, 0);
55081 ;
55082 return 0;
55083 }
55084 _ACEOF
55085 if ac_fn_cxx_try_compile "$LINENO"; then :
55086 glibcxx_cv_func_modff_use=yes
55087 else
55088 glibcxx_cv_func_modff_use=no
55089 fi
55090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55091 ac_ext=c
55092 ac_cpp='$CPP $CPPFLAGS'
55093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55096
55097
55098 fi
55099
55100 fi
55101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55102 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55103
55104 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55105 for ac_func in modff
55106 do :
55107 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55108 if test "x$ac_cv_func_modff" = x""yes; then :
55109 cat >>confdefs.h <<_ACEOF
55110 #define HAVE_MODFF 1
55111 _ACEOF
55112
55113 fi
55114 done
55115
55116 else
55117
55118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55119 $as_echo_n "checking for _modff declaration... " >&6; }
55120 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55121 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55122 $as_echo_n "(cached) " >&6
55123 else
55124
55125
55126 ac_ext=cpp
55127 ac_cpp='$CXXCPP $CPPFLAGS'
55128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55131
55132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55133 /* end confdefs.h. */
55134 #include <math.h>
55135 int
55136 main ()
55137 {
55138 _modff(0, 0);
55139 ;
55140 return 0;
55141 }
55142 _ACEOF
55143 if ac_fn_cxx_try_compile "$LINENO"; then :
55144 glibcxx_cv_func__modff_use=yes
55145 else
55146 glibcxx_cv_func__modff_use=no
55147 fi
55148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55149 ac_ext=c
55150 ac_cpp='$CPP $CPPFLAGS'
55151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55154
55155
55156 fi
55157
55158 fi
55159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55160 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55161
55162 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55163 for ac_func in _modff
55164 do :
55165 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55166 if test "x$ac_cv_func__modff" = x""yes; then :
55167 cat >>confdefs.h <<_ACEOF
55168 #define HAVE__MODFF 1
55169 _ACEOF
55170
55171 fi
55172 done
55173
55174 fi
55175 fi
55176
55177
55178
55179
55180
55181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55182 $as_echo_n "checking for modf declaration... " >&6; }
55183 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55184 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55185 $as_echo_n "(cached) " >&6
55186 else
55187
55188
55189 ac_ext=cpp
55190 ac_cpp='$CXXCPP $CPPFLAGS'
55191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55194
55195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55196 /* end confdefs.h. */
55197 #include <math.h>
55198 int
55199 main ()
55200 {
55201 modf(0, 0);
55202 ;
55203 return 0;
55204 }
55205 _ACEOF
55206 if ac_fn_cxx_try_compile "$LINENO"; then :
55207 glibcxx_cv_func_modf_use=yes
55208 else
55209 glibcxx_cv_func_modf_use=no
55210 fi
55211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55212 ac_ext=c
55213 ac_cpp='$CPP $CPPFLAGS'
55214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55217
55218
55219 fi
55220
55221 fi
55222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55223 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55224
55225 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55226 for ac_func in modf
55227 do :
55228 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55229 if test "x$ac_cv_func_modf" = x""yes; then :
55230 cat >>confdefs.h <<_ACEOF
55231 #define HAVE_MODF 1
55232 _ACEOF
55233
55234 fi
55235 done
55236
55237 else
55238
55239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55240 $as_echo_n "checking for _modf declaration... " >&6; }
55241 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55242 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55243 $as_echo_n "(cached) " >&6
55244 else
55245
55246
55247 ac_ext=cpp
55248 ac_cpp='$CXXCPP $CPPFLAGS'
55249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55252
55253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55254 /* end confdefs.h. */
55255 #include <math.h>
55256 int
55257 main ()
55258 {
55259 _modf(0, 0);
55260 ;
55261 return 0;
55262 }
55263 _ACEOF
55264 if ac_fn_cxx_try_compile "$LINENO"; then :
55265 glibcxx_cv_func__modf_use=yes
55266 else
55267 glibcxx_cv_func__modf_use=no
55268 fi
55269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55270 ac_ext=c
55271 ac_cpp='$CPP $CPPFLAGS'
55272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55275
55276
55277 fi
55278
55279 fi
55280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55281 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55282
55283 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55284 for ac_func in _modf
55285 do :
55286 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55287 if test "x$ac_cv_func__modf" = x""yes; then :
55288 cat >>confdefs.h <<_ACEOF
55289 #define HAVE__MODF 1
55290 _ACEOF
55291
55292 fi
55293 done
55294
55295 fi
55296 fi
55297
55298
55299
55300
55301
55302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55303 $as_echo_n "checking for powf declaration... " >&6; }
55304 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55305 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55306 $as_echo_n "(cached) " >&6
55307 else
55308
55309
55310 ac_ext=cpp
55311 ac_cpp='$CXXCPP $CPPFLAGS'
55312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55315
55316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55317 /* end confdefs.h. */
55318 #include <math.h>
55319 int
55320 main ()
55321 {
55322 powf(0, 0);
55323 ;
55324 return 0;
55325 }
55326 _ACEOF
55327 if ac_fn_cxx_try_compile "$LINENO"; then :
55328 glibcxx_cv_func_powf_use=yes
55329 else
55330 glibcxx_cv_func_powf_use=no
55331 fi
55332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55333 ac_ext=c
55334 ac_cpp='$CPP $CPPFLAGS'
55335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55338
55339
55340 fi
55341
55342 fi
55343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55344 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55345
55346 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55347 for ac_func in powf
55348 do :
55349 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55350 if test "x$ac_cv_func_powf" = x""yes; then :
55351 cat >>confdefs.h <<_ACEOF
55352 #define HAVE_POWF 1
55353 _ACEOF
55354
55355 fi
55356 done
55357
55358 else
55359
55360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55361 $as_echo_n "checking for _powf declaration... " >&6; }
55362 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55363 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55364 $as_echo_n "(cached) " >&6
55365 else
55366
55367
55368 ac_ext=cpp
55369 ac_cpp='$CXXCPP $CPPFLAGS'
55370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55373
55374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55375 /* end confdefs.h. */
55376 #include <math.h>
55377 int
55378 main ()
55379 {
55380 _powf(0, 0);
55381 ;
55382 return 0;
55383 }
55384 _ACEOF
55385 if ac_fn_cxx_try_compile "$LINENO"; then :
55386 glibcxx_cv_func__powf_use=yes
55387 else
55388 glibcxx_cv_func__powf_use=no
55389 fi
55390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55391 ac_ext=c
55392 ac_cpp='$CPP $CPPFLAGS'
55393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55396
55397
55398 fi
55399
55400 fi
55401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55402 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55403
55404 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55405 for ac_func in _powf
55406 do :
55407 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55408 if test "x$ac_cv_func__powf" = x""yes; then :
55409 cat >>confdefs.h <<_ACEOF
55410 #define HAVE__POWF 1
55411 _ACEOF
55412
55413 fi
55414 done
55415
55416 fi
55417 fi
55418
55419
55420
55421
55422
55423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55424 $as_echo_n "checking for sqrtf declaration... " >&6; }
55425 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55426 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55427 $as_echo_n "(cached) " >&6
55428 else
55429
55430
55431 ac_ext=cpp
55432 ac_cpp='$CXXCPP $CPPFLAGS'
55433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55436
55437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55438 /* end confdefs.h. */
55439 #include <math.h>
55440 #ifdef HAVE_IEEEFP_H
55441 #include <ieeefp.h>
55442 #endif
55443
55444 int
55445 main ()
55446 {
55447 sqrtf(0);
55448 ;
55449 return 0;
55450 }
55451 _ACEOF
55452 if ac_fn_cxx_try_compile "$LINENO"; then :
55453 glibcxx_cv_func_sqrtf_use=yes
55454 else
55455 glibcxx_cv_func_sqrtf_use=no
55456 fi
55457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55458 ac_ext=c
55459 ac_cpp='$CPP $CPPFLAGS'
55460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55463
55464
55465 fi
55466
55467 fi
55468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55469 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55470
55471 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55472 for ac_func in sqrtf
55473 do :
55474 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55475 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55476 cat >>confdefs.h <<_ACEOF
55477 #define HAVE_SQRTF 1
55478 _ACEOF
55479
55480 fi
55481 done
55482
55483 else
55484
55485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55486 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55487 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55488 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55489 $as_echo_n "(cached) " >&6
55490 else
55491
55492
55493 ac_ext=cpp
55494 ac_cpp='$CXXCPP $CPPFLAGS'
55495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55498
55499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55500 /* end confdefs.h. */
55501 #include <math.h>
55502 #ifdef HAVE_IEEEFP_H
55503 #include <ieeefp.h>
55504 #endif
55505
55506 int
55507 main ()
55508 {
55509 _sqrtf(0);
55510 ;
55511 return 0;
55512 }
55513 _ACEOF
55514 if ac_fn_cxx_try_compile "$LINENO"; then :
55515 glibcxx_cv_func__sqrtf_use=yes
55516 else
55517 glibcxx_cv_func__sqrtf_use=no
55518 fi
55519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55520 ac_ext=c
55521 ac_cpp='$CPP $CPPFLAGS'
55522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55525
55526
55527 fi
55528
55529 fi
55530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55531 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55532
55533 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55534 for ac_func in _sqrtf
55535 do :
55536 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55537 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55538 cat >>confdefs.h <<_ACEOF
55539 #define HAVE__SQRTF 1
55540 _ACEOF
55541
55542 fi
55543 done
55544
55545 fi
55546 fi
55547
55548
55549
55550
55551
55552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55553 $as_echo_n "checking for sincosf declaration... " >&6; }
55554 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55555 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55556 $as_echo_n "(cached) " >&6
55557 else
55558
55559
55560 ac_ext=cpp
55561 ac_cpp='$CXXCPP $CPPFLAGS'
55562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55565
55566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55567 /* end confdefs.h. */
55568 #include <math.h>
55569 int
55570 main ()
55571 {
55572 sincosf(0, 0, 0);
55573 ;
55574 return 0;
55575 }
55576 _ACEOF
55577 if ac_fn_cxx_try_compile "$LINENO"; then :
55578 glibcxx_cv_func_sincosf_use=yes
55579 else
55580 glibcxx_cv_func_sincosf_use=no
55581 fi
55582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55583 ac_ext=c
55584 ac_cpp='$CPP $CPPFLAGS'
55585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55588
55589
55590 fi
55591
55592 fi
55593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55594 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55595
55596 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55597 for ac_func in sincosf
55598 do :
55599 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55600 if test "x$ac_cv_func_sincosf" = x""yes; then :
55601 cat >>confdefs.h <<_ACEOF
55602 #define HAVE_SINCOSF 1
55603 _ACEOF
55604
55605 fi
55606 done
55607
55608 else
55609
55610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55611 $as_echo_n "checking for _sincosf declaration... " >&6; }
55612 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55613 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55614 $as_echo_n "(cached) " >&6
55615 else
55616
55617
55618 ac_ext=cpp
55619 ac_cpp='$CXXCPP $CPPFLAGS'
55620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55623
55624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55625 /* end confdefs.h. */
55626 #include <math.h>
55627 int
55628 main ()
55629 {
55630 _sincosf(0, 0, 0);
55631 ;
55632 return 0;
55633 }
55634 _ACEOF
55635 if ac_fn_cxx_try_compile "$LINENO"; then :
55636 glibcxx_cv_func__sincosf_use=yes
55637 else
55638 glibcxx_cv_func__sincosf_use=no
55639 fi
55640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55641 ac_ext=c
55642 ac_cpp='$CPP $CPPFLAGS'
55643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55646
55647
55648 fi
55649
55650 fi
55651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55652 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55653
55654 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55655 for ac_func in _sincosf
55656 do :
55657 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55658 if test "x$ac_cv_func__sincosf" = x""yes; then :
55659 cat >>confdefs.h <<_ACEOF
55660 #define HAVE__SINCOSF 1
55661 _ACEOF
55662
55663 fi
55664 done
55665
55666 fi
55667 fi
55668
55669
55670
55671
55672
55673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55674 $as_echo_n "checking for finitef declaration... " >&6; }
55675 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55676 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55677 $as_echo_n "(cached) " >&6
55678 else
55679
55680
55681 ac_ext=cpp
55682 ac_cpp='$CXXCPP $CPPFLAGS'
55683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55686
55687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55688 /* end confdefs.h. */
55689 #include <math.h>
55690 #ifdef HAVE_IEEEFP_H
55691 #include <ieeefp.h>
55692 #endif
55693
55694 int
55695 main ()
55696 {
55697 finitef(0);
55698 ;
55699 return 0;
55700 }
55701 _ACEOF
55702 if ac_fn_cxx_try_compile "$LINENO"; then :
55703 glibcxx_cv_func_finitef_use=yes
55704 else
55705 glibcxx_cv_func_finitef_use=no
55706 fi
55707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55708 ac_ext=c
55709 ac_cpp='$CPP $CPPFLAGS'
55710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55713
55714
55715 fi
55716
55717 fi
55718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55719 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55720
55721 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55722 for ac_func in finitef
55723 do :
55724 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55725 if test "x$ac_cv_func_finitef" = x""yes; then :
55726 cat >>confdefs.h <<_ACEOF
55727 #define HAVE_FINITEF 1
55728 _ACEOF
55729
55730 fi
55731 done
55732
55733 else
55734
55735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55736 $as_echo_n "checking for _finitef declaration... " >&6; }
55737 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55738 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55739 $as_echo_n "(cached) " >&6
55740 else
55741
55742
55743 ac_ext=cpp
55744 ac_cpp='$CXXCPP $CPPFLAGS'
55745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55748
55749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55750 /* end confdefs.h. */
55751 #include <math.h>
55752 #ifdef HAVE_IEEEFP_H
55753 #include <ieeefp.h>
55754 #endif
55755
55756 int
55757 main ()
55758 {
55759 _finitef(0);
55760 ;
55761 return 0;
55762 }
55763 _ACEOF
55764 if ac_fn_cxx_try_compile "$LINENO"; then :
55765 glibcxx_cv_func__finitef_use=yes
55766 else
55767 glibcxx_cv_func__finitef_use=no
55768 fi
55769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55770 ac_ext=c
55771 ac_cpp='$CPP $CPPFLAGS'
55772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55775
55776
55777 fi
55778
55779 fi
55780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55781 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55782
55783 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55784 for ac_func in _finitef
55785 do :
55786 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55787 if test "x$ac_cv_func__finitef" = x""yes; then :
55788 cat >>confdefs.h <<_ACEOF
55789 #define HAVE__FINITEF 1
55790 _ACEOF
55791
55792 fi
55793 done
55794
55795 fi
55796 fi
55797
55798
55799
55800
55801
55802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55803 $as_echo_n "checking for long double trig functions... " >&6; }
55804 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55805 $as_echo_n "(cached) " >&6
55806 else
55807
55808
55809 ac_ext=cpp
55810 ac_cpp='$CXXCPP $CPPFLAGS'
55811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55814
55815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55816 /* end confdefs.h. */
55817 #include <math.h>
55818 int
55819 main ()
55820 {
55821 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55822 ;
55823 return 0;
55824 }
55825 _ACEOF
55826 if ac_fn_cxx_try_compile "$LINENO"; then :
55827 glibcxx_cv_func_long_double_trig_use=yes
55828 else
55829 glibcxx_cv_func_long_double_trig_use=no
55830 fi
55831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55832 ac_ext=c
55833 ac_cpp='$CPP $CPPFLAGS'
55834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55837
55838 fi
55839
55840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55841 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55842 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55843 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55844 do :
55845 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55846 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55847 eval as_val=\$$as_ac_var
55848 if test "x$as_val" = x""yes; then :
55849 cat >>confdefs.h <<_ACEOF
55850 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55851 _ACEOF
55852
55853 fi
55854 done
55855
55856 else
55857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55858 $as_echo_n "checking for _long double trig functions... " >&6; }
55859 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55860 $as_echo_n "(cached) " >&6
55861 else
55862
55863
55864 ac_ext=cpp
55865 ac_cpp='$CXXCPP $CPPFLAGS'
55866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55869
55870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55871 /* end confdefs.h. */
55872 #include <math.h>
55873 int
55874 main ()
55875 {
55876 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55877 ;
55878 return 0;
55879 }
55880 _ACEOF
55881 if ac_fn_cxx_try_compile "$LINENO"; then :
55882 glibcxx_cv_func__long_double_trig_use=yes
55883 else
55884 glibcxx_cv_func__long_double_trig_use=no
55885 fi
55886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55887 ac_ext=c
55888 ac_cpp='$CPP $CPPFLAGS'
55889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55892
55893 fi
55894
55895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55896 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55897 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55898 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55899 do :
55900 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55901 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55902 eval as_val=\$$as_ac_var
55903 if test "x$as_val" = x""yes; then :
55904 cat >>confdefs.h <<_ACEOF
55905 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55906 _ACEOF
55907
55908 fi
55909 done
55910
55911 fi
55912 fi
55913
55914
55915
55916
55917
55918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55919 $as_echo_n "checking for long double round functions... " >&6; }
55920 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55921 $as_echo_n "(cached) " >&6
55922 else
55923
55924
55925 ac_ext=cpp
55926 ac_cpp='$CXXCPP $CPPFLAGS'
55927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55930
55931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55932 /* end confdefs.h. */
55933 #include <math.h>
55934 int
55935 main ()
55936 {
55937 ceill (0); floorl (0);
55938 ;
55939 return 0;
55940 }
55941 _ACEOF
55942 if ac_fn_cxx_try_compile "$LINENO"; then :
55943 glibcxx_cv_func_long_double_round_use=yes
55944 else
55945 glibcxx_cv_func_long_double_round_use=no
55946 fi
55947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55948 ac_ext=c
55949 ac_cpp='$CPP $CPPFLAGS'
55950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55953
55954 fi
55955
55956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55957 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55958 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55959 for ac_func in ceill floorl
55960 do :
55961 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55962 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55963 eval as_val=\$$as_ac_var
55964 if test "x$as_val" = x""yes; then :
55965 cat >>confdefs.h <<_ACEOF
55966 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55967 _ACEOF
55968
55969 fi
55970 done
55971
55972 else
55973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55974 $as_echo_n "checking for _long double round functions... " >&6; }
55975 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55976 $as_echo_n "(cached) " >&6
55977 else
55978
55979
55980 ac_ext=cpp
55981 ac_cpp='$CXXCPP $CPPFLAGS'
55982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55985
55986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55987 /* end confdefs.h. */
55988 #include <math.h>
55989 int
55990 main ()
55991 {
55992 _ceill (0); _floorl (0);
55993 ;
55994 return 0;
55995 }
55996 _ACEOF
55997 if ac_fn_cxx_try_compile "$LINENO"; then :
55998 glibcxx_cv_func__long_double_round_use=yes
55999 else
56000 glibcxx_cv_func__long_double_round_use=no
56001 fi
56002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56003 ac_ext=c
56004 ac_cpp='$CPP $CPPFLAGS'
56005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56008
56009 fi
56010
56011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56012 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56013 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56014 for ac_func in _ceill _floorl
56015 do :
56016 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56017 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56018 eval as_val=\$$as_ac_var
56019 if test "x$as_val" = x""yes; then :
56020 cat >>confdefs.h <<_ACEOF
56021 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56022 _ACEOF
56023
56024 fi
56025 done
56026
56027 fi
56028 fi
56029
56030
56031
56032
56033
56034
56035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56036 $as_echo_n "checking for isnanl declaration... " >&6; }
56037 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56038 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56039 $as_echo_n "(cached) " >&6
56040 else
56041
56042
56043 ac_ext=cpp
56044 ac_cpp='$CXXCPP $CPPFLAGS'
56045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56048
56049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56050 /* end confdefs.h. */
56051 #include <math.h>
56052 #ifdef HAVE_IEEEFP_H
56053 #include <ieeefp.h>
56054 #endif
56055
56056 int
56057 main ()
56058 {
56059 isnanl(0);
56060 ;
56061 return 0;
56062 }
56063 _ACEOF
56064 if ac_fn_cxx_try_compile "$LINENO"; then :
56065 glibcxx_cv_func_isnanl_use=yes
56066 else
56067 glibcxx_cv_func_isnanl_use=no
56068 fi
56069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56070 ac_ext=c
56071 ac_cpp='$CPP $CPPFLAGS'
56072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56075
56076
56077 fi
56078
56079 fi
56080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56081 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56082
56083 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56084 for ac_func in isnanl
56085 do :
56086 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56087 if test "x$ac_cv_func_isnanl" = x""yes; then :
56088 cat >>confdefs.h <<_ACEOF
56089 #define HAVE_ISNANL 1
56090 _ACEOF
56091
56092 fi
56093 done
56094
56095 else
56096
56097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56098 $as_echo_n "checking for _isnanl declaration... " >&6; }
56099 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56100 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56101 $as_echo_n "(cached) " >&6
56102 else
56103
56104
56105 ac_ext=cpp
56106 ac_cpp='$CXXCPP $CPPFLAGS'
56107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56110
56111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56112 /* end confdefs.h. */
56113 #include <math.h>
56114 #ifdef HAVE_IEEEFP_H
56115 #include <ieeefp.h>
56116 #endif
56117
56118 int
56119 main ()
56120 {
56121 _isnanl(0);
56122 ;
56123 return 0;
56124 }
56125 _ACEOF
56126 if ac_fn_cxx_try_compile "$LINENO"; then :
56127 glibcxx_cv_func__isnanl_use=yes
56128 else
56129 glibcxx_cv_func__isnanl_use=no
56130 fi
56131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56132 ac_ext=c
56133 ac_cpp='$CPP $CPPFLAGS'
56134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56137
56138
56139 fi
56140
56141 fi
56142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56143 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56144
56145 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56146 for ac_func in _isnanl
56147 do :
56148 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56149 if test "x$ac_cv_func__isnanl" = x""yes; then :
56150 cat >>confdefs.h <<_ACEOF
56151 #define HAVE__ISNANL 1
56152 _ACEOF
56153
56154 fi
56155 done
56156
56157 fi
56158 fi
56159
56160
56161
56162
56163
56164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56165 $as_echo_n "checking for isinfl declaration... " >&6; }
56166 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56167 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56168 $as_echo_n "(cached) " >&6
56169 else
56170
56171
56172 ac_ext=cpp
56173 ac_cpp='$CXXCPP $CPPFLAGS'
56174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56177
56178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56179 /* end confdefs.h. */
56180 #include <math.h>
56181 #ifdef HAVE_IEEEFP_H
56182 #include <ieeefp.h>
56183 #endif
56184
56185 int
56186 main ()
56187 {
56188 isinfl(0);
56189 ;
56190 return 0;
56191 }
56192 _ACEOF
56193 if ac_fn_cxx_try_compile "$LINENO"; then :
56194 glibcxx_cv_func_isinfl_use=yes
56195 else
56196 glibcxx_cv_func_isinfl_use=no
56197 fi
56198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56199 ac_ext=c
56200 ac_cpp='$CPP $CPPFLAGS'
56201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56204
56205
56206 fi
56207
56208 fi
56209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56210 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56211
56212 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56213 for ac_func in isinfl
56214 do :
56215 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56216 if test "x$ac_cv_func_isinfl" = x""yes; then :
56217 cat >>confdefs.h <<_ACEOF
56218 #define HAVE_ISINFL 1
56219 _ACEOF
56220
56221 fi
56222 done
56223
56224 else
56225
56226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56227 $as_echo_n "checking for _isinfl declaration... " >&6; }
56228 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56229 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56230 $as_echo_n "(cached) " >&6
56231 else
56232
56233
56234 ac_ext=cpp
56235 ac_cpp='$CXXCPP $CPPFLAGS'
56236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56239
56240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56241 /* end confdefs.h. */
56242 #include <math.h>
56243 #ifdef HAVE_IEEEFP_H
56244 #include <ieeefp.h>
56245 #endif
56246
56247 int
56248 main ()
56249 {
56250 _isinfl(0);
56251 ;
56252 return 0;
56253 }
56254 _ACEOF
56255 if ac_fn_cxx_try_compile "$LINENO"; then :
56256 glibcxx_cv_func__isinfl_use=yes
56257 else
56258 glibcxx_cv_func__isinfl_use=no
56259 fi
56260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56261 ac_ext=c
56262 ac_cpp='$CPP $CPPFLAGS'
56263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56266
56267
56268 fi
56269
56270 fi
56271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56272 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56273
56274 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56275 for ac_func in _isinfl
56276 do :
56277 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56278 if test "x$ac_cv_func__isinfl" = x""yes; then :
56279 cat >>confdefs.h <<_ACEOF
56280 #define HAVE__ISINFL 1
56281 _ACEOF
56282
56283 fi
56284 done
56285
56286 fi
56287 fi
56288
56289
56290
56291
56292
56293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56294 $as_echo_n "checking for atan2l declaration... " >&6; }
56295 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56296 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56297 $as_echo_n "(cached) " >&6
56298 else
56299
56300
56301 ac_ext=cpp
56302 ac_cpp='$CXXCPP $CPPFLAGS'
56303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56306
56307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56308 /* end confdefs.h. */
56309 #include <math.h>
56310 int
56311 main ()
56312 {
56313 atan2l(0, 0);
56314 ;
56315 return 0;
56316 }
56317 _ACEOF
56318 if ac_fn_cxx_try_compile "$LINENO"; then :
56319 glibcxx_cv_func_atan2l_use=yes
56320 else
56321 glibcxx_cv_func_atan2l_use=no
56322 fi
56323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56324 ac_ext=c
56325 ac_cpp='$CPP $CPPFLAGS'
56326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56329
56330
56331 fi
56332
56333 fi
56334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56335 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56336
56337 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56338 for ac_func in atan2l
56339 do :
56340 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56341 if test "x$ac_cv_func_atan2l" = x""yes; then :
56342 cat >>confdefs.h <<_ACEOF
56343 #define HAVE_ATAN2L 1
56344 _ACEOF
56345
56346 fi
56347 done
56348
56349 else
56350
56351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56352 $as_echo_n "checking for _atan2l declaration... " >&6; }
56353 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56354 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56355 $as_echo_n "(cached) " >&6
56356 else
56357
56358
56359 ac_ext=cpp
56360 ac_cpp='$CXXCPP $CPPFLAGS'
56361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56364
56365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56366 /* end confdefs.h. */
56367 #include <math.h>
56368 int
56369 main ()
56370 {
56371 _atan2l(0, 0);
56372 ;
56373 return 0;
56374 }
56375 _ACEOF
56376 if ac_fn_cxx_try_compile "$LINENO"; then :
56377 glibcxx_cv_func__atan2l_use=yes
56378 else
56379 glibcxx_cv_func__atan2l_use=no
56380 fi
56381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56382 ac_ext=c
56383 ac_cpp='$CPP $CPPFLAGS'
56384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56387
56388
56389 fi
56390
56391 fi
56392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56393 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56394
56395 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56396 for ac_func in _atan2l
56397 do :
56398 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56399 if test "x$ac_cv_func__atan2l" = x""yes; then :
56400 cat >>confdefs.h <<_ACEOF
56401 #define HAVE__ATAN2L 1
56402 _ACEOF
56403
56404 fi
56405 done
56406
56407 fi
56408 fi
56409
56410
56411
56412
56413
56414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56415 $as_echo_n "checking for expl declaration... " >&6; }
56416 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56417 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56418 $as_echo_n "(cached) " >&6
56419 else
56420
56421
56422 ac_ext=cpp
56423 ac_cpp='$CXXCPP $CPPFLAGS'
56424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56427
56428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56429 /* end confdefs.h. */
56430 #include <math.h>
56431 #ifdef HAVE_IEEEFP_H
56432 #include <ieeefp.h>
56433 #endif
56434
56435 int
56436 main ()
56437 {
56438 expl(0);
56439 ;
56440 return 0;
56441 }
56442 _ACEOF
56443 if ac_fn_cxx_try_compile "$LINENO"; then :
56444 glibcxx_cv_func_expl_use=yes
56445 else
56446 glibcxx_cv_func_expl_use=no
56447 fi
56448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56449 ac_ext=c
56450 ac_cpp='$CPP $CPPFLAGS'
56451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56454
56455
56456 fi
56457
56458 fi
56459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56460 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56461
56462 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56463 for ac_func in expl
56464 do :
56465 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56466 if test "x$ac_cv_func_expl" = x""yes; then :
56467 cat >>confdefs.h <<_ACEOF
56468 #define HAVE_EXPL 1
56469 _ACEOF
56470
56471 fi
56472 done
56473
56474 else
56475
56476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56477 $as_echo_n "checking for _expl declaration... " >&6; }
56478 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56479 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56480 $as_echo_n "(cached) " >&6
56481 else
56482
56483
56484 ac_ext=cpp
56485 ac_cpp='$CXXCPP $CPPFLAGS'
56486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56489
56490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56491 /* end confdefs.h. */
56492 #include <math.h>
56493 #ifdef HAVE_IEEEFP_H
56494 #include <ieeefp.h>
56495 #endif
56496
56497 int
56498 main ()
56499 {
56500 _expl(0);
56501 ;
56502 return 0;
56503 }
56504 _ACEOF
56505 if ac_fn_cxx_try_compile "$LINENO"; then :
56506 glibcxx_cv_func__expl_use=yes
56507 else
56508 glibcxx_cv_func__expl_use=no
56509 fi
56510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56511 ac_ext=c
56512 ac_cpp='$CPP $CPPFLAGS'
56513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56516
56517
56518 fi
56519
56520 fi
56521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56522 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56523
56524 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56525 for ac_func in _expl
56526 do :
56527 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56528 if test "x$ac_cv_func__expl" = x""yes; then :
56529 cat >>confdefs.h <<_ACEOF
56530 #define HAVE__EXPL 1
56531 _ACEOF
56532
56533 fi
56534 done
56535
56536 fi
56537 fi
56538
56539
56540
56541
56542
56543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56544 $as_echo_n "checking for fabsl declaration... " >&6; }
56545 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56546 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56547 $as_echo_n "(cached) " >&6
56548 else
56549
56550
56551 ac_ext=cpp
56552 ac_cpp='$CXXCPP $CPPFLAGS'
56553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56556
56557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56558 /* end confdefs.h. */
56559 #include <math.h>
56560 #ifdef HAVE_IEEEFP_H
56561 #include <ieeefp.h>
56562 #endif
56563
56564 int
56565 main ()
56566 {
56567 fabsl(0);
56568 ;
56569 return 0;
56570 }
56571 _ACEOF
56572 if ac_fn_cxx_try_compile "$LINENO"; then :
56573 glibcxx_cv_func_fabsl_use=yes
56574 else
56575 glibcxx_cv_func_fabsl_use=no
56576 fi
56577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56578 ac_ext=c
56579 ac_cpp='$CPP $CPPFLAGS'
56580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56583
56584
56585 fi
56586
56587 fi
56588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56589 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56590
56591 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56592 for ac_func in fabsl
56593 do :
56594 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56595 if test "x$ac_cv_func_fabsl" = x""yes; then :
56596 cat >>confdefs.h <<_ACEOF
56597 #define HAVE_FABSL 1
56598 _ACEOF
56599
56600 fi
56601 done
56602
56603 else
56604
56605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56606 $as_echo_n "checking for _fabsl declaration... " >&6; }
56607 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56608 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56609 $as_echo_n "(cached) " >&6
56610 else
56611
56612
56613 ac_ext=cpp
56614 ac_cpp='$CXXCPP $CPPFLAGS'
56615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56618
56619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56620 /* end confdefs.h. */
56621 #include <math.h>
56622 #ifdef HAVE_IEEEFP_H
56623 #include <ieeefp.h>
56624 #endif
56625
56626 int
56627 main ()
56628 {
56629 _fabsl(0);
56630 ;
56631 return 0;
56632 }
56633 _ACEOF
56634 if ac_fn_cxx_try_compile "$LINENO"; then :
56635 glibcxx_cv_func__fabsl_use=yes
56636 else
56637 glibcxx_cv_func__fabsl_use=no
56638 fi
56639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56640 ac_ext=c
56641 ac_cpp='$CPP $CPPFLAGS'
56642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56645
56646
56647 fi
56648
56649 fi
56650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56651 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56652
56653 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56654 for ac_func in _fabsl
56655 do :
56656 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56657 if test "x$ac_cv_func__fabsl" = x""yes; then :
56658 cat >>confdefs.h <<_ACEOF
56659 #define HAVE__FABSL 1
56660 _ACEOF
56661
56662 fi
56663 done
56664
56665 fi
56666 fi
56667
56668
56669
56670
56671
56672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56673 $as_echo_n "checking for fmodl declaration... " >&6; }
56674 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56675 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56676 $as_echo_n "(cached) " >&6
56677 else
56678
56679
56680 ac_ext=cpp
56681 ac_cpp='$CXXCPP $CPPFLAGS'
56682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56685
56686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56687 /* end confdefs.h. */
56688 #include <math.h>
56689 int
56690 main ()
56691 {
56692 fmodl(0, 0);
56693 ;
56694 return 0;
56695 }
56696 _ACEOF
56697 if ac_fn_cxx_try_compile "$LINENO"; then :
56698 glibcxx_cv_func_fmodl_use=yes
56699 else
56700 glibcxx_cv_func_fmodl_use=no
56701 fi
56702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56703 ac_ext=c
56704 ac_cpp='$CPP $CPPFLAGS'
56705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56708
56709
56710 fi
56711
56712 fi
56713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56714 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56715
56716 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56717 for ac_func in fmodl
56718 do :
56719 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56720 if test "x$ac_cv_func_fmodl" = x""yes; then :
56721 cat >>confdefs.h <<_ACEOF
56722 #define HAVE_FMODL 1
56723 _ACEOF
56724
56725 fi
56726 done
56727
56728 else
56729
56730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56731 $as_echo_n "checking for _fmodl declaration... " >&6; }
56732 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56733 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56734 $as_echo_n "(cached) " >&6
56735 else
56736
56737
56738 ac_ext=cpp
56739 ac_cpp='$CXXCPP $CPPFLAGS'
56740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56743
56744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56745 /* end confdefs.h. */
56746 #include <math.h>
56747 int
56748 main ()
56749 {
56750 _fmodl(0, 0);
56751 ;
56752 return 0;
56753 }
56754 _ACEOF
56755 if ac_fn_cxx_try_compile "$LINENO"; then :
56756 glibcxx_cv_func__fmodl_use=yes
56757 else
56758 glibcxx_cv_func__fmodl_use=no
56759 fi
56760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56761 ac_ext=c
56762 ac_cpp='$CPP $CPPFLAGS'
56763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56766
56767
56768 fi
56769
56770 fi
56771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56772 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56773
56774 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56775 for ac_func in _fmodl
56776 do :
56777 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56778 if test "x$ac_cv_func__fmodl" = x""yes; then :
56779 cat >>confdefs.h <<_ACEOF
56780 #define HAVE__FMODL 1
56781 _ACEOF
56782
56783 fi
56784 done
56785
56786 fi
56787 fi
56788
56789
56790
56791
56792
56793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56794 $as_echo_n "checking for frexpl declaration... " >&6; }
56795 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56796 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56797 $as_echo_n "(cached) " >&6
56798 else
56799
56800
56801 ac_ext=cpp
56802 ac_cpp='$CXXCPP $CPPFLAGS'
56803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56806
56807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56808 /* end confdefs.h. */
56809 #include <math.h>
56810 int
56811 main ()
56812 {
56813 frexpl(0, 0);
56814 ;
56815 return 0;
56816 }
56817 _ACEOF
56818 if ac_fn_cxx_try_compile "$LINENO"; then :
56819 glibcxx_cv_func_frexpl_use=yes
56820 else
56821 glibcxx_cv_func_frexpl_use=no
56822 fi
56823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56824 ac_ext=c
56825 ac_cpp='$CPP $CPPFLAGS'
56826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56829
56830
56831 fi
56832
56833 fi
56834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56835 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56836
56837 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56838 for ac_func in frexpl
56839 do :
56840 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56841 if test "x$ac_cv_func_frexpl" = x""yes; then :
56842 cat >>confdefs.h <<_ACEOF
56843 #define HAVE_FREXPL 1
56844 _ACEOF
56845
56846 fi
56847 done
56848
56849 else
56850
56851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56852 $as_echo_n "checking for _frexpl declaration... " >&6; }
56853 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56854 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56855 $as_echo_n "(cached) " >&6
56856 else
56857
56858
56859 ac_ext=cpp
56860 ac_cpp='$CXXCPP $CPPFLAGS'
56861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56864
56865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56866 /* end confdefs.h. */
56867 #include <math.h>
56868 int
56869 main ()
56870 {
56871 _frexpl(0, 0);
56872 ;
56873 return 0;
56874 }
56875 _ACEOF
56876 if ac_fn_cxx_try_compile "$LINENO"; then :
56877 glibcxx_cv_func__frexpl_use=yes
56878 else
56879 glibcxx_cv_func__frexpl_use=no
56880 fi
56881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56882 ac_ext=c
56883 ac_cpp='$CPP $CPPFLAGS'
56884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56887
56888
56889 fi
56890
56891 fi
56892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56893 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56894
56895 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56896 for ac_func in _frexpl
56897 do :
56898 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56899 if test "x$ac_cv_func__frexpl" = x""yes; then :
56900 cat >>confdefs.h <<_ACEOF
56901 #define HAVE__FREXPL 1
56902 _ACEOF
56903
56904 fi
56905 done
56906
56907 fi
56908 fi
56909
56910
56911
56912
56913
56914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56915 $as_echo_n "checking for hypotl declaration... " >&6; }
56916 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56917 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56918 $as_echo_n "(cached) " >&6
56919 else
56920
56921
56922 ac_ext=cpp
56923 ac_cpp='$CXXCPP $CPPFLAGS'
56924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56927
56928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56929 /* end confdefs.h. */
56930 #include <math.h>
56931 int
56932 main ()
56933 {
56934 hypotl(0, 0);
56935 ;
56936 return 0;
56937 }
56938 _ACEOF
56939 if ac_fn_cxx_try_compile "$LINENO"; then :
56940 glibcxx_cv_func_hypotl_use=yes
56941 else
56942 glibcxx_cv_func_hypotl_use=no
56943 fi
56944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56945 ac_ext=c
56946 ac_cpp='$CPP $CPPFLAGS'
56947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56950
56951
56952 fi
56953
56954 fi
56955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56956 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56957
56958 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56959 for ac_func in hypotl
56960 do :
56961 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56962 if test "x$ac_cv_func_hypotl" = x""yes; then :
56963 cat >>confdefs.h <<_ACEOF
56964 #define HAVE_HYPOTL 1
56965 _ACEOF
56966
56967 fi
56968 done
56969
56970 else
56971
56972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56973 $as_echo_n "checking for _hypotl declaration... " >&6; }
56974 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56975 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56976 $as_echo_n "(cached) " >&6
56977 else
56978
56979
56980 ac_ext=cpp
56981 ac_cpp='$CXXCPP $CPPFLAGS'
56982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56985
56986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56987 /* end confdefs.h. */
56988 #include <math.h>
56989 int
56990 main ()
56991 {
56992 _hypotl(0, 0);
56993 ;
56994 return 0;
56995 }
56996 _ACEOF
56997 if ac_fn_cxx_try_compile "$LINENO"; then :
56998 glibcxx_cv_func__hypotl_use=yes
56999 else
57000 glibcxx_cv_func__hypotl_use=no
57001 fi
57002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57003 ac_ext=c
57004 ac_cpp='$CPP $CPPFLAGS'
57005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57008
57009
57010 fi
57011
57012 fi
57013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57014 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57015
57016 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57017 for ac_func in _hypotl
57018 do :
57019 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57020 if test "x$ac_cv_func__hypotl" = x""yes; then :
57021 cat >>confdefs.h <<_ACEOF
57022 #define HAVE__HYPOTL 1
57023 _ACEOF
57024
57025 fi
57026 done
57027
57028 fi
57029 fi
57030
57031
57032
57033
57034
57035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57036 $as_echo_n "checking for ldexpl declaration... " >&6; }
57037 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57038 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57039 $as_echo_n "(cached) " >&6
57040 else
57041
57042
57043 ac_ext=cpp
57044 ac_cpp='$CXXCPP $CPPFLAGS'
57045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57048
57049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57050 /* end confdefs.h. */
57051 #include <math.h>
57052 int
57053 main ()
57054 {
57055 ldexpl(0, 0);
57056 ;
57057 return 0;
57058 }
57059 _ACEOF
57060 if ac_fn_cxx_try_compile "$LINENO"; then :
57061 glibcxx_cv_func_ldexpl_use=yes
57062 else
57063 glibcxx_cv_func_ldexpl_use=no
57064 fi
57065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57066 ac_ext=c
57067 ac_cpp='$CPP $CPPFLAGS'
57068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57071
57072
57073 fi
57074
57075 fi
57076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57077 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57078
57079 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57080 for ac_func in ldexpl
57081 do :
57082 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57083 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57084 cat >>confdefs.h <<_ACEOF
57085 #define HAVE_LDEXPL 1
57086 _ACEOF
57087
57088 fi
57089 done
57090
57091 else
57092
57093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57094 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57095 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57096 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57097 $as_echo_n "(cached) " >&6
57098 else
57099
57100
57101 ac_ext=cpp
57102 ac_cpp='$CXXCPP $CPPFLAGS'
57103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57106
57107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57108 /* end confdefs.h. */
57109 #include <math.h>
57110 int
57111 main ()
57112 {
57113 _ldexpl(0, 0);
57114 ;
57115 return 0;
57116 }
57117 _ACEOF
57118 if ac_fn_cxx_try_compile "$LINENO"; then :
57119 glibcxx_cv_func__ldexpl_use=yes
57120 else
57121 glibcxx_cv_func__ldexpl_use=no
57122 fi
57123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57124 ac_ext=c
57125 ac_cpp='$CPP $CPPFLAGS'
57126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57129
57130
57131 fi
57132
57133 fi
57134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57135 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57136
57137 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57138 for ac_func in _ldexpl
57139 do :
57140 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57141 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57142 cat >>confdefs.h <<_ACEOF
57143 #define HAVE__LDEXPL 1
57144 _ACEOF
57145
57146 fi
57147 done
57148
57149 fi
57150 fi
57151
57152
57153
57154
57155
57156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57157 $as_echo_n "checking for logl declaration... " >&6; }
57158 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57159 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57160 $as_echo_n "(cached) " >&6
57161 else
57162
57163
57164 ac_ext=cpp
57165 ac_cpp='$CXXCPP $CPPFLAGS'
57166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57169
57170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57171 /* end confdefs.h. */
57172 #include <math.h>
57173 #ifdef HAVE_IEEEFP_H
57174 #include <ieeefp.h>
57175 #endif
57176
57177 int
57178 main ()
57179 {
57180 logl(0);
57181 ;
57182 return 0;
57183 }
57184 _ACEOF
57185 if ac_fn_cxx_try_compile "$LINENO"; then :
57186 glibcxx_cv_func_logl_use=yes
57187 else
57188 glibcxx_cv_func_logl_use=no
57189 fi
57190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57191 ac_ext=c
57192 ac_cpp='$CPP $CPPFLAGS'
57193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57196
57197
57198 fi
57199
57200 fi
57201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57202 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57203
57204 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57205 for ac_func in logl
57206 do :
57207 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57208 if test "x$ac_cv_func_logl" = x""yes; then :
57209 cat >>confdefs.h <<_ACEOF
57210 #define HAVE_LOGL 1
57211 _ACEOF
57212
57213 fi
57214 done
57215
57216 else
57217
57218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57219 $as_echo_n "checking for _logl declaration... " >&6; }
57220 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57221 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57222 $as_echo_n "(cached) " >&6
57223 else
57224
57225
57226 ac_ext=cpp
57227 ac_cpp='$CXXCPP $CPPFLAGS'
57228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57231
57232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57233 /* end confdefs.h. */
57234 #include <math.h>
57235 #ifdef HAVE_IEEEFP_H
57236 #include <ieeefp.h>
57237 #endif
57238
57239 int
57240 main ()
57241 {
57242 _logl(0);
57243 ;
57244 return 0;
57245 }
57246 _ACEOF
57247 if ac_fn_cxx_try_compile "$LINENO"; then :
57248 glibcxx_cv_func__logl_use=yes
57249 else
57250 glibcxx_cv_func__logl_use=no
57251 fi
57252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57253 ac_ext=c
57254 ac_cpp='$CPP $CPPFLAGS'
57255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57258
57259
57260 fi
57261
57262 fi
57263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57264 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57265
57266 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57267 for ac_func in _logl
57268 do :
57269 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57270 if test "x$ac_cv_func__logl" = x""yes; then :
57271 cat >>confdefs.h <<_ACEOF
57272 #define HAVE__LOGL 1
57273 _ACEOF
57274
57275 fi
57276 done
57277
57278 fi
57279 fi
57280
57281
57282
57283
57284
57285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57286 $as_echo_n "checking for log10l declaration... " >&6; }
57287 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57288 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57289 $as_echo_n "(cached) " >&6
57290 else
57291
57292
57293 ac_ext=cpp
57294 ac_cpp='$CXXCPP $CPPFLAGS'
57295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57298
57299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57300 /* end confdefs.h. */
57301 #include <math.h>
57302 #ifdef HAVE_IEEEFP_H
57303 #include <ieeefp.h>
57304 #endif
57305
57306 int
57307 main ()
57308 {
57309 log10l(0);
57310 ;
57311 return 0;
57312 }
57313 _ACEOF
57314 if ac_fn_cxx_try_compile "$LINENO"; then :
57315 glibcxx_cv_func_log10l_use=yes
57316 else
57317 glibcxx_cv_func_log10l_use=no
57318 fi
57319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57320 ac_ext=c
57321 ac_cpp='$CPP $CPPFLAGS'
57322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57325
57326
57327 fi
57328
57329 fi
57330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57331 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57332
57333 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57334 for ac_func in log10l
57335 do :
57336 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57337 if test "x$ac_cv_func_log10l" = x""yes; then :
57338 cat >>confdefs.h <<_ACEOF
57339 #define HAVE_LOG10L 1
57340 _ACEOF
57341
57342 fi
57343 done
57344
57345 else
57346
57347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57348 $as_echo_n "checking for _log10l declaration... " >&6; }
57349 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57350 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57351 $as_echo_n "(cached) " >&6
57352 else
57353
57354
57355 ac_ext=cpp
57356 ac_cpp='$CXXCPP $CPPFLAGS'
57357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57360
57361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57362 /* end confdefs.h. */
57363 #include <math.h>
57364 #ifdef HAVE_IEEEFP_H
57365 #include <ieeefp.h>
57366 #endif
57367
57368 int
57369 main ()
57370 {
57371 _log10l(0);
57372 ;
57373 return 0;
57374 }
57375 _ACEOF
57376 if ac_fn_cxx_try_compile "$LINENO"; then :
57377 glibcxx_cv_func__log10l_use=yes
57378 else
57379 glibcxx_cv_func__log10l_use=no
57380 fi
57381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57382 ac_ext=c
57383 ac_cpp='$CPP $CPPFLAGS'
57384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57387
57388
57389 fi
57390
57391 fi
57392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57393 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57394
57395 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57396 for ac_func in _log10l
57397 do :
57398 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57399 if test "x$ac_cv_func__log10l" = x""yes; then :
57400 cat >>confdefs.h <<_ACEOF
57401 #define HAVE__LOG10L 1
57402 _ACEOF
57403
57404 fi
57405 done
57406
57407 fi
57408 fi
57409
57410
57411
57412
57413
57414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57415 $as_echo_n "checking for modfl declaration... " >&6; }
57416 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57417 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57418 $as_echo_n "(cached) " >&6
57419 else
57420
57421
57422 ac_ext=cpp
57423 ac_cpp='$CXXCPP $CPPFLAGS'
57424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57427
57428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57429 /* end confdefs.h. */
57430 #include <math.h>
57431 int
57432 main ()
57433 {
57434 modfl(0, 0);
57435 ;
57436 return 0;
57437 }
57438 _ACEOF
57439 if ac_fn_cxx_try_compile "$LINENO"; then :
57440 glibcxx_cv_func_modfl_use=yes
57441 else
57442 glibcxx_cv_func_modfl_use=no
57443 fi
57444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57445 ac_ext=c
57446 ac_cpp='$CPP $CPPFLAGS'
57447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57450
57451
57452 fi
57453
57454 fi
57455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57456 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57457
57458 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57459 for ac_func in modfl
57460 do :
57461 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57462 if test "x$ac_cv_func_modfl" = x""yes; then :
57463 cat >>confdefs.h <<_ACEOF
57464 #define HAVE_MODFL 1
57465 _ACEOF
57466
57467 fi
57468 done
57469
57470 else
57471
57472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57473 $as_echo_n "checking for _modfl declaration... " >&6; }
57474 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57475 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57476 $as_echo_n "(cached) " >&6
57477 else
57478
57479
57480 ac_ext=cpp
57481 ac_cpp='$CXXCPP $CPPFLAGS'
57482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57485
57486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57487 /* end confdefs.h. */
57488 #include <math.h>
57489 int
57490 main ()
57491 {
57492 _modfl(0, 0);
57493 ;
57494 return 0;
57495 }
57496 _ACEOF
57497 if ac_fn_cxx_try_compile "$LINENO"; then :
57498 glibcxx_cv_func__modfl_use=yes
57499 else
57500 glibcxx_cv_func__modfl_use=no
57501 fi
57502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57503 ac_ext=c
57504 ac_cpp='$CPP $CPPFLAGS'
57505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57508
57509
57510 fi
57511
57512 fi
57513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57514 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57515
57516 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57517 for ac_func in _modfl
57518 do :
57519 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57520 if test "x$ac_cv_func__modfl" = x""yes; then :
57521 cat >>confdefs.h <<_ACEOF
57522 #define HAVE__MODFL 1
57523 _ACEOF
57524
57525 fi
57526 done
57527
57528 fi
57529 fi
57530
57531
57532
57533
57534
57535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57536 $as_echo_n "checking for powl declaration... " >&6; }
57537 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57538 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57539 $as_echo_n "(cached) " >&6
57540 else
57541
57542
57543 ac_ext=cpp
57544 ac_cpp='$CXXCPP $CPPFLAGS'
57545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57548
57549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57550 /* end confdefs.h. */
57551 #include <math.h>
57552 int
57553 main ()
57554 {
57555 powl(0, 0);
57556 ;
57557 return 0;
57558 }
57559 _ACEOF
57560 if ac_fn_cxx_try_compile "$LINENO"; then :
57561 glibcxx_cv_func_powl_use=yes
57562 else
57563 glibcxx_cv_func_powl_use=no
57564 fi
57565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57566 ac_ext=c
57567 ac_cpp='$CPP $CPPFLAGS'
57568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57571
57572
57573 fi
57574
57575 fi
57576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57577 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57578
57579 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57580 for ac_func in powl
57581 do :
57582 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57583 if test "x$ac_cv_func_powl" = x""yes; then :
57584 cat >>confdefs.h <<_ACEOF
57585 #define HAVE_POWL 1
57586 _ACEOF
57587
57588 fi
57589 done
57590
57591 else
57592
57593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57594 $as_echo_n "checking for _powl declaration... " >&6; }
57595 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57596 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57597 $as_echo_n "(cached) " >&6
57598 else
57599
57600
57601 ac_ext=cpp
57602 ac_cpp='$CXXCPP $CPPFLAGS'
57603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57606
57607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57608 /* end confdefs.h. */
57609 #include <math.h>
57610 int
57611 main ()
57612 {
57613 _powl(0, 0);
57614 ;
57615 return 0;
57616 }
57617 _ACEOF
57618 if ac_fn_cxx_try_compile "$LINENO"; then :
57619 glibcxx_cv_func__powl_use=yes
57620 else
57621 glibcxx_cv_func__powl_use=no
57622 fi
57623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57624 ac_ext=c
57625 ac_cpp='$CPP $CPPFLAGS'
57626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57629
57630
57631 fi
57632
57633 fi
57634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57635 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57636
57637 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57638 for ac_func in _powl
57639 do :
57640 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57641 if test "x$ac_cv_func__powl" = x""yes; then :
57642 cat >>confdefs.h <<_ACEOF
57643 #define HAVE__POWL 1
57644 _ACEOF
57645
57646 fi
57647 done
57648
57649 fi
57650 fi
57651
57652
57653
57654
57655
57656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57657 $as_echo_n "checking for sqrtl declaration... " >&6; }
57658 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57659 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57660 $as_echo_n "(cached) " >&6
57661 else
57662
57663
57664 ac_ext=cpp
57665 ac_cpp='$CXXCPP $CPPFLAGS'
57666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57669
57670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57671 /* end confdefs.h. */
57672 #include <math.h>
57673 #ifdef HAVE_IEEEFP_H
57674 #include <ieeefp.h>
57675 #endif
57676
57677 int
57678 main ()
57679 {
57680 sqrtl(0);
57681 ;
57682 return 0;
57683 }
57684 _ACEOF
57685 if ac_fn_cxx_try_compile "$LINENO"; then :
57686 glibcxx_cv_func_sqrtl_use=yes
57687 else
57688 glibcxx_cv_func_sqrtl_use=no
57689 fi
57690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57691 ac_ext=c
57692 ac_cpp='$CPP $CPPFLAGS'
57693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57696
57697
57698 fi
57699
57700 fi
57701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57702 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57703
57704 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57705 for ac_func in sqrtl
57706 do :
57707 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57708 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57709 cat >>confdefs.h <<_ACEOF
57710 #define HAVE_SQRTL 1
57711 _ACEOF
57712
57713 fi
57714 done
57715
57716 else
57717
57718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57719 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57720 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57721 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57722 $as_echo_n "(cached) " >&6
57723 else
57724
57725
57726 ac_ext=cpp
57727 ac_cpp='$CXXCPP $CPPFLAGS'
57728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57731
57732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57733 /* end confdefs.h. */
57734 #include <math.h>
57735 #ifdef HAVE_IEEEFP_H
57736 #include <ieeefp.h>
57737 #endif
57738
57739 int
57740 main ()
57741 {
57742 _sqrtl(0);
57743 ;
57744 return 0;
57745 }
57746 _ACEOF
57747 if ac_fn_cxx_try_compile "$LINENO"; then :
57748 glibcxx_cv_func__sqrtl_use=yes
57749 else
57750 glibcxx_cv_func__sqrtl_use=no
57751 fi
57752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57753 ac_ext=c
57754 ac_cpp='$CPP $CPPFLAGS'
57755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57758
57759
57760 fi
57761
57762 fi
57763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57764 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57765
57766 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57767 for ac_func in _sqrtl
57768 do :
57769 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57770 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57771 cat >>confdefs.h <<_ACEOF
57772 #define HAVE__SQRTL 1
57773 _ACEOF
57774
57775 fi
57776 done
57777
57778 fi
57779 fi
57780
57781
57782
57783
57784
57785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57786 $as_echo_n "checking for sincosl declaration... " >&6; }
57787 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57788 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57789 $as_echo_n "(cached) " >&6
57790 else
57791
57792
57793 ac_ext=cpp
57794 ac_cpp='$CXXCPP $CPPFLAGS'
57795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57798
57799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57800 /* end confdefs.h. */
57801 #include <math.h>
57802 int
57803 main ()
57804 {
57805 sincosl(0, 0, 0);
57806 ;
57807 return 0;
57808 }
57809 _ACEOF
57810 if ac_fn_cxx_try_compile "$LINENO"; then :
57811 glibcxx_cv_func_sincosl_use=yes
57812 else
57813 glibcxx_cv_func_sincosl_use=no
57814 fi
57815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57816 ac_ext=c
57817 ac_cpp='$CPP $CPPFLAGS'
57818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57821
57822
57823 fi
57824
57825 fi
57826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57827 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57828
57829 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57830 for ac_func in sincosl
57831 do :
57832 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57833 if test "x$ac_cv_func_sincosl" = x""yes; then :
57834 cat >>confdefs.h <<_ACEOF
57835 #define HAVE_SINCOSL 1
57836 _ACEOF
57837
57838 fi
57839 done
57840
57841 else
57842
57843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57844 $as_echo_n "checking for _sincosl declaration... " >&6; }
57845 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57846 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57847 $as_echo_n "(cached) " >&6
57848 else
57849
57850
57851 ac_ext=cpp
57852 ac_cpp='$CXXCPP $CPPFLAGS'
57853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57856
57857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57858 /* end confdefs.h. */
57859 #include <math.h>
57860 int
57861 main ()
57862 {
57863 _sincosl(0, 0, 0);
57864 ;
57865 return 0;
57866 }
57867 _ACEOF
57868 if ac_fn_cxx_try_compile "$LINENO"; then :
57869 glibcxx_cv_func__sincosl_use=yes
57870 else
57871 glibcxx_cv_func__sincosl_use=no
57872 fi
57873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57874 ac_ext=c
57875 ac_cpp='$CPP $CPPFLAGS'
57876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57879
57880
57881 fi
57882
57883 fi
57884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57885 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57886
57887 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57888 for ac_func in _sincosl
57889 do :
57890 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57891 if test "x$ac_cv_func__sincosl" = x""yes; then :
57892 cat >>confdefs.h <<_ACEOF
57893 #define HAVE__SINCOSL 1
57894 _ACEOF
57895
57896 fi
57897 done
57898
57899 fi
57900 fi
57901
57902
57903
57904
57905
57906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57907 $as_echo_n "checking for finitel declaration... " >&6; }
57908 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57909 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57910 $as_echo_n "(cached) " >&6
57911 else
57912
57913
57914 ac_ext=cpp
57915 ac_cpp='$CXXCPP $CPPFLAGS'
57916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57919
57920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57921 /* end confdefs.h. */
57922 #include <math.h>
57923 #ifdef HAVE_IEEEFP_H
57924 #include <ieeefp.h>
57925 #endif
57926
57927 int
57928 main ()
57929 {
57930 finitel(0);
57931 ;
57932 return 0;
57933 }
57934 _ACEOF
57935 if ac_fn_cxx_try_compile "$LINENO"; then :
57936 glibcxx_cv_func_finitel_use=yes
57937 else
57938 glibcxx_cv_func_finitel_use=no
57939 fi
57940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57941 ac_ext=c
57942 ac_cpp='$CPP $CPPFLAGS'
57943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57946
57947
57948 fi
57949
57950 fi
57951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57952 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57953
57954 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57955 for ac_func in finitel
57956 do :
57957 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57958 if test "x$ac_cv_func_finitel" = x""yes; then :
57959 cat >>confdefs.h <<_ACEOF
57960 #define HAVE_FINITEL 1
57961 _ACEOF
57962
57963 fi
57964 done
57965
57966 else
57967
57968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57969 $as_echo_n "checking for _finitel declaration... " >&6; }
57970 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57971 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57972 $as_echo_n "(cached) " >&6
57973 else
57974
57975
57976 ac_ext=cpp
57977 ac_cpp='$CXXCPP $CPPFLAGS'
57978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57981
57982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57983 /* end confdefs.h. */
57984 #include <math.h>
57985 #ifdef HAVE_IEEEFP_H
57986 #include <ieeefp.h>
57987 #endif
57988
57989 int
57990 main ()
57991 {
57992 _finitel(0);
57993 ;
57994 return 0;
57995 }
57996 _ACEOF
57997 if ac_fn_cxx_try_compile "$LINENO"; then :
57998 glibcxx_cv_func__finitel_use=yes
57999 else
58000 glibcxx_cv_func__finitel_use=no
58001 fi
58002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58003 ac_ext=c
58004 ac_cpp='$CPP $CPPFLAGS'
58005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58008
58009
58010 fi
58011
58012 fi
58013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58014 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58015
58016 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58017 for ac_func in _finitel
58018 do :
58019 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58020 if test "x$ac_cv_func__finitel" = x""yes; then :
58021 cat >>confdefs.h <<_ACEOF
58022 #define HAVE__FINITEL 1
58023 _ACEOF
58024
58025 fi
58026 done
58027
58028 fi
58029 fi
58030
58031
58032
58033
58034 LIBS="$ac_save_LIBS"
58035 CXXFLAGS="$ac_save_CXXFLAGS"
58036
58037
58038 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58039 ac_save_CXXFLAGS="$CXXFLAGS"
58040 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58041
58042
58043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58044 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58045 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58046 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58047 $as_echo_n "(cached) " >&6
58048 else
58049
58050
58051 ac_ext=cpp
58052 ac_cpp='$CXXCPP $CPPFLAGS'
58053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58056
58057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58058 /* end confdefs.h. */
58059 #include <stdlib.h>
58060 int
58061 main ()
58062 {
58063 at_quick_exit(0);
58064 ;
58065 return 0;
58066 }
58067 _ACEOF
58068 if ac_fn_cxx_try_compile "$LINENO"; then :
58069 glibcxx_cv_func_at_quick_exit_use=yes
58070 else
58071 glibcxx_cv_func_at_quick_exit_use=no
58072 fi
58073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58074 ac_ext=c
58075 ac_cpp='$CPP $CPPFLAGS'
58076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58079
58080
58081 fi
58082
58083 fi
58084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58085 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58086 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58087 for ac_func in at_quick_exit
58088 do :
58089 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58090 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58091 cat >>confdefs.h <<_ACEOF
58092 #define HAVE_AT_QUICK_EXIT 1
58093 _ACEOF
58094
58095 fi
58096 done
58097
58098 fi
58099
58100
58101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58102 $as_echo_n "checking for quick_exit declaration... " >&6; }
58103 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58104 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58105 $as_echo_n "(cached) " >&6
58106 else
58107
58108
58109 ac_ext=cpp
58110 ac_cpp='$CXXCPP $CPPFLAGS'
58111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58114
58115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58116 /* end confdefs.h. */
58117 #include <stdlib.h>
58118 int
58119 main ()
58120 {
58121 quick_exit(0);
58122 ;
58123 return 0;
58124 }
58125 _ACEOF
58126 if ac_fn_cxx_try_compile "$LINENO"; then :
58127 glibcxx_cv_func_quick_exit_use=yes
58128 else
58129 glibcxx_cv_func_quick_exit_use=no
58130 fi
58131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58132 ac_ext=c
58133 ac_cpp='$CPP $CPPFLAGS'
58134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58137
58138
58139 fi
58140
58141 fi
58142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58143 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58144 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58145 for ac_func in quick_exit
58146 do :
58147 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58148 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58149 cat >>confdefs.h <<_ACEOF
58150 #define HAVE_QUICK_EXIT 1
58151 _ACEOF
58152
58153 fi
58154 done
58155
58156 fi
58157
58158
58159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58160 $as_echo_n "checking for strtold declaration... " >&6; }
58161 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58162 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58163 $as_echo_n "(cached) " >&6
58164 else
58165
58166
58167 ac_ext=cpp
58168 ac_cpp='$CXXCPP $CPPFLAGS'
58169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58172
58173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58174 /* end confdefs.h. */
58175 #include <stdlib.h>
58176 int
58177 main ()
58178 {
58179 strtold(0, 0);
58180 ;
58181 return 0;
58182 }
58183 _ACEOF
58184 if ac_fn_cxx_try_compile "$LINENO"; then :
58185 glibcxx_cv_func_strtold_use=yes
58186 else
58187 glibcxx_cv_func_strtold_use=no
58188 fi
58189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58190 ac_ext=c
58191 ac_cpp='$CPP $CPPFLAGS'
58192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58195
58196
58197 fi
58198
58199 fi
58200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58201 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58202 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58203 for ac_func in strtold
58204 do :
58205 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58206 if test "x$ac_cv_func_strtold" = x""yes; then :
58207 cat >>confdefs.h <<_ACEOF
58208 #define HAVE_STRTOLD 1
58209 _ACEOF
58210
58211 fi
58212 done
58213
58214 fi
58215
58216
58217
58218
58219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58220 $as_echo_n "checking for strtof declaration... " >&6; }
58221 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58222 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58223 $as_echo_n "(cached) " >&6
58224 else
58225
58226
58227 ac_ext=cpp
58228 ac_cpp='$CXXCPP $CPPFLAGS'
58229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58232
58233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58234 /* end confdefs.h. */
58235 #include <stdlib.h>
58236 int
58237 main ()
58238 {
58239 strtof(0, 0);
58240 ;
58241 return 0;
58242 }
58243 _ACEOF
58244 if ac_fn_cxx_try_compile "$LINENO"; then :
58245 glibcxx_cv_func_strtof_use=yes
58246 else
58247 glibcxx_cv_func_strtof_use=no
58248 fi
58249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58250 ac_ext=c
58251 ac_cpp='$CPP $CPPFLAGS'
58252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58255
58256
58257 fi
58258
58259 fi
58260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58261 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58262 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58263 for ac_func in strtof
58264 do :
58265 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58266 if test "x$ac_cv_func_strtof" = x""yes; then :
58267 cat >>confdefs.h <<_ACEOF
58268 #define HAVE_STRTOF 1
58269 _ACEOF
58270
58271 fi
58272 done
58273
58274 fi
58275
58276
58277
58278
58279 CXXFLAGS="$ac_save_CXXFLAGS"
58280
58281 ;;
58282 *-netbsd*)
58283 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58284
58285
58286 # If we're not using GNU ld, then there's no point in even trying these
58287 # tests. Check for that first. We should have already tested for gld
58288 # by now (in libtool), but require it now just to be safe...
58289 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58290 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58291
58292
58293
58294 # The name set by libtool depends on the version of libtool. Shame on us
58295 # for depending on an impl detail, but c'est la vie. Older versions used
58296 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58297 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58298 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58299 # set (hence we're using an older libtool), then set it.
58300 if test x${with_gnu_ld+set} != xset; then
58301 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58302 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58303 with_gnu_ld=no
58304 else
58305 with_gnu_ld=$ac_cv_prog_gnu_ld
58306 fi
58307 fi
58308
58309 # Start by getting the version number. I think the libtool test already
58310 # does some of this, but throws away the result.
58311 glibcxx_ld_is_gold=no
58312 if test x"$with_gnu_ld" = x"yes"; then
58313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58314 $as_echo_n "checking for ld version... " >&6; }
58315
58316 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58317 glibcxx_ld_is_gold=yes
58318 fi
58319 ldver=`$LD --version 2>/dev/null |
58320 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'`
58321
58322 glibcxx_gnu_ld_version=`echo $ldver | \
58323 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58325 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58326 fi
58327
58328 # Set --gc-sections.
58329 glibcxx_have_gc_sections=no
58330 if test "$glibcxx_ld_is_gold" = "yes"; then
58331 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58332 glibcxx_have_gc_sections=yes
58333 fi
58334 else
58335 glibcxx_gcsections_min_ld=21602
58336 if test x"$with_gnu_ld" = x"yes" &&
58337 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58338 glibcxx_have_gc_sections=yes
58339 fi
58340 fi
58341 if test "$glibcxx_have_gc_sections" = "yes"; then
58342 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58343 # NB: This flag only works reliably after 2.16.1. Configure tests
58344 # for this are difficult, so hard wire a value that should work.
58345
58346 ac_test_CFLAGS="${CFLAGS+set}"
58347 ac_save_CFLAGS="$CFLAGS"
58348 CFLAGS='-Wl,--gc-sections'
58349
58350 # Check for -Wl,--gc-sections
58351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58352 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58353 if test x$gcc_no_link = xyes; then
58354 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58355 fi
58356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58357 /* end confdefs.h. */
58358 int one(void) { return 1; }
58359 int two(void) { return 2; }
58360
58361 int
58362 main ()
58363 {
58364 two();
58365 ;
58366 return 0;
58367 }
58368 _ACEOF
58369 if ac_fn_c_try_link "$LINENO"; then :
58370 ac_gcsections=yes
58371 else
58372 ac_gcsections=no
58373 fi
58374 rm -f core conftest.err conftest.$ac_objext \
58375 conftest$ac_exeext conftest.$ac_ext
58376 if test "$ac_gcsections" = "yes"; then
58377 rm -f conftest.c
58378 touch conftest.c
58379 if $CC -c conftest.c; then
58380 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58381 grep "Warning: gc-sections option ignored" > /dev/null; then
58382 ac_gcsections=no
58383 fi
58384 fi
58385 rm -f conftest.c conftest.o conftest
58386 fi
58387 if test "$ac_gcsections" = "yes"; then
58388 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58389 fi
58390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58391 $as_echo "$ac_gcsections" >&6; }
58392
58393 if test "$ac_test_CFLAGS" = set; then
58394 CFLAGS="$ac_save_CFLAGS"
58395 else
58396 # this is the suspicious part
58397 CFLAGS=''
58398 fi
58399 fi
58400
58401 # Set -z,relro.
58402 # Note this is only for shared objects.
58403 ac_ld_relro=no
58404 if test x"$with_gnu_ld" = x"yes"; then
58405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58406 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58407 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58408 if test -n "$cxx_z_relo"; then
58409 OPT_LDFLAGS="-Wl,-z,relro"
58410 ac_ld_relro=yes
58411 fi
58412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58413 $as_echo "$ac_ld_relro" >&6; }
58414 fi
58415
58416 # Set linker optimization flags.
58417 if test x"$with_gnu_ld" = x"yes"; then
58418 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58419 fi
58420
58421
58422
58423
58424 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
58425
58426 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
58427
58428 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
58429
58430 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
58431
58432 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
58433
58434 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
58435
58436 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
58437
58438 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
58439
58440 if test x"long_double_math_on_this_cpu" = x"yes"; then
58441 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
58442
58443 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
58444
58445 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
58446
58447 fi
58448 ;;
58449 *-qnx6.1* | *-qnx6.2*)
58450 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58451
58452
58453 # If we're not using GNU ld, then there's no point in even trying these
58454 # tests. Check for that first. We should have already tested for gld
58455 # by now (in libtool), but require it now just to be safe...
58456 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58457 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58458
58459
58460
58461 # The name set by libtool depends on the version of libtool. Shame on us
58462 # for depending on an impl detail, but c'est la vie. Older versions used
58463 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58464 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58465 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58466 # set (hence we're using an older libtool), then set it.
58467 if test x${with_gnu_ld+set} != xset; then
58468 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58469 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58470 with_gnu_ld=no
58471 else
58472 with_gnu_ld=$ac_cv_prog_gnu_ld
58473 fi
58474 fi
58475
58476 # Start by getting the version number. I think the libtool test already
58477 # does some of this, but throws away the result.
58478 glibcxx_ld_is_gold=no
58479 if test x"$with_gnu_ld" = x"yes"; then
58480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58481 $as_echo_n "checking for ld version... " >&6; }
58482
58483 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58484 glibcxx_ld_is_gold=yes
58485 fi
58486 ldver=`$LD --version 2>/dev/null |
58487 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'`
58488
58489 glibcxx_gnu_ld_version=`echo $ldver | \
58490 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58492 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58493 fi
58494
58495 # Set --gc-sections.
58496 glibcxx_have_gc_sections=no
58497 if test "$glibcxx_ld_is_gold" = "yes"; then
58498 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58499 glibcxx_have_gc_sections=yes
58500 fi
58501 else
58502 glibcxx_gcsections_min_ld=21602
58503 if test x"$with_gnu_ld" = x"yes" &&
58504 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58505 glibcxx_have_gc_sections=yes
58506 fi
58507 fi
58508 if test "$glibcxx_have_gc_sections" = "yes"; then
58509 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58510 # NB: This flag only works reliably after 2.16.1. Configure tests
58511 # for this are difficult, so hard wire a value that should work.
58512
58513 ac_test_CFLAGS="${CFLAGS+set}"
58514 ac_save_CFLAGS="$CFLAGS"
58515 CFLAGS='-Wl,--gc-sections'
58516
58517 # Check for -Wl,--gc-sections
58518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58519 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58520 if test x$gcc_no_link = xyes; then
58521 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58522 fi
58523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58524 /* end confdefs.h. */
58525 int one(void) { return 1; }
58526 int two(void) { return 2; }
58527
58528 int
58529 main ()
58530 {
58531 two();
58532 ;
58533 return 0;
58534 }
58535 _ACEOF
58536 if ac_fn_c_try_link "$LINENO"; then :
58537 ac_gcsections=yes
58538 else
58539 ac_gcsections=no
58540 fi
58541 rm -f core conftest.err conftest.$ac_objext \
58542 conftest$ac_exeext conftest.$ac_ext
58543 if test "$ac_gcsections" = "yes"; then
58544 rm -f conftest.c
58545 touch conftest.c
58546 if $CC -c conftest.c; then
58547 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58548 grep "Warning: gc-sections option ignored" > /dev/null; then
58549 ac_gcsections=no
58550 fi
58551 fi
58552 rm -f conftest.c conftest.o conftest
58553 fi
58554 if test "$ac_gcsections" = "yes"; then
58555 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58556 fi
58557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58558 $as_echo "$ac_gcsections" >&6; }
58559
58560 if test "$ac_test_CFLAGS" = set; then
58561 CFLAGS="$ac_save_CFLAGS"
58562 else
58563 # this is the suspicious part
58564 CFLAGS=''
58565 fi
58566 fi
58567
58568 # Set -z,relro.
58569 # Note this is only for shared objects.
58570 ac_ld_relro=no
58571 if test x"$with_gnu_ld" = x"yes"; then
58572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58573 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58574 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58575 if test -n "$cxx_z_relo"; then
58576 OPT_LDFLAGS="-Wl,-z,relro"
58577 ac_ld_relro=yes
58578 fi
58579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58580 $as_echo "$ac_ld_relro" >&6; }
58581 fi
58582
58583 # Set linker optimization flags.
58584 if test x"$with_gnu_ld" = x"yes"; then
58585 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58586 fi
58587
58588
58589
58590
58591 $as_echo "#define HAVE_COSF 1" >>confdefs.h
58592
58593 $as_echo "#define HAVE_COSL 1" >>confdefs.h
58594
58595 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
58596
58597 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
58598
58599 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
58600
58601 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
58602
58603 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
58604
58605 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
58606
58607 $as_echo "#define HAVE_SINF 1" >>confdefs.h
58608
58609 $as_echo "#define HAVE_SINL 1" >>confdefs.h
58610
58611 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
58612
58613 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
58614
58615 ;;
58616 *-rtems*)
58617
58618 # All these tests are for C++; save the language and the compiler flags.
58619 # The CXXFLAGS thing is suspicious, but based on similar bits previously
58620 # found in GLIBCXX_CONFIGURE.
58621
58622 ac_ext=cpp
58623 ac_cpp='$CXXCPP $CPPFLAGS'
58624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58627
58628 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58629 ac_save_CXXFLAGS="$CXXFLAGS"
58630
58631 # Check for maintainer-mode bits.
58632 if test x"$USE_MAINTAINER_MODE" = xno; then
58633 WERROR=''
58634 else
58635 WERROR='-Werror'
58636 fi
58637
58638 # Check for -ffunction-sections -fdata-sections
58639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
58640 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
58641 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
58642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58643 /* end confdefs.h. */
58644 int foo; void bar() { };
58645 int
58646 main ()
58647 {
58648
58649 ;
58650 return 0;
58651 }
58652 _ACEOF
58653 if ac_fn_cxx_try_compile "$LINENO"; then :
58654 ac_fdsections=yes
58655 else
58656 ac_fdsections=no
58657 fi
58658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58659 if test "$ac_test_CXXFLAGS" = set; then
58660 CXXFLAGS="$ac_save_CXXFLAGS"
58661 else
58662 # this is the suspicious part
58663 CXXFLAGS=''
58664 fi
58665 if test x"$ac_fdsections" = x"yes"; then
58666 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58667 fi
58668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
58669 $as_echo "$ac_fdsections" >&6; }
58670
58671 ac_ext=c
58672 ac_cpp='$CPP $CPPFLAGS'
58673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58676
58677
58678
58679
58680
58681 # If we're not using GNU ld, then there's no point in even trying these
58682 # tests. Check for that first. We should have already tested for gld
58683 # by now (in libtool), but require it now just to be safe...
58684 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58685 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58686
58687
58688
58689 # The name set by libtool depends on the version of libtool. Shame on us
58690 # for depending on an impl detail, but c'est la vie. Older versions used
58691 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58692 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58693 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58694 # set (hence we're using an older libtool), then set it.
58695 if test x${with_gnu_ld+set} != xset; then
58696 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58697 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58698 with_gnu_ld=no
58699 else
58700 with_gnu_ld=$ac_cv_prog_gnu_ld
58701 fi
58702 fi
58703
58704 # Start by getting the version number. I think the libtool test already
58705 # does some of this, but throws away the result.
58706 glibcxx_ld_is_gold=no
58707 if test x"$with_gnu_ld" = x"yes"; then
58708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58709 $as_echo_n "checking for ld version... " >&6; }
58710
58711 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58712 glibcxx_ld_is_gold=yes
58713 fi
58714 ldver=`$LD --version 2>/dev/null |
58715 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'`
58716
58717 glibcxx_gnu_ld_version=`echo $ldver | \
58718 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58720 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58721 fi
58722
58723 # Set --gc-sections.
58724 glibcxx_have_gc_sections=no
58725 if test "$glibcxx_ld_is_gold" = "yes"; then
58726 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58727 glibcxx_have_gc_sections=yes
58728 fi
58729 else
58730 glibcxx_gcsections_min_ld=21602
58731 if test x"$with_gnu_ld" = x"yes" &&
58732 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58733 glibcxx_have_gc_sections=yes
58734 fi
58735 fi
58736 if test "$glibcxx_have_gc_sections" = "yes"; then
58737 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58738 # NB: This flag only works reliably after 2.16.1. Configure tests
58739 # for this are difficult, so hard wire a value that should work.
58740
58741 ac_test_CFLAGS="${CFLAGS+set}"
58742 ac_save_CFLAGS="$CFLAGS"
58743 CFLAGS='-Wl,--gc-sections'
58744
58745 # Check for -Wl,--gc-sections
58746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58747 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58748 if test x$gcc_no_link = xyes; then
58749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58750 fi
58751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58752 /* end confdefs.h. */
58753 int one(void) { return 1; }
58754 int two(void) { return 2; }
58755
58756 int
58757 main ()
58758 {
58759 two();
58760 ;
58761 return 0;
58762 }
58763 _ACEOF
58764 if ac_fn_c_try_link "$LINENO"; then :
58765 ac_gcsections=yes
58766 else
58767 ac_gcsections=no
58768 fi
58769 rm -f core conftest.err conftest.$ac_objext \
58770 conftest$ac_exeext conftest.$ac_ext
58771 if test "$ac_gcsections" = "yes"; then
58772 rm -f conftest.c
58773 touch conftest.c
58774 if $CC -c conftest.c; then
58775 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58776 grep "Warning: gc-sections option ignored" > /dev/null; then
58777 ac_gcsections=no
58778 fi
58779 fi
58780 rm -f conftest.c conftest.o conftest
58781 fi
58782 if test "$ac_gcsections" = "yes"; then
58783 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58784 fi
58785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58786 $as_echo "$ac_gcsections" >&6; }
58787
58788 if test "$ac_test_CFLAGS" = set; then
58789 CFLAGS="$ac_save_CFLAGS"
58790 else
58791 # this is the suspicious part
58792 CFLAGS=''
58793 fi
58794 fi
58795
58796 # Set -z,relro.
58797 # Note this is only for shared objects.
58798 ac_ld_relro=no
58799 if test x"$with_gnu_ld" = x"yes"; then
58800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58801 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58802 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58803 if test -n "$cxx_z_relo"; then
58804 OPT_LDFLAGS="-Wl,-z,relro"
58805 ac_ld_relro=yes
58806 fi
58807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58808 $as_echo "$ac_ld_relro" >&6; }
58809 fi
58810
58811 # Set linker optimization flags.
58812 if test x"$with_gnu_ld" = x"yes"; then
58813 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58814 fi
58815
58816
58817
58818
58819
58820 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58821 ac_save_CXXFLAGS="$CXXFLAGS"
58822 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58823
58824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58825 $as_echo_n "checking for sin in -lm... " >&6; }
58826 if test "${ac_cv_lib_m_sin+set}" = set; then :
58827 $as_echo_n "(cached) " >&6
58828 else
58829 ac_check_lib_save_LIBS=$LIBS
58830 LIBS="-lm $LIBS"
58831 if test x$gcc_no_link = xyes; then
58832 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58833 fi
58834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58835 /* end confdefs.h. */
58836
58837 /* Override any GCC internal prototype to avoid an error.
58838 Use char because int might match the return type of a GCC
58839 builtin and then its argument prototype would still apply. */
58840 #ifdef __cplusplus
58841 extern "C"
58842 #endif
58843 char sin ();
58844 int
58845 main ()
58846 {
58847 return sin ();
58848 ;
58849 return 0;
58850 }
58851 _ACEOF
58852 if ac_fn_c_try_link "$LINENO"; then :
58853 ac_cv_lib_m_sin=yes
58854 else
58855 ac_cv_lib_m_sin=no
58856 fi
58857 rm -f core conftest.err conftest.$ac_objext \
58858 conftest$ac_exeext conftest.$ac_ext
58859 LIBS=$ac_check_lib_save_LIBS
58860 fi
58861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58862 $as_echo "$ac_cv_lib_m_sin" >&6; }
58863 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58864 libm="-lm"
58865 fi
58866
58867 ac_save_LIBS="$LIBS"
58868 LIBS="$LIBS $libm"
58869
58870
58871
58872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58873 $as_echo_n "checking for isinf declaration... " >&6; }
58874 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58875 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58876 $as_echo_n "(cached) " >&6
58877 else
58878
58879
58880 ac_ext=cpp
58881 ac_cpp='$CXXCPP $CPPFLAGS'
58882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58885
58886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58887 /* end confdefs.h. */
58888 #include <math.h>
58889 #ifdef HAVE_IEEEFP_H
58890 #include <ieeefp.h>
58891 #endif
58892
58893 int
58894 main ()
58895 {
58896 isinf(0);
58897 ;
58898 return 0;
58899 }
58900 _ACEOF
58901 if ac_fn_cxx_try_compile "$LINENO"; then :
58902 glibcxx_cv_func_isinf_use=yes
58903 else
58904 glibcxx_cv_func_isinf_use=no
58905 fi
58906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58907 ac_ext=c
58908 ac_cpp='$CPP $CPPFLAGS'
58909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58912
58913
58914 fi
58915
58916 fi
58917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58918 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58919
58920 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58921 for ac_func in isinf
58922 do :
58923 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58924 if test "x$ac_cv_func_isinf" = x""yes; then :
58925 cat >>confdefs.h <<_ACEOF
58926 #define HAVE_ISINF 1
58927 _ACEOF
58928
58929 fi
58930 done
58931
58932 else
58933
58934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58935 $as_echo_n "checking for _isinf declaration... " >&6; }
58936 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58937 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58938 $as_echo_n "(cached) " >&6
58939 else
58940
58941
58942 ac_ext=cpp
58943 ac_cpp='$CXXCPP $CPPFLAGS'
58944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58947
58948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58949 /* end confdefs.h. */
58950 #include <math.h>
58951 #ifdef HAVE_IEEEFP_H
58952 #include <ieeefp.h>
58953 #endif
58954
58955 int
58956 main ()
58957 {
58958 _isinf(0);
58959 ;
58960 return 0;
58961 }
58962 _ACEOF
58963 if ac_fn_cxx_try_compile "$LINENO"; then :
58964 glibcxx_cv_func__isinf_use=yes
58965 else
58966 glibcxx_cv_func__isinf_use=no
58967 fi
58968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58969 ac_ext=c
58970 ac_cpp='$CPP $CPPFLAGS'
58971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58974
58975
58976 fi
58977
58978 fi
58979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58980 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58981
58982 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58983 for ac_func in _isinf
58984 do :
58985 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58986 if test "x$ac_cv_func__isinf" = x""yes; then :
58987 cat >>confdefs.h <<_ACEOF
58988 #define HAVE__ISINF 1
58989 _ACEOF
58990
58991 fi
58992 done
58993
58994 fi
58995 fi
58996
58997
58998
58999
59000
59001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59002 $as_echo_n "checking for isnan declaration... " >&6; }
59003 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59004 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59005 $as_echo_n "(cached) " >&6
59006 else
59007
59008
59009 ac_ext=cpp
59010 ac_cpp='$CXXCPP $CPPFLAGS'
59011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59014
59015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59016 /* end confdefs.h. */
59017 #include <math.h>
59018 #ifdef HAVE_IEEEFP_H
59019 #include <ieeefp.h>
59020 #endif
59021
59022 int
59023 main ()
59024 {
59025 isnan(0);
59026 ;
59027 return 0;
59028 }
59029 _ACEOF
59030 if ac_fn_cxx_try_compile "$LINENO"; then :
59031 glibcxx_cv_func_isnan_use=yes
59032 else
59033 glibcxx_cv_func_isnan_use=no
59034 fi
59035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59036 ac_ext=c
59037 ac_cpp='$CPP $CPPFLAGS'
59038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59041
59042
59043 fi
59044
59045 fi
59046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59047 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59048
59049 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59050 for ac_func in isnan
59051 do :
59052 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59053 if test "x$ac_cv_func_isnan" = x""yes; then :
59054 cat >>confdefs.h <<_ACEOF
59055 #define HAVE_ISNAN 1
59056 _ACEOF
59057
59058 fi
59059 done
59060
59061 else
59062
59063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59064 $as_echo_n "checking for _isnan declaration... " >&6; }
59065 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59066 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59067 $as_echo_n "(cached) " >&6
59068 else
59069
59070
59071 ac_ext=cpp
59072 ac_cpp='$CXXCPP $CPPFLAGS'
59073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59076
59077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59078 /* end confdefs.h. */
59079 #include <math.h>
59080 #ifdef HAVE_IEEEFP_H
59081 #include <ieeefp.h>
59082 #endif
59083
59084 int
59085 main ()
59086 {
59087 _isnan(0);
59088 ;
59089 return 0;
59090 }
59091 _ACEOF
59092 if ac_fn_cxx_try_compile "$LINENO"; then :
59093 glibcxx_cv_func__isnan_use=yes
59094 else
59095 glibcxx_cv_func__isnan_use=no
59096 fi
59097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59098 ac_ext=c
59099 ac_cpp='$CPP $CPPFLAGS'
59100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59103
59104
59105 fi
59106
59107 fi
59108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59109 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59110
59111 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59112 for ac_func in _isnan
59113 do :
59114 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59115 if test "x$ac_cv_func__isnan" = x""yes; then :
59116 cat >>confdefs.h <<_ACEOF
59117 #define HAVE__ISNAN 1
59118 _ACEOF
59119
59120 fi
59121 done
59122
59123 fi
59124 fi
59125
59126
59127
59128
59129
59130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59131 $as_echo_n "checking for finite declaration... " >&6; }
59132 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59133 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59134 $as_echo_n "(cached) " >&6
59135 else
59136
59137
59138 ac_ext=cpp
59139 ac_cpp='$CXXCPP $CPPFLAGS'
59140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59143
59144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59145 /* end confdefs.h. */
59146 #include <math.h>
59147 #ifdef HAVE_IEEEFP_H
59148 #include <ieeefp.h>
59149 #endif
59150
59151 int
59152 main ()
59153 {
59154 finite(0);
59155 ;
59156 return 0;
59157 }
59158 _ACEOF
59159 if ac_fn_cxx_try_compile "$LINENO"; then :
59160 glibcxx_cv_func_finite_use=yes
59161 else
59162 glibcxx_cv_func_finite_use=no
59163 fi
59164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59165 ac_ext=c
59166 ac_cpp='$CPP $CPPFLAGS'
59167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59170
59171
59172 fi
59173
59174 fi
59175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59176 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59177
59178 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59179 for ac_func in finite
59180 do :
59181 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59182 if test "x$ac_cv_func_finite" = x""yes; then :
59183 cat >>confdefs.h <<_ACEOF
59184 #define HAVE_FINITE 1
59185 _ACEOF
59186
59187 fi
59188 done
59189
59190 else
59191
59192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59193 $as_echo_n "checking for _finite declaration... " >&6; }
59194 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59195 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59196 $as_echo_n "(cached) " >&6
59197 else
59198
59199
59200 ac_ext=cpp
59201 ac_cpp='$CXXCPP $CPPFLAGS'
59202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59205
59206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59207 /* end confdefs.h. */
59208 #include <math.h>
59209 #ifdef HAVE_IEEEFP_H
59210 #include <ieeefp.h>
59211 #endif
59212
59213 int
59214 main ()
59215 {
59216 _finite(0);
59217 ;
59218 return 0;
59219 }
59220 _ACEOF
59221 if ac_fn_cxx_try_compile "$LINENO"; then :
59222 glibcxx_cv_func__finite_use=yes
59223 else
59224 glibcxx_cv_func__finite_use=no
59225 fi
59226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59227 ac_ext=c
59228 ac_cpp='$CPP $CPPFLAGS'
59229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59232
59233
59234 fi
59235
59236 fi
59237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59238 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59239
59240 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59241 for ac_func in _finite
59242 do :
59243 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59244 if test "x$ac_cv_func__finite" = x""yes; then :
59245 cat >>confdefs.h <<_ACEOF
59246 #define HAVE__FINITE 1
59247 _ACEOF
59248
59249 fi
59250 done
59251
59252 fi
59253 fi
59254
59255
59256
59257
59258
59259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59260 $as_echo_n "checking for sincos declaration... " >&6; }
59261 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59262 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59263 $as_echo_n "(cached) " >&6
59264 else
59265
59266
59267 ac_ext=cpp
59268 ac_cpp='$CXXCPP $CPPFLAGS'
59269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59272
59273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59274 /* end confdefs.h. */
59275 #include <math.h>
59276 int
59277 main ()
59278 {
59279 sincos(0, 0, 0);
59280 ;
59281 return 0;
59282 }
59283 _ACEOF
59284 if ac_fn_cxx_try_compile "$LINENO"; then :
59285 glibcxx_cv_func_sincos_use=yes
59286 else
59287 glibcxx_cv_func_sincos_use=no
59288 fi
59289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59290 ac_ext=c
59291 ac_cpp='$CPP $CPPFLAGS'
59292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59295
59296
59297 fi
59298
59299 fi
59300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59301 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59302
59303 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59304 for ac_func in sincos
59305 do :
59306 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59307 if test "x$ac_cv_func_sincos" = x""yes; then :
59308 cat >>confdefs.h <<_ACEOF
59309 #define HAVE_SINCOS 1
59310 _ACEOF
59311
59312 fi
59313 done
59314
59315 else
59316
59317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59318 $as_echo_n "checking for _sincos declaration... " >&6; }
59319 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59320 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59321 $as_echo_n "(cached) " >&6
59322 else
59323
59324
59325 ac_ext=cpp
59326 ac_cpp='$CXXCPP $CPPFLAGS'
59327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59330
59331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59332 /* end confdefs.h. */
59333 #include <math.h>
59334 int
59335 main ()
59336 {
59337 _sincos(0, 0, 0);
59338 ;
59339 return 0;
59340 }
59341 _ACEOF
59342 if ac_fn_cxx_try_compile "$LINENO"; then :
59343 glibcxx_cv_func__sincos_use=yes
59344 else
59345 glibcxx_cv_func__sincos_use=no
59346 fi
59347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59348 ac_ext=c
59349 ac_cpp='$CPP $CPPFLAGS'
59350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59353
59354
59355 fi
59356
59357 fi
59358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59359 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59360
59361 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59362 for ac_func in _sincos
59363 do :
59364 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59365 if test "x$ac_cv_func__sincos" = x""yes; then :
59366 cat >>confdefs.h <<_ACEOF
59367 #define HAVE__SINCOS 1
59368 _ACEOF
59369
59370 fi
59371 done
59372
59373 fi
59374 fi
59375
59376
59377
59378
59379
59380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59381 $as_echo_n "checking for fpclass declaration... " >&6; }
59382 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59383 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59384 $as_echo_n "(cached) " >&6
59385 else
59386
59387
59388 ac_ext=cpp
59389 ac_cpp='$CXXCPP $CPPFLAGS'
59390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59393
59394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59395 /* end confdefs.h. */
59396 #include <math.h>
59397 #ifdef HAVE_IEEEFP_H
59398 #include <ieeefp.h>
59399 #endif
59400
59401 int
59402 main ()
59403 {
59404 fpclass(0);
59405 ;
59406 return 0;
59407 }
59408 _ACEOF
59409 if ac_fn_cxx_try_compile "$LINENO"; then :
59410 glibcxx_cv_func_fpclass_use=yes
59411 else
59412 glibcxx_cv_func_fpclass_use=no
59413 fi
59414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59415 ac_ext=c
59416 ac_cpp='$CPP $CPPFLAGS'
59417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59420
59421
59422 fi
59423
59424 fi
59425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59426 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59427
59428 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59429 for ac_func in fpclass
59430 do :
59431 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59432 if test "x$ac_cv_func_fpclass" = x""yes; then :
59433 cat >>confdefs.h <<_ACEOF
59434 #define HAVE_FPCLASS 1
59435 _ACEOF
59436
59437 fi
59438 done
59439
59440 else
59441
59442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59443 $as_echo_n "checking for _fpclass declaration... " >&6; }
59444 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59445 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59446 $as_echo_n "(cached) " >&6
59447 else
59448
59449
59450 ac_ext=cpp
59451 ac_cpp='$CXXCPP $CPPFLAGS'
59452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59455
59456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59457 /* end confdefs.h. */
59458 #include <math.h>
59459 #ifdef HAVE_IEEEFP_H
59460 #include <ieeefp.h>
59461 #endif
59462
59463 int
59464 main ()
59465 {
59466 _fpclass(0);
59467 ;
59468 return 0;
59469 }
59470 _ACEOF
59471 if ac_fn_cxx_try_compile "$LINENO"; then :
59472 glibcxx_cv_func__fpclass_use=yes
59473 else
59474 glibcxx_cv_func__fpclass_use=no
59475 fi
59476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59477 ac_ext=c
59478 ac_cpp='$CPP $CPPFLAGS'
59479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59482
59483
59484 fi
59485
59486 fi
59487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59488 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59489
59490 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59491 for ac_func in _fpclass
59492 do :
59493 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59494 if test "x$ac_cv_func__fpclass" = x""yes; then :
59495 cat >>confdefs.h <<_ACEOF
59496 #define HAVE__FPCLASS 1
59497 _ACEOF
59498
59499 fi
59500 done
59501
59502 fi
59503 fi
59504
59505
59506
59507
59508
59509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59510 $as_echo_n "checking for qfpclass declaration... " >&6; }
59511 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59512 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59513 $as_echo_n "(cached) " >&6
59514 else
59515
59516
59517 ac_ext=cpp
59518 ac_cpp='$CXXCPP $CPPFLAGS'
59519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59522
59523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59524 /* end confdefs.h. */
59525 #include <math.h>
59526 #ifdef HAVE_IEEEFP_H
59527 #include <ieeefp.h>
59528 #endif
59529
59530 int
59531 main ()
59532 {
59533 qfpclass(0);
59534 ;
59535 return 0;
59536 }
59537 _ACEOF
59538 if ac_fn_cxx_try_compile "$LINENO"; then :
59539 glibcxx_cv_func_qfpclass_use=yes
59540 else
59541 glibcxx_cv_func_qfpclass_use=no
59542 fi
59543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59544 ac_ext=c
59545 ac_cpp='$CPP $CPPFLAGS'
59546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59549
59550
59551 fi
59552
59553 fi
59554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59555 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59556
59557 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59558 for ac_func in qfpclass
59559 do :
59560 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59561 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59562 cat >>confdefs.h <<_ACEOF
59563 #define HAVE_QFPCLASS 1
59564 _ACEOF
59565
59566 fi
59567 done
59568
59569 else
59570
59571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59572 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59573 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59574 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59575 $as_echo_n "(cached) " >&6
59576 else
59577
59578
59579 ac_ext=cpp
59580 ac_cpp='$CXXCPP $CPPFLAGS'
59581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59584
59585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59586 /* end confdefs.h. */
59587 #include <math.h>
59588 #ifdef HAVE_IEEEFP_H
59589 #include <ieeefp.h>
59590 #endif
59591
59592 int
59593 main ()
59594 {
59595 _qfpclass(0);
59596 ;
59597 return 0;
59598 }
59599 _ACEOF
59600 if ac_fn_cxx_try_compile "$LINENO"; then :
59601 glibcxx_cv_func__qfpclass_use=yes
59602 else
59603 glibcxx_cv_func__qfpclass_use=no
59604 fi
59605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59606 ac_ext=c
59607 ac_cpp='$CPP $CPPFLAGS'
59608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59611
59612
59613 fi
59614
59615 fi
59616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59617 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59618
59619 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59620 for ac_func in _qfpclass
59621 do :
59622 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59623 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59624 cat >>confdefs.h <<_ACEOF
59625 #define HAVE__QFPCLASS 1
59626 _ACEOF
59627
59628 fi
59629 done
59630
59631 fi
59632 fi
59633
59634
59635
59636
59637
59638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59639 $as_echo_n "checking for hypot declaration... " >&6; }
59640 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59641 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59642 $as_echo_n "(cached) " >&6
59643 else
59644
59645
59646 ac_ext=cpp
59647 ac_cpp='$CXXCPP $CPPFLAGS'
59648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59651
59652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59653 /* end confdefs.h. */
59654 #include <math.h>
59655 int
59656 main ()
59657 {
59658 hypot(0, 0);
59659 ;
59660 return 0;
59661 }
59662 _ACEOF
59663 if ac_fn_cxx_try_compile "$LINENO"; then :
59664 glibcxx_cv_func_hypot_use=yes
59665 else
59666 glibcxx_cv_func_hypot_use=no
59667 fi
59668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59669 ac_ext=c
59670 ac_cpp='$CPP $CPPFLAGS'
59671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59674
59675
59676 fi
59677
59678 fi
59679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59680 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59681
59682 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59683 for ac_func in hypot
59684 do :
59685 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59686 if test "x$ac_cv_func_hypot" = x""yes; then :
59687 cat >>confdefs.h <<_ACEOF
59688 #define HAVE_HYPOT 1
59689 _ACEOF
59690
59691 fi
59692 done
59693
59694 else
59695
59696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59697 $as_echo_n "checking for _hypot declaration... " >&6; }
59698 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59699 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59700 $as_echo_n "(cached) " >&6
59701 else
59702
59703
59704 ac_ext=cpp
59705 ac_cpp='$CXXCPP $CPPFLAGS'
59706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59709
59710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59711 /* end confdefs.h. */
59712 #include <math.h>
59713 int
59714 main ()
59715 {
59716 _hypot(0, 0);
59717 ;
59718 return 0;
59719 }
59720 _ACEOF
59721 if ac_fn_cxx_try_compile "$LINENO"; then :
59722 glibcxx_cv_func__hypot_use=yes
59723 else
59724 glibcxx_cv_func__hypot_use=no
59725 fi
59726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59727 ac_ext=c
59728 ac_cpp='$CPP $CPPFLAGS'
59729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59732
59733
59734 fi
59735
59736 fi
59737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59738 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59739
59740 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59741 for ac_func in _hypot
59742 do :
59743 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59744 if test "x$ac_cv_func__hypot" = x""yes; then :
59745 cat >>confdefs.h <<_ACEOF
59746 #define HAVE__HYPOT 1
59747 _ACEOF
59748
59749 fi
59750 done
59751
59752 fi
59753 fi
59754
59755
59756
59757
59758
59759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59760 $as_echo_n "checking for float trig functions... " >&6; }
59761 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59762 $as_echo_n "(cached) " >&6
59763 else
59764
59765
59766 ac_ext=cpp
59767 ac_cpp='$CXXCPP $CPPFLAGS'
59768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59771
59772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59773 /* end confdefs.h. */
59774 #include <math.h>
59775 int
59776 main ()
59777 {
59778 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59779 ;
59780 return 0;
59781 }
59782 _ACEOF
59783 if ac_fn_cxx_try_compile "$LINENO"; then :
59784 glibcxx_cv_func_float_trig_use=yes
59785 else
59786 glibcxx_cv_func_float_trig_use=no
59787 fi
59788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59789 ac_ext=c
59790 ac_cpp='$CPP $CPPFLAGS'
59791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59794
59795 fi
59796
59797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59798 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59799 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59800 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59801 do :
59802 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59803 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59804 eval as_val=\$$as_ac_var
59805 if test "x$as_val" = x""yes; then :
59806 cat >>confdefs.h <<_ACEOF
59807 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59808 _ACEOF
59809
59810 fi
59811 done
59812
59813 else
59814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59815 $as_echo_n "checking for _float trig functions... " >&6; }
59816 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59817 $as_echo_n "(cached) " >&6
59818 else
59819
59820
59821 ac_ext=cpp
59822 ac_cpp='$CXXCPP $CPPFLAGS'
59823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59826
59827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59828 /* end confdefs.h. */
59829 #include <math.h>
59830 int
59831 main ()
59832 {
59833 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59834 ;
59835 return 0;
59836 }
59837 _ACEOF
59838 if ac_fn_cxx_try_compile "$LINENO"; then :
59839 glibcxx_cv_func__float_trig_use=yes
59840 else
59841 glibcxx_cv_func__float_trig_use=no
59842 fi
59843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59844 ac_ext=c
59845 ac_cpp='$CPP $CPPFLAGS'
59846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59849
59850 fi
59851
59852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59853 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59854 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59855 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59856 do :
59857 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59858 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59859 eval as_val=\$$as_ac_var
59860 if test "x$as_val" = x""yes; then :
59861 cat >>confdefs.h <<_ACEOF
59862 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59863 _ACEOF
59864
59865 fi
59866 done
59867
59868 fi
59869 fi
59870
59871
59872
59873
59874
59875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59876 $as_echo_n "checking for float round functions... " >&6; }
59877 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59878 $as_echo_n "(cached) " >&6
59879 else
59880
59881
59882 ac_ext=cpp
59883 ac_cpp='$CXXCPP $CPPFLAGS'
59884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59887
59888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59889 /* end confdefs.h. */
59890 #include <math.h>
59891 int
59892 main ()
59893 {
59894 ceilf (0); floorf (0);
59895 ;
59896 return 0;
59897 }
59898 _ACEOF
59899 if ac_fn_cxx_try_compile "$LINENO"; then :
59900 glibcxx_cv_func_float_round_use=yes
59901 else
59902 glibcxx_cv_func_float_round_use=no
59903 fi
59904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59905 ac_ext=c
59906 ac_cpp='$CPP $CPPFLAGS'
59907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59910
59911 fi
59912
59913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59914 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59915 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59916 for ac_func in ceilf floorf
59917 do :
59918 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59919 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59920 eval as_val=\$$as_ac_var
59921 if test "x$as_val" = x""yes; then :
59922 cat >>confdefs.h <<_ACEOF
59923 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59924 _ACEOF
59925
59926 fi
59927 done
59928
59929 else
59930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59931 $as_echo_n "checking for _float round functions... " >&6; }
59932 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59933 $as_echo_n "(cached) " >&6
59934 else
59935
59936
59937 ac_ext=cpp
59938 ac_cpp='$CXXCPP $CPPFLAGS'
59939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59942
59943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59944 /* end confdefs.h. */
59945 #include <math.h>
59946 int
59947 main ()
59948 {
59949 _ceilf (0); _floorf (0);
59950 ;
59951 return 0;
59952 }
59953 _ACEOF
59954 if ac_fn_cxx_try_compile "$LINENO"; then :
59955 glibcxx_cv_func__float_round_use=yes
59956 else
59957 glibcxx_cv_func__float_round_use=no
59958 fi
59959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59960 ac_ext=c
59961 ac_cpp='$CPP $CPPFLAGS'
59962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59965
59966 fi
59967
59968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59969 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59970 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59971 for ac_func in _ceilf _floorf
59972 do :
59973 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59974 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59975 eval as_val=\$$as_ac_var
59976 if test "x$as_val" = x""yes; then :
59977 cat >>confdefs.h <<_ACEOF
59978 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59979 _ACEOF
59980
59981 fi
59982 done
59983
59984 fi
59985 fi
59986
59987
59988
59989
59990
59991
59992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59993 $as_echo_n "checking for expf declaration... " >&6; }
59994 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59995 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59996 $as_echo_n "(cached) " >&6
59997 else
59998
59999
60000 ac_ext=cpp
60001 ac_cpp='$CXXCPP $CPPFLAGS'
60002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60005
60006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60007 /* end confdefs.h. */
60008 #include <math.h>
60009 #ifdef HAVE_IEEEFP_H
60010 #include <ieeefp.h>
60011 #endif
60012
60013 int
60014 main ()
60015 {
60016 expf(0);
60017 ;
60018 return 0;
60019 }
60020 _ACEOF
60021 if ac_fn_cxx_try_compile "$LINENO"; then :
60022 glibcxx_cv_func_expf_use=yes
60023 else
60024 glibcxx_cv_func_expf_use=no
60025 fi
60026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60027 ac_ext=c
60028 ac_cpp='$CPP $CPPFLAGS'
60029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60032
60033
60034 fi
60035
60036 fi
60037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60038 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60039
60040 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60041 for ac_func in expf
60042 do :
60043 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60044 if test "x$ac_cv_func_expf" = x""yes; then :
60045 cat >>confdefs.h <<_ACEOF
60046 #define HAVE_EXPF 1
60047 _ACEOF
60048
60049 fi
60050 done
60051
60052 else
60053
60054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60055 $as_echo_n "checking for _expf declaration... " >&6; }
60056 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60057 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60058 $as_echo_n "(cached) " >&6
60059 else
60060
60061
60062 ac_ext=cpp
60063 ac_cpp='$CXXCPP $CPPFLAGS'
60064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60067
60068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60069 /* end confdefs.h. */
60070 #include <math.h>
60071 #ifdef HAVE_IEEEFP_H
60072 #include <ieeefp.h>
60073 #endif
60074
60075 int
60076 main ()
60077 {
60078 _expf(0);
60079 ;
60080 return 0;
60081 }
60082 _ACEOF
60083 if ac_fn_cxx_try_compile "$LINENO"; then :
60084 glibcxx_cv_func__expf_use=yes
60085 else
60086 glibcxx_cv_func__expf_use=no
60087 fi
60088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60089 ac_ext=c
60090 ac_cpp='$CPP $CPPFLAGS'
60091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60094
60095
60096 fi
60097
60098 fi
60099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60100 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60101
60102 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60103 for ac_func in _expf
60104 do :
60105 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60106 if test "x$ac_cv_func__expf" = x""yes; then :
60107 cat >>confdefs.h <<_ACEOF
60108 #define HAVE__EXPF 1
60109 _ACEOF
60110
60111 fi
60112 done
60113
60114 fi
60115 fi
60116
60117
60118
60119
60120
60121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60122 $as_echo_n "checking for isnanf declaration... " >&6; }
60123 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60124 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60125 $as_echo_n "(cached) " >&6
60126 else
60127
60128
60129 ac_ext=cpp
60130 ac_cpp='$CXXCPP $CPPFLAGS'
60131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60134
60135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60136 /* end confdefs.h. */
60137 #include <math.h>
60138 #ifdef HAVE_IEEEFP_H
60139 #include <ieeefp.h>
60140 #endif
60141
60142 int
60143 main ()
60144 {
60145 isnanf(0);
60146 ;
60147 return 0;
60148 }
60149 _ACEOF
60150 if ac_fn_cxx_try_compile "$LINENO"; then :
60151 glibcxx_cv_func_isnanf_use=yes
60152 else
60153 glibcxx_cv_func_isnanf_use=no
60154 fi
60155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60156 ac_ext=c
60157 ac_cpp='$CPP $CPPFLAGS'
60158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60161
60162
60163 fi
60164
60165 fi
60166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60167 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60168
60169 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60170 for ac_func in isnanf
60171 do :
60172 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60173 if test "x$ac_cv_func_isnanf" = x""yes; then :
60174 cat >>confdefs.h <<_ACEOF
60175 #define HAVE_ISNANF 1
60176 _ACEOF
60177
60178 fi
60179 done
60180
60181 else
60182
60183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60184 $as_echo_n "checking for _isnanf declaration... " >&6; }
60185 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60186 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60187 $as_echo_n "(cached) " >&6
60188 else
60189
60190
60191 ac_ext=cpp
60192 ac_cpp='$CXXCPP $CPPFLAGS'
60193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60196
60197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60198 /* end confdefs.h. */
60199 #include <math.h>
60200 #ifdef HAVE_IEEEFP_H
60201 #include <ieeefp.h>
60202 #endif
60203
60204 int
60205 main ()
60206 {
60207 _isnanf(0);
60208 ;
60209 return 0;
60210 }
60211 _ACEOF
60212 if ac_fn_cxx_try_compile "$LINENO"; then :
60213 glibcxx_cv_func__isnanf_use=yes
60214 else
60215 glibcxx_cv_func__isnanf_use=no
60216 fi
60217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60218 ac_ext=c
60219 ac_cpp='$CPP $CPPFLAGS'
60220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60223
60224
60225 fi
60226
60227 fi
60228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60229 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60230
60231 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60232 for ac_func in _isnanf
60233 do :
60234 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60235 if test "x$ac_cv_func__isnanf" = x""yes; then :
60236 cat >>confdefs.h <<_ACEOF
60237 #define HAVE__ISNANF 1
60238 _ACEOF
60239
60240 fi
60241 done
60242
60243 fi
60244 fi
60245
60246
60247
60248
60249
60250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60251 $as_echo_n "checking for isinff declaration... " >&6; }
60252 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60253 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60254 $as_echo_n "(cached) " >&6
60255 else
60256
60257
60258 ac_ext=cpp
60259 ac_cpp='$CXXCPP $CPPFLAGS'
60260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60263
60264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60265 /* end confdefs.h. */
60266 #include <math.h>
60267 #ifdef HAVE_IEEEFP_H
60268 #include <ieeefp.h>
60269 #endif
60270
60271 int
60272 main ()
60273 {
60274 isinff(0);
60275 ;
60276 return 0;
60277 }
60278 _ACEOF
60279 if ac_fn_cxx_try_compile "$LINENO"; then :
60280 glibcxx_cv_func_isinff_use=yes
60281 else
60282 glibcxx_cv_func_isinff_use=no
60283 fi
60284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60285 ac_ext=c
60286 ac_cpp='$CPP $CPPFLAGS'
60287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60290
60291
60292 fi
60293
60294 fi
60295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60296 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60297
60298 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60299 for ac_func in isinff
60300 do :
60301 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60302 if test "x$ac_cv_func_isinff" = x""yes; then :
60303 cat >>confdefs.h <<_ACEOF
60304 #define HAVE_ISINFF 1
60305 _ACEOF
60306
60307 fi
60308 done
60309
60310 else
60311
60312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60313 $as_echo_n "checking for _isinff declaration... " >&6; }
60314 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60315 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60316 $as_echo_n "(cached) " >&6
60317 else
60318
60319
60320 ac_ext=cpp
60321 ac_cpp='$CXXCPP $CPPFLAGS'
60322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60325
60326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60327 /* end confdefs.h. */
60328 #include <math.h>
60329 #ifdef HAVE_IEEEFP_H
60330 #include <ieeefp.h>
60331 #endif
60332
60333 int
60334 main ()
60335 {
60336 _isinff(0);
60337 ;
60338 return 0;
60339 }
60340 _ACEOF
60341 if ac_fn_cxx_try_compile "$LINENO"; then :
60342 glibcxx_cv_func__isinff_use=yes
60343 else
60344 glibcxx_cv_func__isinff_use=no
60345 fi
60346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60347 ac_ext=c
60348 ac_cpp='$CPP $CPPFLAGS'
60349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60352
60353
60354 fi
60355
60356 fi
60357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60358 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60359
60360 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60361 for ac_func in _isinff
60362 do :
60363 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60364 if test "x$ac_cv_func__isinff" = x""yes; then :
60365 cat >>confdefs.h <<_ACEOF
60366 #define HAVE__ISINFF 1
60367 _ACEOF
60368
60369 fi
60370 done
60371
60372 fi
60373 fi
60374
60375
60376
60377
60378
60379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60380 $as_echo_n "checking for atan2f declaration... " >&6; }
60381 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60382 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60383 $as_echo_n "(cached) " >&6
60384 else
60385
60386
60387 ac_ext=cpp
60388 ac_cpp='$CXXCPP $CPPFLAGS'
60389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60392
60393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60394 /* end confdefs.h. */
60395 #include <math.h>
60396 int
60397 main ()
60398 {
60399 atan2f(0, 0);
60400 ;
60401 return 0;
60402 }
60403 _ACEOF
60404 if ac_fn_cxx_try_compile "$LINENO"; then :
60405 glibcxx_cv_func_atan2f_use=yes
60406 else
60407 glibcxx_cv_func_atan2f_use=no
60408 fi
60409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60410 ac_ext=c
60411 ac_cpp='$CPP $CPPFLAGS'
60412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60415
60416
60417 fi
60418
60419 fi
60420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60421 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60422
60423 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60424 for ac_func in atan2f
60425 do :
60426 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60427 if test "x$ac_cv_func_atan2f" = x""yes; then :
60428 cat >>confdefs.h <<_ACEOF
60429 #define HAVE_ATAN2F 1
60430 _ACEOF
60431
60432 fi
60433 done
60434
60435 else
60436
60437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60438 $as_echo_n "checking for _atan2f declaration... " >&6; }
60439 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60440 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60441 $as_echo_n "(cached) " >&6
60442 else
60443
60444
60445 ac_ext=cpp
60446 ac_cpp='$CXXCPP $CPPFLAGS'
60447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60450
60451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60452 /* end confdefs.h. */
60453 #include <math.h>
60454 int
60455 main ()
60456 {
60457 _atan2f(0, 0);
60458 ;
60459 return 0;
60460 }
60461 _ACEOF
60462 if ac_fn_cxx_try_compile "$LINENO"; then :
60463 glibcxx_cv_func__atan2f_use=yes
60464 else
60465 glibcxx_cv_func__atan2f_use=no
60466 fi
60467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60468 ac_ext=c
60469 ac_cpp='$CPP $CPPFLAGS'
60470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60473
60474
60475 fi
60476
60477 fi
60478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60479 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60480
60481 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60482 for ac_func in _atan2f
60483 do :
60484 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60485 if test "x$ac_cv_func__atan2f" = x""yes; then :
60486 cat >>confdefs.h <<_ACEOF
60487 #define HAVE__ATAN2F 1
60488 _ACEOF
60489
60490 fi
60491 done
60492
60493 fi
60494 fi
60495
60496
60497
60498
60499
60500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60501 $as_echo_n "checking for fabsf declaration... " >&6; }
60502 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60503 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60504 $as_echo_n "(cached) " >&6
60505 else
60506
60507
60508 ac_ext=cpp
60509 ac_cpp='$CXXCPP $CPPFLAGS'
60510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60513
60514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60515 /* end confdefs.h. */
60516 #include <math.h>
60517 #ifdef HAVE_IEEEFP_H
60518 #include <ieeefp.h>
60519 #endif
60520
60521 int
60522 main ()
60523 {
60524 fabsf(0);
60525 ;
60526 return 0;
60527 }
60528 _ACEOF
60529 if ac_fn_cxx_try_compile "$LINENO"; then :
60530 glibcxx_cv_func_fabsf_use=yes
60531 else
60532 glibcxx_cv_func_fabsf_use=no
60533 fi
60534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60535 ac_ext=c
60536 ac_cpp='$CPP $CPPFLAGS'
60537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60540
60541
60542 fi
60543
60544 fi
60545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60546 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60547
60548 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60549 for ac_func in fabsf
60550 do :
60551 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60552 if test "x$ac_cv_func_fabsf" = x""yes; then :
60553 cat >>confdefs.h <<_ACEOF
60554 #define HAVE_FABSF 1
60555 _ACEOF
60556
60557 fi
60558 done
60559
60560 else
60561
60562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60563 $as_echo_n "checking for _fabsf declaration... " >&6; }
60564 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60565 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60566 $as_echo_n "(cached) " >&6
60567 else
60568
60569
60570 ac_ext=cpp
60571 ac_cpp='$CXXCPP $CPPFLAGS'
60572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60575
60576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60577 /* end confdefs.h. */
60578 #include <math.h>
60579 #ifdef HAVE_IEEEFP_H
60580 #include <ieeefp.h>
60581 #endif
60582
60583 int
60584 main ()
60585 {
60586 _fabsf(0);
60587 ;
60588 return 0;
60589 }
60590 _ACEOF
60591 if ac_fn_cxx_try_compile "$LINENO"; then :
60592 glibcxx_cv_func__fabsf_use=yes
60593 else
60594 glibcxx_cv_func__fabsf_use=no
60595 fi
60596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60597 ac_ext=c
60598 ac_cpp='$CPP $CPPFLAGS'
60599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60602
60603
60604 fi
60605
60606 fi
60607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60608 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60609
60610 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60611 for ac_func in _fabsf
60612 do :
60613 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60614 if test "x$ac_cv_func__fabsf" = x""yes; then :
60615 cat >>confdefs.h <<_ACEOF
60616 #define HAVE__FABSF 1
60617 _ACEOF
60618
60619 fi
60620 done
60621
60622 fi
60623 fi
60624
60625
60626
60627
60628
60629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60630 $as_echo_n "checking for fmodf declaration... " >&6; }
60631 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60632 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60633 $as_echo_n "(cached) " >&6
60634 else
60635
60636
60637 ac_ext=cpp
60638 ac_cpp='$CXXCPP $CPPFLAGS'
60639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60642
60643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60644 /* end confdefs.h. */
60645 #include <math.h>
60646 int
60647 main ()
60648 {
60649 fmodf(0, 0);
60650 ;
60651 return 0;
60652 }
60653 _ACEOF
60654 if ac_fn_cxx_try_compile "$LINENO"; then :
60655 glibcxx_cv_func_fmodf_use=yes
60656 else
60657 glibcxx_cv_func_fmodf_use=no
60658 fi
60659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60660 ac_ext=c
60661 ac_cpp='$CPP $CPPFLAGS'
60662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60665
60666
60667 fi
60668
60669 fi
60670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60671 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60672
60673 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60674 for ac_func in fmodf
60675 do :
60676 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60677 if test "x$ac_cv_func_fmodf" = x""yes; then :
60678 cat >>confdefs.h <<_ACEOF
60679 #define HAVE_FMODF 1
60680 _ACEOF
60681
60682 fi
60683 done
60684
60685 else
60686
60687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60688 $as_echo_n "checking for _fmodf declaration... " >&6; }
60689 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60690 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60691 $as_echo_n "(cached) " >&6
60692 else
60693
60694
60695 ac_ext=cpp
60696 ac_cpp='$CXXCPP $CPPFLAGS'
60697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60700
60701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60702 /* end confdefs.h. */
60703 #include <math.h>
60704 int
60705 main ()
60706 {
60707 _fmodf(0, 0);
60708 ;
60709 return 0;
60710 }
60711 _ACEOF
60712 if ac_fn_cxx_try_compile "$LINENO"; then :
60713 glibcxx_cv_func__fmodf_use=yes
60714 else
60715 glibcxx_cv_func__fmodf_use=no
60716 fi
60717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60718 ac_ext=c
60719 ac_cpp='$CPP $CPPFLAGS'
60720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60723
60724
60725 fi
60726
60727 fi
60728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60729 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60730
60731 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60732 for ac_func in _fmodf
60733 do :
60734 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60735 if test "x$ac_cv_func__fmodf" = x""yes; then :
60736 cat >>confdefs.h <<_ACEOF
60737 #define HAVE__FMODF 1
60738 _ACEOF
60739
60740 fi
60741 done
60742
60743 fi
60744 fi
60745
60746
60747
60748
60749
60750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60751 $as_echo_n "checking for frexpf declaration... " >&6; }
60752 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60753 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60754 $as_echo_n "(cached) " >&6
60755 else
60756
60757
60758 ac_ext=cpp
60759 ac_cpp='$CXXCPP $CPPFLAGS'
60760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60763
60764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60765 /* end confdefs.h. */
60766 #include <math.h>
60767 int
60768 main ()
60769 {
60770 frexpf(0, 0);
60771 ;
60772 return 0;
60773 }
60774 _ACEOF
60775 if ac_fn_cxx_try_compile "$LINENO"; then :
60776 glibcxx_cv_func_frexpf_use=yes
60777 else
60778 glibcxx_cv_func_frexpf_use=no
60779 fi
60780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60781 ac_ext=c
60782 ac_cpp='$CPP $CPPFLAGS'
60783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60786
60787
60788 fi
60789
60790 fi
60791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60792 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60793
60794 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60795 for ac_func in frexpf
60796 do :
60797 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60798 if test "x$ac_cv_func_frexpf" = x""yes; then :
60799 cat >>confdefs.h <<_ACEOF
60800 #define HAVE_FREXPF 1
60801 _ACEOF
60802
60803 fi
60804 done
60805
60806 else
60807
60808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60809 $as_echo_n "checking for _frexpf declaration... " >&6; }
60810 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60811 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60812 $as_echo_n "(cached) " >&6
60813 else
60814
60815
60816 ac_ext=cpp
60817 ac_cpp='$CXXCPP $CPPFLAGS'
60818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60821
60822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60823 /* end confdefs.h. */
60824 #include <math.h>
60825 int
60826 main ()
60827 {
60828 _frexpf(0, 0);
60829 ;
60830 return 0;
60831 }
60832 _ACEOF
60833 if ac_fn_cxx_try_compile "$LINENO"; then :
60834 glibcxx_cv_func__frexpf_use=yes
60835 else
60836 glibcxx_cv_func__frexpf_use=no
60837 fi
60838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60839 ac_ext=c
60840 ac_cpp='$CPP $CPPFLAGS'
60841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60844
60845
60846 fi
60847
60848 fi
60849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60850 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60851
60852 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60853 for ac_func in _frexpf
60854 do :
60855 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60856 if test "x$ac_cv_func__frexpf" = x""yes; then :
60857 cat >>confdefs.h <<_ACEOF
60858 #define HAVE__FREXPF 1
60859 _ACEOF
60860
60861 fi
60862 done
60863
60864 fi
60865 fi
60866
60867
60868
60869
60870
60871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60872 $as_echo_n "checking for hypotf declaration... " >&6; }
60873 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60874 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60875 $as_echo_n "(cached) " >&6
60876 else
60877
60878
60879 ac_ext=cpp
60880 ac_cpp='$CXXCPP $CPPFLAGS'
60881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60884
60885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60886 /* end confdefs.h. */
60887 #include <math.h>
60888 int
60889 main ()
60890 {
60891 hypotf(0, 0);
60892 ;
60893 return 0;
60894 }
60895 _ACEOF
60896 if ac_fn_cxx_try_compile "$LINENO"; then :
60897 glibcxx_cv_func_hypotf_use=yes
60898 else
60899 glibcxx_cv_func_hypotf_use=no
60900 fi
60901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60902 ac_ext=c
60903 ac_cpp='$CPP $CPPFLAGS'
60904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60907
60908
60909 fi
60910
60911 fi
60912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60913 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60914
60915 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60916 for ac_func in hypotf
60917 do :
60918 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60919 if test "x$ac_cv_func_hypotf" = x""yes; then :
60920 cat >>confdefs.h <<_ACEOF
60921 #define HAVE_HYPOTF 1
60922 _ACEOF
60923
60924 fi
60925 done
60926
60927 else
60928
60929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60930 $as_echo_n "checking for _hypotf declaration... " >&6; }
60931 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60932 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60933 $as_echo_n "(cached) " >&6
60934 else
60935
60936
60937 ac_ext=cpp
60938 ac_cpp='$CXXCPP $CPPFLAGS'
60939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60942
60943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60944 /* end confdefs.h. */
60945 #include <math.h>
60946 int
60947 main ()
60948 {
60949 _hypotf(0, 0);
60950 ;
60951 return 0;
60952 }
60953 _ACEOF
60954 if ac_fn_cxx_try_compile "$LINENO"; then :
60955 glibcxx_cv_func__hypotf_use=yes
60956 else
60957 glibcxx_cv_func__hypotf_use=no
60958 fi
60959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60960 ac_ext=c
60961 ac_cpp='$CPP $CPPFLAGS'
60962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60965
60966
60967 fi
60968
60969 fi
60970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60971 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60972
60973 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60974 for ac_func in _hypotf
60975 do :
60976 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60977 if test "x$ac_cv_func__hypotf" = x""yes; then :
60978 cat >>confdefs.h <<_ACEOF
60979 #define HAVE__HYPOTF 1
60980 _ACEOF
60981
60982 fi
60983 done
60984
60985 fi
60986 fi
60987
60988
60989
60990
60991
60992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60993 $as_echo_n "checking for ldexpf declaration... " >&6; }
60994 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60995 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60996 $as_echo_n "(cached) " >&6
60997 else
60998
60999
61000 ac_ext=cpp
61001 ac_cpp='$CXXCPP $CPPFLAGS'
61002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61005
61006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61007 /* end confdefs.h. */
61008 #include <math.h>
61009 int
61010 main ()
61011 {
61012 ldexpf(0, 0);
61013 ;
61014 return 0;
61015 }
61016 _ACEOF
61017 if ac_fn_cxx_try_compile "$LINENO"; then :
61018 glibcxx_cv_func_ldexpf_use=yes
61019 else
61020 glibcxx_cv_func_ldexpf_use=no
61021 fi
61022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61023 ac_ext=c
61024 ac_cpp='$CPP $CPPFLAGS'
61025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61028
61029
61030 fi
61031
61032 fi
61033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61034 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61035
61036 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61037 for ac_func in ldexpf
61038 do :
61039 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61040 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61041 cat >>confdefs.h <<_ACEOF
61042 #define HAVE_LDEXPF 1
61043 _ACEOF
61044
61045 fi
61046 done
61047
61048 else
61049
61050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61051 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61052 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61053 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61054 $as_echo_n "(cached) " >&6
61055 else
61056
61057
61058 ac_ext=cpp
61059 ac_cpp='$CXXCPP $CPPFLAGS'
61060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61063
61064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61065 /* end confdefs.h. */
61066 #include <math.h>
61067 int
61068 main ()
61069 {
61070 _ldexpf(0, 0);
61071 ;
61072 return 0;
61073 }
61074 _ACEOF
61075 if ac_fn_cxx_try_compile "$LINENO"; then :
61076 glibcxx_cv_func__ldexpf_use=yes
61077 else
61078 glibcxx_cv_func__ldexpf_use=no
61079 fi
61080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61081 ac_ext=c
61082 ac_cpp='$CPP $CPPFLAGS'
61083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61086
61087
61088 fi
61089
61090 fi
61091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61092 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61093
61094 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61095 for ac_func in _ldexpf
61096 do :
61097 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61098 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61099 cat >>confdefs.h <<_ACEOF
61100 #define HAVE__LDEXPF 1
61101 _ACEOF
61102
61103 fi
61104 done
61105
61106 fi
61107 fi
61108
61109
61110
61111
61112
61113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61114 $as_echo_n "checking for logf declaration... " >&6; }
61115 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61116 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61117 $as_echo_n "(cached) " >&6
61118 else
61119
61120
61121 ac_ext=cpp
61122 ac_cpp='$CXXCPP $CPPFLAGS'
61123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61126
61127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61128 /* end confdefs.h. */
61129 #include <math.h>
61130 #ifdef HAVE_IEEEFP_H
61131 #include <ieeefp.h>
61132 #endif
61133
61134 int
61135 main ()
61136 {
61137 logf(0);
61138 ;
61139 return 0;
61140 }
61141 _ACEOF
61142 if ac_fn_cxx_try_compile "$LINENO"; then :
61143 glibcxx_cv_func_logf_use=yes
61144 else
61145 glibcxx_cv_func_logf_use=no
61146 fi
61147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61148 ac_ext=c
61149 ac_cpp='$CPP $CPPFLAGS'
61150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61153
61154
61155 fi
61156
61157 fi
61158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61159 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61160
61161 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61162 for ac_func in logf
61163 do :
61164 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61165 if test "x$ac_cv_func_logf" = x""yes; then :
61166 cat >>confdefs.h <<_ACEOF
61167 #define HAVE_LOGF 1
61168 _ACEOF
61169
61170 fi
61171 done
61172
61173 else
61174
61175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61176 $as_echo_n "checking for _logf declaration... " >&6; }
61177 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61178 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61179 $as_echo_n "(cached) " >&6
61180 else
61181
61182
61183 ac_ext=cpp
61184 ac_cpp='$CXXCPP $CPPFLAGS'
61185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61188
61189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61190 /* end confdefs.h. */
61191 #include <math.h>
61192 #ifdef HAVE_IEEEFP_H
61193 #include <ieeefp.h>
61194 #endif
61195
61196 int
61197 main ()
61198 {
61199 _logf(0);
61200 ;
61201 return 0;
61202 }
61203 _ACEOF
61204 if ac_fn_cxx_try_compile "$LINENO"; then :
61205 glibcxx_cv_func__logf_use=yes
61206 else
61207 glibcxx_cv_func__logf_use=no
61208 fi
61209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61210 ac_ext=c
61211 ac_cpp='$CPP $CPPFLAGS'
61212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61215
61216
61217 fi
61218
61219 fi
61220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61221 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61222
61223 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61224 for ac_func in _logf
61225 do :
61226 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61227 if test "x$ac_cv_func__logf" = x""yes; then :
61228 cat >>confdefs.h <<_ACEOF
61229 #define HAVE__LOGF 1
61230 _ACEOF
61231
61232 fi
61233 done
61234
61235 fi
61236 fi
61237
61238
61239
61240
61241
61242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61243 $as_echo_n "checking for log10f declaration... " >&6; }
61244 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61245 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61246 $as_echo_n "(cached) " >&6
61247 else
61248
61249
61250 ac_ext=cpp
61251 ac_cpp='$CXXCPP $CPPFLAGS'
61252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61255
61256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61257 /* end confdefs.h. */
61258 #include <math.h>
61259 #ifdef HAVE_IEEEFP_H
61260 #include <ieeefp.h>
61261 #endif
61262
61263 int
61264 main ()
61265 {
61266 log10f(0);
61267 ;
61268 return 0;
61269 }
61270 _ACEOF
61271 if ac_fn_cxx_try_compile "$LINENO"; then :
61272 glibcxx_cv_func_log10f_use=yes
61273 else
61274 glibcxx_cv_func_log10f_use=no
61275 fi
61276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61277 ac_ext=c
61278 ac_cpp='$CPP $CPPFLAGS'
61279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61282
61283
61284 fi
61285
61286 fi
61287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61288 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61289
61290 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61291 for ac_func in log10f
61292 do :
61293 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61294 if test "x$ac_cv_func_log10f" = x""yes; then :
61295 cat >>confdefs.h <<_ACEOF
61296 #define HAVE_LOG10F 1
61297 _ACEOF
61298
61299 fi
61300 done
61301
61302 else
61303
61304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61305 $as_echo_n "checking for _log10f declaration... " >&6; }
61306 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61307 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61308 $as_echo_n "(cached) " >&6
61309 else
61310
61311
61312 ac_ext=cpp
61313 ac_cpp='$CXXCPP $CPPFLAGS'
61314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61317
61318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61319 /* end confdefs.h. */
61320 #include <math.h>
61321 #ifdef HAVE_IEEEFP_H
61322 #include <ieeefp.h>
61323 #endif
61324
61325 int
61326 main ()
61327 {
61328 _log10f(0);
61329 ;
61330 return 0;
61331 }
61332 _ACEOF
61333 if ac_fn_cxx_try_compile "$LINENO"; then :
61334 glibcxx_cv_func__log10f_use=yes
61335 else
61336 glibcxx_cv_func__log10f_use=no
61337 fi
61338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61339 ac_ext=c
61340 ac_cpp='$CPP $CPPFLAGS'
61341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61344
61345
61346 fi
61347
61348 fi
61349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61350 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61351
61352 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61353 for ac_func in _log10f
61354 do :
61355 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61356 if test "x$ac_cv_func__log10f" = x""yes; then :
61357 cat >>confdefs.h <<_ACEOF
61358 #define HAVE__LOG10F 1
61359 _ACEOF
61360
61361 fi
61362 done
61363
61364 fi
61365 fi
61366
61367
61368
61369
61370
61371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61372 $as_echo_n "checking for modff declaration... " >&6; }
61373 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61374 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61375 $as_echo_n "(cached) " >&6
61376 else
61377
61378
61379 ac_ext=cpp
61380 ac_cpp='$CXXCPP $CPPFLAGS'
61381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61384
61385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61386 /* end confdefs.h. */
61387 #include <math.h>
61388 int
61389 main ()
61390 {
61391 modff(0, 0);
61392 ;
61393 return 0;
61394 }
61395 _ACEOF
61396 if ac_fn_cxx_try_compile "$LINENO"; then :
61397 glibcxx_cv_func_modff_use=yes
61398 else
61399 glibcxx_cv_func_modff_use=no
61400 fi
61401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61402 ac_ext=c
61403 ac_cpp='$CPP $CPPFLAGS'
61404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61407
61408
61409 fi
61410
61411 fi
61412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61413 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61414
61415 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61416 for ac_func in modff
61417 do :
61418 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61419 if test "x$ac_cv_func_modff" = x""yes; then :
61420 cat >>confdefs.h <<_ACEOF
61421 #define HAVE_MODFF 1
61422 _ACEOF
61423
61424 fi
61425 done
61426
61427 else
61428
61429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61430 $as_echo_n "checking for _modff declaration... " >&6; }
61431 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61432 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61433 $as_echo_n "(cached) " >&6
61434 else
61435
61436
61437 ac_ext=cpp
61438 ac_cpp='$CXXCPP $CPPFLAGS'
61439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61442
61443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61444 /* end confdefs.h. */
61445 #include <math.h>
61446 int
61447 main ()
61448 {
61449 _modff(0, 0);
61450 ;
61451 return 0;
61452 }
61453 _ACEOF
61454 if ac_fn_cxx_try_compile "$LINENO"; then :
61455 glibcxx_cv_func__modff_use=yes
61456 else
61457 glibcxx_cv_func__modff_use=no
61458 fi
61459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61460 ac_ext=c
61461 ac_cpp='$CPP $CPPFLAGS'
61462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61465
61466
61467 fi
61468
61469 fi
61470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61471 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61472
61473 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61474 for ac_func in _modff
61475 do :
61476 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61477 if test "x$ac_cv_func__modff" = x""yes; then :
61478 cat >>confdefs.h <<_ACEOF
61479 #define HAVE__MODFF 1
61480 _ACEOF
61481
61482 fi
61483 done
61484
61485 fi
61486 fi
61487
61488
61489
61490
61491
61492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61493 $as_echo_n "checking for modf declaration... " >&6; }
61494 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61495 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61496 $as_echo_n "(cached) " >&6
61497 else
61498
61499
61500 ac_ext=cpp
61501 ac_cpp='$CXXCPP $CPPFLAGS'
61502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61505
61506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61507 /* end confdefs.h. */
61508 #include <math.h>
61509 int
61510 main ()
61511 {
61512 modf(0, 0);
61513 ;
61514 return 0;
61515 }
61516 _ACEOF
61517 if ac_fn_cxx_try_compile "$LINENO"; then :
61518 glibcxx_cv_func_modf_use=yes
61519 else
61520 glibcxx_cv_func_modf_use=no
61521 fi
61522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61523 ac_ext=c
61524 ac_cpp='$CPP $CPPFLAGS'
61525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61528
61529
61530 fi
61531
61532 fi
61533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61534 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61535
61536 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61537 for ac_func in modf
61538 do :
61539 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61540 if test "x$ac_cv_func_modf" = x""yes; then :
61541 cat >>confdefs.h <<_ACEOF
61542 #define HAVE_MODF 1
61543 _ACEOF
61544
61545 fi
61546 done
61547
61548 else
61549
61550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61551 $as_echo_n "checking for _modf declaration... " >&6; }
61552 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61553 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61554 $as_echo_n "(cached) " >&6
61555 else
61556
61557
61558 ac_ext=cpp
61559 ac_cpp='$CXXCPP $CPPFLAGS'
61560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61563
61564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61565 /* end confdefs.h. */
61566 #include <math.h>
61567 int
61568 main ()
61569 {
61570 _modf(0, 0);
61571 ;
61572 return 0;
61573 }
61574 _ACEOF
61575 if ac_fn_cxx_try_compile "$LINENO"; then :
61576 glibcxx_cv_func__modf_use=yes
61577 else
61578 glibcxx_cv_func__modf_use=no
61579 fi
61580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61581 ac_ext=c
61582 ac_cpp='$CPP $CPPFLAGS'
61583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61586
61587
61588 fi
61589
61590 fi
61591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61592 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61593
61594 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61595 for ac_func in _modf
61596 do :
61597 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61598 if test "x$ac_cv_func__modf" = x""yes; then :
61599 cat >>confdefs.h <<_ACEOF
61600 #define HAVE__MODF 1
61601 _ACEOF
61602
61603 fi
61604 done
61605
61606 fi
61607 fi
61608
61609
61610
61611
61612
61613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61614 $as_echo_n "checking for powf declaration... " >&6; }
61615 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61616 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61617 $as_echo_n "(cached) " >&6
61618 else
61619
61620
61621 ac_ext=cpp
61622 ac_cpp='$CXXCPP $CPPFLAGS'
61623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61626
61627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61628 /* end confdefs.h. */
61629 #include <math.h>
61630 int
61631 main ()
61632 {
61633 powf(0, 0);
61634 ;
61635 return 0;
61636 }
61637 _ACEOF
61638 if ac_fn_cxx_try_compile "$LINENO"; then :
61639 glibcxx_cv_func_powf_use=yes
61640 else
61641 glibcxx_cv_func_powf_use=no
61642 fi
61643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61644 ac_ext=c
61645 ac_cpp='$CPP $CPPFLAGS'
61646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61649
61650
61651 fi
61652
61653 fi
61654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61655 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61656
61657 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61658 for ac_func in powf
61659 do :
61660 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61661 if test "x$ac_cv_func_powf" = x""yes; then :
61662 cat >>confdefs.h <<_ACEOF
61663 #define HAVE_POWF 1
61664 _ACEOF
61665
61666 fi
61667 done
61668
61669 else
61670
61671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61672 $as_echo_n "checking for _powf declaration... " >&6; }
61673 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61674 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61675 $as_echo_n "(cached) " >&6
61676 else
61677
61678
61679 ac_ext=cpp
61680 ac_cpp='$CXXCPP $CPPFLAGS'
61681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61684
61685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61686 /* end confdefs.h. */
61687 #include <math.h>
61688 int
61689 main ()
61690 {
61691 _powf(0, 0);
61692 ;
61693 return 0;
61694 }
61695 _ACEOF
61696 if ac_fn_cxx_try_compile "$LINENO"; then :
61697 glibcxx_cv_func__powf_use=yes
61698 else
61699 glibcxx_cv_func__powf_use=no
61700 fi
61701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61702 ac_ext=c
61703 ac_cpp='$CPP $CPPFLAGS'
61704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61707
61708
61709 fi
61710
61711 fi
61712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61713 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61714
61715 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61716 for ac_func in _powf
61717 do :
61718 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61719 if test "x$ac_cv_func__powf" = x""yes; then :
61720 cat >>confdefs.h <<_ACEOF
61721 #define HAVE__POWF 1
61722 _ACEOF
61723
61724 fi
61725 done
61726
61727 fi
61728 fi
61729
61730
61731
61732
61733
61734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61735 $as_echo_n "checking for sqrtf declaration... " >&6; }
61736 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61737 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61738 $as_echo_n "(cached) " >&6
61739 else
61740
61741
61742 ac_ext=cpp
61743 ac_cpp='$CXXCPP $CPPFLAGS'
61744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61747
61748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61749 /* end confdefs.h. */
61750 #include <math.h>
61751 #ifdef HAVE_IEEEFP_H
61752 #include <ieeefp.h>
61753 #endif
61754
61755 int
61756 main ()
61757 {
61758 sqrtf(0);
61759 ;
61760 return 0;
61761 }
61762 _ACEOF
61763 if ac_fn_cxx_try_compile "$LINENO"; then :
61764 glibcxx_cv_func_sqrtf_use=yes
61765 else
61766 glibcxx_cv_func_sqrtf_use=no
61767 fi
61768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61769 ac_ext=c
61770 ac_cpp='$CPP $CPPFLAGS'
61771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61774
61775
61776 fi
61777
61778 fi
61779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61780 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61781
61782 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61783 for ac_func in sqrtf
61784 do :
61785 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61786 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61787 cat >>confdefs.h <<_ACEOF
61788 #define HAVE_SQRTF 1
61789 _ACEOF
61790
61791 fi
61792 done
61793
61794 else
61795
61796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61797 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61798 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61799 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61800 $as_echo_n "(cached) " >&6
61801 else
61802
61803
61804 ac_ext=cpp
61805 ac_cpp='$CXXCPP $CPPFLAGS'
61806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61809
61810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61811 /* end confdefs.h. */
61812 #include <math.h>
61813 #ifdef HAVE_IEEEFP_H
61814 #include <ieeefp.h>
61815 #endif
61816
61817 int
61818 main ()
61819 {
61820 _sqrtf(0);
61821 ;
61822 return 0;
61823 }
61824 _ACEOF
61825 if ac_fn_cxx_try_compile "$LINENO"; then :
61826 glibcxx_cv_func__sqrtf_use=yes
61827 else
61828 glibcxx_cv_func__sqrtf_use=no
61829 fi
61830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61831 ac_ext=c
61832 ac_cpp='$CPP $CPPFLAGS'
61833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61836
61837
61838 fi
61839
61840 fi
61841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61842 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61843
61844 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61845 for ac_func in _sqrtf
61846 do :
61847 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61848 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61849 cat >>confdefs.h <<_ACEOF
61850 #define HAVE__SQRTF 1
61851 _ACEOF
61852
61853 fi
61854 done
61855
61856 fi
61857 fi
61858
61859
61860
61861
61862
61863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61864 $as_echo_n "checking for sincosf declaration... " >&6; }
61865 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61866 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61867 $as_echo_n "(cached) " >&6
61868 else
61869
61870
61871 ac_ext=cpp
61872 ac_cpp='$CXXCPP $CPPFLAGS'
61873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61876
61877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61878 /* end confdefs.h. */
61879 #include <math.h>
61880 int
61881 main ()
61882 {
61883 sincosf(0, 0, 0);
61884 ;
61885 return 0;
61886 }
61887 _ACEOF
61888 if ac_fn_cxx_try_compile "$LINENO"; then :
61889 glibcxx_cv_func_sincosf_use=yes
61890 else
61891 glibcxx_cv_func_sincosf_use=no
61892 fi
61893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61894 ac_ext=c
61895 ac_cpp='$CPP $CPPFLAGS'
61896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61899
61900
61901 fi
61902
61903 fi
61904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61905 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61906
61907 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61908 for ac_func in sincosf
61909 do :
61910 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61911 if test "x$ac_cv_func_sincosf" = x""yes; then :
61912 cat >>confdefs.h <<_ACEOF
61913 #define HAVE_SINCOSF 1
61914 _ACEOF
61915
61916 fi
61917 done
61918
61919 else
61920
61921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61922 $as_echo_n "checking for _sincosf declaration... " >&6; }
61923 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61924 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61925 $as_echo_n "(cached) " >&6
61926 else
61927
61928
61929 ac_ext=cpp
61930 ac_cpp='$CXXCPP $CPPFLAGS'
61931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61934
61935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61936 /* end confdefs.h. */
61937 #include <math.h>
61938 int
61939 main ()
61940 {
61941 _sincosf(0, 0, 0);
61942 ;
61943 return 0;
61944 }
61945 _ACEOF
61946 if ac_fn_cxx_try_compile "$LINENO"; then :
61947 glibcxx_cv_func__sincosf_use=yes
61948 else
61949 glibcxx_cv_func__sincosf_use=no
61950 fi
61951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61952 ac_ext=c
61953 ac_cpp='$CPP $CPPFLAGS'
61954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61957
61958
61959 fi
61960
61961 fi
61962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61963 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61964
61965 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61966 for ac_func in _sincosf
61967 do :
61968 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61969 if test "x$ac_cv_func__sincosf" = x""yes; then :
61970 cat >>confdefs.h <<_ACEOF
61971 #define HAVE__SINCOSF 1
61972 _ACEOF
61973
61974 fi
61975 done
61976
61977 fi
61978 fi
61979
61980
61981
61982
61983
61984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61985 $as_echo_n "checking for finitef declaration... " >&6; }
61986 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61987 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61988 $as_echo_n "(cached) " >&6
61989 else
61990
61991
61992 ac_ext=cpp
61993 ac_cpp='$CXXCPP $CPPFLAGS'
61994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61997
61998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61999 /* end confdefs.h. */
62000 #include <math.h>
62001 #ifdef HAVE_IEEEFP_H
62002 #include <ieeefp.h>
62003 #endif
62004
62005 int
62006 main ()
62007 {
62008 finitef(0);
62009 ;
62010 return 0;
62011 }
62012 _ACEOF
62013 if ac_fn_cxx_try_compile "$LINENO"; then :
62014 glibcxx_cv_func_finitef_use=yes
62015 else
62016 glibcxx_cv_func_finitef_use=no
62017 fi
62018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62019 ac_ext=c
62020 ac_cpp='$CPP $CPPFLAGS'
62021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62024
62025
62026 fi
62027
62028 fi
62029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62030 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62031
62032 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62033 for ac_func in finitef
62034 do :
62035 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62036 if test "x$ac_cv_func_finitef" = x""yes; then :
62037 cat >>confdefs.h <<_ACEOF
62038 #define HAVE_FINITEF 1
62039 _ACEOF
62040
62041 fi
62042 done
62043
62044 else
62045
62046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62047 $as_echo_n "checking for _finitef declaration... " >&6; }
62048 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62049 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62050 $as_echo_n "(cached) " >&6
62051 else
62052
62053
62054 ac_ext=cpp
62055 ac_cpp='$CXXCPP $CPPFLAGS'
62056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62059
62060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62061 /* end confdefs.h. */
62062 #include <math.h>
62063 #ifdef HAVE_IEEEFP_H
62064 #include <ieeefp.h>
62065 #endif
62066
62067 int
62068 main ()
62069 {
62070 _finitef(0);
62071 ;
62072 return 0;
62073 }
62074 _ACEOF
62075 if ac_fn_cxx_try_compile "$LINENO"; then :
62076 glibcxx_cv_func__finitef_use=yes
62077 else
62078 glibcxx_cv_func__finitef_use=no
62079 fi
62080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62081 ac_ext=c
62082 ac_cpp='$CPP $CPPFLAGS'
62083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62086
62087
62088 fi
62089
62090 fi
62091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62092 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62093
62094 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62095 for ac_func in _finitef
62096 do :
62097 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62098 if test "x$ac_cv_func__finitef" = x""yes; then :
62099 cat >>confdefs.h <<_ACEOF
62100 #define HAVE__FINITEF 1
62101 _ACEOF
62102
62103 fi
62104 done
62105
62106 fi
62107 fi
62108
62109
62110
62111
62112
62113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62114 $as_echo_n "checking for long double trig functions... " >&6; }
62115 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62116 $as_echo_n "(cached) " >&6
62117 else
62118
62119
62120 ac_ext=cpp
62121 ac_cpp='$CXXCPP $CPPFLAGS'
62122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62125
62126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62127 /* end confdefs.h. */
62128 #include <math.h>
62129 int
62130 main ()
62131 {
62132 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62133 ;
62134 return 0;
62135 }
62136 _ACEOF
62137 if ac_fn_cxx_try_compile "$LINENO"; then :
62138 glibcxx_cv_func_long_double_trig_use=yes
62139 else
62140 glibcxx_cv_func_long_double_trig_use=no
62141 fi
62142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62143 ac_ext=c
62144 ac_cpp='$CPP $CPPFLAGS'
62145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62148
62149 fi
62150
62151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62152 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62153 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62154 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62155 do :
62156 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62157 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62158 eval as_val=\$$as_ac_var
62159 if test "x$as_val" = x""yes; then :
62160 cat >>confdefs.h <<_ACEOF
62161 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62162 _ACEOF
62163
62164 fi
62165 done
62166
62167 else
62168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62169 $as_echo_n "checking for _long double trig functions... " >&6; }
62170 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62171 $as_echo_n "(cached) " >&6
62172 else
62173
62174
62175 ac_ext=cpp
62176 ac_cpp='$CXXCPP $CPPFLAGS'
62177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62180
62181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62182 /* end confdefs.h. */
62183 #include <math.h>
62184 int
62185 main ()
62186 {
62187 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62188 ;
62189 return 0;
62190 }
62191 _ACEOF
62192 if ac_fn_cxx_try_compile "$LINENO"; then :
62193 glibcxx_cv_func__long_double_trig_use=yes
62194 else
62195 glibcxx_cv_func__long_double_trig_use=no
62196 fi
62197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62198 ac_ext=c
62199 ac_cpp='$CPP $CPPFLAGS'
62200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62203
62204 fi
62205
62206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62207 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62208 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62209 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62210 do :
62211 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62212 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62213 eval as_val=\$$as_ac_var
62214 if test "x$as_val" = x""yes; then :
62215 cat >>confdefs.h <<_ACEOF
62216 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62217 _ACEOF
62218
62219 fi
62220 done
62221
62222 fi
62223 fi
62224
62225
62226
62227
62228
62229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62230 $as_echo_n "checking for long double round functions... " >&6; }
62231 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62232 $as_echo_n "(cached) " >&6
62233 else
62234
62235
62236 ac_ext=cpp
62237 ac_cpp='$CXXCPP $CPPFLAGS'
62238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62241
62242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62243 /* end confdefs.h. */
62244 #include <math.h>
62245 int
62246 main ()
62247 {
62248 ceill (0); floorl (0);
62249 ;
62250 return 0;
62251 }
62252 _ACEOF
62253 if ac_fn_cxx_try_compile "$LINENO"; then :
62254 glibcxx_cv_func_long_double_round_use=yes
62255 else
62256 glibcxx_cv_func_long_double_round_use=no
62257 fi
62258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62259 ac_ext=c
62260 ac_cpp='$CPP $CPPFLAGS'
62261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62264
62265 fi
62266
62267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62268 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62269 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62270 for ac_func in ceill floorl
62271 do :
62272 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62273 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62274 eval as_val=\$$as_ac_var
62275 if test "x$as_val" = x""yes; then :
62276 cat >>confdefs.h <<_ACEOF
62277 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62278 _ACEOF
62279
62280 fi
62281 done
62282
62283 else
62284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62285 $as_echo_n "checking for _long double round functions... " >&6; }
62286 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62287 $as_echo_n "(cached) " >&6
62288 else
62289
62290
62291 ac_ext=cpp
62292 ac_cpp='$CXXCPP $CPPFLAGS'
62293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62296
62297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62298 /* end confdefs.h. */
62299 #include <math.h>
62300 int
62301 main ()
62302 {
62303 _ceill (0); _floorl (0);
62304 ;
62305 return 0;
62306 }
62307 _ACEOF
62308 if ac_fn_cxx_try_compile "$LINENO"; then :
62309 glibcxx_cv_func__long_double_round_use=yes
62310 else
62311 glibcxx_cv_func__long_double_round_use=no
62312 fi
62313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62314 ac_ext=c
62315 ac_cpp='$CPP $CPPFLAGS'
62316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62319
62320 fi
62321
62322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62323 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62324 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62325 for ac_func in _ceill _floorl
62326 do :
62327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62328 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62329 eval as_val=\$$as_ac_var
62330 if test "x$as_val" = x""yes; then :
62331 cat >>confdefs.h <<_ACEOF
62332 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62333 _ACEOF
62334
62335 fi
62336 done
62337
62338 fi
62339 fi
62340
62341
62342
62343
62344
62345
62346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62347 $as_echo_n "checking for isnanl declaration... " >&6; }
62348 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62349 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62350 $as_echo_n "(cached) " >&6
62351 else
62352
62353
62354 ac_ext=cpp
62355 ac_cpp='$CXXCPP $CPPFLAGS'
62356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62359
62360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62361 /* end confdefs.h. */
62362 #include <math.h>
62363 #ifdef HAVE_IEEEFP_H
62364 #include <ieeefp.h>
62365 #endif
62366
62367 int
62368 main ()
62369 {
62370 isnanl(0);
62371 ;
62372 return 0;
62373 }
62374 _ACEOF
62375 if ac_fn_cxx_try_compile "$LINENO"; then :
62376 glibcxx_cv_func_isnanl_use=yes
62377 else
62378 glibcxx_cv_func_isnanl_use=no
62379 fi
62380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62381 ac_ext=c
62382 ac_cpp='$CPP $CPPFLAGS'
62383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62386
62387
62388 fi
62389
62390 fi
62391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62392 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62393
62394 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62395 for ac_func in isnanl
62396 do :
62397 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62398 if test "x$ac_cv_func_isnanl" = x""yes; then :
62399 cat >>confdefs.h <<_ACEOF
62400 #define HAVE_ISNANL 1
62401 _ACEOF
62402
62403 fi
62404 done
62405
62406 else
62407
62408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62409 $as_echo_n "checking for _isnanl declaration... " >&6; }
62410 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62411 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62412 $as_echo_n "(cached) " >&6
62413 else
62414
62415
62416 ac_ext=cpp
62417 ac_cpp='$CXXCPP $CPPFLAGS'
62418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62421
62422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62423 /* end confdefs.h. */
62424 #include <math.h>
62425 #ifdef HAVE_IEEEFP_H
62426 #include <ieeefp.h>
62427 #endif
62428
62429 int
62430 main ()
62431 {
62432 _isnanl(0);
62433 ;
62434 return 0;
62435 }
62436 _ACEOF
62437 if ac_fn_cxx_try_compile "$LINENO"; then :
62438 glibcxx_cv_func__isnanl_use=yes
62439 else
62440 glibcxx_cv_func__isnanl_use=no
62441 fi
62442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62443 ac_ext=c
62444 ac_cpp='$CPP $CPPFLAGS'
62445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62448
62449
62450 fi
62451
62452 fi
62453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62454 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62455
62456 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62457 for ac_func in _isnanl
62458 do :
62459 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62460 if test "x$ac_cv_func__isnanl" = x""yes; then :
62461 cat >>confdefs.h <<_ACEOF
62462 #define HAVE__ISNANL 1
62463 _ACEOF
62464
62465 fi
62466 done
62467
62468 fi
62469 fi
62470
62471
62472
62473
62474
62475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62476 $as_echo_n "checking for isinfl declaration... " >&6; }
62477 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62478 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62479 $as_echo_n "(cached) " >&6
62480 else
62481
62482
62483 ac_ext=cpp
62484 ac_cpp='$CXXCPP $CPPFLAGS'
62485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62488
62489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62490 /* end confdefs.h. */
62491 #include <math.h>
62492 #ifdef HAVE_IEEEFP_H
62493 #include <ieeefp.h>
62494 #endif
62495
62496 int
62497 main ()
62498 {
62499 isinfl(0);
62500 ;
62501 return 0;
62502 }
62503 _ACEOF
62504 if ac_fn_cxx_try_compile "$LINENO"; then :
62505 glibcxx_cv_func_isinfl_use=yes
62506 else
62507 glibcxx_cv_func_isinfl_use=no
62508 fi
62509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62510 ac_ext=c
62511 ac_cpp='$CPP $CPPFLAGS'
62512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62515
62516
62517 fi
62518
62519 fi
62520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62521 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62522
62523 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62524 for ac_func in isinfl
62525 do :
62526 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62527 if test "x$ac_cv_func_isinfl" = x""yes; then :
62528 cat >>confdefs.h <<_ACEOF
62529 #define HAVE_ISINFL 1
62530 _ACEOF
62531
62532 fi
62533 done
62534
62535 else
62536
62537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62538 $as_echo_n "checking for _isinfl declaration... " >&6; }
62539 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62540 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62541 $as_echo_n "(cached) " >&6
62542 else
62543
62544
62545 ac_ext=cpp
62546 ac_cpp='$CXXCPP $CPPFLAGS'
62547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62550
62551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62552 /* end confdefs.h. */
62553 #include <math.h>
62554 #ifdef HAVE_IEEEFP_H
62555 #include <ieeefp.h>
62556 #endif
62557
62558 int
62559 main ()
62560 {
62561 _isinfl(0);
62562 ;
62563 return 0;
62564 }
62565 _ACEOF
62566 if ac_fn_cxx_try_compile "$LINENO"; then :
62567 glibcxx_cv_func__isinfl_use=yes
62568 else
62569 glibcxx_cv_func__isinfl_use=no
62570 fi
62571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62572 ac_ext=c
62573 ac_cpp='$CPP $CPPFLAGS'
62574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62577
62578
62579 fi
62580
62581 fi
62582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62583 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62584
62585 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62586 for ac_func in _isinfl
62587 do :
62588 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62589 if test "x$ac_cv_func__isinfl" = x""yes; then :
62590 cat >>confdefs.h <<_ACEOF
62591 #define HAVE__ISINFL 1
62592 _ACEOF
62593
62594 fi
62595 done
62596
62597 fi
62598 fi
62599
62600
62601
62602
62603
62604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62605 $as_echo_n "checking for atan2l declaration... " >&6; }
62606 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62607 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62608 $as_echo_n "(cached) " >&6
62609 else
62610
62611
62612 ac_ext=cpp
62613 ac_cpp='$CXXCPP $CPPFLAGS'
62614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62617
62618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62619 /* end confdefs.h. */
62620 #include <math.h>
62621 int
62622 main ()
62623 {
62624 atan2l(0, 0);
62625 ;
62626 return 0;
62627 }
62628 _ACEOF
62629 if ac_fn_cxx_try_compile "$LINENO"; then :
62630 glibcxx_cv_func_atan2l_use=yes
62631 else
62632 glibcxx_cv_func_atan2l_use=no
62633 fi
62634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62635 ac_ext=c
62636 ac_cpp='$CPP $CPPFLAGS'
62637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62640
62641
62642 fi
62643
62644 fi
62645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62646 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62647
62648 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62649 for ac_func in atan2l
62650 do :
62651 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62652 if test "x$ac_cv_func_atan2l" = x""yes; then :
62653 cat >>confdefs.h <<_ACEOF
62654 #define HAVE_ATAN2L 1
62655 _ACEOF
62656
62657 fi
62658 done
62659
62660 else
62661
62662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62663 $as_echo_n "checking for _atan2l declaration... " >&6; }
62664 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62665 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62666 $as_echo_n "(cached) " >&6
62667 else
62668
62669
62670 ac_ext=cpp
62671 ac_cpp='$CXXCPP $CPPFLAGS'
62672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62675
62676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62677 /* end confdefs.h. */
62678 #include <math.h>
62679 int
62680 main ()
62681 {
62682 _atan2l(0, 0);
62683 ;
62684 return 0;
62685 }
62686 _ACEOF
62687 if ac_fn_cxx_try_compile "$LINENO"; then :
62688 glibcxx_cv_func__atan2l_use=yes
62689 else
62690 glibcxx_cv_func__atan2l_use=no
62691 fi
62692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62693 ac_ext=c
62694 ac_cpp='$CPP $CPPFLAGS'
62695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62698
62699
62700 fi
62701
62702 fi
62703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62704 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62705
62706 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62707 for ac_func in _atan2l
62708 do :
62709 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62710 if test "x$ac_cv_func__atan2l" = x""yes; then :
62711 cat >>confdefs.h <<_ACEOF
62712 #define HAVE__ATAN2L 1
62713 _ACEOF
62714
62715 fi
62716 done
62717
62718 fi
62719 fi
62720
62721
62722
62723
62724
62725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62726 $as_echo_n "checking for expl declaration... " >&6; }
62727 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62728 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62729 $as_echo_n "(cached) " >&6
62730 else
62731
62732
62733 ac_ext=cpp
62734 ac_cpp='$CXXCPP $CPPFLAGS'
62735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62738
62739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62740 /* end confdefs.h. */
62741 #include <math.h>
62742 #ifdef HAVE_IEEEFP_H
62743 #include <ieeefp.h>
62744 #endif
62745
62746 int
62747 main ()
62748 {
62749 expl(0);
62750 ;
62751 return 0;
62752 }
62753 _ACEOF
62754 if ac_fn_cxx_try_compile "$LINENO"; then :
62755 glibcxx_cv_func_expl_use=yes
62756 else
62757 glibcxx_cv_func_expl_use=no
62758 fi
62759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62760 ac_ext=c
62761 ac_cpp='$CPP $CPPFLAGS'
62762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62765
62766
62767 fi
62768
62769 fi
62770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62771 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62772
62773 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62774 for ac_func in expl
62775 do :
62776 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62777 if test "x$ac_cv_func_expl" = x""yes; then :
62778 cat >>confdefs.h <<_ACEOF
62779 #define HAVE_EXPL 1
62780 _ACEOF
62781
62782 fi
62783 done
62784
62785 else
62786
62787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62788 $as_echo_n "checking for _expl declaration... " >&6; }
62789 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62790 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62791 $as_echo_n "(cached) " >&6
62792 else
62793
62794
62795 ac_ext=cpp
62796 ac_cpp='$CXXCPP $CPPFLAGS'
62797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62800
62801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62802 /* end confdefs.h. */
62803 #include <math.h>
62804 #ifdef HAVE_IEEEFP_H
62805 #include <ieeefp.h>
62806 #endif
62807
62808 int
62809 main ()
62810 {
62811 _expl(0);
62812 ;
62813 return 0;
62814 }
62815 _ACEOF
62816 if ac_fn_cxx_try_compile "$LINENO"; then :
62817 glibcxx_cv_func__expl_use=yes
62818 else
62819 glibcxx_cv_func__expl_use=no
62820 fi
62821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62822 ac_ext=c
62823 ac_cpp='$CPP $CPPFLAGS'
62824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62827
62828
62829 fi
62830
62831 fi
62832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62833 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62834
62835 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62836 for ac_func in _expl
62837 do :
62838 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62839 if test "x$ac_cv_func__expl" = x""yes; then :
62840 cat >>confdefs.h <<_ACEOF
62841 #define HAVE__EXPL 1
62842 _ACEOF
62843
62844 fi
62845 done
62846
62847 fi
62848 fi
62849
62850
62851
62852
62853
62854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62855 $as_echo_n "checking for fabsl declaration... " >&6; }
62856 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62857 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62858 $as_echo_n "(cached) " >&6
62859 else
62860
62861
62862 ac_ext=cpp
62863 ac_cpp='$CXXCPP $CPPFLAGS'
62864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62867
62868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62869 /* end confdefs.h. */
62870 #include <math.h>
62871 #ifdef HAVE_IEEEFP_H
62872 #include <ieeefp.h>
62873 #endif
62874
62875 int
62876 main ()
62877 {
62878 fabsl(0);
62879 ;
62880 return 0;
62881 }
62882 _ACEOF
62883 if ac_fn_cxx_try_compile "$LINENO"; then :
62884 glibcxx_cv_func_fabsl_use=yes
62885 else
62886 glibcxx_cv_func_fabsl_use=no
62887 fi
62888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62889 ac_ext=c
62890 ac_cpp='$CPP $CPPFLAGS'
62891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62894
62895
62896 fi
62897
62898 fi
62899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62900 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62901
62902 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62903 for ac_func in fabsl
62904 do :
62905 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62906 if test "x$ac_cv_func_fabsl" = x""yes; then :
62907 cat >>confdefs.h <<_ACEOF
62908 #define HAVE_FABSL 1
62909 _ACEOF
62910
62911 fi
62912 done
62913
62914 else
62915
62916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62917 $as_echo_n "checking for _fabsl declaration... " >&6; }
62918 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62919 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62920 $as_echo_n "(cached) " >&6
62921 else
62922
62923
62924 ac_ext=cpp
62925 ac_cpp='$CXXCPP $CPPFLAGS'
62926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62929
62930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62931 /* end confdefs.h. */
62932 #include <math.h>
62933 #ifdef HAVE_IEEEFP_H
62934 #include <ieeefp.h>
62935 #endif
62936
62937 int
62938 main ()
62939 {
62940 _fabsl(0);
62941 ;
62942 return 0;
62943 }
62944 _ACEOF
62945 if ac_fn_cxx_try_compile "$LINENO"; then :
62946 glibcxx_cv_func__fabsl_use=yes
62947 else
62948 glibcxx_cv_func__fabsl_use=no
62949 fi
62950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62951 ac_ext=c
62952 ac_cpp='$CPP $CPPFLAGS'
62953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62956
62957
62958 fi
62959
62960 fi
62961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62962 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62963
62964 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62965 for ac_func in _fabsl
62966 do :
62967 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62968 if test "x$ac_cv_func__fabsl" = x""yes; then :
62969 cat >>confdefs.h <<_ACEOF
62970 #define HAVE__FABSL 1
62971 _ACEOF
62972
62973 fi
62974 done
62975
62976 fi
62977 fi
62978
62979
62980
62981
62982
62983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62984 $as_echo_n "checking for fmodl declaration... " >&6; }
62985 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62986 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62987 $as_echo_n "(cached) " >&6
62988 else
62989
62990
62991 ac_ext=cpp
62992 ac_cpp='$CXXCPP $CPPFLAGS'
62993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62996
62997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62998 /* end confdefs.h. */
62999 #include <math.h>
63000 int
63001 main ()
63002 {
63003 fmodl(0, 0);
63004 ;
63005 return 0;
63006 }
63007 _ACEOF
63008 if ac_fn_cxx_try_compile "$LINENO"; then :
63009 glibcxx_cv_func_fmodl_use=yes
63010 else
63011 glibcxx_cv_func_fmodl_use=no
63012 fi
63013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63014 ac_ext=c
63015 ac_cpp='$CPP $CPPFLAGS'
63016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63019
63020
63021 fi
63022
63023 fi
63024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63025 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63026
63027 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63028 for ac_func in fmodl
63029 do :
63030 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63031 if test "x$ac_cv_func_fmodl" = x""yes; then :
63032 cat >>confdefs.h <<_ACEOF
63033 #define HAVE_FMODL 1
63034 _ACEOF
63035
63036 fi
63037 done
63038
63039 else
63040
63041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63042 $as_echo_n "checking for _fmodl declaration... " >&6; }
63043 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63044 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63045 $as_echo_n "(cached) " >&6
63046 else
63047
63048
63049 ac_ext=cpp
63050 ac_cpp='$CXXCPP $CPPFLAGS'
63051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63054
63055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63056 /* end confdefs.h. */
63057 #include <math.h>
63058 int
63059 main ()
63060 {
63061 _fmodl(0, 0);
63062 ;
63063 return 0;
63064 }
63065 _ACEOF
63066 if ac_fn_cxx_try_compile "$LINENO"; then :
63067 glibcxx_cv_func__fmodl_use=yes
63068 else
63069 glibcxx_cv_func__fmodl_use=no
63070 fi
63071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63072 ac_ext=c
63073 ac_cpp='$CPP $CPPFLAGS'
63074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63077
63078
63079 fi
63080
63081 fi
63082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63083 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63084
63085 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63086 for ac_func in _fmodl
63087 do :
63088 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63089 if test "x$ac_cv_func__fmodl" = x""yes; then :
63090 cat >>confdefs.h <<_ACEOF
63091 #define HAVE__FMODL 1
63092 _ACEOF
63093
63094 fi
63095 done
63096
63097 fi
63098 fi
63099
63100
63101
63102
63103
63104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63105 $as_echo_n "checking for frexpl declaration... " >&6; }
63106 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63107 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63108 $as_echo_n "(cached) " >&6
63109 else
63110
63111
63112 ac_ext=cpp
63113 ac_cpp='$CXXCPP $CPPFLAGS'
63114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63117
63118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63119 /* end confdefs.h. */
63120 #include <math.h>
63121 int
63122 main ()
63123 {
63124 frexpl(0, 0);
63125 ;
63126 return 0;
63127 }
63128 _ACEOF
63129 if ac_fn_cxx_try_compile "$LINENO"; then :
63130 glibcxx_cv_func_frexpl_use=yes
63131 else
63132 glibcxx_cv_func_frexpl_use=no
63133 fi
63134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63135 ac_ext=c
63136 ac_cpp='$CPP $CPPFLAGS'
63137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63140
63141
63142 fi
63143
63144 fi
63145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63146 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63147
63148 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63149 for ac_func in frexpl
63150 do :
63151 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63152 if test "x$ac_cv_func_frexpl" = x""yes; then :
63153 cat >>confdefs.h <<_ACEOF
63154 #define HAVE_FREXPL 1
63155 _ACEOF
63156
63157 fi
63158 done
63159
63160 else
63161
63162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63163 $as_echo_n "checking for _frexpl declaration... " >&6; }
63164 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63165 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63166 $as_echo_n "(cached) " >&6
63167 else
63168
63169
63170 ac_ext=cpp
63171 ac_cpp='$CXXCPP $CPPFLAGS'
63172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63175
63176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63177 /* end confdefs.h. */
63178 #include <math.h>
63179 int
63180 main ()
63181 {
63182 _frexpl(0, 0);
63183 ;
63184 return 0;
63185 }
63186 _ACEOF
63187 if ac_fn_cxx_try_compile "$LINENO"; then :
63188 glibcxx_cv_func__frexpl_use=yes
63189 else
63190 glibcxx_cv_func__frexpl_use=no
63191 fi
63192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63193 ac_ext=c
63194 ac_cpp='$CPP $CPPFLAGS'
63195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63198
63199
63200 fi
63201
63202 fi
63203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63204 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63205
63206 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63207 for ac_func in _frexpl
63208 do :
63209 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63210 if test "x$ac_cv_func__frexpl" = x""yes; then :
63211 cat >>confdefs.h <<_ACEOF
63212 #define HAVE__FREXPL 1
63213 _ACEOF
63214
63215 fi
63216 done
63217
63218 fi
63219 fi
63220
63221
63222
63223
63224
63225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63226 $as_echo_n "checking for hypotl declaration... " >&6; }
63227 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63228 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63229 $as_echo_n "(cached) " >&6
63230 else
63231
63232
63233 ac_ext=cpp
63234 ac_cpp='$CXXCPP $CPPFLAGS'
63235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63238
63239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63240 /* end confdefs.h. */
63241 #include <math.h>
63242 int
63243 main ()
63244 {
63245 hypotl(0, 0);
63246 ;
63247 return 0;
63248 }
63249 _ACEOF
63250 if ac_fn_cxx_try_compile "$LINENO"; then :
63251 glibcxx_cv_func_hypotl_use=yes
63252 else
63253 glibcxx_cv_func_hypotl_use=no
63254 fi
63255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63256 ac_ext=c
63257 ac_cpp='$CPP $CPPFLAGS'
63258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63261
63262
63263 fi
63264
63265 fi
63266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63267 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63268
63269 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63270 for ac_func in hypotl
63271 do :
63272 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63273 if test "x$ac_cv_func_hypotl" = x""yes; then :
63274 cat >>confdefs.h <<_ACEOF
63275 #define HAVE_HYPOTL 1
63276 _ACEOF
63277
63278 fi
63279 done
63280
63281 else
63282
63283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63284 $as_echo_n "checking for _hypotl declaration... " >&6; }
63285 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63286 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63287 $as_echo_n "(cached) " >&6
63288 else
63289
63290
63291 ac_ext=cpp
63292 ac_cpp='$CXXCPP $CPPFLAGS'
63293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63296
63297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63298 /* end confdefs.h. */
63299 #include <math.h>
63300 int
63301 main ()
63302 {
63303 _hypotl(0, 0);
63304 ;
63305 return 0;
63306 }
63307 _ACEOF
63308 if ac_fn_cxx_try_compile "$LINENO"; then :
63309 glibcxx_cv_func__hypotl_use=yes
63310 else
63311 glibcxx_cv_func__hypotl_use=no
63312 fi
63313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63314 ac_ext=c
63315 ac_cpp='$CPP $CPPFLAGS'
63316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63319
63320
63321 fi
63322
63323 fi
63324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63325 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63326
63327 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63328 for ac_func in _hypotl
63329 do :
63330 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63331 if test "x$ac_cv_func__hypotl" = x""yes; then :
63332 cat >>confdefs.h <<_ACEOF
63333 #define HAVE__HYPOTL 1
63334 _ACEOF
63335
63336 fi
63337 done
63338
63339 fi
63340 fi
63341
63342
63343
63344
63345
63346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63347 $as_echo_n "checking for ldexpl declaration... " >&6; }
63348 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63349 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63350 $as_echo_n "(cached) " >&6
63351 else
63352
63353
63354 ac_ext=cpp
63355 ac_cpp='$CXXCPP $CPPFLAGS'
63356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63359
63360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63361 /* end confdefs.h. */
63362 #include <math.h>
63363 int
63364 main ()
63365 {
63366 ldexpl(0, 0);
63367 ;
63368 return 0;
63369 }
63370 _ACEOF
63371 if ac_fn_cxx_try_compile "$LINENO"; then :
63372 glibcxx_cv_func_ldexpl_use=yes
63373 else
63374 glibcxx_cv_func_ldexpl_use=no
63375 fi
63376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63377 ac_ext=c
63378 ac_cpp='$CPP $CPPFLAGS'
63379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63382
63383
63384 fi
63385
63386 fi
63387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63388 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63389
63390 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63391 for ac_func in ldexpl
63392 do :
63393 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63394 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63395 cat >>confdefs.h <<_ACEOF
63396 #define HAVE_LDEXPL 1
63397 _ACEOF
63398
63399 fi
63400 done
63401
63402 else
63403
63404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63405 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63406 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63407 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63408 $as_echo_n "(cached) " >&6
63409 else
63410
63411
63412 ac_ext=cpp
63413 ac_cpp='$CXXCPP $CPPFLAGS'
63414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63417
63418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63419 /* end confdefs.h. */
63420 #include <math.h>
63421 int
63422 main ()
63423 {
63424 _ldexpl(0, 0);
63425 ;
63426 return 0;
63427 }
63428 _ACEOF
63429 if ac_fn_cxx_try_compile "$LINENO"; then :
63430 glibcxx_cv_func__ldexpl_use=yes
63431 else
63432 glibcxx_cv_func__ldexpl_use=no
63433 fi
63434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63435 ac_ext=c
63436 ac_cpp='$CPP $CPPFLAGS'
63437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63440
63441
63442 fi
63443
63444 fi
63445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63446 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63447
63448 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63449 for ac_func in _ldexpl
63450 do :
63451 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63452 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63453 cat >>confdefs.h <<_ACEOF
63454 #define HAVE__LDEXPL 1
63455 _ACEOF
63456
63457 fi
63458 done
63459
63460 fi
63461 fi
63462
63463
63464
63465
63466
63467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63468 $as_echo_n "checking for logl declaration... " >&6; }
63469 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63470 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63471 $as_echo_n "(cached) " >&6
63472 else
63473
63474
63475 ac_ext=cpp
63476 ac_cpp='$CXXCPP $CPPFLAGS'
63477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63480
63481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63482 /* end confdefs.h. */
63483 #include <math.h>
63484 #ifdef HAVE_IEEEFP_H
63485 #include <ieeefp.h>
63486 #endif
63487
63488 int
63489 main ()
63490 {
63491 logl(0);
63492 ;
63493 return 0;
63494 }
63495 _ACEOF
63496 if ac_fn_cxx_try_compile "$LINENO"; then :
63497 glibcxx_cv_func_logl_use=yes
63498 else
63499 glibcxx_cv_func_logl_use=no
63500 fi
63501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63502 ac_ext=c
63503 ac_cpp='$CPP $CPPFLAGS'
63504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63507
63508
63509 fi
63510
63511 fi
63512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63513 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63514
63515 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63516 for ac_func in logl
63517 do :
63518 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63519 if test "x$ac_cv_func_logl" = x""yes; then :
63520 cat >>confdefs.h <<_ACEOF
63521 #define HAVE_LOGL 1
63522 _ACEOF
63523
63524 fi
63525 done
63526
63527 else
63528
63529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63530 $as_echo_n "checking for _logl declaration... " >&6; }
63531 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63532 if test "${glibcxx_cv_func__logl_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 <math.h>
63546 #ifdef HAVE_IEEEFP_H
63547 #include <ieeefp.h>
63548 #endif
63549
63550 int
63551 main ()
63552 {
63553 _logl(0);
63554 ;
63555 return 0;
63556 }
63557 _ACEOF
63558 if ac_fn_cxx_try_compile "$LINENO"; then :
63559 glibcxx_cv_func__logl_use=yes
63560 else
63561 glibcxx_cv_func__logl_use=no
63562 fi
63563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63564 ac_ext=c
63565 ac_cpp='$CPP $CPPFLAGS'
63566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63569
63570
63571 fi
63572
63573 fi
63574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63575 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63576
63577 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63578 for ac_func in _logl
63579 do :
63580 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63581 if test "x$ac_cv_func__logl" = x""yes; then :
63582 cat >>confdefs.h <<_ACEOF
63583 #define HAVE__LOGL 1
63584 _ACEOF
63585
63586 fi
63587 done
63588
63589 fi
63590 fi
63591
63592
63593
63594
63595
63596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63597 $as_echo_n "checking for log10l declaration... " >&6; }
63598 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63599 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63600 $as_echo_n "(cached) " >&6
63601 else
63602
63603
63604 ac_ext=cpp
63605 ac_cpp='$CXXCPP $CPPFLAGS'
63606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63609
63610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63611 /* end confdefs.h. */
63612 #include <math.h>
63613 #ifdef HAVE_IEEEFP_H
63614 #include <ieeefp.h>
63615 #endif
63616
63617 int
63618 main ()
63619 {
63620 log10l(0);
63621 ;
63622 return 0;
63623 }
63624 _ACEOF
63625 if ac_fn_cxx_try_compile "$LINENO"; then :
63626 glibcxx_cv_func_log10l_use=yes
63627 else
63628 glibcxx_cv_func_log10l_use=no
63629 fi
63630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63631 ac_ext=c
63632 ac_cpp='$CPP $CPPFLAGS'
63633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63636
63637
63638 fi
63639
63640 fi
63641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63642 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63643
63644 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63645 for ac_func in log10l
63646 do :
63647 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63648 if test "x$ac_cv_func_log10l" = x""yes; then :
63649 cat >>confdefs.h <<_ACEOF
63650 #define HAVE_LOG10L 1
63651 _ACEOF
63652
63653 fi
63654 done
63655
63656 else
63657
63658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63659 $as_echo_n "checking for _log10l declaration... " >&6; }
63660 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63661 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63662 $as_echo_n "(cached) " >&6
63663 else
63664
63665
63666 ac_ext=cpp
63667 ac_cpp='$CXXCPP $CPPFLAGS'
63668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63671
63672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63673 /* end confdefs.h. */
63674 #include <math.h>
63675 #ifdef HAVE_IEEEFP_H
63676 #include <ieeefp.h>
63677 #endif
63678
63679 int
63680 main ()
63681 {
63682 _log10l(0);
63683 ;
63684 return 0;
63685 }
63686 _ACEOF
63687 if ac_fn_cxx_try_compile "$LINENO"; then :
63688 glibcxx_cv_func__log10l_use=yes
63689 else
63690 glibcxx_cv_func__log10l_use=no
63691 fi
63692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63693 ac_ext=c
63694 ac_cpp='$CPP $CPPFLAGS'
63695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63698
63699
63700 fi
63701
63702 fi
63703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63704 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63705
63706 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63707 for ac_func in _log10l
63708 do :
63709 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63710 if test "x$ac_cv_func__log10l" = x""yes; then :
63711 cat >>confdefs.h <<_ACEOF
63712 #define HAVE__LOG10L 1
63713 _ACEOF
63714
63715 fi
63716 done
63717
63718 fi
63719 fi
63720
63721
63722
63723
63724
63725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63726 $as_echo_n "checking for modfl declaration... " >&6; }
63727 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63728 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63729 $as_echo_n "(cached) " >&6
63730 else
63731
63732
63733 ac_ext=cpp
63734 ac_cpp='$CXXCPP $CPPFLAGS'
63735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63738
63739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63740 /* end confdefs.h. */
63741 #include <math.h>
63742 int
63743 main ()
63744 {
63745 modfl(0, 0);
63746 ;
63747 return 0;
63748 }
63749 _ACEOF
63750 if ac_fn_cxx_try_compile "$LINENO"; then :
63751 glibcxx_cv_func_modfl_use=yes
63752 else
63753 glibcxx_cv_func_modfl_use=no
63754 fi
63755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63756 ac_ext=c
63757 ac_cpp='$CPP $CPPFLAGS'
63758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63761
63762
63763 fi
63764
63765 fi
63766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63767 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63768
63769 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63770 for ac_func in modfl
63771 do :
63772 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63773 if test "x$ac_cv_func_modfl" = x""yes; then :
63774 cat >>confdefs.h <<_ACEOF
63775 #define HAVE_MODFL 1
63776 _ACEOF
63777
63778 fi
63779 done
63780
63781 else
63782
63783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63784 $as_echo_n "checking for _modfl declaration... " >&6; }
63785 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63786 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63787 $as_echo_n "(cached) " >&6
63788 else
63789
63790
63791 ac_ext=cpp
63792 ac_cpp='$CXXCPP $CPPFLAGS'
63793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63796
63797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63798 /* end confdefs.h. */
63799 #include <math.h>
63800 int
63801 main ()
63802 {
63803 _modfl(0, 0);
63804 ;
63805 return 0;
63806 }
63807 _ACEOF
63808 if ac_fn_cxx_try_compile "$LINENO"; then :
63809 glibcxx_cv_func__modfl_use=yes
63810 else
63811 glibcxx_cv_func__modfl_use=no
63812 fi
63813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63814 ac_ext=c
63815 ac_cpp='$CPP $CPPFLAGS'
63816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63819
63820
63821 fi
63822
63823 fi
63824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63825 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63826
63827 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63828 for ac_func in _modfl
63829 do :
63830 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63831 if test "x$ac_cv_func__modfl" = x""yes; then :
63832 cat >>confdefs.h <<_ACEOF
63833 #define HAVE__MODFL 1
63834 _ACEOF
63835
63836 fi
63837 done
63838
63839 fi
63840 fi
63841
63842
63843
63844
63845
63846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63847 $as_echo_n "checking for powl declaration... " >&6; }
63848 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63849 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63850 $as_echo_n "(cached) " >&6
63851 else
63852
63853
63854 ac_ext=cpp
63855 ac_cpp='$CXXCPP $CPPFLAGS'
63856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63859
63860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63861 /* end confdefs.h. */
63862 #include <math.h>
63863 int
63864 main ()
63865 {
63866 powl(0, 0);
63867 ;
63868 return 0;
63869 }
63870 _ACEOF
63871 if ac_fn_cxx_try_compile "$LINENO"; then :
63872 glibcxx_cv_func_powl_use=yes
63873 else
63874 glibcxx_cv_func_powl_use=no
63875 fi
63876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63877 ac_ext=c
63878 ac_cpp='$CPP $CPPFLAGS'
63879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63882
63883
63884 fi
63885
63886 fi
63887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63888 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63889
63890 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63891 for ac_func in powl
63892 do :
63893 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63894 if test "x$ac_cv_func_powl" = x""yes; then :
63895 cat >>confdefs.h <<_ACEOF
63896 #define HAVE_POWL 1
63897 _ACEOF
63898
63899 fi
63900 done
63901
63902 else
63903
63904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63905 $as_echo_n "checking for _powl declaration... " >&6; }
63906 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63907 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63908 $as_echo_n "(cached) " >&6
63909 else
63910
63911
63912 ac_ext=cpp
63913 ac_cpp='$CXXCPP $CPPFLAGS'
63914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63917
63918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63919 /* end confdefs.h. */
63920 #include <math.h>
63921 int
63922 main ()
63923 {
63924 _powl(0, 0);
63925 ;
63926 return 0;
63927 }
63928 _ACEOF
63929 if ac_fn_cxx_try_compile "$LINENO"; then :
63930 glibcxx_cv_func__powl_use=yes
63931 else
63932 glibcxx_cv_func__powl_use=no
63933 fi
63934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63935 ac_ext=c
63936 ac_cpp='$CPP $CPPFLAGS'
63937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63940
63941
63942 fi
63943
63944 fi
63945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63946 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63947
63948 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63949 for ac_func in _powl
63950 do :
63951 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63952 if test "x$ac_cv_func__powl" = x""yes; then :
63953 cat >>confdefs.h <<_ACEOF
63954 #define HAVE__POWL 1
63955 _ACEOF
63956
63957 fi
63958 done
63959
63960 fi
63961 fi
63962
63963
63964
63965
63966
63967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63968 $as_echo_n "checking for sqrtl declaration... " >&6; }
63969 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63970 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63971 $as_echo_n "(cached) " >&6
63972 else
63973
63974
63975 ac_ext=cpp
63976 ac_cpp='$CXXCPP $CPPFLAGS'
63977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63980
63981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63982 /* end confdefs.h. */
63983 #include <math.h>
63984 #ifdef HAVE_IEEEFP_H
63985 #include <ieeefp.h>
63986 #endif
63987
63988 int
63989 main ()
63990 {
63991 sqrtl(0);
63992 ;
63993 return 0;
63994 }
63995 _ACEOF
63996 if ac_fn_cxx_try_compile "$LINENO"; then :
63997 glibcxx_cv_func_sqrtl_use=yes
63998 else
63999 glibcxx_cv_func_sqrtl_use=no
64000 fi
64001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64002 ac_ext=c
64003 ac_cpp='$CPP $CPPFLAGS'
64004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64007
64008
64009 fi
64010
64011 fi
64012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64013 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64014
64015 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64016 for ac_func in sqrtl
64017 do :
64018 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64019 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64020 cat >>confdefs.h <<_ACEOF
64021 #define HAVE_SQRTL 1
64022 _ACEOF
64023
64024 fi
64025 done
64026
64027 else
64028
64029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64030 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64031 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64032 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64033 $as_echo_n "(cached) " >&6
64034 else
64035
64036
64037 ac_ext=cpp
64038 ac_cpp='$CXXCPP $CPPFLAGS'
64039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64042
64043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64044 /* end confdefs.h. */
64045 #include <math.h>
64046 #ifdef HAVE_IEEEFP_H
64047 #include <ieeefp.h>
64048 #endif
64049
64050 int
64051 main ()
64052 {
64053 _sqrtl(0);
64054 ;
64055 return 0;
64056 }
64057 _ACEOF
64058 if ac_fn_cxx_try_compile "$LINENO"; then :
64059 glibcxx_cv_func__sqrtl_use=yes
64060 else
64061 glibcxx_cv_func__sqrtl_use=no
64062 fi
64063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64064 ac_ext=c
64065 ac_cpp='$CPP $CPPFLAGS'
64066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64069
64070
64071 fi
64072
64073 fi
64074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64075 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64076
64077 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64078 for ac_func in _sqrtl
64079 do :
64080 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64081 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64082 cat >>confdefs.h <<_ACEOF
64083 #define HAVE__SQRTL 1
64084 _ACEOF
64085
64086 fi
64087 done
64088
64089 fi
64090 fi
64091
64092
64093
64094
64095
64096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64097 $as_echo_n "checking for sincosl declaration... " >&6; }
64098 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64099 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64100 $as_echo_n "(cached) " >&6
64101 else
64102
64103
64104 ac_ext=cpp
64105 ac_cpp='$CXXCPP $CPPFLAGS'
64106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64109
64110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64111 /* end confdefs.h. */
64112 #include <math.h>
64113 int
64114 main ()
64115 {
64116 sincosl(0, 0, 0);
64117 ;
64118 return 0;
64119 }
64120 _ACEOF
64121 if ac_fn_cxx_try_compile "$LINENO"; then :
64122 glibcxx_cv_func_sincosl_use=yes
64123 else
64124 glibcxx_cv_func_sincosl_use=no
64125 fi
64126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64127 ac_ext=c
64128 ac_cpp='$CPP $CPPFLAGS'
64129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64132
64133
64134 fi
64135
64136 fi
64137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64138 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64139
64140 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64141 for ac_func in sincosl
64142 do :
64143 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64144 if test "x$ac_cv_func_sincosl" = x""yes; then :
64145 cat >>confdefs.h <<_ACEOF
64146 #define HAVE_SINCOSL 1
64147 _ACEOF
64148
64149 fi
64150 done
64151
64152 else
64153
64154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64155 $as_echo_n "checking for _sincosl declaration... " >&6; }
64156 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64157 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64158 $as_echo_n "(cached) " >&6
64159 else
64160
64161
64162 ac_ext=cpp
64163 ac_cpp='$CXXCPP $CPPFLAGS'
64164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64167
64168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64169 /* end confdefs.h. */
64170 #include <math.h>
64171 int
64172 main ()
64173 {
64174 _sincosl(0, 0, 0);
64175 ;
64176 return 0;
64177 }
64178 _ACEOF
64179 if ac_fn_cxx_try_compile "$LINENO"; then :
64180 glibcxx_cv_func__sincosl_use=yes
64181 else
64182 glibcxx_cv_func__sincosl_use=no
64183 fi
64184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64185 ac_ext=c
64186 ac_cpp='$CPP $CPPFLAGS'
64187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64190
64191
64192 fi
64193
64194 fi
64195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64196 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64197
64198 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64199 for ac_func in _sincosl
64200 do :
64201 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64202 if test "x$ac_cv_func__sincosl" = x""yes; then :
64203 cat >>confdefs.h <<_ACEOF
64204 #define HAVE__SINCOSL 1
64205 _ACEOF
64206
64207 fi
64208 done
64209
64210 fi
64211 fi
64212
64213
64214
64215
64216
64217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64218 $as_echo_n "checking for finitel declaration... " >&6; }
64219 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64220 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64221 $as_echo_n "(cached) " >&6
64222 else
64223
64224
64225 ac_ext=cpp
64226 ac_cpp='$CXXCPP $CPPFLAGS'
64227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64230
64231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64232 /* end confdefs.h. */
64233 #include <math.h>
64234 #ifdef HAVE_IEEEFP_H
64235 #include <ieeefp.h>
64236 #endif
64237
64238 int
64239 main ()
64240 {
64241 finitel(0);
64242 ;
64243 return 0;
64244 }
64245 _ACEOF
64246 if ac_fn_cxx_try_compile "$LINENO"; then :
64247 glibcxx_cv_func_finitel_use=yes
64248 else
64249 glibcxx_cv_func_finitel_use=no
64250 fi
64251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64252 ac_ext=c
64253 ac_cpp='$CPP $CPPFLAGS'
64254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64257
64258
64259 fi
64260
64261 fi
64262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64263 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64264
64265 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64266 for ac_func in finitel
64267 do :
64268 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64269 if test "x$ac_cv_func_finitel" = x""yes; then :
64270 cat >>confdefs.h <<_ACEOF
64271 #define HAVE_FINITEL 1
64272 _ACEOF
64273
64274 fi
64275 done
64276
64277 else
64278
64279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64280 $as_echo_n "checking for _finitel declaration... " >&6; }
64281 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64282 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64283 $as_echo_n "(cached) " >&6
64284 else
64285
64286
64287 ac_ext=cpp
64288 ac_cpp='$CXXCPP $CPPFLAGS'
64289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64292
64293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64294 /* end confdefs.h. */
64295 #include <math.h>
64296 #ifdef HAVE_IEEEFP_H
64297 #include <ieeefp.h>
64298 #endif
64299
64300 int
64301 main ()
64302 {
64303 _finitel(0);
64304 ;
64305 return 0;
64306 }
64307 _ACEOF
64308 if ac_fn_cxx_try_compile "$LINENO"; then :
64309 glibcxx_cv_func__finitel_use=yes
64310 else
64311 glibcxx_cv_func__finitel_use=no
64312 fi
64313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64314 ac_ext=c
64315 ac_cpp='$CPP $CPPFLAGS'
64316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64319
64320
64321 fi
64322
64323 fi
64324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64325 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64326
64327 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64328 for ac_func in _finitel
64329 do :
64330 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64331 if test "x$ac_cv_func__finitel" = x""yes; then :
64332 cat >>confdefs.h <<_ACEOF
64333 #define HAVE__FINITEL 1
64334 _ACEOF
64335
64336 fi
64337 done
64338
64339 fi
64340 fi
64341
64342
64343
64344
64345 LIBS="$ac_save_LIBS"
64346 CXXFLAGS="$ac_save_CXXFLAGS"
64347
64348
64349 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64350 ac_save_CXXFLAGS="$CXXFLAGS"
64351 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64352
64353
64354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64355 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64356 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64357 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64358 $as_echo_n "(cached) " >&6
64359 else
64360
64361
64362 ac_ext=cpp
64363 ac_cpp='$CXXCPP $CPPFLAGS'
64364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64367
64368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64369 /* end confdefs.h. */
64370 #include <stdlib.h>
64371 int
64372 main ()
64373 {
64374 at_quick_exit(0);
64375 ;
64376 return 0;
64377 }
64378 _ACEOF
64379 if ac_fn_cxx_try_compile "$LINENO"; then :
64380 glibcxx_cv_func_at_quick_exit_use=yes
64381 else
64382 glibcxx_cv_func_at_quick_exit_use=no
64383 fi
64384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64385 ac_ext=c
64386 ac_cpp='$CPP $CPPFLAGS'
64387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64390
64391
64392 fi
64393
64394 fi
64395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64396 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64397 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64398 for ac_func in at_quick_exit
64399 do :
64400 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64401 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64402 cat >>confdefs.h <<_ACEOF
64403 #define HAVE_AT_QUICK_EXIT 1
64404 _ACEOF
64405
64406 fi
64407 done
64408
64409 fi
64410
64411
64412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64413 $as_echo_n "checking for quick_exit declaration... " >&6; }
64414 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64415 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64416 $as_echo_n "(cached) " >&6
64417 else
64418
64419
64420 ac_ext=cpp
64421 ac_cpp='$CXXCPP $CPPFLAGS'
64422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64425
64426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64427 /* end confdefs.h. */
64428 #include <stdlib.h>
64429 int
64430 main ()
64431 {
64432 quick_exit(0);
64433 ;
64434 return 0;
64435 }
64436 _ACEOF
64437 if ac_fn_cxx_try_compile "$LINENO"; then :
64438 glibcxx_cv_func_quick_exit_use=yes
64439 else
64440 glibcxx_cv_func_quick_exit_use=no
64441 fi
64442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64443 ac_ext=c
64444 ac_cpp='$CPP $CPPFLAGS'
64445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64448
64449
64450 fi
64451
64452 fi
64453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64454 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64455 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64456 for ac_func in quick_exit
64457 do :
64458 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64459 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64460 cat >>confdefs.h <<_ACEOF
64461 #define HAVE_QUICK_EXIT 1
64462 _ACEOF
64463
64464 fi
64465 done
64466
64467 fi
64468
64469
64470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64471 $as_echo_n "checking for strtold declaration... " >&6; }
64472 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64473 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64474 $as_echo_n "(cached) " >&6
64475 else
64476
64477
64478 ac_ext=cpp
64479 ac_cpp='$CXXCPP $CPPFLAGS'
64480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64483
64484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64485 /* end confdefs.h. */
64486 #include <stdlib.h>
64487 int
64488 main ()
64489 {
64490 strtold(0, 0);
64491 ;
64492 return 0;
64493 }
64494 _ACEOF
64495 if ac_fn_cxx_try_compile "$LINENO"; then :
64496 glibcxx_cv_func_strtold_use=yes
64497 else
64498 glibcxx_cv_func_strtold_use=no
64499 fi
64500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64501 ac_ext=c
64502 ac_cpp='$CPP $CPPFLAGS'
64503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64506
64507
64508 fi
64509
64510 fi
64511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64512 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64513 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64514 for ac_func in strtold
64515 do :
64516 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64517 if test "x$ac_cv_func_strtold" = x""yes; then :
64518 cat >>confdefs.h <<_ACEOF
64519 #define HAVE_STRTOLD 1
64520 _ACEOF
64521
64522 fi
64523 done
64524
64525 fi
64526
64527
64528
64529
64530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64531 $as_echo_n "checking for strtof declaration... " >&6; }
64532 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64533 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64534 $as_echo_n "(cached) " >&6
64535 else
64536
64537
64538 ac_ext=cpp
64539 ac_cpp='$CXXCPP $CPPFLAGS'
64540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64543
64544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64545 /* end confdefs.h. */
64546 #include <stdlib.h>
64547 int
64548 main ()
64549 {
64550 strtof(0, 0);
64551 ;
64552 return 0;
64553 }
64554 _ACEOF
64555 if ac_fn_cxx_try_compile "$LINENO"; then :
64556 glibcxx_cv_func_strtof_use=yes
64557 else
64558 glibcxx_cv_func_strtof_use=no
64559 fi
64560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64561 ac_ext=c
64562 ac_cpp='$CPP $CPPFLAGS'
64563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64566
64567
64568 fi
64569
64570 fi
64571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64572 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64573 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64574 for ac_func in strtof
64575 do :
64576 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64577 if test "x$ac_cv_func_strtof" = x""yes; then :
64578 cat >>confdefs.h <<_ACEOF
64579 #define HAVE_STRTOF 1
64580 _ACEOF
64581
64582 fi
64583 done
64584
64585 fi
64586
64587
64588
64589
64590 CXXFLAGS="$ac_save_CXXFLAGS"
64591
64592 ;;
64593 *-solaris*)
64594 case "$target" in
64595 *-solaris2.9 | *-solaris2.10)
64596
64597 # If we're not using GNU ld, then there's no point in even trying these
64598 # tests. Check for that first. We should have already tested for gld
64599 # by now (in libtool), but require it now just to be safe...
64600 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64601 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64602
64603
64604
64605 # The name set by libtool depends on the version of libtool. Shame on us
64606 # for depending on an impl detail, but c'est la vie. Older versions used
64607 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64608 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64609 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64610 # set (hence we're using an older libtool), then set it.
64611 if test x${with_gnu_ld+set} != xset; then
64612 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64613 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64614 with_gnu_ld=no
64615 else
64616 with_gnu_ld=$ac_cv_prog_gnu_ld
64617 fi
64618 fi
64619
64620 # Start by getting the version number. I think the libtool test already
64621 # does some of this, but throws away the result.
64622 glibcxx_ld_is_gold=no
64623 if test x"$with_gnu_ld" = x"yes"; then
64624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64625 $as_echo_n "checking for ld version... " >&6; }
64626
64627 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64628 glibcxx_ld_is_gold=yes
64629 fi
64630 ldver=`$LD --version 2>/dev/null |
64631 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'`
64632
64633 glibcxx_gnu_ld_version=`echo $ldver | \
64634 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64636 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64637 fi
64638
64639 # Set --gc-sections.
64640 glibcxx_have_gc_sections=no
64641 if test "$glibcxx_ld_is_gold" = "yes"; then
64642 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64643 glibcxx_have_gc_sections=yes
64644 fi
64645 else
64646 glibcxx_gcsections_min_ld=21602
64647 if test x"$with_gnu_ld" = x"yes" &&
64648 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64649 glibcxx_have_gc_sections=yes
64650 fi
64651 fi
64652 if test "$glibcxx_have_gc_sections" = "yes"; then
64653 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64654 # NB: This flag only works reliably after 2.16.1. Configure tests
64655 # for this are difficult, so hard wire a value that should work.
64656
64657 ac_test_CFLAGS="${CFLAGS+set}"
64658 ac_save_CFLAGS="$CFLAGS"
64659 CFLAGS='-Wl,--gc-sections'
64660
64661 # Check for -Wl,--gc-sections
64662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64663 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64664 if test x$gcc_no_link = xyes; then
64665 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64666 fi
64667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64668 /* end confdefs.h. */
64669 int one(void) { return 1; }
64670 int two(void) { return 2; }
64671
64672 int
64673 main ()
64674 {
64675 two();
64676 ;
64677 return 0;
64678 }
64679 _ACEOF
64680 if ac_fn_c_try_link "$LINENO"; then :
64681 ac_gcsections=yes
64682 else
64683 ac_gcsections=no
64684 fi
64685 rm -f core conftest.err conftest.$ac_objext \
64686 conftest$ac_exeext conftest.$ac_ext
64687 if test "$ac_gcsections" = "yes"; then
64688 rm -f conftest.c
64689 touch conftest.c
64690 if $CC -c conftest.c; then
64691 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64692 grep "Warning: gc-sections option ignored" > /dev/null; then
64693 ac_gcsections=no
64694 fi
64695 fi
64696 rm -f conftest.c conftest.o conftest
64697 fi
64698 if test "$ac_gcsections" = "yes"; then
64699 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64700 fi
64701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64702 $as_echo "$ac_gcsections" >&6; }
64703
64704 if test "$ac_test_CFLAGS" = set; then
64705 CFLAGS="$ac_save_CFLAGS"
64706 else
64707 # this is the suspicious part
64708 CFLAGS=''
64709 fi
64710 fi
64711
64712 # Set -z,relro.
64713 # Note this is only for shared objects.
64714 ac_ld_relro=no
64715 if test x"$with_gnu_ld" = x"yes"; then
64716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64717 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64718 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64719 if test -n "$cxx_z_relo"; then
64720 OPT_LDFLAGS="-Wl,-z,relro"
64721 ac_ld_relro=yes
64722 fi
64723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64724 $as_echo "$ac_ld_relro" >&6; }
64725 fi
64726
64727 # Set linker optimization flags.
64728 if test x"$with_gnu_ld" = x"yes"; then
64729 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64730 fi
64731
64732
64733
64734
64735 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
64736
64737 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64738
64739 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
64740
64741 # All of the dependencies for wide character support are here, so
64742 # turn it on.
64743 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
64744
64745 ;;
64746 esac
64747 case "$target" in
64748 *-*-solaris2.10)
64749 # These two C99 functions are present only in Solaris >= 10
64750 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
64751
64752 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
64753
64754 ;;
64755 esac
64756 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64757
64758 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64759
64760 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
64761
64762 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64763
64764 ;;
64765 *-tpf)
64766 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64767 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
64768
64769 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64770
64771 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64772
64773 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64774
64775 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64776
64777 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64778
64779 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64780
64781 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64782
64783 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64784
64785 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64786
64787 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
64788
64789 if test x"long_double_math_on_this_cpu" = x"yes"; then
64790 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64791
64792 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
64793
64794 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64795
64796 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64797
64798 fi
64799 ;;
64800 *-*vms*)
64801 # Check for available headers.
64802 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
64803
64804 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64805 ac_save_CXXFLAGS="$CXXFLAGS"
64806 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64807
64808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
64809 $as_echo_n "checking for sin in -lm... " >&6; }
64810 if test "${ac_cv_lib_m_sin+set}" = set; then :
64811 $as_echo_n "(cached) " >&6
64812 else
64813 ac_check_lib_save_LIBS=$LIBS
64814 LIBS="-lm $LIBS"
64815 if test x$gcc_no_link = xyes; then
64816 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64817 fi
64818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64819 /* end confdefs.h. */
64820
64821 /* Override any GCC internal prototype to avoid an error.
64822 Use char because int might match the return type of a GCC
64823 builtin and then its argument prototype would still apply. */
64824 #ifdef __cplusplus
64825 extern "C"
64826 #endif
64827 char sin ();
64828 int
64829 main ()
64830 {
64831 return sin ();
64832 ;
64833 return 0;
64834 }
64835 _ACEOF
64836 if ac_fn_c_try_link "$LINENO"; then :
64837 ac_cv_lib_m_sin=yes
64838 else
64839 ac_cv_lib_m_sin=no
64840 fi
64841 rm -f core conftest.err conftest.$ac_objext \
64842 conftest$ac_exeext conftest.$ac_ext
64843 LIBS=$ac_check_lib_save_LIBS
64844 fi
64845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
64846 $as_echo "$ac_cv_lib_m_sin" >&6; }
64847 if test "x$ac_cv_lib_m_sin" = x""yes; then :
64848 libm="-lm"
64849 fi
64850
64851 ac_save_LIBS="$LIBS"
64852 LIBS="$LIBS $libm"
64853
64854
64855
64856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
64857 $as_echo_n "checking for isinf declaration... " >&6; }
64858 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64859 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
64860 $as_echo_n "(cached) " >&6
64861 else
64862
64863
64864 ac_ext=cpp
64865 ac_cpp='$CXXCPP $CPPFLAGS'
64866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64869
64870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64871 /* end confdefs.h. */
64872 #include <math.h>
64873 #ifdef HAVE_IEEEFP_H
64874 #include <ieeefp.h>
64875 #endif
64876
64877 int
64878 main ()
64879 {
64880 isinf(0);
64881 ;
64882 return 0;
64883 }
64884 _ACEOF
64885 if ac_fn_cxx_try_compile "$LINENO"; then :
64886 glibcxx_cv_func_isinf_use=yes
64887 else
64888 glibcxx_cv_func_isinf_use=no
64889 fi
64890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64891 ac_ext=c
64892 ac_cpp='$CPP $CPPFLAGS'
64893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64896
64897
64898 fi
64899
64900 fi
64901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
64902 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
64903
64904 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64905 for ac_func in isinf
64906 do :
64907 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
64908 if test "x$ac_cv_func_isinf" = x""yes; then :
64909 cat >>confdefs.h <<_ACEOF
64910 #define HAVE_ISINF 1
64911 _ACEOF
64912
64913 fi
64914 done
64915
64916 else
64917
64918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
64919 $as_echo_n "checking for _isinf declaration... " >&6; }
64920 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64921 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
64922 $as_echo_n "(cached) " >&6
64923 else
64924
64925
64926 ac_ext=cpp
64927 ac_cpp='$CXXCPP $CPPFLAGS'
64928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64931
64932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64933 /* end confdefs.h. */
64934 #include <math.h>
64935 #ifdef HAVE_IEEEFP_H
64936 #include <ieeefp.h>
64937 #endif
64938
64939 int
64940 main ()
64941 {
64942 _isinf(0);
64943 ;
64944 return 0;
64945 }
64946 _ACEOF
64947 if ac_fn_cxx_try_compile "$LINENO"; then :
64948 glibcxx_cv_func__isinf_use=yes
64949 else
64950 glibcxx_cv_func__isinf_use=no
64951 fi
64952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64953 ac_ext=c
64954 ac_cpp='$CPP $CPPFLAGS'
64955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64958
64959
64960 fi
64961
64962 fi
64963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
64964 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
64965
64966 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64967 for ac_func in _isinf
64968 do :
64969 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
64970 if test "x$ac_cv_func__isinf" = x""yes; then :
64971 cat >>confdefs.h <<_ACEOF
64972 #define HAVE__ISINF 1
64973 _ACEOF
64974
64975 fi
64976 done
64977
64978 fi
64979 fi
64980
64981
64982
64983
64984
64985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
64986 $as_echo_n "checking for isnan declaration... " >&6; }
64987 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64988 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
64989 $as_echo_n "(cached) " >&6
64990 else
64991
64992
64993 ac_ext=cpp
64994 ac_cpp='$CXXCPP $CPPFLAGS'
64995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64998
64999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65000 /* end confdefs.h. */
65001 #include <math.h>
65002 #ifdef HAVE_IEEEFP_H
65003 #include <ieeefp.h>
65004 #endif
65005
65006 int
65007 main ()
65008 {
65009 isnan(0);
65010 ;
65011 return 0;
65012 }
65013 _ACEOF
65014 if ac_fn_cxx_try_compile "$LINENO"; then :
65015 glibcxx_cv_func_isnan_use=yes
65016 else
65017 glibcxx_cv_func_isnan_use=no
65018 fi
65019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65020 ac_ext=c
65021 ac_cpp='$CPP $CPPFLAGS'
65022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65025
65026
65027 fi
65028
65029 fi
65030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65031 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65032
65033 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65034 for ac_func in isnan
65035 do :
65036 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65037 if test "x$ac_cv_func_isnan" = x""yes; then :
65038 cat >>confdefs.h <<_ACEOF
65039 #define HAVE_ISNAN 1
65040 _ACEOF
65041
65042 fi
65043 done
65044
65045 else
65046
65047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65048 $as_echo_n "checking for _isnan declaration... " >&6; }
65049 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65050 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65051 $as_echo_n "(cached) " >&6
65052 else
65053
65054
65055 ac_ext=cpp
65056 ac_cpp='$CXXCPP $CPPFLAGS'
65057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65060
65061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65062 /* end confdefs.h. */
65063 #include <math.h>
65064 #ifdef HAVE_IEEEFP_H
65065 #include <ieeefp.h>
65066 #endif
65067
65068 int
65069 main ()
65070 {
65071 _isnan(0);
65072 ;
65073 return 0;
65074 }
65075 _ACEOF
65076 if ac_fn_cxx_try_compile "$LINENO"; then :
65077 glibcxx_cv_func__isnan_use=yes
65078 else
65079 glibcxx_cv_func__isnan_use=no
65080 fi
65081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65082 ac_ext=c
65083 ac_cpp='$CPP $CPPFLAGS'
65084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65087
65088
65089 fi
65090
65091 fi
65092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65093 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65094
65095 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65096 for ac_func in _isnan
65097 do :
65098 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65099 if test "x$ac_cv_func__isnan" = x""yes; then :
65100 cat >>confdefs.h <<_ACEOF
65101 #define HAVE__ISNAN 1
65102 _ACEOF
65103
65104 fi
65105 done
65106
65107 fi
65108 fi
65109
65110
65111
65112
65113
65114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65115 $as_echo_n "checking for finite declaration... " >&6; }
65116 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65117 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65118 $as_echo_n "(cached) " >&6
65119 else
65120
65121
65122 ac_ext=cpp
65123 ac_cpp='$CXXCPP $CPPFLAGS'
65124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65127
65128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65129 /* end confdefs.h. */
65130 #include <math.h>
65131 #ifdef HAVE_IEEEFP_H
65132 #include <ieeefp.h>
65133 #endif
65134
65135 int
65136 main ()
65137 {
65138 finite(0);
65139 ;
65140 return 0;
65141 }
65142 _ACEOF
65143 if ac_fn_cxx_try_compile "$LINENO"; then :
65144 glibcxx_cv_func_finite_use=yes
65145 else
65146 glibcxx_cv_func_finite_use=no
65147 fi
65148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65149 ac_ext=c
65150 ac_cpp='$CPP $CPPFLAGS'
65151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65154
65155
65156 fi
65157
65158 fi
65159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65160 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65161
65162 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65163 for ac_func in finite
65164 do :
65165 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65166 if test "x$ac_cv_func_finite" = x""yes; then :
65167 cat >>confdefs.h <<_ACEOF
65168 #define HAVE_FINITE 1
65169 _ACEOF
65170
65171 fi
65172 done
65173
65174 else
65175
65176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65177 $as_echo_n "checking for _finite declaration... " >&6; }
65178 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65179 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65180 $as_echo_n "(cached) " >&6
65181 else
65182
65183
65184 ac_ext=cpp
65185 ac_cpp='$CXXCPP $CPPFLAGS'
65186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65189
65190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65191 /* end confdefs.h. */
65192 #include <math.h>
65193 #ifdef HAVE_IEEEFP_H
65194 #include <ieeefp.h>
65195 #endif
65196
65197 int
65198 main ()
65199 {
65200 _finite(0);
65201 ;
65202 return 0;
65203 }
65204 _ACEOF
65205 if ac_fn_cxx_try_compile "$LINENO"; then :
65206 glibcxx_cv_func__finite_use=yes
65207 else
65208 glibcxx_cv_func__finite_use=no
65209 fi
65210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65211 ac_ext=c
65212 ac_cpp='$CPP $CPPFLAGS'
65213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65216
65217
65218 fi
65219
65220 fi
65221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65222 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65223
65224 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65225 for ac_func in _finite
65226 do :
65227 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65228 if test "x$ac_cv_func__finite" = x""yes; then :
65229 cat >>confdefs.h <<_ACEOF
65230 #define HAVE__FINITE 1
65231 _ACEOF
65232
65233 fi
65234 done
65235
65236 fi
65237 fi
65238
65239
65240
65241
65242
65243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65244 $as_echo_n "checking for sincos declaration... " >&6; }
65245 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65246 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65247 $as_echo_n "(cached) " >&6
65248 else
65249
65250
65251 ac_ext=cpp
65252 ac_cpp='$CXXCPP $CPPFLAGS'
65253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65256
65257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65258 /* end confdefs.h. */
65259 #include <math.h>
65260 int
65261 main ()
65262 {
65263 sincos(0, 0, 0);
65264 ;
65265 return 0;
65266 }
65267 _ACEOF
65268 if ac_fn_cxx_try_compile "$LINENO"; then :
65269 glibcxx_cv_func_sincos_use=yes
65270 else
65271 glibcxx_cv_func_sincos_use=no
65272 fi
65273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65274 ac_ext=c
65275 ac_cpp='$CPP $CPPFLAGS'
65276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65279
65280
65281 fi
65282
65283 fi
65284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65285 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65286
65287 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65288 for ac_func in sincos
65289 do :
65290 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65291 if test "x$ac_cv_func_sincos" = x""yes; then :
65292 cat >>confdefs.h <<_ACEOF
65293 #define HAVE_SINCOS 1
65294 _ACEOF
65295
65296 fi
65297 done
65298
65299 else
65300
65301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65302 $as_echo_n "checking for _sincos declaration... " >&6; }
65303 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65304 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65305 $as_echo_n "(cached) " >&6
65306 else
65307
65308
65309 ac_ext=cpp
65310 ac_cpp='$CXXCPP $CPPFLAGS'
65311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65314
65315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65316 /* end confdefs.h. */
65317 #include <math.h>
65318 int
65319 main ()
65320 {
65321 _sincos(0, 0, 0);
65322 ;
65323 return 0;
65324 }
65325 _ACEOF
65326 if ac_fn_cxx_try_compile "$LINENO"; then :
65327 glibcxx_cv_func__sincos_use=yes
65328 else
65329 glibcxx_cv_func__sincos_use=no
65330 fi
65331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65332 ac_ext=c
65333 ac_cpp='$CPP $CPPFLAGS'
65334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65337
65338
65339 fi
65340
65341 fi
65342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65343 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65344
65345 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65346 for ac_func in _sincos
65347 do :
65348 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65349 if test "x$ac_cv_func__sincos" = x""yes; then :
65350 cat >>confdefs.h <<_ACEOF
65351 #define HAVE__SINCOS 1
65352 _ACEOF
65353
65354 fi
65355 done
65356
65357 fi
65358 fi
65359
65360
65361
65362
65363
65364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65365 $as_echo_n "checking for fpclass declaration... " >&6; }
65366 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65367 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65368 $as_echo_n "(cached) " >&6
65369 else
65370
65371
65372 ac_ext=cpp
65373 ac_cpp='$CXXCPP $CPPFLAGS'
65374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65377
65378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65379 /* end confdefs.h. */
65380 #include <math.h>
65381 #ifdef HAVE_IEEEFP_H
65382 #include <ieeefp.h>
65383 #endif
65384
65385 int
65386 main ()
65387 {
65388 fpclass(0);
65389 ;
65390 return 0;
65391 }
65392 _ACEOF
65393 if ac_fn_cxx_try_compile "$LINENO"; then :
65394 glibcxx_cv_func_fpclass_use=yes
65395 else
65396 glibcxx_cv_func_fpclass_use=no
65397 fi
65398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65399 ac_ext=c
65400 ac_cpp='$CPP $CPPFLAGS'
65401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65404
65405
65406 fi
65407
65408 fi
65409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65410 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65411
65412 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65413 for ac_func in fpclass
65414 do :
65415 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65416 if test "x$ac_cv_func_fpclass" = x""yes; then :
65417 cat >>confdefs.h <<_ACEOF
65418 #define HAVE_FPCLASS 1
65419 _ACEOF
65420
65421 fi
65422 done
65423
65424 else
65425
65426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65427 $as_echo_n "checking for _fpclass declaration... " >&6; }
65428 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65429 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65430 $as_echo_n "(cached) " >&6
65431 else
65432
65433
65434 ac_ext=cpp
65435 ac_cpp='$CXXCPP $CPPFLAGS'
65436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65439
65440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65441 /* end confdefs.h. */
65442 #include <math.h>
65443 #ifdef HAVE_IEEEFP_H
65444 #include <ieeefp.h>
65445 #endif
65446
65447 int
65448 main ()
65449 {
65450 _fpclass(0);
65451 ;
65452 return 0;
65453 }
65454 _ACEOF
65455 if ac_fn_cxx_try_compile "$LINENO"; then :
65456 glibcxx_cv_func__fpclass_use=yes
65457 else
65458 glibcxx_cv_func__fpclass_use=no
65459 fi
65460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65461 ac_ext=c
65462 ac_cpp='$CPP $CPPFLAGS'
65463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65466
65467
65468 fi
65469
65470 fi
65471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65472 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65473
65474 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65475 for ac_func in _fpclass
65476 do :
65477 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65478 if test "x$ac_cv_func__fpclass" = x""yes; then :
65479 cat >>confdefs.h <<_ACEOF
65480 #define HAVE__FPCLASS 1
65481 _ACEOF
65482
65483 fi
65484 done
65485
65486 fi
65487 fi
65488
65489
65490
65491
65492
65493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65494 $as_echo_n "checking for qfpclass declaration... " >&6; }
65495 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65496 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65497 $as_echo_n "(cached) " >&6
65498 else
65499
65500
65501 ac_ext=cpp
65502 ac_cpp='$CXXCPP $CPPFLAGS'
65503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65506
65507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65508 /* end confdefs.h. */
65509 #include <math.h>
65510 #ifdef HAVE_IEEEFP_H
65511 #include <ieeefp.h>
65512 #endif
65513
65514 int
65515 main ()
65516 {
65517 qfpclass(0);
65518 ;
65519 return 0;
65520 }
65521 _ACEOF
65522 if ac_fn_cxx_try_compile "$LINENO"; then :
65523 glibcxx_cv_func_qfpclass_use=yes
65524 else
65525 glibcxx_cv_func_qfpclass_use=no
65526 fi
65527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65528 ac_ext=c
65529 ac_cpp='$CPP $CPPFLAGS'
65530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65533
65534
65535 fi
65536
65537 fi
65538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
65539 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
65540
65541 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
65542 for ac_func in qfpclass
65543 do :
65544 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
65545 if test "x$ac_cv_func_qfpclass" = x""yes; then :
65546 cat >>confdefs.h <<_ACEOF
65547 #define HAVE_QFPCLASS 1
65548 _ACEOF
65549
65550 fi
65551 done
65552
65553 else
65554
65555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
65556 $as_echo_n "checking for _qfpclass declaration... " >&6; }
65557 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
65558 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
65559 $as_echo_n "(cached) " >&6
65560 else
65561
65562
65563 ac_ext=cpp
65564 ac_cpp='$CXXCPP $CPPFLAGS'
65565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65568
65569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65570 /* end confdefs.h. */
65571 #include <math.h>
65572 #ifdef HAVE_IEEEFP_H
65573 #include <ieeefp.h>
65574 #endif
65575
65576 int
65577 main ()
65578 {
65579 _qfpclass(0);
65580 ;
65581 return 0;
65582 }
65583 _ACEOF
65584 if ac_fn_cxx_try_compile "$LINENO"; then :
65585 glibcxx_cv_func__qfpclass_use=yes
65586 else
65587 glibcxx_cv_func__qfpclass_use=no
65588 fi
65589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65590 ac_ext=c
65591 ac_cpp='$CPP $CPPFLAGS'
65592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65595
65596
65597 fi
65598
65599 fi
65600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
65601 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
65602
65603 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
65604 for ac_func in _qfpclass
65605 do :
65606 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
65607 if test "x$ac_cv_func__qfpclass" = x""yes; then :
65608 cat >>confdefs.h <<_ACEOF
65609 #define HAVE__QFPCLASS 1
65610 _ACEOF
65611
65612 fi
65613 done
65614
65615 fi
65616 fi
65617
65618
65619
65620
65621
65622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
65623 $as_echo_n "checking for hypot declaration... " >&6; }
65624 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
65625 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
65626 $as_echo_n "(cached) " >&6
65627 else
65628
65629
65630 ac_ext=cpp
65631 ac_cpp='$CXXCPP $CPPFLAGS'
65632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65635
65636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65637 /* end confdefs.h. */
65638 #include <math.h>
65639 int
65640 main ()
65641 {
65642 hypot(0, 0);
65643 ;
65644 return 0;
65645 }
65646 _ACEOF
65647 if ac_fn_cxx_try_compile "$LINENO"; then :
65648 glibcxx_cv_func_hypot_use=yes
65649 else
65650 glibcxx_cv_func_hypot_use=no
65651 fi
65652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65653 ac_ext=c
65654 ac_cpp='$CPP $CPPFLAGS'
65655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65658
65659
65660 fi
65661
65662 fi
65663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
65664 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
65665
65666 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
65667 for ac_func in hypot
65668 do :
65669 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
65670 if test "x$ac_cv_func_hypot" = x""yes; then :
65671 cat >>confdefs.h <<_ACEOF
65672 #define HAVE_HYPOT 1
65673 _ACEOF
65674
65675 fi
65676 done
65677
65678 else
65679
65680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
65681 $as_echo_n "checking for _hypot declaration... " >&6; }
65682 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
65683 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
65684 $as_echo_n "(cached) " >&6
65685 else
65686
65687
65688 ac_ext=cpp
65689 ac_cpp='$CXXCPP $CPPFLAGS'
65690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65693
65694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65695 /* end confdefs.h. */
65696 #include <math.h>
65697 int
65698 main ()
65699 {
65700 _hypot(0, 0);
65701 ;
65702 return 0;
65703 }
65704 _ACEOF
65705 if ac_fn_cxx_try_compile "$LINENO"; then :
65706 glibcxx_cv_func__hypot_use=yes
65707 else
65708 glibcxx_cv_func__hypot_use=no
65709 fi
65710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65711 ac_ext=c
65712 ac_cpp='$CPP $CPPFLAGS'
65713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65716
65717
65718 fi
65719
65720 fi
65721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
65722 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
65723
65724 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
65725 for ac_func in _hypot
65726 do :
65727 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
65728 if test "x$ac_cv_func__hypot" = x""yes; then :
65729 cat >>confdefs.h <<_ACEOF
65730 #define HAVE__HYPOT 1
65731 _ACEOF
65732
65733 fi
65734 done
65735
65736 fi
65737 fi
65738
65739
65740
65741
65742
65743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
65744 $as_echo_n "checking for float trig functions... " >&6; }
65745 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
65746 $as_echo_n "(cached) " >&6
65747 else
65748
65749
65750 ac_ext=cpp
65751 ac_cpp='$CXXCPP $CPPFLAGS'
65752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65755
65756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65757 /* end confdefs.h. */
65758 #include <math.h>
65759 int
65760 main ()
65761 {
65762 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
65763 ;
65764 return 0;
65765 }
65766 _ACEOF
65767 if ac_fn_cxx_try_compile "$LINENO"; then :
65768 glibcxx_cv_func_float_trig_use=yes
65769 else
65770 glibcxx_cv_func_float_trig_use=no
65771 fi
65772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65773 ac_ext=c
65774 ac_cpp='$CPP $CPPFLAGS'
65775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65778
65779 fi
65780
65781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
65782 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
65783 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
65784 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
65785 do :
65786 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65787 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65788 eval as_val=\$$as_ac_var
65789 if test "x$as_val" = x""yes; then :
65790 cat >>confdefs.h <<_ACEOF
65791 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65792 _ACEOF
65793
65794 fi
65795 done
65796
65797 else
65798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
65799 $as_echo_n "checking for _float trig functions... " >&6; }
65800 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
65801 $as_echo_n "(cached) " >&6
65802 else
65803
65804
65805 ac_ext=cpp
65806 ac_cpp='$CXXCPP $CPPFLAGS'
65807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65810
65811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65812 /* end confdefs.h. */
65813 #include <math.h>
65814 int
65815 main ()
65816 {
65817 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
65818 ;
65819 return 0;
65820 }
65821 _ACEOF
65822 if ac_fn_cxx_try_compile "$LINENO"; then :
65823 glibcxx_cv_func__float_trig_use=yes
65824 else
65825 glibcxx_cv_func__float_trig_use=no
65826 fi
65827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65828 ac_ext=c
65829 ac_cpp='$CPP $CPPFLAGS'
65830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65833
65834 fi
65835
65836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
65837 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
65838 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
65839 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
65840 do :
65841 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65842 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65843 eval as_val=\$$as_ac_var
65844 if test "x$as_val" = x""yes; then :
65845 cat >>confdefs.h <<_ACEOF
65846 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65847 _ACEOF
65848
65849 fi
65850 done
65851
65852 fi
65853 fi
65854
65855
65856
65857
65858
65859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
65860 $as_echo_n "checking for float round functions... " >&6; }
65861 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
65862 $as_echo_n "(cached) " >&6
65863 else
65864
65865
65866 ac_ext=cpp
65867 ac_cpp='$CXXCPP $CPPFLAGS'
65868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65871
65872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65873 /* end confdefs.h. */
65874 #include <math.h>
65875 int
65876 main ()
65877 {
65878 ceilf (0); floorf (0);
65879 ;
65880 return 0;
65881 }
65882 _ACEOF
65883 if ac_fn_cxx_try_compile "$LINENO"; then :
65884 glibcxx_cv_func_float_round_use=yes
65885 else
65886 glibcxx_cv_func_float_round_use=no
65887 fi
65888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65889 ac_ext=c
65890 ac_cpp='$CPP $CPPFLAGS'
65891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65894
65895 fi
65896
65897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
65898 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
65899 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
65900 for ac_func in ceilf floorf
65901 do :
65902 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65903 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65904 eval as_val=\$$as_ac_var
65905 if test "x$as_val" = x""yes; then :
65906 cat >>confdefs.h <<_ACEOF
65907 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65908 _ACEOF
65909
65910 fi
65911 done
65912
65913 else
65914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
65915 $as_echo_n "checking for _float round functions... " >&6; }
65916 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
65917 $as_echo_n "(cached) " >&6
65918 else
65919
65920
65921 ac_ext=cpp
65922 ac_cpp='$CXXCPP $CPPFLAGS'
65923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65926
65927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65928 /* end confdefs.h. */
65929 #include <math.h>
65930 int
65931 main ()
65932 {
65933 _ceilf (0); _floorf (0);
65934 ;
65935 return 0;
65936 }
65937 _ACEOF
65938 if ac_fn_cxx_try_compile "$LINENO"; then :
65939 glibcxx_cv_func__float_round_use=yes
65940 else
65941 glibcxx_cv_func__float_round_use=no
65942 fi
65943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65944 ac_ext=c
65945 ac_cpp='$CPP $CPPFLAGS'
65946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65949
65950 fi
65951
65952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
65953 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
65954 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
65955 for ac_func in _ceilf _floorf
65956 do :
65957 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65958 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65959 eval as_val=\$$as_ac_var
65960 if test "x$as_val" = x""yes; then :
65961 cat >>confdefs.h <<_ACEOF
65962 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65963 _ACEOF
65964
65965 fi
65966 done
65967
65968 fi
65969 fi
65970
65971
65972
65973
65974
65975
65976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
65977 $as_echo_n "checking for expf declaration... " >&6; }
65978 if test x${glibcxx_cv_func_expf_use+set} != xset; then
65979 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
65980 $as_echo_n "(cached) " >&6
65981 else
65982
65983
65984 ac_ext=cpp
65985 ac_cpp='$CXXCPP $CPPFLAGS'
65986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65989
65990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65991 /* end confdefs.h. */
65992 #include <math.h>
65993 #ifdef HAVE_IEEEFP_H
65994 #include <ieeefp.h>
65995 #endif
65996
65997 int
65998 main ()
65999 {
66000 expf(0);
66001 ;
66002 return 0;
66003 }
66004 _ACEOF
66005 if ac_fn_cxx_try_compile "$LINENO"; then :
66006 glibcxx_cv_func_expf_use=yes
66007 else
66008 glibcxx_cv_func_expf_use=no
66009 fi
66010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66011 ac_ext=c
66012 ac_cpp='$CPP $CPPFLAGS'
66013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66016
66017
66018 fi
66019
66020 fi
66021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66022 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66023
66024 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66025 for ac_func in expf
66026 do :
66027 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66028 if test "x$ac_cv_func_expf" = x""yes; then :
66029 cat >>confdefs.h <<_ACEOF
66030 #define HAVE_EXPF 1
66031 _ACEOF
66032
66033 fi
66034 done
66035
66036 else
66037
66038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66039 $as_echo_n "checking for _expf declaration... " >&6; }
66040 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66041 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66042 $as_echo_n "(cached) " >&6
66043 else
66044
66045
66046 ac_ext=cpp
66047 ac_cpp='$CXXCPP $CPPFLAGS'
66048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66051
66052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66053 /* end confdefs.h. */
66054 #include <math.h>
66055 #ifdef HAVE_IEEEFP_H
66056 #include <ieeefp.h>
66057 #endif
66058
66059 int
66060 main ()
66061 {
66062 _expf(0);
66063 ;
66064 return 0;
66065 }
66066 _ACEOF
66067 if ac_fn_cxx_try_compile "$LINENO"; then :
66068 glibcxx_cv_func__expf_use=yes
66069 else
66070 glibcxx_cv_func__expf_use=no
66071 fi
66072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66073 ac_ext=c
66074 ac_cpp='$CPP $CPPFLAGS'
66075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66078
66079
66080 fi
66081
66082 fi
66083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66084 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66085
66086 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66087 for ac_func in _expf
66088 do :
66089 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66090 if test "x$ac_cv_func__expf" = x""yes; then :
66091 cat >>confdefs.h <<_ACEOF
66092 #define HAVE__EXPF 1
66093 _ACEOF
66094
66095 fi
66096 done
66097
66098 fi
66099 fi
66100
66101
66102
66103
66104
66105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66106 $as_echo_n "checking for isnanf declaration... " >&6; }
66107 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66108 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66109 $as_echo_n "(cached) " >&6
66110 else
66111
66112
66113 ac_ext=cpp
66114 ac_cpp='$CXXCPP $CPPFLAGS'
66115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66118
66119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66120 /* end confdefs.h. */
66121 #include <math.h>
66122 #ifdef HAVE_IEEEFP_H
66123 #include <ieeefp.h>
66124 #endif
66125
66126 int
66127 main ()
66128 {
66129 isnanf(0);
66130 ;
66131 return 0;
66132 }
66133 _ACEOF
66134 if ac_fn_cxx_try_compile "$LINENO"; then :
66135 glibcxx_cv_func_isnanf_use=yes
66136 else
66137 glibcxx_cv_func_isnanf_use=no
66138 fi
66139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66140 ac_ext=c
66141 ac_cpp='$CPP $CPPFLAGS'
66142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66145
66146
66147 fi
66148
66149 fi
66150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66151 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66152
66153 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66154 for ac_func in isnanf
66155 do :
66156 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66157 if test "x$ac_cv_func_isnanf" = x""yes; then :
66158 cat >>confdefs.h <<_ACEOF
66159 #define HAVE_ISNANF 1
66160 _ACEOF
66161
66162 fi
66163 done
66164
66165 else
66166
66167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66168 $as_echo_n "checking for _isnanf declaration... " >&6; }
66169 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66170 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66171 $as_echo_n "(cached) " >&6
66172 else
66173
66174
66175 ac_ext=cpp
66176 ac_cpp='$CXXCPP $CPPFLAGS'
66177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66180
66181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66182 /* end confdefs.h. */
66183 #include <math.h>
66184 #ifdef HAVE_IEEEFP_H
66185 #include <ieeefp.h>
66186 #endif
66187
66188 int
66189 main ()
66190 {
66191 _isnanf(0);
66192 ;
66193 return 0;
66194 }
66195 _ACEOF
66196 if ac_fn_cxx_try_compile "$LINENO"; then :
66197 glibcxx_cv_func__isnanf_use=yes
66198 else
66199 glibcxx_cv_func__isnanf_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__isnanf_use" >&5
66213 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66214
66215 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66216 for ac_func in _isnanf
66217 do :
66218 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66219 if test "x$ac_cv_func__isnanf" = x""yes; then :
66220 cat >>confdefs.h <<_ACEOF
66221 #define HAVE__ISNANF 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 isinff declaration" >&5
66235 $as_echo_n "checking for isinff declaration... " >&6; }
66236 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66237 if test "${glibcxx_cv_func_isinff_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 isinff(0);
66259 ;
66260 return 0;
66261 }
66262 _ACEOF
66263 if ac_fn_cxx_try_compile "$LINENO"; then :
66264 glibcxx_cv_func_isinff_use=yes
66265 else
66266 glibcxx_cv_func_isinff_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_isinff_use" >&5
66280 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66281
66282 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66283 for ac_func in isinff
66284 do :
66285 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66286 if test "x$ac_cv_func_isinff" = x""yes; then :
66287 cat >>confdefs.h <<_ACEOF
66288 #define HAVE_ISINFF 1
66289 _ACEOF
66290
66291 fi
66292 done
66293
66294 else
66295
66296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66297 $as_echo_n "checking for _isinff declaration... " >&6; }
66298 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66299 if test "${glibcxx_cv_func__isinff_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 _isinff(0);
66321 ;
66322 return 0;
66323 }
66324 _ACEOF
66325 if ac_fn_cxx_try_compile "$LINENO"; then :
66326 glibcxx_cv_func__isinff_use=yes
66327 else
66328 glibcxx_cv_func__isinff_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__isinff_use" >&5
66342 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66343
66344 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66345 for ac_func in _isinff
66346 do :
66347 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66348 if test "x$ac_cv_func__isinff" = x""yes; then :
66349 cat >>confdefs.h <<_ACEOF
66350 #define HAVE__ISINFF 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 atan2f declaration" >&5
66364 $as_echo_n "checking for atan2f declaration... " >&6; }
66365 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66366 if test "${glibcxx_cv_func_atan2f_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 int
66381 main ()
66382 {
66383 atan2f(0, 0);
66384 ;
66385 return 0;
66386 }
66387 _ACEOF
66388 if ac_fn_cxx_try_compile "$LINENO"; then :
66389 glibcxx_cv_func_atan2f_use=yes
66390 else
66391 glibcxx_cv_func_atan2f_use=no
66392 fi
66393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66394 ac_ext=c
66395 ac_cpp='$CPP $CPPFLAGS'
66396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66399
66400
66401 fi
66402
66403 fi
66404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66405 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66406
66407 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66408 for ac_func in atan2f
66409 do :
66410 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66411 if test "x$ac_cv_func_atan2f" = x""yes; then :
66412 cat >>confdefs.h <<_ACEOF
66413 #define HAVE_ATAN2F 1
66414 _ACEOF
66415
66416 fi
66417 done
66418
66419 else
66420
66421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66422 $as_echo_n "checking for _atan2f declaration... " >&6; }
66423 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66424 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66425 $as_echo_n "(cached) " >&6
66426 else
66427
66428
66429 ac_ext=cpp
66430 ac_cpp='$CXXCPP $CPPFLAGS'
66431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66434
66435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66436 /* end confdefs.h. */
66437 #include <math.h>
66438 int
66439 main ()
66440 {
66441 _atan2f(0, 0);
66442 ;
66443 return 0;
66444 }
66445 _ACEOF
66446 if ac_fn_cxx_try_compile "$LINENO"; then :
66447 glibcxx_cv_func__atan2f_use=yes
66448 else
66449 glibcxx_cv_func__atan2f_use=no
66450 fi
66451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66452 ac_ext=c
66453 ac_cpp='$CPP $CPPFLAGS'
66454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66457
66458
66459 fi
66460
66461 fi
66462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66463 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66464
66465 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66466 for ac_func in _atan2f
66467 do :
66468 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66469 if test "x$ac_cv_func__atan2f" = x""yes; then :
66470 cat >>confdefs.h <<_ACEOF
66471 #define HAVE__ATAN2F 1
66472 _ACEOF
66473
66474 fi
66475 done
66476
66477 fi
66478 fi
66479
66480
66481
66482
66483
66484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66485 $as_echo_n "checking for fabsf declaration... " >&6; }
66486 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66487 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66488 $as_echo_n "(cached) " >&6
66489 else
66490
66491
66492 ac_ext=cpp
66493 ac_cpp='$CXXCPP $CPPFLAGS'
66494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66497
66498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66499 /* end confdefs.h. */
66500 #include <math.h>
66501 #ifdef HAVE_IEEEFP_H
66502 #include <ieeefp.h>
66503 #endif
66504
66505 int
66506 main ()
66507 {
66508 fabsf(0);
66509 ;
66510 return 0;
66511 }
66512 _ACEOF
66513 if ac_fn_cxx_try_compile "$LINENO"; then :
66514 glibcxx_cv_func_fabsf_use=yes
66515 else
66516 glibcxx_cv_func_fabsf_use=no
66517 fi
66518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66519 ac_ext=c
66520 ac_cpp='$CPP $CPPFLAGS'
66521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66524
66525
66526 fi
66527
66528 fi
66529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
66530 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
66531
66532 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66533 for ac_func in fabsf
66534 do :
66535 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
66536 if test "x$ac_cv_func_fabsf" = x""yes; then :
66537 cat >>confdefs.h <<_ACEOF
66538 #define HAVE_FABSF 1
66539 _ACEOF
66540
66541 fi
66542 done
66543
66544 else
66545
66546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
66547 $as_echo_n "checking for _fabsf declaration... " >&6; }
66548 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
66549 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
66550 $as_echo_n "(cached) " >&6
66551 else
66552
66553
66554 ac_ext=cpp
66555 ac_cpp='$CXXCPP $CPPFLAGS'
66556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66559
66560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66561 /* end confdefs.h. */
66562 #include <math.h>
66563 #ifdef HAVE_IEEEFP_H
66564 #include <ieeefp.h>
66565 #endif
66566
66567 int
66568 main ()
66569 {
66570 _fabsf(0);
66571 ;
66572 return 0;
66573 }
66574 _ACEOF
66575 if ac_fn_cxx_try_compile "$LINENO"; then :
66576 glibcxx_cv_func__fabsf_use=yes
66577 else
66578 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
66592 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
66593
66594 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
66595 for ac_func in _fabsf
66596 do :
66597 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
66598 if test "x$ac_cv_func__fabsf" = x""yes; then :
66599 cat >>confdefs.h <<_ACEOF
66600 #define HAVE__FABSF 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 fmodf declaration" >&5
66614 $as_echo_n "checking for fmodf declaration... " >&6; }
66615 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
66616 if test "${glibcxx_cv_func_fmodf_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 fmodf(0, 0);
66634 ;
66635 return 0;
66636 }
66637 _ACEOF
66638 if ac_fn_cxx_try_compile "$LINENO"; then :
66639 glibcxx_cv_func_fmodf_use=yes
66640 else
66641 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
66655 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
66656
66657 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
66658 for ac_func in fmodf
66659 do :
66660 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
66661 if test "x$ac_cv_func_fmodf" = x""yes; then :
66662 cat >>confdefs.h <<_ACEOF
66663 #define HAVE_FMODF 1
66664 _ACEOF
66665
66666 fi
66667 done
66668
66669 else
66670
66671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
66672 $as_echo_n "checking for _fmodf declaration... " >&6; }
66673 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
66674 if test "${glibcxx_cv_func__fmodf_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 _fmodf(0, 0);
66692 ;
66693 return 0;
66694 }
66695 _ACEOF
66696 if ac_fn_cxx_try_compile "$LINENO"; then :
66697 glibcxx_cv_func__fmodf_use=yes
66698 else
66699 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
66713 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
66714
66715 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
66716 for ac_func in _fmodf
66717 do :
66718 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
66719 if test "x$ac_cv_func__fmodf" = x""yes; then :
66720 cat >>confdefs.h <<_ACEOF
66721 #define HAVE__FMODF 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 frexpf declaration" >&5
66735 $as_echo_n "checking for frexpf declaration... " >&6; }
66736 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
66737 if test "${glibcxx_cv_func_frexpf_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 frexpf(0, 0);
66755 ;
66756 return 0;
66757 }
66758 _ACEOF
66759 if ac_fn_cxx_try_compile "$LINENO"; then :
66760 glibcxx_cv_func_frexpf_use=yes
66761 else
66762 glibcxx_cv_func_frexpf_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_frexpf_use" >&5
66776 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
66777
66778 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
66779 for ac_func in frexpf
66780 do :
66781 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
66782 if test "x$ac_cv_func_frexpf" = x""yes; then :
66783 cat >>confdefs.h <<_ACEOF
66784 #define HAVE_FREXPF 1
66785 _ACEOF
66786
66787 fi
66788 done
66789
66790 else
66791
66792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
66793 $as_echo_n "checking for _frexpf declaration... " >&6; }
66794 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
66795 if test "${glibcxx_cv_func__frexpf_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 _frexpf(0, 0);
66813 ;
66814 return 0;
66815 }
66816 _ACEOF
66817 if ac_fn_cxx_try_compile "$LINENO"; then :
66818 glibcxx_cv_func__frexpf_use=yes
66819 else
66820 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
66834 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
66835
66836 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
66837 for ac_func in _frexpf
66838 do :
66839 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
66840 if test "x$ac_cv_func__frexpf" = x""yes; then :
66841 cat >>confdefs.h <<_ACEOF
66842 #define HAVE__FREXPF 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 hypotf declaration" >&5
66856 $as_echo_n "checking for hypotf declaration... " >&6; }
66857 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
66858 if test "${glibcxx_cv_func_hypotf_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 int
66873 main ()
66874 {
66875 hypotf(0, 0);
66876 ;
66877 return 0;
66878 }
66879 _ACEOF
66880 if ac_fn_cxx_try_compile "$LINENO"; then :
66881 glibcxx_cv_func_hypotf_use=yes
66882 else
66883 glibcxx_cv_func_hypotf_use=no
66884 fi
66885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66886 ac_ext=c
66887 ac_cpp='$CPP $CPPFLAGS'
66888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66891
66892
66893 fi
66894
66895 fi
66896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
66897 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
66898
66899 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
66900 for ac_func in hypotf
66901 do :
66902 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
66903 if test "x$ac_cv_func_hypotf" = x""yes; then :
66904 cat >>confdefs.h <<_ACEOF
66905 #define HAVE_HYPOTF 1
66906 _ACEOF
66907
66908 fi
66909 done
66910
66911 else
66912
66913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
66914 $as_echo_n "checking for _hypotf declaration... " >&6; }
66915 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
66916 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
66917 $as_echo_n "(cached) " >&6
66918 else
66919
66920
66921 ac_ext=cpp
66922 ac_cpp='$CXXCPP $CPPFLAGS'
66923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66926
66927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66928 /* end confdefs.h. */
66929 #include <math.h>
66930 int
66931 main ()
66932 {
66933 _hypotf(0, 0);
66934 ;
66935 return 0;
66936 }
66937 _ACEOF
66938 if ac_fn_cxx_try_compile "$LINENO"; then :
66939 glibcxx_cv_func__hypotf_use=yes
66940 else
66941 glibcxx_cv_func__hypotf_use=no
66942 fi
66943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66944 ac_ext=c
66945 ac_cpp='$CPP $CPPFLAGS'
66946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66949
66950
66951 fi
66952
66953 fi
66954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
66955 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
66956
66957 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
66958 for ac_func in _hypotf
66959 do :
66960 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
66961 if test "x$ac_cv_func__hypotf" = x""yes; then :
66962 cat >>confdefs.h <<_ACEOF
66963 #define HAVE__HYPOTF 1
66964 _ACEOF
66965
66966 fi
66967 done
66968
66969 fi
66970 fi
66971
66972
66973
66974
66975
66976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
66977 $as_echo_n "checking for ldexpf declaration... " >&6; }
66978 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
66979 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
66980 $as_echo_n "(cached) " >&6
66981 else
66982
66983
66984 ac_ext=cpp
66985 ac_cpp='$CXXCPP $CPPFLAGS'
66986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66989
66990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66991 /* end confdefs.h. */
66992 #include <math.h>
66993 int
66994 main ()
66995 {
66996 ldexpf(0, 0);
66997 ;
66998 return 0;
66999 }
67000 _ACEOF
67001 if ac_fn_cxx_try_compile "$LINENO"; then :
67002 glibcxx_cv_func_ldexpf_use=yes
67003 else
67004 glibcxx_cv_func_ldexpf_use=no
67005 fi
67006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67007 ac_ext=c
67008 ac_cpp='$CPP $CPPFLAGS'
67009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67012
67013
67014 fi
67015
67016 fi
67017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67018 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67019
67020 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67021 for ac_func in ldexpf
67022 do :
67023 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67024 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67025 cat >>confdefs.h <<_ACEOF
67026 #define HAVE_LDEXPF 1
67027 _ACEOF
67028
67029 fi
67030 done
67031
67032 else
67033
67034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67035 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67036 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67037 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67038 $as_echo_n "(cached) " >&6
67039 else
67040
67041
67042 ac_ext=cpp
67043 ac_cpp='$CXXCPP $CPPFLAGS'
67044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67047
67048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67049 /* end confdefs.h. */
67050 #include <math.h>
67051 int
67052 main ()
67053 {
67054 _ldexpf(0, 0);
67055 ;
67056 return 0;
67057 }
67058 _ACEOF
67059 if ac_fn_cxx_try_compile "$LINENO"; then :
67060 glibcxx_cv_func__ldexpf_use=yes
67061 else
67062 glibcxx_cv_func__ldexpf_use=no
67063 fi
67064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67065 ac_ext=c
67066 ac_cpp='$CPP $CPPFLAGS'
67067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67070
67071
67072 fi
67073
67074 fi
67075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67076 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67077
67078 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67079 for ac_func in _ldexpf
67080 do :
67081 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67082 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67083 cat >>confdefs.h <<_ACEOF
67084 #define HAVE__LDEXPF 1
67085 _ACEOF
67086
67087 fi
67088 done
67089
67090 fi
67091 fi
67092
67093
67094
67095
67096
67097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67098 $as_echo_n "checking for logf declaration... " >&6; }
67099 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67100 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67101 $as_echo_n "(cached) " >&6
67102 else
67103
67104
67105 ac_ext=cpp
67106 ac_cpp='$CXXCPP $CPPFLAGS'
67107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67110
67111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67112 /* end confdefs.h. */
67113 #include <math.h>
67114 #ifdef HAVE_IEEEFP_H
67115 #include <ieeefp.h>
67116 #endif
67117
67118 int
67119 main ()
67120 {
67121 logf(0);
67122 ;
67123 return 0;
67124 }
67125 _ACEOF
67126 if ac_fn_cxx_try_compile "$LINENO"; then :
67127 glibcxx_cv_func_logf_use=yes
67128 else
67129 glibcxx_cv_func_logf_use=no
67130 fi
67131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67132 ac_ext=c
67133 ac_cpp='$CPP $CPPFLAGS'
67134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67137
67138
67139 fi
67140
67141 fi
67142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67143 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67144
67145 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67146 for ac_func in logf
67147 do :
67148 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67149 if test "x$ac_cv_func_logf" = x""yes; then :
67150 cat >>confdefs.h <<_ACEOF
67151 #define HAVE_LOGF 1
67152 _ACEOF
67153
67154 fi
67155 done
67156
67157 else
67158
67159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67160 $as_echo_n "checking for _logf declaration... " >&6; }
67161 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67162 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67163 $as_echo_n "(cached) " >&6
67164 else
67165
67166
67167 ac_ext=cpp
67168 ac_cpp='$CXXCPP $CPPFLAGS'
67169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67172
67173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67174 /* end confdefs.h. */
67175 #include <math.h>
67176 #ifdef HAVE_IEEEFP_H
67177 #include <ieeefp.h>
67178 #endif
67179
67180 int
67181 main ()
67182 {
67183 _logf(0);
67184 ;
67185 return 0;
67186 }
67187 _ACEOF
67188 if ac_fn_cxx_try_compile "$LINENO"; then :
67189 glibcxx_cv_func__logf_use=yes
67190 else
67191 glibcxx_cv_func__logf_use=no
67192 fi
67193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67194 ac_ext=c
67195 ac_cpp='$CPP $CPPFLAGS'
67196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67199
67200
67201 fi
67202
67203 fi
67204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67205 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67206
67207 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67208 for ac_func in _logf
67209 do :
67210 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67211 if test "x$ac_cv_func__logf" = x""yes; then :
67212 cat >>confdefs.h <<_ACEOF
67213 #define HAVE__LOGF 1
67214 _ACEOF
67215
67216 fi
67217 done
67218
67219 fi
67220 fi
67221
67222
67223
67224
67225
67226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67227 $as_echo_n "checking for log10f declaration... " >&6; }
67228 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67229 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67230 $as_echo_n "(cached) " >&6
67231 else
67232
67233
67234 ac_ext=cpp
67235 ac_cpp='$CXXCPP $CPPFLAGS'
67236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67239
67240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67241 /* end confdefs.h. */
67242 #include <math.h>
67243 #ifdef HAVE_IEEEFP_H
67244 #include <ieeefp.h>
67245 #endif
67246
67247 int
67248 main ()
67249 {
67250 log10f(0);
67251 ;
67252 return 0;
67253 }
67254 _ACEOF
67255 if ac_fn_cxx_try_compile "$LINENO"; then :
67256 glibcxx_cv_func_log10f_use=yes
67257 else
67258 glibcxx_cv_func_log10f_use=no
67259 fi
67260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67261 ac_ext=c
67262 ac_cpp='$CPP $CPPFLAGS'
67263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67266
67267
67268 fi
67269
67270 fi
67271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67272 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67273
67274 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67275 for ac_func in log10f
67276 do :
67277 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67278 if test "x$ac_cv_func_log10f" = x""yes; then :
67279 cat >>confdefs.h <<_ACEOF
67280 #define HAVE_LOG10F 1
67281 _ACEOF
67282
67283 fi
67284 done
67285
67286 else
67287
67288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67289 $as_echo_n "checking for _log10f declaration... " >&6; }
67290 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67291 if test "${glibcxx_cv_func__log10f_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 #ifdef HAVE_IEEEFP_H
67306 #include <ieeefp.h>
67307 #endif
67308
67309 int
67310 main ()
67311 {
67312 _log10f(0);
67313 ;
67314 return 0;
67315 }
67316 _ACEOF
67317 if ac_fn_cxx_try_compile "$LINENO"; then :
67318 glibcxx_cv_func__log10f_use=yes
67319 else
67320 glibcxx_cv_func__log10f_use=no
67321 fi
67322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67323 ac_ext=c
67324 ac_cpp='$CPP $CPPFLAGS'
67325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67328
67329
67330 fi
67331
67332 fi
67333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67334 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67335
67336 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67337 for ac_func in _log10f
67338 do :
67339 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67340 if test "x$ac_cv_func__log10f" = x""yes; then :
67341 cat >>confdefs.h <<_ACEOF
67342 #define HAVE__LOG10F 1
67343 _ACEOF
67344
67345 fi
67346 done
67347
67348 fi
67349 fi
67350
67351
67352
67353
67354
67355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67356 $as_echo_n "checking for modff declaration... " >&6; }
67357 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67358 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67359 $as_echo_n "(cached) " >&6
67360 else
67361
67362
67363 ac_ext=cpp
67364 ac_cpp='$CXXCPP $CPPFLAGS'
67365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67368
67369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67370 /* end confdefs.h. */
67371 #include <math.h>
67372 int
67373 main ()
67374 {
67375 modff(0, 0);
67376 ;
67377 return 0;
67378 }
67379 _ACEOF
67380 if ac_fn_cxx_try_compile "$LINENO"; then :
67381 glibcxx_cv_func_modff_use=yes
67382 else
67383 glibcxx_cv_func_modff_use=no
67384 fi
67385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67386 ac_ext=c
67387 ac_cpp='$CPP $CPPFLAGS'
67388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67391
67392
67393 fi
67394
67395 fi
67396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67397 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67398
67399 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67400 for ac_func in modff
67401 do :
67402 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67403 if test "x$ac_cv_func_modff" = x""yes; then :
67404 cat >>confdefs.h <<_ACEOF
67405 #define HAVE_MODFF 1
67406 _ACEOF
67407
67408 fi
67409 done
67410
67411 else
67412
67413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67414 $as_echo_n "checking for _modff declaration... " >&6; }
67415 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67416 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67417 $as_echo_n "(cached) " >&6
67418 else
67419
67420
67421 ac_ext=cpp
67422 ac_cpp='$CXXCPP $CPPFLAGS'
67423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67426
67427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67428 /* end confdefs.h. */
67429 #include <math.h>
67430 int
67431 main ()
67432 {
67433 _modff(0, 0);
67434 ;
67435 return 0;
67436 }
67437 _ACEOF
67438 if ac_fn_cxx_try_compile "$LINENO"; then :
67439 glibcxx_cv_func__modff_use=yes
67440 else
67441 glibcxx_cv_func__modff_use=no
67442 fi
67443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67444 ac_ext=c
67445 ac_cpp='$CPP $CPPFLAGS'
67446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67449
67450
67451 fi
67452
67453 fi
67454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67455 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67456
67457 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67458 for ac_func in _modff
67459 do :
67460 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67461 if test "x$ac_cv_func__modff" = x""yes; then :
67462 cat >>confdefs.h <<_ACEOF
67463 #define HAVE__MODFF 1
67464 _ACEOF
67465
67466 fi
67467 done
67468
67469 fi
67470 fi
67471
67472
67473
67474
67475
67476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67477 $as_echo_n "checking for modf declaration... " >&6; }
67478 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67479 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67480 $as_echo_n "(cached) " >&6
67481 else
67482
67483
67484 ac_ext=cpp
67485 ac_cpp='$CXXCPP $CPPFLAGS'
67486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67489
67490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67491 /* end confdefs.h. */
67492 #include <math.h>
67493 int
67494 main ()
67495 {
67496 modf(0, 0);
67497 ;
67498 return 0;
67499 }
67500 _ACEOF
67501 if ac_fn_cxx_try_compile "$LINENO"; then :
67502 glibcxx_cv_func_modf_use=yes
67503 else
67504 glibcxx_cv_func_modf_use=no
67505 fi
67506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67507 ac_ext=c
67508 ac_cpp='$CPP $CPPFLAGS'
67509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67512
67513
67514 fi
67515
67516 fi
67517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
67518 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
67519
67520 if test x$glibcxx_cv_func_modf_use = x"yes"; then
67521 for ac_func in modf
67522 do :
67523 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
67524 if test "x$ac_cv_func_modf" = x""yes; then :
67525 cat >>confdefs.h <<_ACEOF
67526 #define HAVE_MODF 1
67527 _ACEOF
67528
67529 fi
67530 done
67531
67532 else
67533
67534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
67535 $as_echo_n "checking for _modf declaration... " >&6; }
67536 if test x${glibcxx_cv_func__modf_use+set} != xset; then
67537 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
67538 $as_echo_n "(cached) " >&6
67539 else
67540
67541
67542 ac_ext=cpp
67543 ac_cpp='$CXXCPP $CPPFLAGS'
67544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67547
67548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67549 /* end confdefs.h. */
67550 #include <math.h>
67551 int
67552 main ()
67553 {
67554 _modf(0, 0);
67555 ;
67556 return 0;
67557 }
67558 _ACEOF
67559 if ac_fn_cxx_try_compile "$LINENO"; then :
67560 glibcxx_cv_func__modf_use=yes
67561 else
67562 glibcxx_cv_func__modf_use=no
67563 fi
67564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67565 ac_ext=c
67566 ac_cpp='$CPP $CPPFLAGS'
67567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67570
67571
67572 fi
67573
67574 fi
67575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
67576 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
67577
67578 if test x$glibcxx_cv_func__modf_use = x"yes"; then
67579 for ac_func in _modf
67580 do :
67581 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
67582 if test "x$ac_cv_func__modf" = x""yes; then :
67583 cat >>confdefs.h <<_ACEOF
67584 #define HAVE__MODF 1
67585 _ACEOF
67586
67587 fi
67588 done
67589
67590 fi
67591 fi
67592
67593
67594
67595
67596
67597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
67598 $as_echo_n "checking for powf declaration... " >&6; }
67599 if test x${glibcxx_cv_func_powf_use+set} != xset; then
67600 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
67601 $as_echo_n "(cached) " >&6
67602 else
67603
67604
67605 ac_ext=cpp
67606 ac_cpp='$CXXCPP $CPPFLAGS'
67607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67610
67611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67612 /* end confdefs.h. */
67613 #include <math.h>
67614 int
67615 main ()
67616 {
67617 powf(0, 0);
67618 ;
67619 return 0;
67620 }
67621 _ACEOF
67622 if ac_fn_cxx_try_compile "$LINENO"; then :
67623 glibcxx_cv_func_powf_use=yes
67624 else
67625 glibcxx_cv_func_powf_use=no
67626 fi
67627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67628 ac_ext=c
67629 ac_cpp='$CPP $CPPFLAGS'
67630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67633
67634
67635 fi
67636
67637 fi
67638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
67639 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
67640
67641 if test x$glibcxx_cv_func_powf_use = x"yes"; then
67642 for ac_func in powf
67643 do :
67644 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
67645 if test "x$ac_cv_func_powf" = x""yes; then :
67646 cat >>confdefs.h <<_ACEOF
67647 #define HAVE_POWF 1
67648 _ACEOF
67649
67650 fi
67651 done
67652
67653 else
67654
67655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
67656 $as_echo_n "checking for _powf declaration... " >&6; }
67657 if test x${glibcxx_cv_func__powf_use+set} != xset; then
67658 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
67659 $as_echo_n "(cached) " >&6
67660 else
67661
67662
67663 ac_ext=cpp
67664 ac_cpp='$CXXCPP $CPPFLAGS'
67665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67668
67669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67670 /* end confdefs.h. */
67671 #include <math.h>
67672 int
67673 main ()
67674 {
67675 _powf(0, 0);
67676 ;
67677 return 0;
67678 }
67679 _ACEOF
67680 if ac_fn_cxx_try_compile "$LINENO"; then :
67681 glibcxx_cv_func__powf_use=yes
67682 else
67683 glibcxx_cv_func__powf_use=no
67684 fi
67685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67686 ac_ext=c
67687 ac_cpp='$CPP $CPPFLAGS'
67688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67691
67692
67693 fi
67694
67695 fi
67696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
67697 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
67698
67699 if test x$glibcxx_cv_func__powf_use = x"yes"; then
67700 for ac_func in _powf
67701 do :
67702 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
67703 if test "x$ac_cv_func__powf" = x""yes; then :
67704 cat >>confdefs.h <<_ACEOF
67705 #define HAVE__POWF 1
67706 _ACEOF
67707
67708 fi
67709 done
67710
67711 fi
67712 fi
67713
67714
67715
67716
67717
67718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
67719 $as_echo_n "checking for sqrtf declaration... " >&6; }
67720 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
67721 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
67722 $as_echo_n "(cached) " >&6
67723 else
67724
67725
67726 ac_ext=cpp
67727 ac_cpp='$CXXCPP $CPPFLAGS'
67728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67731
67732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67733 /* end confdefs.h. */
67734 #include <math.h>
67735 #ifdef HAVE_IEEEFP_H
67736 #include <ieeefp.h>
67737 #endif
67738
67739 int
67740 main ()
67741 {
67742 sqrtf(0);
67743 ;
67744 return 0;
67745 }
67746 _ACEOF
67747 if ac_fn_cxx_try_compile "$LINENO"; then :
67748 glibcxx_cv_func_sqrtf_use=yes
67749 else
67750 glibcxx_cv_func_sqrtf_use=no
67751 fi
67752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67753 ac_ext=c
67754 ac_cpp='$CPP $CPPFLAGS'
67755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67758
67759
67760 fi
67761
67762 fi
67763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
67764 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
67765
67766 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
67767 for ac_func in sqrtf
67768 do :
67769 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
67770 if test "x$ac_cv_func_sqrtf" = x""yes; then :
67771 cat >>confdefs.h <<_ACEOF
67772 #define HAVE_SQRTF 1
67773 _ACEOF
67774
67775 fi
67776 done
67777
67778 else
67779
67780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
67781 $as_echo_n "checking for _sqrtf declaration... " >&6; }
67782 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
67783 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
67784 $as_echo_n "(cached) " >&6
67785 else
67786
67787
67788 ac_ext=cpp
67789 ac_cpp='$CXXCPP $CPPFLAGS'
67790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67793
67794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67795 /* end confdefs.h. */
67796 #include <math.h>
67797 #ifdef HAVE_IEEEFP_H
67798 #include <ieeefp.h>
67799 #endif
67800
67801 int
67802 main ()
67803 {
67804 _sqrtf(0);
67805 ;
67806 return 0;
67807 }
67808 _ACEOF
67809 if ac_fn_cxx_try_compile "$LINENO"; then :
67810 glibcxx_cv_func__sqrtf_use=yes
67811 else
67812 glibcxx_cv_func__sqrtf_use=no
67813 fi
67814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67815 ac_ext=c
67816 ac_cpp='$CPP $CPPFLAGS'
67817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67820
67821
67822 fi
67823
67824 fi
67825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
67826 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
67827
67828 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
67829 for ac_func in _sqrtf
67830 do :
67831 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
67832 if test "x$ac_cv_func__sqrtf" = x""yes; then :
67833 cat >>confdefs.h <<_ACEOF
67834 #define HAVE__SQRTF 1
67835 _ACEOF
67836
67837 fi
67838 done
67839
67840 fi
67841 fi
67842
67843
67844
67845
67846
67847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
67848 $as_echo_n "checking for sincosf declaration... " >&6; }
67849 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
67850 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
67851 $as_echo_n "(cached) " >&6
67852 else
67853
67854
67855 ac_ext=cpp
67856 ac_cpp='$CXXCPP $CPPFLAGS'
67857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67860
67861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67862 /* end confdefs.h. */
67863 #include <math.h>
67864 int
67865 main ()
67866 {
67867 sincosf(0, 0, 0);
67868 ;
67869 return 0;
67870 }
67871 _ACEOF
67872 if ac_fn_cxx_try_compile "$LINENO"; then :
67873 glibcxx_cv_func_sincosf_use=yes
67874 else
67875 glibcxx_cv_func_sincosf_use=no
67876 fi
67877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67878 ac_ext=c
67879 ac_cpp='$CPP $CPPFLAGS'
67880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67883
67884
67885 fi
67886
67887 fi
67888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
67889 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
67890
67891 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
67892 for ac_func in sincosf
67893 do :
67894 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
67895 if test "x$ac_cv_func_sincosf" = x""yes; then :
67896 cat >>confdefs.h <<_ACEOF
67897 #define HAVE_SINCOSF 1
67898 _ACEOF
67899
67900 fi
67901 done
67902
67903 else
67904
67905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
67906 $as_echo_n "checking for _sincosf declaration... " >&6; }
67907 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
67908 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
67909 $as_echo_n "(cached) " >&6
67910 else
67911
67912
67913 ac_ext=cpp
67914 ac_cpp='$CXXCPP $CPPFLAGS'
67915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67918
67919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67920 /* end confdefs.h. */
67921 #include <math.h>
67922 int
67923 main ()
67924 {
67925 _sincosf(0, 0, 0);
67926 ;
67927 return 0;
67928 }
67929 _ACEOF
67930 if ac_fn_cxx_try_compile "$LINENO"; then :
67931 glibcxx_cv_func__sincosf_use=yes
67932 else
67933 glibcxx_cv_func__sincosf_use=no
67934 fi
67935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67936 ac_ext=c
67937 ac_cpp='$CPP $CPPFLAGS'
67938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67941
67942
67943 fi
67944
67945 fi
67946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
67947 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
67948
67949 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
67950 for ac_func in _sincosf
67951 do :
67952 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
67953 if test "x$ac_cv_func__sincosf" = x""yes; then :
67954 cat >>confdefs.h <<_ACEOF
67955 #define HAVE__SINCOSF 1
67956 _ACEOF
67957
67958 fi
67959 done
67960
67961 fi
67962 fi
67963
67964
67965
67966
67967
67968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
67969 $as_echo_n "checking for finitef declaration... " >&6; }
67970 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
67971 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
67972 $as_echo_n "(cached) " >&6
67973 else
67974
67975
67976 ac_ext=cpp
67977 ac_cpp='$CXXCPP $CPPFLAGS'
67978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67981
67982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67983 /* end confdefs.h. */
67984 #include <math.h>
67985 #ifdef HAVE_IEEEFP_H
67986 #include <ieeefp.h>
67987 #endif
67988
67989 int
67990 main ()
67991 {
67992 finitef(0);
67993 ;
67994 return 0;
67995 }
67996 _ACEOF
67997 if ac_fn_cxx_try_compile "$LINENO"; then :
67998 glibcxx_cv_func_finitef_use=yes
67999 else
68000 glibcxx_cv_func_finitef_use=no
68001 fi
68002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68003 ac_ext=c
68004 ac_cpp='$CPP $CPPFLAGS'
68005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68008
68009
68010 fi
68011
68012 fi
68013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68014 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68015
68016 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68017 for ac_func in finitef
68018 do :
68019 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68020 if test "x$ac_cv_func_finitef" = x""yes; then :
68021 cat >>confdefs.h <<_ACEOF
68022 #define HAVE_FINITEF 1
68023 _ACEOF
68024
68025 fi
68026 done
68027
68028 else
68029
68030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68031 $as_echo_n "checking for _finitef declaration... " >&6; }
68032 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68033 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68034 $as_echo_n "(cached) " >&6
68035 else
68036
68037
68038 ac_ext=cpp
68039 ac_cpp='$CXXCPP $CPPFLAGS'
68040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68043
68044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68045 /* end confdefs.h. */
68046 #include <math.h>
68047 #ifdef HAVE_IEEEFP_H
68048 #include <ieeefp.h>
68049 #endif
68050
68051 int
68052 main ()
68053 {
68054 _finitef(0);
68055 ;
68056 return 0;
68057 }
68058 _ACEOF
68059 if ac_fn_cxx_try_compile "$LINENO"; then :
68060 glibcxx_cv_func__finitef_use=yes
68061 else
68062 glibcxx_cv_func__finitef_use=no
68063 fi
68064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68065 ac_ext=c
68066 ac_cpp='$CPP $CPPFLAGS'
68067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68070
68071
68072 fi
68073
68074 fi
68075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68076 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68077
68078 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68079 for ac_func in _finitef
68080 do :
68081 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68082 if test "x$ac_cv_func__finitef" = x""yes; then :
68083 cat >>confdefs.h <<_ACEOF
68084 #define HAVE__FINITEF 1
68085 _ACEOF
68086
68087 fi
68088 done
68089
68090 fi
68091 fi
68092
68093
68094
68095
68096
68097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68098 $as_echo_n "checking for long double trig functions... " >&6; }
68099 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68100 $as_echo_n "(cached) " >&6
68101 else
68102
68103
68104 ac_ext=cpp
68105 ac_cpp='$CXXCPP $CPPFLAGS'
68106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68109
68110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68111 /* end confdefs.h. */
68112 #include <math.h>
68113 int
68114 main ()
68115 {
68116 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68117 ;
68118 return 0;
68119 }
68120 _ACEOF
68121 if ac_fn_cxx_try_compile "$LINENO"; then :
68122 glibcxx_cv_func_long_double_trig_use=yes
68123 else
68124 glibcxx_cv_func_long_double_trig_use=no
68125 fi
68126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68127 ac_ext=c
68128 ac_cpp='$CPP $CPPFLAGS'
68129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68132
68133 fi
68134
68135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68136 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68137 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68138 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68139 do :
68140 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68141 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68142 eval as_val=\$$as_ac_var
68143 if test "x$as_val" = x""yes; then :
68144 cat >>confdefs.h <<_ACEOF
68145 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68146 _ACEOF
68147
68148 fi
68149 done
68150
68151 else
68152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68153 $as_echo_n "checking for _long double trig functions... " >&6; }
68154 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68155 $as_echo_n "(cached) " >&6
68156 else
68157
68158
68159 ac_ext=cpp
68160 ac_cpp='$CXXCPP $CPPFLAGS'
68161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68164
68165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68166 /* end confdefs.h. */
68167 #include <math.h>
68168 int
68169 main ()
68170 {
68171 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68172 ;
68173 return 0;
68174 }
68175 _ACEOF
68176 if ac_fn_cxx_try_compile "$LINENO"; then :
68177 glibcxx_cv_func__long_double_trig_use=yes
68178 else
68179 glibcxx_cv_func__long_double_trig_use=no
68180 fi
68181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68182 ac_ext=c
68183 ac_cpp='$CPP $CPPFLAGS'
68184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68187
68188 fi
68189
68190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68191 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68192 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68193 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68194 do :
68195 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68196 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68197 eval as_val=\$$as_ac_var
68198 if test "x$as_val" = x""yes; then :
68199 cat >>confdefs.h <<_ACEOF
68200 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68201 _ACEOF
68202
68203 fi
68204 done
68205
68206 fi
68207 fi
68208
68209
68210
68211
68212
68213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68214 $as_echo_n "checking for long double round functions... " >&6; }
68215 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68216 $as_echo_n "(cached) " >&6
68217 else
68218
68219
68220 ac_ext=cpp
68221 ac_cpp='$CXXCPP $CPPFLAGS'
68222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68225
68226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68227 /* end confdefs.h. */
68228 #include <math.h>
68229 int
68230 main ()
68231 {
68232 ceill (0); floorl (0);
68233 ;
68234 return 0;
68235 }
68236 _ACEOF
68237 if ac_fn_cxx_try_compile "$LINENO"; then :
68238 glibcxx_cv_func_long_double_round_use=yes
68239 else
68240 glibcxx_cv_func_long_double_round_use=no
68241 fi
68242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68243 ac_ext=c
68244 ac_cpp='$CPP $CPPFLAGS'
68245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68248
68249 fi
68250
68251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68252 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68253 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68254 for ac_func in ceill floorl
68255 do :
68256 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68257 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68258 eval as_val=\$$as_ac_var
68259 if test "x$as_val" = x""yes; then :
68260 cat >>confdefs.h <<_ACEOF
68261 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68262 _ACEOF
68263
68264 fi
68265 done
68266
68267 else
68268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68269 $as_echo_n "checking for _long double round functions... " >&6; }
68270 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68271 $as_echo_n "(cached) " >&6
68272 else
68273
68274
68275 ac_ext=cpp
68276 ac_cpp='$CXXCPP $CPPFLAGS'
68277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68280
68281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68282 /* end confdefs.h. */
68283 #include <math.h>
68284 int
68285 main ()
68286 {
68287 _ceill (0); _floorl (0);
68288 ;
68289 return 0;
68290 }
68291 _ACEOF
68292 if ac_fn_cxx_try_compile "$LINENO"; then :
68293 glibcxx_cv_func__long_double_round_use=yes
68294 else
68295 glibcxx_cv_func__long_double_round_use=no
68296 fi
68297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68298 ac_ext=c
68299 ac_cpp='$CPP $CPPFLAGS'
68300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68303
68304 fi
68305
68306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68307 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68308 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68309 for ac_func in _ceill _floorl
68310 do :
68311 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68312 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68313 eval as_val=\$$as_ac_var
68314 if test "x$as_val" = x""yes; then :
68315 cat >>confdefs.h <<_ACEOF
68316 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68317 _ACEOF
68318
68319 fi
68320 done
68321
68322 fi
68323 fi
68324
68325
68326
68327
68328
68329
68330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68331 $as_echo_n "checking for isnanl declaration... " >&6; }
68332 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68333 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68334 $as_echo_n "(cached) " >&6
68335 else
68336
68337
68338 ac_ext=cpp
68339 ac_cpp='$CXXCPP $CPPFLAGS'
68340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68343
68344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68345 /* end confdefs.h. */
68346 #include <math.h>
68347 #ifdef HAVE_IEEEFP_H
68348 #include <ieeefp.h>
68349 #endif
68350
68351 int
68352 main ()
68353 {
68354 isnanl(0);
68355 ;
68356 return 0;
68357 }
68358 _ACEOF
68359 if ac_fn_cxx_try_compile "$LINENO"; then :
68360 glibcxx_cv_func_isnanl_use=yes
68361 else
68362 glibcxx_cv_func_isnanl_use=no
68363 fi
68364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68365 ac_ext=c
68366 ac_cpp='$CPP $CPPFLAGS'
68367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68370
68371
68372 fi
68373
68374 fi
68375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68376 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68377
68378 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68379 for ac_func in isnanl
68380 do :
68381 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68382 if test "x$ac_cv_func_isnanl" = x""yes; then :
68383 cat >>confdefs.h <<_ACEOF
68384 #define HAVE_ISNANL 1
68385 _ACEOF
68386
68387 fi
68388 done
68389
68390 else
68391
68392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68393 $as_echo_n "checking for _isnanl declaration... " >&6; }
68394 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68395 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68396 $as_echo_n "(cached) " >&6
68397 else
68398
68399
68400 ac_ext=cpp
68401 ac_cpp='$CXXCPP $CPPFLAGS'
68402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68405
68406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68407 /* end confdefs.h. */
68408 #include <math.h>
68409 #ifdef HAVE_IEEEFP_H
68410 #include <ieeefp.h>
68411 #endif
68412
68413 int
68414 main ()
68415 {
68416 _isnanl(0);
68417 ;
68418 return 0;
68419 }
68420 _ACEOF
68421 if ac_fn_cxx_try_compile "$LINENO"; then :
68422 glibcxx_cv_func__isnanl_use=yes
68423 else
68424 glibcxx_cv_func__isnanl_use=no
68425 fi
68426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68427 ac_ext=c
68428 ac_cpp='$CPP $CPPFLAGS'
68429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68432
68433
68434 fi
68435
68436 fi
68437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68438 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68439
68440 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68441 for ac_func in _isnanl
68442 do :
68443 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68444 if test "x$ac_cv_func__isnanl" = x""yes; then :
68445 cat >>confdefs.h <<_ACEOF
68446 #define HAVE__ISNANL 1
68447 _ACEOF
68448
68449 fi
68450 done
68451
68452 fi
68453 fi
68454
68455
68456
68457
68458
68459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68460 $as_echo_n "checking for isinfl declaration... " >&6; }
68461 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68462 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68463 $as_echo_n "(cached) " >&6
68464 else
68465
68466
68467 ac_ext=cpp
68468 ac_cpp='$CXXCPP $CPPFLAGS'
68469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68472
68473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68474 /* end confdefs.h. */
68475 #include <math.h>
68476 #ifdef HAVE_IEEEFP_H
68477 #include <ieeefp.h>
68478 #endif
68479
68480 int
68481 main ()
68482 {
68483 isinfl(0);
68484 ;
68485 return 0;
68486 }
68487 _ACEOF
68488 if ac_fn_cxx_try_compile "$LINENO"; then :
68489 glibcxx_cv_func_isinfl_use=yes
68490 else
68491 glibcxx_cv_func_isinfl_use=no
68492 fi
68493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68494 ac_ext=c
68495 ac_cpp='$CPP $CPPFLAGS'
68496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68499
68500
68501 fi
68502
68503 fi
68504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68505 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68506
68507 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68508 for ac_func in isinfl
68509 do :
68510 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68511 if test "x$ac_cv_func_isinfl" = x""yes; then :
68512 cat >>confdefs.h <<_ACEOF
68513 #define HAVE_ISINFL 1
68514 _ACEOF
68515
68516 fi
68517 done
68518
68519 else
68520
68521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
68522 $as_echo_n "checking for _isinfl declaration... " >&6; }
68523 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68524 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
68525 $as_echo_n "(cached) " >&6
68526 else
68527
68528
68529 ac_ext=cpp
68530 ac_cpp='$CXXCPP $CPPFLAGS'
68531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68534
68535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68536 /* end confdefs.h. */
68537 #include <math.h>
68538 #ifdef HAVE_IEEEFP_H
68539 #include <ieeefp.h>
68540 #endif
68541
68542 int
68543 main ()
68544 {
68545 _isinfl(0);
68546 ;
68547 return 0;
68548 }
68549 _ACEOF
68550 if ac_fn_cxx_try_compile "$LINENO"; then :
68551 glibcxx_cv_func__isinfl_use=yes
68552 else
68553 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
68567 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
68568
68569 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
68570 for ac_func in _isinfl
68571 do :
68572 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
68573 if test "x$ac_cv_func__isinfl" = x""yes; then :
68574 cat >>confdefs.h <<_ACEOF
68575 #define HAVE__ISINFL 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 atan2l declaration" >&5
68589 $as_echo_n "checking for atan2l declaration... " >&6; }
68590 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
68591 if test "${glibcxx_cv_func_atan2l_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 int
68606 main ()
68607 {
68608 atan2l(0, 0);
68609 ;
68610 return 0;
68611 }
68612 _ACEOF
68613 if ac_fn_cxx_try_compile "$LINENO"; then :
68614 glibcxx_cv_func_atan2l_use=yes
68615 else
68616 glibcxx_cv_func_atan2l_use=no
68617 fi
68618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68619 ac_ext=c
68620 ac_cpp='$CPP $CPPFLAGS'
68621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68624
68625
68626 fi
68627
68628 fi
68629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
68630 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
68631
68632 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
68633 for ac_func in atan2l
68634 do :
68635 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
68636 if test "x$ac_cv_func_atan2l" = x""yes; then :
68637 cat >>confdefs.h <<_ACEOF
68638 #define HAVE_ATAN2L 1
68639 _ACEOF
68640
68641 fi
68642 done
68643
68644 else
68645
68646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
68647 $as_echo_n "checking for _atan2l declaration... " >&6; }
68648 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
68649 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
68650 $as_echo_n "(cached) " >&6
68651 else
68652
68653
68654 ac_ext=cpp
68655 ac_cpp='$CXXCPP $CPPFLAGS'
68656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68659
68660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68661 /* end confdefs.h. */
68662 #include <math.h>
68663 int
68664 main ()
68665 {
68666 _atan2l(0, 0);
68667 ;
68668 return 0;
68669 }
68670 _ACEOF
68671 if ac_fn_cxx_try_compile "$LINENO"; then :
68672 glibcxx_cv_func__atan2l_use=yes
68673 else
68674 glibcxx_cv_func__atan2l_use=no
68675 fi
68676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68677 ac_ext=c
68678 ac_cpp='$CPP $CPPFLAGS'
68679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68682
68683
68684 fi
68685
68686 fi
68687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
68688 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
68689
68690 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
68691 for ac_func in _atan2l
68692 do :
68693 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
68694 if test "x$ac_cv_func__atan2l" = x""yes; then :
68695 cat >>confdefs.h <<_ACEOF
68696 #define HAVE__ATAN2L 1
68697 _ACEOF
68698
68699 fi
68700 done
68701
68702 fi
68703 fi
68704
68705
68706
68707
68708
68709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
68710 $as_echo_n "checking for expl declaration... " >&6; }
68711 if test x${glibcxx_cv_func_expl_use+set} != xset; then
68712 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
68713 $as_echo_n "(cached) " >&6
68714 else
68715
68716
68717 ac_ext=cpp
68718 ac_cpp='$CXXCPP $CPPFLAGS'
68719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68722
68723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68724 /* end confdefs.h. */
68725 #include <math.h>
68726 #ifdef HAVE_IEEEFP_H
68727 #include <ieeefp.h>
68728 #endif
68729
68730 int
68731 main ()
68732 {
68733 expl(0);
68734 ;
68735 return 0;
68736 }
68737 _ACEOF
68738 if ac_fn_cxx_try_compile "$LINENO"; then :
68739 glibcxx_cv_func_expl_use=yes
68740 else
68741 glibcxx_cv_func_expl_use=no
68742 fi
68743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68744 ac_ext=c
68745 ac_cpp='$CPP $CPPFLAGS'
68746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68749
68750
68751 fi
68752
68753 fi
68754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
68755 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
68756
68757 if test x$glibcxx_cv_func_expl_use = x"yes"; then
68758 for ac_func in expl
68759 do :
68760 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
68761 if test "x$ac_cv_func_expl" = x""yes; then :
68762 cat >>confdefs.h <<_ACEOF
68763 #define HAVE_EXPL 1
68764 _ACEOF
68765
68766 fi
68767 done
68768
68769 else
68770
68771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
68772 $as_echo_n "checking for _expl declaration... " >&6; }
68773 if test x${glibcxx_cv_func__expl_use+set} != xset; then
68774 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
68775 $as_echo_n "(cached) " >&6
68776 else
68777
68778
68779 ac_ext=cpp
68780 ac_cpp='$CXXCPP $CPPFLAGS'
68781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68784
68785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68786 /* end confdefs.h. */
68787 #include <math.h>
68788 #ifdef HAVE_IEEEFP_H
68789 #include <ieeefp.h>
68790 #endif
68791
68792 int
68793 main ()
68794 {
68795 _expl(0);
68796 ;
68797 return 0;
68798 }
68799 _ACEOF
68800 if ac_fn_cxx_try_compile "$LINENO"; then :
68801 glibcxx_cv_func__expl_use=yes
68802 else
68803 glibcxx_cv_func__expl_use=no
68804 fi
68805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68806 ac_ext=c
68807 ac_cpp='$CPP $CPPFLAGS'
68808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68811
68812
68813 fi
68814
68815 fi
68816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
68817 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
68818
68819 if test x$glibcxx_cv_func__expl_use = x"yes"; then
68820 for ac_func in _expl
68821 do :
68822 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
68823 if test "x$ac_cv_func__expl" = x""yes; then :
68824 cat >>confdefs.h <<_ACEOF
68825 #define HAVE__EXPL 1
68826 _ACEOF
68827
68828 fi
68829 done
68830
68831 fi
68832 fi
68833
68834
68835
68836
68837
68838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
68839 $as_echo_n "checking for fabsl declaration... " >&6; }
68840 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
68841 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
68842 $as_echo_n "(cached) " >&6
68843 else
68844
68845
68846 ac_ext=cpp
68847 ac_cpp='$CXXCPP $CPPFLAGS'
68848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68851
68852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68853 /* end confdefs.h. */
68854 #include <math.h>
68855 #ifdef HAVE_IEEEFP_H
68856 #include <ieeefp.h>
68857 #endif
68858
68859 int
68860 main ()
68861 {
68862 fabsl(0);
68863 ;
68864 return 0;
68865 }
68866 _ACEOF
68867 if ac_fn_cxx_try_compile "$LINENO"; then :
68868 glibcxx_cv_func_fabsl_use=yes
68869 else
68870 glibcxx_cv_func_fabsl_use=no
68871 fi
68872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68873 ac_ext=c
68874 ac_cpp='$CPP $CPPFLAGS'
68875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68878
68879
68880 fi
68881
68882 fi
68883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
68884 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
68885
68886 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
68887 for ac_func in fabsl
68888 do :
68889 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
68890 if test "x$ac_cv_func_fabsl" = x""yes; then :
68891 cat >>confdefs.h <<_ACEOF
68892 #define HAVE_FABSL 1
68893 _ACEOF
68894
68895 fi
68896 done
68897
68898 else
68899
68900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
68901 $as_echo_n "checking for _fabsl declaration... " >&6; }
68902 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
68903 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
68904 $as_echo_n "(cached) " >&6
68905 else
68906
68907
68908 ac_ext=cpp
68909 ac_cpp='$CXXCPP $CPPFLAGS'
68910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68913
68914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68915 /* end confdefs.h. */
68916 #include <math.h>
68917 #ifdef HAVE_IEEEFP_H
68918 #include <ieeefp.h>
68919 #endif
68920
68921 int
68922 main ()
68923 {
68924 _fabsl(0);
68925 ;
68926 return 0;
68927 }
68928 _ACEOF
68929 if ac_fn_cxx_try_compile "$LINENO"; then :
68930 glibcxx_cv_func__fabsl_use=yes
68931 else
68932 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
68946 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
68947
68948 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
68949 for ac_func in _fabsl
68950 do :
68951 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
68952 if test "x$ac_cv_func__fabsl" = x""yes; then :
68953 cat >>confdefs.h <<_ACEOF
68954 #define HAVE__FABSL 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 fmodl declaration" >&5
68968 $as_echo_n "checking for fmodl declaration... " >&6; }
68969 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
68970 if test "${glibcxx_cv_func_fmodl_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 fmodl(0, 0);
68988 ;
68989 return 0;
68990 }
68991 _ACEOF
68992 if ac_fn_cxx_try_compile "$LINENO"; then :
68993 glibcxx_cv_func_fmodl_use=yes
68994 else
68995 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
69009 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69010
69011 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69012 for ac_func in fmodl
69013 do :
69014 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69015 if test "x$ac_cv_func_fmodl" = x""yes; then :
69016 cat >>confdefs.h <<_ACEOF
69017 #define HAVE_FMODL 1
69018 _ACEOF
69019
69020 fi
69021 done
69022
69023 else
69024
69025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69026 $as_echo_n "checking for _fmodl declaration... " >&6; }
69027 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69028 if test "${glibcxx_cv_func__fmodl_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 _fmodl(0, 0);
69046 ;
69047 return 0;
69048 }
69049 _ACEOF
69050 if ac_fn_cxx_try_compile "$LINENO"; then :
69051 glibcxx_cv_func__fmodl_use=yes
69052 else
69053 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
69067 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69068
69069 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69070 for ac_func in _fmodl
69071 do :
69072 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69073 if test "x$ac_cv_func__fmodl" = x""yes; then :
69074 cat >>confdefs.h <<_ACEOF
69075 #define HAVE__FMODL 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 frexpl declaration" >&5
69089 $as_echo_n "checking for frexpl declaration... " >&6; }
69090 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69091 if test "${glibcxx_cv_func_frexpl_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 int
69106 main ()
69107 {
69108 frexpl(0, 0);
69109 ;
69110 return 0;
69111 }
69112 _ACEOF
69113 if ac_fn_cxx_try_compile "$LINENO"; then :
69114 glibcxx_cv_func_frexpl_use=yes
69115 else
69116 glibcxx_cv_func_frexpl_use=no
69117 fi
69118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69119 ac_ext=c
69120 ac_cpp='$CPP $CPPFLAGS'
69121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69124
69125
69126 fi
69127
69128 fi
69129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69130 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69131
69132 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69133 for ac_func in frexpl
69134 do :
69135 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69136 if test "x$ac_cv_func_frexpl" = x""yes; then :
69137 cat >>confdefs.h <<_ACEOF
69138 #define HAVE_FREXPL 1
69139 _ACEOF
69140
69141 fi
69142 done
69143
69144 else
69145
69146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69147 $as_echo_n "checking for _frexpl declaration... " >&6; }
69148 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69149 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69150 $as_echo_n "(cached) " >&6
69151 else
69152
69153
69154 ac_ext=cpp
69155 ac_cpp='$CXXCPP $CPPFLAGS'
69156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69159
69160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69161 /* end confdefs.h. */
69162 #include <math.h>
69163 int
69164 main ()
69165 {
69166 _frexpl(0, 0);
69167 ;
69168 return 0;
69169 }
69170 _ACEOF
69171 if ac_fn_cxx_try_compile "$LINENO"; then :
69172 glibcxx_cv_func__frexpl_use=yes
69173 else
69174 glibcxx_cv_func__frexpl_use=no
69175 fi
69176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69177 ac_ext=c
69178 ac_cpp='$CPP $CPPFLAGS'
69179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69182
69183
69184 fi
69185
69186 fi
69187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69188 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69189
69190 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69191 for ac_func in _frexpl
69192 do :
69193 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69194 if test "x$ac_cv_func__frexpl" = x""yes; then :
69195 cat >>confdefs.h <<_ACEOF
69196 #define HAVE__FREXPL 1
69197 _ACEOF
69198
69199 fi
69200 done
69201
69202 fi
69203 fi
69204
69205
69206
69207
69208
69209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69210 $as_echo_n "checking for hypotl declaration... " >&6; }
69211 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69212 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69213 $as_echo_n "(cached) " >&6
69214 else
69215
69216
69217 ac_ext=cpp
69218 ac_cpp='$CXXCPP $CPPFLAGS'
69219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69222
69223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69224 /* end confdefs.h. */
69225 #include <math.h>
69226 int
69227 main ()
69228 {
69229 hypotl(0, 0);
69230 ;
69231 return 0;
69232 }
69233 _ACEOF
69234 if ac_fn_cxx_try_compile "$LINENO"; then :
69235 glibcxx_cv_func_hypotl_use=yes
69236 else
69237 glibcxx_cv_func_hypotl_use=no
69238 fi
69239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69240 ac_ext=c
69241 ac_cpp='$CPP $CPPFLAGS'
69242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69245
69246
69247 fi
69248
69249 fi
69250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69251 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69252
69253 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69254 for ac_func in hypotl
69255 do :
69256 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69257 if test "x$ac_cv_func_hypotl" = x""yes; then :
69258 cat >>confdefs.h <<_ACEOF
69259 #define HAVE_HYPOTL 1
69260 _ACEOF
69261
69262 fi
69263 done
69264
69265 else
69266
69267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69268 $as_echo_n "checking for _hypotl declaration... " >&6; }
69269 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69270 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69271 $as_echo_n "(cached) " >&6
69272 else
69273
69274
69275 ac_ext=cpp
69276 ac_cpp='$CXXCPP $CPPFLAGS'
69277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69280
69281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69282 /* end confdefs.h. */
69283 #include <math.h>
69284 int
69285 main ()
69286 {
69287 _hypotl(0, 0);
69288 ;
69289 return 0;
69290 }
69291 _ACEOF
69292 if ac_fn_cxx_try_compile "$LINENO"; then :
69293 glibcxx_cv_func__hypotl_use=yes
69294 else
69295 glibcxx_cv_func__hypotl_use=no
69296 fi
69297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69298 ac_ext=c
69299 ac_cpp='$CPP $CPPFLAGS'
69300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69303
69304
69305 fi
69306
69307 fi
69308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69309 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69310
69311 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69312 for ac_func in _hypotl
69313 do :
69314 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69315 if test "x$ac_cv_func__hypotl" = x""yes; then :
69316 cat >>confdefs.h <<_ACEOF
69317 #define HAVE__HYPOTL 1
69318 _ACEOF
69319
69320 fi
69321 done
69322
69323 fi
69324 fi
69325
69326
69327
69328
69329
69330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69331 $as_echo_n "checking for ldexpl declaration... " >&6; }
69332 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69333 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69334 $as_echo_n "(cached) " >&6
69335 else
69336
69337
69338 ac_ext=cpp
69339 ac_cpp='$CXXCPP $CPPFLAGS'
69340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69343
69344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69345 /* end confdefs.h. */
69346 #include <math.h>
69347 int
69348 main ()
69349 {
69350 ldexpl(0, 0);
69351 ;
69352 return 0;
69353 }
69354 _ACEOF
69355 if ac_fn_cxx_try_compile "$LINENO"; then :
69356 glibcxx_cv_func_ldexpl_use=yes
69357 else
69358 glibcxx_cv_func_ldexpl_use=no
69359 fi
69360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69361 ac_ext=c
69362 ac_cpp='$CPP $CPPFLAGS'
69363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69366
69367
69368 fi
69369
69370 fi
69371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69372 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69373
69374 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69375 for ac_func in ldexpl
69376 do :
69377 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69378 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69379 cat >>confdefs.h <<_ACEOF
69380 #define HAVE_LDEXPL 1
69381 _ACEOF
69382
69383 fi
69384 done
69385
69386 else
69387
69388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69389 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69390 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69391 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69392 $as_echo_n "(cached) " >&6
69393 else
69394
69395
69396 ac_ext=cpp
69397 ac_cpp='$CXXCPP $CPPFLAGS'
69398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69401
69402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69403 /* end confdefs.h. */
69404 #include <math.h>
69405 int
69406 main ()
69407 {
69408 _ldexpl(0, 0);
69409 ;
69410 return 0;
69411 }
69412 _ACEOF
69413 if ac_fn_cxx_try_compile "$LINENO"; then :
69414 glibcxx_cv_func__ldexpl_use=yes
69415 else
69416 glibcxx_cv_func__ldexpl_use=no
69417 fi
69418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69419 ac_ext=c
69420 ac_cpp='$CPP $CPPFLAGS'
69421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69424
69425
69426 fi
69427
69428 fi
69429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69430 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69431
69432 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69433 for ac_func in _ldexpl
69434 do :
69435 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69436 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69437 cat >>confdefs.h <<_ACEOF
69438 #define HAVE__LDEXPL 1
69439 _ACEOF
69440
69441 fi
69442 done
69443
69444 fi
69445 fi
69446
69447
69448
69449
69450
69451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69452 $as_echo_n "checking for logl declaration... " >&6; }
69453 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69454 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69455 $as_echo_n "(cached) " >&6
69456 else
69457
69458
69459 ac_ext=cpp
69460 ac_cpp='$CXXCPP $CPPFLAGS'
69461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69464
69465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69466 /* end confdefs.h. */
69467 #include <math.h>
69468 #ifdef HAVE_IEEEFP_H
69469 #include <ieeefp.h>
69470 #endif
69471
69472 int
69473 main ()
69474 {
69475 logl(0);
69476 ;
69477 return 0;
69478 }
69479 _ACEOF
69480 if ac_fn_cxx_try_compile "$LINENO"; then :
69481 glibcxx_cv_func_logl_use=yes
69482 else
69483 glibcxx_cv_func_logl_use=no
69484 fi
69485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69486 ac_ext=c
69487 ac_cpp='$CPP $CPPFLAGS'
69488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69491
69492
69493 fi
69494
69495 fi
69496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69497 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69498
69499 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69500 for ac_func in logl
69501 do :
69502 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69503 if test "x$ac_cv_func_logl" = x""yes; then :
69504 cat >>confdefs.h <<_ACEOF
69505 #define HAVE_LOGL 1
69506 _ACEOF
69507
69508 fi
69509 done
69510
69511 else
69512
69513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
69514 $as_echo_n "checking for _logl declaration... " >&6; }
69515 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69516 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
69517 $as_echo_n "(cached) " >&6
69518 else
69519
69520
69521 ac_ext=cpp
69522 ac_cpp='$CXXCPP $CPPFLAGS'
69523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69526
69527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69528 /* end confdefs.h. */
69529 #include <math.h>
69530 #ifdef HAVE_IEEEFP_H
69531 #include <ieeefp.h>
69532 #endif
69533
69534 int
69535 main ()
69536 {
69537 _logl(0);
69538 ;
69539 return 0;
69540 }
69541 _ACEOF
69542 if ac_fn_cxx_try_compile "$LINENO"; then :
69543 glibcxx_cv_func__logl_use=yes
69544 else
69545 glibcxx_cv_func__logl_use=no
69546 fi
69547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69548 ac_ext=c
69549 ac_cpp='$CPP $CPPFLAGS'
69550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69553
69554
69555 fi
69556
69557 fi
69558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
69559 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
69560
69561 if test x$glibcxx_cv_func__logl_use = x"yes"; then
69562 for ac_func in _logl
69563 do :
69564 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
69565 if test "x$ac_cv_func__logl" = x""yes; then :
69566 cat >>confdefs.h <<_ACEOF
69567 #define HAVE__LOGL 1
69568 _ACEOF
69569
69570 fi
69571 done
69572
69573 fi
69574 fi
69575
69576
69577
69578
69579
69580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
69581 $as_echo_n "checking for log10l declaration... " >&6; }
69582 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69583 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
69584 $as_echo_n "(cached) " >&6
69585 else
69586
69587
69588 ac_ext=cpp
69589 ac_cpp='$CXXCPP $CPPFLAGS'
69590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69593
69594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69595 /* end confdefs.h. */
69596 #include <math.h>
69597 #ifdef HAVE_IEEEFP_H
69598 #include <ieeefp.h>
69599 #endif
69600
69601 int
69602 main ()
69603 {
69604 log10l(0);
69605 ;
69606 return 0;
69607 }
69608 _ACEOF
69609 if ac_fn_cxx_try_compile "$LINENO"; then :
69610 glibcxx_cv_func_log10l_use=yes
69611 else
69612 glibcxx_cv_func_log10l_use=no
69613 fi
69614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69615 ac_ext=c
69616 ac_cpp='$CPP $CPPFLAGS'
69617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69620
69621
69622 fi
69623
69624 fi
69625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
69626 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
69627
69628 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69629 for ac_func in log10l
69630 do :
69631 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
69632 if test "x$ac_cv_func_log10l" = x""yes; then :
69633 cat >>confdefs.h <<_ACEOF
69634 #define HAVE_LOG10L 1
69635 _ACEOF
69636
69637 fi
69638 done
69639
69640 else
69641
69642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
69643 $as_echo_n "checking for _log10l declaration... " >&6; }
69644 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69645 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
69646 $as_echo_n "(cached) " >&6
69647 else
69648
69649
69650 ac_ext=cpp
69651 ac_cpp='$CXXCPP $CPPFLAGS'
69652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69655
69656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69657 /* end confdefs.h. */
69658 #include <math.h>
69659 #ifdef HAVE_IEEEFP_H
69660 #include <ieeefp.h>
69661 #endif
69662
69663 int
69664 main ()
69665 {
69666 _log10l(0);
69667 ;
69668 return 0;
69669 }
69670 _ACEOF
69671 if ac_fn_cxx_try_compile "$LINENO"; then :
69672 glibcxx_cv_func__log10l_use=yes
69673 else
69674 glibcxx_cv_func__log10l_use=no
69675 fi
69676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69677 ac_ext=c
69678 ac_cpp='$CPP $CPPFLAGS'
69679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69682
69683
69684 fi
69685
69686 fi
69687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
69688 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
69689
69690 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69691 for ac_func in _log10l
69692 do :
69693 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
69694 if test "x$ac_cv_func__log10l" = x""yes; then :
69695 cat >>confdefs.h <<_ACEOF
69696 #define HAVE__LOG10L 1
69697 _ACEOF
69698
69699 fi
69700 done
69701
69702 fi
69703 fi
69704
69705
69706
69707
69708
69709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
69710 $as_echo_n "checking for modfl declaration... " >&6; }
69711 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69712 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
69713 $as_echo_n "(cached) " >&6
69714 else
69715
69716
69717 ac_ext=cpp
69718 ac_cpp='$CXXCPP $CPPFLAGS'
69719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69722
69723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69724 /* end confdefs.h. */
69725 #include <math.h>
69726 int
69727 main ()
69728 {
69729 modfl(0, 0);
69730 ;
69731 return 0;
69732 }
69733 _ACEOF
69734 if ac_fn_cxx_try_compile "$LINENO"; then :
69735 glibcxx_cv_func_modfl_use=yes
69736 else
69737 glibcxx_cv_func_modfl_use=no
69738 fi
69739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69740 ac_ext=c
69741 ac_cpp='$CPP $CPPFLAGS'
69742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69745
69746
69747 fi
69748
69749 fi
69750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
69751 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
69752
69753 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69754 for ac_func in modfl
69755 do :
69756 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
69757 if test "x$ac_cv_func_modfl" = x""yes; then :
69758 cat >>confdefs.h <<_ACEOF
69759 #define HAVE_MODFL 1
69760 _ACEOF
69761
69762 fi
69763 done
69764
69765 else
69766
69767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
69768 $as_echo_n "checking for _modfl declaration... " >&6; }
69769 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
69770 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
69771 $as_echo_n "(cached) " >&6
69772 else
69773
69774
69775 ac_ext=cpp
69776 ac_cpp='$CXXCPP $CPPFLAGS'
69777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69780
69781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69782 /* end confdefs.h. */
69783 #include <math.h>
69784 int
69785 main ()
69786 {
69787 _modfl(0, 0);
69788 ;
69789 return 0;
69790 }
69791 _ACEOF
69792 if ac_fn_cxx_try_compile "$LINENO"; then :
69793 glibcxx_cv_func__modfl_use=yes
69794 else
69795 glibcxx_cv_func__modfl_use=no
69796 fi
69797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69798 ac_ext=c
69799 ac_cpp='$CPP $CPPFLAGS'
69800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69803
69804
69805 fi
69806
69807 fi
69808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
69809 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
69810
69811 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
69812 for ac_func in _modfl
69813 do :
69814 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
69815 if test "x$ac_cv_func__modfl" = x""yes; then :
69816 cat >>confdefs.h <<_ACEOF
69817 #define HAVE__MODFL 1
69818 _ACEOF
69819
69820 fi
69821 done
69822
69823 fi
69824 fi
69825
69826
69827
69828
69829
69830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
69831 $as_echo_n "checking for powl declaration... " >&6; }
69832 if test x${glibcxx_cv_func_powl_use+set} != xset; then
69833 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
69834 $as_echo_n "(cached) " >&6
69835 else
69836
69837
69838 ac_ext=cpp
69839 ac_cpp='$CXXCPP $CPPFLAGS'
69840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69843
69844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69845 /* end confdefs.h. */
69846 #include <math.h>
69847 int
69848 main ()
69849 {
69850 powl(0, 0);
69851 ;
69852 return 0;
69853 }
69854 _ACEOF
69855 if ac_fn_cxx_try_compile "$LINENO"; then :
69856 glibcxx_cv_func_powl_use=yes
69857 else
69858 glibcxx_cv_func_powl_use=no
69859 fi
69860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69861 ac_ext=c
69862 ac_cpp='$CPP $CPPFLAGS'
69863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69866
69867
69868 fi
69869
69870 fi
69871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
69872 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
69873
69874 if test x$glibcxx_cv_func_powl_use = x"yes"; then
69875 for ac_func in powl
69876 do :
69877 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
69878 if test "x$ac_cv_func_powl" = x""yes; then :
69879 cat >>confdefs.h <<_ACEOF
69880 #define HAVE_POWL 1
69881 _ACEOF
69882
69883 fi
69884 done
69885
69886 else
69887
69888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
69889 $as_echo_n "checking for _powl declaration... " >&6; }
69890 if test x${glibcxx_cv_func__powl_use+set} != xset; then
69891 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
69892 $as_echo_n "(cached) " >&6
69893 else
69894
69895
69896 ac_ext=cpp
69897 ac_cpp='$CXXCPP $CPPFLAGS'
69898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69901
69902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69903 /* end confdefs.h. */
69904 #include <math.h>
69905 int
69906 main ()
69907 {
69908 _powl(0, 0);
69909 ;
69910 return 0;
69911 }
69912 _ACEOF
69913 if ac_fn_cxx_try_compile "$LINENO"; then :
69914 glibcxx_cv_func__powl_use=yes
69915 else
69916 glibcxx_cv_func__powl_use=no
69917 fi
69918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69919 ac_ext=c
69920 ac_cpp='$CPP $CPPFLAGS'
69921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69924
69925
69926 fi
69927
69928 fi
69929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
69930 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
69931
69932 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69933 for ac_func in _powl
69934 do :
69935 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
69936 if test "x$ac_cv_func__powl" = x""yes; then :
69937 cat >>confdefs.h <<_ACEOF
69938 #define HAVE__POWL 1
69939 _ACEOF
69940
69941 fi
69942 done
69943
69944 fi
69945 fi
69946
69947
69948
69949
69950
69951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
69952 $as_echo_n "checking for sqrtl declaration... " >&6; }
69953 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69954 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
69955 $as_echo_n "(cached) " >&6
69956 else
69957
69958
69959 ac_ext=cpp
69960 ac_cpp='$CXXCPP $CPPFLAGS'
69961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69964
69965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69966 /* end confdefs.h. */
69967 #include <math.h>
69968 #ifdef HAVE_IEEEFP_H
69969 #include <ieeefp.h>
69970 #endif
69971
69972 int
69973 main ()
69974 {
69975 sqrtl(0);
69976 ;
69977 return 0;
69978 }
69979 _ACEOF
69980 if ac_fn_cxx_try_compile "$LINENO"; then :
69981 glibcxx_cv_func_sqrtl_use=yes
69982 else
69983 glibcxx_cv_func_sqrtl_use=no
69984 fi
69985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69986 ac_ext=c
69987 ac_cpp='$CPP $CPPFLAGS'
69988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69991
69992
69993 fi
69994
69995 fi
69996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69997 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69998
69999 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70000 for ac_func in sqrtl
70001 do :
70002 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70003 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70004 cat >>confdefs.h <<_ACEOF
70005 #define HAVE_SQRTL 1
70006 _ACEOF
70007
70008 fi
70009 done
70010
70011 else
70012
70013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70014 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70015 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70016 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70017 $as_echo_n "(cached) " >&6
70018 else
70019
70020
70021 ac_ext=cpp
70022 ac_cpp='$CXXCPP $CPPFLAGS'
70023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70026
70027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70028 /* end confdefs.h. */
70029 #include <math.h>
70030 #ifdef HAVE_IEEEFP_H
70031 #include <ieeefp.h>
70032 #endif
70033
70034 int
70035 main ()
70036 {
70037 _sqrtl(0);
70038 ;
70039 return 0;
70040 }
70041 _ACEOF
70042 if ac_fn_cxx_try_compile "$LINENO"; then :
70043 glibcxx_cv_func__sqrtl_use=yes
70044 else
70045 glibcxx_cv_func__sqrtl_use=no
70046 fi
70047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70048 ac_ext=c
70049 ac_cpp='$CPP $CPPFLAGS'
70050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70053
70054
70055 fi
70056
70057 fi
70058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70059 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70060
70061 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70062 for ac_func in _sqrtl
70063 do :
70064 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70065 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70066 cat >>confdefs.h <<_ACEOF
70067 #define HAVE__SQRTL 1
70068 _ACEOF
70069
70070 fi
70071 done
70072
70073 fi
70074 fi
70075
70076
70077
70078
70079
70080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70081 $as_echo_n "checking for sincosl declaration... " >&6; }
70082 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70083 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70084 $as_echo_n "(cached) " >&6
70085 else
70086
70087
70088 ac_ext=cpp
70089 ac_cpp='$CXXCPP $CPPFLAGS'
70090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70093
70094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70095 /* end confdefs.h. */
70096 #include <math.h>
70097 int
70098 main ()
70099 {
70100 sincosl(0, 0, 0);
70101 ;
70102 return 0;
70103 }
70104 _ACEOF
70105 if ac_fn_cxx_try_compile "$LINENO"; then :
70106 glibcxx_cv_func_sincosl_use=yes
70107 else
70108 glibcxx_cv_func_sincosl_use=no
70109 fi
70110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70111 ac_ext=c
70112 ac_cpp='$CPP $CPPFLAGS'
70113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70116
70117
70118 fi
70119
70120 fi
70121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70122 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70123
70124 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70125 for ac_func in sincosl
70126 do :
70127 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70128 if test "x$ac_cv_func_sincosl" = x""yes; then :
70129 cat >>confdefs.h <<_ACEOF
70130 #define HAVE_SINCOSL 1
70131 _ACEOF
70132
70133 fi
70134 done
70135
70136 else
70137
70138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70139 $as_echo_n "checking for _sincosl declaration... " >&6; }
70140 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70141 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70142 $as_echo_n "(cached) " >&6
70143 else
70144
70145
70146 ac_ext=cpp
70147 ac_cpp='$CXXCPP $CPPFLAGS'
70148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70151
70152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70153 /* end confdefs.h. */
70154 #include <math.h>
70155 int
70156 main ()
70157 {
70158 _sincosl(0, 0, 0);
70159 ;
70160 return 0;
70161 }
70162 _ACEOF
70163 if ac_fn_cxx_try_compile "$LINENO"; then :
70164 glibcxx_cv_func__sincosl_use=yes
70165 else
70166 glibcxx_cv_func__sincosl_use=no
70167 fi
70168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70169 ac_ext=c
70170 ac_cpp='$CPP $CPPFLAGS'
70171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70174
70175
70176 fi
70177
70178 fi
70179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70180 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70181
70182 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70183 for ac_func in _sincosl
70184 do :
70185 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70186 if test "x$ac_cv_func__sincosl" = x""yes; then :
70187 cat >>confdefs.h <<_ACEOF
70188 #define HAVE__SINCOSL 1
70189 _ACEOF
70190
70191 fi
70192 done
70193
70194 fi
70195 fi
70196
70197
70198
70199
70200
70201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70202 $as_echo_n "checking for finitel declaration... " >&6; }
70203 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70204 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70205 $as_echo_n "(cached) " >&6
70206 else
70207
70208
70209 ac_ext=cpp
70210 ac_cpp='$CXXCPP $CPPFLAGS'
70211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70214
70215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70216 /* end confdefs.h. */
70217 #include <math.h>
70218 #ifdef HAVE_IEEEFP_H
70219 #include <ieeefp.h>
70220 #endif
70221
70222 int
70223 main ()
70224 {
70225 finitel(0);
70226 ;
70227 return 0;
70228 }
70229 _ACEOF
70230 if ac_fn_cxx_try_compile "$LINENO"; then :
70231 glibcxx_cv_func_finitel_use=yes
70232 else
70233 glibcxx_cv_func_finitel_use=no
70234 fi
70235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70236 ac_ext=c
70237 ac_cpp='$CPP $CPPFLAGS'
70238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70241
70242
70243 fi
70244
70245 fi
70246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70247 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70248
70249 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70250 for ac_func in finitel
70251 do :
70252 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70253 if test "x$ac_cv_func_finitel" = x""yes; then :
70254 cat >>confdefs.h <<_ACEOF
70255 #define HAVE_FINITEL 1
70256 _ACEOF
70257
70258 fi
70259 done
70260
70261 else
70262
70263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70264 $as_echo_n "checking for _finitel declaration... " >&6; }
70265 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70266 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70267 $as_echo_n "(cached) " >&6
70268 else
70269
70270
70271 ac_ext=cpp
70272 ac_cpp='$CXXCPP $CPPFLAGS'
70273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70276
70277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70278 /* end confdefs.h. */
70279 #include <math.h>
70280 #ifdef HAVE_IEEEFP_H
70281 #include <ieeefp.h>
70282 #endif
70283
70284 int
70285 main ()
70286 {
70287 _finitel(0);
70288 ;
70289 return 0;
70290 }
70291 _ACEOF
70292 if ac_fn_cxx_try_compile "$LINENO"; then :
70293 glibcxx_cv_func__finitel_use=yes
70294 else
70295 glibcxx_cv_func__finitel_use=no
70296 fi
70297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70298 ac_ext=c
70299 ac_cpp='$CPP $CPPFLAGS'
70300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70303
70304
70305 fi
70306
70307 fi
70308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70309 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70310
70311 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70312 for ac_func in _finitel
70313 do :
70314 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70315 if test "x$ac_cv_func__finitel" = x""yes; then :
70316 cat >>confdefs.h <<_ACEOF
70317 #define HAVE__FINITEL 1
70318 _ACEOF
70319
70320 fi
70321 done
70322
70323 fi
70324 fi
70325
70326
70327
70328
70329 LIBS="$ac_save_LIBS"
70330 CXXFLAGS="$ac_save_CXXFLAGS"
70331
70332
70333 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70334 ac_save_CXXFLAGS="$CXXFLAGS"
70335 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70336
70337
70338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70339 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70340 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70341 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70342 $as_echo_n "(cached) " >&6
70343 else
70344
70345
70346 ac_ext=cpp
70347 ac_cpp='$CXXCPP $CPPFLAGS'
70348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70351
70352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70353 /* end confdefs.h. */
70354 #include <stdlib.h>
70355 int
70356 main ()
70357 {
70358 at_quick_exit(0);
70359 ;
70360 return 0;
70361 }
70362 _ACEOF
70363 if ac_fn_cxx_try_compile "$LINENO"; then :
70364 glibcxx_cv_func_at_quick_exit_use=yes
70365 else
70366 glibcxx_cv_func_at_quick_exit_use=no
70367 fi
70368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70369 ac_ext=c
70370 ac_cpp='$CPP $CPPFLAGS'
70371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70374
70375
70376 fi
70377
70378 fi
70379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70380 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70381 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70382 for ac_func in at_quick_exit
70383 do :
70384 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70385 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70386 cat >>confdefs.h <<_ACEOF
70387 #define HAVE_AT_QUICK_EXIT 1
70388 _ACEOF
70389
70390 fi
70391 done
70392
70393 fi
70394
70395
70396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70397 $as_echo_n "checking for quick_exit declaration... " >&6; }
70398 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70399 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70400 $as_echo_n "(cached) " >&6
70401 else
70402
70403
70404 ac_ext=cpp
70405 ac_cpp='$CXXCPP $CPPFLAGS'
70406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70409
70410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70411 /* end confdefs.h. */
70412 #include <stdlib.h>
70413 int
70414 main ()
70415 {
70416 quick_exit(0);
70417 ;
70418 return 0;
70419 }
70420 _ACEOF
70421 if ac_fn_cxx_try_compile "$LINENO"; then :
70422 glibcxx_cv_func_quick_exit_use=yes
70423 else
70424 glibcxx_cv_func_quick_exit_use=no
70425 fi
70426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70427 ac_ext=c
70428 ac_cpp='$CPP $CPPFLAGS'
70429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70432
70433
70434 fi
70435
70436 fi
70437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70438 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70439 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70440 for ac_func in quick_exit
70441 do :
70442 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70443 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70444 cat >>confdefs.h <<_ACEOF
70445 #define HAVE_QUICK_EXIT 1
70446 _ACEOF
70447
70448 fi
70449 done
70450
70451 fi
70452
70453
70454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70455 $as_echo_n "checking for strtold declaration... " >&6; }
70456 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70457 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70458 $as_echo_n "(cached) " >&6
70459 else
70460
70461
70462 ac_ext=cpp
70463 ac_cpp='$CXXCPP $CPPFLAGS'
70464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70467
70468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70469 /* end confdefs.h. */
70470 #include <stdlib.h>
70471 int
70472 main ()
70473 {
70474 strtold(0, 0);
70475 ;
70476 return 0;
70477 }
70478 _ACEOF
70479 if ac_fn_cxx_try_compile "$LINENO"; then :
70480 glibcxx_cv_func_strtold_use=yes
70481 else
70482 glibcxx_cv_func_strtold_use=no
70483 fi
70484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70485 ac_ext=c
70486 ac_cpp='$CPP $CPPFLAGS'
70487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70490
70491
70492 fi
70493
70494 fi
70495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70496 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70497 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70498 for ac_func in strtold
70499 do :
70500 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70501 if test "x$ac_cv_func_strtold" = x""yes; then :
70502 cat >>confdefs.h <<_ACEOF
70503 #define HAVE_STRTOLD 1
70504 _ACEOF
70505
70506 fi
70507 done
70508
70509 fi
70510
70511
70512
70513
70514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
70515 $as_echo_n "checking for strtof declaration... " >&6; }
70516 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
70517 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
70518 $as_echo_n "(cached) " >&6
70519 else
70520
70521
70522 ac_ext=cpp
70523 ac_cpp='$CXXCPP $CPPFLAGS'
70524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70527
70528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70529 /* end confdefs.h. */
70530 #include <stdlib.h>
70531 int
70532 main ()
70533 {
70534 strtof(0, 0);
70535 ;
70536 return 0;
70537 }
70538 _ACEOF
70539 if ac_fn_cxx_try_compile "$LINENO"; then :
70540 glibcxx_cv_func_strtof_use=yes
70541 else
70542 glibcxx_cv_func_strtof_use=no
70543 fi
70544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70545 ac_ext=c
70546 ac_cpp='$CPP $CPPFLAGS'
70547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70550
70551
70552 fi
70553
70554 fi
70555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
70556 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
70557 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
70558 for ac_func in strtof
70559 do :
70560 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
70561 if test "x$ac_cv_func_strtof" = x""yes; then :
70562 cat >>confdefs.h <<_ACEOF
70563 #define HAVE_STRTOF 1
70564 _ACEOF
70565
70566 fi
70567 done
70568
70569 fi
70570
70571
70572
70573
70574 CXXFLAGS="$ac_save_CXXFLAGS"
70575
70576 ;;
70577 *-vxworks)
70578 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
70579
70580 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
70581
70582 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
70583
70584 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
70585
70586 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
70587
70588 $as_echo "#define HAVE_COSF 1" >>confdefs.h
70589
70590 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
70591
70592 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
70593
70594 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
70595
70596 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
70597
70598 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
70599
70600 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
70601
70602 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
70603
70604 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
70605
70606 $as_echo "#define HAVE_POWF 1" >>confdefs.h
70607
70608 $as_echo "#define HAVE_SINF 1" >>confdefs.h
70609
70610 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
70611
70612 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
70613
70614 $as_echo "#define HAVE_TANF 1" >>confdefs.h
70615
70616 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
70617
70618 ;;
70619 *)
70620 as_fn_error "No support for this host/target combination." "$LINENO" 5
70621 ;;
70622 esac
70623
70624 fi
70625
70626 # At some point, we should differentiate between architectures
70627 # like x86, which have long double versions, and alpha/powerpc/etc.,
70628 # which don't. For the time being, punt.
70629 if test x"long_double_math_on_this_cpu" = x"yes"; then
70630 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
70631
70632 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
70633
70634 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
70635
70636 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
70637
70638 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
70639
70640 $as_echo "#define HAVE_COSL 1" >>confdefs.h
70641
70642 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
70643
70644 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
70645
70646 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
70647
70648 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
70649
70650 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
70651
70652 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
70653
70654 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
70655
70656 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
70657
70658 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
70659
70660 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
70661
70662 $as_echo "#define HAVE_POWL 1" >>confdefs.h
70663
70664 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
70665
70666 $as_echo "#define HAVE_SINL 1" >>confdefs.h
70667
70668 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
70669
70670 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
70671
70672 $as_echo "#define HAVE_TANL 1" >>confdefs.h
70673
70674 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
70675
70676 fi
70677 fi
70678
70679 # Check for _Unwind_GetIPInfo.
70680
70681
70682 # Check whether --with-system-libunwind was given.
70683 if test "${with_system_libunwind+set}" = set; then :
70684 withval=$with_system_libunwind;
70685 fi
70686
70687 # If system-libunwind was not specifically set, pick a default setting.
70688 if test x$with_system_libunwind = x; then
70689 case ${target} in
70690 ia64-*-hpux*) with_system_libunwind=yes ;;
70691 *) with_system_libunwind=no ;;
70692 esac
70693 fi
70694 # Based on system-libunwind and target, do we have ipinfo?
70695 if test x$with_system_libunwind = xyes; then
70696 case ${target} in
70697 ia64-*-*) have_unwind_getipinfo=no ;;
70698 *) have_unwind_getipinfo=yes ;;
70699 esac
70700 else
70701 # Darwin before version 9 does not have _Unwind_GetIPInfo.
70702
70703 case ${target} in
70704 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
70705 *) have_unwind_getipinfo=yes ;;
70706 esac
70707
70708 fi
70709
70710 if test x$have_unwind_getipinfo = xyes; then
70711
70712 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
70713
70714 fi
70715
70716
70717 # Check whether --enable-linux-futex was given.
70718 if test "${enable_linux_futex+set}" = set; then :
70719 enableval=$enable_linux_futex;
70720 case "$enableval" in
70721 yes|no|default) ;;
70722 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
70723 esac
70724
70725 else
70726 enable_linux_futex=default
70727 fi
70728
70729
70730 case "$target" in
70731 *-linux*)
70732 case "$enable_linux_futex" in
70733 default)
70734 # If headers don't have gettid/futex syscalls definition, then
70735 # default to no, otherwise there will be compile time failures.
70736 # Otherwise, default to yes. If we don't detect we are
70737 # compiled/linked against NPTL and not cross-compiling, check
70738 # if programs are run by default against NPTL and if not, issue
70739 # a warning.
70740 enable_linux_futex=no
70741 if test x$gcc_no_link = xyes; then
70742 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70743 fi
70744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70745 /* end confdefs.h. */
70746 #include <sys/syscall.h>
70747 int lk;
70748 int
70749 main ()
70750 {
70751 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70752 ;
70753 return 0;
70754 }
70755 _ACEOF
70756 if ac_fn_c_try_link "$LINENO"; then :
70757 save_LIBS="$LIBS"
70758 LIBS="-lpthread $LIBS"
70759 if test x$gcc_no_link = xyes; then
70760 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70761 fi
70762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70763 /* end confdefs.h. */
70764 #ifndef _GNU_SOURCE
70765 #define _GNU_SOURCE 1
70766 #endif
70767 #include <pthread.h>
70768 pthread_t th; void *status;
70769 int
70770 main ()
70771 {
70772 pthread_tryjoin_np (th, &status);
70773 ;
70774 return 0;
70775 }
70776 _ACEOF
70777 if ac_fn_c_try_link "$LINENO"; then :
70778 enable_linux_futex=yes
70779 else
70780 if test x$cross_compiling = xno; then
70781 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
70782 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
70783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
70784 If so, please configure with --disable-linux-futex" >&5
70785 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
70786 If so, please configure with --disable-linux-futex" >&2;}
70787 fi
70788 fi
70789 enable_linux_futex=yes
70790 fi
70791 rm -f core conftest.err conftest.$ac_objext \
70792 conftest$ac_exeext conftest.$ac_ext
70793 LIBS="$save_LIBS"
70794 fi
70795 rm -f core conftest.err conftest.$ac_objext \
70796 conftest$ac_exeext conftest.$ac_ext
70797 ;;
70798 yes)
70799 if test x$gcc_no_link = xyes; then
70800 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70801 fi
70802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70803 /* end confdefs.h. */
70804 #include <sys/syscall.h>
70805 int lk;
70806 int
70807 main ()
70808 {
70809 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70810 ;
70811 return 0;
70812 }
70813 _ACEOF
70814 if ac_fn_c_try_link "$LINENO"; then :
70815
70816 else
70817 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
70818 fi
70819 rm -f core conftest.err conftest.$ac_objext \
70820 conftest$ac_exeext conftest.$ac_ext
70821 ;;
70822 esac
70823 ;;
70824 *)
70825 enable_linux_futex=no
70826 ;;
70827 esac
70828 if test x$enable_linux_futex = xyes; then
70829
70830 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
70831
70832 fi
70833
70834
70835
70836
70837 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
70838
70839 acx_cv_header_stdint=stddef.h
70840 acx_cv_header_stdint_kind="(already complete)"
70841 for i in stdint.h $inttype_headers; do
70842 unset ac_cv_type_uintptr_t
70843 unset ac_cv_type_uintmax_t
70844 unset ac_cv_type_int_least32_t
70845 unset ac_cv_type_int_fast32_t
70846 unset ac_cv_type_uint64_t
70847 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
70848 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
70849 #include <$i>
70850 "
70851 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
70852 acx_cv_header_stdint=$i
70853 else
70854 continue
70855 fi
70856
70857 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
70858 #include <$i>
70859 "
70860 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
70861
70862 else
70863 acx_cv_header_stdint_kind="(mostly complete)"
70864 fi
70865
70866 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
70867 #include <$i>
70868 "
70869 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
70870
70871 else
70872 acx_cv_header_stdint_kind="(mostly complete)"
70873 fi
70874
70875 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
70876 #include <$i>
70877 "
70878 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
70879
70880 else
70881 acx_cv_header_stdint_kind="(mostly complete)"
70882 fi
70883
70884 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
70885 #include <$i>
70886 "
70887 if test "x$ac_cv_type_uint64_t" = x""yes; then :
70888
70889 else
70890 acx_cv_header_stdint_kind="(lacks uint64_t)"
70891 fi
70892
70893 break
70894 done
70895 if test "$acx_cv_header_stdint" = stddef.h; then
70896 acx_cv_header_stdint_kind="(lacks uintmax_t)"
70897 for i in stdint.h $inttype_headers; do
70898 unset ac_cv_type_uintptr_t
70899 unset ac_cv_type_uint32_t
70900 unset ac_cv_type_uint64_t
70901 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
70902 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
70903 #include <$i>
70904 "
70905 if test "x$ac_cv_type_uint32_t" = x""yes; then :
70906 acx_cv_header_stdint=$i
70907 else
70908 continue
70909 fi
70910
70911 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
70912 #include <$i>
70913 "
70914 if test "x$ac_cv_type_uint64_t" = x""yes; then :
70915
70916 fi
70917
70918 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
70919 #include <$i>
70920 "
70921 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
70922
70923 fi
70924
70925 break
70926 done
70927 fi
70928 if test "$acx_cv_header_stdint" = stddef.h; then
70929 acx_cv_header_stdint_kind="(u_intXX_t style)"
70930 for i in sys/types.h $inttype_headers; do
70931 unset ac_cv_type_u_int32_t
70932 unset ac_cv_type_u_int64_t
70933 $as_echo_n "looking for u_intXX_t types in $i, " >&6
70934 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
70935 #include <$i>
70936 "
70937 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
70938 acx_cv_header_stdint=$i
70939 else
70940 continue
70941 fi
70942
70943 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
70944 #include <$i>
70945 "
70946 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
70947
70948 fi
70949
70950 break
70951 done
70952 fi
70953 if test "$acx_cv_header_stdint" = stddef.h; then
70954 acx_cv_header_stdint_kind="(using manual detection)"
70955 fi
70956
70957 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
70958 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
70959 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
70960 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
70961 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
70962
70963 # ----------------- Summarize what we found so far
70964
70965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
70966 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
70967
70968 case `$as_basename -- include/gstdint.h ||
70969 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
70970 Xinclude/gstdint.h : 'X\(//\)$' \| \
70971 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
70972 $as_echo X/include/gstdint.h |
70973 sed '/^.*\/\([^/][^/]*\)\/*$/{
70974 s//\1/
70975 q
70976 }
70977 /^X\/\(\/\/\)$/{
70978 s//\1/
70979 q
70980 }
70981 /^X\/\(\/\).*/{
70982 s//\1/
70983 q
70984 }
70985 s/.*/./; q'` in
70986 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
70987 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
70988 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
70989 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
70990 *) ;;
70991 esac
70992
70993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
70994 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
70995
70996 # ----------------- done included file, check C basic types --------
70997
70998 # Lacking an uintptr_t? Test size of void *
70999 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
71000 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
71001 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71002 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71003 # This bug is HP SR number 8606223364.
71004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
71005 $as_echo_n "checking size of void *... " >&6; }
71006 if test "${ac_cv_sizeof_void_p+set}" = set; then :
71007 $as_echo_n "(cached) " >&6
71008 else
71009 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
71010
71011 else
71012 if test "$ac_cv_type_void_p" = yes; then
71013 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71015 { as_fn_set_status 77
71016 as_fn_error "cannot compute sizeof (void *)
71017 See \`config.log' for more details." "$LINENO" 5; }; }
71018 else
71019 ac_cv_sizeof_void_p=0
71020 fi
71021 fi
71022
71023 fi
71024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
71025 $as_echo "$ac_cv_sizeof_void_p" >&6; }
71026
71027
71028
71029 cat >>confdefs.h <<_ACEOF
71030 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
71031 _ACEOF
71032
71033 ;;
71034 esac
71035
71036 # Lacking an uint64_t? Test size of long
71037 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
71038 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
71039 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71040 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71041 # This bug is HP SR number 8606223364.
71042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
71043 $as_echo_n "checking size of long... " >&6; }
71044 if test "${ac_cv_sizeof_long+set}" = set; then :
71045 $as_echo_n "(cached) " >&6
71046 else
71047 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
71048
71049 else
71050 if test "$ac_cv_type_long" = yes; then
71051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71053 { as_fn_set_status 77
71054 as_fn_error "cannot compute sizeof (long)
71055 See \`config.log' for more details." "$LINENO" 5; }; }
71056 else
71057 ac_cv_sizeof_long=0
71058 fi
71059 fi
71060
71061 fi
71062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
71063 $as_echo "$ac_cv_sizeof_long" >&6; }
71064
71065
71066
71067 cat >>confdefs.h <<_ACEOF
71068 #define SIZEOF_LONG $ac_cv_sizeof_long
71069 _ACEOF
71070
71071 ;;
71072 esac
71073
71074 if test $acx_cv_header_stdint = stddef.h; then
71075 # Lacking a good header? Test size of everything and deduce all types.
71076 # The cast to long int works around a bug in the HP C Compiler
71077 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71078 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71079 # This bug is HP SR number 8606223364.
71080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
71081 $as_echo_n "checking size of int... " >&6; }
71082 if test "${ac_cv_sizeof_int+set}" = set; then :
71083 $as_echo_n "(cached) " >&6
71084 else
71085 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
71086
71087 else
71088 if test "$ac_cv_type_int" = yes; then
71089 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71090 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71091 { as_fn_set_status 77
71092 as_fn_error "cannot compute sizeof (int)
71093 See \`config.log' for more details." "$LINENO" 5; }; }
71094 else
71095 ac_cv_sizeof_int=0
71096 fi
71097 fi
71098
71099 fi
71100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
71101 $as_echo "$ac_cv_sizeof_int" >&6; }
71102
71103
71104
71105 cat >>confdefs.h <<_ACEOF
71106 #define SIZEOF_INT $ac_cv_sizeof_int
71107 _ACEOF
71108
71109
71110 # The cast to long int works around a bug in the HP C Compiler
71111 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71112 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71113 # This bug is HP SR number 8606223364.
71114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
71115 $as_echo_n "checking size of short... " >&6; }
71116 if test "${ac_cv_sizeof_short+set}" = set; then :
71117 $as_echo_n "(cached) " >&6
71118 else
71119 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
71120
71121 else
71122 if test "$ac_cv_type_short" = yes; then
71123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71125 { as_fn_set_status 77
71126 as_fn_error "cannot compute sizeof (short)
71127 See \`config.log' for more details." "$LINENO" 5; }; }
71128 else
71129 ac_cv_sizeof_short=0
71130 fi
71131 fi
71132
71133 fi
71134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
71135 $as_echo "$ac_cv_sizeof_short" >&6; }
71136
71137
71138
71139 cat >>confdefs.h <<_ACEOF
71140 #define SIZEOF_SHORT $ac_cv_sizeof_short
71141 _ACEOF
71142
71143
71144 # The cast to long int works around a bug in the HP C Compiler
71145 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71146 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71147 # This bug is HP SR number 8606223364.
71148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
71149 $as_echo_n "checking size of char... " >&6; }
71150 if test "${ac_cv_sizeof_char+set}" = set; then :
71151 $as_echo_n "(cached) " >&6
71152 else
71153 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
71154
71155 else
71156 if test "$ac_cv_type_char" = yes; then
71157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71159 { as_fn_set_status 77
71160 as_fn_error "cannot compute sizeof (char)
71161 See \`config.log' for more details." "$LINENO" 5; }; }
71162 else
71163 ac_cv_sizeof_char=0
71164 fi
71165 fi
71166
71167 fi
71168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
71169 $as_echo "$ac_cv_sizeof_char" >&6; }
71170
71171
71172
71173 cat >>confdefs.h <<_ACEOF
71174 #define SIZEOF_CHAR $ac_cv_sizeof_char
71175 _ACEOF
71176
71177
71178
71179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
71180 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
71181 case "$ac_cv_sizeof_char" in
71182 1) acx_cv_type_int8_t=char ;;
71183 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
71184 esac
71185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
71186 $as_echo "$acx_cv_type_int8_t" >&6; }
71187
71188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
71189 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
71190 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
71191 2:*) acx_cv_type_int16_t=int ;;
71192 *:2) acx_cv_type_int16_t=short ;;
71193 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
71194 esac
71195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
71196 $as_echo "$acx_cv_type_int16_t" >&6; }
71197
71198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
71199 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
71200 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
71201 4:*) acx_cv_type_int32_t=int ;;
71202 *:4) acx_cv_type_int32_t=long ;;
71203 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
71204 esac
71205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
71206 $as_echo "$acx_cv_type_int32_t" >&6; }
71207 fi
71208
71209 # These tests are here to make the output prettier
71210
71211 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
71212 case "$ac_cv_sizeof_long" in
71213 8) acx_cv_type_int64_t=long ;;
71214 esac
71215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
71216 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
71217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
71218 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
71219 fi
71220
71221 # Now we can use the above types
71222
71223 if test "$ac_cv_type_uintptr_t" != yes; then
71224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
71225 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
71226 case $ac_cv_sizeof_void_p in
71227 2) acx_cv_type_intptr_t=int16_t ;;
71228 4) acx_cv_type_intptr_t=int32_t ;;
71229 8) acx_cv_type_intptr_t=int64_t ;;
71230 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
71231 esac
71232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
71233 $as_echo "$acx_cv_type_intptr_t" >&6; }
71234 fi
71235
71236 # ----------------- done all checks, emit header -------------
71237 ac_config_commands="$ac_config_commands include/gstdint.h"
71238
71239
71240
71241
71242
71243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
71244 $as_echo_n "checking for GNU c++filt... " >&6; }
71245 if test "${ac_cv_path_CXXFILT+set}" = set; then :
71246 $as_echo_n "(cached) " >&6
71247 else
71248 if test -z "$CXXFILT"; then
71249 ac_path_CXXFILT_found=false
71250 # Loop through the user's path and test for each of PROGNAME-LIST
71251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71252 for as_dir in $PATH
71253 do
71254 IFS=$as_save_IFS
71255 test -z "$as_dir" && as_dir=.
71256 for ac_prog in c++filt gc++filt; do
71257 for ac_exec_ext in '' $ac_executable_extensions; do
71258 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
71259 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
71260 # Check for GNU $ac_path_CXXFILT
71261 case `"$ac_path_CXXFILT" --version 2>&1` in
71262 *GNU*)
71263 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
71264 esac
71265
71266 $ac_path_CXXFILT_found && break 3
71267 done
71268 done
71269 done
71270 IFS=$as_save_IFS
71271 if test -z "$ac_cv_path_CXXFILT"; then
71272 :
71273 fi
71274 else
71275 ac_cv_path_CXXFILT=$CXXFILT
71276 fi
71277
71278 fi
71279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
71280 $as_echo "$ac_cv_path_CXXFILT" >&6; }
71281 CXXFILT=$ac_cv_path_CXXFILT
71282
71283
71284
71285 # Check whether --enable-symvers was given.
71286 if test "${enable_symvers+set}" = set; then :
71287 enableval=$enable_symvers;
71288 case "$enableval" in
71289 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
71290 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
71291 esac
71292
71293 else
71294 enable_symvers=yes
71295 fi
71296
71297
71298
71299 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
71300 # don't know enough about $LD to do tricks...
71301
71302 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
71303 # with extern "C++" in version scripts.
71304
71305
71306 # Turn a 'yes' into a suitable default.
71307 if test x$enable_symvers = xyes ; then
71308 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
71309 enable_symvers=no
71310 else
71311 if test $with_gnu_ld = yes ; then
71312 case ${target_os} in
71313 hpux*)
71314 enable_symvers=no ;;
71315 *)
71316 enable_symvers=gnu ;;
71317 esac
71318 else
71319 case ${target_os} in
71320 darwin*)
71321 enable_symvers=darwin ;;
71322 # Sun symbol versioning exists since Solaris 2.5.
71323 solaris2.[5-9]* | solaris2.1[0-9]*)
71324 # make_sunver.pl needs GNU c++filt to support extern "C++" in
71325 # version scripts, so disable symbol versioning if none can be
71326 # found.
71327 if test -z "$ac_cv_path_CXXFILT"; then
71328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71329 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
71331 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
71332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71333 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71334 enable_symvers=no
71335 else
71336 enable_symvers=sun
71337 fi
71338 ;;
71339 *)
71340 enable_symvers=no ;;
71341 esac
71342 fi
71343 fi
71344 fi
71345
71346 # Check to see if 'darwin' or 'darwin-export' can win.
71347 if test x$enable_symvers = xdarwin-export ; then
71348 enable_symvers=darwin
71349 fi
71350
71351 # Check if 'sun' was requested on non-Solaris 2 platforms.
71352 if test x$enable_symvers = xsun ; then
71353 case ${target_os} in
71354 solaris2*)
71355 # All fine.
71356 ;;
71357 *)
71358 # Unlikely to work.
71359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71360 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
71362 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
71363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71364 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71365 enable_symvers=no
71366 ;;
71367 esac
71368 fi
71369
71370 # Check to see if 'gnu' can win.
71371 if test $enable_symvers = gnu ||
71372 test $enable_symvers = gnu-versioned-namespace ||
71373 test $enable_symvers = sun; then
71374 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
71375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
71376 $as_echo_n "checking for shared libgcc... " >&6; }
71377 ac_save_CFLAGS="$CFLAGS"
71378 CFLAGS=' -lgcc_s'
71379 if test x$gcc_no_link = xyes; then
71380 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71381 fi
71382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71383 /* end confdefs.h. */
71384
71385 int
71386 main ()
71387 {
71388 return 0;
71389 ;
71390 return 0;
71391 }
71392 _ACEOF
71393 if ac_fn_c_try_link "$LINENO"; then :
71394 glibcxx_shared_libgcc=yes
71395 else
71396 glibcxx_shared_libgcc=no
71397 fi
71398 rm -f core conftest.err conftest.$ac_objext \
71399 conftest$ac_exeext conftest.$ac_ext
71400 CFLAGS="$ac_save_CFLAGS"
71401 if test $glibcxx_shared_libgcc = no; then
71402 cat > conftest.c <<EOF
71403 int main (void) { return 0; }
71404 EOF
71405 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
71406 -shared -shared-libgcc -o conftest.so \
71407 conftest.c -v 2>&1 >/dev/null \
71408 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
71409 rm -f conftest.c conftest.so
71410 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
71411 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
71412 if test x$gcc_no_link = xyes; then
71413 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71414 fi
71415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71416 /* end confdefs.h. */
71417
71418 int
71419 main ()
71420 {
71421 return 0;
71422 ;
71423 return 0;
71424 }
71425 _ACEOF
71426 if ac_fn_c_try_link "$LINENO"; then :
71427 glibcxx_shared_libgcc=yes
71428 fi
71429 rm -f core conftest.err conftest.$ac_objext \
71430 conftest$ac_exeext conftest.$ac_ext
71431 CFLAGS="$ac_save_CFLAGS"
71432 fi
71433 fi
71434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
71435 $as_echo "$glibcxx_shared_libgcc" >&6; }
71436
71437 # For GNU ld, we need at least this version. The format is described in
71438 # GLIBCXX_CHECK_LINKER_FEATURES above.
71439 glibcxx_min_gnu_ld_version=21400
71440
71441 # If no shared libgcc, can't win.
71442 if test $glibcxx_shared_libgcc != yes; then
71443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71444 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
71446 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
71447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71448 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71449 enable_symvers=no
71450 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
71451 : All interesting versions of Sun ld support sun style symbol versioning.
71452 elif test $with_gnu_ld != yes ; then
71453 # just fail for now
71454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71455 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
71457 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
71458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71459 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71460 enable_symvers=no
71461 elif test $glibcxx_ld_is_gold = yes ; then
71462 : All versions of gold support symbol versioning.
71463 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
71464 # The right tools, the right setup, but too old. Fallbacks?
71465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
71466 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
71467 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
71468 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
71469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
71470 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
71471 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
71472 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
71473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71474 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71475 enable_symvers=no
71476 fi
71477 fi
71478
71479 # For libtool versioning info, format is CURRENT:REVISION:AGE
71480 libtool_VERSION=6:18:0
71481
71482 # Everything parsed; figure out what files and settings to use.
71483 case $enable_symvers in
71484 no)
71485 SYMVER_FILE=config/abi/pre/none.ver
71486 ;;
71487 gnu)
71488 SYMVER_FILE=config/abi/pre/gnu.ver
71489
71490 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
71491
71492 ;;
71493 gnu-versioned-namespace)
71494 libtool_VERSION=7:0:0
71495 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
71496
71497 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
71498
71499 ;;
71500 darwin)
71501 SYMVER_FILE=config/abi/pre/gnu.ver
71502
71503 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
71504
71505 ;;
71506 sun)
71507 SYMVER_FILE=config/abi/pre/gnu.ver
71508
71509 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
71510
71511 ;;
71512 esac
71513
71514 if test x$enable_symvers != xno ; then
71515
71516 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
71517
71518 fi
71519
71520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
71521 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
71522 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
71523 $as_echo_n "(cached) " >&6
71524 else
71525
71526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71527 /* end confdefs.h. */
71528 void foo (void); __asm (".symver foo, bar@SYMVER");
71529 int
71530 main ()
71531 {
71532
71533 ;
71534 return 0;
71535 }
71536 _ACEOF
71537 if ac_fn_c_try_compile "$LINENO"; then :
71538 glibcxx_cv_have_as_symver_directive=yes
71539 else
71540 glibcxx_cv_have_as_symver_directive=no
71541 fi
71542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71543 fi
71544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
71545 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
71546 if test $glibcxx_cv_have_as_symver_directive = yes; then
71547
71548 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
71549
71550 fi
71551
71552
71553
71554
71555
71556
71557
71558
71559 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
71560 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
71561
71562 if test $enable_symvers != no ; then
71563 case ${target_os} in
71564 # The Solaris 2 runtime linker doesn't support the GNU extension of
71565 # binding the same symbol to different versions
71566 solaris2*)
71567 ;;
71568 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
71569 *)
71570
71571 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
71572
71573 ;;
71574 esac
71575 fi
71576
71577 # Now, set up compatibility support, if any.
71578 # In addition, need this to deal with std::size_t mangling in
71579 # src/compatibility.cc. In a perfect world, could use
71580 # typeid(std::size_t).name()[0] to do direct substitution.
71581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
71582 $as_echo_n "checking for size_t as unsigned int... " >&6; }
71583 ac_save_CFLAGS="$CFLAGS"
71584 CFLAGS="-Werror"
71585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71586 /* end confdefs.h. */
71587
71588 int
71589 main ()
71590 {
71591 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
71592 ;
71593 return 0;
71594 }
71595 _ACEOF
71596 if ac_fn_c_try_compile "$LINENO"; then :
71597 glibcxx_size_t_is_i=yes
71598 else
71599 glibcxx_size_t_is_i=no
71600 fi
71601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71602 CFLAGS=$ac_save_CFLAGS
71603 if test "$glibcxx_size_t_is_i" = yes; then
71604
71605 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
71606
71607 fi
71608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
71609 $as_echo "$glibcxx_size_t_is_i" >&6; }
71610
71611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
71612 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
71613 ac_save_CFLAGS="$CFLAGS"
71614 CFLAGS="-Werror"
71615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71616 /* end confdefs.h. */
71617
71618 int
71619 main ()
71620 {
71621 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
71622 ;
71623 return 0;
71624 }
71625 _ACEOF
71626 if ac_fn_c_try_compile "$LINENO"; then :
71627 glibcxx_ptrdiff_t_is_i=yes
71628 else
71629 glibcxx_ptrdiff_t_is_i=no
71630 fi
71631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71632 CFLAGS=$ac_save_CFLAGS
71633 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
71634
71635 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
71636
71637 fi
71638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
71639 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
71640
71641
71642
71643
71644 # Check whether --enable-libstdcxx-visibility was given.
71645 if test "${enable_libstdcxx_visibility+set}" = set; then :
71646 enableval=$enable_libstdcxx_visibility;
71647 case "$enableval" in
71648 yes|no) ;;
71649 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
71650 esac
71651
71652 else
71653 enable_libstdcxx_visibility=yes
71654 fi
71655
71656
71657
71658 if test x$enable_libstdcxx_visibility = xyes ; then
71659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
71660 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
71661 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
71662 $as_echo_n "(cached) " >&6
71663 else
71664
71665 save_CFLAGS="$CFLAGS"
71666 CFLAGS="$CFLAGS -Werror"
71667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71668 /* end confdefs.h. */
71669 void __attribute__((visibility("hidden"))) foo(void) { }
71670 int
71671 main ()
71672 {
71673
71674 ;
71675 return 0;
71676 }
71677 _ACEOF
71678 if ac_fn_c_try_compile "$LINENO"; then :
71679 glibcxx_cv_have_attribute_visibility=yes
71680 else
71681 glibcxx_cv_have_attribute_visibility=no
71682 fi
71683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71684 CFLAGS="$save_CFLAGS"
71685 fi
71686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
71687 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
71688 if test $glibcxx_cv_have_attribute_visibility = no; then
71689 enable_libstdcxx_visibility=no
71690 fi
71691 fi
71692
71693
71694 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
71695 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
71696
71697
71698 ac_ldbl_compat=no
71699 case "$target" in
71700 powerpc*-*-linux* | \
71701 sparc*-*-linux* | \
71702 s390*-*-linux* | \
71703 alpha*-*-linux*)
71704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71705 /* end confdefs.h. */
71706
71707 int
71708 main ()
71709 {
71710
71711 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
71712 #error no need for long double compatibility
71713 #endif
71714
71715 ;
71716 return 0;
71717 }
71718 _ACEOF
71719 if ac_fn_c_try_compile "$LINENO"; then :
71720 ac_ldbl_compat=yes
71721 else
71722 ac_ldbl_compat=no
71723 fi
71724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71725 if test "$ac_ldbl_compat" = yes; then
71726
71727 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
71728
71729 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
71730 fi
71731 esac
71732
71733
71734 # Check if assembler supports disabling hardware capability support.
71735
71736 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
71737
71738 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
71739 # with a different meaning.
71740 case ${target_os} in
71741 solaris2*)
71742 ac_save_CFLAGS="$CFLAGS"
71743 CFLAGS="$CFLAGS -Wa,-nH"
71744
71745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
71746 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
71747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71748 /* end confdefs.h. */
71749
71750 int
71751 main ()
71752 {
71753 return 0;
71754 ;
71755 return 0;
71756 }
71757 _ACEOF
71758 if ac_fn_c_try_compile "$LINENO"; then :
71759 ac_hwcap_flags=yes
71760 else
71761 ac_hwcap_flags=no
71762 fi
71763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71764 if test "$ac_hwcap_flags" = "yes"; then
71765 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
71766 fi
71767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
71768 $as_echo "$ac_hwcap_flags" >&6; }
71769
71770 CFLAGS="$ac_save_CFLAGS"
71771 ;;
71772 esac
71773
71774
71775
71776
71777 # Check if assembler supports rdrand opcode.
71778
71779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
71780 $as_echo_n "checking for rdrand support in assembler... " >&6; }
71781 if test "${ac_cv_x86_rdrand+set}" = set; then :
71782 $as_echo_n "(cached) " >&6
71783 else
71784
71785 ac_cv_x86_rdrand=no
71786 case "$target" in
71787 i?86-*-* | \
71788 x86_64-*-*)
71789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71790 /* end confdefs.h. */
71791
71792 int
71793 main ()
71794 {
71795 asm("rdrand %eax");
71796 ;
71797 return 0;
71798 }
71799 _ACEOF
71800 if ac_fn_c_try_compile "$LINENO"; then :
71801 ac_cv_x86_rdrand=yes
71802 else
71803 ac_cv_x86_rdrand=no
71804 fi
71805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71806 esac
71807
71808 fi
71809
71810 if test $ac_cv_x86_rdrand = yes; then
71811
71812 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
71813
71814 fi
71815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
71816 $as_echo "$ac_cv_x86_rdrand" >&6; }
71817
71818
71819 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
71820
71821 if $GLIBCXX_IS_NATIVE ; then
71822 # Do checks for resource limit functions.
71823
71824 setrlimit_have_headers=yes
71825 for ac_header in unistd.h sys/time.h sys/resource.h
71826 do :
71827 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71828 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71829 eval as_val=\$$as_ac_Header
71830 if test "x$as_val" = x""yes; then :
71831 cat >>confdefs.h <<_ACEOF
71832 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71833 _ACEOF
71834
71835 else
71836 setrlimit_have_headers=no
71837 fi
71838
71839 done
71840
71841 # If don't have the headers, then we can't run the tests now, and we
71842 # won't be seeing any of these during testsuite compilation.
71843 if test $setrlimit_have_headers = yes; then
71844 # Can't do these in a loop, else the resulting syntax is wrong.
71845
71846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
71847 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
71848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71849 /* end confdefs.h. */
71850 #include <unistd.h>
71851 #include <sys/time.h>
71852 #include <sys/resource.h>
71853
71854 int
71855 main ()
71856 {
71857 int f = RLIMIT_DATA ;
71858 ;
71859 return 0;
71860 }
71861 _ACEOF
71862 if ac_fn_c_try_compile "$LINENO"; then :
71863 glibcxx_mresult=1
71864 else
71865 glibcxx_mresult=0
71866 fi
71867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71868
71869 cat >>confdefs.h <<_ACEOF
71870 #define HAVE_LIMIT_DATA $glibcxx_mresult
71871 _ACEOF
71872
71873 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71875 $as_echo "$res" >&6; }
71876
71877
71878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
71879 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
71880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71881 /* end confdefs.h. */
71882 #include <unistd.h>
71883 #include <sys/time.h>
71884 #include <sys/resource.h>
71885
71886 int
71887 main ()
71888 {
71889 int f = RLIMIT_RSS ;
71890 ;
71891 return 0;
71892 }
71893 _ACEOF
71894 if ac_fn_c_try_compile "$LINENO"; then :
71895 glibcxx_mresult=1
71896 else
71897 glibcxx_mresult=0
71898 fi
71899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71900
71901 cat >>confdefs.h <<_ACEOF
71902 #define HAVE_LIMIT_RSS $glibcxx_mresult
71903 _ACEOF
71904
71905 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71907 $as_echo "$res" >&6; }
71908
71909
71910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
71911 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
71912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71913 /* end confdefs.h. */
71914 #include <unistd.h>
71915 #include <sys/time.h>
71916 #include <sys/resource.h>
71917
71918 int
71919 main ()
71920 {
71921 int f = RLIMIT_VMEM ;
71922 ;
71923 return 0;
71924 }
71925 _ACEOF
71926 if ac_fn_c_try_compile "$LINENO"; then :
71927 glibcxx_mresult=1
71928 else
71929 glibcxx_mresult=0
71930 fi
71931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71932
71933 cat >>confdefs.h <<_ACEOF
71934 #define HAVE_LIMIT_VMEM $glibcxx_mresult
71935 _ACEOF
71936
71937 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71939 $as_echo "$res" >&6; }
71940
71941
71942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
71943 $as_echo_n "checking for RLIMIT_AS... " >&6; }
71944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71945 /* end confdefs.h. */
71946 #include <unistd.h>
71947 #include <sys/time.h>
71948 #include <sys/resource.h>
71949
71950 int
71951 main ()
71952 {
71953 int f = RLIMIT_AS ;
71954 ;
71955 return 0;
71956 }
71957 _ACEOF
71958 if ac_fn_c_try_compile "$LINENO"; then :
71959 glibcxx_mresult=1
71960 else
71961 glibcxx_mresult=0
71962 fi
71963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71964
71965 cat >>confdefs.h <<_ACEOF
71966 #define HAVE_LIMIT_AS $glibcxx_mresult
71967 _ACEOF
71968
71969 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
71970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
71971 $as_echo "$res" >&6; }
71972
71973
71974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
71975 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
71976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71977 /* end confdefs.h. */
71978 #include <unistd.h>
71979 #include <sys/time.h>
71980 #include <sys/resource.h>
71981
71982 int
71983 main ()
71984 {
71985 int f = RLIMIT_FSIZE ;
71986 ;
71987 return 0;
71988 }
71989 _ACEOF
71990 if ac_fn_c_try_compile "$LINENO"; then :
71991 glibcxx_mresult=1
71992 else
71993 glibcxx_mresult=0
71994 fi
71995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71996
71997 cat >>confdefs.h <<_ACEOF
71998 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
71999 _ACEOF
72000
72001 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72003 $as_echo "$res" >&6; }
72004
72005
72006 # Check for rlimit, setrlimit.
72007 if test "${glibcxx_cv_setrlimit+set}" = set; then :
72008 $as_echo_n "(cached) " >&6
72009 else
72010
72011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72012 /* end confdefs.h. */
72013 #include <unistd.h>
72014 #include <sys/time.h>
72015 #include <sys/resource.h>
72016
72017 int
72018 main ()
72019 {
72020 struct rlimit r;
72021 setrlimit(0, &r);
72022 ;
72023 return 0;
72024 }
72025 _ACEOF
72026 if ac_fn_c_try_compile "$LINENO"; then :
72027 glibcxx_cv_setrlimit=yes
72028 else
72029 glibcxx_cv_setrlimit=no
72030 fi
72031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72032
72033 fi
72034
72035 fi
72036
72037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
72038 $as_echo_n "checking for testsuite resource limits support... " >&6; }
72039 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
72040 ac_res_limits=yes
72041
72042 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
72043
72044 else
72045 ac_res_limits=no
72046 fi
72047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
72048 $as_echo "$ac_res_limits" >&6; }
72049
72050
72051 # Look for setenv, so that extended locale tests can be performed.
72052
72053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
72054 $as_echo_n "checking for setenv declaration... " >&6; }
72055 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
72056 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
72057 $as_echo_n "(cached) " >&6
72058 else
72059
72060
72061 ac_ext=cpp
72062 ac_cpp='$CXXCPP $CPPFLAGS'
72063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72066
72067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72068 /* end confdefs.h. */
72069 #include <stdlib.h>
72070 int
72071 main ()
72072 {
72073 setenv(0, 0, 0);
72074 ;
72075 return 0;
72076 }
72077 _ACEOF
72078 if ac_fn_cxx_try_compile "$LINENO"; then :
72079 glibcxx_cv_func_setenv_use=yes
72080 else
72081 glibcxx_cv_func_setenv_use=no
72082 fi
72083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72084 ac_ext=c
72085 ac_cpp='$CPP $CPPFLAGS'
72086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72089
72090
72091 fi
72092
72093 fi
72094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
72095 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
72096 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
72097 for ac_func in setenv
72098 do :
72099 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
72100 if test "x$ac_cv_func_setenv" = x""yes; then :
72101 cat >>confdefs.h <<_ACEOF
72102 #define HAVE_SETENV 1
72103 _ACEOF
72104
72105 fi
72106 done
72107
72108 fi
72109
72110 fi
72111
72112 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
72113 test $enable_symvers != no; then
72114 case "$host" in
72115 *-*-cygwin*)
72116 enable_abi_check=no ;;
72117 *)
72118 enable_abi_check=yes ;;
72119 esac
72120 else
72121 # Only build this as native, since automake does not understand
72122 # CXX_FOR_BUILD.
72123 enable_abi_check=no
72124 fi
72125
72126 # Export file names for ABI checking.
72127 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
72128
72129 baseline_subdir_switch="$abi_baseline_subdir_switch"
72130
72131
72132
72133 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
72134
72135 # Check whether --enable-libstdcxx-threads was given.
72136 if test "${enable_libstdcxx_threads+set}" = set; then :
72137 enableval=$enable_libstdcxx_threads;
72138 case "$enableval" in
72139 yes|no) ;;
72140 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
72141 esac
72142
72143 else
72144 enable_libstdcxx_threads=auto
72145 fi
72146
72147
72148
72149 if test x$enable_libstdcxx_threads = xauto ||
72150 test x$enable_libstdcxx_threads = xyes; then
72151
72152
72153 ac_ext=cpp
72154 ac_cpp='$CXXCPP $CPPFLAGS'
72155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72158
72159
72160 ac_save_CXXFLAGS="$CXXFLAGS"
72161 CXXFLAGS="$CXXFLAGS -fno-exceptions \
72162 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
72163
72164 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
72165 case $target_thread_file in
72166 posix)
72167 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
72168 esac
72169
72170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
72171 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
72172
72173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72174 /* end confdefs.h. */
72175 #include <unistd.h>
72176 int
72177 main ()
72178 {
72179
72180 // In case of POSIX threads check _POSIX_TIMEOUTS.
72181 #if (defined(_PTHREADS) \
72182 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
72183 #error
72184 #endif
72185
72186 ;
72187 return 0;
72188 }
72189 _ACEOF
72190 if ac_fn_cxx_try_compile "$LINENO"; then :
72191 ac_gthread_use_mutex_timedlock=1
72192 else
72193 ac_gthread_use_mutex_timedlock=0
72194 fi
72195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72196
72197
72198 cat >>confdefs.h <<_ACEOF
72199 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
72200 _ACEOF
72201
72202
72203 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
72204 else res_mutex_timedlock=no ; fi
72205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
72206 $as_echo "$res_mutex_timedlock" >&6; }
72207
72208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
72209 $as_echo_n "checking for gthreads library... " >&6; }
72210
72211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72212 /* end confdefs.h. */
72213 #include "gthr.h"
72214 int
72215 main ()
72216 {
72217
72218 #ifndef __GTHREADS_CXX0X
72219 #error
72220 #endif
72221
72222 ;
72223 return 0;
72224 }
72225 _ACEOF
72226 if ac_fn_cxx_try_compile "$LINENO"; then :
72227 case $target_os in
72228 # gthreads support breaks symbol versioning on Solaris 9 (PR
72229 # libstdc++/52189).
72230 solaris2.9*)
72231 if test x$enable_symvers = xno; then
72232 ac_has_gthreads=yes
72233 elif test x$enable_libstdcxx_threads = xyes; then
72234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
72235 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
72236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
72237 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
72238 ac_has_gthreads=yes
72239 else
72240 ac_has_gthreads=no
72241 fi
72242 ;;
72243 *)
72244 ac_has_gthreads=yes
72245 ;;
72246 esac
72247 else
72248 ac_has_gthreads=no
72249 fi
72250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72251 else
72252 ac_has_gthreads=no
72253 fi
72254
72255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
72256 $as_echo "$ac_has_gthreads" >&6; }
72257
72258 if test x"$ac_has_gthreads" = x"yes"; then
72259
72260 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
72261
72262 fi
72263
72264 CXXFLAGS="$ac_save_CXXFLAGS"
72265 ac_ext=c
72266 ac_cpp='$CPP $CPPFLAGS'
72267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72270
72271
72272
72273 # Define documentation rules conditionally.
72274
72275 # See if makeinfo has been installed and is modern enough
72276 # that we can use it.
72277
72278 # Extract the first word of "makeinfo", so it can be a program name with args.
72279 set dummy makeinfo; ac_word=$2
72280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72281 $as_echo_n "checking for $ac_word... " >&6; }
72282 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
72283 $as_echo_n "(cached) " >&6
72284 else
72285 if test -n "$MAKEINFO"; then
72286 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
72287 else
72288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72289 for as_dir in $PATH
72290 do
72291 IFS=$as_save_IFS
72292 test -z "$as_dir" && as_dir=.
72293 for ac_exec_ext in '' $ac_executable_extensions; do
72294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72295 ac_cv_prog_MAKEINFO="makeinfo"
72296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72297 break 2
72298 fi
72299 done
72300 done
72301 IFS=$as_save_IFS
72302
72303 fi
72304 fi
72305 MAKEINFO=$ac_cv_prog_MAKEINFO
72306 if test -n "$MAKEINFO"; then
72307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
72308 $as_echo "$MAKEINFO" >&6; }
72309 else
72310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72311 $as_echo "no" >&6; }
72312 fi
72313
72314
72315 if test -n "$MAKEINFO"; then
72316 # Found it, now check the version.
72317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
72318 $as_echo_n "checking for modern makeinfo... " >&6; }
72319 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
72320 $as_echo_n "(cached) " >&6
72321 else
72322 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
72323 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
72324
72325 case $ac_prog_version in
72326 '') gcc_cv_prog_makeinfo_modern=no;;
72327 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
72328 *) gcc_cv_prog_makeinfo_modern=no;;
72329 esac
72330
72331 fi
72332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
72333 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
72334 else
72335 gcc_cv_prog_makeinfo_modern=no
72336 fi
72337 if test $gcc_cv_prog_makeinfo_modern = no; then
72338 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
72339 fi
72340
72341 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
72342 BUILD_INFO_TRUE=
72343 BUILD_INFO_FALSE='#'
72344 else
72345 BUILD_INFO_TRUE='#'
72346 BUILD_INFO_FALSE=
72347 fi
72348
72349
72350 # Check for doxygen
72351 # Extract the first word of "doxygen", so it can be a program name with args.
72352 set dummy doxygen; ac_word=$2
72353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72354 $as_echo_n "checking for $ac_word... " >&6; }
72355 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
72356 $as_echo_n "(cached) " >&6
72357 else
72358 if test -n "$DOXYGEN"; then
72359 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
72360 else
72361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72362 for as_dir in $PATH
72363 do
72364 IFS=$as_save_IFS
72365 test -z "$as_dir" && as_dir=.
72366 for ac_exec_ext in '' $ac_executable_extensions; do
72367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72368 ac_cv_prog_DOXYGEN="yes"
72369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72370 break 2
72371 fi
72372 done
72373 done
72374 IFS=$as_save_IFS
72375
72376 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
72377 fi
72378 fi
72379 DOXYGEN=$ac_cv_prog_DOXYGEN
72380 if test -n "$DOXYGEN"; then
72381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
72382 $as_echo "$DOXYGEN" >&6; }
72383 else
72384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72385 $as_echo "no" >&6; }
72386 fi
72387
72388
72389 # Extract the first word of "dot", so it can be a program name with args.
72390 set dummy dot; ac_word=$2
72391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72392 $as_echo_n "checking for $ac_word... " >&6; }
72393 if test "${ac_cv_prog_DOT+set}" = set; then :
72394 $as_echo_n "(cached) " >&6
72395 else
72396 if test -n "$DOT"; then
72397 ac_cv_prog_DOT="$DOT" # Let the user override the test.
72398 else
72399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72400 for as_dir in $PATH
72401 do
72402 IFS=$as_save_IFS
72403 test -z "$as_dir" && as_dir=.
72404 for ac_exec_ext in '' $ac_executable_extensions; do
72405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72406 ac_cv_prog_DOT="yes"
72407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72408 break 2
72409 fi
72410 done
72411 done
72412 IFS=$as_save_IFS
72413
72414 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72415 fi
72416 fi
72417 DOT=$ac_cv_prog_DOT
72418 if test -n "$DOT"; then
72419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72420 $as_echo "$DOT" >&6; }
72421 else
72422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72423 $as_echo "no" >&6; }
72424 fi
72425
72426
72427
72428 # Check for docbook
72429 # Extract the first word of "xsltproc", so it can be a program name with args.
72430 set dummy xsltproc; ac_word=$2
72431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72432 $as_echo_n "checking for $ac_word... " >&6; }
72433 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
72434 $as_echo_n "(cached) " >&6
72435 else
72436 if test -n "$XSLTPROC"; then
72437 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72438 else
72439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72440 for as_dir in $PATH
72441 do
72442 IFS=$as_save_IFS
72443 test -z "$as_dir" && as_dir=.
72444 for ac_exec_ext in '' $ac_executable_extensions; do
72445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72446 ac_cv_prog_XSLTPROC="yes"
72447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72448 break 2
72449 fi
72450 done
72451 done
72452 IFS=$as_save_IFS
72453
72454 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72455 fi
72456 fi
72457 XSLTPROC=$ac_cv_prog_XSLTPROC
72458 if test -n "$XSLTPROC"; then
72459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72460 $as_echo "$XSLTPROC" >&6; }
72461 else
72462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72463 $as_echo "no" >&6; }
72464 fi
72465
72466
72467 # Extract the first word of "xmllint", so it can be a program name with args.
72468 set dummy xmllint; ac_word=$2
72469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72470 $as_echo_n "checking for $ac_word... " >&6; }
72471 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
72472 $as_echo_n "(cached) " >&6
72473 else
72474 if test -n "$XMLLINT"; then
72475 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72476 else
72477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72478 for as_dir in $PATH
72479 do
72480 IFS=$as_save_IFS
72481 test -z "$as_dir" && as_dir=.
72482 for ac_exec_ext in '' $ac_executable_extensions; do
72483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72484 ac_cv_prog_XMLLINT="yes"
72485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72486 break 2
72487 fi
72488 done
72489 done
72490 IFS=$as_save_IFS
72491
72492 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72493 fi
72494 fi
72495 XMLLINT=$ac_cv_prog_XMLLINT
72496 if test -n "$XMLLINT"; then
72497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72498 $as_echo "$XMLLINT" >&6; }
72499 else
72500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72501 $as_echo "no" >&6; }
72502 fi
72503
72504
72505
72506
72507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72508 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72509 glibcxx_stylesheets=no
72510 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
72511 glibcxx_stylesheets=yes
72512 fi
72513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72514 $as_echo "$glibcxx_stylesheets" >&6; }
72515
72516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72517 $as_echo_n "checking for local stylesheet directory... " >&6; }
72518 glibcxx_local_stylesheets=no
72519 if test x"$glibcxx_stylesheets" = x"yes"; then
72520 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
72521 glibcxx_local_stylesheets=yes
72522 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
72523 fi
72524 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
72525 glibcxx_local_stylesheets=yes
72526 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
72527 fi
72528 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
72529 glibcxx_local_stylesheets=yes
72530 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
72531 fi
72532 fi
72533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72534 $as_echo "$glibcxx_local_stylesheets" >&6; }
72535
72536 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72537
72538 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72539 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72540 else
72541 glibcxx_stylesheets=no
72542 fi
72543
72544 # Check for epub3 dependencies.
72545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72546 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72547 glibcxx_epub_stylesheets=no
72548 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72549 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72550 glibcxx_epub_stylesheets=yes
72551 fi
72552 fi
72553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72554 $as_echo "$glibcxx_epub_stylesheets" >&6; }
72555 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72556 BUILD_EPUB_TRUE=
72557 BUILD_EPUB_FALSE='#'
72558 else
72559 BUILD_EPUB_TRUE='#'
72560 BUILD_EPUB_FALSE=
72561 fi
72562
72563
72564
72565
72566 # Check for xml/html dependencies.
72567 if test $ac_cv_prog_DOXYGEN = "yes" &&
72568 test $ac_cv_prog_DOT = "yes" &&
72569 test $ac_cv_prog_XSLTPROC = "yes" &&
72570 test $ac_cv_prog_XMLLINT = "yes" &&
72571 test $glibcxx_stylesheets = "yes"; then
72572 BUILD_XML_TRUE=
72573 BUILD_XML_FALSE='#'
72574 else
72575 BUILD_XML_TRUE='#'
72576 BUILD_XML_FALSE=
72577 fi
72578
72579
72580 if test $ac_cv_prog_DOXYGEN = "yes" &&
72581 test $ac_cv_prog_DOT = "yes" &&
72582 test $ac_cv_prog_XSLTPROC = "yes" &&
72583 test $ac_cv_prog_XMLLINT = "yes" &&
72584 test $glibcxx_stylesheets = "yes"; then
72585 BUILD_HTML_TRUE=
72586 BUILD_HTML_FALSE='#'
72587 else
72588 BUILD_HTML_TRUE='#'
72589 BUILD_HTML_FALSE=
72590 fi
72591
72592
72593 # Check for man dependencies.
72594 if test $ac_cv_prog_DOXYGEN = "yes" &&
72595 test $ac_cv_prog_DOT = "yes"; then
72596 BUILD_MAN_TRUE=
72597 BUILD_MAN_FALSE='#'
72598 else
72599 BUILD_MAN_TRUE='#'
72600 BUILD_MAN_FALSE=
72601 fi
72602
72603
72604 # Check for pdf dependencies.
72605 # Extract the first word of "dblatex", so it can be a program name with args.
72606 set dummy dblatex; ac_word=$2
72607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72608 $as_echo_n "checking for $ac_word... " >&6; }
72609 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
72610 $as_echo_n "(cached) " >&6
72611 else
72612 if test -n "$DBLATEX"; then
72613 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72614 else
72615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72616 for as_dir in $PATH
72617 do
72618 IFS=$as_save_IFS
72619 test -z "$as_dir" && as_dir=.
72620 for ac_exec_ext in '' $ac_executable_extensions; do
72621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72622 ac_cv_prog_DBLATEX="yes"
72623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72624 break 2
72625 fi
72626 done
72627 done
72628 IFS=$as_save_IFS
72629
72630 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72631 fi
72632 fi
72633 DBLATEX=$ac_cv_prog_DBLATEX
72634 if test -n "$DBLATEX"; then
72635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72636 $as_echo "$DBLATEX" >&6; }
72637 else
72638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72639 $as_echo "no" >&6; }
72640 fi
72641
72642
72643 # Extract the first word of "pdflatex", so it can be a program name with args.
72644 set dummy pdflatex; ac_word=$2
72645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72646 $as_echo_n "checking for $ac_word... " >&6; }
72647 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
72648 $as_echo_n "(cached) " >&6
72649 else
72650 if test -n "$PDFLATEX"; then
72651 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72652 else
72653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72654 for as_dir in $PATH
72655 do
72656 IFS=$as_save_IFS
72657 test -z "$as_dir" && as_dir=.
72658 for ac_exec_ext in '' $ac_executable_extensions; do
72659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72660 ac_cv_prog_PDFLATEX="yes"
72661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72662 break 2
72663 fi
72664 done
72665 done
72666 IFS=$as_save_IFS
72667
72668 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72669 fi
72670 fi
72671 PDFLATEX=$ac_cv_prog_PDFLATEX
72672 if test -n "$PDFLATEX"; then
72673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72674 $as_echo "$PDFLATEX" >&6; }
72675 else
72676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72677 $as_echo "no" >&6; }
72678 fi
72679
72680
72681 if test $ac_cv_prog_DBLATEX = "yes" &&
72682 test $ac_cv_prog_PDFLATEX = "yes"; then
72683 BUILD_PDF_TRUE=
72684 BUILD_PDF_FALSE='#'
72685 else
72686 BUILD_PDF_TRUE='#'
72687 BUILD_PDF_FALSE=
72688 fi
72689
72690
72691
72692 # Propagate the target-specific source directories through the build chain.
72693 ATOMICITY_SRCDIR=config/${atomicity_dir}
72694 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72695 ATOMIC_FLAGS=${atomic_flags}
72696 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
72697 OS_INC_SRCDIR=config/${os_include_dir}
72698 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
72699 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
72700 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
72701 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
72702
72703
72704
72705
72706
72707
72708
72709
72710
72711
72712
72713 # Determine cross-compile flags and AM_CONDITIONALs.
72714 #AC_SUBST(GLIBCXX_IS_NATIVE)
72715 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72716 if test $is_hosted = yes; then
72717 GLIBCXX_HOSTED_TRUE=
72718 GLIBCXX_HOSTED_FALSE='#'
72719 else
72720 GLIBCXX_HOSTED_TRUE='#'
72721 GLIBCXX_HOSTED_FALSE=
72722 fi
72723
72724
72725 if test $enable_libstdcxx_pch = yes; then
72726 GLIBCXX_BUILD_PCH_TRUE=
72727 GLIBCXX_BUILD_PCH_FALSE='#'
72728 else
72729 GLIBCXX_BUILD_PCH_TRUE='#'
72730 GLIBCXX_BUILD_PCH_FALSE=
72731 fi
72732
72733
72734 if test $enable_cheaders = c; then
72735 GLIBCXX_C_HEADERS_C_TRUE=
72736 GLIBCXX_C_HEADERS_C_FALSE='#'
72737 else
72738 GLIBCXX_C_HEADERS_C_TRUE='#'
72739 GLIBCXX_C_HEADERS_C_FALSE=
72740 fi
72741
72742
72743 if test $enable_cheaders = c_std; then
72744 GLIBCXX_C_HEADERS_C_STD_TRUE=
72745 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72746 else
72747 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72748 GLIBCXX_C_HEADERS_C_STD_FALSE=
72749 fi
72750
72751
72752 if test $enable_cheaders = c_global; then
72753 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
72754 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
72755 else
72756 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
72757 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
72758 fi
72759
72760
72761 if test $c_compatibility = yes; then
72762 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72763 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72764 else
72765 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72766 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
72767 fi
72768
72769
72770 if test $enable_libstdcxx_debug = yes; then
72771 GLIBCXX_BUILD_DEBUG_TRUE=
72772 GLIBCXX_BUILD_DEBUG_FALSE='#'
72773 else
72774 GLIBCXX_BUILD_DEBUG_TRUE='#'
72775 GLIBCXX_BUILD_DEBUG_FALSE=
72776 fi
72777
72778
72779 if test $enable_extern_template = yes; then
72780 ENABLE_EXTERN_TEMPLATE_TRUE=
72781 ENABLE_EXTERN_TEMPLATE_FALSE='#'
72782 else
72783 ENABLE_EXTERN_TEMPLATE_TRUE='#'
72784 ENABLE_EXTERN_TEMPLATE_FALSE=
72785 fi
72786
72787
72788 if test $python_mod_dir != no; then
72789 ENABLE_PYTHONDIR_TRUE=
72790 ENABLE_PYTHONDIR_FALSE='#'
72791 else
72792 ENABLE_PYTHONDIR_TRUE='#'
72793 ENABLE_PYTHONDIR_FALSE=
72794 fi
72795
72796
72797 if test $enable_werror = yes; then
72798 ENABLE_WERROR_TRUE=
72799 ENABLE_WERROR_FALSE='#'
72800 else
72801 ENABLE_WERROR_TRUE='#'
72802 ENABLE_WERROR_FALSE=
72803 fi
72804
72805
72806 if test $enable_symvers != no; then
72807 ENABLE_SYMVERS_TRUE=
72808 ENABLE_SYMVERS_FALSE='#'
72809 else
72810 ENABLE_SYMVERS_TRUE='#'
72811 ENABLE_SYMVERS_FALSE=
72812 fi
72813
72814
72815 if test $enable_symvers = gnu; then
72816 ENABLE_SYMVERS_GNU_TRUE=
72817 ENABLE_SYMVERS_GNU_FALSE='#'
72818 else
72819 ENABLE_SYMVERS_GNU_TRUE='#'
72820 ENABLE_SYMVERS_GNU_FALSE=
72821 fi
72822
72823
72824 if test $enable_symvers = gnu-versioned-namespace; then
72825 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
72826 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
72827 else
72828 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
72829 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
72830 fi
72831
72832
72833 if test $enable_symvers = darwin; then
72834 ENABLE_SYMVERS_DARWIN_TRUE=
72835 ENABLE_SYMVERS_DARWIN_FALSE='#'
72836 else
72837 ENABLE_SYMVERS_DARWIN_TRUE='#'
72838 ENABLE_SYMVERS_DARWIN_FALSE=
72839 fi
72840
72841
72842 if test $enable_symvers = sun; then
72843 ENABLE_SYMVERS_SUN_TRUE=
72844 ENABLE_SYMVERS_SUN_FALSE='#'
72845 else
72846 ENABLE_SYMVERS_SUN_TRUE='#'
72847 ENABLE_SYMVERS_SUN_FALSE=
72848 fi
72849
72850
72851 if test $enable_libstdcxx_visibility = yes; then
72852 ENABLE_VISIBILITY_TRUE=
72853 ENABLE_VISIBILITY_FALSE='#'
72854 else
72855 ENABLE_VISIBILITY_TRUE='#'
72856 ENABLE_VISIBILITY_FALSE=
72857 fi
72858
72859
72860 if test $ac_ldbl_compat = yes; then
72861 GLIBCXX_LDBL_COMPAT_TRUE=
72862 GLIBCXX_LDBL_COMPAT_FALSE='#'
72863 else
72864 GLIBCXX_LDBL_COMPAT_TRUE='#'
72865 GLIBCXX_LDBL_COMPAT_FALSE=
72866 fi
72867
72868
72869
72870
72871 cat >confcache <<\_ACEOF
72872 # This file is a shell script that caches the results of configure
72873 # tests run on this system so they can be shared between configure
72874 # scripts and configure runs, see configure's option --config-cache.
72875 # It is not useful on other systems. If it contains results you don't
72876 # want to keep, you may remove or edit it.
72877 #
72878 # config.status only pays attention to the cache file if you give it
72879 # the --recheck option to rerun configure.
72880 #
72881 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72882 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72883 # following values.
72884
72885 _ACEOF
72886
72887 # The following way of writing the cache mishandles newlines in values,
72888 # but we know of no workaround that is simple, portable, and efficient.
72889 # So, we kill variables containing newlines.
72890 # Ultrix sh set writes to stderr and can't be redirected directly,
72891 # and sets the high bit in the cache file unless we assign to the vars.
72892 (
72893 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72894 eval ac_val=\$$ac_var
72895 case $ac_val in #(
72896 *${as_nl}*)
72897 case $ac_var in #(
72898 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72899 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72900 esac
72901 case $ac_var in #(
72902 _ | IFS | as_nl) ;; #(
72903 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72904 *) { eval $ac_var=; unset $ac_var;} ;;
72905 esac ;;
72906 esac
72907 done
72908
72909 (set) 2>&1 |
72910 case $as_nl`(ac_space=' '; set) 2>&1` in #(
72911 *${as_nl}ac_space=\ *)
72912 # `set' does not quote correctly, so add quotes: double-quote
72913 # substitution turns \\\\ into \\, and sed turns \\ into \.
72914 sed -n \
72915 "s/'/'\\\\''/g;
72916 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72917 ;; #(
72918 *)
72919 # `set' quotes correctly as required by POSIX, so do not add quotes.
72920 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72921 ;;
72922 esac |
72923 sort
72924 ) |
72925 sed '
72926 /^ac_cv_env_/b end
72927 t clear
72928 :clear
72929 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72930 t end
72931 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72932 :end' >>confcache
72933 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72934 if test -w "$cache_file"; then
72935 test "x$cache_file" != "x/dev/null" &&
72936 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72937 $as_echo "$as_me: updating cache $cache_file" >&6;}
72938 cat confcache >$cache_file
72939 else
72940 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72941 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72942 fi
72943 fi
72944 rm -f confcache
72945
72946 if test ${multilib} = yes; then
72947 multilib_arg="--enable-multilib"
72948 else
72949 multilib_arg=
72950 fi
72951
72952 # Export all the install information.
72953
72954 glibcxx_toolexecdir=no
72955 glibcxx_toolexeclibdir=no
72956 glibcxx_prefixdir=$prefix
72957
72958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
72959 $as_echo_n "checking for gxx-include-dir... " >&6; }
72960
72961 # Check whether --with-gxx-include-dir was given.
72962 if test "${with_gxx_include_dir+set}" = set; then :
72963 withval=$with_gxx_include_dir; case "$withval" in
72964 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
72965 no) gxx_include_dir=no ;;
72966 *) gxx_include_dir=$withval ;;
72967 esac
72968 else
72969 gxx_include_dir=no
72970 fi
72971
72972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
72973 $as_echo "$gxx_include_dir" >&6; }
72974
72975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
72976 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
72977 # Check whether --enable-version-specific-runtime-libs was given.
72978 if test "${enable_version_specific_runtime_libs+set}" = set; then :
72979 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
72980 yes) version_specific_libs=yes ;;
72981 no) version_specific_libs=no ;;
72982 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
72983 esac
72984 else
72985 version_specific_libs=no
72986 fi
72987
72988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
72989 $as_echo "$version_specific_libs" >&6; }
72990
72991 # Default case for install directory for include files.
72992 if test $version_specific_libs = no && test $gxx_include_dir = no; then
72993 gxx_include_dir='include/c++/${gcc_version}'
72994 if test -n "$with_cross_host" &&
72995 test x"$with_cross_host" != x"no"; then
72996 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
72997 else
72998 gxx_include_dir='${prefix}/'"$gxx_include_dir"
72999 fi
73000 fi
73001
73002 # Version-specific runtime libs processing.
73003 if test $version_specific_libs = yes; then
73004 # Need the gcc compiler version to know where to install libraries
73005 # and header files if --enable-version-specific-runtime-libs option
73006 # is selected. FIXME: these variables are misnamed, there are
73007 # no executables installed in _toolexecdir or _toolexeclibdir.
73008 if test x"$gxx_include_dir" = x"no"; then
73009 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
73010 fi
73011 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73012 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
73013 fi
73014
73015 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
73016 # Install a library built with a cross compiler in tooldir, not libdir.
73017 if test x"$glibcxx_toolexecdir" = x"no"; then
73018 if test -n "$with_cross_host" &&
73019 test x"$with_cross_host" != x"no"; then
73020 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
73021 glibcxx_toolexeclibdir='${toolexecdir}/lib'
73022 else
73023 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73024 glibcxx_toolexeclibdir='${libdir}'
73025 fi
73026 multi_os_directory=`$CXX -print-multi-os-directory`
73027 case $multi_os_directory in
73028 .) ;; # Avoid trailing /.
73029 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
73030 esac
73031 fi
73032
73033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
73034 $as_echo_n "checking for install location... " >&6; }
73035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73036 $as_echo "$gxx_include_dir" >&6; }
73037
73038
73039
73040
73041
73042
73043
73044 # Export all the include and flag information to Makefiles.
73045
73046 # Used for every C++ compile we perform.
73047 GLIBCXX_INCLUDES="\
73048 -I$glibcxx_builddir/include/$host_alias \
73049 -I$glibcxx_builddir/include \
73050 -I$glibcxx_srcdir/libsupc++"
73051
73052 # For Canadian crosses, pick this up too.
73053 if test $CANADIAN = yes; then
73054 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73055 fi
73056
73057 # Stuff in the actual top level. Currently only used by libsupc++ to
73058 # get unwind* headers from the libgcc dir.
73059 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
73060 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
73061
73062 # Now, export this to all the little Makefiles....
73063
73064
73065
73066
73067 # Optimization flags that are probably a good idea for thrill-seekers. Just
73068 # uncomment the lines below and make, everything else is ready to go...
73069 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
73070 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73071
73072
73073 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
73074
73075
73076
73077 ac_config_files="$ac_config_files Makefile"
73078
73079 ac_config_files="$ac_config_files scripts/testsuite_flags"
73080
73081 ac_config_files="$ac_config_files scripts/extract_symvers"
73082
73083 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
73084
73085
73086 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
73087 # that multilib installs will end up installed in the correct place.
73088 # The testsuite needs it for multilib-aware ABI baseline files.
73089 # To work around this not being passed down from config-ml.in ->
73090 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
73091 # append it here. Only modify Makefiles that have just been created.
73092 #
73093 # Also, get rid of this simulated-VPATH thing that automake does.
73094 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"
73095
73096
73097 ac_config_commands="$ac_config_commands generate-headers"
73098
73099
73100 cat >confcache <<\_ACEOF
73101 # This file is a shell script that caches the results of configure
73102 # tests run on this system so they can be shared between configure
73103 # scripts and configure runs, see configure's option --config-cache.
73104 # It is not useful on other systems. If it contains results you don't
73105 # want to keep, you may remove or edit it.
73106 #
73107 # config.status only pays attention to the cache file if you give it
73108 # the --recheck option to rerun configure.
73109 #
73110 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73111 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73112 # following values.
73113
73114 _ACEOF
73115
73116 # The following way of writing the cache mishandles newlines in values,
73117 # but we know of no workaround that is simple, portable, and efficient.
73118 # So, we kill variables containing newlines.
73119 # Ultrix sh set writes to stderr and can't be redirected directly,
73120 # and sets the high bit in the cache file unless we assign to the vars.
73121 (
73122 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73123 eval ac_val=\$$ac_var
73124 case $ac_val in #(
73125 *${as_nl}*)
73126 case $ac_var in #(
73127 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73128 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73129 esac
73130 case $ac_var in #(
73131 _ | IFS | as_nl) ;; #(
73132 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73133 *) { eval $ac_var=; unset $ac_var;} ;;
73134 esac ;;
73135 esac
73136 done
73137
73138 (set) 2>&1 |
73139 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73140 *${as_nl}ac_space=\ *)
73141 # `set' does not quote correctly, so add quotes: double-quote
73142 # substitution turns \\\\ into \\, and sed turns \\ into \.
73143 sed -n \
73144 "s/'/'\\\\''/g;
73145 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73146 ;; #(
73147 *)
73148 # `set' quotes correctly as required by POSIX, so do not add quotes.
73149 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73150 ;;
73151 esac |
73152 sort
73153 ) |
73154 sed '
73155 /^ac_cv_env_/b end
73156 t clear
73157 :clear
73158 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73159 t end
73160 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73161 :end' >>confcache
73162 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73163 if test -w "$cache_file"; then
73164 test "x$cache_file" != "x/dev/null" &&
73165 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73166 $as_echo "$as_me: updating cache $cache_file" >&6;}
73167 cat confcache >$cache_file
73168 else
73169 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73170 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73171 fi
73172 fi
73173 rm -f confcache
73174
73175 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73176 # Let make expand exec_prefix.
73177 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73178
73179 DEFS=-DHAVE_CONFIG_H
73180
73181 ac_libobjs=
73182 ac_ltlibobjs=
73183 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73184 # 1. Remove the extension, and $U if already installed.
73185 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73186 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73187 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
73188 # will be set to the directory where LIBOBJS objects are built.
73189 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73190 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73191 done
73192 LIBOBJS=$ac_libobjs
73193
73194 LTLIBOBJS=$ac_ltlibobjs
73195
73196
73197 if test -n "$EXEEXT"; then
73198 am__EXEEXT_TRUE=
73199 am__EXEEXT_FALSE='#'
73200 else
73201 am__EXEEXT_TRUE='#'
73202 am__EXEEXT_FALSE=
73203 fi
73204
73205 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73206 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
73207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73208 fi
73209 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73210 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
73211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73212 fi
73213 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73214 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73216 fi
73217 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73218 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73220 fi
73221 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73222 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73224 fi
73225 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73226 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73228 fi
73229 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73230 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73232 fi
73233 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73234 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73236 fi
73237 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73238 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73240 fi
73241 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73242 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
73243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73244 fi
73245 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73246 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
73247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73248 fi
73249 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73250 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
73251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73252 fi
73253 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73254 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73256 fi
73257 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73258 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73260 fi
73261 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73262 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73264 fi
73265 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73266 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73268 fi
73269 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73270 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
73271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73272 fi
73273 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73274 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73276 fi
73277 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73278 as_fn_error "conditional \"BUILD_INFO\" was never defined.
73279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73280 fi
73281 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73282 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
73283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73284 fi
73285 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73286 as_fn_error "conditional \"BUILD_XML\" was never defined.
73287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73288 fi
73289 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73290 as_fn_error "conditional \"BUILD_HTML\" was never defined.
73291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73292 fi
73293 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73294 as_fn_error "conditional \"BUILD_MAN\" was never defined.
73295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73296 fi
73297 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73298 as_fn_error "conditional \"BUILD_PDF\" was never defined.
73299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73300 fi
73301
73302 : ${CONFIG_STATUS=./config.status}
73303 ac_write_fail=0
73304 ac_clean_files_save=$ac_clean_files
73305 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73306 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73307 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73308 as_write_fail=0
73309 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73310 #! $SHELL
73311 # Generated by $as_me.
73312 # Run this file to recreate the current configuration.
73313 # Compiler output produced by configure, useful for debugging
73314 # configure, is in config.log if it exists.
73315
73316 debug=false
73317 ac_cs_recheck=false
73318 ac_cs_silent=false
73319
73320 SHELL=\${CONFIG_SHELL-$SHELL}
73321 export SHELL
73322 _ASEOF
73323 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73324 ## -------------------- ##
73325 ## M4sh Initialization. ##
73326 ## -------------------- ##
73327
73328 # Be more Bourne compatible
73329 DUALCASE=1; export DUALCASE # for MKS sh
73330 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73331 emulate sh
73332 NULLCMD=:
73333 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73334 # is contrary to our usage. Disable this feature.
73335 alias -g '${1+"$@"}'='"$@"'
73336 setopt NO_GLOB_SUBST
73337 else
73338 case `(set -o) 2>/dev/null` in #(
73339 *posix*) :
73340 set -o posix ;; #(
73341 *) :
73342 ;;
73343 esac
73344 fi
73345
73346
73347 as_nl='
73348 '
73349 export as_nl
73350 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73351 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73352 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73353 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73354 # Prefer a ksh shell builtin over an external printf program on Solaris,
73355 # but without wasting forks for bash or zsh.
73356 if test -z "$BASH_VERSION$ZSH_VERSION" \
73357 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73358 as_echo='print -r --'
73359 as_echo_n='print -rn --'
73360 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73361 as_echo='printf %s\n'
73362 as_echo_n='printf %s'
73363 else
73364 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73365 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73366 as_echo_n='/usr/ucb/echo -n'
73367 else
73368 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73369 as_echo_n_body='eval
73370 arg=$1;
73371 case $arg in #(
73372 *"$as_nl"*)
73373 expr "X$arg" : "X\\(.*\\)$as_nl";
73374 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73375 esac;
73376 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73377 '
73378 export as_echo_n_body
73379 as_echo_n='sh -c $as_echo_n_body as_echo'
73380 fi
73381 export as_echo_body
73382 as_echo='sh -c $as_echo_body as_echo'
73383 fi
73384
73385 # The user is always right.
73386 if test "${PATH_SEPARATOR+set}" != set; then
73387 PATH_SEPARATOR=:
73388 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73389 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73390 PATH_SEPARATOR=';'
73391 }
73392 fi
73393
73394
73395 # IFS
73396 # We need space, tab and new line, in precisely that order. Quoting is
73397 # there to prevent editors from complaining about space-tab.
73398 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73399 # splitting by setting IFS to empty value.)
73400 IFS=" "" $as_nl"
73401
73402 # Find who we are. Look in the path if we contain no directory separator.
73403 case $0 in #((
73404 *[\\/]* ) as_myself=$0 ;;
73405 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73406 for as_dir in $PATH
73407 do
73408 IFS=$as_save_IFS
73409 test -z "$as_dir" && as_dir=.
73410 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73411 done
73412 IFS=$as_save_IFS
73413
73414 ;;
73415 esac
73416 # We did not find ourselves, most probably we were run as `sh COMMAND'
73417 # in which case we are not to be found in the path.
73418 if test "x$as_myself" = x; then
73419 as_myself=$0
73420 fi
73421 if test ! -f "$as_myself"; then
73422 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73423 exit 1
73424 fi
73425
73426 # Unset variables that we do not need and which cause bugs (e.g. in
73427 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
73428 # suppresses any "Segmentation fault" message there. '((' could
73429 # trigger a bug in pdksh 5.2.14.
73430 for as_var in BASH_ENV ENV MAIL MAILPATH
73431 do eval test x\${$as_var+set} = xset \
73432 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73433 done
73434 PS1='$ '
73435 PS2='> '
73436 PS4='+ '
73437
73438 # NLS nuisances.
73439 LC_ALL=C
73440 export LC_ALL
73441 LANGUAGE=C
73442 export LANGUAGE
73443
73444 # CDPATH.
73445 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73446
73447
73448 # as_fn_error ERROR [LINENO LOG_FD]
73449 # ---------------------------------
73450 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73451 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73452 # script with status $?, using 1 if that was 0.
73453 as_fn_error ()
73454 {
73455 as_status=$?; test $as_status -eq 0 && as_status=1
73456 if test "$3"; then
73457 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73458 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
73459 fi
73460 $as_echo "$as_me: error: $1" >&2
73461 as_fn_exit $as_status
73462 } # as_fn_error
73463
73464
73465 # as_fn_set_status STATUS
73466 # -----------------------
73467 # Set $? to STATUS, without forking.
73468 as_fn_set_status ()
73469 {
73470 return $1
73471 } # as_fn_set_status
73472
73473 # as_fn_exit STATUS
73474 # -----------------
73475 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73476 as_fn_exit ()
73477 {
73478 set +e
73479 as_fn_set_status $1
73480 exit $1
73481 } # as_fn_exit
73482
73483 # as_fn_unset VAR
73484 # ---------------
73485 # Portably unset VAR.
73486 as_fn_unset ()
73487 {
73488 { eval $1=; unset $1;}
73489 }
73490 as_unset=as_fn_unset
73491 # as_fn_append VAR VALUE
73492 # ----------------------
73493 # Append the text in VALUE to the end of the definition contained in VAR. Take
73494 # advantage of any shell optimizations that allow amortized linear growth over
73495 # repeated appends, instead of the typical quadratic growth present in naive
73496 # implementations.
73497 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73498 eval 'as_fn_append ()
73499 {
73500 eval $1+=\$2
73501 }'
73502 else
73503 as_fn_append ()
73504 {
73505 eval $1=\$$1\$2
73506 }
73507 fi # as_fn_append
73508
73509 # as_fn_arith ARG...
73510 # ------------------
73511 # Perform arithmetic evaluation on the ARGs, and store the result in the
73512 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73513 # must be portable across $(()) and expr.
73514 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73515 eval 'as_fn_arith ()
73516 {
73517 as_val=$(( $* ))
73518 }'
73519 else
73520 as_fn_arith ()
73521 {
73522 as_val=`expr "$@" || test $? -eq 1`
73523 }
73524 fi # as_fn_arith
73525
73526
73527 if expr a : '\(a\)' >/dev/null 2>&1 &&
73528 test "X`expr 00001 : '.*\(...\)'`" = X001; then
73529 as_expr=expr
73530 else
73531 as_expr=false
73532 fi
73533
73534 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73535 as_basename=basename
73536 else
73537 as_basename=false
73538 fi
73539
73540 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73541 as_dirname=dirname
73542 else
73543 as_dirname=false
73544 fi
73545
73546 as_me=`$as_basename -- "$0" ||
73547 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73548 X"$0" : 'X\(//\)$' \| \
73549 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73550 $as_echo X/"$0" |
73551 sed '/^.*\/\([^/][^/]*\)\/*$/{
73552 s//\1/
73553 q
73554 }
73555 /^X\/\(\/\/\)$/{
73556 s//\1/
73557 q
73558 }
73559 /^X\/\(\/\).*/{
73560 s//\1/
73561 q
73562 }
73563 s/.*/./; q'`
73564
73565 # Avoid depending upon Character Ranges.
73566 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73567 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73568 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73569 as_cr_digits='0123456789'
73570 as_cr_alnum=$as_cr_Letters$as_cr_digits
73571
73572 ECHO_C= ECHO_N= ECHO_T=
73573 case `echo -n x` in #(((((
73574 -n*)
73575 case `echo 'xy\c'` in
73576 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
73577 xy) ECHO_C='\c';;
73578 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
73579 ECHO_T=' ';;
73580 esac;;
73581 *)
73582 ECHO_N='-n';;
73583 esac
73584
73585 rm -f conf$$ conf$$.exe conf$$.file
73586 if test -d conf$$.dir; then
73587 rm -f conf$$.dir/conf$$.file
73588 else
73589 rm -f conf$$.dir
73590 mkdir conf$$.dir 2>/dev/null
73591 fi
73592 if (echo >conf$$.file) 2>/dev/null; then
73593 if ln -s conf$$.file conf$$ 2>/dev/null; then
73594 as_ln_s='ln -s'
73595 # ... but there are two gotchas:
73596 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73597 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73598 # In both cases, we have to default to `cp -p'.
73599 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73600 as_ln_s='cp -p'
73601 elif ln conf$$.file conf$$ 2>/dev/null; then
73602 as_ln_s=ln
73603 else
73604 as_ln_s='cp -p'
73605 fi
73606 else
73607 as_ln_s='cp -p'
73608 fi
73609 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73610 rmdir conf$$.dir 2>/dev/null
73611
73612
73613 # as_fn_mkdir_p
73614 # -------------
73615 # Create "$as_dir" as a directory, including parents if necessary.
73616 as_fn_mkdir_p ()
73617 {
73618
73619 case $as_dir in #(
73620 -*) as_dir=./$as_dir;;
73621 esac
73622 test -d "$as_dir" || eval $as_mkdir_p || {
73623 as_dirs=
73624 while :; do
73625 case $as_dir in #(
73626 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73627 *) as_qdir=$as_dir;;
73628 esac
73629 as_dirs="'$as_qdir' $as_dirs"
73630 as_dir=`$as_dirname -- "$as_dir" ||
73631 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73632 X"$as_dir" : 'X\(//\)[^/]' \| \
73633 X"$as_dir" : 'X\(//\)$' \| \
73634 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73635 $as_echo X"$as_dir" |
73636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73637 s//\1/
73638 q
73639 }
73640 /^X\(\/\/\)[^/].*/{
73641 s//\1/
73642 q
73643 }
73644 /^X\(\/\/\)$/{
73645 s//\1/
73646 q
73647 }
73648 /^X\(\/\).*/{
73649 s//\1/
73650 q
73651 }
73652 s/.*/./; q'`
73653 test -d "$as_dir" && break
73654 done
73655 test -z "$as_dirs" || eval "mkdir $as_dirs"
73656 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
73657
73658
73659 } # as_fn_mkdir_p
73660 if mkdir -p . 2>/dev/null; then
73661 as_mkdir_p='mkdir -p "$as_dir"'
73662 else
73663 test -d ./-p && rmdir ./-p
73664 as_mkdir_p=false
73665 fi
73666
73667 if test -x / >/dev/null 2>&1; then
73668 as_test_x='test -x'
73669 else
73670 if ls -dL / >/dev/null 2>&1; then
73671 as_ls_L_option=L
73672 else
73673 as_ls_L_option=
73674 fi
73675 as_test_x='
73676 eval sh -c '\''
73677 if test -d "$1"; then
73678 test -d "$1/.";
73679 else
73680 case $1 in #(
73681 -*)set "./$1";;
73682 esac;
73683 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
73684 ???[sx]*):;;*)false;;esac;fi
73685 '\'' sh
73686 '
73687 fi
73688 as_executable_p=$as_test_x
73689
73690 # Sed expression to map a string onto a valid CPP name.
73691 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73692
73693 # Sed expression to map a string onto a valid variable name.
73694 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73695
73696
73697 exec 6>&1
73698 ## ----------------------------------- ##
73699 ## Main body of $CONFIG_STATUS script. ##
73700 ## ----------------------------------- ##
73701 _ASEOF
73702 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
73703
73704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73705 # Save the log message, to keep $0 and so on meaningful, and to
73706 # report actual input values of CONFIG_FILES etc. instead of their
73707 # values after options handling.
73708 ac_log="
73709 This file was extended by package-unused $as_me version-unused, which was
73710 generated by GNU Autoconf 2.64. Invocation command line was
73711
73712 CONFIG_FILES = $CONFIG_FILES
73713 CONFIG_HEADERS = $CONFIG_HEADERS
73714 CONFIG_LINKS = $CONFIG_LINKS
73715 CONFIG_COMMANDS = $CONFIG_COMMANDS
73716 $ $0 $@
73717
73718 on `(hostname || uname -n) 2>/dev/null | sed 1q`
73719 "
73720
73721 _ACEOF
73722
73723 case $ac_config_files in *"
73724 "*) set x $ac_config_files; shift; ac_config_files=$*;;
73725 esac
73726
73727 case $ac_config_headers in *"
73728 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
73729 esac
73730
73731
73732 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73733 # Files that config.status was made for.
73734 config_files="$ac_config_files"
73735 config_headers="$ac_config_headers"
73736 config_commands="$ac_config_commands"
73737
73738 _ACEOF
73739
73740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73741 ac_cs_usage="\
73742 \`$as_me' instantiates files and other configuration actions
73743 from templates according to the current configuration. Unless the files
73744 and actions are specified as TAGs, all are instantiated by default.
73745
73746 Usage: $0 [OPTION]... [TAG]...
73747
73748 -h, --help print this help, then exit
73749 -V, --version print version number and configuration settings, then exit
73750 -q, --quiet, --silent
73751 do not print progress messages
73752 -d, --debug don't remove temporary files
73753 --recheck update $as_me by reconfiguring in the same conditions
73754 --file=FILE[:TEMPLATE]
73755 instantiate the configuration file FILE
73756 --header=FILE[:TEMPLATE]
73757 instantiate the configuration header FILE
73758
73759 Configuration files:
73760 $config_files
73761
73762 Configuration headers:
73763 $config_headers
73764
73765 Configuration commands:
73766 $config_commands
73767
73768 Report bugs to the package provider."
73769
73770 _ACEOF
73771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73772 ac_cs_version="\\
73773 package-unused config.status version-unused
73774 configured by $0, generated by GNU Autoconf 2.64,
73775 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
73776
73777 Copyright (C) 2009 Free Software Foundation, Inc.
73778 This config.status script is free software; the Free Software Foundation
73779 gives unlimited permission to copy, distribute and modify it."
73780
73781 ac_pwd='$ac_pwd'
73782 srcdir='$srcdir'
73783 INSTALL='$INSTALL'
73784 MKDIR_P='$MKDIR_P'
73785 AWK='$AWK'
73786 test -n "\$AWK" || AWK=awk
73787 _ACEOF
73788
73789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73790 # The default lists apply if the user does not specify any file.
73791 ac_need_defaults=:
73792 while test $# != 0
73793 do
73794 case $1 in
73795 --*=*)
73796 ac_option=`expr "X$1" : 'X\([^=]*\)='`
73797 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
73798 ac_shift=:
73799 ;;
73800 *)
73801 ac_option=$1
73802 ac_optarg=$2
73803 ac_shift=shift
73804 ;;
73805 esac
73806
73807 case $ac_option in
73808 # Handling of the options.
73809 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
73810 ac_cs_recheck=: ;;
73811 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
73812 $as_echo "$ac_cs_version"; exit ;;
73813 --debug | --debu | --deb | --de | --d | -d )
73814 debug=: ;;
73815 --file | --fil | --fi | --f )
73816 $ac_shift
73817 case $ac_optarg in
73818 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73819 esac
73820 as_fn_append CONFIG_FILES " '$ac_optarg'"
73821 ac_need_defaults=false;;
73822 --header | --heade | --head | --hea )
73823 $ac_shift
73824 case $ac_optarg in
73825 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
73826 esac
73827 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
73828 ac_need_defaults=false;;
73829 --he | --h)
73830 # Conflict between --help and --header
73831 as_fn_error "ambiguous option: \`$1'
73832 Try \`$0 --help' for more information.";;
73833 --help | --hel | -h )
73834 $as_echo "$ac_cs_usage"; exit ;;
73835 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
73836 | -silent | --silent | --silen | --sile | --sil | --si | --s)
73837 ac_cs_silent=: ;;
73838
73839 # This is an error.
73840 -*) as_fn_error "unrecognized option: \`$1'
73841 Try \`$0 --help' for more information." ;;
73842
73843 *) as_fn_append ac_config_targets " $1"
73844 ac_need_defaults=false ;;
73845
73846 esac
73847 shift
73848 done
73849
73850 ac_configure_extra_args=
73851
73852 if $ac_cs_silent; then
73853 exec 6>/dev/null
73854 ac_configure_extra_args="$ac_configure_extra_args --silent"
73855 fi
73856
73857 _ACEOF
73858 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73859 if \$ac_cs_recheck; then
73860 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
73861 shift
73862 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
73863 CONFIG_SHELL='$SHELL'
73864 export CONFIG_SHELL
73865 exec "\$@"
73866 fi
73867
73868 _ACEOF
73869 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73870 exec 5>>config.log
73871 {
73872 echo
73873 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
73874 ## Running $as_me. ##
73875 _ASBOX
73876 $as_echo "$ac_log"
73877 } >&5
73878
73879 _ACEOF
73880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73881 #
73882 # INIT-COMMANDS
73883 #
73884
73885 srcdir="$srcdir"
73886 host="$host"
73887 target="$target"
73888 with_multisubdir="$with_multisubdir"
73889 with_multisrctop="$with_multisrctop"
73890 with_target_subdir="$with_target_subdir"
73891 ac_configure_args="${multilib_arg} ${ac_configure_args}"
73892 multi_basedir="$multi_basedir"
73893 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
73894 CC="$CC"
73895 CXX="$CXX"
73896 GFORTRAN="$GFORTRAN"
73897 GCJ="$GCJ"
73898
73899
73900 # The HP-UX ksh and POSIX shell print the target directory to stdout
73901 # if CDPATH is set.
73902 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73903
73904 sed_quote_subst='$sed_quote_subst'
73905 double_quote_subst='$double_quote_subst'
73906 delay_variable_subst='$delay_variable_subst'
73907 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
73908 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
73909 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
73910 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
73911 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
73912 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
73913 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
73914 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
73915 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
73916 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
73917 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
73918 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
73919 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
73920 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
73921 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
73922 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
73923 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
73924 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
73925 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
73926 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
73927 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
73928 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
73929 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
73930 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
73931 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
73932 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
73933 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
73934 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
73935 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
73936 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
73937 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
73938 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
73939 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
73940 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
73941 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
73942 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
73943 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
73944 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
73945 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
73946 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
73947 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
73948 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
73949 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
73950 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
73951 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
73952 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
73953 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
73954 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
73955 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"`'
73956 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
73957 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
73958 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
73959 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
73960 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
73961 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
73962 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
73963 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
73964 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
73965 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
73966 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
73967 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
73968 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
73969 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
73970 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
73971 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
73972 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
73973 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
73974 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
73975 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
73976 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
73977 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
73978 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
73979 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
73980 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
73981 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
73982 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
73983 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
73984 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
73985 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
73986 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
73987 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
73988 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
73989 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
73990 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
73991 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
73992 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
73993 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
73994 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
73995 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
73996 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
73997 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
73998 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
73999 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
74000 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
74001 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
74002 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
74003 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
74004 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
74005 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
74006 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
74007 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
74008 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
74009 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
74010 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
74011 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
74012 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
74013 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
74014 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74015 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74016 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
74017 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
74018 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
74019 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
74020 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
74021 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
74022 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
74023 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
74024 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
74025 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
74026 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
74027 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
74028 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
74029 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
74030 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
74031 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
74032 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
74033 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
74034 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
74035 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74036 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74037 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
74038 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
74039 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
74040 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
74041 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
74042 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
74043 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
74044 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
74045 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
74046 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74047 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74048 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
74049 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74050 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74051 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74052 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74053 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74054 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74055 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
74056 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74057 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74058 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74059 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
74060 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
74061 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
74062 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74063 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74064 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74065 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74066 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74067 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74068 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74069 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74070 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74071 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74072 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74073 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74074 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74075 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74076 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74077 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74078 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74079 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74080 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74081 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74082
74083 LTCC='$LTCC'
74084 LTCFLAGS='$LTCFLAGS'
74085 compiler='$compiler_DEFAULT'
74086
74087 # A function that is used when there is no print builtin or printf.
74088 func_fallback_echo ()
74089 {
74090 eval 'cat <<_LTECHO_EOF
74091 \$1
74092 _LTECHO_EOF'
74093 }
74094
74095 # Quote evaled strings.
74096 for var in SHELL \
74097 ECHO \
74098 SED \
74099 GREP \
74100 EGREP \
74101 FGREP \
74102 LD \
74103 NM \
74104 LN_S \
74105 lt_SP2NL \
74106 lt_NL2SP \
74107 reload_flag \
74108 OBJDUMP \
74109 deplibs_check_method \
74110 file_magic_cmd \
74111 AR \
74112 AR_FLAGS \
74113 STRIP \
74114 RANLIB \
74115 CC \
74116 CFLAGS \
74117 compiler \
74118 lt_cv_sys_global_symbol_pipe \
74119 lt_cv_sys_global_symbol_to_cdecl \
74120 lt_cv_sys_global_symbol_to_c_name_address \
74121 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74122 lt_prog_compiler_no_builtin_flag \
74123 lt_prog_compiler_wl \
74124 lt_prog_compiler_pic \
74125 lt_prog_compiler_static \
74126 lt_cv_prog_compiler_c_o \
74127 need_locks \
74128 DSYMUTIL \
74129 NMEDIT \
74130 LIPO \
74131 OTOOL \
74132 OTOOL64 \
74133 shrext_cmds \
74134 export_dynamic_flag_spec \
74135 whole_archive_flag_spec \
74136 compiler_needs_object \
74137 with_gnu_ld \
74138 allow_undefined_flag \
74139 no_undefined_flag \
74140 hardcode_libdir_flag_spec \
74141 hardcode_libdir_flag_spec_ld \
74142 hardcode_libdir_separator \
74143 fix_srcfile_path \
74144 exclude_expsyms \
74145 include_expsyms \
74146 file_list_spec \
74147 variables_saved_for_relink \
74148 libname_spec \
74149 library_names_spec \
74150 soname_spec \
74151 install_override_mode \
74152 finish_eval \
74153 old_striplib \
74154 striplib \
74155 compiler_lib_search_dirs \
74156 predep_objects \
74157 postdep_objects \
74158 predeps \
74159 postdeps \
74160 compiler_lib_search_path \
74161 LD_CXX \
74162 reload_flag_CXX \
74163 compiler_CXX \
74164 lt_prog_compiler_no_builtin_flag_CXX \
74165 lt_prog_compiler_wl_CXX \
74166 lt_prog_compiler_pic_CXX \
74167 lt_prog_compiler_static_CXX \
74168 lt_cv_prog_compiler_c_o_CXX \
74169 export_dynamic_flag_spec_CXX \
74170 whole_archive_flag_spec_CXX \
74171 compiler_needs_object_CXX \
74172 with_gnu_ld_CXX \
74173 allow_undefined_flag_CXX \
74174 no_undefined_flag_CXX \
74175 hardcode_libdir_flag_spec_CXX \
74176 hardcode_libdir_flag_spec_ld_CXX \
74177 hardcode_libdir_separator_CXX \
74178 fix_srcfile_path_CXX \
74179 exclude_expsyms_CXX \
74180 include_expsyms_CXX \
74181 file_list_spec_CXX \
74182 compiler_lib_search_dirs_CXX \
74183 predep_objects_CXX \
74184 postdep_objects_CXX \
74185 predeps_CXX \
74186 postdeps_CXX \
74187 compiler_lib_search_path_CXX; do
74188 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74189 *[\\\\\\\`\\"\\\$]*)
74190 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74191 ;;
74192 *)
74193 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74194 ;;
74195 esac
74196 done
74197
74198 # Double-quote double-evaled strings.
74199 for var in reload_cmds \
74200 old_postinstall_cmds \
74201 old_postuninstall_cmds \
74202 old_archive_cmds \
74203 extract_expsyms_cmds \
74204 old_archive_from_new_cmds \
74205 old_archive_from_expsyms_cmds \
74206 archive_cmds \
74207 archive_expsym_cmds \
74208 module_cmds \
74209 module_expsym_cmds \
74210 export_symbols_cmds \
74211 prelink_cmds \
74212 postinstall_cmds \
74213 postuninstall_cmds \
74214 finish_cmds \
74215 sys_lib_search_path_spec \
74216 sys_lib_dlsearch_path_spec \
74217 reload_cmds_CXX \
74218 old_archive_cmds_CXX \
74219 old_archive_from_new_cmds_CXX \
74220 old_archive_from_expsyms_cmds_CXX \
74221 archive_cmds_CXX \
74222 archive_expsym_cmds_CXX \
74223 module_cmds_CXX \
74224 module_expsym_cmds_CXX \
74225 export_symbols_cmds_CXX \
74226 prelink_cmds_CXX; do
74227 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74228 *[\\\\\\\`\\"\\\$]*)
74229 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74230 ;;
74231 *)
74232 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74233 ;;
74234 esac
74235 done
74236
74237 ac_aux_dir='$ac_aux_dir'
74238 xsi_shell='$xsi_shell'
74239 lt_shell_append='$lt_shell_append'
74240
74241 # See if we are running on zsh, and set the options which allow our
74242 # commands through without removal of \ escapes INIT.
74243 if test -n "\${ZSH_VERSION+set}" ; then
74244 setopt NO_GLOB_SUBST
74245 fi
74246
74247
74248 PACKAGE='$PACKAGE'
74249 VERSION='$VERSION'
74250 TIMESTAMP='$TIMESTAMP'
74251 RM='$RM'
74252 ofile='$ofile'
74253
74254
74255
74256
74257
74258
74259 GCC="$GCC"
74260 CC="$CC"
74261 acx_cv_header_stdint="$acx_cv_header_stdint"
74262 acx_cv_type_int8_t="$acx_cv_type_int8_t"
74263 acx_cv_type_int16_t="$acx_cv_type_int16_t"
74264 acx_cv_type_int32_t="$acx_cv_type_int32_t"
74265 acx_cv_type_int64_t="$acx_cv_type_int64_t"
74266 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
74267 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
74268 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
74269 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
74270 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
74271 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
74272 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
74273 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
74274 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
74275
74276
74277 _ACEOF
74278
74279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74280
74281 # Handling of arguments.
74282 for ac_config_target in $ac_config_targets
74283 do
74284 case $ac_config_target in
74285 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74286 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74287 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74288 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
74289 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74290 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74291 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74292 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74293 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74294 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74295 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74296 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74297 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74298 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74299 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74300 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74301 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74302 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74303
74304 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74305 esac
74306 done
74307
74308
74309 # If the user did not use the arguments to specify the items to instantiate,
74310 # then the envvar interface is used. Set only those that are not.
74311 # We use the long form for the default assignment because of an extremely
74312 # bizarre bug on SunOS 4.1.3.
74313 if $ac_need_defaults; then
74314 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74315 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74316 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74317 fi
74318
74319 # Have a temporary directory for convenience. Make it in the build tree
74320 # simply because there is no reason against having it here, and in addition,
74321 # creating and moving files from /tmp can sometimes cause problems.
74322 # Hook for its removal unless debugging.
74323 # Note that there is a small window in which the directory will not be cleaned:
74324 # after its creation but before its name has been assigned to `$tmp'.
74325 $debug ||
74326 {
74327 tmp=
74328 trap 'exit_status=$?
74329 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
74330 ' 0
74331 trap 'as_fn_exit 1' 1 2 13 15
74332 }
74333 # Create a (secure) tmp directory for tmp files.
74334
74335 {
74336 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74337 test -n "$tmp" && test -d "$tmp"
74338 } ||
74339 {
74340 tmp=./conf$$-$RANDOM
74341 (umask 077 && mkdir "$tmp")
74342 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
74343
74344 # Set up the scripts for CONFIG_FILES section.
74345 # No need to generate them if there are no CONFIG_FILES.
74346 # This happens for instance with `./config.status config.h'.
74347 if test -n "$CONFIG_FILES"; then
74348
74349
74350 ac_cr=`echo X | tr X '\015'`
74351 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74352 # But we know of no other shell where ac_cr would be empty at this
74353 # point, so we can use a bashism as a fallback.
74354 if test "x$ac_cr" = x; then
74355 eval ac_cr=\$\'\\r\'
74356 fi
74357 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74358 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74359 ac_cs_awk_cr='\r'
74360 else
74361 ac_cs_awk_cr=$ac_cr
74362 fi
74363
74364 echo 'BEGIN {' >"$tmp/subs1.awk" &&
74365 _ACEOF
74366
74367
74368 {
74369 echo "cat >conf$$subs.awk <<_ACEOF" &&
74370 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74371 echo "_ACEOF"
74372 } >conf$$subs.sh ||
74373 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74374 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
74375 ac_delim='%!_!# '
74376 for ac_last_try in false false false false false :; do
74377 . ./conf$$subs.sh ||
74378 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74379
74380 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74381 if test $ac_delim_n = $ac_delim_num; then
74382 break
74383 elif $ac_last_try; then
74384 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74385 else
74386 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74387 fi
74388 done
74389 rm -f conf$$subs.sh
74390
74391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74392 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
74393 _ACEOF
74394 sed -n '
74395 h
74396 s/^/S["/; s/!.*/"]=/
74397 p
74398 g
74399 s/^[^!]*!//
74400 :repl
74401 t repl
74402 s/'"$ac_delim"'$//
74403 t delim
74404 :nl
74405 h
74406 s/\(.\{148\}\).*/\1/
74407 t more1
74408 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74409 p
74410 n
74411 b repl
74412 :more1
74413 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74414 p
74415 g
74416 s/.\{148\}//
74417 t nl
74418 :delim
74419 h
74420 s/\(.\{148\}\).*/\1/
74421 t more2
74422 s/["\\]/\\&/g; s/^/"/; s/$/"/
74423 p
74424 b
74425 :more2
74426 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74427 p
74428 g
74429 s/.\{148\}//
74430 t delim
74431 ' <conf$$subs.awk | sed '
74432 /^[^""]/{
74433 N
74434 s/\n//
74435 }
74436 ' >>$CONFIG_STATUS || ac_write_fail=1
74437 rm -f conf$$subs.awk
74438 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74439 _ACAWK
74440 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
74441 for (key in S) S_is_set[key] = 1
74442 FS = "\a"
74443
74444 }
74445 {
74446 line = $ 0
74447 nfields = split(line, field, "@")
74448 substed = 0
74449 len = length(field[1])
74450 for (i = 2; i < nfields; i++) {
74451 key = field[i]
74452 keylen = length(key)
74453 if (S_is_set[key]) {
74454 value = S[key]
74455 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74456 len += length(value) + length(field[++i])
74457 substed = 1
74458 } else
74459 len += 1 + keylen
74460 }
74461
74462 print line
74463 }
74464
74465 _ACAWK
74466 _ACEOF
74467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74468 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74469 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74470 else
74471 cat
74472 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
74473 || as_fn_error "could not setup config files machinery" "$LINENO" 5
74474 _ACEOF
74475
74476 # VPATH may cause trouble with some makes, so we remove $(srcdir),
74477 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
74478 # trailing colons and then remove the whole line if VPATH becomes empty
74479 # (actually we leave an empty line to preserve line numbers).
74480 if test "x$srcdir" = x.; then
74481 ac_vpsub='/^[ ]*VPATH[ ]*=/{
74482 s/:*\$(srcdir):*/:/
74483 s/:*\${srcdir}:*/:/
74484 s/:*@srcdir@:*/:/
74485 s/^\([^=]*=[ ]*\):*/\1/
74486 s/:*$//
74487 s/^[^=]*=[ ]*$//
74488 }'
74489 fi
74490
74491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74492 fi # test -n "$CONFIG_FILES"
74493
74494 # Set up the scripts for CONFIG_HEADERS section.
74495 # No need to generate them if there are no CONFIG_HEADERS.
74496 # This happens for instance with `./config.status Makefile'.
74497 if test -n "$CONFIG_HEADERS"; then
74498 cat >"$tmp/defines.awk" <<\_ACAWK ||
74499 BEGIN {
74500 _ACEOF
74501
74502 # Transform confdefs.h into an awk script `defines.awk', embedded as
74503 # here-document in config.status, that substitutes the proper values into
74504 # config.h.in to produce config.h.
74505
74506 # Create a delimiter string that does not exist in confdefs.h, to ease
74507 # handling of long lines.
74508 ac_delim='%!_!# '
74509 for ac_last_try in false false :; do
74510 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
74511 if test -z "$ac_t"; then
74512 break
74513 elif $ac_last_try; then
74514 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
74515 else
74516 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74517 fi
74518 done
74519
74520 # For the awk script, D is an array of macro values keyed by name,
74521 # likewise P contains macro parameters if any. Preserve backslash
74522 # newline sequences.
74523
74524 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74525 sed -n '
74526 s/.\{148\}/&'"$ac_delim"'/g
74527 t rset
74528 :rset
74529 s/^[ ]*#[ ]*define[ ][ ]*/ /
74530 t def
74531 d
74532 :def
74533 s/\\$//
74534 t bsnl
74535 s/["\\]/\\&/g
74536 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74537 D["\1"]=" \3"/p
74538 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
74539 d
74540 :bsnl
74541 s/["\\]/\\&/g
74542 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74543 D["\1"]=" \3\\\\\\n"\\/p
74544 t cont
74545 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74546 t cont
74547 d
74548 :cont
74549 n
74550 s/.\{148\}/&'"$ac_delim"'/g
74551 t clear
74552 :clear
74553 s/\\$//
74554 t bsnlc
74555 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74556 d
74557 :bsnlc
74558 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74559 b cont
74560 ' <confdefs.h | sed '
74561 s/'"$ac_delim"'/"\\\
74562 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74563
74564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74565 for (key in D) D_is_set[key] = 1
74566 FS = "\a"
74567 }
74568 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74569 line = \$ 0
74570 split(line, arg, " ")
74571 if (arg[1] == "#") {
74572 defundef = arg[2]
74573 mac1 = arg[3]
74574 } else {
74575 defundef = substr(arg[1], 2)
74576 mac1 = arg[2]
74577 }
74578 split(mac1, mac2, "(") #)
74579 macro = mac2[1]
74580 prefix = substr(line, 1, index(line, defundef) - 1)
74581 if (D_is_set[macro]) {
74582 # Preserve the white space surrounding the "#".
74583 print prefix "define", macro P[macro] D[macro]
74584 next
74585 } else {
74586 # Replace #undef with comments. This is necessary, for example,
74587 # in the case of _POSIX_SOURCE, which is predefined and required
74588 # on some systems where configure will not decide to define it.
74589 if (defundef == "undef") {
74590 print "/*", prefix defundef, macro, "*/"
74591 next
74592 }
74593 }
74594 }
74595 { print }
74596 _ACAWK
74597 _ACEOF
74598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74599 as_fn_error "could not setup config headers machinery" "$LINENO" 5
74600 fi # test -n "$CONFIG_HEADERS"
74601
74602
74603 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
74604 shift
74605 for ac_tag
74606 do
74607 case $ac_tag in
74608 :[FHLC]) ac_mode=$ac_tag; continue;;
74609 esac
74610 case $ac_mode$ac_tag in
74611 :[FHL]*:*);;
74612 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
74613 :[FH]-) ac_tag=-:-;;
74614 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74615 esac
74616 ac_save_IFS=$IFS
74617 IFS=:
74618 set x $ac_tag
74619 IFS=$ac_save_IFS
74620 shift
74621 ac_file=$1
74622 shift
74623
74624 case $ac_mode in
74625 :L) ac_source=$1;;
74626 :[FH])
74627 ac_file_inputs=
74628 for ac_f
74629 do
74630 case $ac_f in
74631 -) ac_f="$tmp/stdin";;
74632 *) # Look for the file first in the build tree, then in the source tree
74633 # (if the path is not absolute). The absolute path cannot be DOS-style,
74634 # because $ac_f cannot contain `:'.
74635 test -f "$ac_f" ||
74636 case $ac_f in
74637 [\\/$]*) false;;
74638 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74639 esac ||
74640 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74641 esac
74642 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74643 as_fn_append ac_file_inputs " '$ac_f'"
74644 done
74645
74646 # Let's still pretend it is `configure' which instantiates (i.e., don't
74647 # use $as_me), people would be surprised to read:
74648 # /* config.h. Generated by config.status. */
74649 configure_input='Generated from '`
74650 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74651 `' by configure.'
74652 if test x"$ac_file" != x-; then
74653 configure_input="$ac_file. $configure_input"
74654 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74655 $as_echo "$as_me: creating $ac_file" >&6;}
74656 fi
74657 # Neutralize special characters interpreted by sed in replacement strings.
74658 case $configure_input in #(
74659 *\&* | *\|* | *\\* )
74660 ac_sed_conf_input=`$as_echo "$configure_input" |
74661 sed 's/[\\\\&|]/\\\\&/g'`;; #(
74662 *) ac_sed_conf_input=$configure_input;;
74663 esac
74664
74665 case $ac_tag in
74666 *:-:* | *:-) cat >"$tmp/stdin" \
74667 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
74668 esac
74669 ;;
74670 esac
74671
74672 ac_dir=`$as_dirname -- "$ac_file" ||
74673 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74674 X"$ac_file" : 'X\(//\)[^/]' \| \
74675 X"$ac_file" : 'X\(//\)$' \| \
74676 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74677 $as_echo X"$ac_file" |
74678 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74679 s//\1/
74680 q
74681 }
74682 /^X\(\/\/\)[^/].*/{
74683 s//\1/
74684 q
74685 }
74686 /^X\(\/\/\)$/{
74687 s//\1/
74688 q
74689 }
74690 /^X\(\/\).*/{
74691 s//\1/
74692 q
74693 }
74694 s/.*/./; q'`
74695 as_dir="$ac_dir"; as_fn_mkdir_p
74696 ac_builddir=.
74697
74698 case "$ac_dir" in
74699 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
74700 *)
74701 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
74702 # A ".." for each directory in $ac_dir_suffix.
74703 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
74704 case $ac_top_builddir_sub in
74705 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
74706 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
74707 esac ;;
74708 esac
74709 ac_abs_top_builddir=$ac_pwd
74710 ac_abs_builddir=$ac_pwd$ac_dir_suffix
74711 # for backward compatibility:
74712 ac_top_builddir=$ac_top_build_prefix
74713
74714 case $srcdir in
74715 .) # We are building in place.
74716 ac_srcdir=.
74717 ac_top_srcdir=$ac_top_builddir_sub
74718 ac_abs_top_srcdir=$ac_pwd ;;
74719 [\\/]* | ?:[\\/]* ) # Absolute name.
74720 ac_srcdir=$srcdir$ac_dir_suffix;
74721 ac_top_srcdir=$srcdir
74722 ac_abs_top_srcdir=$srcdir ;;
74723 *) # Relative name.
74724 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
74725 ac_top_srcdir=$ac_top_build_prefix$srcdir
74726 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
74727 esac
74728 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
74729
74730
74731 case $ac_mode in
74732 :F)
74733 #
74734 # CONFIG_FILE
74735 #
74736
74737 case $INSTALL in
74738 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74739 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
74740 esac
74741 ac_MKDIR_P=$MKDIR_P
74742 case $MKDIR_P in
74743 [\\/$]* | ?:[\\/]* ) ;;
74744 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
74745 esac
74746 _ACEOF
74747
74748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74749 # If the template does not know about datarootdir, expand it.
74750 # FIXME: This hack should be removed a few years after 2.60.
74751 ac_datarootdir_hack=; ac_datarootdir_seen=
74752 ac_sed_dataroot='
74753 /datarootdir/ {
74754 p
74755 q
74756 }
74757 /@datadir@/p
74758 /@docdir@/p
74759 /@infodir@/p
74760 /@localedir@/p
74761 /@mandir@/p'
74762 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
74763 *datarootdir*) ac_datarootdir_seen=yes;;
74764 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
74765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
74766 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
74767 _ACEOF
74768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74769 ac_datarootdir_hack='
74770 s&@datadir@&$datadir&g
74771 s&@docdir@&$docdir&g
74772 s&@infodir@&$infodir&g
74773 s&@localedir@&$localedir&g
74774 s&@mandir@&$mandir&g
74775 s&\\\${datarootdir}&$datarootdir&g' ;;
74776 esac
74777 _ACEOF
74778
74779 # Neutralize VPATH when `$srcdir' = `.'.
74780 # Shell code in configure.ac might set extrasub.
74781 # FIXME: do we really want to maintain this feature?
74782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74783 ac_sed_extra="$ac_vpsub
74784 $extrasub
74785 _ACEOF
74786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74787 :t
74788 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
74789 s|@configure_input@|$ac_sed_conf_input|;t t
74790 s&@top_builddir@&$ac_top_builddir_sub&;t t
74791 s&@top_build_prefix@&$ac_top_build_prefix&;t t
74792 s&@srcdir@&$ac_srcdir&;t t
74793 s&@abs_srcdir@&$ac_abs_srcdir&;t t
74794 s&@top_srcdir@&$ac_top_srcdir&;t t
74795 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
74796 s&@builddir@&$ac_builddir&;t t
74797 s&@abs_builddir@&$ac_abs_builddir&;t t
74798 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
74799 s&@INSTALL@&$ac_INSTALL&;t t
74800 s&@MKDIR_P@&$ac_MKDIR_P&;t t
74801 $ac_datarootdir_hack
74802 "
74803 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
74804 || as_fn_error "could not create $ac_file" "$LINENO" 5
74805
74806 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
74807 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
74808 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
74809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74810 which seems to be undefined. Please make sure it is defined." >&5
74811 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
74812 which seems to be undefined. Please make sure it is defined." >&2;}
74813
74814 rm -f "$tmp/stdin"
74815 case $ac_file in
74816 -) cat "$tmp/out" && rm -f "$tmp/out";;
74817 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
74818 esac \
74819 || as_fn_error "could not create $ac_file" "$LINENO" 5
74820 ;;
74821 :H)
74822 #
74823 # CONFIG_HEADER
74824 #
74825 if test x"$ac_file" != x-; then
74826 {
74827 $as_echo "/* $configure_input */" \
74828 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
74829 } >"$tmp/config.h" \
74830 || as_fn_error "could not create $ac_file" "$LINENO" 5
74831 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
74832 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
74833 $as_echo "$as_me: $ac_file is unchanged" >&6;}
74834 else
74835 rm -f "$ac_file"
74836 mv "$tmp/config.h" "$ac_file" \
74837 || as_fn_error "could not create $ac_file" "$LINENO" 5
74838 fi
74839 else
74840 $as_echo "/* $configure_input */" \
74841 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
74842 || as_fn_error "could not create -" "$LINENO" 5
74843 fi
74844 # Compute "$ac_file"'s index in $config_headers.
74845 _am_arg="$ac_file"
74846 _am_stamp_count=1
74847 for _am_header in $config_headers :; do
74848 case $_am_header in
74849 $_am_arg | $_am_arg:* )
74850 break ;;
74851 * )
74852 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
74853 esac
74854 done
74855 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
74856 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74857 X"$_am_arg" : 'X\(//\)[^/]' \| \
74858 X"$_am_arg" : 'X\(//\)$' \| \
74859 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
74860 $as_echo X"$_am_arg" |
74861 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74862 s//\1/
74863 q
74864 }
74865 /^X\(\/\/\)[^/].*/{
74866 s//\1/
74867 q
74868 }
74869 /^X\(\/\/\)$/{
74870 s//\1/
74871 q
74872 }
74873 /^X\(\/\).*/{
74874 s//\1/
74875 q
74876 }
74877 s/.*/./; q'`/stamp-h$_am_stamp_count
74878 ;;
74879
74880 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
74881 $as_echo "$as_me: executing $ac_file commands" >&6;}
74882 ;;
74883 esac
74884
74885
74886 case $ac_file$ac_mode in
74887 "default-1":C)
74888 # Only add multilib support code if we just rebuilt the top-level
74889 # Makefile.
74890 case " $CONFIG_FILES " in
74891 *" Makefile "*)
74892 ac_file=Makefile . ${multi_basedir}/config-ml.in
74893 ;;
74894 esac ;;
74895 "libtool":C)
74896
74897 # See if we are running on zsh, and set the options which allow our
74898 # commands through without removal of \ escapes.
74899 if test -n "${ZSH_VERSION+set}" ; then
74900 setopt NO_GLOB_SUBST
74901 fi
74902
74903 cfgfile="${ofile}T"
74904 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
74905 $RM "$cfgfile"
74906
74907 cat <<_LT_EOF >> "$cfgfile"
74908 #! $SHELL
74909
74910 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
74911 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
74912 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
74913 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
74914 #
74915 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
74916 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
74917 # Written by Gordon Matzigkeit, 1996
74918 #
74919 # This file is part of GNU Libtool.
74920 #
74921 # GNU Libtool is free software; you can redistribute it and/or
74922 # modify it under the terms of the GNU General Public License as
74923 # published by the Free Software Foundation; either version 2 of
74924 # the License, or (at your option) any later version.
74925 #
74926 # As a special exception to the GNU General Public License,
74927 # if you distribute this file as part of a program or library that
74928 # is built using GNU Libtool, you may include this file under the
74929 # same distribution terms that you use for the rest of that program.
74930 #
74931 # GNU Libtool is distributed in the hope that it will be useful,
74932 # but WITHOUT ANY WARRANTY; without even the implied warranty of
74933 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
74934 # GNU General Public License for more details.
74935 #
74936 # You should have received a copy of the GNU General Public License
74937 # along with GNU Libtool; see the file COPYING. If not, a copy
74938 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
74939 # obtained by writing to the Free Software Foundation, Inc.,
74940 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
74941
74942
74943 # The names of the tagged configurations supported by this script.
74944 available_tags="CXX "
74945
74946 # ### BEGIN LIBTOOL CONFIG
74947
74948 # Which release of libtool.m4 was used?
74949 macro_version=$macro_version
74950 macro_revision=$macro_revision
74951
74952 # Whether or not to build shared libraries.
74953 build_libtool_libs=$enable_shared
74954
74955 # Whether or not to build static libraries.
74956 build_old_libs=$enable_static
74957
74958 # What type of objects to build.
74959 pic_mode=$pic_mode
74960
74961 # Whether or not to optimize for fast installation.
74962 fast_install=$enable_fast_install
74963
74964 # Shell to use when invoking shell scripts.
74965 SHELL=$lt_SHELL
74966
74967 # An echo program that protects backslashes.
74968 ECHO=$lt_ECHO
74969
74970 # The host system.
74971 host_alias=$host_alias
74972 host=$host
74973 host_os=$host_os
74974
74975 # The build system.
74976 build_alias=$build_alias
74977 build=$build
74978 build_os=$build_os
74979
74980 # A sed program that does not truncate output.
74981 SED=$lt_SED
74982
74983 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
74984 Xsed="\$SED -e 1s/^X//"
74985
74986 # A grep program that handles long lines.
74987 GREP=$lt_GREP
74988
74989 # An ERE matcher.
74990 EGREP=$lt_EGREP
74991
74992 # A literal string matcher.
74993 FGREP=$lt_FGREP
74994
74995 # A BSD- or MS-compatible name lister.
74996 NM=$lt_NM
74997
74998 # Whether we need soft or hard links.
74999 LN_S=$lt_LN_S
75000
75001 # What is the maximum length of a command?
75002 max_cmd_len=$max_cmd_len
75003
75004 # Object file suffix (normally "o").
75005 objext=$ac_objext
75006
75007 # Executable file suffix (normally "").
75008 exeext=$exeext
75009
75010 # whether the shell understands "unset".
75011 lt_unset=$lt_unset
75012
75013 # turn spaces into newlines.
75014 SP2NL=$lt_lt_SP2NL
75015
75016 # turn newlines into spaces.
75017 NL2SP=$lt_lt_NL2SP
75018
75019 # An object symbol dumper.
75020 OBJDUMP=$lt_OBJDUMP
75021
75022 # Method to check whether dependent libraries are shared objects.
75023 deplibs_check_method=$lt_deplibs_check_method
75024
75025 # Command to use when deplibs_check_method == "file_magic".
75026 file_magic_cmd=$lt_file_magic_cmd
75027
75028 # The archiver.
75029 AR=$lt_AR
75030 AR_FLAGS=$lt_AR_FLAGS
75031
75032 # A symbol stripping program.
75033 STRIP=$lt_STRIP
75034
75035 # Commands used to install an old-style archive.
75036 RANLIB=$lt_RANLIB
75037 old_postinstall_cmds=$lt_old_postinstall_cmds
75038 old_postuninstall_cmds=$lt_old_postuninstall_cmds
75039
75040 # Whether to use a lock for old archive extraction.
75041 lock_old_archive_extraction=$lock_old_archive_extraction
75042
75043 # A C compiler.
75044 LTCC=$lt_CC
75045
75046 # LTCC compiler flags.
75047 LTCFLAGS=$lt_CFLAGS
75048
75049 # Take the output of nm and produce a listing of raw symbols and C names.
75050 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75051
75052 # Transform the output of nm in a proper C declaration.
75053 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75054
75055 # Transform the output of nm in a C name address pair.
75056 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75057
75058 # Transform the output of nm in a C name address pair when lib prefix is needed.
75059 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75060
75061 # The name of the directory that contains temporary libtool files.
75062 objdir=$objdir
75063
75064 # Used to examine libraries when file_magic_cmd begins with "file".
75065 MAGIC_CMD=$MAGIC_CMD
75066
75067 # Must we lock files when doing compilation?
75068 need_locks=$lt_need_locks
75069
75070 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75071 DSYMUTIL=$lt_DSYMUTIL
75072
75073 # Tool to change global to local symbols on Mac OS X.
75074 NMEDIT=$lt_NMEDIT
75075
75076 # Tool to manipulate fat objects and archives on Mac OS X.
75077 LIPO=$lt_LIPO
75078
75079 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
75080 OTOOL=$lt_OTOOL
75081
75082 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75083 OTOOL64=$lt_OTOOL64
75084
75085 # Old archive suffix (normally "a").
75086 libext=$libext
75087
75088 # Shared library suffix (normally ".so").
75089 shrext_cmds=$lt_shrext_cmds
75090
75091 # The commands to extract the exported symbol list from a shared archive.
75092 extract_expsyms_cmds=$lt_extract_expsyms_cmds
75093
75094 # Variables whose values should be saved in libtool wrapper scripts and
75095 # restored at link time.
75096 variables_saved_for_relink=$lt_variables_saved_for_relink
75097
75098 # Do we need the "lib" prefix for modules?
75099 need_lib_prefix=$need_lib_prefix
75100
75101 # Do we need a version for libraries?
75102 need_version=$need_version
75103
75104 # Library versioning type.
75105 version_type=$version_type
75106
75107 # Shared library runtime path variable.
75108 runpath_var=$runpath_var
75109
75110 # Shared library path variable.
75111 shlibpath_var=$shlibpath_var
75112
75113 # Is shlibpath searched before the hard-coded library search path?
75114 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75115
75116 # Format of library name prefix.
75117 libname_spec=$lt_libname_spec
75118
75119 # List of archive names. First name is the real one, the rest are links.
75120 # The last name is the one that the linker finds with -lNAME
75121 library_names_spec=$lt_library_names_spec
75122
75123 # The coded name of the library, if different from the real name.
75124 soname_spec=$lt_soname_spec
75125
75126 # Permission mode override for installation of shared libraries.
75127 install_override_mode=$lt_install_override_mode
75128
75129 # Command to use after installation of a shared archive.
75130 postinstall_cmds=$lt_postinstall_cmds
75131
75132 # Command to use after uninstallation of a shared archive.
75133 postuninstall_cmds=$lt_postuninstall_cmds
75134
75135 # Commands used to finish a libtool library installation in a directory.
75136 finish_cmds=$lt_finish_cmds
75137
75138 # As "finish_cmds", except a single script fragment to be evaled but
75139 # not shown.
75140 finish_eval=$lt_finish_eval
75141
75142 # Whether we should hardcode library paths into libraries.
75143 hardcode_into_libs=$hardcode_into_libs
75144
75145 # Compile-time system search path for libraries.
75146 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75147
75148 # Run-time system search path for libraries.
75149 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75150
75151 # Whether dlopen is supported.
75152 dlopen_support=$enable_dlopen
75153
75154 # Whether dlopen of programs is supported.
75155 dlopen_self=$enable_dlopen_self
75156
75157 # Whether dlopen of statically linked programs is supported.
75158 dlopen_self_static=$enable_dlopen_self_static
75159
75160 # Commands to strip libraries.
75161 old_striplib=$lt_old_striplib
75162 striplib=$lt_striplib
75163
75164
75165 # The linker used to build libraries.
75166 LD=$lt_LD
75167
75168 # How to create reloadable object files.
75169 reload_flag=$lt_reload_flag
75170 reload_cmds=$lt_reload_cmds
75171
75172 # Commands used to build an old-style archive.
75173 old_archive_cmds=$lt_old_archive_cmds
75174
75175 # A language specific compiler.
75176 CC=$lt_compiler
75177
75178 # Is the compiler the GNU compiler?
75179 with_gcc=$GCC
75180
75181 # Compiler flag to turn off builtin functions.
75182 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75183
75184 # How to pass a linker flag through the compiler.
75185 wl=$lt_lt_prog_compiler_wl
75186
75187 # Additional compiler flags for building library objects.
75188 pic_flag=$lt_lt_prog_compiler_pic
75189
75190 # Compiler flag to prevent dynamic linking.
75191 link_static_flag=$lt_lt_prog_compiler_static
75192
75193 # Does compiler simultaneously support -c and -o options?
75194 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75195
75196 # Whether or not to add -lc for building shared libraries.
75197 build_libtool_need_lc=$archive_cmds_need_lc
75198
75199 # Whether or not to disallow shared libs when runtime libs are static.
75200 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75201
75202 # Compiler flag to allow reflexive dlopens.
75203 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75204
75205 # Compiler flag to generate shared objects directly from archives.
75206 whole_archive_flag_spec=$lt_whole_archive_flag_spec
75207
75208 # Whether the compiler copes with passing no objects directly.
75209 compiler_needs_object=$lt_compiler_needs_object
75210
75211 # Create an old-style archive from a shared archive.
75212 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75213
75214 # Create a temporary old-style archive to link instead of a shared archive.
75215 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75216
75217 # Commands used to build a shared archive.
75218 archive_cmds=$lt_archive_cmds
75219 archive_expsym_cmds=$lt_archive_expsym_cmds
75220
75221 # Commands used to build a loadable module if different from building
75222 # a shared archive.
75223 module_cmds=$lt_module_cmds
75224 module_expsym_cmds=$lt_module_expsym_cmds
75225
75226 # Whether we are building with GNU ld or not.
75227 with_gnu_ld=$lt_with_gnu_ld
75228
75229 # Flag that allows shared libraries with undefined symbols to be built.
75230 allow_undefined_flag=$lt_allow_undefined_flag
75231
75232 # Flag that enforces no undefined symbols.
75233 no_undefined_flag=$lt_no_undefined_flag
75234
75235 # Flag to hardcode \$libdir into a binary during linking.
75236 # This must work even if \$libdir does not exist
75237 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75238
75239 # If ld is used when linking, flag to hardcode \$libdir into a binary
75240 # during linking. This must work even if \$libdir does not exist.
75241 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75242
75243 # Whether we need a single "-rpath" flag with a separated argument.
75244 hardcode_libdir_separator=$lt_hardcode_libdir_separator
75245
75246 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75247 # DIR into the resulting binary.
75248 hardcode_direct=$hardcode_direct
75249
75250 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75251 # DIR into the resulting binary and the resulting library dependency is
75252 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75253 # library is relocated.
75254 hardcode_direct_absolute=$hardcode_direct_absolute
75255
75256 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75257 # into the resulting binary.
75258 hardcode_minus_L=$hardcode_minus_L
75259
75260 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75261 # into the resulting binary.
75262 hardcode_shlibpath_var=$hardcode_shlibpath_var
75263
75264 # Set to "yes" if building a shared library automatically hardcodes DIR
75265 # into the library and all subsequent libraries and executables linked
75266 # against it.
75267 hardcode_automatic=$hardcode_automatic
75268
75269 # Set to yes if linker adds runtime paths of dependent libraries
75270 # to runtime path list.
75271 inherit_rpath=$inherit_rpath
75272
75273 # Whether libtool must link a program against all its dependency libraries.
75274 link_all_deplibs=$link_all_deplibs
75275
75276 # Fix the shell variable \$srcfile for the compiler.
75277 fix_srcfile_path=$lt_fix_srcfile_path
75278
75279 # Set to "yes" if exported symbols are required.
75280 always_export_symbols=$always_export_symbols
75281
75282 # The commands to list exported symbols.
75283 export_symbols_cmds=$lt_export_symbols_cmds
75284
75285 # Symbols that should not be listed in the preloaded symbols.
75286 exclude_expsyms=$lt_exclude_expsyms
75287
75288 # Symbols that must always be exported.
75289 include_expsyms=$lt_include_expsyms
75290
75291 # Commands necessary for linking programs (against libraries) with templates.
75292 prelink_cmds=$lt_prelink_cmds
75293
75294 # Specify filename containing input files.
75295 file_list_spec=$lt_file_list_spec
75296
75297 # How to hardcode a shared library path into an executable.
75298 hardcode_action=$hardcode_action
75299
75300 # The directories searched by this compiler when creating a shared library.
75301 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75302
75303 # Dependencies to place before and after the objects being linked to
75304 # create a shared library.
75305 predep_objects=$lt_predep_objects
75306 postdep_objects=$lt_postdep_objects
75307 predeps=$lt_predeps
75308 postdeps=$lt_postdeps
75309
75310 # The library search path used internally by the compiler when linking
75311 # a shared library.
75312 compiler_lib_search_path=$lt_compiler_lib_search_path
75313
75314 # ### END LIBTOOL CONFIG
75315
75316 _LT_EOF
75317
75318 case $host_os in
75319 aix3*)
75320 cat <<\_LT_EOF >> "$cfgfile"
75321 # AIX sometimes has problems with the GCC collect2 program. For some
75322 # reason, if we set the COLLECT_NAMES environment variable, the problems
75323 # vanish in a puff of smoke.
75324 if test "X${COLLECT_NAMES+set}" != Xset; then
75325 COLLECT_NAMES=
75326 export COLLECT_NAMES
75327 fi
75328 _LT_EOF
75329 ;;
75330 esac
75331
75332
75333 ltmain="$ac_aux_dir/ltmain.sh"
75334
75335
75336 # We use sed instead of cat because bash on DJGPP gets confused if
75337 # if finds mixed CR/LF and LF-only lines. Since sed operates in
75338 # text mode, it properly converts lines to CR/LF. This bash problem
75339 # is reportedly fixed, but why not run on old versions too?
75340 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75341 || (rm -f "$cfgfile"; exit 1)
75342
75343 case $xsi_shell in
75344 yes)
75345 cat << \_LT_EOF >> "$cfgfile"
75346
75347 # func_dirname file append nondir_replacement
75348 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75349 # otherwise set result to NONDIR_REPLACEMENT.
75350 func_dirname ()
75351 {
75352 case ${1} in
75353 */*) func_dirname_result="${1%/*}${2}" ;;
75354 * ) func_dirname_result="${3}" ;;
75355 esac
75356 }
75357
75358 # func_basename file
75359 func_basename ()
75360 {
75361 func_basename_result="${1##*/}"
75362 }
75363
75364 # func_dirname_and_basename file append nondir_replacement
75365 # perform func_basename and func_dirname in a single function
75366 # call:
75367 # dirname: Compute the dirname of FILE. If nonempty,
75368 # add APPEND to the result, otherwise set result
75369 # to NONDIR_REPLACEMENT.
75370 # value returned in "$func_dirname_result"
75371 # basename: Compute filename of FILE.
75372 # value retuned in "$func_basename_result"
75373 # Implementation must be kept synchronized with func_dirname
75374 # and func_basename. For efficiency, we do not delegate to
75375 # those functions but instead duplicate the functionality here.
75376 func_dirname_and_basename ()
75377 {
75378 case ${1} in
75379 */*) func_dirname_result="${1%/*}${2}" ;;
75380 * ) func_dirname_result="${3}" ;;
75381 esac
75382 func_basename_result="${1##*/}"
75383 }
75384
75385 # func_stripname prefix suffix name
75386 # strip PREFIX and SUFFIX off of NAME.
75387 # PREFIX and SUFFIX must not contain globbing or regex special
75388 # characters, hashes, percent signs, but SUFFIX may contain a leading
75389 # dot (in which case that matches only a dot).
75390 func_stripname ()
75391 {
75392 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75393 # positional parameters, so assign one to ordinary parameter first.
75394 func_stripname_result=${3}
75395 func_stripname_result=${func_stripname_result#"${1}"}
75396 func_stripname_result=${func_stripname_result%"${2}"}
75397 }
75398
75399 # func_opt_split
75400 func_opt_split ()
75401 {
75402 func_opt_split_opt=${1%%=*}
75403 func_opt_split_arg=${1#*=}
75404 }
75405
75406 # func_lo2o object
75407 func_lo2o ()
75408 {
75409 case ${1} in
75410 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75411 *) func_lo2o_result=${1} ;;
75412 esac
75413 }
75414
75415 # func_xform libobj-or-source
75416 func_xform ()
75417 {
75418 func_xform_result=${1%.*}.lo
75419 }
75420
75421 # func_arith arithmetic-term...
75422 func_arith ()
75423 {
75424 func_arith_result=$(( $* ))
75425 }
75426
75427 # func_len string
75428 # STRING may not start with a hyphen.
75429 func_len ()
75430 {
75431 func_len_result=${#1}
75432 }
75433
75434 _LT_EOF
75435 ;;
75436 *) # Bourne compatible functions.
75437 cat << \_LT_EOF >> "$cfgfile"
75438
75439 # func_dirname file append nondir_replacement
75440 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75441 # otherwise set result to NONDIR_REPLACEMENT.
75442 func_dirname ()
75443 {
75444 # Extract subdirectory from the argument.
75445 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75446 if test "X$func_dirname_result" = "X${1}"; then
75447 func_dirname_result="${3}"
75448 else
75449 func_dirname_result="$func_dirname_result${2}"
75450 fi
75451 }
75452
75453 # func_basename file
75454 func_basename ()
75455 {
75456 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75457 }
75458
75459
75460 # func_stripname prefix suffix name
75461 # strip PREFIX and SUFFIX off of NAME.
75462 # PREFIX and SUFFIX must not contain globbing or regex special
75463 # characters, hashes, percent signs, but SUFFIX may contain a leading
75464 # dot (in which case that matches only a dot).
75465 # func_strip_suffix prefix name
75466 func_stripname ()
75467 {
75468 case ${2} in
75469 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75470 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75471 esac
75472 }
75473
75474 # sed scripts:
75475 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75476 my_sed_long_arg='1s/^-[^=]*=//'
75477
75478 # func_opt_split
75479 func_opt_split ()
75480 {
75481 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75482 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75483 }
75484
75485 # func_lo2o object
75486 func_lo2o ()
75487 {
75488 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75489 }
75490
75491 # func_xform libobj-or-source
75492 func_xform ()
75493 {
75494 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75495 }
75496
75497 # func_arith arithmetic-term...
75498 func_arith ()
75499 {
75500 func_arith_result=`expr "$@"`
75501 }
75502
75503 # func_len string
75504 # STRING may not start with a hyphen.
75505 func_len ()
75506 {
75507 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75508 }
75509
75510 _LT_EOF
75511 esac
75512
75513 case $lt_shell_append in
75514 yes)
75515 cat << \_LT_EOF >> "$cfgfile"
75516
75517 # func_append var value
75518 # Append VALUE to the end of shell variable VAR.
75519 func_append ()
75520 {
75521 eval "$1+=\$2"
75522 }
75523 _LT_EOF
75524 ;;
75525 *)
75526 cat << \_LT_EOF >> "$cfgfile"
75527
75528 # func_append var value
75529 # Append VALUE to the end of shell variable VAR.
75530 func_append ()
75531 {
75532 eval "$1=\$$1\$2"
75533 }
75534
75535 _LT_EOF
75536 ;;
75537 esac
75538
75539
75540 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75541 || (rm -f "$cfgfile"; exit 1)
75542
75543 mv -f "$cfgfile" "$ofile" ||
75544 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75545 chmod +x "$ofile"
75546
75547
75548 cat <<_LT_EOF >> "$ofile"
75549
75550 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75551
75552 # The linker used to build libraries.
75553 LD=$lt_LD_CXX
75554
75555 # How to create reloadable object files.
75556 reload_flag=$lt_reload_flag_CXX
75557 reload_cmds=$lt_reload_cmds_CXX
75558
75559 # Commands used to build an old-style archive.
75560 old_archive_cmds=$lt_old_archive_cmds_CXX
75561
75562 # A language specific compiler.
75563 CC=$lt_compiler_CXX
75564
75565 # Is the compiler the GNU compiler?
75566 with_gcc=$GCC_CXX
75567
75568 # Compiler flag to turn off builtin functions.
75569 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75570
75571 # How to pass a linker flag through the compiler.
75572 wl=$lt_lt_prog_compiler_wl_CXX
75573
75574 # Additional compiler flags for building library objects.
75575 pic_flag=$lt_lt_prog_compiler_pic_CXX
75576
75577 # Compiler flag to prevent dynamic linking.
75578 link_static_flag=$lt_lt_prog_compiler_static_CXX
75579
75580 # Does compiler simultaneously support -c and -o options?
75581 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75582
75583 # Whether or not to add -lc for building shared libraries.
75584 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75585
75586 # Whether or not to disallow shared libs when runtime libs are static.
75587 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75588
75589 # Compiler flag to allow reflexive dlopens.
75590 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75591
75592 # Compiler flag to generate shared objects directly from archives.
75593 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75594
75595 # Whether the compiler copes with passing no objects directly.
75596 compiler_needs_object=$lt_compiler_needs_object_CXX
75597
75598 # Create an old-style archive from a shared archive.
75599 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75600
75601 # Create a temporary old-style archive to link instead of a shared archive.
75602 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75603
75604 # Commands used to build a shared archive.
75605 archive_cmds=$lt_archive_cmds_CXX
75606 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75607
75608 # Commands used to build a loadable module if different from building
75609 # a shared archive.
75610 module_cmds=$lt_module_cmds_CXX
75611 module_expsym_cmds=$lt_module_expsym_cmds_CXX
75612
75613 # Whether we are building with GNU ld or not.
75614 with_gnu_ld=$lt_with_gnu_ld_CXX
75615
75616 # Flag that allows shared libraries with undefined symbols to be built.
75617 allow_undefined_flag=$lt_allow_undefined_flag_CXX
75618
75619 # Flag that enforces no undefined symbols.
75620 no_undefined_flag=$lt_no_undefined_flag_CXX
75621
75622 # Flag to hardcode \$libdir into a binary during linking.
75623 # This must work even if \$libdir does not exist
75624 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75625
75626 # If ld is used when linking, flag to hardcode \$libdir into a binary
75627 # during linking. This must work even if \$libdir does not exist.
75628 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75629
75630 # Whether we need a single "-rpath" flag with a separated argument.
75631 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75632
75633 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75634 # DIR into the resulting binary.
75635 hardcode_direct=$hardcode_direct_CXX
75636
75637 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75638 # DIR into the resulting binary and the resulting library dependency is
75639 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75640 # library is relocated.
75641 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75642
75643 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75644 # into the resulting binary.
75645 hardcode_minus_L=$hardcode_minus_L_CXX
75646
75647 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75648 # into the resulting binary.
75649 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75650
75651 # Set to "yes" if building a shared library automatically hardcodes DIR
75652 # into the library and all subsequent libraries and executables linked
75653 # against it.
75654 hardcode_automatic=$hardcode_automatic_CXX
75655
75656 # Set to yes if linker adds runtime paths of dependent libraries
75657 # to runtime path list.
75658 inherit_rpath=$inherit_rpath_CXX
75659
75660 # Whether libtool must link a program against all its dependency libraries.
75661 link_all_deplibs=$link_all_deplibs_CXX
75662
75663 # Fix the shell variable \$srcfile for the compiler.
75664 fix_srcfile_path=$lt_fix_srcfile_path_CXX
75665
75666 # Set to "yes" if exported symbols are required.
75667 always_export_symbols=$always_export_symbols_CXX
75668
75669 # The commands to list exported symbols.
75670 export_symbols_cmds=$lt_export_symbols_cmds_CXX
75671
75672 # Symbols that should not be listed in the preloaded symbols.
75673 exclude_expsyms=$lt_exclude_expsyms_CXX
75674
75675 # Symbols that must always be exported.
75676 include_expsyms=$lt_include_expsyms_CXX
75677
75678 # Commands necessary for linking programs (against libraries) with templates.
75679 prelink_cmds=$lt_prelink_cmds_CXX
75680
75681 # Specify filename containing input files.
75682 file_list_spec=$lt_file_list_spec_CXX
75683
75684 # How to hardcode a shared library path into an executable.
75685 hardcode_action=$hardcode_action_CXX
75686
75687 # The directories searched by this compiler when creating a shared library.
75688 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
75689
75690 # Dependencies to place before and after the objects being linked to
75691 # create a shared library.
75692 predep_objects=$lt_predep_objects_CXX
75693 postdep_objects=$lt_postdep_objects_CXX
75694 predeps=$lt_predeps_CXX
75695 postdeps=$lt_postdeps_CXX
75696
75697 # The library search path used internally by the compiler when linking
75698 # a shared library.
75699 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
75700
75701 # ### END LIBTOOL TAG CONFIG: CXX
75702 _LT_EOF
75703
75704 ;;
75705 "include/gstdint.h":C)
75706 if test "$GCC" = yes; then
75707 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
75708 else
75709 echo "/* generated for $CC */" > tmp-stdint.h
75710 fi
75711
75712 sed 's/^ *//' >> tmp-stdint.h <<EOF
75713
75714 #ifndef GCC_GENERATED_STDINT_H
75715 #define GCC_GENERATED_STDINT_H 1
75716
75717 #include <sys/types.h>
75718 EOF
75719
75720 if test "$acx_cv_header_stdint" != stdint.h; then
75721 echo "#include <stddef.h>" >> tmp-stdint.h
75722 fi
75723 if test "$acx_cv_header_stdint" != stddef.h; then
75724 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
75725 fi
75726
75727 sed 's/^ *//' >> tmp-stdint.h <<EOF
75728 /* glibc uses these symbols as guards to prevent redefinitions. */
75729 #ifdef __int8_t_defined
75730 #define _INT8_T
75731 #define _INT16_T
75732 #define _INT32_T
75733 #endif
75734 #ifdef __uint32_t_defined
75735 #define _UINT32_T
75736 #endif
75737
75738 EOF
75739
75740 # ----------------- done header, emit basic int types -------------
75741 if test "$acx_cv_header_stdint" = stddef.h; then
75742 sed 's/^ *//' >> tmp-stdint.h <<EOF
75743
75744 #ifndef _UINT8_T
75745 #define _UINT8_T
75746 #ifndef __uint8_t_defined
75747 #define __uint8_t_defined
75748 #ifndef uint8_t
75749 typedef unsigned $acx_cv_type_int8_t uint8_t;
75750 #endif
75751 #endif
75752 #endif
75753
75754 #ifndef _UINT16_T
75755 #define _UINT16_T
75756 #ifndef __uint16_t_defined
75757 #define __uint16_t_defined
75758 #ifndef uint16_t
75759 typedef unsigned $acx_cv_type_int16_t uint16_t;
75760 #endif
75761 #endif
75762 #endif
75763
75764 #ifndef _UINT32_T
75765 #define _UINT32_T
75766 #ifndef __uint32_t_defined
75767 #define __uint32_t_defined
75768 #ifndef uint32_t
75769 typedef unsigned $acx_cv_type_int32_t uint32_t;
75770 #endif
75771 #endif
75772 #endif
75773
75774 #ifndef _INT8_T
75775 #define _INT8_T
75776 #ifndef __int8_t_defined
75777 #define __int8_t_defined
75778 #ifndef int8_t
75779 typedef $acx_cv_type_int8_t int8_t;
75780 #endif
75781 #endif
75782 #endif
75783
75784 #ifndef _INT16_T
75785 #define _INT16_T
75786 #ifndef __int16_t_defined
75787 #define __int16_t_defined
75788 #ifndef int16_t
75789 typedef $acx_cv_type_int16_t int16_t;
75790 #endif
75791 #endif
75792 #endif
75793
75794 #ifndef _INT32_T
75795 #define _INT32_T
75796 #ifndef __int32_t_defined
75797 #define __int32_t_defined
75798 #ifndef int32_t
75799 typedef $acx_cv_type_int32_t int32_t;
75800 #endif
75801 #endif
75802 #endif
75803 EOF
75804 elif test "$ac_cv_type_u_int32_t" = yes; then
75805 sed 's/^ *//' >> tmp-stdint.h <<EOF
75806
75807 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
75808 #ifndef _INT8_T
75809 #define _INT8_T
75810 #endif
75811 #ifndef _INT16_T
75812 #define _INT16_T
75813 #endif
75814 #ifndef _INT32_T
75815 #define _INT32_T
75816 #endif
75817
75818 #ifndef _UINT8_T
75819 #define _UINT8_T
75820 #ifndef __uint8_t_defined
75821 #define __uint8_t_defined
75822 #ifndef uint8_t
75823 typedef u_int8_t uint8_t;
75824 #endif
75825 #endif
75826 #endif
75827
75828 #ifndef _UINT16_T
75829 #define _UINT16_T
75830 #ifndef __uint16_t_defined
75831 #define __uint16_t_defined
75832 #ifndef uint16_t
75833 typedef u_int16_t uint16_t;
75834 #endif
75835 #endif
75836 #endif
75837
75838 #ifndef _UINT32_T
75839 #define _UINT32_T
75840 #ifndef __uint32_t_defined
75841 #define __uint32_t_defined
75842 #ifndef uint32_t
75843 typedef u_int32_t uint32_t;
75844 #endif
75845 #endif
75846 #endif
75847 EOF
75848 else
75849 sed 's/^ *//' >> tmp-stdint.h <<EOF
75850
75851 /* Some systems have guard macros to prevent redefinitions, define them. */
75852 #ifndef _INT8_T
75853 #define _INT8_T
75854 #endif
75855 #ifndef _INT16_T
75856 #define _INT16_T
75857 #endif
75858 #ifndef _INT32_T
75859 #define _INT32_T
75860 #endif
75861 #ifndef _UINT8_T
75862 #define _UINT8_T
75863 #endif
75864 #ifndef _UINT16_T
75865 #define _UINT16_T
75866 #endif
75867 #ifndef _UINT32_T
75868 #define _UINT32_T
75869 #endif
75870 EOF
75871 fi
75872
75873 # ------------- done basic int types, emit int64_t types ------------
75874 if test "$ac_cv_type_uint64_t" = yes; then
75875 sed 's/^ *//' >> tmp-stdint.h <<EOF
75876
75877 /* system headers have good uint64_t and int64_t */
75878 #ifndef _INT64_T
75879 #define _INT64_T
75880 #endif
75881 #ifndef _UINT64_T
75882 #define _UINT64_T
75883 #endif
75884 EOF
75885 elif test "$ac_cv_type_u_int64_t" = yes; then
75886 sed 's/^ *//' >> tmp-stdint.h <<EOF
75887
75888 /* system headers have an u_int64_t (and int64_t) */
75889 #ifndef _INT64_T
75890 #define _INT64_T
75891 #endif
75892 #ifndef _UINT64_T
75893 #define _UINT64_T
75894 #ifndef __uint64_t_defined
75895 #define __uint64_t_defined
75896 #ifndef uint64_t
75897 typedef u_int64_t uint64_t;
75898 #endif
75899 #endif
75900 #endif
75901 EOF
75902 elif test -n "$acx_cv_type_int64_t"; then
75903 sed 's/^ *//' >> tmp-stdint.h <<EOF
75904
75905 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
75906 #ifndef _INT64_T
75907 #define _INT64_T
75908 #ifndef int64_t
75909 typedef $acx_cv_type_int64_t int64_t;
75910 #endif
75911 #endif
75912 #ifndef _UINT64_T
75913 #define _UINT64_T
75914 #ifndef __uint64_t_defined
75915 #define __uint64_t_defined
75916 #ifndef uint64_t
75917 typedef unsigned $acx_cv_type_int64_t uint64_t;
75918 #endif
75919 #endif
75920 #endif
75921 EOF
75922 else
75923 sed 's/^ *//' >> tmp-stdint.h <<EOF
75924
75925 /* some common heuristics for int64_t, using compiler-specific tests */
75926 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
75927 #ifndef _INT64_T
75928 #define _INT64_T
75929 #ifndef __int64_t_defined
75930 #ifndef int64_t
75931 typedef long long int64_t;
75932 #endif
75933 #endif
75934 #endif
75935 #ifndef _UINT64_T
75936 #define _UINT64_T
75937 #ifndef uint64_t
75938 typedef unsigned long long uint64_t;
75939 #endif
75940 #endif
75941
75942 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
75943 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
75944 does not implement __extension__. But that compiler doesn't define
75945 __GNUC_MINOR__. */
75946 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
75947 # define __extension__
75948 # endif
75949
75950 # ifndef _INT64_T
75951 # define _INT64_T
75952 # ifndef int64_t
75953 __extension__ typedef long long int64_t;
75954 # endif
75955 # endif
75956 # ifndef _UINT64_T
75957 # define _UINT64_T
75958 # ifndef uint64_t
75959 __extension__ typedef unsigned long long uint64_t;
75960 # endif
75961 # endif
75962
75963 #elif !defined __STRICT_ANSI__
75964 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
75965
75966 # ifndef _INT64_T
75967 # define _INT64_T
75968 # ifndef int64_t
75969 typedef __int64 int64_t;
75970 # endif
75971 # endif
75972 # ifndef _UINT64_T
75973 # define _UINT64_T
75974 # ifndef uint64_t
75975 typedef unsigned __int64 uint64_t;
75976 # endif
75977 # endif
75978 # endif /* compiler */
75979
75980 #endif /* ANSI version */
75981 EOF
75982 fi
75983
75984 # ------------- done int64_t types, emit intptr types ------------
75985 if test "$ac_cv_type_uintptr_t" != yes; then
75986 sed 's/^ *//' >> tmp-stdint.h <<EOF
75987
75988 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
75989 #ifndef __uintptr_t_defined
75990 #ifndef uintptr_t
75991 typedef u$acx_cv_type_intptr_t uintptr_t;
75992 #endif
75993 #endif
75994 #ifndef __intptr_t_defined
75995 #ifndef intptr_t
75996 typedef $acx_cv_type_intptr_t intptr_t;
75997 #endif
75998 #endif
75999 EOF
76000 fi
76001
76002 # ------------- done intptr types, emit int_least types ------------
76003 if test "$ac_cv_type_int_least32_t" != yes; then
76004 sed 's/^ *//' >> tmp-stdint.h <<EOF
76005
76006 /* Define int_least types */
76007 typedef int8_t int_least8_t;
76008 typedef int16_t int_least16_t;
76009 typedef int32_t int_least32_t;
76010 #ifdef _INT64_T
76011 typedef int64_t int_least64_t;
76012 #endif
76013
76014 typedef uint8_t uint_least8_t;
76015 typedef uint16_t uint_least16_t;
76016 typedef uint32_t uint_least32_t;
76017 #ifdef _UINT64_T
76018 typedef uint64_t uint_least64_t;
76019 #endif
76020 EOF
76021 fi
76022
76023 # ------------- done intptr types, emit int_fast types ------------
76024 if test "$ac_cv_type_int_fast32_t" != yes; then
76025 sed 's/^ *//' >> tmp-stdint.h <<EOF
76026
76027 /* Define int_fast types. short is often slow */
76028 typedef int8_t int_fast8_t;
76029 typedef int int_fast16_t;
76030 typedef int32_t int_fast32_t;
76031 #ifdef _INT64_T
76032 typedef int64_t int_fast64_t;
76033 #endif
76034
76035 typedef uint8_t uint_fast8_t;
76036 typedef unsigned int uint_fast16_t;
76037 typedef uint32_t uint_fast32_t;
76038 #ifdef _UINT64_T
76039 typedef uint64_t uint_fast64_t;
76040 #endif
76041 EOF
76042 fi
76043
76044 if test "$ac_cv_type_uintmax_t" != yes; then
76045 sed 's/^ *//' >> tmp-stdint.h <<EOF
76046
76047 /* Define intmax based on what we found */
76048 #ifndef intmax_t
76049 #ifdef _INT64_T
76050 typedef int64_t intmax_t;
76051 #else
76052 typedef long intmax_t;
76053 #endif
76054 #endif
76055 #ifndef uintmax_t
76056 #ifdef _UINT64_T
76057 typedef uint64_t uintmax_t;
76058 #else
76059 typedef unsigned long uintmax_t;
76060 #endif
76061 #endif
76062 EOF
76063 fi
76064
76065 sed 's/^ *//' >> tmp-stdint.h <<EOF
76066
76067 #endif /* GCC_GENERATED_STDINT_H */
76068 EOF
76069
76070 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
76071 rm -f tmp-stdint.h
76072 else
76073 mv -f tmp-stdint.h include/gstdint.h
76074 fi
76075
76076 ;;
76077 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
76078 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
76079 "include/Makefile":F) cat > vpsed$$ << \_EOF
76080 s!`test -f '$<' || echo '$(srcdir)/'`!!
76081 _EOF
76082 sed -f vpsed$$ $ac_file > tmp$$
76083 mv tmp$$ $ac_file
76084 rm vpsed$$
76085 echo 'MULTISUBDIR =' >> $ac_file
76086 ml_norecursion=yes
76087 . ${multi_basedir}/config-ml.in
76088 { ml_norecursion=; unset ml_norecursion;}
76089 ;;
76090 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
76091 s!`test -f '$<' || echo '$(srcdir)/'`!!
76092 _EOF
76093 sed -f vpsed$$ $ac_file > tmp$$
76094 mv tmp$$ $ac_file
76095 rm vpsed$$
76096 echo 'MULTISUBDIR =' >> $ac_file
76097 ml_norecursion=yes
76098 . ${multi_basedir}/config-ml.in
76099 { ml_norecursion=; unset ml_norecursion;}
76100 ;;
76101 "python/Makefile":F) cat > vpsed$$ << \_EOF
76102 s!`test -f '$<' || echo '$(srcdir)/'`!!
76103 _EOF
76104 sed -f vpsed$$ $ac_file > tmp$$
76105 mv tmp$$ $ac_file
76106 rm vpsed$$
76107 echo 'MULTISUBDIR =' >> $ac_file
76108 ml_norecursion=yes
76109 . ${multi_basedir}/config-ml.in
76110 { ml_norecursion=; unset ml_norecursion;}
76111 ;;
76112 "src/Makefile":F) cat > vpsed$$ << \_EOF
76113 s!`test -f '$<' || echo '$(srcdir)/'`!!
76114 _EOF
76115 sed -f vpsed$$ $ac_file > tmp$$
76116 mv tmp$$ $ac_file
76117 rm vpsed$$
76118 echo 'MULTISUBDIR =' >> $ac_file
76119 ml_norecursion=yes
76120 . ${multi_basedir}/config-ml.in
76121 { ml_norecursion=; unset ml_norecursion;}
76122 ;;
76123 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
76124 s!`test -f '$<' || echo '$(srcdir)/'`!!
76125 _EOF
76126 sed -f vpsed$$ $ac_file > tmp$$
76127 mv tmp$$ $ac_file
76128 rm vpsed$$
76129 echo 'MULTISUBDIR =' >> $ac_file
76130 ml_norecursion=yes
76131 . ${multi_basedir}/config-ml.in
76132 { ml_norecursion=; unset ml_norecursion;}
76133 ;;
76134 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
76135 s!`test -f '$<' || echo '$(srcdir)/'`!!
76136 _EOF
76137 sed -f vpsed$$ $ac_file > tmp$$
76138 mv tmp$$ $ac_file
76139 rm vpsed$$
76140 echo 'MULTISUBDIR =' >> $ac_file
76141 ml_norecursion=yes
76142 . ${multi_basedir}/config-ml.in
76143 { ml_norecursion=; unset ml_norecursion;}
76144 ;;
76145 "doc/Makefile":F) cat > vpsed$$ << \_EOF
76146 s!`test -f '$<' || echo '$(srcdir)/'`!!
76147 _EOF
76148 sed -f vpsed$$ $ac_file > tmp$$
76149 mv tmp$$ $ac_file
76150 rm vpsed$$
76151 echo 'MULTISUBDIR =' >> $ac_file
76152 ml_norecursion=yes
76153 . ${multi_basedir}/config-ml.in
76154 { ml_norecursion=; unset ml_norecursion;}
76155 ;;
76156 "po/Makefile":F) cat > vpsed$$ << \_EOF
76157 s!`test -f '$<' || echo '$(srcdir)/'`!!
76158 _EOF
76159 sed -f vpsed$$ $ac_file > tmp$$
76160 mv tmp$$ $ac_file
76161 rm vpsed$$
76162 echo 'MULTISUBDIR =' >> $ac_file
76163 ml_norecursion=yes
76164 . ${multi_basedir}/config-ml.in
76165 { ml_norecursion=; unset ml_norecursion;}
76166 ;;
76167 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
76168 s!`test -f '$<' || echo '$(srcdir)/'`!!
76169 _EOF
76170 sed -f vpsed$$ $ac_file > tmp$$
76171 mv tmp$$ $ac_file
76172 rm vpsed$$
76173 echo 'MULTISUBDIR =' >> $ac_file
76174 ml_norecursion=yes
76175 . ${multi_basedir}/config-ml.in
76176 { ml_norecursion=; unset ml_norecursion;}
76177 ;;
76178 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
76179
76180 esac
76181 done # for ac_tag
76182
76183
76184 as_fn_exit 0
76185 _ACEOF
76186 ac_clean_files=$ac_clean_files_save
76187
76188 test $ac_write_fail = 0 ||
76189 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
76190
76191
76192 # configure is writing to config.log, and then calls config.status.
76193 # config.status does its own redirection, appending to config.log.
76194 # Unfortunately, on DOS this fails, as config.log is still kept open
76195 # by configure, so config.status won't be able to write to it; its
76196 # output is simply discarded. So we exec the FD to /dev/null,
76197 # effectively closing config.log, so it can be properly (re)opened and
76198 # appended to by config.status. When coming back to configure, we
76199 # need to make the FD available again.
76200 if test "$no_create" != yes; then
76201 ac_cs_success=:
76202 ac_config_status_args=
76203 test "$silent" = yes &&
76204 ac_config_status_args="$ac_config_status_args --quiet"
76205 exec 5>/dev/null
76206 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
76207 exec 5>>config.log
76208 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
76209 # would make configure fail if this is the last instruction.
76210 $ac_cs_success || as_fn_exit $?
76211 fi
76212 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
76213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
76214 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
76215 fi
76216