41975.cc: New.
[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/ios.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 LIBSUPCXX_PICFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_EPUB_FALSE
622 BUILD_EPUB_TRUE
623 DBTOEPUB
624 RUBY
625 BUILD_PDF_FALSE
626 BUILD_PDF_TRUE
627 PDFLATEX
628 DBLATEX
629 BUILD_MAN_FALSE
630 BUILD_MAN_TRUE
631 BUILD_HTML_FALSE
632 BUILD_HTML_TRUE
633 BUILD_XML_FALSE
634 BUILD_XML_TRUE
635 XSL_STYLE_DIR
636 XMLLINT
637 XSLTPROC
638 DOT
639 DOXYGEN
640 BUILD_INFO_FALSE
641 BUILD_INFO_TRUE
642 baseline_subdir_switch
643 baseline_dir
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SOL2_FALSE
650 ENABLE_SYMVERS_SOL2_TRUE
651 ENABLE_SYMVERS_SUN_FALSE
652 ENABLE_SYMVERS_SUN_TRUE
653 ENABLE_SYMVERS_DARWIN_FALSE
654 ENABLE_SYMVERS_DARWIN_TRUE
655 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
656 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
657 ENABLE_SYMVERS_GNU_FALSE
658 ENABLE_SYMVERS_GNU_TRUE
659 ENABLE_SYMVERS_FALSE
660 ENABLE_SYMVERS_TRUE
661 port_specific_symbol_files
662 SYMVER_FILE
663 CXXFILT
664 LTLIBICONV
665 LIBICONV
666 OPT_LDFLAGS
667 SECTION_LDFLAGS
668 GLIBCXX_LIBS
669 ENABLE_EXTERN_TEMPLATE_FALSE
670 ENABLE_EXTERN_TEMPLATE_TRUE
671 EXTRA_CXX_FLAGS
672 ENABLE_PARALLEL_FALSE
673 ENABLE_PARALLEL_TRUE
674 GLIBCXX_BUILD_DEBUG_FALSE
675 GLIBCXX_BUILD_DEBUG_TRUE
676 DEBUG_FLAGS
677 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
678 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
679 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
680 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
681 GLIBCXX_C_HEADERS_C_STD_FALSE
682 GLIBCXX_C_HEADERS_C_STD_TRUE
683 GLIBCXX_C_HEADERS_C_FALSE
684 GLIBCXX_C_HEADERS_C_TRUE
685 C_INCLUDE_DIR
686 ALLOCATOR_NAME
687 ALLOCATOR_H
688 CLOCALE_INTERNAL_H
689 CLOCALE_CC
690 CTIME_CC
691 CTIME_H
692 CNUMERIC_CC
693 CMONEY_CC
694 CMESSAGES_CC
695 CCTYPE_CC
696 CCOLLATE_CC
697 CCODECVT_CC
698 CMESSAGES_H
699 CLOCALE_H
700 USE_NLS
701 glibcxx_localedir
702 glibcxx_POFILES
703 glibcxx_MOFILES
704 check_msgfmt
705 BASIC_FILE_CC
706 BASIC_FILE_H
707 CSTDIO_H
708 SECTION_FLAGS
709 WERROR
710 glibcxx_thread_h
711 glibcxx_PCHFLAGS
712 GLIBCXX_BUILD_PCH_FALSE
713 GLIBCXX_BUILD_PCH_TRUE
714 GLIBCXX_HOSTED_FALSE
715 GLIBCXX_HOSTED_TRUE
716 enable_static
717 enable_shared
718 lt_host_flags
719 CXXCPP
720 OTOOL64
721 OTOOL
722 LIPO
723 NMEDIT
724 DSYMUTIL
725 OBJDUMP
726 NM
727 ac_ct_DUMPBIN
728 DUMPBIN
729 LD
730 FGREP
731 SED
732 LIBTOOL
733 EGREP
734 GREP
735 CPP
736 MAINT
737 MAINTAINER_MODE_FALSE
738 MAINTAINER_MODE_TRUE
739 RANLIB
740 AR
741 AS
742 LN_S
743 toplevel_srcdir
744 glibcxx_srcdir
745 glibcxx_builddir
746 ac_ct_CXX
747 CXXFLAGS
748 CXX
749 OBJEXT
750 EXEEXT
751 ac_ct_CC
752 CPPFLAGS
753 LDFLAGS
754 CFLAGS
755 CC
756 am__untar
757 am__tar
758 AMTAR
759 am__leading_dot
760 SET_MAKE
761 AWK
762 mkdir_p
763 MKDIR_P
764 INSTALL_STRIP_PROGRAM
765 STRIP
766 install_sh
767 MAKEINFO
768 AUTOHEADER
769 AUTOMAKE
770 AUTOCONF
771 ACLOCAL
772 VERSION
773 PACKAGE
774 CYGPATH_W
775 am__isrc
776 INSTALL_DATA
777 INSTALL_SCRIPT
778 INSTALL_PROGRAM
779 target_os
780 target_vendor
781 target_cpu
782 target
783 host_os
784 host_vendor
785 host_cpu
786 host
787 build_os
788 build_vendor
789 build_cpu
790 build
791 multi_basedir
792 target_alias
793 host_alias
794 build_alias
795 LIBS
796 ECHO_T
797 ECHO_N
798 ECHO_C
799 DEFS
800 mandir
801 localedir
802 libdir
803 psdir
804 pdfdir
805 dvidir
806 htmldir
807 infodir
808 docdir
809 oldincludedir
810 includedir
811 localstatedir
812 sharedstatedir
813 sysconfdir
814 datadir
815 datarootdir
816 libexecdir
817 sbindir
818 bindir
819 program_transform_name
820 prefix
821 exec_prefix
822 PACKAGE_URL
823 PACKAGE_BUGREPORT
824 PACKAGE_STRING
825 PACKAGE_VERSION
826 PACKAGE_TARNAME
827 PACKAGE_NAME
828 PATH_SEPARATOR
829 SHELL'
830 ac_subst_files=''
831 ac_user_opts='
832 enable_option_checking
833 enable_multilib
834 with_target_subdir
835 with_cross_host
836 with_newlib
837 enable_maintainer_mode
838 enable_shared
839 enable_static
840 with_pic
841 enable_fast_install
842 with_gnu_ld
843 enable_libtool_lock
844 enable_hosted_libstdcxx
845 enable_sjlj_exceptions
846 enable_libstdcxx_pch
847 enable_cstdio
848 enable_clocale
849 enable_nls
850 enable_libstdcxx_allocator
851 enable_cheaders
852 enable_long_long
853 enable_wchar_t
854 enable_c99
855 enable_concept_checks
856 enable_libstdcxx_debug_flags
857 enable_libstdcxx_debug
858 enable_cxx_flags
859 enable_fully_dynamic_string
860 enable_extern_template
861 enable_libstdcxx_time
862 enable_tls
863 enable_rpath
864 with_libiconv_prefix
865 with_system_libunwind
866 enable_linux_futex
867 enable_symvers
868 enable_visibility
869 with_gxx_include_dir
870 enable_version_specific_runtime_libs
871 '
872 ac_precious_vars='build_alias
873 host_alias
874 target_alias
875 CC
876 CFLAGS
877 LDFLAGS
878 LIBS
879 CPPFLAGS
880 CXX
881 CXXFLAGS
882 CCC
883 CPP
884 CXXCPP
885 CXXFILT'
886
887
888 # Initialize some variables set by options.
889 ac_init_help=
890 ac_init_version=false
891 ac_unrecognized_opts=
892 ac_unrecognized_sep=
893 # The variables have the same names as the options, with
894 # dashes changed to underlines.
895 cache_file=/dev/null
896 exec_prefix=NONE
897 no_create=
898 no_recursion=
899 prefix=NONE
900 program_prefix=NONE
901 program_suffix=NONE
902 program_transform_name=s,x,x,
903 silent=
904 site=
905 srcdir=
906 verbose=
907 x_includes=NONE
908 x_libraries=NONE
909
910 # Installation directory options.
911 # These are left unexpanded so users can "make install exec_prefix=/foo"
912 # and all the variables that are supposed to be based on exec_prefix
913 # by default will actually change.
914 # Use braces instead of parens because sh, perl, etc. also accept them.
915 # (The list follows the same order as the GNU Coding Standards.)
916 bindir='${exec_prefix}/bin'
917 sbindir='${exec_prefix}/sbin'
918 libexecdir='${exec_prefix}/libexec'
919 datarootdir='${prefix}/share'
920 datadir='${datarootdir}'
921 sysconfdir='${prefix}/etc'
922 sharedstatedir='${prefix}/com'
923 localstatedir='${prefix}/var'
924 includedir='${prefix}/include'
925 oldincludedir='/usr/include'
926 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
927 infodir='${datarootdir}/info'
928 htmldir='${docdir}'
929 dvidir='${docdir}'
930 pdfdir='${docdir}'
931 psdir='${docdir}'
932 libdir='${exec_prefix}/lib'
933 localedir='${datarootdir}/locale'
934 mandir='${datarootdir}/man'
935
936 ac_prev=
937 ac_dashdash=
938 for ac_option
939 do
940 # If the previous option needs an argument, assign it.
941 if test -n "$ac_prev"; then
942 eval $ac_prev=\$ac_option
943 ac_prev=
944 continue
945 fi
946
947 case $ac_option in
948 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
949 *) ac_optarg=yes ;;
950 esac
951
952 # Accept the important Cygnus configure options, so we can diagnose typos.
953
954 case $ac_dashdash$ac_option in
955 --)
956 ac_dashdash=yes ;;
957
958 -bindir | --bindir | --bindi | --bind | --bin | --bi)
959 ac_prev=bindir ;;
960 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
961 bindir=$ac_optarg ;;
962
963 -build | --build | --buil | --bui | --bu)
964 ac_prev=build_alias ;;
965 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
966 build_alias=$ac_optarg ;;
967
968 -cache-file | --cache-file | --cache-fil | --cache-fi \
969 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
970 ac_prev=cache_file ;;
971 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
972 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
973 cache_file=$ac_optarg ;;
974
975 --config-cache | -C)
976 cache_file=config.cache ;;
977
978 -datadir | --datadir | --datadi | --datad)
979 ac_prev=datadir ;;
980 -datadir=* | --datadir=* | --datadi=* | --datad=*)
981 datadir=$ac_optarg ;;
982
983 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
984 | --dataroo | --dataro | --datar)
985 ac_prev=datarootdir ;;
986 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
987 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
988 datarootdir=$ac_optarg ;;
989
990 -disable-* | --disable-*)
991 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994 as_fn_error "invalid feature name: $ac_useropt"
995 ac_useropt_orig=$ac_useropt
996 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997 case $ac_user_opts in
998 *"
999 "enable_$ac_useropt"
1000 "*) ;;
1001 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002 ac_unrecognized_sep=', ';;
1003 esac
1004 eval enable_$ac_useropt=no ;;
1005
1006 -docdir | --docdir | --docdi | --doc | --do)
1007 ac_prev=docdir ;;
1008 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1009 docdir=$ac_optarg ;;
1010
1011 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1012 ac_prev=dvidir ;;
1013 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1014 dvidir=$ac_optarg ;;
1015
1016 -enable-* | --enable-*)
1017 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error "invalid feature name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1024 *"
1025 "enable_$ac_useropt"
1026 "*) ;;
1027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028 ac_unrecognized_sep=', ';;
1029 esac
1030 eval enable_$ac_useropt=\$ac_optarg ;;
1031
1032 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1033 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1034 | --exec | --exe | --ex)
1035 ac_prev=exec_prefix ;;
1036 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1037 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1038 | --exec=* | --exe=* | --ex=*)
1039 exec_prefix=$ac_optarg ;;
1040
1041 -gas | --gas | --ga | --g)
1042 # Obsolete; use --with-gas.
1043 with_gas=yes ;;
1044
1045 -help | --help | --hel | --he | -h)
1046 ac_init_help=long ;;
1047 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1048 ac_init_help=recursive ;;
1049 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1050 ac_init_help=short ;;
1051
1052 -host | --host | --hos | --ho)
1053 ac_prev=host_alias ;;
1054 -host=* | --host=* | --hos=* | --ho=*)
1055 host_alias=$ac_optarg ;;
1056
1057 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1058 ac_prev=htmldir ;;
1059 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1060 | --ht=*)
1061 htmldir=$ac_optarg ;;
1062
1063 -includedir | --includedir | --includedi | --included | --include \
1064 | --includ | --inclu | --incl | --inc)
1065 ac_prev=includedir ;;
1066 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1067 | --includ=* | --inclu=* | --incl=* | --inc=*)
1068 includedir=$ac_optarg ;;
1069
1070 -infodir | --infodir | --infodi | --infod | --info | --inf)
1071 ac_prev=infodir ;;
1072 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1073 infodir=$ac_optarg ;;
1074
1075 -libdir | --libdir | --libdi | --libd)
1076 ac_prev=libdir ;;
1077 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1078 libdir=$ac_optarg ;;
1079
1080 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1081 | --libexe | --libex | --libe)
1082 ac_prev=libexecdir ;;
1083 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1084 | --libexe=* | --libex=* | --libe=*)
1085 libexecdir=$ac_optarg ;;
1086
1087 -localedir | --localedir | --localedi | --localed | --locale)
1088 ac_prev=localedir ;;
1089 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1090 localedir=$ac_optarg ;;
1091
1092 -localstatedir | --localstatedir | --localstatedi | --localstated \
1093 | --localstate | --localstat | --localsta | --localst | --locals)
1094 ac_prev=localstatedir ;;
1095 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1096 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1097 localstatedir=$ac_optarg ;;
1098
1099 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1100 ac_prev=mandir ;;
1101 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1102 mandir=$ac_optarg ;;
1103
1104 -nfp | --nfp | --nf)
1105 # Obsolete; use --without-fp.
1106 with_fp=no ;;
1107
1108 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1109 | --no-cr | --no-c | -n)
1110 no_create=yes ;;
1111
1112 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1113 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1114 no_recursion=yes ;;
1115
1116 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1117 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1118 | --oldin | --oldi | --old | --ol | --o)
1119 ac_prev=oldincludedir ;;
1120 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1121 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1122 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1123 oldincludedir=$ac_optarg ;;
1124
1125 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1126 ac_prev=prefix ;;
1127 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1128 prefix=$ac_optarg ;;
1129
1130 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1131 | --program-pre | --program-pr | --program-p)
1132 ac_prev=program_prefix ;;
1133 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1134 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1135 program_prefix=$ac_optarg ;;
1136
1137 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1138 | --program-suf | --program-su | --program-s)
1139 ac_prev=program_suffix ;;
1140 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1141 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1142 program_suffix=$ac_optarg ;;
1143
1144 -program-transform-name | --program-transform-name \
1145 | --program-transform-nam | --program-transform-na \
1146 | --program-transform-n | --program-transform- \
1147 | --program-transform | --program-transfor \
1148 | --program-transfo | --program-transf \
1149 | --program-trans | --program-tran \
1150 | --progr-tra | --program-tr | --program-t)
1151 ac_prev=program_transform_name ;;
1152 -program-transform-name=* | --program-transform-name=* \
1153 | --program-transform-nam=* | --program-transform-na=* \
1154 | --program-transform-n=* | --program-transform-=* \
1155 | --program-transform=* | --program-transfor=* \
1156 | --program-transfo=* | --program-transf=* \
1157 | --program-trans=* | --program-tran=* \
1158 | --progr-tra=* | --program-tr=* | --program-t=*)
1159 program_transform_name=$ac_optarg ;;
1160
1161 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1162 ac_prev=pdfdir ;;
1163 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1164 pdfdir=$ac_optarg ;;
1165
1166 -psdir | --psdir | --psdi | --psd | --ps)
1167 ac_prev=psdir ;;
1168 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1169 psdir=$ac_optarg ;;
1170
1171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1172 | -silent | --silent | --silen | --sile | --sil)
1173 silent=yes ;;
1174
1175 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1176 ac_prev=sbindir ;;
1177 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1178 | --sbi=* | --sb=*)
1179 sbindir=$ac_optarg ;;
1180
1181 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1182 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1183 | --sharedst | --shareds | --shared | --share | --shar \
1184 | --sha | --sh)
1185 ac_prev=sharedstatedir ;;
1186 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1187 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1188 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1189 | --sha=* | --sh=*)
1190 sharedstatedir=$ac_optarg ;;
1191
1192 -site | --site | --sit)
1193 ac_prev=site ;;
1194 -site=* | --site=* | --sit=*)
1195 site=$ac_optarg ;;
1196
1197 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1198 ac_prev=srcdir ;;
1199 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1200 srcdir=$ac_optarg ;;
1201
1202 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1203 | --syscon | --sysco | --sysc | --sys | --sy)
1204 ac_prev=sysconfdir ;;
1205 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1206 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1207 sysconfdir=$ac_optarg ;;
1208
1209 -target | --target | --targe | --targ | --tar | --ta | --t)
1210 ac_prev=target_alias ;;
1211 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1212 target_alias=$ac_optarg ;;
1213
1214 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1215 verbose=yes ;;
1216
1217 -version | --version | --versio | --versi | --vers | -V)
1218 ac_init_version=: ;;
1219
1220 -with-* | --with-*)
1221 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1224 as_fn_error "invalid package name: $ac_useropt"
1225 ac_useropt_orig=$ac_useropt
1226 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227 case $ac_user_opts in
1228 *"
1229 "with_$ac_useropt"
1230 "*) ;;
1231 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232 ac_unrecognized_sep=', ';;
1233 esac
1234 eval with_$ac_useropt=\$ac_optarg ;;
1235
1236 -without-* | --without-*)
1237 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1240 as_fn_error "invalid package name: $ac_useropt"
1241 ac_useropt_orig=$ac_useropt
1242 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1244 *"
1245 "with_$ac_useropt"
1246 "*) ;;
1247 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248 ac_unrecognized_sep=', ';;
1249 esac
1250 eval with_$ac_useropt=no ;;
1251
1252 --x)
1253 # Obsolete; use --with-x.
1254 with_x=yes ;;
1255
1256 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1257 | --x-incl | --x-inc | --x-in | --x-i)
1258 ac_prev=x_includes ;;
1259 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1260 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1261 x_includes=$ac_optarg ;;
1262
1263 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1264 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1265 ac_prev=x_libraries ;;
1266 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1267 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1268 x_libraries=$ac_optarg ;;
1269
1270 -*) as_fn_error "unrecognized option: \`$ac_option'
1271 Try \`$0 --help' for more information."
1272 ;;
1273
1274 *=*)
1275 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1276 # Reject names that are not valid shell variable names.
1277 case $ac_envvar in #(
1278 '' | [0-9]* | *[!_$as_cr_alnum]* )
1279 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1280 esac
1281 eval $ac_envvar=\$ac_optarg
1282 export $ac_envvar ;;
1283
1284 *)
1285 # FIXME: should be removed in autoconf 3.0.
1286 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1288 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1290 ;;
1291
1292 esac
1293 done
1294
1295 if test -n "$ac_prev"; then
1296 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1297 as_fn_error "missing argument to $ac_option"
1298 fi
1299
1300 if test -n "$ac_unrecognized_opts"; then
1301 case $enable_option_checking in
1302 no) ;;
1303 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1304 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1305 esac
1306 fi
1307
1308 # Check all directory arguments for consistency.
1309 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310 datadir sysconfdir sharedstatedir localstatedir includedir \
1311 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312 libdir localedir mandir
1313 do
1314 eval ac_val=\$$ac_var
1315 # Remove trailing slashes.
1316 case $ac_val in
1317 */ )
1318 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319 eval $ac_var=\$ac_val;;
1320 esac
1321 # Be sure to have absolute directory names.
1322 case $ac_val in
1323 [\\/$]* | ?:[\\/]* ) continue;;
1324 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1325 esac
1326 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1327 done
1328
1329 # There might be people who depend on the old broken behavior: `$host'
1330 # used to hold the argument of --host etc.
1331 # FIXME: To remove some day.
1332 build=$build_alias
1333 host=$host_alias
1334 target=$target_alias
1335
1336 # FIXME: To remove some day.
1337 if test "x$host_alias" != x; then
1338 if test "x$build_alias" = x; then
1339 cross_compiling=maybe
1340 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1341 If a cross compiler is detected then cross compile mode will be used." >&2
1342 elif test "x$build_alias" != "x$host_alias"; then
1343 cross_compiling=yes
1344 fi
1345 fi
1346
1347 ac_tool_prefix=
1348 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1349
1350 test "$silent" = yes && exec 6>/dev/null
1351
1352
1353 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1354 ac_ls_di=`ls -di .` &&
1355 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1356 as_fn_error "working directory cannot be determined"
1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358 as_fn_error "pwd does not report name of working directory"
1359
1360
1361 # Find the source files, if location was not specified.
1362 if test -z "$srcdir"; then
1363 ac_srcdir_defaulted=yes
1364 # Try the directory containing this script, then the parent directory.
1365 ac_confdir=`$as_dirname -- "$as_myself" ||
1366 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367 X"$as_myself" : 'X\(//\)[^/]' \| \
1368 X"$as_myself" : 'X\(//\)$' \| \
1369 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1370 $as_echo X"$as_myself" |
1371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1372 s//\1/
1373 q
1374 }
1375 /^X\(\/\/\)[^/].*/{
1376 s//\1/
1377 q
1378 }
1379 /^X\(\/\/\)$/{
1380 s//\1/
1381 q
1382 }
1383 /^X\(\/\).*/{
1384 s//\1/
1385 q
1386 }
1387 s/.*/./; q'`
1388 srcdir=$ac_confdir
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1390 srcdir=..
1391 fi
1392 else
1393 ac_srcdir_defaulted=no
1394 fi
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1396 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1397 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1398 fi
1399 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1400 ac_abs_confdir=`(
1401 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1402 pwd)`
1403 # When building in place, set srcdir=.
1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405 srcdir=.
1406 fi
1407 # Remove unnecessary trailing slashes from srcdir.
1408 # Double slashes in file names in object file debugging info
1409 # mess up M-x gdb in Emacs.
1410 case $srcdir in
1411 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1412 esac
1413 for ac_var in $ac_precious_vars; do
1414 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1415 eval ac_env_${ac_var}_value=\$${ac_var}
1416 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1417 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1418 done
1419
1420 #
1421 # Report the --help message.
1422 #
1423 if test "$ac_init_help" = "long"; then
1424 # Omit some internal or obsolete options to make the list less imposing.
1425 # This message is too long to be a string in the A/UX 3.1 sh.
1426 cat <<_ACEOF
1427 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1428
1429 Usage: $0 [OPTION]... [VAR=VALUE]...
1430
1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432 VAR=VALUE. See below for descriptions of some of the useful variables.
1433
1434 Defaults for the options are specified in brackets.
1435
1436 Configuration:
1437 -h, --help display this help and exit
1438 --help=short display options specific to this package
1439 --help=recursive display the short help of all the included packages
1440 -V, --version display version information and exit
1441 -q, --quiet, --silent do not print \`checking...' messages
1442 --cache-file=FILE cache test results in FILE [disabled]
1443 -C, --config-cache alias for \`--cache-file=config.cache'
1444 -n, --no-create do not create output files
1445 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1446
1447 Installation directories:
1448 --prefix=PREFIX install architecture-independent files in PREFIX
1449 [$ac_default_prefix]
1450 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1451 [PREFIX]
1452
1453 By default, \`make install' will install all the files in
1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456 for instance \`--prefix=\$HOME'.
1457
1458 For better control, use the options below.
1459
1460 Fine tuning of the installation directories:
1461 --bindir=DIR user executables [EPREFIX/bin]
1462 --sbindir=DIR system admin executables [EPREFIX/sbin]
1463 --libexecdir=DIR program executables [EPREFIX/libexec]
1464 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1465 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1466 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1467 --libdir=DIR object code libraries [EPREFIX/lib]
1468 --includedir=DIR C header files [PREFIX/include]
1469 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1470 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1471 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1472 --infodir=DIR info documentation [DATAROOTDIR/info]
1473 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1474 --mandir=DIR man documentation [DATAROOTDIR/man]
1475 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1476 --htmldir=DIR html documentation [DOCDIR]
1477 --dvidir=DIR dvi documentation [DOCDIR]
1478 --pdfdir=DIR pdf documentation [DOCDIR]
1479 --psdir=DIR ps documentation [DOCDIR]
1480 _ACEOF
1481
1482 cat <<\_ACEOF
1483
1484 Program names:
1485 --program-prefix=PREFIX prepend PREFIX to installed program names
1486 --program-suffix=SUFFIX append SUFFIX to installed program names
1487 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1488
1489 System types:
1490 --build=BUILD configure for building on BUILD [guessed]
1491 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1492 --target=TARGET configure for building compilers for TARGET [HOST]
1493 _ACEOF
1494 fi
1495
1496 if test -n "$ac_init_help"; then
1497 case $ac_init_help in
1498 short | recursive ) echo "Configuration of package-unused version-unused:";;
1499 esac
1500 cat <<\_ACEOF
1501
1502 Optional Features:
1503 --disable-option-checking ignore unrecognized --enable/--with options
1504 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1505 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1506 --enable-multilib build many library versions (default)
1507 --enable-maintainer-mode enable make rules and dependencies not useful
1508 (and sometimes confusing) to the casual installer
1509 --enable-shared[=PKGS] build shared libraries [default=yes]
1510 --enable-static[=PKGS] build static libraries [default=yes]
1511 --enable-fast-install[=PKGS]
1512 optimize for fast installation [default=yes]
1513 --disable-libtool-lock avoid locking (might break parallel builds)
1514 --disable-hosted-libstdcxx
1515 only build freestanding C++ runtime support
1516 --enable-sjlj-exceptions
1517 force use of builtin_setjmp for exceptions
1518 [default=auto]
1519 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1520 [default=$is_hosted]
1521 --enable-cstdio[=PACKAGE]
1522 use target-specific I/O package [default=stdio]
1523 --enable-clocale[=MODEL]
1524 use MODEL for target locale package [default=auto]
1525 --enable-nls use Native Language Support (default)
1526 --enable-libstdcxx-allocator[=KIND]
1527 use KIND for target std::allocator base
1528 [default=auto]
1529 --enable-cheaders[=KIND]
1530 construct "C" headers for g++ [default=$c_model]
1531 --enable-long-long enable template specializations for 'long long'
1532 [default=yes]
1533 --enable-wchar_t enable template specializations for 'wchar_t'
1534 [default=yes]
1535 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1536 --enable-concept-checks use Boost-derived template checks [default=no]
1537 --enable-libstdcxx-debug-flags=FLAGS
1538 pass compiler FLAGS when building debug library
1539 [default="-g3 -O0"]
1540 --enable-libstdcxx-debug
1541 build extra debug library [default=no]
1542 --enable-cxx-flags=FLAGS
1543 pass compiler FLAGS when building library [default=]
1544 --enable-fully-dynamic-string
1545 do not put empty strings in per-process static
1546 memory [default=no]
1547 --enable-extern-template
1548 enable extern template [default=yes]
1549 --enable-libstdcxx-time[=KIND]
1550 use KIND for check type [default=no]
1551 --enable-tls Use thread-local storage [default=yes]
1552 --disable-rpath do not hardcode runtime library paths
1553 --enable-linux-futex use the Linux futex system call [default=default]
1554 --enable-symvers[=STYLE]
1555 enables symbol versioning of the shared library
1556 [default=yes]
1557 --enable-visibility enables visibility safe usage [default=yes]
1558 --enable-version-specific-runtime-libs
1559 Specify that runtime libraries should be installed
1560 in a compiler-specific directory
1561
1562 Optional Packages:
1563 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1564 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1565 --with-target-subdir=SUBDIR
1566 configuring in a subdirectory
1567 --with-cross-host=HOST configuring with a cross compiler
1568 --with-newlib assume newlib as a system C library
1569 --with-pic try to use only PIC/non-PIC objects [default=use
1570 both]
1571 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1572 --with-gnu-ld assume the C compiler uses GNU ld default=no
1573 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1574 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1575 --with-system-libunwind use installed libunwind
1576 --with-gxx-include-dir=DIR
1577 installation directory for include files
1578
1579 Some influential environment variables:
1580 CC C compiler command
1581 CFLAGS C compiler flags
1582 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1583 nonstandard directory <lib dir>
1584 LIBS libraries to pass to the linker, e.g. -l<library>
1585 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1586 you have headers in a nonstandard directory <include dir>
1587 CXX C++ compiler command
1588 CXXFLAGS C++ compiler flags
1589 CPP C preprocessor
1590 CXXCPP C++ preprocessor
1591 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1592 `c++filt', `gc++filt' on PATH.
1593
1594 Use these variables to override the choices made by `configure' or to help
1595 it to find libraries and programs with nonstandard names/locations.
1596
1597 Report bugs to the package provider.
1598 _ACEOF
1599 ac_status=$?
1600 fi
1601
1602 if test "$ac_init_help" = "recursive"; then
1603 # If there are subdirs, report their specific --help.
1604 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1605 test -d "$ac_dir" ||
1606 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1607 continue
1608 ac_builddir=.
1609
1610 case "$ac_dir" in
1611 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1612 *)
1613 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1614 # A ".." for each directory in $ac_dir_suffix.
1615 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1616 case $ac_top_builddir_sub in
1617 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1618 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1619 esac ;;
1620 esac
1621 ac_abs_top_builddir=$ac_pwd
1622 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1623 # for backward compatibility:
1624 ac_top_builddir=$ac_top_build_prefix
1625
1626 case $srcdir in
1627 .) # We are building in place.
1628 ac_srcdir=.
1629 ac_top_srcdir=$ac_top_builddir_sub
1630 ac_abs_top_srcdir=$ac_pwd ;;
1631 [\\/]* | ?:[\\/]* ) # Absolute name.
1632 ac_srcdir=$srcdir$ac_dir_suffix;
1633 ac_top_srcdir=$srcdir
1634 ac_abs_top_srcdir=$srcdir ;;
1635 *) # Relative name.
1636 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1637 ac_top_srcdir=$ac_top_build_prefix$srcdir
1638 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1639 esac
1640 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1641
1642 cd "$ac_dir" || { ac_status=$?; continue; }
1643 # Check for guested configure.
1644 if test -f "$ac_srcdir/configure.gnu"; then
1645 echo &&
1646 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1647 elif test -f "$ac_srcdir/configure"; then
1648 echo &&
1649 $SHELL "$ac_srcdir/configure" --help=recursive
1650 else
1651 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1652 fi || ac_status=$?
1653 cd "$ac_pwd" || { ac_status=$?; break; }
1654 done
1655 fi
1656
1657 test -n "$ac_init_help" && exit $ac_status
1658 if $ac_init_version; then
1659 cat <<\_ACEOF
1660 package-unused configure version-unused
1661 generated by GNU Autoconf 2.64
1662
1663 Copyright (C) 2009 Free Software Foundation, Inc.
1664 This configure script is free software; the Free Software Foundation
1665 gives unlimited permission to copy, distribute and modify it.
1666 _ACEOF
1667 exit
1668 fi
1669
1670 ## ------------------------ ##
1671 ## Autoconf initialization. ##
1672 ## ------------------------ ##
1673
1674 # ac_fn_c_try_compile LINENO
1675 # --------------------------
1676 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1677 ac_fn_c_try_compile ()
1678 {
1679 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1680 rm -f conftest.$ac_objext
1681 if { { ac_try="$ac_compile"
1682 case "(($ac_try" in
1683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684 *) ac_try_echo=$ac_try;;
1685 esac
1686 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687 $as_echo "$ac_try_echo"; } >&5
1688 (eval "$ac_compile") 2>conftest.err
1689 ac_status=$?
1690 if test -s conftest.err; then
1691 grep -v '^ *+' conftest.err >conftest.er1
1692 cat conftest.er1 >&5
1693 mv -f conftest.er1 conftest.err
1694 fi
1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696 test $ac_status = 0; } && {
1697 test -z "$ac_c_werror_flag" ||
1698 test ! -s conftest.err
1699 } && test -s conftest.$ac_objext; then :
1700 ac_retval=0
1701 else
1702 $as_echo "$as_me: failed program was:" >&5
1703 sed 's/^/| /' conftest.$ac_ext >&5
1704
1705 ac_retval=1
1706 fi
1707 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1708 return $ac_retval
1709
1710 } # ac_fn_c_try_compile
1711
1712 # ac_fn_cxx_try_compile LINENO
1713 # ----------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_cxx_try_compile ()
1716 {
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 rm -f conftest.$ac_objext
1719 if { { ac_try="$ac_compile"
1720 case "(($ac_try" in
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_compile") 2>conftest.err
1727 ac_status=$?
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1732 fi
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_cxx_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest.$ac_objext; then :
1738 ac_retval=0
1739 else
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1742
1743 ac_retval=1
1744 fi
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 return $ac_retval
1747
1748 } # ac_fn_cxx_try_compile
1749
1750 # ac_fn_c_try_cpp LINENO
1751 # ----------------------
1752 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_c_try_cpp ()
1754 {
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 if { { ac_try="$ac_cpp conftest.$ac_ext"
1757 case "(($ac_try" in
1758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1759 *) ac_try_echo=$ac_try;;
1760 esac
1761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1764 ac_status=$?
1765 if test -s conftest.err; then
1766 grep -v '^ *+' conftest.err >conftest.er1
1767 cat conftest.er1 >&5
1768 mv -f conftest.er1 conftest.err
1769 fi
1770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1771 test $ac_status = 0; } >/dev/null && {
1772 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1773 test ! -s conftest.err
1774 }; then :
1775 ac_retval=0
1776 else
1777 $as_echo "$as_me: failed program was:" >&5
1778 sed 's/^/| /' conftest.$ac_ext >&5
1779
1780 ac_retval=1
1781 fi
1782 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1783 return $ac_retval
1784
1785 } # ac_fn_c_try_cpp
1786
1787 # ac_fn_c_try_link LINENO
1788 # -----------------------
1789 # Try to link conftest.$ac_ext, and return whether this succeeded.
1790 ac_fn_c_try_link ()
1791 {
1792 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1793 rm -f conftest.$ac_objext conftest$ac_exeext
1794 if { { ac_try="$ac_link"
1795 case "(($ac_try" in
1796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1798 esac
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_link") 2>conftest.err
1802 ac_status=$?
1803 if test -s conftest.err; then
1804 grep -v '^ *+' conftest.err >conftest.er1
1805 cat conftest.er1 >&5
1806 mv -f conftest.er1 conftest.err
1807 fi
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } && {
1810 test -z "$ac_c_werror_flag" ||
1811 test ! -s conftest.err
1812 } && test -s conftest$ac_exeext && {
1813 test "$cross_compiling" = yes ||
1814 $as_test_x conftest$ac_exeext
1815 }; then :
1816 ac_retval=0
1817 else
1818 $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.$ac_ext >&5
1820
1821 ac_retval=1
1822 fi
1823 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1824 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1825 # interfere with the next link command; also delete a directory that is
1826 # left behind by Apple's compiler. We do this before executing the actions.
1827 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1828 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1829 return $ac_retval
1830
1831 } # ac_fn_c_try_link
1832
1833 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1834 # -------------------------------------------------------
1835 # Tests whether HEADER exists and can be compiled using the include files in
1836 # INCLUDES, setting the cache variable VAR accordingly.
1837 ac_fn_c_check_header_compile ()
1838 {
1839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1841 $as_echo_n "checking for $2... " >&6; }
1842 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1843 $as_echo_n "(cached) " >&6
1844 else
1845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1846 /* end confdefs.h. */
1847 $4
1848 #include <$2>
1849 _ACEOF
1850 if ac_fn_c_try_compile "$LINENO"; then :
1851 eval "$3=yes"
1852 else
1853 eval "$3=no"
1854 fi
1855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1856 fi
1857 eval ac_res=\$$3
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1859 $as_echo "$ac_res" >&6; }
1860 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1861
1862 } # ac_fn_c_check_header_compile
1863
1864 # ac_fn_c_try_run LINENO
1865 # ----------------------
1866 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1867 # that executables *can* be run.
1868 ac_fn_c_try_run ()
1869 {
1870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871 if { { ac_try="$ac_link"
1872 case "(($ac_try" in
1873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1874 *) ac_try_echo=$ac_try;;
1875 esac
1876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877 $as_echo "$ac_try_echo"; } >&5
1878 (eval "$ac_link") 2>&5
1879 ac_status=$?
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1882 { { case "(($ac_try" in
1883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884 *) ac_try_echo=$ac_try;;
1885 esac
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888 (eval "$ac_try") 2>&5
1889 ac_status=$?
1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891 test $ac_status = 0; }; }; then :
1892 ac_retval=0
1893 else
1894 $as_echo "$as_me: program exited with status $ac_status" >&5
1895 $as_echo "$as_me: failed program was:" >&5
1896 sed 's/^/| /' conftest.$ac_ext >&5
1897
1898 ac_retval=$ac_status
1899 fi
1900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1901 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1902 return $ac_retval
1903
1904 } # ac_fn_c_try_run
1905
1906 # ac_fn_c_check_func LINENO FUNC VAR
1907 # ----------------------------------
1908 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1909 ac_fn_c_check_func ()
1910 {
1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913 $as_echo_n "checking for $2... " >&6; }
1914 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1915 $as_echo_n "(cached) " >&6
1916 else
1917 if test x$gcc_no_link = xyes; then
1918 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1919 fi
1920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1921 /* end confdefs.h. */
1922 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1924 #define $2 innocuous_$2
1925
1926 /* System header to define __stub macros and hopefully few prototypes,
1927 which can conflict with char $2 (); below.
1928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1929 <limits.h> exists even on freestanding compilers. */
1930
1931 #ifdef __STDC__
1932 # include <limits.h>
1933 #else
1934 # include <assert.h>
1935 #endif
1936
1937 #undef $2
1938
1939 /* Override any GCC internal prototype to avoid an error.
1940 Use char because int might match the return type of a GCC
1941 builtin and then its argument prototype would still apply. */
1942 #ifdef __cplusplus
1943 extern "C"
1944 #endif
1945 char $2 ();
1946 /* The GNU C library defines this for functions which it implements
1947 to always fail with ENOSYS. Some functions are actually named
1948 something starting with __ and the normal name is an alias. */
1949 #if defined __stub_$2 || defined __stub___$2
1950 choke me
1951 #endif
1952
1953 int
1954 main ()
1955 {
1956 return $2 ();
1957 ;
1958 return 0;
1959 }
1960 _ACEOF
1961 if ac_fn_c_try_link "$LINENO"; then :
1962 eval "$3=yes"
1963 else
1964 eval "$3=no"
1965 fi
1966 rm -f core conftest.err conftest.$ac_objext \
1967 conftest$ac_exeext conftest.$ac_ext
1968 fi
1969 eval ac_res=\$$3
1970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1971 $as_echo "$ac_res" >&6; }
1972 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1973
1974 } # ac_fn_c_check_func
1975
1976 # ac_fn_cxx_try_cpp LINENO
1977 # ------------------------
1978 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_cxx_try_cpp ()
1980 {
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 if { { ac_try="$ac_cpp conftest.$ac_ext"
1983 case "(($ac_try" in
1984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1985 *) ac_try_echo=$ac_try;;
1986 esac
1987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1988 $as_echo "$ac_try_echo"; } >&5
1989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1990 ac_status=$?
1991 if test -s conftest.err; then
1992 grep -v '^ *+' conftest.err >conftest.er1
1993 cat conftest.er1 >&5
1994 mv -f conftest.er1 conftest.err
1995 fi
1996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1997 test $ac_status = 0; } >/dev/null && {
1998 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1999 test ! -s conftest.err
2000 }; then :
2001 ac_retval=0
2002 else
2003 $as_echo "$as_me: failed program was:" >&5
2004 sed 's/^/| /' conftest.$ac_ext >&5
2005
2006 ac_retval=1
2007 fi
2008 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2009 return $ac_retval
2010
2011 } # ac_fn_cxx_try_cpp
2012
2013 # ac_fn_cxx_try_link LINENO
2014 # -------------------------
2015 # Try to link conftest.$ac_ext, and return whether this succeeded.
2016 ac_fn_cxx_try_link ()
2017 {
2018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019 rm -f conftest.$ac_objext conftest$ac_exeext
2020 if { { ac_try="$ac_link"
2021 case "(($ac_try" in
2022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2023 *) ac_try_echo=$ac_try;;
2024 esac
2025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2026 $as_echo "$ac_try_echo"; } >&5
2027 (eval "$ac_link") 2>conftest.err
2028 ac_status=$?
2029 if test -s conftest.err; then
2030 grep -v '^ *+' conftest.err >conftest.er1
2031 cat conftest.er1 >&5
2032 mv -f conftest.er1 conftest.err
2033 fi
2034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2035 test $ac_status = 0; } && {
2036 test -z "$ac_cxx_werror_flag" ||
2037 test ! -s conftest.err
2038 } && test -s conftest$ac_exeext && {
2039 test "$cross_compiling" = yes ||
2040 $as_test_x conftest$ac_exeext
2041 }; then :
2042 ac_retval=0
2043 else
2044 $as_echo "$as_me: failed program was:" >&5
2045 sed 's/^/| /' conftest.$ac_ext >&5
2046
2047 ac_retval=1
2048 fi
2049 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2050 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2051 # interfere with the next link command; also delete a directory that is
2052 # left behind by Apple's compiler. We do this before executing the actions.
2053 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2054 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2055 return $ac_retval
2056
2057 } # ac_fn_cxx_try_link
2058
2059 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2060 # -------------------------------------------------------
2061 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2062 # the include files in INCLUDES and setting the cache variable VAR
2063 # accordingly.
2064 ac_fn_c_check_header_mongrel ()
2065 {
2066 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2067 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2069 $as_echo_n "checking for $2... " >&6; }
2070 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2071 $as_echo_n "(cached) " >&6
2072 fi
2073 eval ac_res=\$$3
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2075 $as_echo "$ac_res" >&6; }
2076 else
2077 # Is the header compilable?
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2079 $as_echo_n "checking $2 usability... " >&6; }
2080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2081 /* end confdefs.h. */
2082 $4
2083 #include <$2>
2084 _ACEOF
2085 if ac_fn_c_try_compile "$LINENO"; then :
2086 ac_header_compiler=yes
2087 else
2088 ac_header_compiler=no
2089 fi
2090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2092 $as_echo "$ac_header_compiler" >&6; }
2093
2094 # Is the header present?
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2096 $as_echo_n "checking $2 presence... " >&6; }
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2099 #include <$2>
2100 _ACEOF
2101 if ac_fn_c_try_cpp "$LINENO"; then :
2102 ac_header_preproc=yes
2103 else
2104 ac_header_preproc=no
2105 fi
2106 rm -f conftest.err conftest.$ac_ext
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2108 $as_echo "$ac_header_preproc" >&6; }
2109
2110 # So? What about this header?
2111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2112 yes:no: )
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2114 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2116 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2117 ;;
2118 no:yes:* )
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2120 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2122 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2124 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2126 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2128 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2129 ;;
2130 esac
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2132 $as_echo_n "checking for $2... " >&6; }
2133 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2134 $as_echo_n "(cached) " >&6
2135 else
2136 eval "$3=\$ac_header_compiler"
2137 fi
2138 eval ac_res=\$$3
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2140 $as_echo "$ac_res" >&6; }
2141 fi
2142 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2143
2144 } # ac_fn_c_check_header_mongrel
2145
2146 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2147 # ---------------------------------------------------------
2148 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2149 # the include files in INCLUDES and setting the cache variable VAR
2150 # accordingly.
2151 ac_fn_cxx_check_header_mongrel ()
2152 {
2153 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2154 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2156 $as_echo_n "checking for $2... " >&6; }
2157 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2158 $as_echo_n "(cached) " >&6
2159 fi
2160 eval ac_res=\$$3
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2162 $as_echo "$ac_res" >&6; }
2163 else
2164 # Is the header compilable?
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2166 $as_echo_n "checking $2 usability... " >&6; }
2167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2168 /* end confdefs.h. */
2169 $4
2170 #include <$2>
2171 _ACEOF
2172 if ac_fn_cxx_try_compile "$LINENO"; then :
2173 ac_header_compiler=yes
2174 else
2175 ac_header_compiler=no
2176 fi
2177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2179 $as_echo "$ac_header_compiler" >&6; }
2180
2181 # Is the header present?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2183 $as_echo_n "checking $2 presence... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h. */
2186 #include <$2>
2187 _ACEOF
2188 if ac_fn_cxx_try_cpp "$LINENO"; then :
2189 ac_header_preproc=yes
2190 else
2191 ac_header_preproc=no
2192 fi
2193 rm -f conftest.err conftest.$ac_ext
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2195 $as_echo "$ac_header_preproc" >&6; }
2196
2197 # So? What about this header?
2198 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2199 yes:no: )
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2201 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2203 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2204 ;;
2205 no:yes:* )
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2207 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2209 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2211 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2213 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2215 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2216 ;;
2217 esac
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2219 $as_echo_n "checking for $2... " >&6; }
2220 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2221 $as_echo_n "(cached) " >&6
2222 else
2223 eval "$3=\$ac_header_compiler"
2224 fi
2225 eval ac_res=\$$3
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2227 $as_echo "$ac_res" >&6; }
2228 fi
2229 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2230
2231 } # ac_fn_cxx_check_header_mongrel
2232
2233 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2234 # --------------------------------------------
2235 # Tries to find the compile-time value of EXPR in a program that includes
2236 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2237 # computed
2238 ac_fn_c_compute_int ()
2239 {
2240 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2241 if test "$cross_compiling" = yes; then
2242 # Depending upon the size, compute the lo and hi bounds.
2243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2244 /* end confdefs.h. */
2245 $4
2246 int
2247 main ()
2248 {
2249 static int test_array [1 - 2 * !(($2) >= 0)];
2250 test_array [0] = 0
2251
2252 ;
2253 return 0;
2254 }
2255 _ACEOF
2256 if ac_fn_c_try_compile "$LINENO"; then :
2257 ac_lo=0 ac_mid=0
2258 while :; do
2259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2260 /* end confdefs.h. */
2261 $4
2262 int
2263 main ()
2264 {
2265 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2266 test_array [0] = 0
2267
2268 ;
2269 return 0;
2270 }
2271 _ACEOF
2272 if ac_fn_c_try_compile "$LINENO"; then :
2273 ac_hi=$ac_mid; break
2274 else
2275 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2276 if test $ac_lo -le $ac_mid; then
2277 ac_lo= ac_hi=
2278 break
2279 fi
2280 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2281 fi
2282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2283 done
2284 else
2285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2286 /* end confdefs.h. */
2287 $4
2288 int
2289 main ()
2290 {
2291 static int test_array [1 - 2 * !(($2) < 0)];
2292 test_array [0] = 0
2293
2294 ;
2295 return 0;
2296 }
2297 _ACEOF
2298 if ac_fn_c_try_compile "$LINENO"; then :
2299 ac_hi=-1 ac_mid=-1
2300 while :; do
2301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2302 /* end confdefs.h. */
2303 $4
2304 int
2305 main ()
2306 {
2307 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2308 test_array [0] = 0
2309
2310 ;
2311 return 0;
2312 }
2313 _ACEOF
2314 if ac_fn_c_try_compile "$LINENO"; then :
2315 ac_lo=$ac_mid; break
2316 else
2317 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2318 if test $ac_mid -le $ac_hi; then
2319 ac_lo= ac_hi=
2320 break
2321 fi
2322 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2323 fi
2324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2325 done
2326 else
2327 ac_lo= ac_hi=
2328 fi
2329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2330 fi
2331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2332 # Binary search between lo and hi bounds.
2333 while test "x$ac_lo" != "x$ac_hi"; do
2334 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2336 /* end confdefs.h. */
2337 $4
2338 int
2339 main ()
2340 {
2341 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2342 test_array [0] = 0
2343
2344 ;
2345 return 0;
2346 }
2347 _ACEOF
2348 if ac_fn_c_try_compile "$LINENO"; then :
2349 ac_hi=$ac_mid
2350 else
2351 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2352 fi
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2354 done
2355 case $ac_lo in #((
2356 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2357 '') ac_retval=1 ;;
2358 esac
2359 else
2360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2361 /* end confdefs.h. */
2362 $4
2363 static long int longval () { return $2; }
2364 static unsigned long int ulongval () { return $2; }
2365 #include <stdio.h>
2366 #include <stdlib.h>
2367 int
2368 main ()
2369 {
2370
2371 FILE *f = fopen ("conftest.val", "w");
2372 if (! f)
2373 return 1;
2374 if (($2) < 0)
2375 {
2376 long int i = longval ();
2377 if (i != ($2))
2378 return 1;
2379 fprintf (f, "%ld", i);
2380 }
2381 else
2382 {
2383 unsigned long int i = ulongval ();
2384 if (i != ($2))
2385 return 1;
2386 fprintf (f, "%lu", i);
2387 }
2388 /* Do not output a trailing newline, as this causes \r\n confusion
2389 on some platforms. */
2390 return ferror (f) || fclose (f) != 0;
2391
2392 ;
2393 return 0;
2394 }
2395 _ACEOF
2396 if ac_fn_c_try_run "$LINENO"; then :
2397 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2398 else
2399 ac_retval=1
2400 fi
2401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2402 conftest.$ac_objext conftest.beam conftest.$ac_ext
2403 rm -f conftest.val
2404
2405 fi
2406 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2407 return $ac_retval
2408
2409 } # ac_fn_c_compute_int
2410
2411 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2412 # -------------------------------------------
2413 # Tests whether TYPE exists after having included INCLUDES, setting cache
2414 # variable VAR accordingly.
2415 ac_fn_c_check_type ()
2416 {
2417 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2419 $as_echo_n "checking for $2... " >&6; }
2420 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2421 $as_echo_n "(cached) " >&6
2422 else
2423 eval "$3=no"
2424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2425 /* end confdefs.h. */
2426 $4
2427 int
2428 main ()
2429 {
2430 if (sizeof ($2))
2431 return 0;
2432 ;
2433 return 0;
2434 }
2435 _ACEOF
2436 if ac_fn_c_try_compile "$LINENO"; then :
2437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2438 /* end confdefs.h. */
2439 $4
2440 int
2441 main ()
2442 {
2443 if (sizeof (($2)))
2444 return 0;
2445 ;
2446 return 0;
2447 }
2448 _ACEOF
2449 if ac_fn_c_try_compile "$LINENO"; then :
2450
2451 else
2452 eval "$3=yes"
2453 fi
2454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2455 fi
2456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2457 fi
2458 eval ac_res=\$$3
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2460 $as_echo "$ac_res" >&6; }
2461 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2462
2463 } # ac_fn_c_check_type
2464 cat >config.log <<_ACEOF
2465 This file contains any messages produced by compilers while
2466 running configure, to aid debugging if configure makes a mistake.
2467
2468 It was created by package-unused $as_me version-unused, which was
2469 generated by GNU Autoconf 2.64. Invocation command line was
2470
2471 $ $0 $@
2472
2473 _ACEOF
2474 exec 5>>config.log
2475 {
2476 cat <<_ASUNAME
2477 ## --------- ##
2478 ## Platform. ##
2479 ## --------- ##
2480
2481 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2482 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2483 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2484 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2485 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2486
2487 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2488 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2489
2490 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2491 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2492 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2493 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2494 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2495 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2496 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2497
2498 _ASUNAME
2499
2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2501 for as_dir in $PATH
2502 do
2503 IFS=$as_save_IFS
2504 test -z "$as_dir" && as_dir=.
2505 $as_echo "PATH: $as_dir"
2506 done
2507 IFS=$as_save_IFS
2508
2509 } >&5
2510
2511 cat >&5 <<_ACEOF
2512
2513
2514 ## ----------- ##
2515 ## Core tests. ##
2516 ## ----------- ##
2517
2518 _ACEOF
2519
2520
2521 # Keep a trace of the command line.
2522 # Strip out --no-create and --no-recursion so they do not pile up.
2523 # Strip out --silent because we don't want to record it for future runs.
2524 # Also quote any args containing shell meta-characters.
2525 # Make two passes to allow for proper duplicate-argument suppression.
2526 ac_configure_args=
2527 ac_configure_args0=
2528 ac_configure_args1=
2529 ac_must_keep_next=false
2530 for ac_pass in 1 2
2531 do
2532 for ac_arg
2533 do
2534 case $ac_arg in
2535 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2537 | -silent | --silent | --silen | --sile | --sil)
2538 continue ;;
2539 *\'*)
2540 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2541 esac
2542 case $ac_pass in
2543 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2544 2)
2545 as_fn_append ac_configure_args1 " '$ac_arg'"
2546 if test $ac_must_keep_next = true; then
2547 ac_must_keep_next=false # Got value, back to normal.
2548 else
2549 case $ac_arg in
2550 *=* | --config-cache | -C | -disable-* | --disable-* \
2551 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2552 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2553 | -with-* | --with-* | -without-* | --without-* | --x)
2554 case "$ac_configure_args0 " in
2555 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2556 esac
2557 ;;
2558 -* ) ac_must_keep_next=true ;;
2559 esac
2560 fi
2561 as_fn_append ac_configure_args " '$ac_arg'"
2562 ;;
2563 esac
2564 done
2565 done
2566 { ac_configure_args0=; unset ac_configure_args0;}
2567 { ac_configure_args1=; unset ac_configure_args1;}
2568
2569 # When interrupted or exit'd, cleanup temporary files, and complete
2570 # config.log. We remove comments because anyway the quotes in there
2571 # would cause problems or look ugly.
2572 # WARNING: Use '\'' to represent an apostrophe within the trap.
2573 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2574 trap 'exit_status=$?
2575 # Save into config.log some information that might help in debugging.
2576 {
2577 echo
2578
2579 cat <<\_ASBOX
2580 ## ---------------- ##
2581 ## Cache variables. ##
2582 ## ---------------- ##
2583 _ASBOX
2584 echo
2585 # The following way of writing the cache mishandles newlines in values,
2586 (
2587 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2588 eval ac_val=\$$ac_var
2589 case $ac_val in #(
2590 *${as_nl}*)
2591 case $ac_var in #(
2592 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2593 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2594 esac
2595 case $ac_var in #(
2596 _ | IFS | as_nl) ;; #(
2597 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2598 *) { eval $ac_var=; unset $ac_var;} ;;
2599 esac ;;
2600 esac
2601 done
2602 (set) 2>&1 |
2603 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2604 *${as_nl}ac_space=\ *)
2605 sed -n \
2606 "s/'\''/'\''\\\\'\'''\''/g;
2607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2608 ;; #(
2609 *)
2610 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2611 ;;
2612 esac |
2613 sort
2614 )
2615 echo
2616
2617 cat <<\_ASBOX
2618 ## ----------------- ##
2619 ## Output variables. ##
2620 ## ----------------- ##
2621 _ASBOX
2622 echo
2623 for ac_var in $ac_subst_vars
2624 do
2625 eval ac_val=\$$ac_var
2626 case $ac_val in
2627 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2628 esac
2629 $as_echo "$ac_var='\''$ac_val'\''"
2630 done | sort
2631 echo
2632
2633 if test -n "$ac_subst_files"; then
2634 cat <<\_ASBOX
2635 ## ------------------- ##
2636 ## File substitutions. ##
2637 ## ------------------- ##
2638 _ASBOX
2639 echo
2640 for ac_var in $ac_subst_files
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 fi
2650
2651 if test -s confdefs.h; then
2652 cat <<\_ASBOX
2653 ## ----------- ##
2654 ## confdefs.h. ##
2655 ## ----------- ##
2656 _ASBOX
2657 echo
2658 cat confdefs.h
2659 echo
2660 fi
2661 test "$ac_signal" != 0 &&
2662 $as_echo "$as_me: caught signal $ac_signal"
2663 $as_echo "$as_me: exit $exit_status"
2664 } >&5
2665 rm -f core *.core core.conftest.* &&
2666 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2667 exit $exit_status
2668 ' 0
2669 for ac_signal in 1 2 13 15; do
2670 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2671 done
2672 ac_signal=0
2673
2674 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2675 rm -f -r conftest* confdefs.h
2676
2677 $as_echo "/* confdefs.h */" > confdefs.h
2678
2679 # Predefined preprocessor variables.
2680
2681 cat >>confdefs.h <<_ACEOF
2682 #define PACKAGE_NAME "$PACKAGE_NAME"
2683 _ACEOF
2684
2685 cat >>confdefs.h <<_ACEOF
2686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2687 _ACEOF
2688
2689 cat >>confdefs.h <<_ACEOF
2690 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2691 _ACEOF
2692
2693 cat >>confdefs.h <<_ACEOF
2694 #define PACKAGE_STRING "$PACKAGE_STRING"
2695 _ACEOF
2696
2697 cat >>confdefs.h <<_ACEOF
2698 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2699 _ACEOF
2700
2701 cat >>confdefs.h <<_ACEOF
2702 #define PACKAGE_URL "$PACKAGE_URL"
2703 _ACEOF
2704
2705
2706 # Let the site file select an alternate cache file if it wants to.
2707 # Prefer an explicitly selected file to automatically selected ones.
2708 ac_site_file1=NONE
2709 ac_site_file2=NONE
2710 if test -n "$CONFIG_SITE"; then
2711 ac_site_file1=$CONFIG_SITE
2712 elif test "x$prefix" != xNONE; then
2713 ac_site_file1=$prefix/share/config.site
2714 ac_site_file2=$prefix/etc/config.site
2715 else
2716 ac_site_file1=$ac_default_prefix/share/config.site
2717 ac_site_file2=$ac_default_prefix/etc/config.site
2718 fi
2719 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2720 do
2721 test "x$ac_site_file" = xNONE && continue
2722 if test -r "$ac_site_file"; then
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2724 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2725 sed 's/^/| /' "$ac_site_file" >&5
2726 . "$ac_site_file"
2727 fi
2728 done
2729
2730 if test -r "$cache_file"; then
2731 # Some versions of bash will fail to source /dev/null (special
2732 # files actually), so we avoid doing that.
2733 if test -f "$cache_file"; then
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2735 $as_echo "$as_me: loading cache $cache_file" >&6;}
2736 case $cache_file in
2737 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2738 *) . "./$cache_file";;
2739 esac
2740 fi
2741 else
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2743 $as_echo "$as_me: creating cache $cache_file" >&6;}
2744 >$cache_file
2745 fi
2746
2747 # Check that the precious variables saved in the cache have kept the same
2748 # value.
2749 ac_cache_corrupted=false
2750 for ac_var in $ac_precious_vars; do
2751 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2752 eval ac_new_set=\$ac_env_${ac_var}_set
2753 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2754 eval ac_new_val=\$ac_env_${ac_var}_value
2755 case $ac_old_set,$ac_new_set in
2756 set,)
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2758 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2759 ac_cache_corrupted=: ;;
2760 ,set)
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2762 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2763 ac_cache_corrupted=: ;;
2764 ,);;
2765 *)
2766 if test "x$ac_old_val" != "x$ac_new_val"; then
2767 # differences in whitespace do not lead to failure.
2768 ac_old_val_w=`echo x $ac_old_val`
2769 ac_new_val_w=`echo x $ac_new_val`
2770 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2772 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2773 ac_cache_corrupted=:
2774 else
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2776 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2777 eval $ac_var=\$ac_old_val
2778 fi
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2780 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2782 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2783 fi;;
2784 esac
2785 # Pass precious variables to config.status.
2786 if test "$ac_new_set" = set; then
2787 case $ac_new_val in
2788 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2789 *) ac_arg=$ac_var=$ac_new_val ;;
2790 esac
2791 case " $ac_configure_args " in
2792 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2793 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2794 esac
2795 fi
2796 done
2797 if $ac_cache_corrupted; then
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2799 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2801 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2802 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2803 fi
2804 ## -------------------- ##
2805 ## Main body of script. ##
2806 ## -------------------- ##
2807
2808 ac_ext=c
2809 ac_cpp='$CPP $CPPFLAGS'
2810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2813
2814
2815
2816
2817
2818
2819 ac_config_headers="$ac_config_headers config.h"
2820
2821
2822 # This works around the fact that libtool configuration may change LD
2823 # for this particular configuration, but some shells, instead of
2824 # keeping the changes in LD private, export them just because LD is
2825 # exported. Only used at the end of this file.
2826 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2827
2828 # Find the rest of the source tree framework.
2829 # Default to --enable-multilib
2830 # Check whether --enable-multilib was given.
2831 if test "${enable_multilib+set}" = set; then :
2832 enableval=$enable_multilib; case "$enableval" in
2833 yes) multilib=yes ;;
2834 no) multilib=no ;;
2835 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2836 esac
2837 else
2838 multilib=yes
2839 fi
2840
2841
2842 # We may get other options which we leave undocumented:
2843 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2844 # See config-ml.in if you want the gory details.
2845
2846 if test "$srcdir" = "."; then
2847 if test "$with_target_subdir" != "."; then
2848 multi_basedir="$srcdir/$with_multisrctop../.."
2849 else
2850 multi_basedir="$srcdir/$with_multisrctop.."
2851 fi
2852 else
2853 multi_basedir="$srcdir/.."
2854 fi
2855
2856
2857 # Even if the default multilib is not a cross compilation,
2858 # it may be that some of the other multilibs are.
2859 if test $cross_compiling = no && test $multilib = yes \
2860 && test "x${with_multisubdir}" != x ; then
2861 cross_compiling=maybe
2862 fi
2863
2864 ac_config_commands="$ac_config_commands default-1"
2865
2866
2867 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2868 #
2869 # You will slowly go insane if you do not grok the following fact: when
2870 # building v3 as part of the compiler, the top-level /target/ becomes the
2871 # library's /host/. configure then causes --target to default to --host,
2872 # exactly like any other package using autoconf. Therefore, 'target' and
2873 # 'host' will always be the same. This makes sense both for native and
2874 # cross compilers, just think about it for a little while. :-)
2875 #
2876 # Also, if v3 is being configured as part of a cross compiler, the top-level
2877 # configure script will pass the "real" host as $with_cross_host.
2878 #
2879 # Do not delete or change the following two lines. For why, see
2880 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2881 ac_aux_dir=
2882 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2883 for ac_t in install-sh install.sh shtool; do
2884 if test -f "$ac_dir/$ac_t"; then
2885 ac_aux_dir=$ac_dir
2886 ac_install_sh="$ac_aux_dir/$ac_t -c"
2887 break 2
2888 fi
2889 done
2890 done
2891 if test -z "$ac_aux_dir"; then
2892 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2893 fi
2894
2895 # These three variables are undocumented and unsupported,
2896 # and are intended to be withdrawn in a future Autoconf release.
2897 # They can cause serious problems if a builder's source tree is in a directory
2898 # whose full name contains unusual characters.
2899 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2900 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2901 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2902
2903
2904 # Make sure we can run config.sub.
2905 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2906 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2907
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2909 $as_echo_n "checking build system type... " >&6; }
2910 if test "${ac_cv_build+set}" = set; then :
2911 $as_echo_n "(cached) " >&6
2912 else
2913 ac_build_alias=$build_alias
2914 test "x$ac_build_alias" = x &&
2915 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2916 test "x$ac_build_alias" = x &&
2917 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2918 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2919 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2920
2921 fi
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2923 $as_echo "$ac_cv_build" >&6; }
2924 case $ac_cv_build in
2925 *-*-*) ;;
2926 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2927 esac
2928 build=$ac_cv_build
2929 ac_save_IFS=$IFS; IFS='-'
2930 set x $ac_cv_build
2931 shift
2932 build_cpu=$1
2933 build_vendor=$2
2934 shift; shift
2935 # Remember, the first character of IFS is used to create $*,
2936 # except with old shells:
2937 build_os=$*
2938 IFS=$ac_save_IFS
2939 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2940
2941
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2943 $as_echo_n "checking host system type... " >&6; }
2944 if test "${ac_cv_host+set}" = set; then :
2945 $as_echo_n "(cached) " >&6
2946 else
2947 if test "x$host_alias" = x; then
2948 ac_cv_host=$ac_cv_build
2949 else
2950 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2951 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2952 fi
2953
2954 fi
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2956 $as_echo "$ac_cv_host" >&6; }
2957 case $ac_cv_host in
2958 *-*-*) ;;
2959 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2960 esac
2961 host=$ac_cv_host
2962 ac_save_IFS=$IFS; IFS='-'
2963 set x $ac_cv_host
2964 shift
2965 host_cpu=$1
2966 host_vendor=$2
2967 shift; shift
2968 # Remember, the first character of IFS is used to create $*,
2969 # except with old shells:
2970 host_os=$*
2971 IFS=$ac_save_IFS
2972 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2973
2974
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2976 $as_echo_n "checking target system type... " >&6; }
2977 if test "${ac_cv_target+set}" = set; then :
2978 $as_echo_n "(cached) " >&6
2979 else
2980 if test "x$target_alias" = x; then
2981 ac_cv_target=$ac_cv_host
2982 else
2983 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2984 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2985 fi
2986
2987 fi
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2989 $as_echo "$ac_cv_target" >&6; }
2990 case $ac_cv_target in
2991 *-*-*) ;;
2992 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2993 esac
2994 target=$ac_cv_target
2995 ac_save_IFS=$IFS; IFS='-'
2996 set x $ac_cv_target
2997 shift
2998 target_cpu=$1
2999 target_vendor=$2
3000 shift; shift
3001 # Remember, the first character of IFS is used to create $*,
3002 # except with old shells:
3003 target_os=$*
3004 IFS=$ac_save_IFS
3005 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3006
3007
3008 # The aliases save the names the user supplied, while $host etc.
3009 # will get canonicalized.
3010 test -n "$target_alias" &&
3011 test "$program_prefix$program_suffix$program_transform_name" = \
3012 NONENONEs,x,x, &&
3013 program_prefix=${target_alias}-
3014
3015 target_alias=${target_alias-$host_alias}
3016
3017 # Handy for debugging:
3018 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3019
3020 if test "$build" != "$host"; then
3021 # We are being configured with some form of cross compiler.
3022 GLIBCXX_IS_NATIVE=false
3023 case "$host","$target" in
3024 # Darwin crosses can use the host system's libraries and headers,
3025 # because of the fat library support. Of course, it must be the
3026 # same version of Darwin on both sides. Allow the user to
3027 # just say --target=foo-darwin without a version number to mean
3028 # "the version on this system".
3029 *-*-darwin*,*-*-darwin*)
3030 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3031 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3032 if test $hostos = $targetos -o $targetos = darwin ; then
3033 GLIBCXX_IS_NATIVE=true
3034 fi
3035 ;;
3036
3037 *)
3038
3039 ;;
3040 esac
3041 else
3042 GLIBCXX_IS_NATIVE=true
3043 fi
3044
3045 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3046 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3047 # 1.x: minimum required version
3048 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3049 # of other PACKAGE_* variables will, however, and there's nothing
3050 # we can do about that; they come from AC_INIT).
3051 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3052 # file in the top srcdir, etc, etc), so stop complaining.
3053 # no-dependencies: turns off auto dependency generation (just for now)
3054 # no-dist: we don't want 'dist' and related rules.
3055 # -Wall: turns on all automake warnings...
3056 # -Wno-portability: ...except this one, since GNU make is now required.
3057 am__api_version='1.11'
3058
3059 # Find a good install program. We prefer a C program (faster),
3060 # so one script is as good as another. But avoid the broken or
3061 # incompatible versions:
3062 # SysV /etc/install, /usr/sbin/install
3063 # SunOS /usr/etc/install
3064 # IRIX /sbin/install
3065 # AIX /bin/install
3066 # AmigaOS /C/install, which installs bootblocks on floppy discs
3067 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3068 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3069 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3070 # OS/2's system install, which has a completely different semantic
3071 # ./install, which can be erroneously created by make from ./install.sh.
3072 # Reject install programs that cannot install multiple files.
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3074 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3075 if test -z "$INSTALL"; then
3076 if test "${ac_cv_path_install+set}" = set; then :
3077 $as_echo_n "(cached) " >&6
3078 else
3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080 for as_dir in $PATH
3081 do
3082 IFS=$as_save_IFS
3083 test -z "$as_dir" && as_dir=.
3084 # Account for people who put trailing slashes in PATH elements.
3085 case $as_dir/ in #((
3086 ./ | .// | /[cC]/* | \
3087 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3088 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3089 /usr/ucb/* ) ;;
3090 *)
3091 # OSF1 and SCO ODT 3.0 have their own names for install.
3092 # Don't use installbsd from OSF since it installs stuff as root
3093 # by default.
3094 for ac_prog in ginstall scoinst install; do
3095 for ac_exec_ext in '' $ac_executable_extensions; do
3096 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3097 if test $ac_prog = install &&
3098 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3099 # AIX install. It has an incompatible calling convention.
3100 :
3101 elif test $ac_prog = install &&
3102 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3103 # program-specific install script used by HP pwplus--don't use.
3104 :
3105 else
3106 rm -rf conftest.one conftest.two conftest.dir
3107 echo one > conftest.one
3108 echo two > conftest.two
3109 mkdir conftest.dir
3110 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3111 test -s conftest.one && test -s conftest.two &&
3112 test -s conftest.dir/conftest.one &&
3113 test -s conftest.dir/conftest.two
3114 then
3115 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3116 break 3
3117 fi
3118 fi
3119 fi
3120 done
3121 done
3122 ;;
3123 esac
3124
3125 done
3126 IFS=$as_save_IFS
3127
3128 rm -rf conftest.one conftest.two conftest.dir
3129
3130 fi
3131 if test "${ac_cv_path_install+set}" = set; then
3132 INSTALL=$ac_cv_path_install
3133 else
3134 # As a last resort, use the slow shell script. Don't cache a
3135 # value for INSTALL within a source directory, because that will
3136 # break other packages using the cache if that directory is
3137 # removed, or if the value is a relative name.
3138 INSTALL=$ac_install_sh
3139 fi
3140 fi
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3142 $as_echo "$INSTALL" >&6; }
3143
3144 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3145 # It thinks the first close brace ends the variable substitution.
3146 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3147
3148 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3149
3150 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3151
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3153 $as_echo_n "checking whether build environment is sane... " >&6; }
3154 # Just in case
3155 sleep 1
3156 echo timestamp > conftest.file
3157 # Reject unsafe characters in $srcdir or the absolute working directory
3158 # name. Accept space and tab only in the latter.
3159 am_lf='
3160 '
3161 case `pwd` in
3162 *[\\\"\#\$\&\'\`$am_lf]*)
3163 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3164 esac
3165 case $srcdir in
3166 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3167 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3168 esac
3169
3170 # Do `set' in a subshell so we don't clobber the current shell's
3171 # arguments. Must try -L first in case configure is actually a
3172 # symlink; some systems play weird games with the mod time of symlinks
3173 # (eg FreeBSD returns the mod time of the symlink's containing
3174 # directory).
3175 if (
3176 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3177 if test "$*" = "X"; then
3178 # -L didn't work.
3179 set X `ls -t "$srcdir/configure" conftest.file`
3180 fi
3181 rm -f conftest.file
3182 if test "$*" != "X $srcdir/configure conftest.file" \
3183 && test "$*" != "X conftest.file $srcdir/configure"; then
3184
3185 # If neither matched, then we have a broken ls. This can happen
3186 # if, for instance, CONFIG_SHELL is bash and it inherits a
3187 # broken ls alias from the environment. This has actually
3188 # happened. Such a system could not be considered "sane".
3189 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3190 alias in your environment" "$LINENO" 5
3191 fi
3192
3193 test "$2" = conftest.file
3194 )
3195 then
3196 # Ok.
3197 :
3198 else
3199 as_fn_error "newly created file is older than distributed files!
3200 Check your system clock" "$LINENO" 5
3201 fi
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3203 $as_echo "yes" >&6; }
3204 test "$program_prefix" != NONE &&
3205 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3206 # Use a double $ so make ignores it.
3207 test "$program_suffix" != NONE &&
3208 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3209 # Double any \ or $.
3210 # By default was `s,x,x', remove it if useless.
3211 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3212 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3213
3214 # expand $ac_aux_dir to an absolute path
3215 am_aux_dir=`cd $ac_aux_dir && pwd`
3216
3217 if test x"${MISSING+set}" != xset; then
3218 case $am_aux_dir in
3219 *\ * | *\ *)
3220 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3221 *)
3222 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3223 esac
3224 fi
3225 # Use eval to expand $SHELL
3226 if eval "$MISSING --run true"; then
3227 am_missing_run="$MISSING --run "
3228 else
3229 am_missing_run=
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3231 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3232 fi
3233
3234 if test x"${install_sh}" != xset; then
3235 case $am_aux_dir in
3236 *\ * | *\ *)
3237 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3238 *)
3239 install_sh="\${SHELL} $am_aux_dir/install-sh"
3240 esac
3241 fi
3242
3243 # Installed binaries are usually stripped using `strip' when the user
3244 # run `make install-strip'. However `strip' might not be the right
3245 # tool to use in cross-compilation environments, therefore Automake
3246 # will honor the `STRIP' environment variable to overrule this program.
3247 if test "$cross_compiling" != no; then
3248 if test -n "$ac_tool_prefix"; then
3249 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3250 set dummy ${ac_tool_prefix}strip; ac_word=$2
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252 $as_echo_n "checking for $ac_word... " >&6; }
3253 if test "${ac_cv_prog_STRIP+set}" = set; then :
3254 $as_echo_n "(cached) " >&6
3255 else
3256 if test -n "$STRIP"; then
3257 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3258 else
3259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260 for as_dir in $PATH
3261 do
3262 IFS=$as_save_IFS
3263 test -z "$as_dir" && as_dir=.
3264 for ac_exec_ext in '' $ac_executable_extensions; do
3265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3266 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3268 break 2
3269 fi
3270 done
3271 done
3272 IFS=$as_save_IFS
3273
3274 fi
3275 fi
3276 STRIP=$ac_cv_prog_STRIP
3277 if test -n "$STRIP"; then
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3279 $as_echo "$STRIP" >&6; }
3280 else
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282 $as_echo "no" >&6; }
3283 fi
3284
3285
3286 fi
3287 if test -z "$ac_cv_prog_STRIP"; then
3288 ac_ct_STRIP=$STRIP
3289 # Extract the first word of "strip", so it can be a program name with args.
3290 set dummy strip; ac_word=$2
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3292 $as_echo_n "checking for $ac_word... " >&6; }
3293 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3294 $as_echo_n "(cached) " >&6
3295 else
3296 if test -n "$ac_ct_STRIP"; then
3297 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3298 else
3299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3300 for as_dir in $PATH
3301 do
3302 IFS=$as_save_IFS
3303 test -z "$as_dir" && as_dir=.
3304 for ac_exec_ext in '' $ac_executable_extensions; do
3305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3306 ac_cv_prog_ac_ct_STRIP="strip"
3307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3308 break 2
3309 fi
3310 done
3311 done
3312 IFS=$as_save_IFS
3313
3314 fi
3315 fi
3316 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3317 if test -n "$ac_ct_STRIP"; then
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3319 $as_echo "$ac_ct_STRIP" >&6; }
3320 else
3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3322 $as_echo "no" >&6; }
3323 fi
3324
3325 if test "x$ac_ct_STRIP" = x; then
3326 STRIP=":"
3327 else
3328 case $cross_compiling:$ac_tool_warned in
3329 yes:)
3330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3332 ac_tool_warned=yes ;;
3333 esac
3334 STRIP=$ac_ct_STRIP
3335 fi
3336 else
3337 STRIP="$ac_cv_prog_STRIP"
3338 fi
3339
3340 fi
3341 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3342
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3344 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3345 if test -z "$MKDIR_P"; then
3346 if test "${ac_cv_path_mkdir+set}" = set; then :
3347 $as_echo_n "(cached) " >&6
3348 else
3349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3350 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3351 do
3352 IFS=$as_save_IFS
3353 test -z "$as_dir" && as_dir=.
3354 for ac_prog in mkdir gmkdir; do
3355 for ac_exec_ext in '' $ac_executable_extensions; do
3356 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3357 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3358 'mkdir (GNU coreutils) '* | \
3359 'mkdir (coreutils) '* | \
3360 'mkdir (fileutils) '4.1*)
3361 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3362 break 3;;
3363 esac
3364 done
3365 done
3366 done
3367 IFS=$as_save_IFS
3368
3369 fi
3370
3371 if test "${ac_cv_path_mkdir+set}" = set; then
3372 MKDIR_P="$ac_cv_path_mkdir -p"
3373 else
3374 # As a last resort, use the slow shell script. Don't cache a
3375 # value for MKDIR_P within a source directory, because that will
3376 # break other packages using the cache if that directory is
3377 # removed, or if the value is a relative name.
3378 test -d ./--version && rmdir ./--version
3379 MKDIR_P="$ac_install_sh -d"
3380 fi
3381 fi
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3383 $as_echo "$MKDIR_P" >&6; }
3384
3385 mkdir_p="$MKDIR_P"
3386 case $mkdir_p in
3387 [\\/$]* | ?:[\\/]*) ;;
3388 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3389 esac
3390
3391 for ac_prog in gawk mawk nawk awk
3392 do
3393 # Extract the first word of "$ac_prog", so it can be a program name with args.
3394 set dummy $ac_prog; ac_word=$2
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3396 $as_echo_n "checking for $ac_word... " >&6; }
3397 if test "${ac_cv_prog_AWK+set}" = set; then :
3398 $as_echo_n "(cached) " >&6
3399 else
3400 if test -n "$AWK"; then
3401 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3402 else
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3404 for as_dir in $PATH
3405 do
3406 IFS=$as_save_IFS
3407 test -z "$as_dir" && as_dir=.
3408 for ac_exec_ext in '' $ac_executable_extensions; do
3409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3410 ac_cv_prog_AWK="$ac_prog"
3411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3412 break 2
3413 fi
3414 done
3415 done
3416 IFS=$as_save_IFS
3417
3418 fi
3419 fi
3420 AWK=$ac_cv_prog_AWK
3421 if test -n "$AWK"; then
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3423 $as_echo "$AWK" >&6; }
3424 else
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426 $as_echo "no" >&6; }
3427 fi
3428
3429
3430 test -n "$AWK" && break
3431 done
3432
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3434 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3435 set x ${MAKE-make}
3436 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3437 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3438 $as_echo_n "(cached) " >&6
3439 else
3440 cat >conftest.make <<\_ACEOF
3441 SHELL = /bin/sh
3442 all:
3443 @echo '@@@%%%=$(MAKE)=@@@%%%'
3444 _ACEOF
3445 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3446 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3447 *@@@%%%=?*=@@@%%%*)
3448 eval ac_cv_prog_make_${ac_make}_set=yes;;
3449 *)
3450 eval ac_cv_prog_make_${ac_make}_set=no;;
3451 esac
3452 rm -f conftest.make
3453 fi
3454 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3456 $as_echo "yes" >&6; }
3457 SET_MAKE=
3458 else
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3460 $as_echo "no" >&6; }
3461 SET_MAKE="MAKE=${MAKE-make}"
3462 fi
3463
3464 rm -rf .tst 2>/dev/null
3465 mkdir .tst 2>/dev/null
3466 if test -d .tst; then
3467 am__leading_dot=.
3468 else
3469 am__leading_dot=_
3470 fi
3471 rmdir .tst 2>/dev/null
3472
3473 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3474 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3475 # is not polluted with repeated "-I."
3476 am__isrc=' -I$(srcdir)'
3477 # test to see if srcdir already configured
3478 if test -f $srcdir/config.status; then
3479 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3480 fi
3481 fi
3482
3483 # test whether we have cygpath
3484 if test -z "$CYGPATH_W"; then
3485 if (cygpath --version) >/dev/null 2>/dev/null; then
3486 CYGPATH_W='cygpath -w'
3487 else
3488 CYGPATH_W=echo
3489 fi
3490 fi
3491
3492
3493 # Define the identity of the package.
3494 PACKAGE='libstdc++'
3495 VERSION='version-unused'
3496
3497
3498 # Some tools Automake needs.
3499
3500 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3501
3502
3503 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3504
3505
3506 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3507
3508
3509 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3510
3511
3512 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3513
3514 # We need awk for the "check" target. The system "awk" is bad on
3515 # some platforms.
3516 # Always define AMTAR for backward compatibility.
3517
3518 AMTAR=${AMTAR-"${am_missing_run}tar"}
3519
3520 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3521
3522
3523
3524
3525
3526
3527
3528
3529 # -fno-builtin must be present here so that a non-conflicting form of
3530 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3531
3532 save_CXXFLAGS="$CXXFLAGS"
3533 CXXFLAGS="$CXXFLAGS -fno-builtin"
3534 ac_ext=c
3535 ac_cpp='$CPP $CPPFLAGS'
3536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3539 if test -n "$ac_tool_prefix"; then
3540 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3541 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3543 $as_echo_n "checking for $ac_word... " >&6; }
3544 if test "${ac_cv_prog_CC+set}" = set; then :
3545 $as_echo_n "(cached) " >&6
3546 else
3547 if test -n "$CC"; then
3548 ac_cv_prog_CC="$CC" # Let the user override the test.
3549 else
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 for as_dir in $PATH
3552 do
3553 IFS=$as_save_IFS
3554 test -z "$as_dir" && as_dir=.
3555 for ac_exec_ext in '' $ac_executable_extensions; do
3556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3557 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3559 break 2
3560 fi
3561 done
3562 done
3563 IFS=$as_save_IFS
3564
3565 fi
3566 fi
3567 CC=$ac_cv_prog_CC
3568 if test -n "$CC"; then
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3570 $as_echo "$CC" >&6; }
3571 else
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3573 $as_echo "no" >&6; }
3574 fi
3575
3576
3577 fi
3578 if test -z "$ac_cv_prog_CC"; then
3579 ac_ct_CC=$CC
3580 # Extract the first word of "gcc", so it can be a program name with args.
3581 set dummy gcc; ac_word=$2
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3583 $as_echo_n "checking for $ac_word... " >&6; }
3584 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3585 $as_echo_n "(cached) " >&6
3586 else
3587 if test -n "$ac_ct_CC"; then
3588 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3589 else
3590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3591 for as_dir in $PATH
3592 do
3593 IFS=$as_save_IFS
3594 test -z "$as_dir" && as_dir=.
3595 for ac_exec_ext in '' $ac_executable_extensions; do
3596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3597 ac_cv_prog_ac_ct_CC="gcc"
3598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3599 break 2
3600 fi
3601 done
3602 done
3603 IFS=$as_save_IFS
3604
3605 fi
3606 fi
3607 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3608 if test -n "$ac_ct_CC"; then
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3610 $as_echo "$ac_ct_CC" >&6; }
3611 else
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3614 fi
3615
3616 if test "x$ac_ct_CC" = x; then
3617 CC=""
3618 else
3619 case $cross_compiling:$ac_tool_warned in
3620 yes:)
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3622 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3623 ac_tool_warned=yes ;;
3624 esac
3625 CC=$ac_ct_CC
3626 fi
3627 else
3628 CC="$ac_cv_prog_CC"
3629 fi
3630
3631 if test -z "$CC"; then
3632 if test -n "$ac_tool_prefix"; then
3633 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3634 set dummy ${ac_tool_prefix}cc; ac_word=$2
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3636 $as_echo_n "checking for $ac_word... " >&6; }
3637 if test "${ac_cv_prog_CC+set}" = set; then :
3638 $as_echo_n "(cached) " >&6
3639 else
3640 if test -n "$CC"; then
3641 ac_cv_prog_CC="$CC" # Let the user override the test.
3642 else
3643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3644 for as_dir in $PATH
3645 do
3646 IFS=$as_save_IFS
3647 test -z "$as_dir" && as_dir=.
3648 for ac_exec_ext in '' $ac_executable_extensions; do
3649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3650 ac_cv_prog_CC="${ac_tool_prefix}cc"
3651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3652 break 2
3653 fi
3654 done
3655 done
3656 IFS=$as_save_IFS
3657
3658 fi
3659 fi
3660 CC=$ac_cv_prog_CC
3661 if test -n "$CC"; then
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3663 $as_echo "$CC" >&6; }
3664 else
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3666 $as_echo "no" >&6; }
3667 fi
3668
3669
3670 fi
3671 fi
3672 if test -z "$CC"; then
3673 # Extract the first word of "cc", so it can be a program name with args.
3674 set dummy cc; ac_word=$2
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3676 $as_echo_n "checking for $ac_word... " >&6; }
3677 if test "${ac_cv_prog_CC+set}" = set; then :
3678 $as_echo_n "(cached) " >&6
3679 else
3680 if test -n "$CC"; then
3681 ac_cv_prog_CC="$CC" # Let the user override the test.
3682 else
3683 ac_prog_rejected=no
3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685 for as_dir in $PATH
3686 do
3687 IFS=$as_save_IFS
3688 test -z "$as_dir" && as_dir=.
3689 for ac_exec_ext in '' $ac_executable_extensions; do
3690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3691 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3692 ac_prog_rejected=yes
3693 continue
3694 fi
3695 ac_cv_prog_CC="cc"
3696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3697 break 2
3698 fi
3699 done
3700 done
3701 IFS=$as_save_IFS
3702
3703 if test $ac_prog_rejected = yes; then
3704 # We found a bogon in the path, so make sure we never use it.
3705 set dummy $ac_cv_prog_CC
3706 shift
3707 if test $# != 0; then
3708 # We chose a different compiler from the bogus one.
3709 # However, it has the same basename, so the bogon will be chosen
3710 # first if we set CC to just the basename; use the full file name.
3711 shift
3712 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3713 fi
3714 fi
3715 fi
3716 fi
3717 CC=$ac_cv_prog_CC
3718 if test -n "$CC"; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3720 $as_echo "$CC" >&6; }
3721 else
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3723 $as_echo "no" >&6; }
3724 fi
3725
3726
3727 fi
3728 if test -z "$CC"; then
3729 if test -n "$ac_tool_prefix"; then
3730 for ac_prog in cl.exe
3731 do
3732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3735 $as_echo_n "checking for $ac_word... " >&6; }
3736 if test "${ac_cv_prog_CC+set}" = set; then :
3737 $as_echo_n "(cached) " >&6
3738 else
3739 if test -n "$CC"; then
3740 ac_cv_prog_CC="$CC" # Let the user override the test.
3741 else
3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3743 for as_dir in $PATH
3744 do
3745 IFS=$as_save_IFS
3746 test -z "$as_dir" && as_dir=.
3747 for ac_exec_ext in '' $ac_executable_extensions; do
3748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3749 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3751 break 2
3752 fi
3753 done
3754 done
3755 IFS=$as_save_IFS
3756
3757 fi
3758 fi
3759 CC=$ac_cv_prog_CC
3760 if test -n "$CC"; then
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3762 $as_echo "$CC" >&6; }
3763 else
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3765 $as_echo "no" >&6; }
3766 fi
3767
3768
3769 test -n "$CC" && break
3770 done
3771 fi
3772 if test -z "$CC"; then
3773 ac_ct_CC=$CC
3774 for ac_prog in cl.exe
3775 do
3776 # Extract the first word of "$ac_prog", so it can be a program name with args.
3777 set dummy $ac_prog; ac_word=$2
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3779 $as_echo_n "checking for $ac_word... " >&6; }
3780 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3781 $as_echo_n "(cached) " >&6
3782 else
3783 if test -n "$ac_ct_CC"; then
3784 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3785 else
3786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3787 for as_dir in $PATH
3788 do
3789 IFS=$as_save_IFS
3790 test -z "$as_dir" && as_dir=.
3791 for ac_exec_ext in '' $ac_executable_extensions; do
3792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3793 ac_cv_prog_ac_ct_CC="$ac_prog"
3794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3795 break 2
3796 fi
3797 done
3798 done
3799 IFS=$as_save_IFS
3800
3801 fi
3802 fi
3803 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3804 if test -n "$ac_ct_CC"; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3806 $as_echo "$ac_ct_CC" >&6; }
3807 else
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809 $as_echo "no" >&6; }
3810 fi
3811
3812
3813 test -n "$ac_ct_CC" && break
3814 done
3815
3816 if test "x$ac_ct_CC" = x; then
3817 CC=""
3818 else
3819 case $cross_compiling:$ac_tool_warned in
3820 yes:)
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3823 ac_tool_warned=yes ;;
3824 esac
3825 CC=$ac_ct_CC
3826 fi
3827 fi
3828
3829 fi
3830
3831
3832 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3833 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3834 as_fn_error "no acceptable C compiler found in \$PATH
3835 See \`config.log' for more details." "$LINENO" 5; }
3836
3837 # Provide some information about the compiler.
3838 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3839 set X $ac_compile
3840 ac_compiler=$2
3841 for ac_option in --version -v -V -qversion; do
3842 { { ac_try="$ac_compiler $ac_option >&5"
3843 case "(($ac_try" in
3844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3845 *) ac_try_echo=$ac_try;;
3846 esac
3847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3848 $as_echo "$ac_try_echo"; } >&5
3849 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3850 ac_status=$?
3851 if test -s conftest.err; then
3852 sed '10a\
3853 ... rest of stderr output deleted ...
3854 10q' conftest.err >conftest.er1
3855 cat conftest.er1 >&5
3856 rm -f conftest.er1 conftest.err
3857 fi
3858 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3859 test $ac_status = 0; }
3860 done
3861
3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3863 /* end confdefs.h. */
3864
3865 int
3866 main ()
3867 {
3868
3869 ;
3870 return 0;
3871 }
3872 _ACEOF
3873 # FIXME: Cleanup?
3874 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3875 (eval $ac_link) 2>&5
3876 ac_status=$?
3877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3878 test $ac_status = 0; }; then :
3879 gcc_no_link=no
3880 else
3881 gcc_no_link=yes
3882 fi
3883 if test x$gcc_no_link = xyes; then
3884 # Setting cross_compile will disable run tests; it will
3885 # also disable AC_CHECK_FILE but that's generally
3886 # correct if we can't link.
3887 cross_compiling=yes
3888 EXEEXT=
3889 else
3890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3891 /* end confdefs.h. */
3892
3893 int
3894 main ()
3895 {
3896
3897 ;
3898 return 0;
3899 }
3900 _ACEOF
3901 ac_clean_files_save=$ac_clean_files
3902 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3903 # Try to create an executable without -o first, disregard a.out.
3904 # It will help us diagnose broken compilers, and finding out an intuition
3905 # of exeext.
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3907 $as_echo_n "checking for C compiler default output file name... " >&6; }
3908 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3909
3910 # The possible output files:
3911 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3912
3913 ac_rmfiles=
3914 for ac_file in $ac_files
3915 do
3916 case $ac_file in
3917 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3918 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3919 esac
3920 done
3921 rm -f $ac_rmfiles
3922
3923 if { { ac_try="$ac_link_default"
3924 case "(($ac_try" in
3925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3926 *) ac_try_echo=$ac_try;;
3927 esac
3928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3929 $as_echo "$ac_try_echo"; } >&5
3930 (eval "$ac_link_default") 2>&5
3931 ac_status=$?
3932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3933 test $ac_status = 0; }; then :
3934 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3935 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3936 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3937 # so that the user can short-circuit this test for compilers unknown to
3938 # Autoconf.
3939 for ac_file in $ac_files ''
3940 do
3941 test -f "$ac_file" || continue
3942 case $ac_file in
3943 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3944 ;;
3945 [ab].out )
3946 # We found the default executable, but exeext='' is most
3947 # certainly right.
3948 break;;
3949 *.* )
3950 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3951 then :; else
3952 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3953 fi
3954 # We set ac_cv_exeext here because the later test for it is not
3955 # safe: cross compilers may not add the suffix if given an `-o'
3956 # argument, so we may need to know it at that point already.
3957 # Even if this section looks crufty: it has the advantage of
3958 # actually working.
3959 break;;
3960 * )
3961 break;;
3962 esac
3963 done
3964 test "$ac_cv_exeext" = no && ac_cv_exeext=
3965
3966 else
3967 ac_file=''
3968 fi
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3970 $as_echo "$ac_file" >&6; }
3971 if test -z "$ac_file"; then :
3972 $as_echo "$as_me: failed program was:" >&5
3973 sed 's/^/| /' conftest.$ac_ext >&5
3974
3975 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3976 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3977 { as_fn_set_status 77
3978 as_fn_error "C compiler cannot create executables
3979 See \`config.log' for more details." "$LINENO" 5; }; }
3980 fi
3981 ac_exeext=$ac_cv_exeext
3982
3983 # Check that the compiler produces executables we can run. If not, either
3984 # the compiler is broken, or we cross compile.
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3986 $as_echo_n "checking whether the C compiler works... " >&6; }
3987 # If not cross compiling, check that we can run a simple program.
3988 if test "$cross_compiling" != yes; then
3989 if { ac_try='./$ac_file'
3990 { { case "(($ac_try" in
3991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3992 *) ac_try_echo=$ac_try;;
3993 esac
3994 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3995 $as_echo "$ac_try_echo"; } >&5
3996 (eval "$ac_try") 2>&5
3997 ac_status=$?
3998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3999 test $ac_status = 0; }; }; then
4000 cross_compiling=no
4001 else
4002 if test "$cross_compiling" = maybe; then
4003 cross_compiling=yes
4004 else
4005 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4007 as_fn_error "cannot run C compiled programs.
4008 If you meant to cross compile, use \`--host'.
4009 See \`config.log' for more details." "$LINENO" 5; }
4010 fi
4011 fi
4012 fi
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4014 $as_echo "yes" >&6; }
4015
4016 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4017 ac_clean_files=$ac_clean_files_save
4018 # Check that the compiler produces executables we can run. If not, either
4019 # the compiler is broken, or we cross compile.
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4021 $as_echo_n "checking whether we are cross compiling... " >&6; }
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4023 $as_echo "$cross_compiling" >&6; }
4024
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4026 $as_echo_n "checking for suffix of executables... " >&6; }
4027 if { { ac_try="$ac_link"
4028 case "(($ac_try" in
4029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4030 *) ac_try_echo=$ac_try;;
4031 esac
4032 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4033 $as_echo "$ac_try_echo"; } >&5
4034 (eval "$ac_link") 2>&5
4035 ac_status=$?
4036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4037 test $ac_status = 0; }; then :
4038 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4039 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4040 # work properly (i.e., refer to `conftest.exe'), while it won't with
4041 # `rm'.
4042 for ac_file in conftest.exe conftest conftest.*; do
4043 test -f "$ac_file" || continue
4044 case $ac_file in
4045 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4046 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4047 break;;
4048 * ) break;;
4049 esac
4050 done
4051 else
4052 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4053 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4054 as_fn_error "cannot compute suffix of executables: cannot compile and link
4055 See \`config.log' for more details." "$LINENO" 5; }
4056 fi
4057 rm -f conftest$ac_cv_exeext
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4059 $as_echo "$ac_cv_exeext" >&6; }
4060
4061 rm -f conftest.$ac_ext
4062 EXEEXT=$ac_cv_exeext
4063 ac_exeext=$EXEEXT
4064 fi
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4066 $as_echo_n "checking for suffix of object files... " >&6; }
4067 if test "${ac_cv_objext+set}" = set; then :
4068 $as_echo_n "(cached) " >&6
4069 else
4070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4071 /* end confdefs.h. */
4072
4073 int
4074 main ()
4075 {
4076
4077 ;
4078 return 0;
4079 }
4080 _ACEOF
4081 rm -f conftest.o conftest.obj
4082 if { { ac_try="$ac_compile"
4083 case "(($ac_try" in
4084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4085 *) ac_try_echo=$ac_try;;
4086 esac
4087 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4088 $as_echo "$ac_try_echo"; } >&5
4089 (eval "$ac_compile") 2>&5
4090 ac_status=$?
4091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4092 test $ac_status = 0; }; then :
4093 for ac_file in conftest.o conftest.obj conftest.*; do
4094 test -f "$ac_file" || continue;
4095 case $ac_file in
4096 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4097 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4098 break;;
4099 esac
4100 done
4101 else
4102 $as_echo "$as_me: failed program was:" >&5
4103 sed 's/^/| /' conftest.$ac_ext >&5
4104
4105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4107 as_fn_error "cannot compute suffix of object files: cannot compile
4108 See \`config.log' for more details." "$LINENO" 5; }
4109 fi
4110 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4111 fi
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4113 $as_echo "$ac_cv_objext" >&6; }
4114 OBJEXT=$ac_cv_objext
4115 ac_objext=$OBJEXT
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4117 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4118 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4119 $as_echo_n "(cached) " >&6
4120 else
4121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4122 /* end confdefs.h. */
4123
4124 int
4125 main ()
4126 {
4127 #ifndef __GNUC__
4128 choke me
4129 #endif
4130
4131 ;
4132 return 0;
4133 }
4134 _ACEOF
4135 if ac_fn_c_try_compile "$LINENO"; then :
4136 ac_compiler_gnu=yes
4137 else
4138 ac_compiler_gnu=no
4139 fi
4140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4141 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4142
4143 fi
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4145 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4146 if test $ac_compiler_gnu = yes; then
4147 GCC=yes
4148 else
4149 GCC=
4150 fi
4151 ac_test_CFLAGS=${CFLAGS+set}
4152 ac_save_CFLAGS=$CFLAGS
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4154 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4155 if test "${ac_cv_prog_cc_g+set}" = set; then :
4156 $as_echo_n "(cached) " >&6
4157 else
4158 ac_save_c_werror_flag=$ac_c_werror_flag
4159 ac_c_werror_flag=yes
4160 ac_cv_prog_cc_g=no
4161 CFLAGS="-g"
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4164
4165 int
4166 main ()
4167 {
4168
4169 ;
4170 return 0;
4171 }
4172 _ACEOF
4173 if ac_fn_c_try_compile "$LINENO"; then :
4174 ac_cv_prog_cc_g=yes
4175 else
4176 CFLAGS=""
4177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4178 /* end confdefs.h. */
4179
4180 int
4181 main ()
4182 {
4183
4184 ;
4185 return 0;
4186 }
4187 _ACEOF
4188 if ac_fn_c_try_compile "$LINENO"; then :
4189
4190 else
4191 ac_c_werror_flag=$ac_save_c_werror_flag
4192 CFLAGS="-g"
4193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4194 /* end confdefs.h. */
4195
4196 int
4197 main ()
4198 {
4199
4200 ;
4201 return 0;
4202 }
4203 _ACEOF
4204 if ac_fn_c_try_compile "$LINENO"; then :
4205 ac_cv_prog_cc_g=yes
4206 fi
4207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4208 fi
4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4210 fi
4211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4212 ac_c_werror_flag=$ac_save_c_werror_flag
4213 fi
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4215 $as_echo "$ac_cv_prog_cc_g" >&6; }
4216 if test "$ac_test_CFLAGS" = set; then
4217 CFLAGS=$ac_save_CFLAGS
4218 elif test $ac_cv_prog_cc_g = yes; then
4219 if test "$GCC" = yes; then
4220 CFLAGS="-g -O2"
4221 else
4222 CFLAGS="-g"
4223 fi
4224 else
4225 if test "$GCC" = yes; then
4226 CFLAGS="-O2"
4227 else
4228 CFLAGS=
4229 fi
4230 fi
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4232 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4233 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4234 $as_echo_n "(cached) " >&6
4235 else
4236 ac_cv_prog_cc_c89=no
4237 ac_save_CC=$CC
4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4240 #include <stdarg.h>
4241 #include <stdio.h>
4242 #include <sys/types.h>
4243 #include <sys/stat.h>
4244 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4245 struct buf { int x; };
4246 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4247 static char *e (p, i)
4248 char **p;
4249 int i;
4250 {
4251 return p[i];
4252 }
4253 static char *f (char * (*g) (char **, int), char **p, ...)
4254 {
4255 char *s;
4256 va_list v;
4257 va_start (v,p);
4258 s = g (p, va_arg (v,int));
4259 va_end (v);
4260 return s;
4261 }
4262
4263 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4264 function prototypes and stuff, but not '\xHH' hex character constants.
4265 These don't provoke an error unfortunately, instead are silently treated
4266 as 'x'. The following induces an error, until -std is added to get
4267 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4268 array size at least. It's necessary to write '\x00'==0 to get something
4269 that's true only with -std. */
4270 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4271
4272 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4273 inside strings and character constants. */
4274 #define FOO(x) 'x'
4275 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4276
4277 int test (int i, double x);
4278 struct s1 {int (*f) (int a);};
4279 struct s2 {int (*f) (double a);};
4280 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4281 int argc;
4282 char **argv;
4283 int
4284 main ()
4285 {
4286 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4287 ;
4288 return 0;
4289 }
4290 _ACEOF
4291 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4292 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4293 do
4294 CC="$ac_save_CC $ac_arg"
4295 if ac_fn_c_try_compile "$LINENO"; then :
4296 ac_cv_prog_cc_c89=$ac_arg
4297 fi
4298 rm -f core conftest.err conftest.$ac_objext
4299 test "x$ac_cv_prog_cc_c89" != "xno" && break
4300 done
4301 rm -f conftest.$ac_ext
4302 CC=$ac_save_CC
4303
4304 fi
4305 # AC_CACHE_VAL
4306 case "x$ac_cv_prog_cc_c89" in
4307 x)
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4309 $as_echo "none needed" >&6; } ;;
4310 xno)
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4312 $as_echo "unsupported" >&6; } ;;
4313 *)
4314 CC="$CC $ac_cv_prog_cc_c89"
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4316 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4317 esac
4318 if test "x$ac_cv_prog_cc_c89" != xno; then :
4319
4320 fi
4321
4322 ac_ext=c
4323 ac_cpp='$CPP $CPPFLAGS'
4324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4327
4328 ac_ext=cpp
4329 ac_cpp='$CXXCPP $CPPFLAGS'
4330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4333 if test -z "$CXX"; then
4334 if test -n "$CCC"; then
4335 CXX=$CCC
4336 else
4337 if test -n "$ac_tool_prefix"; then
4338 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4339 do
4340 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4341 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4343 $as_echo_n "checking for $ac_word... " >&6; }
4344 if test "${ac_cv_prog_CXX+set}" = set; then :
4345 $as_echo_n "(cached) " >&6
4346 else
4347 if test -n "$CXX"; then
4348 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4349 else
4350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4351 for as_dir in $PATH
4352 do
4353 IFS=$as_save_IFS
4354 test -z "$as_dir" && as_dir=.
4355 for ac_exec_ext in '' $ac_executable_extensions; do
4356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4357 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4359 break 2
4360 fi
4361 done
4362 done
4363 IFS=$as_save_IFS
4364
4365 fi
4366 fi
4367 CXX=$ac_cv_prog_CXX
4368 if test -n "$CXX"; then
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4370 $as_echo "$CXX" >&6; }
4371 else
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4373 $as_echo "no" >&6; }
4374 fi
4375
4376
4377 test -n "$CXX" && break
4378 done
4379 fi
4380 if test -z "$CXX"; then
4381 ac_ct_CXX=$CXX
4382 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4383 do
4384 # Extract the first word of "$ac_prog", so it can be a program name with args.
4385 set dummy $ac_prog; ac_word=$2
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4387 $as_echo_n "checking for $ac_word... " >&6; }
4388 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4389 $as_echo_n "(cached) " >&6
4390 else
4391 if test -n "$ac_ct_CXX"; then
4392 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4393 else
4394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4395 for as_dir in $PATH
4396 do
4397 IFS=$as_save_IFS
4398 test -z "$as_dir" && as_dir=.
4399 for ac_exec_ext in '' $ac_executable_extensions; do
4400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4401 ac_cv_prog_ac_ct_CXX="$ac_prog"
4402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4403 break 2
4404 fi
4405 done
4406 done
4407 IFS=$as_save_IFS
4408
4409 fi
4410 fi
4411 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4412 if test -n "$ac_ct_CXX"; then
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4414 $as_echo "$ac_ct_CXX" >&6; }
4415 else
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4417 $as_echo "no" >&6; }
4418 fi
4419
4420
4421 test -n "$ac_ct_CXX" && break
4422 done
4423
4424 if test "x$ac_ct_CXX" = x; then
4425 CXX="g++"
4426 else
4427 case $cross_compiling:$ac_tool_warned in
4428 yes:)
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4431 ac_tool_warned=yes ;;
4432 esac
4433 CXX=$ac_ct_CXX
4434 fi
4435 fi
4436
4437 fi
4438 fi
4439 # Provide some information about the compiler.
4440 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4441 set X $ac_compile
4442 ac_compiler=$2
4443 for ac_option in --version -v -V -qversion; do
4444 { { ac_try="$ac_compiler $ac_option >&5"
4445 case "(($ac_try" in
4446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4447 *) ac_try_echo=$ac_try;;
4448 esac
4449 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4450 $as_echo "$ac_try_echo"; } >&5
4451 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4452 ac_status=$?
4453 if test -s conftest.err; then
4454 sed '10a\
4455 ... rest of stderr output deleted ...
4456 10q' conftest.err >conftest.er1
4457 cat conftest.er1 >&5
4458 rm -f conftest.er1 conftest.err
4459 fi
4460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4461 test $ac_status = 0; }
4462 done
4463
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4465 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4466 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4467 $as_echo_n "(cached) " >&6
4468 else
4469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4470 /* end confdefs.h. */
4471
4472 int
4473 main ()
4474 {
4475 #ifndef __GNUC__
4476 choke me
4477 #endif
4478
4479 ;
4480 return 0;
4481 }
4482 _ACEOF
4483 if ac_fn_cxx_try_compile "$LINENO"; then :
4484 ac_compiler_gnu=yes
4485 else
4486 ac_compiler_gnu=no
4487 fi
4488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4489 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4490
4491 fi
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4493 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4494 if test $ac_compiler_gnu = yes; then
4495 GXX=yes
4496 else
4497 GXX=
4498 fi
4499 ac_test_CXXFLAGS=${CXXFLAGS+set}
4500 ac_save_CXXFLAGS=$CXXFLAGS
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4502 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4503 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4504 $as_echo_n "(cached) " >&6
4505 else
4506 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4507 ac_cxx_werror_flag=yes
4508 ac_cv_prog_cxx_g=no
4509 CXXFLAGS="-g"
4510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4511 /* end confdefs.h. */
4512
4513 int
4514 main ()
4515 {
4516
4517 ;
4518 return 0;
4519 }
4520 _ACEOF
4521 if ac_fn_cxx_try_compile "$LINENO"; then :
4522 ac_cv_prog_cxx_g=yes
4523 else
4524 CXXFLAGS=""
4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4527
4528 int
4529 main ()
4530 {
4531
4532 ;
4533 return 0;
4534 }
4535 _ACEOF
4536 if ac_fn_cxx_try_compile "$LINENO"; then :
4537
4538 else
4539 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4540 CXXFLAGS="-g"
4541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4542 /* end confdefs.h. */
4543
4544 int
4545 main ()
4546 {
4547
4548 ;
4549 return 0;
4550 }
4551 _ACEOF
4552 if ac_fn_cxx_try_compile "$LINENO"; then :
4553 ac_cv_prog_cxx_g=yes
4554 fi
4555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4556 fi
4557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4558 fi
4559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4561 fi
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4563 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4564 if test "$ac_test_CXXFLAGS" = set; then
4565 CXXFLAGS=$ac_save_CXXFLAGS
4566 elif test $ac_cv_prog_cxx_g = yes; then
4567 if test "$GXX" = yes; then
4568 CXXFLAGS="-g -O2"
4569 else
4570 CXXFLAGS="-g"
4571 fi
4572 else
4573 if test "$GXX" = yes; then
4574 CXXFLAGS="-O2"
4575 else
4576 CXXFLAGS=
4577 fi
4578 fi
4579 ac_ext=c
4580 ac_cpp='$CPP $CPPFLAGS'
4581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4584
4585 CXXFLAGS="$save_CXXFLAGS"
4586
4587 # Runs configure.host, and assorted other critical bits. Sets
4588 # up critical shell variables.
4589
4590 ac_ext=c
4591 ac_cpp='$CPP $CPPFLAGS'
4592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4596 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4597 # On Suns, sometimes $CPP names a directory.
4598 if test -n "$CPP" && test -d "$CPP"; then
4599 CPP=
4600 fi
4601 if test -z "$CPP"; then
4602 if test "${ac_cv_prog_CPP+set}" = set; then :
4603 $as_echo_n "(cached) " >&6
4604 else
4605 # Double quotes because CPP needs to be expanded
4606 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4607 do
4608 ac_preproc_ok=false
4609 for ac_c_preproc_warn_flag in '' yes
4610 do
4611 # Use a header file that comes with gcc, so configuring glibc
4612 # with a fresh cross-compiler works.
4613 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4614 # <limits.h> exists even on freestanding compilers.
4615 # On the NeXT, cc -E runs the code through the compiler's parser,
4616 # not just through cpp. "Syntax error" is here to catch this case.
4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4619 #ifdef __STDC__
4620 # include <limits.h>
4621 #else
4622 # include <assert.h>
4623 #endif
4624 Syntax error
4625 _ACEOF
4626 if ac_fn_c_try_cpp "$LINENO"; then :
4627
4628 else
4629 # Broken: fails on valid input.
4630 continue
4631 fi
4632 rm -f conftest.err conftest.$ac_ext
4633
4634 # OK, works on sane cases. Now check whether nonexistent headers
4635 # can be detected and how.
4636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4638 #include <ac_nonexistent.h>
4639 _ACEOF
4640 if ac_fn_c_try_cpp "$LINENO"; then :
4641 # Broken: success on invalid input.
4642 continue
4643 else
4644 # Passes both tests.
4645 ac_preproc_ok=:
4646 break
4647 fi
4648 rm -f conftest.err conftest.$ac_ext
4649
4650 done
4651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4652 rm -f conftest.err conftest.$ac_ext
4653 if $ac_preproc_ok; then :
4654 break
4655 fi
4656
4657 done
4658 ac_cv_prog_CPP=$CPP
4659
4660 fi
4661 CPP=$ac_cv_prog_CPP
4662 else
4663 ac_cv_prog_CPP=$CPP
4664 fi
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4666 $as_echo "$CPP" >&6; }
4667 ac_preproc_ok=false
4668 for ac_c_preproc_warn_flag in '' yes
4669 do
4670 # Use a header file that comes with gcc, so configuring glibc
4671 # with a fresh cross-compiler works.
4672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4673 # <limits.h> exists even on freestanding compilers.
4674 # On the NeXT, cc -E runs the code through the compiler's parser,
4675 # not just through cpp. "Syntax error" is here to catch this case.
4676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4677 /* end confdefs.h. */
4678 #ifdef __STDC__
4679 # include <limits.h>
4680 #else
4681 # include <assert.h>
4682 #endif
4683 Syntax error
4684 _ACEOF
4685 if ac_fn_c_try_cpp "$LINENO"; then :
4686
4687 else
4688 # Broken: fails on valid input.
4689 continue
4690 fi
4691 rm -f conftest.err conftest.$ac_ext
4692
4693 # OK, works on sane cases. Now check whether nonexistent headers
4694 # can be detected and how.
4695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4696 /* end confdefs.h. */
4697 #include <ac_nonexistent.h>
4698 _ACEOF
4699 if ac_fn_c_try_cpp "$LINENO"; then :
4700 # Broken: success on invalid input.
4701 continue
4702 else
4703 # Passes both tests.
4704 ac_preproc_ok=:
4705 break
4706 fi
4707 rm -f conftest.err conftest.$ac_ext
4708
4709 done
4710 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4711 rm -f conftest.err conftest.$ac_ext
4712 if $ac_preproc_ok; then :
4713
4714 else
4715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4717 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4718 See \`config.log' for more details." "$LINENO" 5; }
4719 fi
4720
4721 ac_ext=c
4722 ac_cpp='$CPP $CPPFLAGS'
4723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4726
4727
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4729 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4730 if test "${ac_cv_path_GREP+set}" = set; then :
4731 $as_echo_n "(cached) " >&6
4732 else
4733 if test -z "$GREP"; then
4734 ac_path_GREP_found=false
4735 # Loop through the user's path and test for each of PROGNAME-LIST
4736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4737 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4738 do
4739 IFS=$as_save_IFS
4740 test -z "$as_dir" && as_dir=.
4741 for ac_prog in grep ggrep; do
4742 for ac_exec_ext in '' $ac_executable_extensions; do
4743 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4744 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4745 # Check for GNU ac_path_GREP and select it if it is found.
4746 # Check for GNU $ac_path_GREP
4747 case `"$ac_path_GREP" --version 2>&1` in
4748 *GNU*)
4749 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4750 *)
4751 ac_count=0
4752 $as_echo_n 0123456789 >"conftest.in"
4753 while :
4754 do
4755 cat "conftest.in" "conftest.in" >"conftest.tmp"
4756 mv "conftest.tmp" "conftest.in"
4757 cp "conftest.in" "conftest.nl"
4758 $as_echo 'GREP' >> "conftest.nl"
4759 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4760 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4761 as_fn_arith $ac_count + 1 && ac_count=$as_val
4762 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4763 # Best one so far, save it but keep looking for a better one
4764 ac_cv_path_GREP="$ac_path_GREP"
4765 ac_path_GREP_max=$ac_count
4766 fi
4767 # 10*(2^10) chars as input seems more than enough
4768 test $ac_count -gt 10 && break
4769 done
4770 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4771 esac
4772
4773 $ac_path_GREP_found && break 3
4774 done
4775 done
4776 done
4777 IFS=$as_save_IFS
4778 if test -z "$ac_cv_path_GREP"; then
4779 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4780 fi
4781 else
4782 ac_cv_path_GREP=$GREP
4783 fi
4784
4785 fi
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4787 $as_echo "$ac_cv_path_GREP" >&6; }
4788 GREP="$ac_cv_path_GREP"
4789
4790
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4792 $as_echo_n "checking for egrep... " >&6; }
4793 if test "${ac_cv_path_EGREP+set}" = set; then :
4794 $as_echo_n "(cached) " >&6
4795 else
4796 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4797 then ac_cv_path_EGREP="$GREP -E"
4798 else
4799 if test -z "$EGREP"; then
4800 ac_path_EGREP_found=false
4801 # Loop through the user's path and test for each of PROGNAME-LIST
4802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4803 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4804 do
4805 IFS=$as_save_IFS
4806 test -z "$as_dir" && as_dir=.
4807 for ac_prog in egrep; do
4808 for ac_exec_ext in '' $ac_executable_extensions; do
4809 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4810 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4811 # Check for GNU ac_path_EGREP and select it if it is found.
4812 # Check for GNU $ac_path_EGREP
4813 case `"$ac_path_EGREP" --version 2>&1` in
4814 *GNU*)
4815 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4816 *)
4817 ac_count=0
4818 $as_echo_n 0123456789 >"conftest.in"
4819 while :
4820 do
4821 cat "conftest.in" "conftest.in" >"conftest.tmp"
4822 mv "conftest.tmp" "conftest.in"
4823 cp "conftest.in" "conftest.nl"
4824 $as_echo 'EGREP' >> "conftest.nl"
4825 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4826 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4827 as_fn_arith $ac_count + 1 && ac_count=$as_val
4828 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4829 # Best one so far, save it but keep looking for a better one
4830 ac_cv_path_EGREP="$ac_path_EGREP"
4831 ac_path_EGREP_max=$ac_count
4832 fi
4833 # 10*(2^10) chars as input seems more than enough
4834 test $ac_count -gt 10 && break
4835 done
4836 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4837 esac
4838
4839 $ac_path_EGREP_found && break 3
4840 done
4841 done
4842 done
4843 IFS=$as_save_IFS
4844 if test -z "$ac_cv_path_EGREP"; then
4845 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4846 fi
4847 else
4848 ac_cv_path_EGREP=$EGREP
4849 fi
4850
4851 fi
4852 fi
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4854 $as_echo "$ac_cv_path_EGREP" >&6; }
4855 EGREP="$ac_cv_path_EGREP"
4856
4857
4858
4859 # Keep these sync'd with the list in Makefile.am. The first provides an
4860 # expandable list at autoconf time; the second provides an expandable list
4861 # (i.e., shell variable) at configure time.
4862
4863 SUBDIRS='include libsupc++ python src doc po testsuite'
4864
4865 # These need to be absolute paths, yet at the same time need to
4866 # canonicalize only relative paths, because then amd will not unmount
4867 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4868 glibcxx_builddir=`${PWDCMD-pwd}`
4869 case $srcdir in
4870 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4871 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4872 esac
4873 toplevel_srcdir=${glibcxx_srcdir}/..
4874
4875
4876
4877
4878 # We use these options to decide which functions to include. They are
4879 # set from the top level.
4880
4881 # Check whether --with-target-subdir was given.
4882 if test "${with_target_subdir+set}" = set; then :
4883 withval=$with_target_subdir;
4884 fi
4885
4886
4887
4888 # Check whether --with-cross-host was given.
4889 if test "${with_cross_host+set}" = set; then :
4890 withval=$with_cross_host;
4891 fi
4892
4893
4894
4895 # Check whether --with-newlib was given.
4896 if test "${with_newlib+set}" = set; then :
4897 withval=$with_newlib;
4898 fi
4899
4900
4901 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4902 # available). Uncomment the next line to force a particular method.
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4904 $as_echo_n "checking whether ln -s works... " >&6; }
4905 LN_S=$as_ln_s
4906 if test "$LN_S" = "ln -s"; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4908 $as_echo "yes" >&6; }
4909 else
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4911 $as_echo "no, using $LN_S" >&6; }
4912 fi
4913
4914 #LN_S='cp -p'
4915
4916 if test -n "$ac_tool_prefix"; then
4917 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4918 set dummy ${ac_tool_prefix}as; ac_word=$2
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4920 $as_echo_n "checking for $ac_word... " >&6; }
4921 if test "${ac_cv_prog_AS+set}" = set; then :
4922 $as_echo_n "(cached) " >&6
4923 else
4924 if test -n "$AS"; then
4925 ac_cv_prog_AS="$AS" # Let the user override the test.
4926 else
4927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4928 for as_dir in $PATH
4929 do
4930 IFS=$as_save_IFS
4931 test -z "$as_dir" && as_dir=.
4932 for ac_exec_ext in '' $ac_executable_extensions; do
4933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4934 ac_cv_prog_AS="${ac_tool_prefix}as"
4935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4936 break 2
4937 fi
4938 done
4939 done
4940 IFS=$as_save_IFS
4941
4942 fi
4943 fi
4944 AS=$ac_cv_prog_AS
4945 if test -n "$AS"; then
4946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4947 $as_echo "$AS" >&6; }
4948 else
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950 $as_echo "no" >&6; }
4951 fi
4952
4953
4954 fi
4955 if test -z "$ac_cv_prog_AS"; then
4956 ac_ct_AS=$AS
4957 # Extract the first word of "as", so it can be a program name with args.
4958 set dummy as; ac_word=$2
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4960 $as_echo_n "checking for $ac_word... " >&6; }
4961 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4962 $as_echo_n "(cached) " >&6
4963 else
4964 if test -n "$ac_ct_AS"; then
4965 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4966 else
4967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4968 for as_dir in $PATH
4969 do
4970 IFS=$as_save_IFS
4971 test -z "$as_dir" && as_dir=.
4972 for ac_exec_ext in '' $ac_executable_extensions; do
4973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4974 ac_cv_prog_ac_ct_AS="as"
4975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4976 break 2
4977 fi
4978 done
4979 done
4980 IFS=$as_save_IFS
4981
4982 fi
4983 fi
4984 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4985 if test -n "$ac_ct_AS"; then
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4987 $as_echo "$ac_ct_AS" >&6; }
4988 else
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4990 $as_echo "no" >&6; }
4991 fi
4992
4993 if test "x$ac_ct_AS" = x; then
4994 AS=""
4995 else
4996 case $cross_compiling:$ac_tool_warned in
4997 yes:)
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5000 ac_tool_warned=yes ;;
5001 esac
5002 AS=$ac_ct_AS
5003 fi
5004 else
5005 AS="$ac_cv_prog_AS"
5006 fi
5007
5008 if test -n "$ac_tool_prefix"; then
5009 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5010 set dummy ${ac_tool_prefix}ar; ac_word=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if test "${ac_cv_prog_AR+set}" = set; then :
5014 $as_echo_n "(cached) " >&6
5015 else
5016 if test -n "$AR"; then
5017 ac_cv_prog_AR="$AR" # Let the user override the test.
5018 else
5019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5020 for as_dir in $PATH
5021 do
5022 IFS=$as_save_IFS
5023 test -z "$as_dir" && as_dir=.
5024 for ac_exec_ext in '' $ac_executable_extensions; do
5025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5026 ac_cv_prog_AR="${ac_tool_prefix}ar"
5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5028 break 2
5029 fi
5030 done
5031 done
5032 IFS=$as_save_IFS
5033
5034 fi
5035 fi
5036 AR=$ac_cv_prog_AR
5037 if test -n "$AR"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5039 $as_echo "$AR" >&6; }
5040 else
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5043 fi
5044
5045
5046 fi
5047 if test -z "$ac_cv_prog_AR"; then
5048 ac_ct_AR=$AR
5049 # Extract the first word of "ar", so it can be a program name with args.
5050 set dummy ar; ac_word=$2
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052 $as_echo_n "checking for $ac_word... " >&6; }
5053 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5054 $as_echo_n "(cached) " >&6
5055 else
5056 if test -n "$ac_ct_AR"; then
5057 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5058 else
5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5060 for as_dir in $PATH
5061 do
5062 IFS=$as_save_IFS
5063 test -z "$as_dir" && as_dir=.
5064 for ac_exec_ext in '' $ac_executable_extensions; do
5065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5066 ac_cv_prog_ac_ct_AR="ar"
5067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5068 break 2
5069 fi
5070 done
5071 done
5072 IFS=$as_save_IFS
5073
5074 fi
5075 fi
5076 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5077 if test -n "$ac_ct_AR"; then
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5079 $as_echo "$ac_ct_AR" >&6; }
5080 else
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082 $as_echo "no" >&6; }
5083 fi
5084
5085 if test "x$ac_ct_AR" = x; then
5086 AR=""
5087 else
5088 case $cross_compiling:$ac_tool_warned in
5089 yes:)
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5092 ac_tool_warned=yes ;;
5093 esac
5094 AR=$ac_ct_AR
5095 fi
5096 else
5097 AR="$ac_cv_prog_AR"
5098 fi
5099
5100 if test -n "$ac_tool_prefix"; then
5101 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5102 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5104 $as_echo_n "checking for $ac_word... " >&6; }
5105 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5106 $as_echo_n "(cached) " >&6
5107 else
5108 if test -n "$RANLIB"; then
5109 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5110 else
5111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5112 for as_dir in $PATH
5113 do
5114 IFS=$as_save_IFS
5115 test -z "$as_dir" && as_dir=.
5116 for ac_exec_ext in '' $ac_executable_extensions; do
5117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5118 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5120 break 2
5121 fi
5122 done
5123 done
5124 IFS=$as_save_IFS
5125
5126 fi
5127 fi
5128 RANLIB=$ac_cv_prog_RANLIB
5129 if test -n "$RANLIB"; then
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5131 $as_echo "$RANLIB" >&6; }
5132 else
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5134 $as_echo "no" >&6; }
5135 fi
5136
5137
5138 fi
5139 if test -z "$ac_cv_prog_RANLIB"; then
5140 ac_ct_RANLIB=$RANLIB
5141 # Extract the first word of "ranlib", so it can be a program name with args.
5142 set dummy ranlib; ac_word=$2
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5144 $as_echo_n "checking for $ac_word... " >&6; }
5145 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5146 $as_echo_n "(cached) " >&6
5147 else
5148 if test -n "$ac_ct_RANLIB"; then
5149 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5150 else
5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152 for as_dir in $PATH
5153 do
5154 IFS=$as_save_IFS
5155 test -z "$as_dir" && as_dir=.
5156 for ac_exec_ext in '' $ac_executable_extensions; do
5157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5158 ac_cv_prog_ac_ct_RANLIB="ranlib"
5159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 break 2
5161 fi
5162 done
5163 done
5164 IFS=$as_save_IFS
5165
5166 fi
5167 fi
5168 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5169 if test -n "$ac_ct_RANLIB"; then
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5171 $as_echo "$ac_ct_RANLIB" >&6; }
5172 else
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5174 $as_echo "no" >&6; }
5175 fi
5176
5177 if test "x$ac_ct_RANLIB" = x; then
5178 RANLIB="ranlib-not-found-in-path-error"
5179 else
5180 case $cross_compiling:$ac_tool_warned in
5181 yes:)
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5184 ac_tool_warned=yes ;;
5185 esac
5186 RANLIB=$ac_ct_RANLIB
5187 fi
5188 else
5189 RANLIB="$ac_cv_prog_RANLIB"
5190 fi
5191
5192
5193
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5195 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5196 # Check whether --enable-maintainer-mode was given.
5197 if test "${enable_maintainer_mode+set}" = set; then :
5198 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5199 else
5200 USE_MAINTAINER_MODE=no
5201 fi
5202
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5204 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5205 if test $USE_MAINTAINER_MODE = yes; then
5206 MAINTAINER_MODE_TRUE=
5207 MAINTAINER_MODE_FALSE='#'
5208 else
5209 MAINTAINER_MODE_TRUE='#'
5210 MAINTAINER_MODE_FALSE=
5211 fi
5212
5213 MAINT=$MAINTAINER_MODE_TRUE
5214
5215
5216
5217 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5218 # which are themselves conditionally expanded.
5219 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5220 ## other macros from doing the same. This should be automated.) -pme
5221
5222 # Check for C library flavor since Linux platforms use different configuration
5223 # directories depending on the C library in use.
5224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5225 /* end confdefs.h. */
5226
5227 #include <stdio.h>
5228 #if __UCLIBC__
5229 _using_uclibc
5230 #endif
5231
5232 _ACEOF
5233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5234 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5235 uclibc=yes
5236 else
5237 uclibc=no
5238 fi
5239 rm -f conftest*
5240
5241
5242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5243 /* end confdefs.h. */
5244
5245 #include <stdio.h>
5246 #if __BIONIC__
5247 _using_bionic
5248 #endif
5249
5250 _ACEOF
5251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5252 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5253 bionic=yes
5254 else
5255 bionic=no
5256 fi
5257 rm -f conftest*
5258
5259
5260 # Find platform-specific directories containing configuration info.
5261 # Also possibly modify flags used elsewhere, as needed by the platform.
5262
5263 . $glibcxx_srcdir/configure.host
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5265 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5267 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5268
5269
5270
5271 if test "x${with_newlib}" != "xyes"; then
5272 enable_dlopen=yes
5273
5274
5275
5276 fi
5277 case `pwd` in
5278 *\ * | *\ *)
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5280 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5281 esac
5282
5283
5284
5285 macro_version='2.2.7a'
5286 macro_revision='1.3134'
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300 ltmain="$ac_aux_dir/ltmain.sh"
5301
5302 # Backslashify metacharacters that are still active within
5303 # double-quoted strings.
5304 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5305
5306 # Same as above, but do not quote variable references.
5307 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5308
5309 # Sed substitution to delay expansion of an escaped shell variable in a
5310 # double_quote_subst'ed string.
5311 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5312
5313 # Sed substitution to delay expansion of an escaped single quote.
5314 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5315
5316 # Sed substitution to avoid accidental globbing in evaled expressions
5317 no_glob_subst='s/\*/\\\*/g'
5318
5319 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5320 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5321 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5322
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5324 $as_echo_n "checking how to print strings... " >&6; }
5325 # Test print first, because it will be a builtin if present.
5326 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5327 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5328 ECHO='print -r --'
5329 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5330 ECHO='printf %s\n'
5331 else
5332 # Use this function as a fallback that always works.
5333 func_fallback_echo ()
5334 {
5335 eval 'cat <<_LTECHO_EOF
5336 $1
5337 _LTECHO_EOF'
5338 }
5339 ECHO='func_fallback_echo'
5340 fi
5341
5342 # func_echo_all arg...
5343 # Invoke $ECHO with all args, space-separated.
5344 func_echo_all ()
5345 {
5346 $ECHO ""
5347 }
5348
5349 case "$ECHO" in
5350 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5351 $as_echo "printf" >&6; } ;;
5352 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5353 $as_echo "print -r" >&6; } ;;
5354 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5355 $as_echo "cat" >&6; } ;;
5356 esac
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5372 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5373 if test "${ac_cv_path_SED+set}" = set; then :
5374 $as_echo_n "(cached) " >&6
5375 else
5376 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5377 for ac_i in 1 2 3 4 5 6 7; do
5378 ac_script="$ac_script$as_nl$ac_script"
5379 done
5380 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5381 { ac_script=; unset ac_script;}
5382 if test -z "$SED"; then
5383 ac_path_SED_found=false
5384 # Loop through the user's path and test for each of PROGNAME-LIST
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5386 for as_dir in $PATH
5387 do
5388 IFS=$as_save_IFS
5389 test -z "$as_dir" && as_dir=.
5390 for ac_prog in sed gsed; do
5391 for ac_exec_ext in '' $ac_executable_extensions; do
5392 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5393 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5394 # Check for GNU ac_path_SED and select it if it is found.
5395 # Check for GNU $ac_path_SED
5396 case `"$ac_path_SED" --version 2>&1` in
5397 *GNU*)
5398 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5399 *)
5400 ac_count=0
5401 $as_echo_n 0123456789 >"conftest.in"
5402 while :
5403 do
5404 cat "conftest.in" "conftest.in" >"conftest.tmp"
5405 mv "conftest.tmp" "conftest.in"
5406 cp "conftest.in" "conftest.nl"
5407 $as_echo '' >> "conftest.nl"
5408 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5409 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5410 as_fn_arith $ac_count + 1 && ac_count=$as_val
5411 if test $ac_count -gt ${ac_path_SED_max-0}; then
5412 # Best one so far, save it but keep looking for a better one
5413 ac_cv_path_SED="$ac_path_SED"
5414 ac_path_SED_max=$ac_count
5415 fi
5416 # 10*(2^10) chars as input seems more than enough
5417 test $ac_count -gt 10 && break
5418 done
5419 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5420 esac
5421
5422 $ac_path_SED_found && break 3
5423 done
5424 done
5425 done
5426 IFS=$as_save_IFS
5427 if test -z "$ac_cv_path_SED"; then
5428 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5429 fi
5430 else
5431 ac_cv_path_SED=$SED
5432 fi
5433
5434 fi
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5436 $as_echo "$ac_cv_path_SED" >&6; }
5437 SED="$ac_cv_path_SED"
5438 rm -f conftest.sed
5439
5440 test -z "$SED" && SED=sed
5441 Xsed="$SED -e 1s/^X//"
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5454 $as_echo_n "checking for fgrep... " >&6; }
5455 if test "${ac_cv_path_FGREP+set}" = set; then :
5456 $as_echo_n "(cached) " >&6
5457 else
5458 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5459 then ac_cv_path_FGREP="$GREP -F"
5460 else
5461 if test -z "$FGREP"; then
5462 ac_path_FGREP_found=false
5463 # Loop through the user's path and test for each of PROGNAME-LIST
5464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5466 do
5467 IFS=$as_save_IFS
5468 test -z "$as_dir" && as_dir=.
5469 for ac_prog in fgrep; do
5470 for ac_exec_ext in '' $ac_executable_extensions; do
5471 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5472 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5473 # Check for GNU ac_path_FGREP and select it if it is found.
5474 # Check for GNU $ac_path_FGREP
5475 case `"$ac_path_FGREP" --version 2>&1` in
5476 *GNU*)
5477 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5478 *)
5479 ac_count=0
5480 $as_echo_n 0123456789 >"conftest.in"
5481 while :
5482 do
5483 cat "conftest.in" "conftest.in" >"conftest.tmp"
5484 mv "conftest.tmp" "conftest.in"
5485 cp "conftest.in" "conftest.nl"
5486 $as_echo 'FGREP' >> "conftest.nl"
5487 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5488 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5489 as_fn_arith $ac_count + 1 && ac_count=$as_val
5490 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5491 # Best one so far, save it but keep looking for a better one
5492 ac_cv_path_FGREP="$ac_path_FGREP"
5493 ac_path_FGREP_max=$ac_count
5494 fi
5495 # 10*(2^10) chars as input seems more than enough
5496 test $ac_count -gt 10 && break
5497 done
5498 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5499 esac
5500
5501 $ac_path_FGREP_found && break 3
5502 done
5503 done
5504 done
5505 IFS=$as_save_IFS
5506 if test -z "$ac_cv_path_FGREP"; then
5507 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5508 fi
5509 else
5510 ac_cv_path_FGREP=$FGREP
5511 fi
5512
5513 fi
5514 fi
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5516 $as_echo "$ac_cv_path_FGREP" >&6; }
5517 FGREP="$ac_cv_path_FGREP"
5518
5519
5520 test -z "$GREP" && GREP=grep
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540 # Check whether --with-gnu-ld was given.
5541 if test "${with_gnu_ld+set}" = set; then :
5542 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5543 else
5544 with_gnu_ld=no
5545 fi
5546
5547 ac_prog=ld
5548 if test "$GCC" = yes; then
5549 # Check if gcc -print-prog-name=ld gives a path.
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5551 $as_echo_n "checking for ld used by $CC... " >&6; }
5552 case $host in
5553 *-*-mingw*)
5554 # gcc leaves a trailing carriage return which upsets mingw
5555 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5556 *)
5557 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5558 esac
5559 case $ac_prog in
5560 # Accept absolute paths.
5561 [\\/]* | ?:[\\/]*)
5562 re_direlt='/[^/][^/]*/\.\./'
5563 # Canonicalize the pathname of ld
5564 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5565 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5566 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5567 done
5568 test -z "$LD" && LD="$ac_prog"
5569 ;;
5570 "")
5571 # If it fails, then pretend we aren't using GCC.
5572 ac_prog=ld
5573 ;;
5574 *)
5575 # If it is relative, then search for the first ld in PATH.
5576 with_gnu_ld=unknown
5577 ;;
5578 esac
5579 elif test "$with_gnu_ld" = yes; then
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5581 $as_echo_n "checking for GNU ld... " >&6; }
5582 else
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5584 $as_echo_n "checking for non-GNU ld... " >&6; }
5585 fi
5586 if test "${lt_cv_path_LD+set}" = set; then :
5587 $as_echo_n "(cached) " >&6
5588 else
5589 if test -z "$LD"; then
5590 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5591 for ac_dir in $PATH; do
5592 IFS="$lt_save_ifs"
5593 test -z "$ac_dir" && ac_dir=.
5594 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5595 lt_cv_path_LD="$ac_dir/$ac_prog"
5596 # Check to see if the program is GNU ld. I'd rather use --version,
5597 # but apparently some variants of GNU ld only accept -v.
5598 # Break only if it was the GNU/non-GNU ld that we prefer.
5599 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5600 *GNU* | *'with BFD'*)
5601 test "$with_gnu_ld" != no && break
5602 ;;
5603 *)
5604 test "$with_gnu_ld" != yes && break
5605 ;;
5606 esac
5607 fi
5608 done
5609 IFS="$lt_save_ifs"
5610 else
5611 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5612 fi
5613 fi
5614
5615 LD="$lt_cv_path_LD"
5616 if test -n "$LD"; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5618 $as_echo "$LD" >&6; }
5619 else
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5621 $as_echo "no" >&6; }
5622 fi
5623 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5625 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5626 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5627 $as_echo_n "(cached) " >&6
5628 else
5629 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5630 case `$LD -v 2>&1 </dev/null` in
5631 *GNU* | *'with BFD'*)
5632 lt_cv_prog_gnu_ld=yes
5633 ;;
5634 *)
5635 lt_cv_prog_gnu_ld=no
5636 ;;
5637 esac
5638 fi
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5640 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5641 with_gnu_ld=$lt_cv_prog_gnu_ld
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5652 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5653 if test "${lt_cv_path_NM+set}" = set; then :
5654 $as_echo_n "(cached) " >&6
5655 else
5656 if test -n "$NM"; then
5657 # Let the user override the test.
5658 lt_cv_path_NM="$NM"
5659 else
5660 lt_nm_to_check="${ac_tool_prefix}nm"
5661 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5662 lt_nm_to_check="$lt_nm_to_check nm"
5663 fi
5664 for lt_tmp_nm in $lt_nm_to_check; do
5665 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5666 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5667 IFS="$lt_save_ifs"
5668 test -z "$ac_dir" && ac_dir=.
5669 tmp_nm="$ac_dir/$lt_tmp_nm"
5670 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5671 # Check to see if the nm accepts a BSD-compat flag.
5672 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5673 # nm: unknown option "B" ignored
5674 # Tru64's nm complains that /dev/null is an invalid object file
5675 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5676 */dev/null* | *'Invalid file or object type'*)
5677 lt_cv_path_NM="$tmp_nm -B"
5678 break
5679 ;;
5680 *)
5681 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5682 */dev/null*)
5683 lt_cv_path_NM="$tmp_nm -p"
5684 break
5685 ;;
5686 *)
5687 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5688 continue # so that we can try to find one that supports BSD flags
5689 ;;
5690 esac
5691 ;;
5692 esac
5693 fi
5694 done
5695 IFS="$lt_save_ifs"
5696 done
5697 : ${lt_cv_path_NM=no}
5698 fi
5699 fi
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5701 $as_echo "$lt_cv_path_NM" >&6; }
5702 if test "$lt_cv_path_NM" != "no"; then
5703 NM="$lt_cv_path_NM"
5704 else
5705 # Didn't find any BSD compatible name lister, look for dumpbin.
5706 if test -n "$DUMPBIN"; then :
5707 # Let the user override the test.
5708 else
5709 if test -n "$ac_tool_prefix"; then
5710 for ac_prog in dumpbin "link -dump"
5711 do
5712 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5713 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5715 $as_echo_n "checking for $ac_word... " >&6; }
5716 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5717 $as_echo_n "(cached) " >&6
5718 else
5719 if test -n "$DUMPBIN"; then
5720 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5721 else
5722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5723 for as_dir in $PATH
5724 do
5725 IFS=$as_save_IFS
5726 test -z "$as_dir" && as_dir=.
5727 for ac_exec_ext in '' $ac_executable_extensions; do
5728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5729 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5731 break 2
5732 fi
5733 done
5734 done
5735 IFS=$as_save_IFS
5736
5737 fi
5738 fi
5739 DUMPBIN=$ac_cv_prog_DUMPBIN
5740 if test -n "$DUMPBIN"; then
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5742 $as_echo "$DUMPBIN" >&6; }
5743 else
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5745 $as_echo "no" >&6; }
5746 fi
5747
5748
5749 test -n "$DUMPBIN" && break
5750 done
5751 fi
5752 if test -z "$DUMPBIN"; then
5753 ac_ct_DUMPBIN=$DUMPBIN
5754 for ac_prog in dumpbin "link -dump"
5755 do
5756 # Extract the first word of "$ac_prog", so it can be a program name with args.
5757 set dummy $ac_prog; ac_word=$2
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5759 $as_echo_n "checking for $ac_word... " >&6; }
5760 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5761 $as_echo_n "(cached) " >&6
5762 else
5763 if test -n "$ac_ct_DUMPBIN"; then
5764 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5765 else
5766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5767 for as_dir in $PATH
5768 do
5769 IFS=$as_save_IFS
5770 test -z "$as_dir" && as_dir=.
5771 for ac_exec_ext in '' $ac_executable_extensions; do
5772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5773 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5775 break 2
5776 fi
5777 done
5778 done
5779 IFS=$as_save_IFS
5780
5781 fi
5782 fi
5783 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5784 if test -n "$ac_ct_DUMPBIN"; then
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5786 $as_echo "$ac_ct_DUMPBIN" >&6; }
5787 else
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5789 $as_echo "no" >&6; }
5790 fi
5791
5792
5793 test -n "$ac_ct_DUMPBIN" && break
5794 done
5795
5796 if test "x$ac_ct_DUMPBIN" = x; then
5797 DUMPBIN=":"
5798 else
5799 case $cross_compiling:$ac_tool_warned in
5800 yes:)
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5803 ac_tool_warned=yes ;;
5804 esac
5805 DUMPBIN=$ac_ct_DUMPBIN
5806 fi
5807 fi
5808
5809 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5810 *COFF*)
5811 DUMPBIN="$DUMPBIN -symbols"
5812 ;;
5813 *)
5814 DUMPBIN=:
5815 ;;
5816 esac
5817 fi
5818
5819 if test "$DUMPBIN" != ":"; then
5820 NM="$DUMPBIN"
5821 fi
5822 fi
5823 test -z "$NM" && NM=nm
5824
5825
5826
5827
5828
5829
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5831 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5832 if test "${lt_cv_nm_interface+set}" = set; then :
5833 $as_echo_n "(cached) " >&6
5834 else
5835 lt_cv_nm_interface="BSD nm"
5836 echo "int some_variable = 0;" > conftest.$ac_ext
5837 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5838 (eval "$ac_compile" 2>conftest.err)
5839 cat conftest.err >&5
5840 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5841 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5842 cat conftest.err >&5
5843 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5844 cat conftest.out >&5
5845 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5846 lt_cv_nm_interface="MS dumpbin"
5847 fi
5848 rm -f conftest*
5849 fi
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5851 $as_echo "$lt_cv_nm_interface" >&6; }
5852
5853 # find the maximum length of command line arguments
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5855 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5856 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5857 $as_echo_n "(cached) " >&6
5858 else
5859 i=0
5860 teststring="ABCD"
5861
5862 case $build_os in
5863 msdosdjgpp*)
5864 # On DJGPP, this test can blow up pretty badly due to problems in libc
5865 # (any single argument exceeding 2000 bytes causes a buffer overrun
5866 # during glob expansion). Even if it were fixed, the result of this
5867 # check would be larger than it should be.
5868 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5869 ;;
5870
5871 gnu*)
5872 # Under GNU Hurd, this test is not required because there is
5873 # no limit to the length of command line arguments.
5874 # Libtool will interpret -1 as no limit whatsoever
5875 lt_cv_sys_max_cmd_len=-1;
5876 ;;
5877
5878 cygwin* | mingw* | cegcc*)
5879 # On Win9x/ME, this test blows up -- it succeeds, but takes
5880 # about 5 minutes as the teststring grows exponentially.
5881 # Worse, since 9x/ME are not pre-emptively multitasking,
5882 # you end up with a "frozen" computer, even though with patience
5883 # the test eventually succeeds (with a max line length of 256k).
5884 # Instead, let's just punt: use the minimum linelength reported by
5885 # all of the supported platforms: 8192 (on NT/2K/XP).
5886 lt_cv_sys_max_cmd_len=8192;
5887 ;;
5888
5889 mint*)
5890 # On MiNT this can take a long time and run out of memory.
5891 lt_cv_sys_max_cmd_len=8192;
5892 ;;
5893
5894 amigaos*)
5895 # On AmigaOS with pdksh, this test takes hours, literally.
5896 # So we just punt and use a minimum line length of 8192.
5897 lt_cv_sys_max_cmd_len=8192;
5898 ;;
5899
5900 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5901 # This has been around since 386BSD, at least. Likely further.
5902 if test -x /sbin/sysctl; then
5903 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5904 elif test -x /usr/sbin/sysctl; then
5905 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5906 else
5907 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5908 fi
5909 # And add a safety zone
5910 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5911 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5912 ;;
5913
5914 interix*)
5915 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5916 lt_cv_sys_max_cmd_len=196608
5917 ;;
5918
5919 osf*)
5920 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5921 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5922 # nice to cause kernel panics so lets avoid the loop below.
5923 # First set a reasonable default.
5924 lt_cv_sys_max_cmd_len=16384
5925 #
5926 if test -x /sbin/sysconfig; then
5927 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5928 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5929 esac
5930 fi
5931 ;;
5932 sco3.2v5*)
5933 lt_cv_sys_max_cmd_len=102400
5934 ;;
5935 sysv5* | sco5v6* | sysv4.2uw2*)
5936 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5937 if test -n "$kargmax"; then
5938 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5939 else
5940 lt_cv_sys_max_cmd_len=32768
5941 fi
5942 ;;
5943 *)
5944 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5945 if test -n "$lt_cv_sys_max_cmd_len"; then
5946 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5947 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5948 else
5949 # Make teststring a little bigger before we do anything with it.
5950 # a 1K string should be a reasonable start.
5951 for i in 1 2 3 4 5 6 7 8 ; do
5952 teststring=$teststring$teststring
5953 done
5954 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5955 # If test is not a shell built-in, we'll probably end up computing a
5956 # maximum length that is only half of the actual maximum length, but
5957 # we can't tell.
5958 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5959 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5960 test $i != 17 # 1/2 MB should be enough
5961 do
5962 i=`expr $i + 1`
5963 teststring=$teststring$teststring
5964 done
5965 # Only check the string length outside the loop.
5966 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5967 teststring=
5968 # Add a significant safety factor because C++ compilers can tack on
5969 # massive amounts of additional arguments before passing them to the
5970 # linker. It appears as though 1/2 is a usable value.
5971 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5972 fi
5973 ;;
5974 esac
5975
5976 fi
5977
5978 if test -n $lt_cv_sys_max_cmd_len ; then
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5980 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5981 else
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5983 $as_echo "none" >&6; }
5984 fi
5985 max_cmd_len=$lt_cv_sys_max_cmd_len
5986
5987
5988
5989
5990
5991
5992 : ${CP="cp -f"}
5993 : ${MV="mv -f"}
5994 : ${RM="rm -f"}
5995
5996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5997 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5998 # Try some XSI features
5999 xsi_shell=no
6000 ( _lt_dummy="a/b/c"
6001 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6002 = c,a/b,, \
6003 && eval 'test $(( 1 + 1 )) -eq 2 \
6004 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6005 && xsi_shell=yes
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6007 $as_echo "$xsi_shell" >&6; }
6008
6009
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6011 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6012 lt_shell_append=no
6013 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6014 >/dev/null 2>&1 \
6015 && lt_shell_append=yes
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6017 $as_echo "$lt_shell_append" >&6; }
6018
6019
6020 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6021 lt_unset=unset
6022 else
6023 lt_unset=false
6024 fi
6025
6026
6027
6028
6029
6030 # test EBCDIC or ASCII
6031 case `echo X|tr X '\101'` in
6032 A) # ASCII based system
6033 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6034 lt_SP2NL='tr \040 \012'
6035 lt_NL2SP='tr \015\012 \040\040'
6036 ;;
6037 *) # EBCDIC based system
6038 lt_SP2NL='tr \100 \n'
6039 lt_NL2SP='tr \r\n \100\100'
6040 ;;
6041 esac
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6052 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6053 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6054 $as_echo_n "(cached) " >&6
6055 else
6056 lt_cv_ld_reload_flag='-r'
6057 fi
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6059 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6060 reload_flag=$lt_cv_ld_reload_flag
6061 case $reload_flag in
6062 "" | " "*) ;;
6063 *) reload_flag=" $reload_flag" ;;
6064 esac
6065 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6066 case $host_os in
6067 darwin*)
6068 if test "$GCC" = yes; then
6069 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6070 else
6071 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6072 fi
6073 ;;
6074 esac
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084 if test -n "$ac_tool_prefix"; then
6085 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6086 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6088 $as_echo_n "checking for $ac_word... " >&6; }
6089 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6090 $as_echo_n "(cached) " >&6
6091 else
6092 if test -n "$OBJDUMP"; then
6093 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6094 else
6095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6096 for as_dir in $PATH
6097 do
6098 IFS=$as_save_IFS
6099 test -z "$as_dir" && as_dir=.
6100 for ac_exec_ext in '' $ac_executable_extensions; do
6101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6102 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6104 break 2
6105 fi
6106 done
6107 done
6108 IFS=$as_save_IFS
6109
6110 fi
6111 fi
6112 OBJDUMP=$ac_cv_prog_OBJDUMP
6113 if test -n "$OBJDUMP"; then
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6115 $as_echo "$OBJDUMP" >&6; }
6116 else
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6118 $as_echo "no" >&6; }
6119 fi
6120
6121
6122 fi
6123 if test -z "$ac_cv_prog_OBJDUMP"; then
6124 ac_ct_OBJDUMP=$OBJDUMP
6125 # Extract the first word of "objdump", so it can be a program name with args.
6126 set dummy objdump; ac_word=$2
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6128 $as_echo_n "checking for $ac_word... " >&6; }
6129 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6130 $as_echo_n "(cached) " >&6
6131 else
6132 if test -n "$ac_ct_OBJDUMP"; then
6133 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6134 else
6135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6136 for as_dir in $PATH
6137 do
6138 IFS=$as_save_IFS
6139 test -z "$as_dir" && as_dir=.
6140 for ac_exec_ext in '' $ac_executable_extensions; do
6141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6142 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6144 break 2
6145 fi
6146 done
6147 done
6148 IFS=$as_save_IFS
6149
6150 fi
6151 fi
6152 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6153 if test -n "$ac_ct_OBJDUMP"; then
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6155 $as_echo "$ac_ct_OBJDUMP" >&6; }
6156 else
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6158 $as_echo "no" >&6; }
6159 fi
6160
6161 if test "x$ac_ct_OBJDUMP" = x; then
6162 OBJDUMP="false"
6163 else
6164 case $cross_compiling:$ac_tool_warned in
6165 yes:)
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6167 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6168 ac_tool_warned=yes ;;
6169 esac
6170 OBJDUMP=$ac_ct_OBJDUMP
6171 fi
6172 else
6173 OBJDUMP="$ac_cv_prog_OBJDUMP"
6174 fi
6175
6176 test -z "$OBJDUMP" && OBJDUMP=objdump
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6187 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6188 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6189 $as_echo_n "(cached) " >&6
6190 else
6191 lt_cv_file_magic_cmd='$MAGIC_CMD'
6192 lt_cv_file_magic_test_file=
6193 lt_cv_deplibs_check_method='unknown'
6194 # Need to set the preceding variable on all platforms that support
6195 # interlibrary dependencies.
6196 # 'none' -- dependencies not supported.
6197 # `unknown' -- same as none, but documents that we really don't know.
6198 # 'pass_all' -- all dependencies passed with no checks.
6199 # 'test_compile' -- check by making test program.
6200 # 'file_magic [[regex]]' -- check by looking for files in library path
6201 # which responds to the $file_magic_cmd with a given extended regex.
6202 # If you have `file' or equivalent on your system and you're not sure
6203 # whether `pass_all' will *always* work, you probably want this one.
6204
6205 case $host_os in
6206 aix[4-9]*)
6207 lt_cv_deplibs_check_method=pass_all
6208 ;;
6209
6210 beos*)
6211 lt_cv_deplibs_check_method=pass_all
6212 ;;
6213
6214 bsdi[45]*)
6215 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6216 lt_cv_file_magic_cmd='/usr/bin/file -L'
6217 lt_cv_file_magic_test_file=/shlib/libc.so
6218 ;;
6219
6220 cygwin*)
6221 # func_win32_libid is a shell function defined in ltmain.sh
6222 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6223 lt_cv_file_magic_cmd='func_win32_libid'
6224 ;;
6225
6226 mingw* | pw32*)
6227 # Base MSYS/MinGW do not provide the 'file' command needed by
6228 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6229 # unless we find 'file', for example because we are cross-compiling.
6230 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6231 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6232 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6233 lt_cv_file_magic_cmd='func_win32_libid'
6234 else
6235 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6236 lt_cv_file_magic_cmd='$OBJDUMP -f'
6237 fi
6238 ;;
6239
6240 cegcc*)
6241 # use the weaker test based on 'objdump'. See mingw*.
6242 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6243 lt_cv_file_magic_cmd='$OBJDUMP -f'
6244 ;;
6245
6246 darwin* | rhapsody*)
6247 lt_cv_deplibs_check_method=pass_all
6248 ;;
6249
6250 freebsd* | dragonfly*)
6251 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6252 case $host_cpu in
6253 i*86 )
6254 # Not sure whether the presence of OpenBSD here was a mistake.
6255 # Let's accept both of them until this is cleared up.
6256 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6257 lt_cv_file_magic_cmd=/usr/bin/file
6258 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6259 ;;
6260 esac
6261 else
6262 lt_cv_deplibs_check_method=pass_all
6263 fi
6264 ;;
6265
6266 gnu*)
6267 lt_cv_deplibs_check_method=pass_all
6268 ;;
6269
6270 haiku*)
6271 lt_cv_deplibs_check_method=pass_all
6272 ;;
6273
6274 hpux10.20* | hpux11*)
6275 lt_cv_file_magic_cmd=/usr/bin/file
6276 case $host_cpu in
6277 ia64*)
6278 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6279 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6280 ;;
6281 hppa*64*)
6282 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]'
6283 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6284 ;;
6285 *)
6286 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6287 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6288 ;;
6289 esac
6290 ;;
6291
6292 interix[3-9]*)
6293 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6294 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6295 ;;
6296
6297 irix5* | irix6* | nonstopux*)
6298 case $LD in
6299 *-32|*"-32 ") libmagic=32-bit;;
6300 *-n32|*"-n32 ") libmagic=N32;;
6301 *-64|*"-64 ") libmagic=64-bit;;
6302 *) libmagic=never-match;;
6303 esac
6304 lt_cv_deplibs_check_method=pass_all
6305 ;;
6306
6307 # This must be Linux ELF.
6308 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6309 lt_cv_deplibs_check_method=pass_all
6310 ;;
6311
6312 netbsd*)
6313 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6314 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6315 else
6316 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6317 fi
6318 ;;
6319
6320 newos6*)
6321 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6322 lt_cv_file_magic_cmd=/usr/bin/file
6323 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6324 ;;
6325
6326 *nto* | *qnx*)
6327 lt_cv_deplibs_check_method=pass_all
6328 ;;
6329
6330 openbsd*)
6331 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6332 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6333 else
6334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6335 fi
6336 ;;
6337
6338 osf3* | osf4* | osf5*)
6339 lt_cv_deplibs_check_method=pass_all
6340 ;;
6341
6342 rdos*)
6343 lt_cv_deplibs_check_method=pass_all
6344 ;;
6345
6346 solaris*)
6347 lt_cv_deplibs_check_method=pass_all
6348 ;;
6349
6350 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6351 lt_cv_deplibs_check_method=pass_all
6352 ;;
6353
6354 sysv4 | sysv4.3*)
6355 case $host_vendor in
6356 motorola)
6357 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]'
6358 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6359 ;;
6360 ncr)
6361 lt_cv_deplibs_check_method=pass_all
6362 ;;
6363 sequent)
6364 lt_cv_file_magic_cmd='/bin/file'
6365 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6366 ;;
6367 sni)
6368 lt_cv_file_magic_cmd='/bin/file'
6369 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6370 lt_cv_file_magic_test_file=/lib/libc.so
6371 ;;
6372 siemens)
6373 lt_cv_deplibs_check_method=pass_all
6374 ;;
6375 pc)
6376 lt_cv_deplibs_check_method=pass_all
6377 ;;
6378 esac
6379 ;;
6380
6381 tpf*)
6382 lt_cv_deplibs_check_method=pass_all
6383 ;;
6384 esac
6385
6386 fi
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6388 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6389 file_magic_cmd=$lt_cv_file_magic_cmd
6390 deplibs_check_method=$lt_cv_deplibs_check_method
6391 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404 if test -n "$ac_tool_prefix"; then
6405 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6406 set dummy ${ac_tool_prefix}ar; ac_word=$2
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6408 $as_echo_n "checking for $ac_word... " >&6; }
6409 if test "${ac_cv_prog_AR+set}" = set; then :
6410 $as_echo_n "(cached) " >&6
6411 else
6412 if test -n "$AR"; then
6413 ac_cv_prog_AR="$AR" # Let the user override the test.
6414 else
6415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6416 for as_dir in $PATH
6417 do
6418 IFS=$as_save_IFS
6419 test -z "$as_dir" && as_dir=.
6420 for ac_exec_ext in '' $ac_executable_extensions; do
6421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6422 ac_cv_prog_AR="${ac_tool_prefix}ar"
6423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6424 break 2
6425 fi
6426 done
6427 done
6428 IFS=$as_save_IFS
6429
6430 fi
6431 fi
6432 AR=$ac_cv_prog_AR
6433 if test -n "$AR"; then
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6435 $as_echo "$AR" >&6; }
6436 else
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6438 $as_echo "no" >&6; }
6439 fi
6440
6441
6442 fi
6443 if test -z "$ac_cv_prog_AR"; then
6444 ac_ct_AR=$AR
6445 # Extract the first word of "ar", so it can be a program name with args.
6446 set dummy ar; ac_word=$2
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6448 $as_echo_n "checking for $ac_word... " >&6; }
6449 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6450 $as_echo_n "(cached) " >&6
6451 else
6452 if test -n "$ac_ct_AR"; then
6453 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6454 else
6455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6456 for as_dir in $PATH
6457 do
6458 IFS=$as_save_IFS
6459 test -z "$as_dir" && as_dir=.
6460 for ac_exec_ext in '' $ac_executable_extensions; do
6461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6462 ac_cv_prog_ac_ct_AR="ar"
6463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6464 break 2
6465 fi
6466 done
6467 done
6468 IFS=$as_save_IFS
6469
6470 fi
6471 fi
6472 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6473 if test -n "$ac_ct_AR"; then
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6475 $as_echo "$ac_ct_AR" >&6; }
6476 else
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6478 $as_echo "no" >&6; }
6479 fi
6480
6481 if test "x$ac_ct_AR" = x; then
6482 AR="false"
6483 else
6484 case $cross_compiling:$ac_tool_warned in
6485 yes:)
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6488 ac_tool_warned=yes ;;
6489 esac
6490 AR=$ac_ct_AR
6491 fi
6492 else
6493 AR="$ac_cv_prog_AR"
6494 fi
6495
6496 test -z "$AR" && AR=ar
6497 test -z "$AR_FLAGS" && AR_FLAGS=cru
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509 if test -n "$ac_tool_prefix"; then
6510 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6511 set dummy ${ac_tool_prefix}strip; ac_word=$2
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6513 $as_echo_n "checking for $ac_word... " >&6; }
6514 if test "${ac_cv_prog_STRIP+set}" = set; then :
6515 $as_echo_n "(cached) " >&6
6516 else
6517 if test -n "$STRIP"; then
6518 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6519 else
6520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521 for as_dir in $PATH
6522 do
6523 IFS=$as_save_IFS
6524 test -z "$as_dir" && as_dir=.
6525 for ac_exec_ext in '' $ac_executable_extensions; do
6526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6527 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6529 break 2
6530 fi
6531 done
6532 done
6533 IFS=$as_save_IFS
6534
6535 fi
6536 fi
6537 STRIP=$ac_cv_prog_STRIP
6538 if test -n "$STRIP"; then
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6540 $as_echo "$STRIP" >&6; }
6541 else
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6543 $as_echo "no" >&6; }
6544 fi
6545
6546
6547 fi
6548 if test -z "$ac_cv_prog_STRIP"; then
6549 ac_ct_STRIP=$STRIP
6550 # Extract the first word of "strip", so it can be a program name with args.
6551 set dummy strip; ac_word=$2
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553 $as_echo_n "checking for $ac_word... " >&6; }
6554 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6555 $as_echo_n "(cached) " >&6
6556 else
6557 if test -n "$ac_ct_STRIP"; then
6558 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6559 else
6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6561 for as_dir in $PATH
6562 do
6563 IFS=$as_save_IFS
6564 test -z "$as_dir" && as_dir=.
6565 for ac_exec_ext in '' $ac_executable_extensions; do
6566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6567 ac_cv_prog_ac_ct_STRIP="strip"
6568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6569 break 2
6570 fi
6571 done
6572 done
6573 IFS=$as_save_IFS
6574
6575 fi
6576 fi
6577 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6578 if test -n "$ac_ct_STRIP"; then
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6580 $as_echo "$ac_ct_STRIP" >&6; }
6581 else
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6583 $as_echo "no" >&6; }
6584 fi
6585
6586 if test "x$ac_ct_STRIP" = x; then
6587 STRIP=":"
6588 else
6589 case $cross_compiling:$ac_tool_warned in
6590 yes:)
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6593 ac_tool_warned=yes ;;
6594 esac
6595 STRIP=$ac_ct_STRIP
6596 fi
6597 else
6598 STRIP="$ac_cv_prog_STRIP"
6599 fi
6600
6601 test -z "$STRIP" && STRIP=:
6602
6603
6604
6605
6606
6607
6608 if test -n "$ac_tool_prefix"; then
6609 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6610 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6612 $as_echo_n "checking for $ac_word... " >&6; }
6613 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6614 $as_echo_n "(cached) " >&6
6615 else
6616 if test -n "$RANLIB"; then
6617 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6618 else
6619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6620 for as_dir in $PATH
6621 do
6622 IFS=$as_save_IFS
6623 test -z "$as_dir" && as_dir=.
6624 for ac_exec_ext in '' $ac_executable_extensions; do
6625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6626 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6628 break 2
6629 fi
6630 done
6631 done
6632 IFS=$as_save_IFS
6633
6634 fi
6635 fi
6636 RANLIB=$ac_cv_prog_RANLIB
6637 if test -n "$RANLIB"; then
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6639 $as_echo "$RANLIB" >&6; }
6640 else
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6642 $as_echo "no" >&6; }
6643 fi
6644
6645
6646 fi
6647 if test -z "$ac_cv_prog_RANLIB"; then
6648 ac_ct_RANLIB=$RANLIB
6649 # Extract the first word of "ranlib", so it can be a program name with args.
6650 set dummy ranlib; ac_word=$2
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6652 $as_echo_n "checking for $ac_word... " >&6; }
6653 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6654 $as_echo_n "(cached) " >&6
6655 else
6656 if test -n "$ac_ct_RANLIB"; then
6657 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6658 else
6659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6660 for as_dir in $PATH
6661 do
6662 IFS=$as_save_IFS
6663 test -z "$as_dir" && as_dir=.
6664 for ac_exec_ext in '' $ac_executable_extensions; do
6665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6666 ac_cv_prog_ac_ct_RANLIB="ranlib"
6667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6668 break 2
6669 fi
6670 done
6671 done
6672 IFS=$as_save_IFS
6673
6674 fi
6675 fi
6676 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6677 if test -n "$ac_ct_RANLIB"; then
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6679 $as_echo "$ac_ct_RANLIB" >&6; }
6680 else
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6682 $as_echo "no" >&6; }
6683 fi
6684
6685 if test "x$ac_ct_RANLIB" = x; then
6686 RANLIB=":"
6687 else
6688 case $cross_compiling:$ac_tool_warned in
6689 yes:)
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6692 ac_tool_warned=yes ;;
6693 esac
6694 RANLIB=$ac_ct_RANLIB
6695 fi
6696 else
6697 RANLIB="$ac_cv_prog_RANLIB"
6698 fi
6699
6700 test -z "$RANLIB" && RANLIB=:
6701
6702
6703
6704
6705
6706
6707 # Determine commands to create old-style static archives.
6708 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6709 old_postinstall_cmds='chmod 644 $oldlib'
6710 old_postuninstall_cmds=
6711
6712 if test -n "$RANLIB"; then
6713 case $host_os in
6714 openbsd*)
6715 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6716 ;;
6717 *)
6718 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6719 ;;
6720 esac
6721 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6722 fi
6723
6724 case $host_os in
6725 darwin*)
6726 lock_old_archive_extraction=yes ;;
6727 *)
6728 lock_old_archive_extraction=no ;;
6729 esac
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769 # If no C compiler was specified, use CC.
6770 LTCC=${LTCC-"$CC"}
6771
6772 # If no C compiler flags were specified, use CFLAGS.
6773 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6774
6775 # Allow CC to be a program name with arguments.
6776 compiler=$CC
6777
6778
6779 # Check for command to grab the raw symbol name followed by C symbol from nm.
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6781 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6782 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6783 $as_echo_n "(cached) " >&6
6784 else
6785
6786 # These are sane defaults that work on at least a few old systems.
6787 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6788
6789 # Character class describing NM global symbol codes.
6790 symcode='[BCDEGRST]'
6791
6792 # Regexp to match symbols that can be accessed directly from C.
6793 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6794
6795 # Define system-specific variables.
6796 case $host_os in
6797 aix*)
6798 symcode='[BCDT]'
6799 ;;
6800 cygwin* | mingw* | pw32* | cegcc*)
6801 symcode='[ABCDGISTW]'
6802 ;;
6803 hpux*)
6804 if test "$host_cpu" = ia64; then
6805 symcode='[ABCDEGRST]'
6806 fi
6807 ;;
6808 irix* | nonstopux*)
6809 symcode='[BCDEGRST]'
6810 ;;
6811 osf*)
6812 symcode='[BCDEGQRST]'
6813 ;;
6814 solaris*)
6815 symcode='[BDRT]'
6816 ;;
6817 sco3.2v5*)
6818 symcode='[DT]'
6819 ;;
6820 sysv4.2uw2*)
6821 symcode='[DT]'
6822 ;;
6823 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6824 symcode='[ABDT]'
6825 ;;
6826 sysv4)
6827 symcode='[DFNSTU]'
6828 ;;
6829 esac
6830
6831 # If we're using GNU nm, then use its standard symbol codes.
6832 case `$NM -V 2>&1` in
6833 *GNU* | *'with BFD'*)
6834 symcode='[ABCDGIRSTW]' ;;
6835 esac
6836
6837 # Transform an extracted symbol line into a proper C declaration.
6838 # Some systems (esp. on ia64) link data and code symbols differently,
6839 # so use this general approach.
6840 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6841
6842 # Transform an extracted symbol line into symbol name and symbol address
6843 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6844 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'"
6845
6846 # Handle CRLF in mingw tool chain
6847 opt_cr=
6848 case $build_os in
6849 mingw*)
6850 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6851 ;;
6852 esac
6853
6854 # Try without a prefix underscore, then with it.
6855 for ac_symprfx in "" "_"; do
6856
6857 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6858 symxfrm="\\1 $ac_symprfx\\2 \\2"
6859
6860 # Write the raw and C identifiers.
6861 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6862 # Fake it for dumpbin and say T for any non-static function
6863 # and D for any global variable.
6864 # Also find C++ and __fastcall symbols from MSVC++,
6865 # which start with @ or ?.
6866 lt_cv_sys_global_symbol_pipe="$AWK '"\
6867 " {last_section=section; section=\$ 3};"\
6868 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6869 " \$ 0!~/External *\|/{next};"\
6870 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6871 " {if(hide[section]) next};"\
6872 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6873 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6874 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6875 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6876 " ' prfx=^$ac_symprfx"
6877 else
6878 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6879 fi
6880
6881 # Check to see that the pipe works correctly.
6882 pipe_works=no
6883
6884 rm -f conftest*
6885 cat > conftest.$ac_ext <<_LT_EOF
6886 #ifdef __cplusplus
6887 extern "C" {
6888 #endif
6889 char nm_test_var;
6890 void nm_test_func(void);
6891 void nm_test_func(void){}
6892 #ifdef __cplusplus
6893 }
6894 #endif
6895 int main(){nm_test_var='a';nm_test_func();return(0);}
6896 _LT_EOF
6897
6898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6899 (eval $ac_compile) 2>&5
6900 ac_status=$?
6901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6902 test $ac_status = 0; }; then
6903 # Now try to grab the symbols.
6904 nlist=conftest.nm
6905 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6906 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6907 ac_status=$?
6908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6909 test $ac_status = 0; } && test -s "$nlist"; then
6910 # Try sorting and uniquifying the output.
6911 if sort "$nlist" | uniq > "$nlist"T; then
6912 mv -f "$nlist"T "$nlist"
6913 else
6914 rm -f "$nlist"T
6915 fi
6916
6917 # Make sure that we snagged all the symbols we need.
6918 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6919 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6920 cat <<_LT_EOF > conftest.$ac_ext
6921 #ifdef __cplusplus
6922 extern "C" {
6923 #endif
6924
6925 _LT_EOF
6926 # Now generate the symbol file.
6927 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6928
6929 cat <<_LT_EOF >> conftest.$ac_ext
6930
6931 /* The mapping between symbol names and symbols. */
6932 const struct {
6933 const char *name;
6934 void *address;
6935 }
6936 lt__PROGRAM__LTX_preloaded_symbols[] =
6937 {
6938 { "@PROGRAM@", (void *) 0 },
6939 _LT_EOF
6940 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6941 cat <<\_LT_EOF >> conftest.$ac_ext
6942 {0, (void *) 0}
6943 };
6944
6945 /* This works around a problem in FreeBSD linker */
6946 #ifdef FREEBSD_WORKAROUND
6947 static const void *lt_preloaded_setup() {
6948 return lt__PROGRAM__LTX_preloaded_symbols;
6949 }
6950 #endif
6951
6952 #ifdef __cplusplus
6953 }
6954 #endif
6955 _LT_EOF
6956 # Now try linking the two files.
6957 mv conftest.$ac_objext conftstm.$ac_objext
6958 lt_save_LIBS="$LIBS"
6959 lt_save_CFLAGS="$CFLAGS"
6960 LIBS="conftstm.$ac_objext"
6961 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6962 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6963 (eval $ac_link) 2>&5
6964 ac_status=$?
6965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6966 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6967 pipe_works=yes
6968 fi
6969 LIBS="$lt_save_LIBS"
6970 CFLAGS="$lt_save_CFLAGS"
6971 else
6972 echo "cannot find nm_test_func in $nlist" >&5
6973 fi
6974 else
6975 echo "cannot find nm_test_var in $nlist" >&5
6976 fi
6977 else
6978 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6979 fi
6980 else
6981 echo "$progname: failed program was:" >&5
6982 cat conftest.$ac_ext >&5
6983 fi
6984 rm -rf conftest* conftst*
6985
6986 # Do not use the global_symbol_pipe unless it works.
6987 if test "$pipe_works" = yes; then
6988 break
6989 else
6990 lt_cv_sys_global_symbol_pipe=
6991 fi
6992 done
6993
6994 fi
6995
6996 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6997 lt_cv_sys_global_symbol_to_cdecl=
6998 fi
6999 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7001 $as_echo "failed" >&6; }
7002 else
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7004 $as_echo "ok" >&6; }
7005 fi
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028 # Check whether --enable-libtool-lock was given.
7029 if test "${enable_libtool_lock+set}" = set; then :
7030 enableval=$enable_libtool_lock;
7031 fi
7032
7033 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7034
7035 # Some flags need to be propagated to the compiler or linker for good
7036 # libtool support.
7037 case $host in
7038 ia64-*-hpux*)
7039 # Find out which ABI we are using.
7040 echo 'int i;' > conftest.$ac_ext
7041 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7042 (eval $ac_compile) 2>&5
7043 ac_status=$?
7044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7045 test $ac_status = 0; }; then
7046 case `/usr/bin/file conftest.$ac_objext` in
7047 *ELF-32*)
7048 HPUX_IA64_MODE="32"
7049 ;;
7050 *ELF-64*)
7051 HPUX_IA64_MODE="64"
7052 ;;
7053 esac
7054 fi
7055 rm -rf conftest*
7056 ;;
7057 *-*-irix6*)
7058 # Find out which ABI we are using.
7059 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7061 (eval $ac_compile) 2>&5
7062 ac_status=$?
7063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7064 test $ac_status = 0; }; then
7065 if test "$lt_cv_prog_gnu_ld" = yes; then
7066 case `/usr/bin/file conftest.$ac_objext` in
7067 *32-bit*)
7068 LD="${LD-ld} -melf32bsmip"
7069 ;;
7070 *N32*)
7071 LD="${LD-ld} -melf32bmipn32"
7072 ;;
7073 *64-bit*)
7074 LD="${LD-ld} -melf64bmip"
7075 ;;
7076 esac
7077 else
7078 case `/usr/bin/file conftest.$ac_objext` in
7079 *32-bit*)
7080 LD="${LD-ld} -32"
7081 ;;
7082 *N32*)
7083 LD="${LD-ld} -n32"
7084 ;;
7085 *64-bit*)
7086 LD="${LD-ld} -64"
7087 ;;
7088 esac
7089 fi
7090 fi
7091 rm -rf conftest*
7092 ;;
7093
7094 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7095 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7096 # Find out which ABI we are using.
7097 echo 'int i;' > conftest.$ac_ext
7098 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7099 (eval $ac_compile) 2>&5
7100 ac_status=$?
7101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7102 test $ac_status = 0; }; then
7103 case `/usr/bin/file conftest.o` in
7104 *32-bit*)
7105 case $host in
7106 x86_64-*kfreebsd*-gnu)
7107 LD="${LD-ld} -m elf_i386_fbsd"
7108 ;;
7109 x86_64-*linux*)
7110 LD="${LD-ld} -m elf_i386"
7111 ;;
7112 ppc64-*linux*|powerpc64-*linux*)
7113 LD="${LD-ld} -m elf32ppclinux"
7114 ;;
7115 s390x-*linux*)
7116 LD="${LD-ld} -m elf_s390"
7117 ;;
7118 sparc64-*linux*)
7119 LD="${LD-ld} -m elf32_sparc"
7120 ;;
7121 esac
7122 ;;
7123 *64-bit*)
7124 case $host in
7125 x86_64-*kfreebsd*-gnu)
7126 LD="${LD-ld} -m elf_x86_64_fbsd"
7127 ;;
7128 x86_64-*linux*)
7129 LD="${LD-ld} -m elf_x86_64"
7130 ;;
7131 ppc*-*linux*|powerpc*-*linux*)
7132 LD="${LD-ld} -m elf64ppc"
7133 ;;
7134 s390*-*linux*|s390*-*tpf*)
7135 LD="${LD-ld} -m elf64_s390"
7136 ;;
7137 sparc*-*linux*)
7138 LD="${LD-ld} -m elf64_sparc"
7139 ;;
7140 esac
7141 ;;
7142 esac
7143 fi
7144 rm -rf conftest*
7145 ;;
7146
7147 *-*-sco3.2v5*)
7148 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7149 SAVE_CFLAGS="$CFLAGS"
7150 CFLAGS="$CFLAGS -belf"
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7152 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7153 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7154 $as_echo_n "(cached) " >&6
7155 else
7156 ac_ext=c
7157 ac_cpp='$CPP $CPPFLAGS'
7158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7161
7162 if test x$gcc_no_link = xyes; then
7163 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7164 fi
7165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7166 /* end confdefs.h. */
7167
7168 int
7169 main ()
7170 {
7171
7172 ;
7173 return 0;
7174 }
7175 _ACEOF
7176 if ac_fn_c_try_link "$LINENO"; then :
7177 lt_cv_cc_needs_belf=yes
7178 else
7179 lt_cv_cc_needs_belf=no
7180 fi
7181 rm -f core conftest.err conftest.$ac_objext \
7182 conftest$ac_exeext conftest.$ac_ext
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 fi
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7191 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7192 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7193 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7194 CFLAGS="$SAVE_CFLAGS"
7195 fi
7196 ;;
7197 sparc*-*solaris*)
7198 # Find out which ABI we are using.
7199 echo 'int i;' > conftest.$ac_ext
7200 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7201 (eval $ac_compile) 2>&5
7202 ac_status=$?
7203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7204 test $ac_status = 0; }; then
7205 case `/usr/bin/file conftest.o` in
7206 *64-bit*)
7207 case $lt_cv_prog_gnu_ld in
7208 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7209 *)
7210 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7211 LD="${LD-ld} -64"
7212 fi
7213 ;;
7214 esac
7215 ;;
7216 esac
7217 fi
7218 rm -rf conftest*
7219 ;;
7220 esac
7221
7222 need_locks="$enable_libtool_lock"
7223
7224
7225 case $host_os in
7226 rhapsody* | darwin*)
7227 if test -n "$ac_tool_prefix"; then
7228 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7229 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7231 $as_echo_n "checking for $ac_word... " >&6; }
7232 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7233 $as_echo_n "(cached) " >&6
7234 else
7235 if test -n "$DSYMUTIL"; then
7236 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7237 else
7238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7239 for as_dir in $PATH
7240 do
7241 IFS=$as_save_IFS
7242 test -z "$as_dir" && as_dir=.
7243 for ac_exec_ext in '' $ac_executable_extensions; do
7244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7245 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7247 break 2
7248 fi
7249 done
7250 done
7251 IFS=$as_save_IFS
7252
7253 fi
7254 fi
7255 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7256 if test -n "$DSYMUTIL"; then
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7258 $as_echo "$DSYMUTIL" >&6; }
7259 else
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7261 $as_echo "no" >&6; }
7262 fi
7263
7264
7265 fi
7266 if test -z "$ac_cv_prog_DSYMUTIL"; then
7267 ac_ct_DSYMUTIL=$DSYMUTIL
7268 # Extract the first word of "dsymutil", so it can be a program name with args.
7269 set dummy dsymutil; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7273 $as_echo_n "(cached) " >&6
7274 else
7275 if test -n "$ac_ct_DSYMUTIL"; then
7276 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7277 else
7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279 for as_dir in $PATH
7280 do
7281 IFS=$as_save_IFS
7282 test -z "$as_dir" && as_dir=.
7283 for ac_exec_ext in '' $ac_executable_extensions; do
7284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7285 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287 break 2
7288 fi
7289 done
7290 done
7291 IFS=$as_save_IFS
7292
7293 fi
7294 fi
7295 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7296 if test -n "$ac_ct_DSYMUTIL"; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7298 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7299 else
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7302 fi
7303
7304 if test "x$ac_ct_DSYMUTIL" = x; then
7305 DSYMUTIL=":"
7306 else
7307 case $cross_compiling:$ac_tool_warned in
7308 yes:)
7309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7310 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7311 ac_tool_warned=yes ;;
7312 esac
7313 DSYMUTIL=$ac_ct_DSYMUTIL
7314 fi
7315 else
7316 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7317 fi
7318
7319 if test -n "$ac_tool_prefix"; then
7320 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7321 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7323 $as_echo_n "checking for $ac_word... " >&6; }
7324 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7325 $as_echo_n "(cached) " >&6
7326 else
7327 if test -n "$NMEDIT"; then
7328 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7329 else
7330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7331 for as_dir in $PATH
7332 do
7333 IFS=$as_save_IFS
7334 test -z "$as_dir" && as_dir=.
7335 for ac_exec_ext in '' $ac_executable_extensions; do
7336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7337 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7339 break 2
7340 fi
7341 done
7342 done
7343 IFS=$as_save_IFS
7344
7345 fi
7346 fi
7347 NMEDIT=$ac_cv_prog_NMEDIT
7348 if test -n "$NMEDIT"; then
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7350 $as_echo "$NMEDIT" >&6; }
7351 else
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7353 $as_echo "no" >&6; }
7354 fi
7355
7356
7357 fi
7358 if test -z "$ac_cv_prog_NMEDIT"; then
7359 ac_ct_NMEDIT=$NMEDIT
7360 # Extract the first word of "nmedit", so it can be a program name with args.
7361 set dummy nmedit; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7365 $as_echo_n "(cached) " >&6
7366 else
7367 if test -n "$ac_ct_NMEDIT"; then
7368 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7369 else
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 for as_dir in $PATH
7372 do
7373 IFS=$as_save_IFS
7374 test -z "$as_dir" && as_dir=.
7375 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7377 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379 break 2
7380 fi
7381 done
7382 done
7383 IFS=$as_save_IFS
7384
7385 fi
7386 fi
7387 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7388 if test -n "$ac_ct_NMEDIT"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7390 $as_echo "$ac_ct_NMEDIT" >&6; }
7391 else
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7394 fi
7395
7396 if test "x$ac_ct_NMEDIT" = x; then
7397 NMEDIT=":"
7398 else
7399 case $cross_compiling:$ac_tool_warned in
7400 yes:)
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7402 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7403 ac_tool_warned=yes ;;
7404 esac
7405 NMEDIT=$ac_ct_NMEDIT
7406 fi
7407 else
7408 NMEDIT="$ac_cv_prog_NMEDIT"
7409 fi
7410
7411 if test -n "$ac_tool_prefix"; then
7412 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7413 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7415 $as_echo_n "checking for $ac_word... " >&6; }
7416 if test "${ac_cv_prog_LIPO+set}" = set; then :
7417 $as_echo_n "(cached) " >&6
7418 else
7419 if test -n "$LIPO"; then
7420 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7421 else
7422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7423 for as_dir in $PATH
7424 do
7425 IFS=$as_save_IFS
7426 test -z "$as_dir" && as_dir=.
7427 for ac_exec_ext in '' $ac_executable_extensions; do
7428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7429 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7430 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7431 break 2
7432 fi
7433 done
7434 done
7435 IFS=$as_save_IFS
7436
7437 fi
7438 fi
7439 LIPO=$ac_cv_prog_LIPO
7440 if test -n "$LIPO"; then
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7442 $as_echo "$LIPO" >&6; }
7443 else
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7445 $as_echo "no" >&6; }
7446 fi
7447
7448
7449 fi
7450 if test -z "$ac_cv_prog_LIPO"; then
7451 ac_ct_LIPO=$LIPO
7452 # Extract the first word of "lipo", so it can be a program name with args.
7453 set dummy lipo; ac_word=$2
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455 $as_echo_n "checking for $ac_word... " >&6; }
7456 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7457 $as_echo_n "(cached) " >&6
7458 else
7459 if test -n "$ac_ct_LIPO"; then
7460 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7461 else
7462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 for as_dir in $PATH
7464 do
7465 IFS=$as_save_IFS
7466 test -z "$as_dir" && as_dir=.
7467 for ac_exec_ext in '' $ac_executable_extensions; do
7468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7469 ac_cv_prog_ac_ct_LIPO="lipo"
7470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471 break 2
7472 fi
7473 done
7474 done
7475 IFS=$as_save_IFS
7476
7477 fi
7478 fi
7479 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7480 if test -n "$ac_ct_LIPO"; then
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7482 $as_echo "$ac_ct_LIPO" >&6; }
7483 else
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7485 $as_echo "no" >&6; }
7486 fi
7487
7488 if test "x$ac_ct_LIPO" = x; then
7489 LIPO=":"
7490 else
7491 case $cross_compiling:$ac_tool_warned in
7492 yes:)
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7494 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7495 ac_tool_warned=yes ;;
7496 esac
7497 LIPO=$ac_ct_LIPO
7498 fi
7499 else
7500 LIPO="$ac_cv_prog_LIPO"
7501 fi
7502
7503 if test -n "$ac_tool_prefix"; then
7504 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7505 set dummy ${ac_tool_prefix}otool; ac_word=$2
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7507 $as_echo_n "checking for $ac_word... " >&6; }
7508 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7509 $as_echo_n "(cached) " >&6
7510 else
7511 if test -n "$OTOOL"; then
7512 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7513 else
7514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7515 for as_dir in $PATH
7516 do
7517 IFS=$as_save_IFS
7518 test -z "$as_dir" && as_dir=.
7519 for ac_exec_ext in '' $ac_executable_extensions; do
7520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7521 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7523 break 2
7524 fi
7525 done
7526 done
7527 IFS=$as_save_IFS
7528
7529 fi
7530 fi
7531 OTOOL=$ac_cv_prog_OTOOL
7532 if test -n "$OTOOL"; then
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7534 $as_echo "$OTOOL" >&6; }
7535 else
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7537 $as_echo "no" >&6; }
7538 fi
7539
7540
7541 fi
7542 if test -z "$ac_cv_prog_OTOOL"; then
7543 ac_ct_OTOOL=$OTOOL
7544 # Extract the first word of "otool", so it can be a program name with args.
7545 set dummy otool; ac_word=$2
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7547 $as_echo_n "checking for $ac_word... " >&6; }
7548 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7549 $as_echo_n "(cached) " >&6
7550 else
7551 if test -n "$ac_ct_OTOOL"; then
7552 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7553 else
7554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7555 for as_dir in $PATH
7556 do
7557 IFS=$as_save_IFS
7558 test -z "$as_dir" && as_dir=.
7559 for ac_exec_ext in '' $ac_executable_extensions; do
7560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7561 ac_cv_prog_ac_ct_OTOOL="otool"
7562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563 break 2
7564 fi
7565 done
7566 done
7567 IFS=$as_save_IFS
7568
7569 fi
7570 fi
7571 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7572 if test -n "$ac_ct_OTOOL"; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7574 $as_echo "$ac_ct_OTOOL" >&6; }
7575 else
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7577 $as_echo "no" >&6; }
7578 fi
7579
7580 if test "x$ac_ct_OTOOL" = x; then
7581 OTOOL=":"
7582 else
7583 case $cross_compiling:$ac_tool_warned in
7584 yes:)
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7587 ac_tool_warned=yes ;;
7588 esac
7589 OTOOL=$ac_ct_OTOOL
7590 fi
7591 else
7592 OTOOL="$ac_cv_prog_OTOOL"
7593 fi
7594
7595 if test -n "$ac_tool_prefix"; then
7596 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7597 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7599 $as_echo_n "checking for $ac_word... " >&6; }
7600 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7601 $as_echo_n "(cached) " >&6
7602 else
7603 if test -n "$OTOOL64"; then
7604 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7605 else
7606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7607 for as_dir in $PATH
7608 do
7609 IFS=$as_save_IFS
7610 test -z "$as_dir" && as_dir=.
7611 for ac_exec_ext in '' $ac_executable_extensions; do
7612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7613 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7615 break 2
7616 fi
7617 done
7618 done
7619 IFS=$as_save_IFS
7620
7621 fi
7622 fi
7623 OTOOL64=$ac_cv_prog_OTOOL64
7624 if test -n "$OTOOL64"; then
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7626 $as_echo "$OTOOL64" >&6; }
7627 else
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7629 $as_echo "no" >&6; }
7630 fi
7631
7632
7633 fi
7634 if test -z "$ac_cv_prog_OTOOL64"; then
7635 ac_ct_OTOOL64=$OTOOL64
7636 # Extract the first word of "otool64", so it can be a program name with args.
7637 set dummy otool64; ac_word=$2
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7639 $as_echo_n "checking for $ac_word... " >&6; }
7640 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7641 $as_echo_n "(cached) " >&6
7642 else
7643 if test -n "$ac_ct_OTOOL64"; then
7644 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7645 else
7646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7647 for as_dir in $PATH
7648 do
7649 IFS=$as_save_IFS
7650 test -z "$as_dir" && as_dir=.
7651 for ac_exec_ext in '' $ac_executable_extensions; do
7652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7653 ac_cv_prog_ac_ct_OTOOL64="otool64"
7654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7655 break 2
7656 fi
7657 done
7658 done
7659 IFS=$as_save_IFS
7660
7661 fi
7662 fi
7663 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7664 if test -n "$ac_ct_OTOOL64"; then
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7666 $as_echo "$ac_ct_OTOOL64" >&6; }
7667 else
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7669 $as_echo "no" >&6; }
7670 fi
7671
7672 if test "x$ac_ct_OTOOL64" = x; then
7673 OTOOL64=":"
7674 else
7675 case $cross_compiling:$ac_tool_warned in
7676 yes:)
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7678 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7679 ac_tool_warned=yes ;;
7680 esac
7681 OTOOL64=$ac_ct_OTOOL64
7682 fi
7683 else
7684 OTOOL64="$ac_cv_prog_OTOOL64"
7685 fi
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7714 $as_echo_n "checking for -single_module linker flag... " >&6; }
7715 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7716 $as_echo_n "(cached) " >&6
7717 else
7718 lt_cv_apple_cc_single_mod=no
7719 if test -z "${LT_MULTI_MODULE}"; then
7720 # By default we will add the -single_module flag. You can override
7721 # by either setting the environment variable LT_MULTI_MODULE
7722 # non-empty at configure time, or by adding -multi_module to the
7723 # link flags.
7724 rm -rf libconftest.dylib*
7725 echo "int foo(void){return 1;}" > conftest.c
7726 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7727 -dynamiclib -Wl,-single_module conftest.c" >&5
7728 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7729 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7730 _lt_result=$?
7731 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7732 lt_cv_apple_cc_single_mod=yes
7733 else
7734 cat conftest.err >&5
7735 fi
7736 rm -rf libconftest.dylib*
7737 rm -f conftest.*
7738 fi
7739 fi
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7741 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7743 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7744 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7745 $as_echo_n "(cached) " >&6
7746 else
7747 lt_cv_ld_exported_symbols_list=no
7748 save_LDFLAGS=$LDFLAGS
7749 echo "_main" > conftest.sym
7750 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7751 if test x$gcc_no_link = xyes; then
7752 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7753 fi
7754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7755 /* end confdefs.h. */
7756
7757 int
7758 main ()
7759 {
7760
7761 ;
7762 return 0;
7763 }
7764 _ACEOF
7765 if ac_fn_c_try_link "$LINENO"; then :
7766 lt_cv_ld_exported_symbols_list=yes
7767 else
7768 lt_cv_ld_exported_symbols_list=no
7769 fi
7770 rm -f core conftest.err conftest.$ac_objext \
7771 conftest$ac_exeext conftest.$ac_ext
7772 LDFLAGS="$save_LDFLAGS"
7773
7774 fi
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7776 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7778 $as_echo_n "checking for -force_load linker flag... " >&6; }
7779 if test "${lt_cv_ld_force_load+set}" = set; then :
7780 $as_echo_n "(cached) " >&6
7781 else
7782 lt_cv_ld_force_load=no
7783 cat > conftest.c << _LT_EOF
7784 int forced_loaded() { return 2;}
7785 _LT_EOF
7786 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7787 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7788 echo "$AR cru libconftest.a conftest.o" >&5
7789 $AR cru libconftest.a conftest.o 2>&5
7790 cat > conftest.c << _LT_EOF
7791 int main() { return 0;}
7792 _LT_EOF
7793 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7794 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7795 _lt_result=$?
7796 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7797 lt_cv_ld_force_load=yes
7798 else
7799 cat conftest.err >&5
7800 fi
7801 rm -f conftest.err libconftest.a conftest conftest.c
7802 rm -rf conftest.dSYM
7803
7804 fi
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7806 $as_echo "$lt_cv_ld_force_load" >&6; }
7807 case $host_os in
7808 rhapsody* | darwin1.[012])
7809 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7810 darwin1.*)
7811 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7812 darwin*) # darwin 5.x on
7813 # if running on 10.5 or later, the deployment target defaults
7814 # to the OS version, if on x86, and 10.4, the deployment
7815 # target defaults to 10.4. Don't you love it?
7816 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7817 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7818 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7819 10.[012]*)
7820 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7821 10.*)
7822 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7823 esac
7824 ;;
7825 esac
7826 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7827 _lt_dar_single_mod='$single_module'
7828 fi
7829 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7830 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7831 else
7832 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7833 fi
7834 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7835 _lt_dsymutil='~$DSYMUTIL $lib || :'
7836 else
7837 _lt_dsymutil=
7838 fi
7839 ;;
7840 esac
7841
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7843 $as_echo_n "checking for ANSI C header files... " >&6; }
7844 if test "${ac_cv_header_stdc+set}" = set; then :
7845 $as_echo_n "(cached) " >&6
7846 else
7847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7848 /* end confdefs.h. */
7849 #include <stdlib.h>
7850 #include <stdarg.h>
7851 #include <string.h>
7852 #include <float.h>
7853
7854 int
7855 main ()
7856 {
7857
7858 ;
7859 return 0;
7860 }
7861 _ACEOF
7862 if ac_fn_c_try_compile "$LINENO"; then :
7863 ac_cv_header_stdc=yes
7864 else
7865 ac_cv_header_stdc=no
7866 fi
7867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7868
7869 if test $ac_cv_header_stdc = yes; then
7870 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7872 /* end confdefs.h. */
7873 #include <string.h>
7874
7875 _ACEOF
7876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7877 $EGREP "memchr" >/dev/null 2>&1; then :
7878
7879 else
7880 ac_cv_header_stdc=no
7881 fi
7882 rm -f conftest*
7883
7884 fi
7885
7886 if test $ac_cv_header_stdc = yes; then
7887 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7889 /* end confdefs.h. */
7890 #include <stdlib.h>
7891
7892 _ACEOF
7893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7894 $EGREP "free" >/dev/null 2>&1; then :
7895
7896 else
7897 ac_cv_header_stdc=no
7898 fi
7899 rm -f conftest*
7900
7901 fi
7902
7903 if test $ac_cv_header_stdc = yes; then
7904 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7905 if test "$cross_compiling" = yes; then :
7906 :
7907 else
7908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7909 /* end confdefs.h. */
7910 #include <ctype.h>
7911 #include <stdlib.h>
7912 #if ((' ' & 0x0FF) == 0x020)
7913 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7914 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7915 #else
7916 # define ISLOWER(c) \
7917 (('a' <= (c) && (c) <= 'i') \
7918 || ('j' <= (c) && (c) <= 'r') \
7919 || ('s' <= (c) && (c) <= 'z'))
7920 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7921 #endif
7922
7923 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7924 int
7925 main ()
7926 {
7927 int i;
7928 for (i = 0; i < 256; i++)
7929 if (XOR (islower (i), ISLOWER (i))
7930 || toupper (i) != TOUPPER (i))
7931 return 2;
7932 return 0;
7933 }
7934 _ACEOF
7935 if ac_fn_c_try_run "$LINENO"; then :
7936
7937 else
7938 ac_cv_header_stdc=no
7939 fi
7940 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7941 conftest.$ac_objext conftest.beam conftest.$ac_ext
7942 fi
7943
7944 fi
7945 fi
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7947 $as_echo "$ac_cv_header_stdc" >&6; }
7948 if test $ac_cv_header_stdc = yes; then
7949
7950 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7951
7952 fi
7953
7954 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7955 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7956 inttypes.h stdint.h unistd.h
7957 do :
7958 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7959 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7960 "
7961 eval as_val=\$$as_ac_Header
7962 if test "x$as_val" = x""yes; then :
7963 cat >>confdefs.h <<_ACEOF
7964 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7965 _ACEOF
7966
7967 fi
7968
7969 done
7970
7971
7972 for ac_header in dlfcn.h
7973 do :
7974 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7975 "
7976 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7977 cat >>confdefs.h <<_ACEOF
7978 #define HAVE_DLFCN_H 1
7979 _ACEOF
7980
7981 fi
7982
7983 done
7984
7985
7986
7987
7988
7989
7990 # Set options
7991
7992
7993
7994
7995 enable_win32_dll=no
7996
7997
7998 # Check whether --enable-shared was given.
7999 if test "${enable_shared+set}" = set; then :
8000 enableval=$enable_shared; p=${PACKAGE-default}
8001 case $enableval in
8002 yes) enable_shared=yes ;;
8003 no) enable_shared=no ;;
8004 *)
8005 enable_shared=no
8006 # Look at the argument we got. We use all the common list separators.
8007 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8008 for pkg in $enableval; do
8009 IFS="$lt_save_ifs"
8010 if test "X$pkg" = "X$p"; then
8011 enable_shared=yes
8012 fi
8013 done
8014 IFS="$lt_save_ifs"
8015 ;;
8016 esac
8017 else
8018 enable_shared=yes
8019 fi
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029 # Check whether --enable-static was given.
8030 if test "${enable_static+set}" = set; then :
8031 enableval=$enable_static; p=${PACKAGE-default}
8032 case $enableval in
8033 yes) enable_static=yes ;;
8034 no) enable_static=no ;;
8035 *)
8036 enable_static=no
8037 # Look at the argument we got. We use all the common list separators.
8038 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8039 for pkg in $enableval; do
8040 IFS="$lt_save_ifs"
8041 if test "X$pkg" = "X$p"; then
8042 enable_static=yes
8043 fi
8044 done
8045 IFS="$lt_save_ifs"
8046 ;;
8047 esac
8048 else
8049 enable_static=yes
8050 fi
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061 # Check whether --with-pic was given.
8062 if test "${with_pic+set}" = set; then :
8063 withval=$with_pic; pic_mode="$withval"
8064 else
8065 pic_mode=default
8066 fi
8067
8068
8069 test -z "$pic_mode" && pic_mode=default
8070
8071
8072
8073
8074
8075
8076
8077 # Check whether --enable-fast-install was given.
8078 if test "${enable_fast_install+set}" = set; then :
8079 enableval=$enable_fast_install; p=${PACKAGE-default}
8080 case $enableval in
8081 yes) enable_fast_install=yes ;;
8082 no) enable_fast_install=no ;;
8083 *)
8084 enable_fast_install=no
8085 # Look at the argument we got. We use all the common list separators.
8086 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8087 for pkg in $enableval; do
8088 IFS="$lt_save_ifs"
8089 if test "X$pkg" = "X$p"; then
8090 enable_fast_install=yes
8091 fi
8092 done
8093 IFS="$lt_save_ifs"
8094 ;;
8095 esac
8096 else
8097 enable_fast_install=yes
8098 fi
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110 # This can be used to rebuild libtool when needed
8111 LIBTOOL_DEPS="$ltmain"
8112
8113 # Always use our own libtool.
8114 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141 test -z "$LN_S" && LN_S="ln -s"
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156 if test -n "${ZSH_VERSION+set}" ; then
8157 setopt NO_GLOB_SUBST
8158 fi
8159
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8161 $as_echo_n "checking for objdir... " >&6; }
8162 if test "${lt_cv_objdir+set}" = set; then :
8163 $as_echo_n "(cached) " >&6
8164 else
8165 rm -f .libs 2>/dev/null
8166 mkdir .libs 2>/dev/null
8167 if test -d .libs; then
8168 lt_cv_objdir=.libs
8169 else
8170 # MS-DOS does not allow filenames that begin with a dot.
8171 lt_cv_objdir=_libs
8172 fi
8173 rmdir .libs 2>/dev/null
8174 fi
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8176 $as_echo "$lt_cv_objdir" >&6; }
8177 objdir=$lt_cv_objdir
8178
8179
8180
8181
8182
8183 cat >>confdefs.h <<_ACEOF
8184 #define LT_OBJDIR "$lt_cv_objdir/"
8185 _ACEOF
8186
8187
8188
8189
8190 case $host_os in
8191 aix3*)
8192 # AIX sometimes has problems with the GCC collect2 program. For some
8193 # reason, if we set the COLLECT_NAMES environment variable, the problems
8194 # vanish in a puff of smoke.
8195 if test "X${COLLECT_NAMES+set}" != Xset; then
8196 COLLECT_NAMES=
8197 export COLLECT_NAMES
8198 fi
8199 ;;
8200 esac
8201
8202 # Global variables:
8203 ofile=libtool
8204 can_build_shared=yes
8205
8206 # All known linkers require a `.a' archive for static linking (except MSVC,
8207 # which needs '.lib').
8208 libext=a
8209
8210 with_gnu_ld="$lt_cv_prog_gnu_ld"
8211
8212 old_CC="$CC"
8213 old_CFLAGS="$CFLAGS"
8214
8215 # Set sane defaults for various variables
8216 test -z "$CC" && CC=cc
8217 test -z "$LTCC" && LTCC=$CC
8218 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8219 test -z "$LD" && LD=ld
8220 test -z "$ac_objext" && ac_objext=o
8221
8222 for cc_temp in $compiler""; do
8223 case $cc_temp in
8224 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8225 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8226 \-*) ;;
8227 *) break;;
8228 esac
8229 done
8230 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8231
8232
8233 # Only perform the check for file, if the check method requires it
8234 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8235 case $deplibs_check_method in
8236 file_magic*)
8237 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8239 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8240 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8241 $as_echo_n "(cached) " >&6
8242 else
8243 case $MAGIC_CMD in
8244 [\\/*] | ?:[\\/]*)
8245 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8246 ;;
8247 *)
8248 lt_save_MAGIC_CMD="$MAGIC_CMD"
8249 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8250 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8251 for ac_dir in $ac_dummy; do
8252 IFS="$lt_save_ifs"
8253 test -z "$ac_dir" && ac_dir=.
8254 if test -f $ac_dir/${ac_tool_prefix}file; then
8255 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8256 if test -n "$file_magic_test_file"; then
8257 case $deplibs_check_method in
8258 "file_magic "*)
8259 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8260 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8261 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8262 $EGREP "$file_magic_regex" > /dev/null; then
8263 :
8264 else
8265 cat <<_LT_EOF 1>&2
8266
8267 *** Warning: the command libtool uses to detect shared libraries,
8268 *** $file_magic_cmd, produces output that libtool cannot recognize.
8269 *** The result is that libtool may fail to recognize shared libraries
8270 *** as such. This will affect the creation of libtool libraries that
8271 *** depend on shared libraries, but programs linked with such libtool
8272 *** libraries will work regardless of this problem. Nevertheless, you
8273 *** may want to report the problem to your system manager and/or to
8274 *** bug-libtool@gnu.org
8275
8276 _LT_EOF
8277 fi ;;
8278 esac
8279 fi
8280 break
8281 fi
8282 done
8283 IFS="$lt_save_ifs"
8284 MAGIC_CMD="$lt_save_MAGIC_CMD"
8285 ;;
8286 esac
8287 fi
8288
8289 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8290 if test -n "$MAGIC_CMD"; then
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8292 $as_echo "$MAGIC_CMD" >&6; }
8293 else
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8295 $as_echo "no" >&6; }
8296 fi
8297
8298
8299
8300
8301
8302 if test -z "$lt_cv_path_MAGIC_CMD"; then
8303 if test -n "$ac_tool_prefix"; then
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8305 $as_echo_n "checking for file... " >&6; }
8306 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8307 $as_echo_n "(cached) " >&6
8308 else
8309 case $MAGIC_CMD in
8310 [\\/*] | ?:[\\/]*)
8311 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8312 ;;
8313 *)
8314 lt_save_MAGIC_CMD="$MAGIC_CMD"
8315 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8316 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8317 for ac_dir in $ac_dummy; do
8318 IFS="$lt_save_ifs"
8319 test -z "$ac_dir" && ac_dir=.
8320 if test -f $ac_dir/file; then
8321 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8322 if test -n "$file_magic_test_file"; then
8323 case $deplibs_check_method in
8324 "file_magic "*)
8325 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8326 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8327 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8328 $EGREP "$file_magic_regex" > /dev/null; then
8329 :
8330 else
8331 cat <<_LT_EOF 1>&2
8332
8333 *** Warning: the command libtool uses to detect shared libraries,
8334 *** $file_magic_cmd, produces output that libtool cannot recognize.
8335 *** The result is that libtool may fail to recognize shared libraries
8336 *** as such. This will affect the creation of libtool libraries that
8337 *** depend on shared libraries, but programs linked with such libtool
8338 *** libraries will work regardless of this problem. Nevertheless, you
8339 *** may want to report the problem to your system manager and/or to
8340 *** bug-libtool@gnu.org
8341
8342 _LT_EOF
8343 fi ;;
8344 esac
8345 fi
8346 break
8347 fi
8348 done
8349 IFS="$lt_save_ifs"
8350 MAGIC_CMD="$lt_save_MAGIC_CMD"
8351 ;;
8352 esac
8353 fi
8354
8355 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8356 if test -n "$MAGIC_CMD"; then
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8358 $as_echo "$MAGIC_CMD" >&6; }
8359 else
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8361 $as_echo "no" >&6; }
8362 fi
8363
8364
8365 else
8366 MAGIC_CMD=:
8367 fi
8368 fi
8369
8370 fi
8371 ;;
8372 esac
8373
8374 # Use C for the default configuration in the libtool script
8375
8376 lt_save_CC="$CC"
8377 ac_ext=c
8378 ac_cpp='$CPP $CPPFLAGS'
8379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8382
8383
8384 # Source file extension for C test sources.
8385 ac_ext=c
8386
8387 # Object file extension for compiled C test sources.
8388 objext=o
8389 objext=$objext
8390
8391 # Code to be used in simple compile tests
8392 lt_simple_compile_test_code="int some_variable = 0;"
8393
8394 # Code to be used in simple link tests
8395 lt_simple_link_test_code='int main(){return(0);}'
8396
8397
8398
8399
8400
8401
8402
8403 # If no C compiler was specified, use CC.
8404 LTCC=${LTCC-"$CC"}
8405
8406 # If no C compiler flags were specified, use CFLAGS.
8407 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8408
8409 # Allow CC to be a program name with arguments.
8410 compiler=$CC
8411
8412 # Save the default compiler, since it gets overwritten when the other
8413 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8414 compiler_DEFAULT=$CC
8415
8416 # save warnings/boilerplate of simple test code
8417 ac_outfile=conftest.$ac_objext
8418 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8419 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8420 _lt_compiler_boilerplate=`cat conftest.err`
8421 $RM conftest*
8422
8423 ac_outfile=conftest.$ac_objext
8424 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8425 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8426 _lt_linker_boilerplate=`cat conftest.err`
8427 $RM -r conftest*
8428
8429
8430 ## CAVEAT EMPTOR:
8431 ## There is no encapsulation within the following macros, do not change
8432 ## the running order or otherwise move them around unless you know exactly
8433 ## what you are doing...
8434 if test -n "$compiler"; then
8435
8436 lt_prog_compiler_no_builtin_flag=
8437
8438 if test "$GCC" = yes; then
8439 case $cc_basename in
8440 nvcc*)
8441 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8442 *)
8443 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8444 esac
8445
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8447 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8448 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8449 $as_echo_n "(cached) " >&6
8450 else
8451 lt_cv_prog_compiler_rtti_exceptions=no
8452 ac_outfile=conftest.$ac_objext
8453 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8454 lt_compiler_flag="-fno-rtti -fno-exceptions"
8455 # Insert the option either (1) after the last *FLAGS variable, or
8456 # (2) before a word containing "conftest.", or (3) at the end.
8457 # Note that $ac_compile itself does not contain backslashes and begins
8458 # with a dollar sign (not a hyphen), so the echo should work correctly.
8459 # The option is referenced via a variable to avoid confusing sed.
8460 lt_compile=`echo "$ac_compile" | $SED \
8461 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8462 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8463 -e 's:$: $lt_compiler_flag:'`
8464 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8465 (eval "$lt_compile" 2>conftest.err)
8466 ac_status=$?
8467 cat conftest.err >&5
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 if (exit $ac_status) && test -s "$ac_outfile"; then
8470 # The compiler can only warn and ignore the option if not recognized
8471 # So say no if there are warnings other than the usual output.
8472 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8473 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8474 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8475 lt_cv_prog_compiler_rtti_exceptions=yes
8476 fi
8477 fi
8478 $RM conftest*
8479
8480 fi
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8482 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8483
8484 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8485 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8486 else
8487 :
8488 fi
8489
8490 fi
8491
8492
8493
8494
8495
8496
8497 lt_prog_compiler_wl=
8498 lt_prog_compiler_pic=
8499 lt_prog_compiler_static=
8500
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8502 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8503
8504 if test "$GCC" = yes; then
8505 lt_prog_compiler_wl='-Wl,'
8506 lt_prog_compiler_static='-static'
8507
8508 case $host_os in
8509 aix*)
8510 # All AIX code is PIC.
8511 if test "$host_cpu" = ia64; then
8512 # AIX 5 now supports IA64 processor
8513 lt_prog_compiler_static='-Bstatic'
8514 fi
8515 ;;
8516
8517 amigaos*)
8518 case $host_cpu in
8519 powerpc)
8520 # see comment about AmigaOS4 .so support
8521 lt_prog_compiler_pic='-fPIC'
8522 ;;
8523 m68k)
8524 # FIXME: we need at least 68020 code to build shared libraries, but
8525 # adding the `-m68020' flag to GCC prevents building anything better,
8526 # like `-m68040'.
8527 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8528 ;;
8529 esac
8530 ;;
8531
8532 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8533 # PIC is the default for these OSes.
8534 ;;
8535
8536 mingw* | cygwin* | pw32* | os2* | cegcc*)
8537 # This hack is so that the source file can tell whether it is being
8538 # built for inclusion in a dll (and should export symbols for example).
8539 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8540 # (--disable-auto-import) libraries
8541 lt_prog_compiler_pic='-DDLL_EXPORT'
8542 ;;
8543
8544 darwin* | rhapsody*)
8545 # PIC is the default on this platform
8546 # Common symbols not allowed in MH_DYLIB files
8547 lt_prog_compiler_pic='-fno-common'
8548 ;;
8549
8550 haiku*)
8551 # PIC is the default for Haiku.
8552 # The "-static" flag exists, but is broken.
8553 lt_prog_compiler_static=
8554 ;;
8555
8556 hpux*)
8557 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8558 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8559 # sets the default TLS model and affects inlining.
8560 case $host_cpu in
8561 hppa*64*)
8562 # +Z the default
8563 ;;
8564 *)
8565 lt_prog_compiler_pic='-fPIC'
8566 ;;
8567 esac
8568 ;;
8569
8570 interix[3-9]*)
8571 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8572 # Instead, we relocate shared libraries at runtime.
8573 ;;
8574
8575 msdosdjgpp*)
8576 # Just because we use GCC doesn't mean we suddenly get shared libraries
8577 # on systems that don't support them.
8578 lt_prog_compiler_can_build_shared=no
8579 enable_shared=no
8580 ;;
8581
8582 *nto* | *qnx*)
8583 # QNX uses GNU C++, but need to define -shared option too, otherwise
8584 # it will coredump.
8585 lt_prog_compiler_pic='-fPIC -shared'
8586 ;;
8587
8588 sysv4*MP*)
8589 if test -d /usr/nec; then
8590 lt_prog_compiler_pic=-Kconform_pic
8591 fi
8592 ;;
8593
8594 *)
8595 lt_prog_compiler_pic='-fPIC'
8596 ;;
8597 esac
8598
8599 case $cc_basename in
8600 nvcc*) # Cuda Compiler Driver 2.2
8601 lt_prog_compiler_wl='-Xlinker '
8602 lt_prog_compiler_pic='-Xcompiler -fPIC'
8603 ;;
8604 esac
8605 else
8606 # PORTME Check for flag to pass linker flags through the system compiler.
8607 case $host_os in
8608 aix*)
8609 lt_prog_compiler_wl='-Wl,'
8610 if test "$host_cpu" = ia64; then
8611 # AIX 5 now supports IA64 processor
8612 lt_prog_compiler_static='-Bstatic'
8613 else
8614 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8615 fi
8616 ;;
8617
8618 mingw* | cygwin* | pw32* | os2* | cegcc*)
8619 # This hack is so that the source file can tell whether it is being
8620 # built for inclusion in a dll (and should export symbols for example).
8621 lt_prog_compiler_pic='-DDLL_EXPORT'
8622 ;;
8623
8624 hpux9* | hpux10* | hpux11*)
8625 lt_prog_compiler_wl='-Wl,'
8626 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8627 # not for PA HP-UX.
8628 case $host_cpu in
8629 hppa*64*|ia64*)
8630 # +Z the default
8631 ;;
8632 *)
8633 lt_prog_compiler_pic='+Z'
8634 ;;
8635 esac
8636 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8637 lt_prog_compiler_static='${wl}-a ${wl}archive'
8638 ;;
8639
8640 irix5* | irix6* | nonstopux*)
8641 lt_prog_compiler_wl='-Wl,'
8642 # PIC (with -KPIC) is the default.
8643 lt_prog_compiler_static='-non_shared'
8644 ;;
8645
8646 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8647 case $cc_basename in
8648 # old Intel for x86_64 which still supported -KPIC.
8649 ecc*)
8650 lt_prog_compiler_wl='-Wl,'
8651 lt_prog_compiler_pic='-KPIC'
8652 lt_prog_compiler_static='-static'
8653 ;;
8654 # icc used to be incompatible with GCC.
8655 # ICC 10 doesn't accept -KPIC any more.
8656 icc* | ifort*)
8657 lt_prog_compiler_wl='-Wl,'
8658 lt_prog_compiler_pic='-fPIC'
8659 lt_prog_compiler_static='-static'
8660 ;;
8661 # Lahey Fortran 8.1.
8662 lf95*)
8663 lt_prog_compiler_wl='-Wl,'
8664 lt_prog_compiler_pic='--shared'
8665 lt_prog_compiler_static='--static'
8666 ;;
8667 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8668 # Portland Group compilers (*not* the Pentium gcc compiler,
8669 # which looks to be a dead project)
8670 lt_prog_compiler_wl='-Wl,'
8671 lt_prog_compiler_pic='-fpic'
8672 lt_prog_compiler_static='-Bstatic'
8673 ;;
8674 ccc*)
8675 lt_prog_compiler_wl='-Wl,'
8676 # All Alpha code is PIC.
8677 lt_prog_compiler_static='-non_shared'
8678 ;;
8679 xl* | bgxl* | bgf* | mpixl*)
8680 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8681 lt_prog_compiler_wl='-Wl,'
8682 lt_prog_compiler_pic='-qpic'
8683 lt_prog_compiler_static='-qstaticlink'
8684 ;;
8685 *)
8686 case `$CC -V 2>&1 | sed 5q` in
8687 *Sun\ F* | *Sun*Fortran*)
8688 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8689 lt_prog_compiler_pic='-KPIC'
8690 lt_prog_compiler_static='-Bstatic'
8691 lt_prog_compiler_wl=''
8692 ;;
8693 *Sun\ C*)
8694 # Sun C 5.9
8695 lt_prog_compiler_pic='-KPIC'
8696 lt_prog_compiler_static='-Bstatic'
8697 lt_prog_compiler_wl='-Wl,'
8698 ;;
8699 esac
8700 ;;
8701 esac
8702 ;;
8703
8704 newsos6)
8705 lt_prog_compiler_pic='-KPIC'
8706 lt_prog_compiler_static='-Bstatic'
8707 ;;
8708
8709 *nto* | *qnx*)
8710 # QNX uses GNU C++, but need to define -shared option too, otherwise
8711 # it will coredump.
8712 lt_prog_compiler_pic='-fPIC -shared'
8713 ;;
8714
8715 osf3* | osf4* | osf5*)
8716 lt_prog_compiler_wl='-Wl,'
8717 # All OSF/1 code is PIC.
8718 lt_prog_compiler_static='-non_shared'
8719 ;;
8720
8721 rdos*)
8722 lt_prog_compiler_static='-non_shared'
8723 ;;
8724
8725 solaris*)
8726 lt_prog_compiler_pic='-KPIC'
8727 lt_prog_compiler_static='-Bstatic'
8728 case $cc_basename in
8729 f77* | f90* | f95*)
8730 lt_prog_compiler_wl='-Qoption ld ';;
8731 *)
8732 lt_prog_compiler_wl='-Wl,';;
8733 esac
8734 ;;
8735
8736 sunos4*)
8737 lt_prog_compiler_wl='-Qoption ld '
8738 lt_prog_compiler_pic='-PIC'
8739 lt_prog_compiler_static='-Bstatic'
8740 ;;
8741
8742 sysv4 | sysv4.2uw2* | sysv4.3*)
8743 lt_prog_compiler_wl='-Wl,'
8744 lt_prog_compiler_pic='-KPIC'
8745 lt_prog_compiler_static='-Bstatic'
8746 ;;
8747
8748 sysv4*MP*)
8749 if test -d /usr/nec ;then
8750 lt_prog_compiler_pic='-Kconform_pic'
8751 lt_prog_compiler_static='-Bstatic'
8752 fi
8753 ;;
8754
8755 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8756 lt_prog_compiler_wl='-Wl,'
8757 lt_prog_compiler_pic='-KPIC'
8758 lt_prog_compiler_static='-Bstatic'
8759 ;;
8760
8761 unicos*)
8762 lt_prog_compiler_wl='-Wl,'
8763 lt_prog_compiler_can_build_shared=no
8764 ;;
8765
8766 uts4*)
8767 lt_prog_compiler_pic='-pic'
8768 lt_prog_compiler_static='-Bstatic'
8769 ;;
8770
8771 *)
8772 lt_prog_compiler_can_build_shared=no
8773 ;;
8774 esac
8775 fi
8776
8777 case $host_os in
8778 # For platforms which do not support PIC, -DPIC is meaningless:
8779 *djgpp*)
8780 lt_prog_compiler_pic=
8781 ;;
8782 *)
8783 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8784 ;;
8785 esac
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8787 $as_echo "$lt_prog_compiler_pic" >&6; }
8788
8789
8790
8791
8792
8793
8794 #
8795 # Check to make sure the PIC flag actually works.
8796 #
8797 if test -n "$lt_prog_compiler_pic"; then
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8799 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8800 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8801 $as_echo_n "(cached) " >&6
8802 else
8803 lt_cv_prog_compiler_pic_works=no
8804 ac_outfile=conftest.$ac_objext
8805 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8806 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8807 # Insert the option either (1) after the last *FLAGS variable, or
8808 # (2) before a word containing "conftest.", or (3) at the end.
8809 # Note that $ac_compile itself does not contain backslashes and begins
8810 # with a dollar sign (not a hyphen), so the echo should work correctly.
8811 # The option is referenced via a variable to avoid confusing sed.
8812 lt_compile=`echo "$ac_compile" | $SED \
8813 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8814 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8815 -e 's:$: $lt_compiler_flag:'`
8816 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8817 (eval "$lt_compile" 2>conftest.err)
8818 ac_status=$?
8819 cat conftest.err >&5
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 if (exit $ac_status) && test -s "$ac_outfile"; then
8822 # The compiler can only warn and ignore the option if not recognized
8823 # So say no if there are warnings other than the usual output.
8824 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8825 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8826 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8827 lt_cv_prog_compiler_pic_works=yes
8828 fi
8829 fi
8830 $RM conftest*
8831
8832 fi
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8834 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8835
8836 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8837 case $lt_prog_compiler_pic in
8838 "" | " "*) ;;
8839 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8840 esac
8841 else
8842 lt_prog_compiler_pic=
8843 lt_prog_compiler_can_build_shared=no
8844 fi
8845
8846 fi
8847
8848
8849
8850
8851
8852
8853 #
8854 # Check to make sure the static flag actually works.
8855 #
8856 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8858 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8859 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8860 $as_echo_n "(cached) " >&6
8861 else
8862 lt_cv_prog_compiler_static_works=no
8863 save_LDFLAGS="$LDFLAGS"
8864 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8865 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8866 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8867 # The linker can only warn and ignore the option if not recognized
8868 # So say no if there are warnings
8869 if test -s conftest.err; then
8870 # Append any errors to the config.log.
8871 cat conftest.err 1>&5
8872 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8873 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8874 if diff conftest.exp conftest.er2 >/dev/null; then
8875 lt_cv_prog_compiler_static_works=yes
8876 fi
8877 else
8878 lt_cv_prog_compiler_static_works=yes
8879 fi
8880 fi
8881 $RM -r conftest*
8882 LDFLAGS="$save_LDFLAGS"
8883
8884 fi
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8886 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8887
8888 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8889 :
8890 else
8891 lt_prog_compiler_static=
8892 fi
8893
8894
8895
8896
8897
8898
8899
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8901 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8902 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8903 $as_echo_n "(cached) " >&6
8904 else
8905 lt_cv_prog_compiler_c_o=no
8906 $RM -r conftest 2>/dev/null
8907 mkdir conftest
8908 cd conftest
8909 mkdir out
8910 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8911
8912 lt_compiler_flag="-o out/conftest2.$ac_objext"
8913 # Insert the option either (1) after the last *FLAGS variable, or
8914 # (2) before a word containing "conftest.", or (3) at the end.
8915 # Note that $ac_compile itself does not contain backslashes and begins
8916 # with a dollar sign (not a hyphen), so the echo should work correctly.
8917 lt_compile=`echo "$ac_compile" | $SED \
8918 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8919 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8920 -e 's:$: $lt_compiler_flag:'`
8921 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8922 (eval "$lt_compile" 2>out/conftest.err)
8923 ac_status=$?
8924 cat out/conftest.err >&5
8925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8926 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8927 then
8928 # The compiler can only warn and ignore the option if not recognized
8929 # So say no if there are warnings
8930 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8931 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8932 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8933 lt_cv_prog_compiler_c_o=yes
8934 fi
8935 fi
8936 chmod u+w . 2>&5
8937 $RM conftest*
8938 # SGI C++ compiler will create directory out/ii_files/ for
8939 # template instantiation
8940 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8941 $RM out/* && rmdir out
8942 cd ..
8943 $RM -r conftest
8944 $RM conftest*
8945
8946 fi
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8948 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8949
8950
8951
8952
8953
8954
8955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8956 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8957 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8958 $as_echo_n "(cached) " >&6
8959 else
8960 lt_cv_prog_compiler_c_o=no
8961 $RM -r conftest 2>/dev/null
8962 mkdir conftest
8963 cd conftest
8964 mkdir out
8965 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8966
8967 lt_compiler_flag="-o out/conftest2.$ac_objext"
8968 # Insert the option either (1) after the last *FLAGS variable, or
8969 # (2) before a word containing "conftest.", or (3) at the end.
8970 # Note that $ac_compile itself does not contain backslashes and begins
8971 # with a dollar sign (not a hyphen), so the echo should work correctly.
8972 lt_compile=`echo "$ac_compile" | $SED \
8973 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8974 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8975 -e 's:$: $lt_compiler_flag:'`
8976 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8977 (eval "$lt_compile" 2>out/conftest.err)
8978 ac_status=$?
8979 cat out/conftest.err >&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8982 then
8983 # The compiler can only warn and ignore the option if not recognized
8984 # So say no if there are warnings
8985 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8986 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8987 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8988 lt_cv_prog_compiler_c_o=yes
8989 fi
8990 fi
8991 chmod u+w . 2>&5
8992 $RM conftest*
8993 # SGI C++ compiler will create directory out/ii_files/ for
8994 # template instantiation
8995 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8996 $RM out/* && rmdir out
8997 cd ..
8998 $RM -r conftest
8999 $RM conftest*
9000
9001 fi
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9003 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9004
9005
9006
9007
9008 hard_links="nottested"
9009 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9010 # do not overwrite the value of need_locks provided by the user
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9012 $as_echo_n "checking if we can lock with hard links... " >&6; }
9013 hard_links=yes
9014 $RM conftest*
9015 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9016 touch conftest.a
9017 ln conftest.a conftest.b 2>&5 || hard_links=no
9018 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9020 $as_echo "$hard_links" >&6; }
9021 if test "$hard_links" = no; then
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9023 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9024 need_locks=warn
9025 fi
9026 else
9027 need_locks=no
9028 fi
9029
9030
9031
9032
9033
9034
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9036 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9037
9038 runpath_var=
9039 allow_undefined_flag=
9040 always_export_symbols=no
9041 archive_cmds=
9042 archive_expsym_cmds=
9043 compiler_needs_object=no
9044 enable_shared_with_static_runtimes=no
9045 export_dynamic_flag_spec=
9046 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9047 hardcode_automatic=no
9048 hardcode_direct=no
9049 hardcode_direct_absolute=no
9050 hardcode_libdir_flag_spec=
9051 hardcode_libdir_flag_spec_ld=
9052 hardcode_libdir_separator=
9053 hardcode_minus_L=no
9054 hardcode_shlibpath_var=unsupported
9055 inherit_rpath=no
9056 link_all_deplibs=unknown
9057 module_cmds=
9058 module_expsym_cmds=
9059 old_archive_from_new_cmds=
9060 old_archive_from_expsyms_cmds=
9061 thread_safe_flag_spec=
9062 whole_archive_flag_spec=
9063 # include_expsyms should be a list of space-separated symbols to be *always*
9064 # included in the symbol list
9065 include_expsyms=
9066 # exclude_expsyms can be an extended regexp of symbols to exclude
9067 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9068 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9069 # as well as any symbol that contains `d'.
9070 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9071 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9072 # platforms (ab)use it in PIC code, but their linkers get confused if
9073 # the symbol is explicitly referenced. Since portable code cannot
9074 # rely on this symbol name, it's probably fine to never include it in
9075 # preloaded symbol tables.
9076 # Exclude shared library initialization/finalization symbols.
9077 extract_expsyms_cmds=
9078
9079 case $host_os in
9080 cygwin* | mingw* | pw32* | cegcc*)
9081 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9082 # When not using gcc, we currently assume that we are using
9083 # Microsoft Visual C++.
9084 if test "$GCC" != yes; then
9085 with_gnu_ld=no
9086 fi
9087 ;;
9088 interix*)
9089 # we just hope/assume this is gcc and not c89 (= MSVC++)
9090 with_gnu_ld=yes
9091 ;;
9092 openbsd*)
9093 with_gnu_ld=no
9094 ;;
9095 esac
9096
9097 ld_shlibs=yes
9098
9099 # On some targets, GNU ld is compatible enough with the native linker
9100 # that we're better off using the native interface for both.
9101 lt_use_gnu_ld_interface=no
9102 if test "$with_gnu_ld" = yes; then
9103 case $host_os in
9104 aix*)
9105 # The AIX port of GNU ld has always aspired to compatibility
9106 # with the native linker. However, as the warning in the GNU ld
9107 # block says, versions before 2.19.5* couldn't really create working
9108 # shared libraries, regardless of the interface used.
9109 case `$LD -v 2>&1` in
9110 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9111 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9112 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9113 *)
9114 lt_use_gnu_ld_interface=yes
9115 ;;
9116 esac
9117 ;;
9118 *)
9119 lt_use_gnu_ld_interface=yes
9120 ;;
9121 esac
9122 fi
9123
9124 if test "$lt_use_gnu_ld_interface" = yes; then
9125 # If archive_cmds runs LD, not CC, wlarc should be empty
9126 wlarc='${wl}'
9127
9128 # Set some defaults for GNU ld with shared library support. These
9129 # are reset later if shared libraries are not supported. Putting them
9130 # here allows them to be overridden if necessary.
9131 runpath_var=LD_RUN_PATH
9132 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9133 export_dynamic_flag_spec='${wl}--export-dynamic'
9134 # ancient GNU ld didn't support --whole-archive et. al.
9135 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9136 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9137 else
9138 whole_archive_flag_spec=
9139 fi
9140 supports_anon_versioning=no
9141 case `$LD -v 2>&1` in
9142 *GNU\ gold*) supports_anon_versioning=yes ;;
9143 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9144 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9145 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9146 *\ 2.11.*) ;; # other 2.11 versions
9147 *) supports_anon_versioning=yes ;;
9148 esac
9149
9150 # See if GNU ld supports shared libraries.
9151 case $host_os in
9152 aix[3-9]*)
9153 # On AIX/PPC, the GNU linker is very broken
9154 if test "$host_cpu" != ia64; then
9155 ld_shlibs=no
9156 cat <<_LT_EOF 1>&2
9157
9158 *** Warning: the GNU linker, at least up to release 2.19, is reported
9159 *** to be unable to reliably create shared libraries on AIX.
9160 *** Therefore, libtool is disabling shared libraries support. If you
9161 *** really care for shared libraries, you may want to install binutils
9162 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9163 *** You will then need to restart the configuration process.
9164
9165 _LT_EOF
9166 fi
9167 ;;
9168
9169 amigaos*)
9170 case $host_cpu in
9171 powerpc)
9172 # see comment about AmigaOS4 .so support
9173 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9174 archive_expsym_cmds=''
9175 ;;
9176 m68k)
9177 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)'
9178 hardcode_libdir_flag_spec='-L$libdir'
9179 hardcode_minus_L=yes
9180 ;;
9181 esac
9182 ;;
9183
9184 beos*)
9185 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9186 allow_undefined_flag=unsupported
9187 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9188 # support --undefined. This deserves some investigation. FIXME
9189 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9190 else
9191 ld_shlibs=no
9192 fi
9193 ;;
9194
9195 cygwin* | mingw* | pw32* | cegcc*)
9196 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9197 # as there is no search path for DLLs.
9198 hardcode_libdir_flag_spec='-L$libdir'
9199 export_dynamic_flag_spec='${wl}--export-all-symbols'
9200 allow_undefined_flag=unsupported
9201 always_export_symbols=no
9202 enable_shared_with_static_runtimes=yes
9203 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9204
9205 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9206 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9207 # If the export-symbols file already is a .def file (1st line
9208 # is EXPORTS), use it as is; otherwise, prepend...
9209 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9210 cp $export_symbols $output_objdir/$soname.def;
9211 else
9212 echo EXPORTS > $output_objdir/$soname.def;
9213 cat $export_symbols >> $output_objdir/$soname.def;
9214 fi~
9215 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9216 else
9217 ld_shlibs=no
9218 fi
9219 ;;
9220
9221 haiku*)
9222 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9223 link_all_deplibs=yes
9224 ;;
9225
9226 interix[3-9]*)
9227 hardcode_direct=no
9228 hardcode_shlibpath_var=no
9229 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9230 export_dynamic_flag_spec='${wl}-E'
9231 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9232 # Instead, shared libraries are loaded at an image base (0x10000000 by
9233 # default) and relocated if they conflict, which is a slow very memory
9234 # consuming and fragmenting process. To avoid this, we pick a random,
9235 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9236 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9237 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9238 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'
9239 ;;
9240
9241 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9242 tmp_diet=no
9243 if test "$host_os" = linux-dietlibc; then
9244 case $cc_basename in
9245 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9246 esac
9247 fi
9248 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9249 && test "$tmp_diet" = no
9250 then
9251 tmp_addflag=
9252 tmp_sharedflag='-shared'
9253 case $cc_basename,$host_cpu in
9254 pgcc*) # Portland Group C compiler
9255 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'
9256 tmp_addflag=' $pic_flag'
9257 ;;
9258 pgf77* | pgf90* | pgf95* | pgfortran*)
9259 # Portland Group f77 and f90 compilers
9260 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'
9261 tmp_addflag=' $pic_flag -Mnomain' ;;
9262 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9263 tmp_addflag=' -i_dynamic' ;;
9264 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9265 tmp_addflag=' -i_dynamic -nofor_main' ;;
9266 ifc* | ifort*) # Intel Fortran compiler
9267 tmp_addflag=' -nofor_main' ;;
9268 lf95*) # Lahey Fortran 8.1
9269 whole_archive_flag_spec=
9270 tmp_sharedflag='--shared' ;;
9271 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9272 tmp_sharedflag='-qmkshrobj'
9273 tmp_addflag= ;;
9274 nvcc*) # Cuda Compiler Driver 2.2
9275 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'
9276 compiler_needs_object=yes
9277 ;;
9278 esac
9279 case `$CC -V 2>&1 | sed 5q` in
9280 *Sun\ C*) # Sun C 5.9
9281 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'
9282 compiler_needs_object=yes
9283 tmp_sharedflag='-G' ;;
9284 *Sun\ F*) # Sun Fortran 8.3
9285 tmp_sharedflag='-G' ;;
9286 esac
9287 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9288
9289 if test "x$supports_anon_versioning" = xyes; then
9290 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9291 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9292 echo "local: *; };" >> $output_objdir/$libname.ver~
9293 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9294 fi
9295
9296 case $cc_basename in
9297 xlf* | bgf* | bgxlf* | mpixlf*)
9298 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9299 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9300 hardcode_libdir_flag_spec=
9301 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9302 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9303 if test "x$supports_anon_versioning" = xyes; then
9304 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9305 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9306 echo "local: *; };" >> $output_objdir/$libname.ver~
9307 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9308 fi
9309 ;;
9310 esac
9311 else
9312 ld_shlibs=no
9313 fi
9314 ;;
9315
9316 netbsd*)
9317 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9318 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9319 wlarc=
9320 else
9321 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9322 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9323 fi
9324 ;;
9325
9326 solaris*)
9327 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9328 ld_shlibs=no
9329 cat <<_LT_EOF 1>&2
9330
9331 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9332 *** create shared libraries on Solaris systems. Therefore, libtool
9333 *** is disabling shared libraries support. We urge you to upgrade GNU
9334 *** binutils to release 2.9.1 or newer. Another option is to modify
9335 *** your PATH or compiler configuration so that the native linker is
9336 *** used, and then restart.
9337
9338 _LT_EOF
9339 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9340 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9341 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9342 else
9343 ld_shlibs=no
9344 fi
9345 ;;
9346
9347 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9348 case `$LD -v 2>&1` in
9349 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9350 ld_shlibs=no
9351 cat <<_LT_EOF 1>&2
9352
9353 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9354 *** reliably create shared libraries on SCO systems. Therefore, libtool
9355 *** is disabling shared libraries support. We urge you to upgrade GNU
9356 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9357 *** your PATH or compiler configuration so that the native linker is
9358 *** used, and then restart.
9359
9360 _LT_EOF
9361 ;;
9362 *)
9363 # For security reasons, it is highly recommended that you always
9364 # use absolute paths for naming shared libraries, and exclude the
9365 # DT_RUNPATH tag from executables and libraries. But doing so
9366 # requires that you compile everything twice, which is a pain.
9367 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9368 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9369 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9370 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9371 else
9372 ld_shlibs=no
9373 fi
9374 ;;
9375 esac
9376 ;;
9377
9378 sunos4*)
9379 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9380 wlarc=
9381 hardcode_direct=yes
9382 hardcode_shlibpath_var=no
9383 ;;
9384
9385 *)
9386 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9387 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9388 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9389 else
9390 ld_shlibs=no
9391 fi
9392 ;;
9393 esac
9394
9395 if test "$ld_shlibs" = no; then
9396 runpath_var=
9397 hardcode_libdir_flag_spec=
9398 export_dynamic_flag_spec=
9399 whole_archive_flag_spec=
9400 fi
9401 else
9402 # PORTME fill in a description of your system's linker (not GNU ld)
9403 case $host_os in
9404 aix3*)
9405 allow_undefined_flag=unsupported
9406 always_export_symbols=yes
9407 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'
9408 # Note: this linker hardcodes the directories in LIBPATH if there
9409 # are no directories specified by -L.
9410 hardcode_minus_L=yes
9411 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9412 # Neither direct hardcoding nor static linking is supported with a
9413 # broken collect2.
9414 hardcode_direct=unsupported
9415 fi
9416 ;;
9417
9418 aix[4-9]*)
9419 if test "$host_cpu" = ia64; then
9420 # On IA64, the linker does run time linking by default, so we don't
9421 # have to do anything special.
9422 aix_use_runtimelinking=no
9423 exp_sym_flag='-Bexport'
9424 no_entry_flag=""
9425 else
9426 # If we're using GNU nm, then we don't want the "-C" option.
9427 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9428 # Also, AIX nm treats weak defined symbols like other global
9429 # defined symbols, whereas GNU nm marks them as "W".
9430 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9431 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'
9432 else
9433 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'
9434 fi
9435 aix_use_runtimelinking=no
9436
9437 # Test if we are trying to use run time linking or normal
9438 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9439 # need to do runtime linking.
9440 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9441 for ld_flag in $LDFLAGS; do
9442 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9443 aix_use_runtimelinking=yes
9444 break
9445 fi
9446 done
9447 ;;
9448 esac
9449
9450 exp_sym_flag='-bexport'
9451 no_entry_flag='-bnoentry'
9452 fi
9453
9454 # When large executables or shared objects are built, AIX ld can
9455 # have problems creating the table of contents. If linking a library
9456 # or program results in "error TOC overflow" add -mminimal-toc to
9457 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9458 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9459
9460 archive_cmds=''
9461 hardcode_direct=yes
9462 hardcode_direct_absolute=yes
9463 hardcode_libdir_separator=':'
9464 link_all_deplibs=yes
9465 file_list_spec='${wl}-f,'
9466
9467 if test "$GCC" = yes; then
9468 case $host_os in aix4.[012]|aix4.[012].*)
9469 # We only want to do this on AIX 4.2 and lower, the check
9470 # below for broken collect2 doesn't work under 4.3+
9471 collect2name=`${CC} -print-prog-name=collect2`
9472 if test -f "$collect2name" &&
9473 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9474 then
9475 # We have reworked collect2
9476 :
9477 else
9478 # We have old collect2
9479 hardcode_direct=unsupported
9480 # It fails to find uninstalled libraries when the uninstalled
9481 # path is not listed in the libpath. Setting hardcode_minus_L
9482 # to unsupported forces relinking
9483 hardcode_minus_L=yes
9484 hardcode_libdir_flag_spec='-L$libdir'
9485 hardcode_libdir_separator=
9486 fi
9487 ;;
9488 esac
9489 shared_flag='-shared'
9490 if test "$aix_use_runtimelinking" = yes; then
9491 shared_flag="$shared_flag "'${wl}-G'
9492 fi
9493 else
9494 # not using gcc
9495 if test "$host_cpu" = ia64; then
9496 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9497 # chokes on -Wl,-G. The following line is correct:
9498 shared_flag='-G'
9499 else
9500 if test "$aix_use_runtimelinking" = yes; then
9501 shared_flag='${wl}-G'
9502 else
9503 shared_flag='${wl}-bM:SRE'
9504 fi
9505 fi
9506 fi
9507
9508 export_dynamic_flag_spec='${wl}-bexpall'
9509 # It seems that -bexpall does not export symbols beginning with
9510 # underscore (_), so it is better to generate a list of symbols to export.
9511 always_export_symbols=yes
9512 if test "$aix_use_runtimelinking" = yes; then
9513 # Warning - without using the other runtime loading flags (-brtl),
9514 # -berok will link without error, but may produce a broken library.
9515 allow_undefined_flag='-berok'
9516 # Determine the default libpath from the value encoded in an
9517 # empty executable.
9518 if test x$gcc_no_link = xyes; then
9519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9520 fi
9521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9522 /* end confdefs.h. */
9523
9524 int
9525 main ()
9526 {
9527
9528 ;
9529 return 0;
9530 }
9531 _ACEOF
9532 if ac_fn_c_try_link "$LINENO"; then :
9533
9534 lt_aix_libpath_sed='
9535 /Import File Strings/,/^$/ {
9536 /^0/ {
9537 s/^0 *\(.*\)$/\1/
9538 p
9539 }
9540 }'
9541 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9542 # Check for a 64-bit object if we didn't find anything.
9543 if test -z "$aix_libpath"; then
9544 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9545 fi
9546 fi
9547 rm -f core conftest.err conftest.$ac_objext \
9548 conftest$ac_exeext conftest.$ac_ext
9549 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9550
9551 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9552 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"
9553 else
9554 if test "$host_cpu" = ia64; then
9555 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9556 allow_undefined_flag="-z nodefs"
9557 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"
9558 else
9559 # Determine the default libpath from the value encoded in an
9560 # empty executable.
9561 if test x$gcc_no_link = xyes; then
9562 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9563 fi
9564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9566
9567 int
9568 main ()
9569 {
9570
9571 ;
9572 return 0;
9573 }
9574 _ACEOF
9575 if ac_fn_c_try_link "$LINENO"; then :
9576
9577 lt_aix_libpath_sed='
9578 /Import File Strings/,/^$/ {
9579 /^0/ {
9580 s/^0 *\(.*\)$/\1/
9581 p
9582 }
9583 }'
9584 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9585 # Check for a 64-bit object if we didn't find anything.
9586 if test -z "$aix_libpath"; then
9587 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 fi
9589 fi
9590 rm -f core conftest.err conftest.$ac_objext \
9591 conftest$ac_exeext conftest.$ac_ext
9592 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9593
9594 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9595 # Warning - without using the other run time loading flags,
9596 # -berok will link without error, but may produce a broken library.
9597 no_undefined_flag=' ${wl}-bernotok'
9598 allow_undefined_flag=' ${wl}-berok'
9599 if test "$with_gnu_ld" = yes; then
9600 # We only use this code for GNU lds that support --whole-archive.
9601 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9602 else
9603 # Exported symbols can be pulled into shared objects from archives
9604 whole_archive_flag_spec='$convenience'
9605 fi
9606 archive_cmds_need_lc=yes
9607 # This is similar to how AIX traditionally builds its shared libraries.
9608 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'
9609 fi
9610 fi
9611 ;;
9612
9613 amigaos*)
9614 case $host_cpu in
9615 powerpc)
9616 # see comment about AmigaOS4 .so support
9617 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9618 archive_expsym_cmds=''
9619 ;;
9620 m68k)
9621 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)'
9622 hardcode_libdir_flag_spec='-L$libdir'
9623 hardcode_minus_L=yes
9624 ;;
9625 esac
9626 ;;
9627
9628 bsdi[45]*)
9629 export_dynamic_flag_spec=-rdynamic
9630 ;;
9631
9632 cygwin* | mingw* | pw32* | cegcc*)
9633 # When not using gcc, we currently assume that we are using
9634 # Microsoft Visual C++.
9635 # hardcode_libdir_flag_spec is actually meaningless, as there is
9636 # no search path for DLLs.
9637 hardcode_libdir_flag_spec=' '
9638 allow_undefined_flag=unsupported
9639 # Tell ltmain to make .lib files, not .a files.
9640 libext=lib
9641 # Tell ltmain to make .dll files, not .so files.
9642 shrext_cmds=".dll"
9643 # FIXME: Setting linknames here is a bad hack.
9644 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9645 # The linker will automatically build a .lib file if we build a DLL.
9646 old_archive_from_new_cmds='true'
9647 # FIXME: Should let the user specify the lib program.
9648 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9649 fix_srcfile_path='`cygpath -w "$srcfile"`'
9650 enable_shared_with_static_runtimes=yes
9651 ;;
9652
9653 darwin* | rhapsody*)
9654
9655
9656 archive_cmds_need_lc=no
9657 hardcode_direct=no
9658 hardcode_automatic=yes
9659 hardcode_shlibpath_var=unsupported
9660 if test "$lt_cv_ld_force_load" = "yes"; then
9661 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\"`'
9662 else
9663 whole_archive_flag_spec=''
9664 fi
9665 link_all_deplibs=yes
9666 allow_undefined_flag="$_lt_dar_allow_undefined"
9667 case $cc_basename in
9668 ifort*) _lt_dar_can_shared=yes ;;
9669 *) _lt_dar_can_shared=$GCC ;;
9670 esac
9671 if test "$_lt_dar_can_shared" = "yes"; then
9672 output_verbose_link_cmd=func_echo_all
9673 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9674 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9675 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}"
9676 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}"
9677
9678 else
9679 ld_shlibs=no
9680 fi
9681
9682 ;;
9683
9684 dgux*)
9685 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9686 hardcode_libdir_flag_spec='-L$libdir'
9687 hardcode_shlibpath_var=no
9688 ;;
9689
9690 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9691 # support. Future versions do this automatically, but an explicit c++rt0.o
9692 # does not break anything, and helps significantly (at the cost of a little
9693 # extra space).
9694 freebsd2.2*)
9695 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9696 hardcode_libdir_flag_spec='-R$libdir'
9697 hardcode_direct=yes
9698 hardcode_shlibpath_var=no
9699 ;;
9700
9701 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9702 freebsd2*)
9703 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9704 hardcode_direct=yes
9705 hardcode_minus_L=yes
9706 hardcode_shlibpath_var=no
9707 ;;
9708
9709 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9710 freebsd* | dragonfly*)
9711 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9712 hardcode_libdir_flag_spec='-R$libdir'
9713 hardcode_direct=yes
9714 hardcode_shlibpath_var=no
9715 ;;
9716
9717 hpux9*)
9718 if test "$GCC" = yes; then
9719 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'
9720 else
9721 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'
9722 fi
9723 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9724 hardcode_libdir_separator=:
9725 hardcode_direct=yes
9726
9727 # hardcode_minus_L: Not really in the search PATH,
9728 # but as the default location of the library.
9729 hardcode_minus_L=yes
9730 export_dynamic_flag_spec='${wl}-E'
9731 ;;
9732
9733 hpux10*)
9734 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9735 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9736 else
9737 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9738 fi
9739 if test "$with_gnu_ld" = no; then
9740 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9741 hardcode_libdir_flag_spec_ld='+b $libdir'
9742 hardcode_libdir_separator=:
9743 hardcode_direct=yes
9744 hardcode_direct_absolute=yes
9745 export_dynamic_flag_spec='${wl}-E'
9746 # hardcode_minus_L: Not really in the search PATH,
9747 # but as the default location of the library.
9748 hardcode_minus_L=yes
9749 fi
9750 ;;
9751
9752 hpux11*)
9753 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9754 case $host_cpu in
9755 hppa*64*)
9756 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9757 ;;
9758 ia64*)
9759 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9760 ;;
9761 *)
9762 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9763 ;;
9764 esac
9765 else
9766 case $host_cpu in
9767 hppa*64*)
9768 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9769 ;;
9770 ia64*)
9771 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9772 ;;
9773 *)
9774
9775 # Older versions of the 11.00 compiler do not understand -b yet
9776 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9778 $as_echo_n "checking if $CC understands -b... " >&6; }
9779 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9780 $as_echo_n "(cached) " >&6
9781 else
9782 lt_cv_prog_compiler__b=no
9783 save_LDFLAGS="$LDFLAGS"
9784 LDFLAGS="$LDFLAGS -b"
9785 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9786 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9787 # The linker can only warn and ignore the option if not recognized
9788 # So say no if there are warnings
9789 if test -s conftest.err; then
9790 # Append any errors to the config.log.
9791 cat conftest.err 1>&5
9792 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9793 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9794 if diff conftest.exp conftest.er2 >/dev/null; then
9795 lt_cv_prog_compiler__b=yes
9796 fi
9797 else
9798 lt_cv_prog_compiler__b=yes
9799 fi
9800 fi
9801 $RM -r conftest*
9802 LDFLAGS="$save_LDFLAGS"
9803
9804 fi
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9806 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9807
9808 if test x"$lt_cv_prog_compiler__b" = xyes; then
9809 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9810 else
9811 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9812 fi
9813
9814 ;;
9815 esac
9816 fi
9817 if test "$with_gnu_ld" = no; then
9818 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9819 hardcode_libdir_separator=:
9820
9821 case $host_cpu in
9822 hppa*64*|ia64*)
9823 hardcode_direct=no
9824 hardcode_shlibpath_var=no
9825 ;;
9826 *)
9827 hardcode_direct=yes
9828 hardcode_direct_absolute=yes
9829 export_dynamic_flag_spec='${wl}-E'
9830
9831 # hardcode_minus_L: Not really in the search PATH,
9832 # but as the default location of the library.
9833 hardcode_minus_L=yes
9834 ;;
9835 esac
9836 fi
9837 ;;
9838
9839 irix5* | irix6* | nonstopux*)
9840 if test "$GCC" = yes; then
9841 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'
9842 # Try to use the -exported_symbol ld option, if it does not
9843 # work, assume that -exports_file does not work either and
9844 # implicitly export all symbols.
9845 save_LDFLAGS="$LDFLAGS"
9846 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9847 if test x$gcc_no_link = xyes; then
9848 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9849 fi
9850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9851 /* end confdefs.h. */
9852 int foo(void) {}
9853 _ACEOF
9854 if ac_fn_c_try_link "$LINENO"; then :
9855 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'
9856
9857 fi
9858 rm -f core conftest.err conftest.$ac_objext \
9859 conftest$ac_exeext conftest.$ac_ext
9860 LDFLAGS="$save_LDFLAGS"
9861 else
9862 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'
9863 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'
9864 fi
9865 archive_cmds_need_lc='no'
9866 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9867 hardcode_libdir_separator=:
9868 inherit_rpath=yes
9869 link_all_deplibs=yes
9870 ;;
9871
9872 netbsd*)
9873 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9874 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9875 else
9876 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9877 fi
9878 hardcode_libdir_flag_spec='-R$libdir'
9879 hardcode_direct=yes
9880 hardcode_shlibpath_var=no
9881 ;;
9882
9883 newsos6)
9884 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9885 hardcode_direct=yes
9886 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9887 hardcode_libdir_separator=:
9888 hardcode_shlibpath_var=no
9889 ;;
9890
9891 *nto* | *qnx*)
9892 ;;
9893
9894 openbsd*)
9895 if test -f /usr/libexec/ld.so; then
9896 hardcode_direct=yes
9897 hardcode_shlibpath_var=no
9898 hardcode_direct_absolute=yes
9899 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9900 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9901 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9902 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9903 export_dynamic_flag_spec='${wl}-E'
9904 else
9905 case $host_os in
9906 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9907 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9908 hardcode_libdir_flag_spec='-R$libdir'
9909 ;;
9910 *)
9911 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9912 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9913 ;;
9914 esac
9915 fi
9916 else
9917 ld_shlibs=no
9918 fi
9919 ;;
9920
9921 os2*)
9922 hardcode_libdir_flag_spec='-L$libdir'
9923 hardcode_minus_L=yes
9924 allow_undefined_flag=unsupported
9925 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'
9926 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9927 ;;
9928
9929 osf3*)
9930 if test "$GCC" = yes; then
9931 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9932 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'
9933 else
9934 allow_undefined_flag=' -expect_unresolved \*'
9935 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'
9936 fi
9937 archive_cmds_need_lc='no'
9938 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9939 hardcode_libdir_separator=:
9940 ;;
9941
9942 osf4* | osf5*) # as osf3* with the addition of -msym flag
9943 if test "$GCC" = yes; then
9944 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9945 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'
9946 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9947 else
9948 allow_undefined_flag=' -expect_unresolved \*'
9949 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'
9950 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~
9951 $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'
9952
9953 # Both c and cxx compiler support -rpath directly
9954 hardcode_libdir_flag_spec='-rpath $libdir'
9955 fi
9956 archive_cmds_need_lc='no'
9957 hardcode_libdir_separator=:
9958 ;;
9959
9960 solaris*)
9961 no_undefined_flag=' -z defs'
9962 if test "$GCC" = yes; then
9963 wlarc='${wl}'
9964 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9965 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9966 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9967 else
9968 case `$CC -V 2>&1` in
9969 *"Compilers 5.0"*)
9970 wlarc=''
9971 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9972 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9973 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9974 ;;
9975 *)
9976 wlarc='${wl}'
9977 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9978 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9979 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9980 ;;
9981 esac
9982 fi
9983 hardcode_libdir_flag_spec='-R$libdir'
9984 hardcode_shlibpath_var=no
9985 case $host_os in
9986 solaris2.[0-5] | solaris2.[0-5].*) ;;
9987 *)
9988 # The compiler driver will combine and reorder linker options,
9989 # but understands `-z linker_flag'. GCC discards it without `$wl',
9990 # but is careful enough not to reorder.
9991 # Supported since Solaris 2.6 (maybe 2.5.1?)
9992 if test "$GCC" = yes; then
9993 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9994 else
9995 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9996 fi
9997 ;;
9998 esac
9999 link_all_deplibs=yes
10000 ;;
10001
10002 sunos4*)
10003 if test "x$host_vendor" = xsequent; then
10004 # Use $CC to link under sequent, because it throws in some extra .o
10005 # files that make .init and .fini sections work.
10006 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10007 else
10008 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10009 fi
10010 hardcode_libdir_flag_spec='-L$libdir'
10011 hardcode_direct=yes
10012 hardcode_minus_L=yes
10013 hardcode_shlibpath_var=no
10014 ;;
10015
10016 sysv4)
10017 case $host_vendor in
10018 sni)
10019 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10020 hardcode_direct=yes # is this really true???
10021 ;;
10022 siemens)
10023 ## LD is ld it makes a PLAMLIB
10024 ## CC just makes a GrossModule.
10025 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10026 reload_cmds='$CC -r -o $output$reload_objs'
10027 hardcode_direct=no
10028 ;;
10029 motorola)
10030 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10031 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10032 ;;
10033 esac
10034 runpath_var='LD_RUN_PATH'
10035 hardcode_shlibpath_var=no
10036 ;;
10037
10038 sysv4.3*)
10039 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10040 hardcode_shlibpath_var=no
10041 export_dynamic_flag_spec='-Bexport'
10042 ;;
10043
10044 sysv4*MP*)
10045 if test -d /usr/nec; then
10046 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10047 hardcode_shlibpath_var=no
10048 runpath_var=LD_RUN_PATH
10049 hardcode_runpath_var=yes
10050 ld_shlibs=yes
10051 fi
10052 ;;
10053
10054 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10055 no_undefined_flag='${wl}-z,text'
10056 archive_cmds_need_lc=no
10057 hardcode_shlibpath_var=no
10058 runpath_var='LD_RUN_PATH'
10059
10060 if test "$GCC" = yes; then
10061 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10062 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10063 else
10064 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10065 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066 fi
10067 ;;
10068
10069 sysv5* | sco3.2v5* | sco5v6*)
10070 # Note: We can NOT use -z defs as we might desire, because we do not
10071 # link with -lc, and that would cause any symbols used from libc to
10072 # always be unresolved, which means just about no library would
10073 # ever link correctly. If we're not using GNU ld we use -z text
10074 # though, which does catch some bad symbols but isn't as heavy-handed
10075 # as -z defs.
10076 no_undefined_flag='${wl}-z,text'
10077 allow_undefined_flag='${wl}-z,nodefs'
10078 archive_cmds_need_lc=no
10079 hardcode_shlibpath_var=no
10080 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10081 hardcode_libdir_separator=':'
10082 link_all_deplibs=yes
10083 export_dynamic_flag_spec='${wl}-Bexport'
10084 runpath_var='LD_RUN_PATH'
10085
10086 if test "$GCC" = yes; then
10087 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10088 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10089 else
10090 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 fi
10093 ;;
10094
10095 uts4*)
10096 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10097 hardcode_libdir_flag_spec='-L$libdir'
10098 hardcode_shlibpath_var=no
10099 ;;
10100
10101 *)
10102 ld_shlibs=no
10103 ;;
10104 esac
10105
10106 if test x$host_vendor = xsni; then
10107 case $host in
10108 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10109 export_dynamic_flag_spec='${wl}-Blargedynsym'
10110 ;;
10111 esac
10112 fi
10113 fi
10114
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10116 $as_echo "$ld_shlibs" >&6; }
10117 test "$ld_shlibs" = no && can_build_shared=no
10118
10119 with_gnu_ld=$with_gnu_ld
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135 #
10136 # Do we need to explicitly link libc?
10137 #
10138 case "x$archive_cmds_need_lc" in
10139 x|xyes)
10140 # Assume -lc should be added
10141 archive_cmds_need_lc=yes
10142
10143 if test "$enable_shared" = yes && test "$GCC" = yes; then
10144 case $archive_cmds in
10145 *'~'*)
10146 # FIXME: we may have to deal with multi-command sequences.
10147 ;;
10148 '$CC '*)
10149 # Test whether the compiler implicitly links with -lc since on some
10150 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10151 # to ld, don't add -lc before -lgcc.
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10153 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10154 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10155 $as_echo_n "(cached) " >&6
10156 else
10157 $RM conftest*
10158 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10159
10160 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10161 (eval $ac_compile) 2>&5
10162 ac_status=$?
10163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10164 test $ac_status = 0; } 2>conftest.err; then
10165 soname=conftest
10166 lib=conftest
10167 libobjs=conftest.$ac_objext
10168 deplibs=
10169 wl=$lt_prog_compiler_wl
10170 pic_flag=$lt_prog_compiler_pic
10171 compiler_flags=-v
10172 linker_flags=-v
10173 verstring=
10174 output_objdir=.
10175 libname=conftest
10176 lt_save_allow_undefined_flag=$allow_undefined_flag
10177 allow_undefined_flag=
10178 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10179 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10180 ac_status=$?
10181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10182 test $ac_status = 0; }
10183 then
10184 lt_cv_archive_cmds_need_lc=no
10185 else
10186 lt_cv_archive_cmds_need_lc=yes
10187 fi
10188 allow_undefined_flag=$lt_save_allow_undefined_flag
10189 else
10190 cat conftest.err 1>&5
10191 fi
10192 $RM conftest*
10193
10194 fi
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10196 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10197 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10198 ;;
10199 esac
10200 fi
10201 ;;
10202 esac
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10361 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10362
10363 if test "$GCC" = yes; then
10364 case $host_os in
10365 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10366 *) lt_awk_arg="/^libraries:/" ;;
10367 esac
10368 case $host_os in
10369 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10370 *) lt_sed_strip_eq="s,=/,/,g" ;;
10371 esac
10372 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10373 case $lt_search_path_spec in
10374 *\;*)
10375 # if the path contains ";" then we assume it to be the separator
10376 # otherwise default to the standard path separator (i.e. ":") - it is
10377 # assumed that no part of a normal pathname contains ";" but that should
10378 # okay in the real world where ";" in dirpaths is itself problematic.
10379 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10380 ;;
10381 *)
10382 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10383 ;;
10384 esac
10385 # Ok, now we have the path, separated by spaces, we can step through it
10386 # and add multilib dir if necessary.
10387 lt_tmp_lt_search_path_spec=
10388 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10389 for lt_sys_path in $lt_search_path_spec; do
10390 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10391 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10392 else
10393 test -d "$lt_sys_path" && \
10394 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10395 fi
10396 done
10397 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10398 BEGIN {RS=" "; FS="/|\n";} {
10399 lt_foo="";
10400 lt_count=0;
10401 for (lt_i = NF; lt_i > 0; lt_i--) {
10402 if ($lt_i != "" && $lt_i != ".") {
10403 if ($lt_i == "..") {
10404 lt_count++;
10405 } else {
10406 if (lt_count == 0) {
10407 lt_foo="/" $lt_i lt_foo;
10408 } else {
10409 lt_count--;
10410 }
10411 }
10412 }
10413 }
10414 if (lt_foo != "") { lt_freq[lt_foo]++; }
10415 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10416 }'`
10417 # AWK program above erroneously prepends '/' to C:/dos/paths
10418 # for these hosts.
10419 case $host_os in
10420 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10421 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10422 esac
10423 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10424 else
10425 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10426 fi
10427 library_names_spec=
10428 libname_spec='lib$name'
10429 soname_spec=
10430 shrext_cmds=".so"
10431 postinstall_cmds=
10432 postuninstall_cmds=
10433 finish_cmds=
10434 finish_eval=
10435 shlibpath_var=
10436 shlibpath_overrides_runpath=unknown
10437 version_type=none
10438 dynamic_linker="$host_os ld.so"
10439 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10440 need_lib_prefix=unknown
10441 hardcode_into_libs=no
10442
10443 # when you set need_version to no, make sure it does not cause -set_version
10444 # flags to be left without arguments
10445 need_version=unknown
10446
10447 case $host_os in
10448 aix3*)
10449 version_type=linux
10450 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10451 shlibpath_var=LIBPATH
10452
10453 # AIX 3 has no versioning support, so we append a major version to the name.
10454 soname_spec='${libname}${release}${shared_ext}$major'
10455 ;;
10456
10457 aix[4-9]*)
10458 version_type=linux
10459 need_lib_prefix=no
10460 need_version=no
10461 hardcode_into_libs=yes
10462 if test "$host_cpu" = ia64; then
10463 # AIX 5 supports IA64
10464 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10465 shlibpath_var=LD_LIBRARY_PATH
10466 else
10467 # With GCC up to 2.95.x, collect2 would create an import file
10468 # for dependence libraries. The import file would start with
10469 # the line `#! .'. This would cause the generated library to
10470 # depend on `.', always an invalid library. This was fixed in
10471 # development snapshots of GCC prior to 3.0.
10472 case $host_os in
10473 aix4 | aix4.[01] | aix4.[01].*)
10474 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10475 echo ' yes '
10476 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10477 :
10478 else
10479 can_build_shared=no
10480 fi
10481 ;;
10482 esac
10483 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10484 # soname into executable. Probably we can add versioning support to
10485 # collect2, so additional links can be useful in future.
10486 if test "$aix_use_runtimelinking" = yes; then
10487 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10488 # instead of lib<name>.a to let people know that these are not
10489 # typical AIX shared libraries.
10490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10491 else
10492 # We preserve .a as extension for shared libraries through AIX4.2
10493 # and later when we are not doing run time linking.
10494 library_names_spec='${libname}${release}.a $libname.a'
10495 soname_spec='${libname}${release}${shared_ext}$major'
10496 fi
10497 shlibpath_var=LIBPATH
10498 fi
10499 ;;
10500
10501 amigaos*)
10502 case $host_cpu in
10503 powerpc)
10504 # Since July 2007 AmigaOS4 officially supports .so libraries.
10505 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10507 ;;
10508 m68k)
10509 library_names_spec='$libname.ixlibrary $libname.a'
10510 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10511 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'
10512 ;;
10513 esac
10514 ;;
10515
10516 beos*)
10517 library_names_spec='${libname}${shared_ext}'
10518 dynamic_linker="$host_os ld.so"
10519 shlibpath_var=LIBRARY_PATH
10520 ;;
10521
10522 bsdi[45]*)
10523 version_type=linux
10524 need_version=no
10525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10526 soname_spec='${libname}${release}${shared_ext}$major'
10527 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10528 shlibpath_var=LD_LIBRARY_PATH
10529 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10530 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10531 # the default ld.so.conf also contains /usr/contrib/lib and
10532 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10533 # libtool to hard-code these into programs
10534 ;;
10535
10536 cygwin* | mingw* | pw32* | cegcc*)
10537 version_type=windows
10538 shrext_cmds=".dll"
10539 need_version=no
10540 need_lib_prefix=no
10541
10542 case $GCC,$host_os in
10543 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10544 library_names_spec='$libname.dll.a'
10545 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10546 postinstall_cmds='base_file=`basename \${file}`~
10547 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10548 dldir=$destdir/`dirname \$dlpath`~
10549 test -d \$dldir || mkdir -p \$dldir~
10550 $install_prog $dir/$dlname \$dldir/$dlname~
10551 chmod a+x \$dldir/$dlname~
10552 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10553 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10554 fi'
10555 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10556 dlpath=$dir/\$dldll~
10557 $RM \$dlpath'
10558 shlibpath_overrides_runpath=yes
10559
10560 case $host_os in
10561 cygwin*)
10562 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10563 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10564
10565 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10566 ;;
10567 mingw* | cegcc*)
10568 # MinGW DLLs use traditional 'lib' prefix
10569 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10570 ;;
10571 pw32*)
10572 # pw32 DLLs use 'pw' prefix rather than 'lib'
10573 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10574 ;;
10575 esac
10576 ;;
10577
10578 *)
10579 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10580 ;;
10581 esac
10582 dynamic_linker='Win32 ld.exe'
10583 # FIXME: first we should search . and the directory the executable is in
10584 shlibpath_var=PATH
10585 ;;
10586
10587 darwin* | rhapsody*)
10588 dynamic_linker="$host_os dyld"
10589 version_type=darwin
10590 need_lib_prefix=no
10591 need_version=no
10592 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10593 soname_spec='${libname}${release}${major}$shared_ext'
10594 shlibpath_overrides_runpath=yes
10595 shlibpath_var=DYLD_LIBRARY_PATH
10596 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10597
10598 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10599 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10600 ;;
10601
10602 dgux*)
10603 version_type=linux
10604 need_lib_prefix=no
10605 need_version=no
10606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10607 soname_spec='${libname}${release}${shared_ext}$major'
10608 shlibpath_var=LD_LIBRARY_PATH
10609 ;;
10610
10611 freebsd* | dragonfly*)
10612 # DragonFly does not have aout. When/if they implement a new
10613 # versioning mechanism, adjust this.
10614 if test -x /usr/bin/objformat; then
10615 objformat=`/usr/bin/objformat`
10616 else
10617 case $host_os in
10618 freebsd[123]*) objformat=aout ;;
10619 *) objformat=elf ;;
10620 esac
10621 fi
10622 version_type=freebsd-$objformat
10623 case $version_type in
10624 freebsd-elf*)
10625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10626 need_version=no
10627 need_lib_prefix=no
10628 ;;
10629 freebsd-*)
10630 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10631 need_version=yes
10632 ;;
10633 esac
10634 shlibpath_var=LD_LIBRARY_PATH
10635 case $host_os in
10636 freebsd2*)
10637 shlibpath_overrides_runpath=yes
10638 ;;
10639 freebsd3.[01]* | freebsdelf3.[01]*)
10640 shlibpath_overrides_runpath=yes
10641 hardcode_into_libs=yes
10642 ;;
10643 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10644 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10645 shlibpath_overrides_runpath=no
10646 hardcode_into_libs=yes
10647 ;;
10648 *) # from 4.6 on, and DragonFly
10649 shlibpath_overrides_runpath=yes
10650 hardcode_into_libs=yes
10651 ;;
10652 esac
10653 ;;
10654
10655 gnu*)
10656 version_type=linux
10657 need_lib_prefix=no
10658 need_version=no
10659 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10660 soname_spec='${libname}${release}${shared_ext}$major'
10661 shlibpath_var=LD_LIBRARY_PATH
10662 hardcode_into_libs=yes
10663 ;;
10664
10665 haiku*)
10666 version_type=linux
10667 need_lib_prefix=no
10668 need_version=no
10669 dynamic_linker="$host_os runtime_loader"
10670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10671 soname_spec='${libname}${release}${shared_ext}$major'
10672 shlibpath_var=LIBRARY_PATH
10673 shlibpath_overrides_runpath=yes
10674 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10675 hardcode_into_libs=yes
10676 ;;
10677
10678 hpux9* | hpux10* | hpux11*)
10679 # Give a soname corresponding to the major version so that dld.sl refuses to
10680 # link against other versions.
10681 version_type=sunos
10682 need_lib_prefix=no
10683 need_version=no
10684 case $host_cpu in
10685 ia64*)
10686 shrext_cmds='.so'
10687 hardcode_into_libs=yes
10688 dynamic_linker="$host_os dld.so"
10689 shlibpath_var=LD_LIBRARY_PATH
10690 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10692 soname_spec='${libname}${release}${shared_ext}$major'
10693 if test "X$HPUX_IA64_MODE" = X32; then
10694 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10695 else
10696 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10697 fi
10698 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10699 ;;
10700 hppa*64*)
10701 shrext_cmds='.sl'
10702 hardcode_into_libs=yes
10703 dynamic_linker="$host_os dld.sl"
10704 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10705 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10707 soname_spec='${libname}${release}${shared_ext}$major'
10708 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10709 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10710 ;;
10711 *)
10712 shrext_cmds='.sl'
10713 dynamic_linker="$host_os dld.sl"
10714 shlibpath_var=SHLIB_PATH
10715 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10717 soname_spec='${libname}${release}${shared_ext}$major'
10718 ;;
10719 esac
10720 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10721 postinstall_cmds='chmod 555 $lib'
10722 # or fails outright, so override atomically:
10723 install_override_mode=555
10724 ;;
10725
10726 interix[3-9]*)
10727 version_type=linux
10728 need_lib_prefix=no
10729 need_version=no
10730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10731 soname_spec='${libname}${release}${shared_ext}$major'
10732 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10733 shlibpath_var=LD_LIBRARY_PATH
10734 shlibpath_overrides_runpath=no
10735 hardcode_into_libs=yes
10736 ;;
10737
10738 irix5* | irix6* | nonstopux*)
10739 case $host_os in
10740 nonstopux*) version_type=nonstopux ;;
10741 *)
10742 if test "$lt_cv_prog_gnu_ld" = yes; then
10743 version_type=linux
10744 else
10745 version_type=irix
10746 fi ;;
10747 esac
10748 need_lib_prefix=no
10749 need_version=no
10750 soname_spec='${libname}${release}${shared_ext}$major'
10751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10752 case $host_os in
10753 irix5* | nonstopux*)
10754 libsuff= shlibsuff=
10755 ;;
10756 *)
10757 case $LD in # libtool.m4 will add one of these switches to LD
10758 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10759 libsuff= shlibsuff= libmagic=32-bit;;
10760 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10761 libsuff=32 shlibsuff=N32 libmagic=N32;;
10762 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10763 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10764 *) libsuff= shlibsuff= libmagic=never-match;;
10765 esac
10766 ;;
10767 esac
10768 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10769 shlibpath_overrides_runpath=no
10770 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10771 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10772 hardcode_into_libs=yes
10773 ;;
10774
10775 # No shared lib support for Linux oldld, aout, or coff.
10776 linux*oldld* | linux*aout* | linux*coff*)
10777 dynamic_linker=no
10778 ;;
10779
10780 # This must be Linux ELF.
10781 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10782 version_type=linux
10783 need_lib_prefix=no
10784 need_version=no
10785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10786 soname_spec='${libname}${release}${shared_ext}$major'
10787 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10788 shlibpath_var=LD_LIBRARY_PATH
10789 shlibpath_overrides_runpath=no
10790
10791 # Some binutils ld are patched to set DT_RUNPATH
10792 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10793 $as_echo_n "(cached) " >&6
10794 else
10795 lt_cv_shlibpath_overrides_runpath=no
10796 save_LDFLAGS=$LDFLAGS
10797 save_libdir=$libdir
10798 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10799 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10800 if test x$gcc_no_link = xyes; then
10801 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10802 fi
10803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10804 /* end confdefs.h. */
10805
10806 int
10807 main ()
10808 {
10809
10810 ;
10811 return 0;
10812 }
10813 _ACEOF
10814 if ac_fn_c_try_link "$LINENO"; then :
10815 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10816 lt_cv_shlibpath_overrides_runpath=yes
10817 fi
10818 fi
10819 rm -f core conftest.err conftest.$ac_objext \
10820 conftest$ac_exeext conftest.$ac_ext
10821 LDFLAGS=$save_LDFLAGS
10822 libdir=$save_libdir
10823
10824 fi
10825
10826 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10827
10828 # This implies no fast_install, which is unacceptable.
10829 # Some rework will be needed to allow for fast_install
10830 # before this can be enabled.
10831 hardcode_into_libs=yes
10832
10833 # Append ld.so.conf contents to the search path
10834 if test -f /etc/ld.so.conf; then
10835 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' ' '`
10836 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10837 fi
10838
10839 # We used to test for /lib/ld.so.1 and disable shared libraries on
10840 # powerpc, because MkLinux only supported shared libraries with the
10841 # GNU dynamic linker. Since this was broken with cross compilers,
10842 # most powerpc-linux boxes support dynamic linking these days and
10843 # people can always --disable-shared, the test was removed, and we
10844 # assume the GNU/Linux dynamic linker is in use.
10845 dynamic_linker='GNU/Linux ld.so'
10846 ;;
10847
10848 netbsd*)
10849 version_type=sunos
10850 need_lib_prefix=no
10851 need_version=no
10852 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10854 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10855 dynamic_linker='NetBSD (a.out) ld.so'
10856 else
10857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10858 soname_spec='${libname}${release}${shared_ext}$major'
10859 dynamic_linker='NetBSD ld.elf_so'
10860 fi
10861 shlibpath_var=LD_LIBRARY_PATH
10862 shlibpath_overrides_runpath=yes
10863 hardcode_into_libs=yes
10864 ;;
10865
10866 newsos6)
10867 version_type=linux
10868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10869 shlibpath_var=LD_LIBRARY_PATH
10870 shlibpath_overrides_runpath=yes
10871 ;;
10872
10873 *nto* | *qnx*)
10874 version_type=qnx
10875 need_lib_prefix=no
10876 need_version=no
10877 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10878 soname_spec='${libname}${release}${shared_ext}$major'
10879 shlibpath_var=LD_LIBRARY_PATH
10880 shlibpath_overrides_runpath=no
10881 hardcode_into_libs=yes
10882 dynamic_linker='ldqnx.so'
10883 ;;
10884
10885 openbsd*)
10886 version_type=sunos
10887 sys_lib_dlsearch_path_spec="/usr/lib"
10888 need_lib_prefix=no
10889 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10890 case $host_os in
10891 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10892 *) need_version=no ;;
10893 esac
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10895 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10896 shlibpath_var=LD_LIBRARY_PATH
10897 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10898 case $host_os in
10899 openbsd2.[89] | openbsd2.[89].*)
10900 shlibpath_overrides_runpath=no
10901 ;;
10902 *)
10903 shlibpath_overrides_runpath=yes
10904 ;;
10905 esac
10906 else
10907 shlibpath_overrides_runpath=yes
10908 fi
10909 ;;
10910
10911 os2*)
10912 libname_spec='$name'
10913 shrext_cmds=".dll"
10914 need_lib_prefix=no
10915 library_names_spec='$libname${shared_ext} $libname.a'
10916 dynamic_linker='OS/2 ld.exe'
10917 shlibpath_var=LIBPATH
10918 ;;
10919
10920 osf3* | osf4* | osf5*)
10921 version_type=osf
10922 need_lib_prefix=no
10923 need_version=no
10924 soname_spec='${libname}${release}${shared_ext}$major'
10925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926 shlibpath_var=LD_LIBRARY_PATH
10927 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10928 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10929 ;;
10930
10931 rdos*)
10932 dynamic_linker=no
10933 ;;
10934
10935 solaris*)
10936 version_type=linux
10937 need_lib_prefix=no
10938 need_version=no
10939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10940 soname_spec='${libname}${release}${shared_ext}$major'
10941 shlibpath_var=LD_LIBRARY_PATH
10942 shlibpath_overrides_runpath=yes
10943 hardcode_into_libs=yes
10944 # ldd complains unless libraries are executable
10945 postinstall_cmds='chmod +x $lib'
10946 ;;
10947
10948 sunos4*)
10949 version_type=sunos
10950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10951 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10952 shlibpath_var=LD_LIBRARY_PATH
10953 shlibpath_overrides_runpath=yes
10954 if test "$with_gnu_ld" = yes; then
10955 need_lib_prefix=no
10956 fi
10957 need_version=yes
10958 ;;
10959
10960 sysv4 | sysv4.3*)
10961 version_type=linux
10962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10963 soname_spec='${libname}${release}${shared_ext}$major'
10964 shlibpath_var=LD_LIBRARY_PATH
10965 case $host_vendor in
10966 sni)
10967 shlibpath_overrides_runpath=no
10968 need_lib_prefix=no
10969 runpath_var=LD_RUN_PATH
10970 ;;
10971 siemens)
10972 need_lib_prefix=no
10973 ;;
10974 motorola)
10975 need_lib_prefix=no
10976 need_version=no
10977 shlibpath_overrides_runpath=no
10978 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10979 ;;
10980 esac
10981 ;;
10982
10983 sysv4*MP*)
10984 if test -d /usr/nec ;then
10985 version_type=linux
10986 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10987 soname_spec='$libname${shared_ext}.$major'
10988 shlibpath_var=LD_LIBRARY_PATH
10989 fi
10990 ;;
10991
10992 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10993 version_type=freebsd-elf
10994 need_lib_prefix=no
10995 need_version=no
10996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10997 soname_spec='${libname}${release}${shared_ext}$major'
10998 shlibpath_var=LD_LIBRARY_PATH
10999 shlibpath_overrides_runpath=yes
11000 hardcode_into_libs=yes
11001 if test "$with_gnu_ld" = yes; then
11002 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11003 else
11004 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11005 case $host_os in
11006 sco3.2v5*)
11007 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11008 ;;
11009 esac
11010 fi
11011 sys_lib_dlsearch_path_spec='/usr/lib'
11012 ;;
11013
11014 tpf*)
11015 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11016 version_type=linux
11017 need_lib_prefix=no
11018 need_version=no
11019 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11020 shlibpath_var=LD_LIBRARY_PATH
11021 shlibpath_overrides_runpath=no
11022 hardcode_into_libs=yes
11023 ;;
11024
11025 uts4*)
11026 version_type=linux
11027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11028 soname_spec='${libname}${release}${shared_ext}$major'
11029 shlibpath_var=LD_LIBRARY_PATH
11030 ;;
11031
11032 *)
11033 dynamic_linker=no
11034 ;;
11035 esac
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11037 $as_echo "$dynamic_linker" >&6; }
11038 test "$dynamic_linker" = no && can_build_shared=no
11039
11040 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11041 if test "$GCC" = yes; then
11042 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11043 fi
11044
11045 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11046 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11047 fi
11048 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11049 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11050 fi
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11144 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11145 hardcode_action=
11146 if test -n "$hardcode_libdir_flag_spec" ||
11147 test -n "$runpath_var" ||
11148 test "X$hardcode_automatic" = "Xyes" ; then
11149
11150 # We can hardcode non-existent directories.
11151 if test "$hardcode_direct" != no &&
11152 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11153 # have to relink, otherwise we might link with an installed library
11154 # when we should be linking with a yet-to-be-installed one
11155 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11156 test "$hardcode_minus_L" != no; then
11157 # Linking always hardcodes the temporary library directory.
11158 hardcode_action=relink
11159 else
11160 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11161 hardcode_action=immediate
11162 fi
11163 else
11164 # We cannot hardcode anything, or else we can only hardcode existing
11165 # directories.
11166 hardcode_action=unsupported
11167 fi
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11169 $as_echo "$hardcode_action" >&6; }
11170
11171 if test "$hardcode_action" = relink ||
11172 test "$inherit_rpath" = yes; then
11173 # Fast installation is not supported
11174 enable_fast_install=no
11175 elif test "$shlibpath_overrides_runpath" = yes ||
11176 test "$enable_shared" = no; then
11177 # Fast installation is not necessary
11178 enable_fast_install=needless
11179 fi
11180
11181
11182
11183
11184
11185
11186 if test "x$enable_dlopen" != xyes; then
11187 enable_dlopen=unknown
11188 enable_dlopen_self=unknown
11189 enable_dlopen_self_static=unknown
11190 else
11191 lt_cv_dlopen=no
11192 lt_cv_dlopen_libs=
11193
11194 case $host_os in
11195 beos*)
11196 lt_cv_dlopen="load_add_on"
11197 lt_cv_dlopen_libs=
11198 lt_cv_dlopen_self=yes
11199 ;;
11200
11201 mingw* | pw32* | cegcc*)
11202 lt_cv_dlopen="LoadLibrary"
11203 lt_cv_dlopen_libs=
11204 ;;
11205
11206 cygwin*)
11207 lt_cv_dlopen="dlopen"
11208 lt_cv_dlopen_libs=
11209 ;;
11210
11211 darwin*)
11212 # if libdl is installed we need to link against it
11213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11214 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11215 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11216 $as_echo_n "(cached) " >&6
11217 else
11218 ac_check_lib_save_LIBS=$LIBS
11219 LIBS="-ldl $LIBS"
11220 if test x$gcc_no_link = xyes; then
11221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11222 fi
11223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11225
11226 /* Override any GCC internal prototype to avoid an error.
11227 Use char because int might match the return type of a GCC
11228 builtin and then its argument prototype would still apply. */
11229 #ifdef __cplusplus
11230 extern "C"
11231 #endif
11232 char dlopen ();
11233 int
11234 main ()
11235 {
11236 return dlopen ();
11237 ;
11238 return 0;
11239 }
11240 _ACEOF
11241 if ac_fn_c_try_link "$LINENO"; then :
11242 ac_cv_lib_dl_dlopen=yes
11243 else
11244 ac_cv_lib_dl_dlopen=no
11245 fi
11246 rm -f core conftest.err conftest.$ac_objext \
11247 conftest$ac_exeext conftest.$ac_ext
11248 LIBS=$ac_check_lib_save_LIBS
11249 fi
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11251 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11252 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11253 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11254 else
11255
11256 lt_cv_dlopen="dyld"
11257 lt_cv_dlopen_libs=
11258 lt_cv_dlopen_self=yes
11259
11260 fi
11261
11262 ;;
11263
11264 *)
11265 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11266 if test "x$ac_cv_func_shl_load" = x""yes; then :
11267 lt_cv_dlopen="shl_load"
11268 else
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11270 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11271 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11272 $as_echo_n "(cached) " >&6
11273 else
11274 ac_check_lib_save_LIBS=$LIBS
11275 LIBS="-ldld $LIBS"
11276 if test x$gcc_no_link = xyes; then
11277 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11278 fi
11279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11280 /* end confdefs.h. */
11281
11282 /* Override any GCC internal prototype to avoid an error.
11283 Use char because int might match the return type of a GCC
11284 builtin and then its argument prototype would still apply. */
11285 #ifdef __cplusplus
11286 extern "C"
11287 #endif
11288 char shl_load ();
11289 int
11290 main ()
11291 {
11292 return shl_load ();
11293 ;
11294 return 0;
11295 }
11296 _ACEOF
11297 if ac_fn_c_try_link "$LINENO"; then :
11298 ac_cv_lib_dld_shl_load=yes
11299 else
11300 ac_cv_lib_dld_shl_load=no
11301 fi
11302 rm -f core conftest.err conftest.$ac_objext \
11303 conftest$ac_exeext conftest.$ac_ext
11304 LIBS=$ac_check_lib_save_LIBS
11305 fi
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11307 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11308 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11309 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11310 else
11311 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11312 if test "x$ac_cv_func_dlopen" = x""yes; then :
11313 lt_cv_dlopen="dlopen"
11314 else
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11316 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11317 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11318 $as_echo_n "(cached) " >&6
11319 else
11320 ac_check_lib_save_LIBS=$LIBS
11321 LIBS="-ldl $LIBS"
11322 if test x$gcc_no_link = xyes; then
11323 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11324 fi
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11327
11328 /* Override any GCC internal prototype to avoid an error.
11329 Use char because int might match the return type of a GCC
11330 builtin and then its argument prototype would still apply. */
11331 #ifdef __cplusplus
11332 extern "C"
11333 #endif
11334 char dlopen ();
11335 int
11336 main ()
11337 {
11338 return dlopen ();
11339 ;
11340 return 0;
11341 }
11342 _ACEOF
11343 if ac_fn_c_try_link "$LINENO"; then :
11344 ac_cv_lib_dl_dlopen=yes
11345 else
11346 ac_cv_lib_dl_dlopen=no
11347 fi
11348 rm -f core conftest.err conftest.$ac_objext \
11349 conftest$ac_exeext conftest.$ac_ext
11350 LIBS=$ac_check_lib_save_LIBS
11351 fi
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11353 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11354 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11355 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11356 else
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11358 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11359 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11360 $as_echo_n "(cached) " >&6
11361 else
11362 ac_check_lib_save_LIBS=$LIBS
11363 LIBS="-lsvld $LIBS"
11364 if test x$gcc_no_link = xyes; then
11365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11366 fi
11367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11368 /* end confdefs.h. */
11369
11370 /* Override any GCC internal prototype to avoid an error.
11371 Use char because int might match the return type of a GCC
11372 builtin and then its argument prototype would still apply. */
11373 #ifdef __cplusplus
11374 extern "C"
11375 #endif
11376 char dlopen ();
11377 int
11378 main ()
11379 {
11380 return dlopen ();
11381 ;
11382 return 0;
11383 }
11384 _ACEOF
11385 if ac_fn_c_try_link "$LINENO"; then :
11386 ac_cv_lib_svld_dlopen=yes
11387 else
11388 ac_cv_lib_svld_dlopen=no
11389 fi
11390 rm -f core conftest.err conftest.$ac_objext \
11391 conftest$ac_exeext conftest.$ac_ext
11392 LIBS=$ac_check_lib_save_LIBS
11393 fi
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11395 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11396 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11397 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11398 else
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11400 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11401 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11402 $as_echo_n "(cached) " >&6
11403 else
11404 ac_check_lib_save_LIBS=$LIBS
11405 LIBS="-ldld $LIBS"
11406 if test x$gcc_no_link = xyes; then
11407 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11408 fi
11409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11410 /* end confdefs.h. */
11411
11412 /* Override any GCC internal prototype to avoid an error.
11413 Use char because int might match the return type of a GCC
11414 builtin and then its argument prototype would still apply. */
11415 #ifdef __cplusplus
11416 extern "C"
11417 #endif
11418 char dld_link ();
11419 int
11420 main ()
11421 {
11422 return dld_link ();
11423 ;
11424 return 0;
11425 }
11426 _ACEOF
11427 if ac_fn_c_try_link "$LINENO"; then :
11428 ac_cv_lib_dld_dld_link=yes
11429 else
11430 ac_cv_lib_dld_dld_link=no
11431 fi
11432 rm -f core conftest.err conftest.$ac_objext \
11433 conftest$ac_exeext conftest.$ac_ext
11434 LIBS=$ac_check_lib_save_LIBS
11435 fi
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11437 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11438 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11439 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11440 fi
11441
11442
11443 fi
11444
11445
11446 fi
11447
11448
11449 fi
11450
11451
11452 fi
11453
11454
11455 fi
11456
11457 ;;
11458 esac
11459
11460 if test "x$lt_cv_dlopen" != xno; then
11461 enable_dlopen=yes
11462 else
11463 enable_dlopen=no
11464 fi
11465
11466 case $lt_cv_dlopen in
11467 dlopen)
11468 save_CPPFLAGS="$CPPFLAGS"
11469 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11470
11471 save_LDFLAGS="$LDFLAGS"
11472 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11473
11474 save_LIBS="$LIBS"
11475 LIBS="$lt_cv_dlopen_libs $LIBS"
11476
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11478 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11479 if test "${lt_cv_dlopen_self+set}" = set; then :
11480 $as_echo_n "(cached) " >&6
11481 else
11482 if test "$cross_compiling" = yes; then :
11483 lt_cv_dlopen_self=cross
11484 else
11485 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11486 lt_status=$lt_dlunknown
11487 cat > conftest.$ac_ext <<_LT_EOF
11488 #line 11488 "configure"
11489 #include "confdefs.h"
11490
11491 #if HAVE_DLFCN_H
11492 #include <dlfcn.h>
11493 #endif
11494
11495 #include <stdio.h>
11496
11497 #ifdef RTLD_GLOBAL
11498 # define LT_DLGLOBAL RTLD_GLOBAL
11499 #else
11500 # ifdef DL_GLOBAL
11501 # define LT_DLGLOBAL DL_GLOBAL
11502 # else
11503 # define LT_DLGLOBAL 0
11504 # endif
11505 #endif
11506
11507 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11508 find out it does not work in some platform. */
11509 #ifndef LT_DLLAZY_OR_NOW
11510 # ifdef RTLD_LAZY
11511 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11512 # else
11513 # ifdef DL_LAZY
11514 # define LT_DLLAZY_OR_NOW DL_LAZY
11515 # else
11516 # ifdef RTLD_NOW
11517 # define LT_DLLAZY_OR_NOW RTLD_NOW
11518 # else
11519 # ifdef DL_NOW
11520 # define LT_DLLAZY_OR_NOW DL_NOW
11521 # else
11522 # define LT_DLLAZY_OR_NOW 0
11523 # endif
11524 # endif
11525 # endif
11526 # endif
11527 #endif
11528
11529 /* When -fvisbility=hidden is used, assume the code has been annotated
11530 correspondingly for the symbols needed. */
11531 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11532 void fnord () __attribute__((visibility("default")));
11533 #endif
11534
11535 void fnord () { int i=42; }
11536 int main ()
11537 {
11538 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11539 int status = $lt_dlunknown;
11540
11541 if (self)
11542 {
11543 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11544 else
11545 {
11546 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11547 else puts (dlerror ());
11548 }
11549 /* dlclose (self); */
11550 }
11551 else
11552 puts (dlerror ());
11553
11554 return status;
11555 }
11556 _LT_EOF
11557 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11558 (eval $ac_link) 2>&5
11559 ac_status=$?
11560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11561 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11562 (./conftest; exit; ) >&5 2>/dev/null
11563 lt_status=$?
11564 case x$lt_status in
11565 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11566 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11567 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11568 esac
11569 else :
11570 # compilation failed
11571 lt_cv_dlopen_self=no
11572 fi
11573 fi
11574 rm -fr conftest*
11575
11576
11577 fi
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11579 $as_echo "$lt_cv_dlopen_self" >&6; }
11580
11581 if test "x$lt_cv_dlopen_self" = xyes; then
11582 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11584 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11585 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11586 $as_echo_n "(cached) " >&6
11587 else
11588 if test "$cross_compiling" = yes; then :
11589 lt_cv_dlopen_self_static=cross
11590 else
11591 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11592 lt_status=$lt_dlunknown
11593 cat > conftest.$ac_ext <<_LT_EOF
11594 #line 11594 "configure"
11595 #include "confdefs.h"
11596
11597 #if HAVE_DLFCN_H
11598 #include <dlfcn.h>
11599 #endif
11600
11601 #include <stdio.h>
11602
11603 #ifdef RTLD_GLOBAL
11604 # define LT_DLGLOBAL RTLD_GLOBAL
11605 #else
11606 # ifdef DL_GLOBAL
11607 # define LT_DLGLOBAL DL_GLOBAL
11608 # else
11609 # define LT_DLGLOBAL 0
11610 # endif
11611 #endif
11612
11613 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11614 find out it does not work in some platform. */
11615 #ifndef LT_DLLAZY_OR_NOW
11616 # ifdef RTLD_LAZY
11617 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11618 # else
11619 # ifdef DL_LAZY
11620 # define LT_DLLAZY_OR_NOW DL_LAZY
11621 # else
11622 # ifdef RTLD_NOW
11623 # define LT_DLLAZY_OR_NOW RTLD_NOW
11624 # else
11625 # ifdef DL_NOW
11626 # define LT_DLLAZY_OR_NOW DL_NOW
11627 # else
11628 # define LT_DLLAZY_OR_NOW 0
11629 # endif
11630 # endif
11631 # endif
11632 # endif
11633 #endif
11634
11635 /* When -fvisbility=hidden is used, assume the code has been annotated
11636 correspondingly for the symbols needed. */
11637 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11638 void fnord () __attribute__((visibility("default")));
11639 #endif
11640
11641 void fnord () { int i=42; }
11642 int main ()
11643 {
11644 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11645 int status = $lt_dlunknown;
11646
11647 if (self)
11648 {
11649 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11650 else
11651 {
11652 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11653 else puts (dlerror ());
11654 }
11655 /* dlclose (self); */
11656 }
11657 else
11658 puts (dlerror ());
11659
11660 return status;
11661 }
11662 _LT_EOF
11663 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11664 (eval $ac_link) 2>&5
11665 ac_status=$?
11666 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11667 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11668 (./conftest; exit; ) >&5 2>/dev/null
11669 lt_status=$?
11670 case x$lt_status in
11671 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11672 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11673 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11674 esac
11675 else :
11676 # compilation failed
11677 lt_cv_dlopen_self_static=no
11678 fi
11679 fi
11680 rm -fr conftest*
11681
11682
11683 fi
11684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11685 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11686 fi
11687
11688 CPPFLAGS="$save_CPPFLAGS"
11689 LDFLAGS="$save_LDFLAGS"
11690 LIBS="$save_LIBS"
11691 ;;
11692 esac
11693
11694 case $lt_cv_dlopen_self in
11695 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11696 *) enable_dlopen_self=unknown ;;
11697 esac
11698
11699 case $lt_cv_dlopen_self_static in
11700 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11701 *) enable_dlopen_self_static=unknown ;;
11702 esac
11703 fi
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721 striplib=
11722 old_striplib=
11723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11724 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11725 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11726 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11727 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11729 $as_echo "yes" >&6; }
11730 else
11731 # FIXME - insert some real tests, host_os isn't really good enough
11732 case $host_os in
11733 darwin*)
11734 if test -n "$STRIP" ; then
11735 striplib="$STRIP -x"
11736 old_striplib="$STRIP -S"
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11738 $as_echo "yes" >&6; }
11739 else
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11741 $as_echo "no" >&6; }
11742 fi
11743 ;;
11744 *)
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11746 $as_echo "no" >&6; }
11747 ;;
11748 esac
11749 fi
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762 # Report which library types will actually be built
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11764 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11766 $as_echo "$can_build_shared" >&6; }
11767
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11769 $as_echo_n "checking whether to build shared libraries... " >&6; }
11770 test "$can_build_shared" = "no" && enable_shared=no
11771
11772 # On AIX, shared libraries and static libraries use the same namespace, and
11773 # are all built from PIC.
11774 case $host_os in
11775 aix3*)
11776 test "$enable_shared" = yes && enable_static=no
11777 if test -n "$RANLIB"; then
11778 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11779 postinstall_cmds='$RANLIB $lib'
11780 fi
11781 ;;
11782
11783 aix[4-9]*)
11784 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11785 test "$enable_shared" = yes && enable_static=no
11786 fi
11787 ;;
11788 esac
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11790 $as_echo "$enable_shared" >&6; }
11791
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11793 $as_echo_n "checking whether to build static libraries... " >&6; }
11794 # Make sure either enable_shared or enable_static is yes.
11795 test "$enable_shared" = yes || enable_static=yes
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11797 $as_echo "$enable_static" >&6; }
11798
11799
11800
11801
11802 fi
11803 ac_ext=c
11804 ac_cpp='$CPP $CPPFLAGS'
11805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11808
11809 CC="$lt_save_CC"
11810
11811 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11812 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11813 (test "X$CXX" != "Xg++"))) ; then
11814 ac_ext=cpp
11815 ac_cpp='$CXXCPP $CPPFLAGS'
11816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11820 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11821 if test -z "$CXXCPP"; then
11822 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11823 $as_echo_n "(cached) " >&6
11824 else
11825 # Double quotes because CXXCPP needs to be expanded
11826 for CXXCPP in "$CXX -E" "/lib/cpp"
11827 do
11828 ac_preproc_ok=false
11829 for ac_cxx_preproc_warn_flag in '' yes
11830 do
11831 # Use a header file that comes with gcc, so configuring glibc
11832 # with a fresh cross-compiler works.
11833 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11834 # <limits.h> exists even on freestanding compilers.
11835 # On the NeXT, cc -E runs the code through the compiler's parser,
11836 # not just through cpp. "Syntax error" is here to catch this case.
11837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11838 /* end confdefs.h. */
11839 #ifdef __STDC__
11840 # include <limits.h>
11841 #else
11842 # include <assert.h>
11843 #endif
11844 Syntax error
11845 _ACEOF
11846 if ac_fn_cxx_try_cpp "$LINENO"; then :
11847
11848 else
11849 # Broken: fails on valid input.
11850 continue
11851 fi
11852 rm -f conftest.err conftest.$ac_ext
11853
11854 # OK, works on sane cases. Now check whether nonexistent headers
11855 # can be detected and how.
11856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11857 /* end confdefs.h. */
11858 #include <ac_nonexistent.h>
11859 _ACEOF
11860 if ac_fn_cxx_try_cpp "$LINENO"; then :
11861 # Broken: success on invalid input.
11862 continue
11863 else
11864 # Passes both tests.
11865 ac_preproc_ok=:
11866 break
11867 fi
11868 rm -f conftest.err conftest.$ac_ext
11869
11870 done
11871 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11872 rm -f conftest.err conftest.$ac_ext
11873 if $ac_preproc_ok; then :
11874 break
11875 fi
11876
11877 done
11878 ac_cv_prog_CXXCPP=$CXXCPP
11879
11880 fi
11881 CXXCPP=$ac_cv_prog_CXXCPP
11882 else
11883 ac_cv_prog_CXXCPP=$CXXCPP
11884 fi
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11886 $as_echo "$CXXCPP" >&6; }
11887 ac_preproc_ok=false
11888 for ac_cxx_preproc_warn_flag in '' yes
11889 do
11890 # Use a header file that comes with gcc, so configuring glibc
11891 # with a fresh cross-compiler works.
11892 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11893 # <limits.h> exists even on freestanding compilers.
11894 # On the NeXT, cc -E runs the code through the compiler's parser,
11895 # not just through cpp. "Syntax error" is here to catch this case.
11896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11897 /* end confdefs.h. */
11898 #ifdef __STDC__
11899 # include <limits.h>
11900 #else
11901 # include <assert.h>
11902 #endif
11903 Syntax error
11904 _ACEOF
11905 if ac_fn_cxx_try_cpp "$LINENO"; then :
11906
11907 else
11908 # Broken: fails on valid input.
11909 continue
11910 fi
11911 rm -f conftest.err conftest.$ac_ext
11912
11913 # OK, works on sane cases. Now check whether nonexistent headers
11914 # can be detected and how.
11915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11916 /* end confdefs.h. */
11917 #include <ac_nonexistent.h>
11918 _ACEOF
11919 if ac_fn_cxx_try_cpp "$LINENO"; then :
11920 # Broken: success on invalid input.
11921 continue
11922 else
11923 # Passes both tests.
11924 ac_preproc_ok=:
11925 break
11926 fi
11927 rm -f conftest.err conftest.$ac_ext
11928
11929 done
11930 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11931 rm -f conftest.err conftest.$ac_ext
11932 if $ac_preproc_ok; then :
11933
11934 else
11935 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11937 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11938 See \`config.log' for more details." "$LINENO" 5; }
11939 fi
11940
11941 ac_ext=c
11942 ac_cpp='$CPP $CPPFLAGS'
11943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11946
11947 else
11948 _lt_caught_CXX_error=yes
11949 fi
11950
11951 ac_ext=cpp
11952 ac_cpp='$CXXCPP $CPPFLAGS'
11953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11956
11957 archive_cmds_need_lc_CXX=no
11958 allow_undefined_flag_CXX=
11959 always_export_symbols_CXX=no
11960 archive_expsym_cmds_CXX=
11961 compiler_needs_object_CXX=no
11962 export_dynamic_flag_spec_CXX=
11963 hardcode_direct_CXX=no
11964 hardcode_direct_absolute_CXX=no
11965 hardcode_libdir_flag_spec_CXX=
11966 hardcode_libdir_flag_spec_ld_CXX=
11967 hardcode_libdir_separator_CXX=
11968 hardcode_minus_L_CXX=no
11969 hardcode_shlibpath_var_CXX=unsupported
11970 hardcode_automatic_CXX=no
11971 inherit_rpath_CXX=no
11972 module_cmds_CXX=
11973 module_expsym_cmds_CXX=
11974 link_all_deplibs_CXX=unknown
11975 old_archive_cmds_CXX=$old_archive_cmds
11976 reload_flag_CXX=$reload_flag
11977 reload_cmds_CXX=$reload_cmds
11978 no_undefined_flag_CXX=
11979 whole_archive_flag_spec_CXX=
11980 enable_shared_with_static_runtimes_CXX=no
11981
11982 # Source file extension for C++ test sources.
11983 ac_ext=cpp
11984
11985 # Object file extension for compiled C++ test sources.
11986 objext=o
11987 objext_CXX=$objext
11988
11989 # No sense in running all these tests if we already determined that
11990 # the CXX compiler isn't working. Some variables (like enable_shared)
11991 # are currently assumed to apply to all compilers on this platform,
11992 # and will be corrupted by setting them based on a non-working compiler.
11993 if test "$_lt_caught_CXX_error" != yes; then
11994 # Code to be used in simple compile tests
11995 lt_simple_compile_test_code="int some_variable = 0;"
11996
11997 # Code to be used in simple link tests
11998 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11999
12000 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12001
12002
12003
12004
12005
12006
12007 # If no C compiler was specified, use CC.
12008 LTCC=${LTCC-"$CC"}
12009
12010 # If no C compiler flags were specified, use CFLAGS.
12011 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12012
12013 # Allow CC to be a program name with arguments.
12014 compiler=$CC
12015
12016
12017 # save warnings/boilerplate of simple test code
12018 ac_outfile=conftest.$ac_objext
12019 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12020 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12021 _lt_compiler_boilerplate=`cat conftest.err`
12022 $RM conftest*
12023
12024 ac_outfile=conftest.$ac_objext
12025 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12026 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12027 _lt_linker_boilerplate=`cat conftest.err`
12028 $RM -r conftest*
12029
12030
12031 # Allow CC to be a program name with arguments.
12032 lt_save_CC=$CC
12033 lt_save_LD=$LD
12034 lt_save_GCC=$GCC
12035 GCC=$GXX
12036 lt_save_with_gnu_ld=$with_gnu_ld
12037 lt_save_path_LD=$lt_cv_path_LD
12038 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12039 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12040 else
12041 $as_unset lt_cv_prog_gnu_ld
12042 fi
12043 if test -n "${lt_cv_path_LDCXX+set}"; then
12044 lt_cv_path_LD=$lt_cv_path_LDCXX
12045 else
12046 $as_unset lt_cv_path_LD
12047 fi
12048 test -z "${LDCXX+set}" || LD=$LDCXX
12049 CC=${CXX-"c++"}
12050 compiler=$CC
12051 compiler_CXX=$CC
12052 for cc_temp in $compiler""; do
12053 case $cc_temp in
12054 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12055 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12056 \-*) ;;
12057 *) break;;
12058 esac
12059 done
12060 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12061
12062
12063 if test -n "$compiler"; then
12064 # We don't want -fno-exception when compiling C++ code, so set the
12065 # no_builtin_flag separately
12066 if test "$GXX" = yes; then
12067 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12068 else
12069 lt_prog_compiler_no_builtin_flag_CXX=
12070 fi
12071
12072 if test "$GXX" = yes; then
12073 # Set up default GNU C++ configuration
12074
12075
12076
12077 # Check whether --with-gnu-ld was given.
12078 if test "${with_gnu_ld+set}" = set; then :
12079 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12080 else
12081 with_gnu_ld=no
12082 fi
12083
12084 ac_prog=ld
12085 if test "$GCC" = yes; then
12086 # Check if gcc -print-prog-name=ld gives a path.
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12088 $as_echo_n "checking for ld used by $CC... " >&6; }
12089 case $host in
12090 *-*-mingw*)
12091 # gcc leaves a trailing carriage return which upsets mingw
12092 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12093 *)
12094 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12095 esac
12096 case $ac_prog in
12097 # Accept absolute paths.
12098 [\\/]* | ?:[\\/]*)
12099 re_direlt='/[^/][^/]*/\.\./'
12100 # Canonicalize the pathname of ld
12101 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12102 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12103 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12104 done
12105 test -z "$LD" && LD="$ac_prog"
12106 ;;
12107 "")
12108 # If it fails, then pretend we aren't using GCC.
12109 ac_prog=ld
12110 ;;
12111 *)
12112 # If it is relative, then search for the first ld in PATH.
12113 with_gnu_ld=unknown
12114 ;;
12115 esac
12116 elif test "$with_gnu_ld" = yes; then
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12118 $as_echo_n "checking for GNU ld... " >&6; }
12119 else
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12121 $as_echo_n "checking for non-GNU ld... " >&6; }
12122 fi
12123 if test "${lt_cv_path_LD+set}" = set; then :
12124 $as_echo_n "(cached) " >&6
12125 else
12126 if test -z "$LD"; then
12127 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12128 for ac_dir in $PATH; do
12129 IFS="$lt_save_ifs"
12130 test -z "$ac_dir" && ac_dir=.
12131 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12132 lt_cv_path_LD="$ac_dir/$ac_prog"
12133 # Check to see if the program is GNU ld. I'd rather use --version,
12134 # but apparently some variants of GNU ld only accept -v.
12135 # Break only if it was the GNU/non-GNU ld that we prefer.
12136 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12137 *GNU* | *'with BFD'*)
12138 test "$with_gnu_ld" != no && break
12139 ;;
12140 *)
12141 test "$with_gnu_ld" != yes && break
12142 ;;
12143 esac
12144 fi
12145 done
12146 IFS="$lt_save_ifs"
12147 else
12148 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12149 fi
12150 fi
12151
12152 LD="$lt_cv_path_LD"
12153 if test -n "$LD"; then
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12155 $as_echo "$LD" >&6; }
12156 else
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12158 $as_echo "no" >&6; }
12159 fi
12160 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12162 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12163 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12164 $as_echo_n "(cached) " >&6
12165 else
12166 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12167 case `$LD -v 2>&1 </dev/null` in
12168 *GNU* | *'with BFD'*)
12169 lt_cv_prog_gnu_ld=yes
12170 ;;
12171 *)
12172 lt_cv_prog_gnu_ld=no
12173 ;;
12174 esac
12175 fi
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12177 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12178 with_gnu_ld=$lt_cv_prog_gnu_ld
12179
12180
12181
12182
12183
12184
12185
12186 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12187 # archiving commands below assume that GNU ld is being used.
12188 if test "$with_gnu_ld" = yes; then
12189 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12190 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'
12191
12192 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12193 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12194
12195 # If archive_cmds runs LD, not CC, wlarc should be empty
12196 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12197 # investigate it a little bit more. (MM)
12198 wlarc='${wl}'
12199
12200 # ancient GNU ld didn't support --whole-archive et. al.
12201 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12202 $GREP 'no-whole-archive' > /dev/null; then
12203 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12204 else
12205 whole_archive_flag_spec_CXX=
12206 fi
12207 else
12208 with_gnu_ld=no
12209 wlarc=
12210
12211 # A generic and very simple default shared library creation
12212 # command for GNU C++ for the case where it uses the native
12213 # linker, instead of GNU ld. If possible, this setting should
12214 # overridden to take advantage of the native linker features on
12215 # the platform it is being used on.
12216 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12217 fi
12218
12219 # Commands to make compiler produce verbose output that lists
12220 # what "hidden" libraries, object files and flags are used when
12221 # linking a shared library.
12222 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12223
12224 else
12225 GXX=no
12226 with_gnu_ld=no
12227 wlarc=
12228 fi
12229
12230 # PORTME: fill in a description of your system's C++ link characteristics
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12232 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12233 ld_shlibs_CXX=yes
12234 case $host_os in
12235 aix3*)
12236 # FIXME: insert proper C++ library support
12237 ld_shlibs_CXX=no
12238 ;;
12239 aix[4-9]*)
12240 if test "$host_cpu" = ia64; then
12241 # On IA64, the linker does run time linking by default, so we don't
12242 # have to do anything special.
12243 aix_use_runtimelinking=no
12244 exp_sym_flag='-Bexport'
12245 no_entry_flag=""
12246 else
12247 aix_use_runtimelinking=no
12248
12249 # Test if we are trying to use run time linking or normal
12250 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12251 # need to do runtime linking.
12252 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12253 for ld_flag in $LDFLAGS; do
12254 case $ld_flag in
12255 *-brtl*)
12256 aix_use_runtimelinking=yes
12257 break
12258 ;;
12259 esac
12260 done
12261 ;;
12262 esac
12263
12264 exp_sym_flag='-bexport'
12265 no_entry_flag='-bnoentry'
12266 fi
12267
12268 # When large executables or shared objects are built, AIX ld can
12269 # have problems creating the table of contents. If linking a library
12270 # or program results in "error TOC overflow" add -mminimal-toc to
12271 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12272 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12273
12274 archive_cmds_CXX=''
12275 hardcode_direct_CXX=yes
12276 hardcode_direct_absolute_CXX=yes
12277 hardcode_libdir_separator_CXX=':'
12278 link_all_deplibs_CXX=yes
12279 file_list_spec_CXX='${wl}-f,'
12280
12281 if test "$GXX" = yes; then
12282 case $host_os in aix4.[012]|aix4.[012].*)
12283 # We only want to do this on AIX 4.2 and lower, the check
12284 # below for broken collect2 doesn't work under 4.3+
12285 collect2name=`${CC} -print-prog-name=collect2`
12286 if test -f "$collect2name" &&
12287 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12288 then
12289 # We have reworked collect2
12290 :
12291 else
12292 # We have old collect2
12293 hardcode_direct_CXX=unsupported
12294 # It fails to find uninstalled libraries when the uninstalled
12295 # path is not listed in the libpath. Setting hardcode_minus_L
12296 # to unsupported forces relinking
12297 hardcode_minus_L_CXX=yes
12298 hardcode_libdir_flag_spec_CXX='-L$libdir'
12299 hardcode_libdir_separator_CXX=
12300 fi
12301 esac
12302 shared_flag='-shared'
12303 if test "$aix_use_runtimelinking" = yes; then
12304 shared_flag="$shared_flag "'${wl}-G'
12305 fi
12306 else
12307 # not using gcc
12308 if test "$host_cpu" = ia64; then
12309 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12310 # chokes on -Wl,-G. The following line is correct:
12311 shared_flag='-G'
12312 else
12313 if test "$aix_use_runtimelinking" = yes; then
12314 shared_flag='${wl}-G'
12315 else
12316 shared_flag='${wl}-bM:SRE'
12317 fi
12318 fi
12319 fi
12320
12321 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12322 # It seems that -bexpall does not export symbols beginning with
12323 # underscore (_), so it is better to generate a list of symbols to
12324 # export.
12325 always_export_symbols_CXX=yes
12326 if test "$aix_use_runtimelinking" = yes; then
12327 # Warning - without using the other runtime loading flags (-brtl),
12328 # -berok will link without error, but may produce a broken library.
12329 allow_undefined_flag_CXX='-berok'
12330 # Determine the default libpath from the value encoded in an empty
12331 # executable.
12332 if test x$gcc_no_link = xyes; then
12333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12334 fi
12335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12336 /* end confdefs.h. */
12337
12338 int
12339 main ()
12340 {
12341
12342 ;
12343 return 0;
12344 }
12345 _ACEOF
12346 if ac_fn_cxx_try_link "$LINENO"; then :
12347
12348 lt_aix_libpath_sed='
12349 /Import File Strings/,/^$/ {
12350 /^0/ {
12351 s/^0 *\(.*\)$/\1/
12352 p
12353 }
12354 }'
12355 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12356 # Check for a 64-bit object if we didn't find anything.
12357 if test -z "$aix_libpath"; then
12358 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12359 fi
12360 fi
12361 rm -f core conftest.err conftest.$ac_objext \
12362 conftest$ac_exeext conftest.$ac_ext
12363 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12364
12365 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12366
12367 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"
12368 else
12369 if test "$host_cpu" = ia64; then
12370 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12371 allow_undefined_flag_CXX="-z nodefs"
12372 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"
12373 else
12374 # Determine the default libpath from the value encoded in an
12375 # empty executable.
12376 if test x$gcc_no_link = xyes; then
12377 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12378 fi
12379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12380 /* end confdefs.h. */
12381
12382 int
12383 main ()
12384 {
12385
12386 ;
12387 return 0;
12388 }
12389 _ACEOF
12390 if ac_fn_cxx_try_link "$LINENO"; then :
12391
12392 lt_aix_libpath_sed='
12393 /Import File Strings/,/^$/ {
12394 /^0/ {
12395 s/^0 *\(.*\)$/\1/
12396 p
12397 }
12398 }'
12399 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12400 # Check for a 64-bit object if we didn't find anything.
12401 if test -z "$aix_libpath"; then
12402 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12403 fi
12404 fi
12405 rm -f core conftest.err conftest.$ac_objext \
12406 conftest$ac_exeext conftest.$ac_ext
12407 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12408
12409 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12410 # Warning - without using the other run time loading flags,
12411 # -berok will link without error, but may produce a broken library.
12412 no_undefined_flag_CXX=' ${wl}-bernotok'
12413 allow_undefined_flag_CXX=' ${wl}-berok'
12414 if test "$with_gnu_ld" = yes; then
12415 # We only use this code for GNU lds that support --whole-archive.
12416 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12417 else
12418 # Exported symbols can be pulled into shared objects from archives
12419 whole_archive_flag_spec_CXX='$convenience'
12420 fi
12421 archive_cmds_need_lc_CXX=yes
12422 # This is similar to how AIX traditionally builds its shared
12423 # libraries.
12424 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'
12425 fi
12426 fi
12427 ;;
12428
12429 beos*)
12430 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12431 allow_undefined_flag_CXX=unsupported
12432 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12433 # support --undefined. This deserves some investigation. FIXME
12434 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12435 else
12436 ld_shlibs_CXX=no
12437 fi
12438 ;;
12439
12440 chorus*)
12441 case $cc_basename in
12442 *)
12443 # FIXME: insert proper C++ library support
12444 ld_shlibs_CXX=no
12445 ;;
12446 esac
12447 ;;
12448
12449 cygwin* | mingw* | pw32* | cegcc*)
12450 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12451 # as there is no search path for DLLs.
12452 hardcode_libdir_flag_spec_CXX='-L$libdir'
12453 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12454 allow_undefined_flag_CXX=unsupported
12455 always_export_symbols_CXX=no
12456 enable_shared_with_static_runtimes_CXX=yes
12457
12458 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12459 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'
12460 # If the export-symbols file already is a .def file (1st line
12461 # is EXPORTS), use it as is; otherwise, prepend...
12462 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12463 cp $export_symbols $output_objdir/$soname.def;
12464 else
12465 echo EXPORTS > $output_objdir/$soname.def;
12466 cat $export_symbols >> $output_objdir/$soname.def;
12467 fi~
12468 $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'
12469 else
12470 ld_shlibs_CXX=no
12471 fi
12472 ;;
12473 darwin* | rhapsody*)
12474
12475
12476 archive_cmds_need_lc_CXX=no
12477 hardcode_direct_CXX=no
12478 hardcode_automatic_CXX=yes
12479 hardcode_shlibpath_var_CXX=unsupported
12480 if test "$lt_cv_ld_force_load" = "yes"; then
12481 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\"`'
12482 else
12483 whole_archive_flag_spec_CXX=''
12484 fi
12485 link_all_deplibs_CXX=yes
12486 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12487 case $cc_basename in
12488 ifort*) _lt_dar_can_shared=yes ;;
12489 *) _lt_dar_can_shared=$GCC ;;
12490 esac
12491 if test "$_lt_dar_can_shared" = "yes"; then
12492 output_verbose_link_cmd=func_echo_all
12493 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}"
12494 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12495 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}"
12496 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}"
12497 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12498 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}"
12499 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}"
12500 fi
12501
12502 else
12503 ld_shlibs_CXX=no
12504 fi
12505
12506 ;;
12507
12508 dgux*)
12509 case $cc_basename in
12510 ec++*)
12511 # FIXME: insert proper C++ library support
12512 ld_shlibs_CXX=no
12513 ;;
12514 ghcx*)
12515 # Green Hills C++ Compiler
12516 # FIXME: insert proper C++ library support
12517 ld_shlibs_CXX=no
12518 ;;
12519 *)
12520 # FIXME: insert proper C++ library support
12521 ld_shlibs_CXX=no
12522 ;;
12523 esac
12524 ;;
12525
12526 freebsd[12]*)
12527 # C++ shared libraries reported to be fairly broken before
12528 # switch to ELF
12529 ld_shlibs_CXX=no
12530 ;;
12531
12532 freebsd-elf*)
12533 archive_cmds_need_lc_CXX=no
12534 ;;
12535
12536 freebsd* | dragonfly*)
12537 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12538 # conventions
12539 ld_shlibs_CXX=yes
12540 ;;
12541
12542 gnu*)
12543 ;;
12544
12545 haiku*)
12546 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12547 link_all_deplibs_CXX=yes
12548 ;;
12549
12550 hpux9*)
12551 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12552 hardcode_libdir_separator_CXX=:
12553 export_dynamic_flag_spec_CXX='${wl}-E'
12554 hardcode_direct_CXX=yes
12555 hardcode_minus_L_CXX=yes # Not in the search PATH,
12556 # but as the default
12557 # location of the library.
12558
12559 case $cc_basename in
12560 CC*)
12561 # FIXME: insert proper C++ library support
12562 ld_shlibs_CXX=no
12563 ;;
12564 aCC*)
12565 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'
12566 # Commands to make compiler produce verbose output that lists
12567 # what "hidden" libraries, object files and flags are used when
12568 # linking a shared library.
12569 #
12570 # There doesn't appear to be a way to prevent this compiler from
12571 # explicitly linking system object files so we need to strip them
12572 # from the output so that they don't get included in the library
12573 # dependencies.
12574 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"'
12575 ;;
12576 *)
12577 if test "$GXX" = yes; then
12578 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'
12579 else
12580 # FIXME: insert proper C++ library support
12581 ld_shlibs_CXX=no
12582 fi
12583 ;;
12584 esac
12585 ;;
12586
12587 hpux10*|hpux11*)
12588 if test $with_gnu_ld = no; then
12589 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12590 hardcode_libdir_separator_CXX=:
12591
12592 case $host_cpu in
12593 hppa*64*|ia64*)
12594 ;;
12595 *)
12596 export_dynamic_flag_spec_CXX='${wl}-E'
12597 ;;
12598 esac
12599 fi
12600 case $host_cpu in
12601 hppa*64*|ia64*)
12602 hardcode_direct_CXX=no
12603 hardcode_shlibpath_var_CXX=no
12604 ;;
12605 *)
12606 hardcode_direct_CXX=yes
12607 hardcode_direct_absolute_CXX=yes
12608 hardcode_minus_L_CXX=yes # Not in the search PATH,
12609 # but as the default
12610 # location of the library.
12611 ;;
12612 esac
12613
12614 case $cc_basename in
12615 CC*)
12616 # FIXME: insert proper C++ library support
12617 ld_shlibs_CXX=no
12618 ;;
12619 aCC*)
12620 case $host_cpu in
12621 hppa*64*)
12622 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12623 ;;
12624 ia64*)
12625 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12626 ;;
12627 *)
12628 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12629 ;;
12630 esac
12631 # Commands to make compiler produce verbose output that lists
12632 # what "hidden" libraries, object files and flags are used when
12633 # linking a shared library.
12634 #
12635 # There doesn't appear to be a way to prevent this compiler from
12636 # explicitly linking system object files so we need to strip them
12637 # from the output so that they don't get included in the library
12638 # dependencies.
12639 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"'
12640 ;;
12641 *)
12642 if test "$GXX" = yes; then
12643 if test $with_gnu_ld = no; then
12644 case $host_cpu in
12645 hppa*64*)
12646 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12647 ;;
12648 ia64*)
12649 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12650 ;;
12651 *)
12652 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'
12653 ;;
12654 esac
12655 fi
12656 else
12657 # FIXME: insert proper C++ library support
12658 ld_shlibs_CXX=no
12659 fi
12660 ;;
12661 esac
12662 ;;
12663
12664 interix[3-9]*)
12665 hardcode_direct_CXX=no
12666 hardcode_shlibpath_var_CXX=no
12667 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12668 export_dynamic_flag_spec_CXX='${wl}-E'
12669 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12670 # Instead, shared libraries are loaded at an image base (0x10000000 by
12671 # default) and relocated if they conflict, which is a slow very memory
12672 # consuming and fragmenting process. To avoid this, we pick a random,
12673 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12674 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12675 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'
12676 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'
12677 ;;
12678 irix5* | irix6*)
12679 case $cc_basename in
12680 CC*)
12681 # SGI C++
12682 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'
12683
12684 # Archives containing C++ object files must be created using
12685 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12686 # necessary to make sure instantiated templates are included
12687 # in the archive.
12688 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12689 ;;
12690 *)
12691 if test "$GXX" = yes; then
12692 if test "$with_gnu_ld" = no; then
12693 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'
12694 else
12695 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'
12696 fi
12697 fi
12698 link_all_deplibs_CXX=yes
12699 ;;
12700 esac
12701 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12702 hardcode_libdir_separator_CXX=:
12703 inherit_rpath_CXX=yes
12704 ;;
12705
12706 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12707 case $cc_basename in
12708 KCC*)
12709 # Kuck and Associates, Inc. (KAI) C++ Compiler
12710
12711 # KCC will only create a shared library if the output file
12712 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12713 # to its proper name (with version) after linking.
12714 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'
12715 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'
12716 # Commands to make compiler produce verbose output that lists
12717 # what "hidden" libraries, object files and flags are used when
12718 # linking a shared library.
12719 #
12720 # There doesn't appear to be a way to prevent this compiler from
12721 # explicitly linking system object files so we need to strip them
12722 # from the output so that they don't get included in the library
12723 # dependencies.
12724 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"'
12725
12726 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12727 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12728
12729 # Archives containing C++ object files must be created using
12730 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12731 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12732 ;;
12733 icpc* | ecpc* )
12734 # Intel C++
12735 with_gnu_ld=yes
12736 # version 8.0 and above of icpc choke on multiply defined symbols
12737 # if we add $predep_objects and $postdep_objects, however 7.1 and
12738 # earlier do not add the objects themselves.
12739 case `$CC -V 2>&1` in
12740 *"Version 7."*)
12741 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12742 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'
12743 ;;
12744 *) # Version 8.0 or newer
12745 tmp_idyn=
12746 case $host_cpu in
12747 ia64*) tmp_idyn=' -i_dynamic';;
12748 esac
12749 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12750 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'
12751 ;;
12752 esac
12753 archive_cmds_need_lc_CXX=no
12754 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12755 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12756 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12757 ;;
12758 pgCC* | pgcpp*)
12759 # Portland Group C++ compiler
12760 case `$CC -V` in
12761 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12762 prelink_cmds_CXX='tpldir=Template.dir~
12763 rm -rf $tpldir~
12764 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12765 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12766 old_archive_cmds_CXX='tpldir=Template.dir~
12767 rm -rf $tpldir~
12768 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12769 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12770 $RANLIB $oldlib'
12771 archive_cmds_CXX='tpldir=Template.dir~
12772 rm -rf $tpldir~
12773 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12774 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12775 archive_expsym_cmds_CXX='tpldir=Template.dir~
12776 rm -rf $tpldir~
12777 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12778 $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'
12779 ;;
12780 *) # Version 6 and above use weak symbols
12781 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12782 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'
12783 ;;
12784 esac
12785
12786 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12787 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12788 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'
12789 ;;
12790 cxx*)
12791 # Compaq C++
12792 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12793 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'
12794
12795 runpath_var=LD_RUN_PATH
12796 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12797 hardcode_libdir_separator_CXX=:
12798
12799 # Commands to make compiler produce verbose output that lists
12800 # what "hidden" libraries, object files and flags are used when
12801 # linking a shared library.
12802 #
12803 # There doesn't appear to be a way to prevent this compiler from
12804 # explicitly linking system object files so we need to strip them
12805 # from the output so that they don't get included in the library
12806 # dependencies.
12807 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'
12808 ;;
12809 xl* | mpixl* | bgxl*)
12810 # IBM XL 8.0 on PPC, with GNU ld
12811 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12812 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12813 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12814 if test "x$supports_anon_versioning" = xyes; then
12815 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12816 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12817 echo "local: *; };" >> $output_objdir/$libname.ver~
12818 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12819 fi
12820 ;;
12821 *)
12822 case `$CC -V 2>&1 | sed 5q` in
12823 *Sun\ C*)
12824 # Sun C++ 5.9
12825 no_undefined_flag_CXX=' -zdefs'
12826 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12827 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'
12828 hardcode_libdir_flag_spec_CXX='-R$libdir'
12829 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'
12830 compiler_needs_object_CXX=yes
12831
12832 # Not sure whether something based on
12833 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12834 # would be better.
12835 output_verbose_link_cmd='func_echo_all'
12836
12837 # Archives containing C++ object files must be created using
12838 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12839 # necessary to make sure instantiated templates are included
12840 # in the archive.
12841 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12842 ;;
12843 esac
12844 ;;
12845 esac
12846 ;;
12847
12848 lynxos*)
12849 # FIXME: insert proper C++ library support
12850 ld_shlibs_CXX=no
12851 ;;
12852
12853 m88k*)
12854 # FIXME: insert proper C++ library support
12855 ld_shlibs_CXX=no
12856 ;;
12857
12858 mvs*)
12859 case $cc_basename in
12860 cxx*)
12861 # FIXME: insert proper C++ library support
12862 ld_shlibs_CXX=no
12863 ;;
12864 *)
12865 # FIXME: insert proper C++ library support
12866 ld_shlibs_CXX=no
12867 ;;
12868 esac
12869 ;;
12870
12871 netbsd*)
12872 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12873 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12874 wlarc=
12875 hardcode_libdir_flag_spec_CXX='-R$libdir'
12876 hardcode_direct_CXX=yes
12877 hardcode_shlibpath_var_CXX=no
12878 fi
12879 # Workaround some broken pre-1.5 toolchains
12880 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12881 ;;
12882
12883 *nto* | *qnx*)
12884 ld_shlibs_CXX=yes
12885 ;;
12886
12887 openbsd2*)
12888 # C++ shared libraries are fairly broken
12889 ld_shlibs_CXX=no
12890 ;;
12891
12892 openbsd*)
12893 if test -f /usr/libexec/ld.so; then
12894 hardcode_direct_CXX=yes
12895 hardcode_shlibpath_var_CXX=no
12896 hardcode_direct_absolute_CXX=yes
12897 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12898 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12899 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12900 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12901 export_dynamic_flag_spec_CXX='${wl}-E'
12902 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12903 fi
12904 output_verbose_link_cmd=func_echo_all
12905 else
12906 ld_shlibs_CXX=no
12907 fi
12908 ;;
12909
12910 osf3* | osf4* | osf5*)
12911 case $cc_basename in
12912 KCC*)
12913 # Kuck and Associates, Inc. (KAI) C++ Compiler
12914
12915 # KCC will only create a shared library if the output file
12916 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12917 # to its proper name (with version) after linking.
12918 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'
12919
12920 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12921 hardcode_libdir_separator_CXX=:
12922
12923 # Archives containing C++ object files must be created using
12924 # the KAI C++ compiler.
12925 case $host in
12926 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12927 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12928 esac
12929 ;;
12930 RCC*)
12931 # Rational C++ 2.4.1
12932 # FIXME: insert proper C++ library support
12933 ld_shlibs_CXX=no
12934 ;;
12935 cxx*)
12936 case $host in
12937 osf3*)
12938 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12939 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'
12940 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12941 ;;
12942 *)
12943 allow_undefined_flag_CXX=' -expect_unresolved \*'
12944 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'
12945 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12946 echo "-hidden">> $lib.exp~
12947 $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~
12948 $RM $lib.exp'
12949 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12950 ;;
12951 esac
12952
12953 hardcode_libdir_separator_CXX=:
12954
12955 # Commands to make compiler produce verbose output that lists
12956 # what "hidden" libraries, object files and flags are used when
12957 # linking a shared library.
12958 #
12959 # There doesn't appear to be a way to prevent this compiler from
12960 # explicitly linking system object files so we need to strip them
12961 # from the output so that they don't get included in the library
12962 # dependencies.
12963 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"'
12964 ;;
12965 *)
12966 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12967 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12968 case $host in
12969 osf3*)
12970 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'
12971 ;;
12972 *)
12973 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'
12974 ;;
12975 esac
12976
12977 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12978 hardcode_libdir_separator_CXX=:
12979
12980 # Commands to make compiler produce verbose output that lists
12981 # what "hidden" libraries, object files and flags are used when
12982 # linking a shared library.
12983 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12984
12985 else
12986 # FIXME: insert proper C++ library support
12987 ld_shlibs_CXX=no
12988 fi
12989 ;;
12990 esac
12991 ;;
12992
12993 psos*)
12994 # FIXME: insert proper C++ library support
12995 ld_shlibs_CXX=no
12996 ;;
12997
12998 sunos4*)
12999 case $cc_basename in
13000 CC*)
13001 # Sun C++ 4.x
13002 # FIXME: insert proper C++ library support
13003 ld_shlibs_CXX=no
13004 ;;
13005 lcc*)
13006 # Lucid
13007 # FIXME: insert proper C++ library support
13008 ld_shlibs_CXX=no
13009 ;;
13010 *)
13011 # FIXME: insert proper C++ library support
13012 ld_shlibs_CXX=no
13013 ;;
13014 esac
13015 ;;
13016
13017 solaris*)
13018 case $cc_basename in
13019 CC*)
13020 # Sun C++ 4.2, 5.x and Centerline C++
13021 archive_cmds_need_lc_CXX=yes
13022 no_undefined_flag_CXX=' -zdefs'
13023 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13024 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13025 $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'
13026
13027 hardcode_libdir_flag_spec_CXX='-R$libdir'
13028 hardcode_shlibpath_var_CXX=no
13029 case $host_os in
13030 solaris2.[0-5] | solaris2.[0-5].*) ;;
13031 *)
13032 # The compiler driver will combine and reorder linker options,
13033 # but understands `-z linker_flag'.
13034 # Supported since Solaris 2.6 (maybe 2.5.1?)
13035 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13036 ;;
13037 esac
13038 link_all_deplibs_CXX=yes
13039
13040 output_verbose_link_cmd='func_echo_all'
13041
13042 # Archives containing C++ object files must be created using
13043 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13044 # necessary to make sure instantiated templates are included
13045 # in the archive.
13046 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13047 ;;
13048 gcx*)
13049 # Green Hills C++ Compiler
13050 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13051
13052 # The C++ compiler must be used to create the archive.
13053 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13054 ;;
13055 *)
13056 # GNU C++ compiler with Solaris linker
13057 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13058 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13059 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13060 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13061 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13062 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13063
13064 # Commands to make compiler produce verbose output that lists
13065 # what "hidden" libraries, object files and flags are used when
13066 # linking a shared library.
13067 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13068 else
13069 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13070 # platform.
13071 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13072 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13073 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13074
13075 # Commands to make compiler produce verbose output that lists
13076 # what "hidden" libraries, object files and flags are used when
13077 # linking a shared library.
13078 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13079 fi
13080
13081 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13082 case $host_os in
13083 solaris2.[0-5] | solaris2.[0-5].*) ;;
13084 *)
13085 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13086 ;;
13087 esac
13088 fi
13089 ;;
13090 esac
13091 ;;
13092
13093 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13094 no_undefined_flag_CXX='${wl}-z,text'
13095 archive_cmds_need_lc_CXX=no
13096 hardcode_shlibpath_var_CXX=no
13097 runpath_var='LD_RUN_PATH'
13098
13099 case $cc_basename in
13100 CC*)
13101 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13102 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13103 ;;
13104 *)
13105 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13106 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13107 ;;
13108 esac
13109 ;;
13110
13111 sysv5* | sco3.2v5* | sco5v6*)
13112 # Note: We can NOT use -z defs as we might desire, because we do not
13113 # link with -lc, and that would cause any symbols used from libc to
13114 # always be unresolved, which means just about no library would
13115 # ever link correctly. If we're not using GNU ld we use -z text
13116 # though, which does catch some bad symbols but isn't as heavy-handed
13117 # as -z defs.
13118 no_undefined_flag_CXX='${wl}-z,text'
13119 allow_undefined_flag_CXX='${wl}-z,nodefs'
13120 archive_cmds_need_lc_CXX=no
13121 hardcode_shlibpath_var_CXX=no
13122 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13123 hardcode_libdir_separator_CXX=':'
13124 link_all_deplibs_CXX=yes
13125 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13126 runpath_var='LD_RUN_PATH'
13127
13128 case $cc_basename in
13129 CC*)
13130 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13131 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13132 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13133 '"$old_archive_cmds_CXX"
13134 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13135 '"$reload_cmds_CXX"
13136 ;;
13137 *)
13138 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13139 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13140 ;;
13141 esac
13142 ;;
13143
13144 tandem*)
13145 case $cc_basename in
13146 NCC*)
13147 # NonStop-UX NCC 3.20
13148 # FIXME: insert proper C++ library support
13149 ld_shlibs_CXX=no
13150 ;;
13151 *)
13152 # FIXME: insert proper C++ library support
13153 ld_shlibs_CXX=no
13154 ;;
13155 esac
13156 ;;
13157
13158 vxworks*)
13159 # FIXME: insert proper C++ library support
13160 ld_shlibs_CXX=no
13161 ;;
13162
13163 *)
13164 # FIXME: insert proper C++ library support
13165 ld_shlibs_CXX=no
13166 ;;
13167 esac
13168
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13170 $as_echo "$ld_shlibs_CXX" >&6; }
13171 test "$ld_shlibs_CXX" = no && can_build_shared=no
13172
13173 GCC_CXX="$GXX"
13174 LD_CXX="$LD"
13175
13176 ## CAVEAT EMPTOR:
13177 ## There is no encapsulation within the following macros, do not change
13178 ## the running order or otherwise move them around unless you know exactly
13179 ## what you are doing...
13180 # Dependencies to place before and after the object being linked:
13181 predep_objects_CXX=
13182 postdep_objects_CXX=
13183 predeps_CXX=
13184 postdeps_CXX=
13185 compiler_lib_search_path_CXX=
13186
13187 cat > conftest.$ac_ext <<_LT_EOF
13188 class Foo
13189 {
13190 public:
13191 Foo (void) { a = 0; }
13192 private:
13193 int a;
13194 };
13195 _LT_EOF
13196
13197 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13198 (eval $ac_compile) 2>&5
13199 ac_status=$?
13200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13201 test $ac_status = 0; }; then
13202 # Parse the compiler output and extract the necessary
13203 # objects, libraries and library flags.
13204
13205 # Sentinel used to keep track of whether or not we are before
13206 # the conftest object file.
13207 pre_test_object_deps_done=no
13208
13209 for p in `eval "$output_verbose_link_cmd"`; do
13210 case $p in
13211
13212 -L* | -R* | -l*)
13213 # Some compilers place space between "-{L,R}" and the path.
13214 # Remove the space.
13215 if test $p = "-L" ||
13216 test $p = "-R"; then
13217 prev=$p
13218 continue
13219 else
13220 prev=
13221 fi
13222
13223 if test "$pre_test_object_deps_done" = no; then
13224 case $p in
13225 -L* | -R*)
13226 # Internal compiler library paths should come after those
13227 # provided the user. The postdeps already come after the
13228 # user supplied libs so there is no need to process them.
13229 if test -z "$compiler_lib_search_path_CXX"; then
13230 compiler_lib_search_path_CXX="${prev}${p}"
13231 else
13232 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13233 fi
13234 ;;
13235 # The "-l" case would never come before the object being
13236 # linked, so don't bother handling this case.
13237 esac
13238 else
13239 if test -z "$postdeps_CXX"; then
13240 postdeps_CXX="${prev}${p}"
13241 else
13242 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13243 fi
13244 fi
13245 ;;
13246
13247 *.$objext)
13248 # This assumes that the test object file only shows up
13249 # once in the compiler output.
13250 if test "$p" = "conftest.$objext"; then
13251 pre_test_object_deps_done=yes
13252 continue
13253 fi
13254
13255 if test "$pre_test_object_deps_done" = no; then
13256 if test -z "$predep_objects_CXX"; then
13257 predep_objects_CXX="$p"
13258 else
13259 predep_objects_CXX="$predep_objects_CXX $p"
13260 fi
13261 else
13262 if test -z "$postdep_objects_CXX"; then
13263 postdep_objects_CXX="$p"
13264 else
13265 postdep_objects_CXX="$postdep_objects_CXX $p"
13266 fi
13267 fi
13268 ;;
13269
13270 *) ;; # Ignore the rest.
13271
13272 esac
13273 done
13274
13275 # Clean up.
13276 rm -f a.out a.exe
13277 else
13278 echo "libtool.m4: error: problem compiling CXX test program"
13279 fi
13280
13281 $RM -f confest.$objext
13282
13283 # PORTME: override above test on systems where it is broken
13284 case $host_os in
13285 interix[3-9]*)
13286 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13287 # hack all around it, let's just trust "g++" to DTRT.
13288 predep_objects_CXX=
13289 postdep_objects_CXX=
13290 postdeps_CXX=
13291 ;;
13292
13293 linux*)
13294 case `$CC -V 2>&1 | sed 5q` in
13295 *Sun\ C*)
13296 # Sun C++ 5.9
13297
13298 # The more standards-conforming stlport4 library is
13299 # incompatible with the Cstd library. Avoid specifying
13300 # it if it's in CXXFLAGS. Ignore libCrun as
13301 # -library=stlport4 depends on it.
13302 case " $CXX $CXXFLAGS " in
13303 *" -library=stlport4 "*)
13304 solaris_use_stlport4=yes
13305 ;;
13306 esac
13307
13308 if test "$solaris_use_stlport4" != yes; then
13309 postdeps_CXX='-library=Cstd -library=Crun'
13310 fi
13311 ;;
13312 esac
13313 ;;
13314
13315 solaris*)
13316 case $cc_basename in
13317 CC*)
13318 # The more standards-conforming stlport4 library is
13319 # incompatible with the Cstd library. Avoid specifying
13320 # it if it's in CXXFLAGS. Ignore libCrun as
13321 # -library=stlport4 depends on it.
13322 case " $CXX $CXXFLAGS " in
13323 *" -library=stlport4 "*)
13324 solaris_use_stlport4=yes
13325 ;;
13326 esac
13327
13328 # Adding this requires a known-good setup of shared libraries for
13329 # Sun compiler versions before 5.6, else PIC objects from an old
13330 # archive will be linked into the output, leading to subtle bugs.
13331 if test "$solaris_use_stlport4" != yes; then
13332 postdeps_CXX='-library=Cstd -library=Crun'
13333 fi
13334 ;;
13335 esac
13336 ;;
13337 esac
13338
13339
13340 case " $postdeps_CXX " in
13341 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13342 esac
13343 compiler_lib_search_dirs_CXX=
13344 if test -n "${compiler_lib_search_path_CXX}"; then
13345 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13346 fi
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378 lt_prog_compiler_wl_CXX=
13379 lt_prog_compiler_pic_CXX=
13380 lt_prog_compiler_static_CXX=
13381
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13383 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13384
13385 # C++ specific cases for pic, static, wl, etc.
13386 if test "$GXX" = yes; then
13387 lt_prog_compiler_wl_CXX='-Wl,'
13388 lt_prog_compiler_static_CXX='-static'
13389
13390 case $host_os in
13391 aix*)
13392 # All AIX code is PIC.
13393 if test "$host_cpu" = ia64; then
13394 # AIX 5 now supports IA64 processor
13395 lt_prog_compiler_static_CXX='-Bstatic'
13396 fi
13397 ;;
13398
13399 amigaos*)
13400 case $host_cpu in
13401 powerpc)
13402 # see comment about AmigaOS4 .so support
13403 lt_prog_compiler_pic_CXX='-fPIC'
13404 ;;
13405 m68k)
13406 # FIXME: we need at least 68020 code to build shared libraries, but
13407 # adding the `-m68020' flag to GCC prevents building anything better,
13408 # like `-m68040'.
13409 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13410 ;;
13411 esac
13412 ;;
13413
13414 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13415 # PIC is the default for these OSes.
13416 ;;
13417 mingw* | cygwin* | os2* | pw32* | cegcc*)
13418 # This hack is so that the source file can tell whether it is being
13419 # built for inclusion in a dll (and should export symbols for example).
13420 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13421 # (--disable-auto-import) libraries
13422 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13423 ;;
13424 darwin* | rhapsody*)
13425 # PIC is the default on this platform
13426 # Common symbols not allowed in MH_DYLIB files
13427 lt_prog_compiler_pic_CXX='-fno-common'
13428 ;;
13429 *djgpp*)
13430 # DJGPP does not support shared libraries at all
13431 lt_prog_compiler_pic_CXX=
13432 ;;
13433 haiku*)
13434 # PIC is the default for Haiku.
13435 # The "-static" flag exists, but is broken.
13436 lt_prog_compiler_static_CXX=
13437 ;;
13438 interix[3-9]*)
13439 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13440 # Instead, we relocate shared libraries at runtime.
13441 ;;
13442 sysv4*MP*)
13443 if test -d /usr/nec; then
13444 lt_prog_compiler_pic_CXX=-Kconform_pic
13445 fi
13446 ;;
13447 hpux*)
13448 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13449 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13450 # sets the default TLS model and affects inlining.
13451 case $host_cpu in
13452 hppa*64*)
13453 ;;
13454 *)
13455 lt_prog_compiler_pic_CXX='-fPIC'
13456 ;;
13457 esac
13458 ;;
13459 *qnx* | *nto*)
13460 # QNX uses GNU C++, but need to define -shared option too, otherwise
13461 # it will coredump.
13462 lt_prog_compiler_pic_CXX='-fPIC -shared'
13463 ;;
13464 *)
13465 lt_prog_compiler_pic_CXX='-fPIC'
13466 ;;
13467 esac
13468 else
13469 case $host_os in
13470 aix[4-9]*)
13471 # All AIX code is PIC.
13472 if test "$host_cpu" = ia64; then
13473 # AIX 5 now supports IA64 processor
13474 lt_prog_compiler_static_CXX='-Bstatic'
13475 else
13476 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13477 fi
13478 ;;
13479 chorus*)
13480 case $cc_basename in
13481 cxch68*)
13482 # Green Hills C++ Compiler
13483 # _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"
13484 ;;
13485 esac
13486 ;;
13487 dgux*)
13488 case $cc_basename in
13489 ec++*)
13490 lt_prog_compiler_pic_CXX='-KPIC'
13491 ;;
13492 ghcx*)
13493 # Green Hills C++ Compiler
13494 lt_prog_compiler_pic_CXX='-pic'
13495 ;;
13496 *)
13497 ;;
13498 esac
13499 ;;
13500 freebsd* | dragonfly*)
13501 # FreeBSD uses GNU C++
13502 ;;
13503 hpux9* | hpux10* | hpux11*)
13504 case $cc_basename in
13505 CC*)
13506 lt_prog_compiler_wl_CXX='-Wl,'
13507 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13508 if test "$host_cpu" != ia64; then
13509 lt_prog_compiler_pic_CXX='+Z'
13510 fi
13511 ;;
13512 aCC*)
13513 lt_prog_compiler_wl_CXX='-Wl,'
13514 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13515 case $host_cpu in
13516 hppa*64*|ia64*)
13517 # +Z the default
13518 ;;
13519 *)
13520 lt_prog_compiler_pic_CXX='+Z'
13521 ;;
13522 esac
13523 ;;
13524 *)
13525 ;;
13526 esac
13527 ;;
13528 interix*)
13529 # This is c89, which is MS Visual C++ (no shared libs)
13530 # Anyone wants to do a port?
13531 ;;
13532 irix5* | irix6* | nonstopux*)
13533 case $cc_basename in
13534 CC*)
13535 lt_prog_compiler_wl_CXX='-Wl,'
13536 lt_prog_compiler_static_CXX='-non_shared'
13537 # CC pic flag -KPIC is the default.
13538 ;;
13539 *)
13540 ;;
13541 esac
13542 ;;
13543 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13544 case $cc_basename in
13545 KCC*)
13546 # KAI C++ Compiler
13547 lt_prog_compiler_wl_CXX='--backend -Wl,'
13548 lt_prog_compiler_pic_CXX='-fPIC'
13549 ;;
13550 ecpc* )
13551 # old Intel C++ for x86_64 which still supported -KPIC.
13552 lt_prog_compiler_wl_CXX='-Wl,'
13553 lt_prog_compiler_pic_CXX='-KPIC'
13554 lt_prog_compiler_static_CXX='-static'
13555 ;;
13556 icpc* )
13557 # Intel C++, used to be incompatible with GCC.
13558 # ICC 10 doesn't accept -KPIC any more.
13559 lt_prog_compiler_wl_CXX='-Wl,'
13560 lt_prog_compiler_pic_CXX='-fPIC'
13561 lt_prog_compiler_static_CXX='-static'
13562 ;;
13563 pgCC* | pgcpp*)
13564 # Portland Group C++ compiler
13565 lt_prog_compiler_wl_CXX='-Wl,'
13566 lt_prog_compiler_pic_CXX='-fpic'
13567 lt_prog_compiler_static_CXX='-Bstatic'
13568 ;;
13569 cxx*)
13570 # Compaq C++
13571 # Make sure the PIC flag is empty. It appears that all Alpha
13572 # Linux and Compaq Tru64 Unix objects are PIC.
13573 lt_prog_compiler_pic_CXX=
13574 lt_prog_compiler_static_CXX='-non_shared'
13575 ;;
13576 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13577 # IBM XL 8.0, 9.0 on PPC and BlueGene
13578 lt_prog_compiler_wl_CXX='-Wl,'
13579 lt_prog_compiler_pic_CXX='-qpic'
13580 lt_prog_compiler_static_CXX='-qstaticlink'
13581 ;;
13582 *)
13583 case `$CC -V 2>&1 | sed 5q` in
13584 *Sun\ C*)
13585 # Sun C++ 5.9
13586 lt_prog_compiler_pic_CXX='-KPIC'
13587 lt_prog_compiler_static_CXX='-Bstatic'
13588 lt_prog_compiler_wl_CXX='-Qoption ld '
13589 ;;
13590 esac
13591 ;;
13592 esac
13593 ;;
13594 lynxos*)
13595 ;;
13596 m88k*)
13597 ;;
13598 mvs*)
13599 case $cc_basename in
13600 cxx*)
13601 lt_prog_compiler_pic_CXX='-W c,exportall'
13602 ;;
13603 *)
13604 ;;
13605 esac
13606 ;;
13607 netbsd*)
13608 ;;
13609 *qnx* | *nto*)
13610 # QNX uses GNU C++, but need to define -shared option too, otherwise
13611 # it will coredump.
13612 lt_prog_compiler_pic_CXX='-fPIC -shared'
13613 ;;
13614 osf3* | osf4* | osf5*)
13615 case $cc_basename in
13616 KCC*)
13617 lt_prog_compiler_wl_CXX='--backend -Wl,'
13618 ;;
13619 RCC*)
13620 # Rational C++ 2.4.1
13621 lt_prog_compiler_pic_CXX='-pic'
13622 ;;
13623 cxx*)
13624 # Digital/Compaq C++
13625 lt_prog_compiler_wl_CXX='-Wl,'
13626 # Make sure the PIC flag is empty. It appears that all Alpha
13627 # Linux and Compaq Tru64 Unix objects are PIC.
13628 lt_prog_compiler_pic_CXX=
13629 lt_prog_compiler_static_CXX='-non_shared'
13630 ;;
13631 *)
13632 ;;
13633 esac
13634 ;;
13635 psos*)
13636 ;;
13637 solaris*)
13638 case $cc_basename in
13639 CC*)
13640 # Sun C++ 4.2, 5.x and Centerline C++
13641 lt_prog_compiler_pic_CXX='-KPIC'
13642 lt_prog_compiler_static_CXX='-Bstatic'
13643 lt_prog_compiler_wl_CXX='-Qoption ld '
13644 ;;
13645 gcx*)
13646 # Green Hills C++ Compiler
13647 lt_prog_compiler_pic_CXX='-PIC'
13648 ;;
13649 *)
13650 ;;
13651 esac
13652 ;;
13653 sunos4*)
13654 case $cc_basename in
13655 CC*)
13656 # Sun C++ 4.x
13657 lt_prog_compiler_pic_CXX='-pic'
13658 lt_prog_compiler_static_CXX='-Bstatic'
13659 ;;
13660 lcc*)
13661 # Lucid
13662 lt_prog_compiler_pic_CXX='-pic'
13663 ;;
13664 *)
13665 ;;
13666 esac
13667 ;;
13668 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13669 case $cc_basename in
13670 CC*)
13671 lt_prog_compiler_wl_CXX='-Wl,'
13672 lt_prog_compiler_pic_CXX='-KPIC'
13673 lt_prog_compiler_static_CXX='-Bstatic'
13674 ;;
13675 esac
13676 ;;
13677 tandem*)
13678 case $cc_basename in
13679 NCC*)
13680 # NonStop-UX NCC 3.20
13681 lt_prog_compiler_pic_CXX='-KPIC'
13682 ;;
13683 *)
13684 ;;
13685 esac
13686 ;;
13687 vxworks*)
13688 ;;
13689 *)
13690 lt_prog_compiler_can_build_shared_CXX=no
13691 ;;
13692 esac
13693 fi
13694
13695 case $host_os in
13696 # For platforms which do not support PIC, -DPIC is meaningless:
13697 *djgpp*)
13698 lt_prog_compiler_pic_CXX=
13699 ;;
13700 *)
13701 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13702 ;;
13703 esac
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13705 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13706
13707
13708
13709 #
13710 # Check to make sure the PIC flag actually works.
13711 #
13712 if test -n "$lt_prog_compiler_pic_CXX"; then
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13714 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13715 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13716 $as_echo_n "(cached) " >&6
13717 else
13718 lt_cv_prog_compiler_pic_works_CXX=no
13719 ac_outfile=conftest.$ac_objext
13720 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13721 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13722 # Insert the option either (1) after the last *FLAGS variable, or
13723 # (2) before a word containing "conftest.", or (3) at the end.
13724 # Note that $ac_compile itself does not contain backslashes and begins
13725 # with a dollar sign (not a hyphen), so the echo should work correctly.
13726 # The option is referenced via a variable to avoid confusing sed.
13727 lt_compile=`echo "$ac_compile" | $SED \
13728 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13729 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13730 -e 's:$: $lt_compiler_flag:'`
13731 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13732 (eval "$lt_compile" 2>conftest.err)
13733 ac_status=$?
13734 cat conftest.err >&5
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 if (exit $ac_status) && test -s "$ac_outfile"; then
13737 # The compiler can only warn and ignore the option if not recognized
13738 # So say no if there are warnings other than the usual output.
13739 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13740 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13741 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13742 lt_cv_prog_compiler_pic_works_CXX=yes
13743 fi
13744 fi
13745 $RM conftest*
13746
13747 fi
13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13749 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13750
13751 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13752 case $lt_prog_compiler_pic_CXX in
13753 "" | " "*) ;;
13754 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13755 esac
13756 else
13757 lt_prog_compiler_pic_CXX=
13758 lt_prog_compiler_can_build_shared_CXX=no
13759 fi
13760
13761 fi
13762
13763
13764
13765 #
13766 # Check to make sure the static flag actually works.
13767 #
13768 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13770 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13771 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13772 $as_echo_n "(cached) " >&6
13773 else
13774 lt_cv_prog_compiler_static_works_CXX=no
13775 save_LDFLAGS="$LDFLAGS"
13776 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13777 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13778 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13779 # The linker can only warn and ignore the option if not recognized
13780 # So say no if there are warnings
13781 if test -s conftest.err; then
13782 # Append any errors to the config.log.
13783 cat conftest.err 1>&5
13784 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13785 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13786 if diff conftest.exp conftest.er2 >/dev/null; then
13787 lt_cv_prog_compiler_static_works_CXX=yes
13788 fi
13789 else
13790 lt_cv_prog_compiler_static_works_CXX=yes
13791 fi
13792 fi
13793 $RM -r conftest*
13794 LDFLAGS="$save_LDFLAGS"
13795
13796 fi
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13798 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13799
13800 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13801 :
13802 else
13803 lt_prog_compiler_static_CXX=
13804 fi
13805
13806
13807
13808
13809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13810 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13811 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13812 $as_echo_n "(cached) " >&6
13813 else
13814 lt_cv_prog_compiler_c_o_CXX=no
13815 $RM -r conftest 2>/dev/null
13816 mkdir conftest
13817 cd conftest
13818 mkdir out
13819 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13820
13821 lt_compiler_flag="-o out/conftest2.$ac_objext"
13822 # Insert the option either (1) after the last *FLAGS variable, or
13823 # (2) before a word containing "conftest.", or (3) at the end.
13824 # Note that $ac_compile itself does not contain backslashes and begins
13825 # with a dollar sign (not a hyphen), so the echo should work correctly.
13826 lt_compile=`echo "$ac_compile" | $SED \
13827 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13828 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13829 -e 's:$: $lt_compiler_flag:'`
13830 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13831 (eval "$lt_compile" 2>out/conftest.err)
13832 ac_status=$?
13833 cat out/conftest.err >&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13836 then
13837 # The compiler can only warn and ignore the option if not recognized
13838 # So say no if there are warnings
13839 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13840 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13841 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13842 lt_cv_prog_compiler_c_o_CXX=yes
13843 fi
13844 fi
13845 chmod u+w . 2>&5
13846 $RM conftest*
13847 # SGI C++ compiler will create directory out/ii_files/ for
13848 # template instantiation
13849 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13850 $RM out/* && rmdir out
13851 cd ..
13852 $RM -r conftest
13853 $RM conftest*
13854
13855 fi
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13857 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13858
13859
13860
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13862 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13863 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13864 $as_echo_n "(cached) " >&6
13865 else
13866 lt_cv_prog_compiler_c_o_CXX=no
13867 $RM -r conftest 2>/dev/null
13868 mkdir conftest
13869 cd conftest
13870 mkdir out
13871 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13872
13873 lt_compiler_flag="-o out/conftest2.$ac_objext"
13874 # Insert the option either (1) after the last *FLAGS variable, or
13875 # (2) before a word containing "conftest.", or (3) at the end.
13876 # Note that $ac_compile itself does not contain backslashes and begins
13877 # with a dollar sign (not a hyphen), so the echo should work correctly.
13878 lt_compile=`echo "$ac_compile" | $SED \
13879 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13880 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13881 -e 's:$: $lt_compiler_flag:'`
13882 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13883 (eval "$lt_compile" 2>out/conftest.err)
13884 ac_status=$?
13885 cat out/conftest.err >&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13888 then
13889 # The compiler can only warn and ignore the option if not recognized
13890 # So say no if there are warnings
13891 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13892 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13893 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13894 lt_cv_prog_compiler_c_o_CXX=yes
13895 fi
13896 fi
13897 chmod u+w . 2>&5
13898 $RM conftest*
13899 # SGI C++ compiler will create directory out/ii_files/ for
13900 # template instantiation
13901 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13902 $RM out/* && rmdir out
13903 cd ..
13904 $RM -r conftest
13905 $RM conftest*
13906
13907 fi
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13909 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13910
13911
13912
13913
13914 hard_links="nottested"
13915 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13916 # do not overwrite the value of need_locks provided by the user
13917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13918 $as_echo_n "checking if we can lock with hard links... " >&6; }
13919 hard_links=yes
13920 $RM conftest*
13921 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13922 touch conftest.a
13923 ln conftest.a conftest.b 2>&5 || hard_links=no
13924 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13926 $as_echo "$hard_links" >&6; }
13927 if test "$hard_links" = no; then
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13929 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13930 need_locks=warn
13931 fi
13932 else
13933 need_locks=no
13934 fi
13935
13936
13937
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13939 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13940
13941 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13942 case $host_os in
13943 aix[4-9]*)
13944 # If we're using GNU nm, then we don't want the "-C" option.
13945 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13946 # Also, AIX nm treats weak defined symbols like other global defined
13947 # symbols, whereas GNU nm marks them as "W".
13948 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13949 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'
13950 else
13951 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'
13952 fi
13953 ;;
13954 pw32*)
13955 export_symbols_cmds_CXX="$ltdll_cmds"
13956 ;;
13957 cygwin* | mingw* | cegcc*)
13958 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'
13959 ;;
13960 *)
13961 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13962 ;;
13963 esac
13964 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13965
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13967 $as_echo "$ld_shlibs_CXX" >&6; }
13968 test "$ld_shlibs_CXX" = no && can_build_shared=no
13969
13970 with_gnu_ld_CXX=$with_gnu_ld
13971
13972
13973
13974
13975
13976
13977 #
13978 # Do we need to explicitly link libc?
13979 #
13980 case "x$archive_cmds_need_lc_CXX" in
13981 x|xyes)
13982 # Assume -lc should be added
13983 archive_cmds_need_lc_CXX=yes
13984
13985 if test "$enable_shared" = yes && test "$GCC" = yes; then
13986 case $archive_cmds_CXX in
13987 *'~'*)
13988 # FIXME: we may have to deal with multi-command sequences.
13989 ;;
13990 '$CC '*)
13991 # Test whether the compiler implicitly links with -lc since on some
13992 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13993 # to ld, don't add -lc before -lgcc.
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13995 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13996 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13997 $as_echo_n "(cached) " >&6
13998 else
13999 $RM conftest*
14000 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14001
14002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14003 (eval $ac_compile) 2>&5
14004 ac_status=$?
14005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14006 test $ac_status = 0; } 2>conftest.err; then
14007 soname=conftest
14008 lib=conftest
14009 libobjs=conftest.$ac_objext
14010 deplibs=
14011 wl=$lt_prog_compiler_wl_CXX
14012 pic_flag=$lt_prog_compiler_pic_CXX
14013 compiler_flags=-v
14014 linker_flags=-v
14015 verstring=
14016 output_objdir=.
14017 libname=conftest
14018 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14019 allow_undefined_flag_CXX=
14020 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14021 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14022 ac_status=$?
14023 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14024 test $ac_status = 0; }
14025 then
14026 lt_cv_archive_cmds_need_lc_CXX=no
14027 else
14028 lt_cv_archive_cmds_need_lc_CXX=yes
14029 fi
14030 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14031 else
14032 cat conftest.err 1>&5
14033 fi
14034 $RM conftest*
14035
14036 fi
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14038 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14039 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14040 ;;
14041 esac
14042 fi
14043 ;;
14044 esac
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14110 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14111
14112 library_names_spec=
14113 libname_spec='lib$name'
14114 soname_spec=
14115 shrext_cmds=".so"
14116 postinstall_cmds=
14117 postuninstall_cmds=
14118 finish_cmds=
14119 finish_eval=
14120 shlibpath_var=
14121 shlibpath_overrides_runpath=unknown
14122 version_type=none
14123 dynamic_linker="$host_os ld.so"
14124 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14125 need_lib_prefix=unknown
14126 hardcode_into_libs=no
14127
14128 # when you set need_version to no, make sure it does not cause -set_version
14129 # flags to be left without arguments
14130 need_version=unknown
14131
14132 case $host_os in
14133 aix3*)
14134 version_type=linux
14135 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14136 shlibpath_var=LIBPATH
14137
14138 # AIX 3 has no versioning support, so we append a major version to the name.
14139 soname_spec='${libname}${release}${shared_ext}$major'
14140 ;;
14141
14142 aix[4-9]*)
14143 version_type=linux
14144 need_lib_prefix=no
14145 need_version=no
14146 hardcode_into_libs=yes
14147 if test "$host_cpu" = ia64; then
14148 # AIX 5 supports IA64
14149 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14150 shlibpath_var=LD_LIBRARY_PATH
14151 else
14152 # With GCC up to 2.95.x, collect2 would create an import file
14153 # for dependence libraries. The import file would start with
14154 # the line `#! .'. This would cause the generated library to
14155 # depend on `.', always an invalid library. This was fixed in
14156 # development snapshots of GCC prior to 3.0.
14157 case $host_os in
14158 aix4 | aix4.[01] | aix4.[01].*)
14159 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14160 echo ' yes '
14161 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14162 :
14163 else
14164 can_build_shared=no
14165 fi
14166 ;;
14167 esac
14168 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14169 # soname into executable. Probably we can add versioning support to
14170 # collect2, so additional links can be useful in future.
14171 if test "$aix_use_runtimelinking" = yes; then
14172 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14173 # instead of lib<name>.a to let people know that these are not
14174 # typical AIX shared libraries.
14175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14176 else
14177 # We preserve .a as extension for shared libraries through AIX4.2
14178 # and later when we are not doing run time linking.
14179 library_names_spec='${libname}${release}.a $libname.a'
14180 soname_spec='${libname}${release}${shared_ext}$major'
14181 fi
14182 shlibpath_var=LIBPATH
14183 fi
14184 ;;
14185
14186 amigaos*)
14187 case $host_cpu in
14188 powerpc)
14189 # Since July 2007 AmigaOS4 officially supports .so libraries.
14190 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14192 ;;
14193 m68k)
14194 library_names_spec='$libname.ixlibrary $libname.a'
14195 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14196 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'
14197 ;;
14198 esac
14199 ;;
14200
14201 beos*)
14202 library_names_spec='${libname}${shared_ext}'
14203 dynamic_linker="$host_os ld.so"
14204 shlibpath_var=LIBRARY_PATH
14205 ;;
14206
14207 bsdi[45]*)
14208 version_type=linux
14209 need_version=no
14210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14211 soname_spec='${libname}${release}${shared_ext}$major'
14212 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14213 shlibpath_var=LD_LIBRARY_PATH
14214 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14215 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14216 # the default ld.so.conf also contains /usr/contrib/lib and
14217 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14218 # libtool to hard-code these into programs
14219 ;;
14220
14221 cygwin* | mingw* | pw32* | cegcc*)
14222 version_type=windows
14223 shrext_cmds=".dll"
14224 need_version=no
14225 need_lib_prefix=no
14226
14227 case $GCC,$host_os in
14228 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14229 library_names_spec='$libname.dll.a'
14230 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14231 postinstall_cmds='base_file=`basename \${file}`~
14232 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14233 dldir=$destdir/`dirname \$dlpath`~
14234 test -d \$dldir || mkdir -p \$dldir~
14235 $install_prog $dir/$dlname \$dldir/$dlname~
14236 chmod a+x \$dldir/$dlname~
14237 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14238 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14239 fi'
14240 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14241 dlpath=$dir/\$dldll~
14242 $RM \$dlpath'
14243 shlibpath_overrides_runpath=yes
14244
14245 case $host_os in
14246 cygwin*)
14247 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14248 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14249
14250 ;;
14251 mingw* | cegcc*)
14252 # MinGW DLLs use traditional 'lib' prefix
14253 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14254 ;;
14255 pw32*)
14256 # pw32 DLLs use 'pw' prefix rather than 'lib'
14257 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14258 ;;
14259 esac
14260 ;;
14261
14262 *)
14263 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14264 ;;
14265 esac
14266 dynamic_linker='Win32 ld.exe'
14267 # FIXME: first we should search . and the directory the executable is in
14268 shlibpath_var=PATH
14269 ;;
14270
14271 darwin* | rhapsody*)
14272 dynamic_linker="$host_os dyld"
14273 version_type=darwin
14274 need_lib_prefix=no
14275 need_version=no
14276 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14277 soname_spec='${libname}${release}${major}$shared_ext'
14278 shlibpath_overrides_runpath=yes
14279 shlibpath_var=DYLD_LIBRARY_PATH
14280 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14281
14282 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14283 ;;
14284
14285 dgux*)
14286 version_type=linux
14287 need_lib_prefix=no
14288 need_version=no
14289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14290 soname_spec='${libname}${release}${shared_ext}$major'
14291 shlibpath_var=LD_LIBRARY_PATH
14292 ;;
14293
14294 freebsd* | dragonfly*)
14295 # DragonFly does not have aout. When/if they implement a new
14296 # versioning mechanism, adjust this.
14297 if test -x /usr/bin/objformat; then
14298 objformat=`/usr/bin/objformat`
14299 else
14300 case $host_os in
14301 freebsd[123]*) objformat=aout ;;
14302 *) objformat=elf ;;
14303 esac
14304 fi
14305 version_type=freebsd-$objformat
14306 case $version_type in
14307 freebsd-elf*)
14308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14309 need_version=no
14310 need_lib_prefix=no
14311 ;;
14312 freebsd-*)
14313 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14314 need_version=yes
14315 ;;
14316 esac
14317 shlibpath_var=LD_LIBRARY_PATH
14318 case $host_os in
14319 freebsd2*)
14320 shlibpath_overrides_runpath=yes
14321 ;;
14322 freebsd3.[01]* | freebsdelf3.[01]*)
14323 shlibpath_overrides_runpath=yes
14324 hardcode_into_libs=yes
14325 ;;
14326 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14327 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14328 shlibpath_overrides_runpath=no
14329 hardcode_into_libs=yes
14330 ;;
14331 *) # from 4.6 on, and DragonFly
14332 shlibpath_overrides_runpath=yes
14333 hardcode_into_libs=yes
14334 ;;
14335 esac
14336 ;;
14337
14338 gnu*)
14339 version_type=linux
14340 need_lib_prefix=no
14341 need_version=no
14342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14343 soname_spec='${libname}${release}${shared_ext}$major'
14344 shlibpath_var=LD_LIBRARY_PATH
14345 hardcode_into_libs=yes
14346 ;;
14347
14348 haiku*)
14349 version_type=linux
14350 need_lib_prefix=no
14351 need_version=no
14352 dynamic_linker="$host_os runtime_loader"
14353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14354 soname_spec='${libname}${release}${shared_ext}$major'
14355 shlibpath_var=LIBRARY_PATH
14356 shlibpath_overrides_runpath=yes
14357 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14358 hardcode_into_libs=yes
14359 ;;
14360
14361 hpux9* | hpux10* | hpux11*)
14362 # Give a soname corresponding to the major version so that dld.sl refuses to
14363 # link against other versions.
14364 version_type=sunos
14365 need_lib_prefix=no
14366 need_version=no
14367 case $host_cpu in
14368 ia64*)
14369 shrext_cmds='.so'
14370 hardcode_into_libs=yes
14371 dynamic_linker="$host_os dld.so"
14372 shlibpath_var=LD_LIBRARY_PATH
14373 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14375 soname_spec='${libname}${release}${shared_ext}$major'
14376 if test "X$HPUX_IA64_MODE" = X32; then
14377 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14378 else
14379 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14380 fi
14381 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14382 ;;
14383 hppa*64*)
14384 shrext_cmds='.sl'
14385 hardcode_into_libs=yes
14386 dynamic_linker="$host_os dld.sl"
14387 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14388 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14390 soname_spec='${libname}${release}${shared_ext}$major'
14391 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14392 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14393 ;;
14394 *)
14395 shrext_cmds='.sl'
14396 dynamic_linker="$host_os dld.sl"
14397 shlibpath_var=SHLIB_PATH
14398 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14400 soname_spec='${libname}${release}${shared_ext}$major'
14401 ;;
14402 esac
14403 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14404 postinstall_cmds='chmod 555 $lib'
14405 # or fails outright, so override atomically:
14406 install_override_mode=555
14407 ;;
14408
14409 interix[3-9]*)
14410 version_type=linux
14411 need_lib_prefix=no
14412 need_version=no
14413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14414 soname_spec='${libname}${release}${shared_ext}$major'
14415 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14416 shlibpath_var=LD_LIBRARY_PATH
14417 shlibpath_overrides_runpath=no
14418 hardcode_into_libs=yes
14419 ;;
14420
14421 irix5* | irix6* | nonstopux*)
14422 case $host_os in
14423 nonstopux*) version_type=nonstopux ;;
14424 *)
14425 if test "$lt_cv_prog_gnu_ld" = yes; then
14426 version_type=linux
14427 else
14428 version_type=irix
14429 fi ;;
14430 esac
14431 need_lib_prefix=no
14432 need_version=no
14433 soname_spec='${libname}${release}${shared_ext}$major'
14434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14435 case $host_os in
14436 irix5* | nonstopux*)
14437 libsuff= shlibsuff=
14438 ;;
14439 *)
14440 case $LD in # libtool.m4 will add one of these switches to LD
14441 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14442 libsuff= shlibsuff= libmagic=32-bit;;
14443 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14444 libsuff=32 shlibsuff=N32 libmagic=N32;;
14445 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14446 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14447 *) libsuff= shlibsuff= libmagic=never-match;;
14448 esac
14449 ;;
14450 esac
14451 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14452 shlibpath_overrides_runpath=no
14453 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14454 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14455 hardcode_into_libs=yes
14456 ;;
14457
14458 # No shared lib support for Linux oldld, aout, or coff.
14459 linux*oldld* | linux*aout* | linux*coff*)
14460 dynamic_linker=no
14461 ;;
14462
14463 # This must be Linux ELF.
14464 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14465 version_type=linux
14466 need_lib_prefix=no
14467 need_version=no
14468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14469 soname_spec='${libname}${release}${shared_ext}$major'
14470 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14471 shlibpath_var=LD_LIBRARY_PATH
14472 shlibpath_overrides_runpath=no
14473
14474 # Some binutils ld are patched to set DT_RUNPATH
14475 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14476 $as_echo_n "(cached) " >&6
14477 else
14478 lt_cv_shlibpath_overrides_runpath=no
14479 save_LDFLAGS=$LDFLAGS
14480 save_libdir=$libdir
14481 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14482 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14483 if test x$gcc_no_link = xyes; then
14484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14485 fi
14486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14487 /* end confdefs.h. */
14488
14489 int
14490 main ()
14491 {
14492
14493 ;
14494 return 0;
14495 }
14496 _ACEOF
14497 if ac_fn_cxx_try_link "$LINENO"; then :
14498 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14499 lt_cv_shlibpath_overrides_runpath=yes
14500 fi
14501 fi
14502 rm -f core conftest.err conftest.$ac_objext \
14503 conftest$ac_exeext conftest.$ac_ext
14504 LDFLAGS=$save_LDFLAGS
14505 libdir=$save_libdir
14506
14507 fi
14508
14509 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14510
14511 # This implies no fast_install, which is unacceptable.
14512 # Some rework will be needed to allow for fast_install
14513 # before this can be enabled.
14514 hardcode_into_libs=yes
14515
14516 # Append ld.so.conf contents to the search path
14517 if test -f /etc/ld.so.conf; then
14518 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' ' '`
14519 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14520 fi
14521
14522 # We used to test for /lib/ld.so.1 and disable shared libraries on
14523 # powerpc, because MkLinux only supported shared libraries with the
14524 # GNU dynamic linker. Since this was broken with cross compilers,
14525 # most powerpc-linux boxes support dynamic linking these days and
14526 # people can always --disable-shared, the test was removed, and we
14527 # assume the GNU/Linux dynamic linker is in use.
14528 dynamic_linker='GNU/Linux ld.so'
14529 ;;
14530
14531 netbsd*)
14532 version_type=sunos
14533 need_lib_prefix=no
14534 need_version=no
14535 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14537 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14538 dynamic_linker='NetBSD (a.out) ld.so'
14539 else
14540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14541 soname_spec='${libname}${release}${shared_ext}$major'
14542 dynamic_linker='NetBSD ld.elf_so'
14543 fi
14544 shlibpath_var=LD_LIBRARY_PATH
14545 shlibpath_overrides_runpath=yes
14546 hardcode_into_libs=yes
14547 ;;
14548
14549 newsos6)
14550 version_type=linux
14551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14552 shlibpath_var=LD_LIBRARY_PATH
14553 shlibpath_overrides_runpath=yes
14554 ;;
14555
14556 *nto* | *qnx*)
14557 version_type=qnx
14558 need_lib_prefix=no
14559 need_version=no
14560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14561 soname_spec='${libname}${release}${shared_ext}$major'
14562 shlibpath_var=LD_LIBRARY_PATH
14563 shlibpath_overrides_runpath=no
14564 hardcode_into_libs=yes
14565 dynamic_linker='ldqnx.so'
14566 ;;
14567
14568 openbsd*)
14569 version_type=sunos
14570 sys_lib_dlsearch_path_spec="/usr/lib"
14571 need_lib_prefix=no
14572 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14573 case $host_os in
14574 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14575 *) need_version=no ;;
14576 esac
14577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14578 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14579 shlibpath_var=LD_LIBRARY_PATH
14580 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14581 case $host_os in
14582 openbsd2.[89] | openbsd2.[89].*)
14583 shlibpath_overrides_runpath=no
14584 ;;
14585 *)
14586 shlibpath_overrides_runpath=yes
14587 ;;
14588 esac
14589 else
14590 shlibpath_overrides_runpath=yes
14591 fi
14592 ;;
14593
14594 os2*)
14595 libname_spec='$name'
14596 shrext_cmds=".dll"
14597 need_lib_prefix=no
14598 library_names_spec='$libname${shared_ext} $libname.a'
14599 dynamic_linker='OS/2 ld.exe'
14600 shlibpath_var=LIBPATH
14601 ;;
14602
14603 osf3* | osf4* | osf5*)
14604 version_type=osf
14605 need_lib_prefix=no
14606 need_version=no
14607 soname_spec='${libname}${release}${shared_ext}$major'
14608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14609 shlibpath_var=LD_LIBRARY_PATH
14610 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14611 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14612 ;;
14613
14614 rdos*)
14615 dynamic_linker=no
14616 ;;
14617
14618 solaris*)
14619 version_type=linux
14620 need_lib_prefix=no
14621 need_version=no
14622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14623 soname_spec='${libname}${release}${shared_ext}$major'
14624 shlibpath_var=LD_LIBRARY_PATH
14625 shlibpath_overrides_runpath=yes
14626 hardcode_into_libs=yes
14627 # ldd complains unless libraries are executable
14628 postinstall_cmds='chmod +x $lib'
14629 ;;
14630
14631 sunos4*)
14632 version_type=sunos
14633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14634 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14635 shlibpath_var=LD_LIBRARY_PATH
14636 shlibpath_overrides_runpath=yes
14637 if test "$with_gnu_ld" = yes; then
14638 need_lib_prefix=no
14639 fi
14640 need_version=yes
14641 ;;
14642
14643 sysv4 | sysv4.3*)
14644 version_type=linux
14645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14646 soname_spec='${libname}${release}${shared_ext}$major'
14647 shlibpath_var=LD_LIBRARY_PATH
14648 case $host_vendor in
14649 sni)
14650 shlibpath_overrides_runpath=no
14651 need_lib_prefix=no
14652 runpath_var=LD_RUN_PATH
14653 ;;
14654 siemens)
14655 need_lib_prefix=no
14656 ;;
14657 motorola)
14658 need_lib_prefix=no
14659 need_version=no
14660 shlibpath_overrides_runpath=no
14661 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14662 ;;
14663 esac
14664 ;;
14665
14666 sysv4*MP*)
14667 if test -d /usr/nec ;then
14668 version_type=linux
14669 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14670 soname_spec='$libname${shared_ext}.$major'
14671 shlibpath_var=LD_LIBRARY_PATH
14672 fi
14673 ;;
14674
14675 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14676 version_type=freebsd-elf
14677 need_lib_prefix=no
14678 need_version=no
14679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14680 soname_spec='${libname}${release}${shared_ext}$major'
14681 shlibpath_var=LD_LIBRARY_PATH
14682 shlibpath_overrides_runpath=yes
14683 hardcode_into_libs=yes
14684 if test "$with_gnu_ld" = yes; then
14685 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14686 else
14687 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14688 case $host_os in
14689 sco3.2v5*)
14690 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14691 ;;
14692 esac
14693 fi
14694 sys_lib_dlsearch_path_spec='/usr/lib'
14695 ;;
14696
14697 tpf*)
14698 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14699 version_type=linux
14700 need_lib_prefix=no
14701 need_version=no
14702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14703 shlibpath_var=LD_LIBRARY_PATH
14704 shlibpath_overrides_runpath=no
14705 hardcode_into_libs=yes
14706 ;;
14707
14708 uts4*)
14709 version_type=linux
14710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14711 soname_spec='${libname}${release}${shared_ext}$major'
14712 shlibpath_var=LD_LIBRARY_PATH
14713 ;;
14714
14715 *)
14716 dynamic_linker=no
14717 ;;
14718 esac
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14720 $as_echo "$dynamic_linker" >&6; }
14721 test "$dynamic_linker" = no && can_build_shared=no
14722
14723 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14724 if test "$GCC" = yes; then
14725 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14726 fi
14727
14728 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14729 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14730 fi
14731 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14732 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14733 fi
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14773 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14774 hardcode_action_CXX=
14775 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14776 test -n "$runpath_var_CXX" ||
14777 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14778
14779 # We can hardcode non-existent directories.
14780 if test "$hardcode_direct_CXX" != no &&
14781 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14782 # have to relink, otherwise we might link with an installed library
14783 # when we should be linking with a yet-to-be-installed one
14784 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14785 test "$hardcode_minus_L_CXX" != no; then
14786 # Linking always hardcodes the temporary library directory.
14787 hardcode_action_CXX=relink
14788 else
14789 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14790 hardcode_action_CXX=immediate
14791 fi
14792 else
14793 # We cannot hardcode anything, or else we can only hardcode existing
14794 # directories.
14795 hardcode_action_CXX=unsupported
14796 fi
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14798 $as_echo "$hardcode_action_CXX" >&6; }
14799
14800 if test "$hardcode_action_CXX" = relink ||
14801 test "$inherit_rpath_CXX" = yes; then
14802 # Fast installation is not supported
14803 enable_fast_install=no
14804 elif test "$shlibpath_overrides_runpath" = yes ||
14805 test "$enable_shared" = no; then
14806 # Fast installation is not necessary
14807 enable_fast_install=needless
14808 fi
14809
14810
14811
14812
14813
14814
14815
14816 fi # test -n "$compiler"
14817
14818 CC=$lt_save_CC
14819 LDCXX=$LD
14820 LD=$lt_save_LD
14821 GCC=$lt_save_GCC
14822 with_gnu_ld=$lt_save_with_gnu_ld
14823 lt_cv_path_LDCXX=$lt_cv_path_LD
14824 lt_cv_path_LD=$lt_save_path_LD
14825 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14826 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14827 fi # test "$_lt_caught_CXX_error" != yes
14828
14829 ac_ext=c
14830 ac_cpp='$CPP $CPPFLAGS'
14831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847 ac_config_commands="$ac_config_commands libtool"
14848
14849
14850
14851
14852 # Only expand once:
14853
14854
14855
14856
14857
14858 case $host in
14859 *-cygwin* | *-mingw*)
14860 # 'host' will be top-level target in the case of a target lib,
14861 # we must compare to with_cross_host to decide if this is a native
14862 # or cross-compiler and select where to install dlls appropriately.
14863 if test -n "$with_cross_host" &&
14864 test x"$with_cross_host" != x"no"; then
14865 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14866 else
14867 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14868 fi
14869 ;;
14870 *)
14871 lt_host_flags=
14872 ;;
14873 esac
14874
14875
14876
14877
14878
14879
14880 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14881 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14882
14883 # Possibly disable most of the library.
14884 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14885 ## than just ignoring the results. Faster /and/ more correct, win win.
14886
14887 # Check whether --enable-hosted-libstdcxx was given.
14888 if test "${enable_hosted_libstdcxx+set}" = set; then :
14889 enableval=$enable_hosted_libstdcxx;
14890 else
14891 case "$host" in
14892 arm*-*-symbianelf*)
14893 enable_hosted_libstdcxx=no
14894 ;;
14895 *)
14896 enable_hosted_libstdcxx=yes
14897 ;;
14898 esac
14899 fi
14900
14901 if test "$enable_hosted_libstdcxx" = no; then
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14903 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14904 is_hosted=no
14905 hosted_define=0
14906 enable_abi_check=no
14907 enable_libstdcxx_pch=no
14908 else
14909 is_hosted=yes
14910 hosted_define=1
14911 fi
14912
14913
14914 cat >>confdefs.h <<_ACEOF
14915 #define _GLIBCXX_HOSTED $hosted_define
14916 _ACEOF
14917
14918
14919
14920 # Enable compiler support that doesn't require linking.
14921
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14923 $as_echo_n "checking for exception model to use... " >&6; }
14924
14925 ac_ext=cpp
14926 ac_cpp='$CXXCPP $CPPFLAGS'
14927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14930
14931 # Check whether --enable-sjlj-exceptions was given.
14932 if test "${enable_sjlj_exceptions+set}" = set; then :
14933 enableval=$enable_sjlj_exceptions;
14934 case "$enableval" in
14935 yes|no|auto) ;;
14936 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14937 esac
14938
14939 else
14940 enable_sjlj_exceptions=auto
14941 fi
14942
14943
14944
14945 if test $enable_sjlj_exceptions = auto; then
14946 # Botheration. Now we've got to detect the exception model. Link tests
14947 # against libgcc.a are problematic since we've not been given proper -L
14948 # bits for single-tree newlib and libgloss.
14949 #
14950 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14951 cat > conftest.$ac_ext << EOF
14952 #line 14952 "configure"
14953 struct S { ~S(); };
14954 void bar();
14955 void foo()
14956 {
14957 S s;
14958 bar();
14959 }
14960 EOF
14961 old_CXXFLAGS="$CXXFLAGS"
14962 CXXFLAGS=-S
14963 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14964 (eval $ac_compile) 2>&5
14965 ac_status=$?
14966 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14967 test $ac_status = 0; }; then
14968 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14969 enable_sjlj_exceptions=yes
14970 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14971 enable_sjlj_exceptions=no
14972 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14973 enable_sjlj_exceptions=no
14974 fi
14975 fi
14976 CXXFLAGS="$old_CXXFLAGS"
14977 rm -f conftest*
14978 fi
14979
14980 # This is a tad weird, for hysterical raisins. We have to map
14981 # enable/disable to two different models.
14982 case $enable_sjlj_exceptions in
14983 yes)
14984
14985 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14986
14987 ac_exception_model_name=sjlj
14988 ;;
14989 no)
14990 ac_exception_model_name="call frame"
14991 ;;
14992 *)
14993 as_fn_error "unable to detect exception model" "$LINENO" 5
14994 ;;
14995 esac
14996 ac_ext=c
14997 ac_cpp='$CPP $CPPFLAGS'
14998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15001
15002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15003 $as_echo "$ac_exception_model_name" >&6; }
15004
15005
15006 # Check whether --enable-libstdcxx-pch was given.
15007 if test "${enable_libstdcxx_pch+set}" = set; then :
15008 enableval=$enable_libstdcxx_pch;
15009 case "$enableval" in
15010 yes|no) ;;
15011 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15012 esac
15013
15014 else
15015 enable_libstdcxx_pch=$is_hosted
15016 fi
15017
15018
15019 if test $enable_libstdcxx_pch = yes; then
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15021 $as_echo_n "checking for compiler with PCH support... " >&6; }
15022 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15023 $as_echo_n "(cached) " >&6
15024 else
15025 ac_save_CXXFLAGS="$CXXFLAGS"
15026 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15027
15028 ac_ext=cpp
15029 ac_cpp='$CXXCPP $CPPFLAGS'
15030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15033
15034 echo '#include <math.h>' > conftest.h
15035 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15036 -o conftest.h.gch 1>&5 2>&1 &&
15037 echo '#error "pch failed"' > conftest.h &&
15038 echo '#include "conftest.h"' > conftest.cc &&
15039 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15040 then
15041 glibcxx_cv_prog_CXX_pch=yes
15042 else
15043 glibcxx_cv_prog_CXX_pch=no
15044 fi
15045 rm -f conftest*
15046 CXXFLAGS=$ac_save_CXXFLAGS
15047 ac_ext=c
15048 ac_cpp='$CPP $CPPFLAGS'
15049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15052
15053
15054 fi
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15056 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15057 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15058 fi
15059
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15061 $as_echo_n "checking for enabled PCH... " >&6; }
15062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15063 $as_echo "$enable_libstdcxx_pch" >&6; }
15064
15065
15066 if test $enable_libstdcxx_pch = yes; then
15067 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15068 else
15069 glibcxx_PCHFLAGS=""
15070 fi
15071
15072
15073
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15075 $as_echo_n "checking for thread model used by GCC... " >&6; }
15076 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15078 $as_echo "$target_thread_file" >&6; }
15079
15080 if test $target_thread_file != single; then
15081
15082 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15083
15084 fi
15085
15086 glibcxx_thread_h=gthr-$target_thread_file.h
15087
15088 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15089 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15090 enable_thread=yes
15091 else
15092 enable_thread=no
15093 fi
15094
15095
15096
15097
15098
15099 ac_ext=cpp
15100 ac_cpp='$CXXCPP $CPPFLAGS'
15101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15104
15105 old_CXXFLAGS="$CXXFLAGS"
15106
15107 # Do link tests if possible, instead asm tests, limited to some platforms
15108 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15109 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15110 atomic_builtins_link_tests=no
15111 if test x$gcc_no_link != xyes; then
15112 # Can do link tests. Limit to some tested platforms
15113 case "$host" in
15114 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15115 atomic_builtins_link_tests=yes
15116 ;;
15117 esac
15118 fi
15119
15120 if test x$atomic_builtins_link_tests = xyes; then
15121
15122 # Do link tests.
15123
15124 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15125
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15127 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15128 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15129 $as_echo_n "(cached) " >&6
15130 else
15131
15132 if test x$gcc_no_link = xyes; then
15133 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15134 fi
15135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15136 /* end confdefs.h. */
15137
15138 int
15139 main ()
15140 {
15141 typedef bool atomic_type;
15142 atomic_type c1;
15143 atomic_type c2;
15144 const atomic_type c3(0);
15145 __sync_fetch_and_add(&c1, c2);
15146 __sync_val_compare_and_swap(&c1, c3, c2);
15147 __sync_lock_test_and_set(&c1, c3);
15148 __sync_lock_release(&c1);
15149 __sync_synchronize();
15150 ;
15151 return 0;
15152 }
15153 _ACEOF
15154 if ac_fn_cxx_try_link "$LINENO"; then :
15155 glibcxx_cv_atomic_bool=yes
15156 else
15157 glibcxx_cv_atomic_bool=no
15158 fi
15159 rm -f core conftest.err conftest.$ac_objext \
15160 conftest$ac_exeext conftest.$ac_ext
15161
15162 fi
15163
15164 if test $glibcxx_cv_atomic_bool = yes; then
15165
15166 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15167
15168 fi
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15170 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15171
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15173 $as_echo_n "checking for atomic builtins for short... " >&6; }
15174 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15175 $as_echo_n "(cached) " >&6
15176 else
15177
15178 if test x$gcc_no_link = xyes; then
15179 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15180 fi
15181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15182 /* end confdefs.h. */
15183
15184 int
15185 main ()
15186 {
15187 typedef short atomic_type;
15188 atomic_type c1;
15189 atomic_type c2;
15190 const atomic_type c3(0);
15191 __sync_fetch_and_add(&c1, c2);
15192 __sync_val_compare_and_swap(&c1, c3, c2);
15193 __sync_lock_test_and_set(&c1, c3);
15194 __sync_lock_release(&c1);
15195 __sync_synchronize();
15196 ;
15197 return 0;
15198 }
15199 _ACEOF
15200 if ac_fn_cxx_try_link "$LINENO"; then :
15201 glibcxx_cv_atomic_short=yes
15202 else
15203 glibcxx_cv_atomic_short=no
15204 fi
15205 rm -f core conftest.err conftest.$ac_objext \
15206 conftest$ac_exeext conftest.$ac_ext
15207
15208 fi
15209
15210 if test $glibcxx_cv_atomic_short = yes; then
15211
15212 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15213
15214 fi
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15216 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15217
15218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15219 $as_echo_n "checking for atomic builtins for int... " >&6; }
15220 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15221 $as_echo_n "(cached) " >&6
15222 else
15223
15224 if test x$gcc_no_link = xyes; then
15225 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15226 fi
15227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15228 /* end confdefs.h. */
15229
15230 int
15231 main ()
15232 {
15233 typedef int atomic_type;
15234 atomic_type c1;
15235 atomic_type c2;
15236 const atomic_type c3(0);
15237 __sync_fetch_and_add(&c1, c2);
15238 __sync_val_compare_and_swap(&c1, c3, c2);
15239 __sync_lock_test_and_set(&c1, c3);
15240 __sync_lock_release(&c1);
15241 __sync_synchronize();
15242 ;
15243 return 0;
15244 }
15245 _ACEOF
15246 if ac_fn_cxx_try_link "$LINENO"; then :
15247 glibcxx_cv_atomic_int=yes
15248 else
15249 glibcxx_cv_atomic_int=no
15250 fi
15251 rm -f core conftest.err conftest.$ac_objext \
15252 conftest$ac_exeext conftest.$ac_ext
15253
15254 fi
15255
15256 if test $glibcxx_cv_atomic_int = yes; then
15257
15258 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15259
15260 fi
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15262 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15263
15264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15265 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15266 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15267 $as_echo_n "(cached) " >&6
15268 else
15269
15270 if test x$gcc_no_link = xyes; then
15271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15272 fi
15273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15274 /* end confdefs.h. */
15275
15276 int
15277 main ()
15278 {
15279 typedef long long atomic_type;
15280 atomic_type c1;
15281 atomic_type c2;
15282 const atomic_type c3(0);
15283 __sync_fetch_and_add(&c1, c2);
15284 __sync_val_compare_and_swap(&c1, c3, c2);
15285 __sync_lock_test_and_set(&c1, c3);
15286 __sync_lock_release(&c1);
15287 __sync_synchronize();
15288 ;
15289 return 0;
15290 }
15291 _ACEOF
15292 if ac_fn_cxx_try_link "$LINENO"; then :
15293 glibcxx_cv_atomic_long_long=yes
15294 else
15295 glibcxx_cv_atomic_long_long=no
15296 fi
15297 rm -f core conftest.err conftest.$ac_objext \
15298 conftest$ac_exeext conftest.$ac_ext
15299
15300 fi
15301
15302 if test $glibcxx_cv_atomic_long_long = yes; then
15303
15304 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15305
15306 fi
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15308 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15309
15310 else
15311
15312 # Do asm tests.
15313
15314 # Compile unoptimized.
15315 CXXFLAGS='-O0 -S'
15316
15317 # Fake what AC_TRY_COMPILE does.
15318
15319 cat > conftest.$ac_ext << EOF
15320 #line 15320 "configure"
15321 int main()
15322 {
15323 typedef bool atomic_type;
15324 atomic_type c1;
15325 atomic_type c2;
15326 const atomic_type c3(0);
15327 __sync_fetch_and_add(&c1, c2);
15328 __sync_val_compare_and_swap(&c1, c3, c2);
15329 __sync_lock_test_and_set(&c1, c3);
15330 __sync_lock_release(&c1);
15331 __sync_synchronize();
15332 return 0;
15333 }
15334 EOF
15335
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15337 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15338 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15339 (eval $ac_compile) 2>&5
15340 ac_status=$?
15341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15342 test $ac_status = 0; }; then
15343 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15344 glibcxx_cv_atomic_bool=no
15345 else
15346
15347 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15348
15349 glibcxx_cv_atomic_bool=yes
15350 fi
15351 fi
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15353 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15354 rm -f conftest*
15355
15356 cat > conftest.$ac_ext << EOF
15357 #line 15357 "configure"
15358 int main()
15359 {
15360 typedef short atomic_type;
15361 atomic_type c1;
15362 atomic_type c2;
15363 const atomic_type c3(0);
15364 __sync_fetch_and_add(&c1, c2);
15365 __sync_val_compare_and_swap(&c1, c3, c2);
15366 __sync_lock_test_and_set(&c1, c3);
15367 __sync_lock_release(&c1);
15368 __sync_synchronize();
15369 return 0;
15370 }
15371 EOF
15372
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15374 $as_echo_n "checking for atomic builtins for short... " >&6; }
15375 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15376 (eval $ac_compile) 2>&5
15377 ac_status=$?
15378 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15379 test $ac_status = 0; }; then
15380 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15381 glibcxx_cv_atomic_short=no
15382 else
15383
15384 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15385
15386 glibcxx_cv_atomic_short=yes
15387 fi
15388 fi
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15390 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15391 rm -f conftest*
15392
15393 cat > conftest.$ac_ext << EOF
15394 #line 15394 "configure"
15395 int main()
15396 {
15397 // NB: _Atomic_word not necessarily int.
15398 typedef int atomic_type;
15399 atomic_type c1;
15400 atomic_type c2;
15401 const atomic_type c3(0);
15402 __sync_fetch_and_add(&c1, c2);
15403 __sync_val_compare_and_swap(&c1, c3, c2);
15404 __sync_lock_test_and_set(&c1, c3);
15405 __sync_lock_release(&c1);
15406 __sync_synchronize();
15407 return 0;
15408 }
15409 EOF
15410
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15412 $as_echo_n "checking for atomic builtins for int... " >&6; }
15413 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15414 (eval $ac_compile) 2>&5
15415 ac_status=$?
15416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15417 test $ac_status = 0; }; then
15418 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15419 glibcxx_cv_atomic_int=no
15420 else
15421
15422 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15423
15424 glibcxx_cv_atomic_int=yes
15425 fi
15426 fi
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15428 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15429 rm -f conftest*
15430
15431 cat > conftest.$ac_ext << EOF
15432 #line 15432 "configure"
15433 int main()
15434 {
15435 typedef long long atomic_type;
15436 atomic_type c1;
15437 atomic_type c2;
15438 const atomic_type c3(0);
15439 __sync_fetch_and_add(&c1, c2);
15440 __sync_val_compare_and_swap(&c1, c3, c2);
15441 __sync_lock_test_and_set(&c1, c3);
15442 __sync_lock_release(&c1);
15443 __sync_synchronize();
15444 return 0;
15445 }
15446 EOF
15447
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15449 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15450 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15451 (eval $ac_compile) 2>&5
15452 ac_status=$?
15453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15454 test $ac_status = 0; }; then
15455 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15456 glibcxx_cv_atomic_long_long=no
15457 else
15458
15459 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15460
15461 glibcxx_cv_atomic_long_long=yes
15462 fi
15463 fi
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15465 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15466 rm -f conftest*
15467
15468 fi
15469
15470 CXXFLAGS="$old_CXXFLAGS"
15471 ac_ext=c
15472 ac_cpp='$CPP $CPPFLAGS'
15473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15476
15477
15478 # Set atomicity_dir to builtins if either of above tests pass.
15479 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15480 atomicity_dir=cpu/generic/atomicity_builtins
15481 fi
15482
15483 # If still generic, set to mutex.
15484 if test $atomicity_dir = "cpu/generic" ; then
15485 atomicity_dir=cpu/generic/atomicity_mutex
15486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15487 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15488 if test "x$target_thread_file" = xsingle; then
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15490 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15492 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15493 else
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15495 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15497 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15498 fi
15499 fi
15500
15501
15502
15503
15504 # Fake what AC_TRY_COMPILE does, without linking as this is
15505 # unnecessary for this test.
15506
15507 cat > conftest.$ac_ext << EOF
15508 #line 15508 "configure"
15509 int main()
15510 {
15511 _Decimal32 d1;
15512 _Decimal64 d2;
15513 _Decimal128 d3;
15514 return 0;
15515 }
15516 EOF
15517
15518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15519 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15520 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15521 (eval $ac_compile) 2>&5
15522 ac_status=$?
15523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15524 test $ac_status = 0; }; then
15525
15526 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15527
15528 enable_dfp=yes
15529 else
15530 enable_dfp=no
15531 fi
15532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15533 $as_echo "$enable_dfp" >&6; }
15534 rm -f conftest*
15535
15536
15537
15538
15539 ac_ext=cpp
15540 ac_cpp='$CXXCPP $CPPFLAGS'
15541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15544
15545
15546 # Fake what AC_TRY_COMPILE does, without linking as this is
15547 # unnecessary for this test.
15548
15549 cat > conftest.$ac_ext << EOF
15550 #line 15550 "configure"
15551 template<typename T1, typename T2>
15552 struct same
15553 { typedef T2 type; };
15554
15555 template<typename T>
15556 struct same<T, T>;
15557
15558 int main()
15559 {
15560 typename same<long, __int128>::type i1;
15561 typename same<long long, __int128>::type i2;
15562 }
15563 EOF
15564
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15566 $as_echo_n "checking for __int128... " >&6; }
15567 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15568 (eval $ac_compile) 2>&5
15569 ac_status=$?
15570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15571 test $ac_status = 0; }; then
15572
15573 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15574
15575 enable_int128=yes
15576 else
15577 enable_int128=no
15578 fi
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15580 $as_echo "$enable_int128" >&6; }
15581 rm -f conftest*
15582
15583 cat > conftest.$ac_ext << EOF
15584 #line 15584 "configure"
15585 template<typename T1, typename T2>
15586 struct same
15587 { typedef T2 type; };
15588
15589 template<typename T>
15590 struct same<T, T>;
15591
15592 int main()
15593 {
15594 typename same<double, __float128>::type f1;
15595 typename same<long double, __float128>::type f2;
15596 }
15597 EOF
15598
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15600 $as_echo_n "checking for __float128... " >&6; }
15601 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15602 (eval $ac_compile) 2>&5
15603 ac_status=$?
15604 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15605 test $ac_status = 0; }; then
15606
15607 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15608
15609 enable_float128=yes
15610 else
15611 enable_float128=no
15612 fi
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15614 $as_echo "$enable_float128" >&6; }
15615 rm -f conftest*
15616
15617 ac_ext=c
15618 ac_cpp='$CPP $CPPFLAGS'
15619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15622
15623
15624
15625 # Checks for compiler support that doesn't require linking.
15626
15627 # All these tests are for C++; save the language and the compiler flags.
15628 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15629 # found in GLIBCXX_CONFIGURE.
15630
15631 ac_ext=cpp
15632 ac_cpp='$CXXCPP $CPPFLAGS'
15633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15636
15637 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15638 ac_save_CXXFLAGS="$CXXFLAGS"
15639
15640 # Check for maintainer-mode bits.
15641 if test x"$USE_MAINTAINER_MODE" = xno; then
15642 WERROR=''
15643 else
15644 WERROR='-Werror'
15645 fi
15646
15647 # Check for -ffunction-sections -fdata-sections
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15649 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15650 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15652 /* end confdefs.h. */
15653 int foo; void bar() { };
15654 int
15655 main ()
15656 {
15657
15658 ;
15659 return 0;
15660 }
15661 _ACEOF
15662 if ac_fn_cxx_try_compile "$LINENO"; then :
15663 ac_fdsections=yes
15664 else
15665 ac_fdsections=no
15666 fi
15667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15668 if test "$ac_test_CXXFLAGS" = set; then
15669 CXXFLAGS="$ac_save_CXXFLAGS"
15670 else
15671 # this is the suspicious part
15672 CXXFLAGS=''
15673 fi
15674 if test x"$ac_fdsections" = x"yes"; then
15675 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15676 fi
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15678 $as_echo "$ac_fdsections" >&6; }
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
15689
15690 # Enable all the variable C++ runtime options that don't require linking.
15691
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15693 $as_echo_n "checking for underlying I/O to use... " >&6; }
15694 # Check whether --enable-cstdio was given.
15695 if test "${enable_cstdio+set}" = set; then :
15696 enableval=$enable_cstdio;
15697 case "$enableval" in
15698 stdio) ;;
15699 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15700 esac
15701
15702 else
15703 enable_cstdio=stdio
15704 fi
15705
15706
15707
15708 # Now that libio has been removed, you can have any color you want as long
15709 # as it's black. This is one big no-op until other packages are added, but
15710 # showing the framework never hurts.
15711 case ${enable_cstdio} in
15712 stdio)
15713 CSTDIO_H=config/io/c_io_stdio.h
15714 BASIC_FILE_H=config/io/basic_file_stdio.h
15715 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15717 $as_echo "stdio" >&6; }
15718 ;;
15719 esac
15720
15721
15722
15723
15724
15725
15726 # Check whether --enable-clocale was given.
15727 if test "${enable_clocale+set}" = set; then :
15728 enableval=$enable_clocale;
15729 case "$enableval" in
15730 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15731 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15732 esac
15733
15734 else
15735 enable_clocale=auto
15736 fi
15737
15738
15739
15740 # Deal with gettext issues. Default to not using it (=no) until we detect
15741 # support for it later. Let the user turn it off via --e/d, but let that
15742 # default to on for easier handling.
15743 USE_NLS=no
15744 # Check whether --enable-nls was given.
15745 if test "${enable_nls+set}" = set; then :
15746 enableval=$enable_nls;
15747 else
15748 enable_nls=yes
15749 fi
15750
15751
15752 # Either a known package, or "auto"
15753 if test $enable_clocale = no || test $enable_clocale = yes; then
15754 enable_clocale=auto
15755 fi
15756 enable_clocale_flag=$enable_clocale
15757
15758 # Probe for locale model to use if none specified.
15759 # Default to "generic".
15760 if test $enable_clocale_flag = auto; then
15761 case ${target_os} in
15762 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15763 enable_clocale_flag=gnu
15764 ;;
15765 darwin* | freebsd*)
15766 enable_clocale_flag=darwin
15767 ;;
15768 *)
15769 if test x"$with_newlib" = x"yes"; then
15770 enable_clocale_flag=newlib
15771 else
15772 enable_clocale_flag=generic
15773 fi
15774 ;;
15775 esac
15776 fi
15777
15778 # Sanity check model, and test for special functionality.
15779 if test $enable_clocale_flag = gnu; then
15780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15781 /* end confdefs.h. */
15782
15783 #include <features.h>
15784 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15785 _GLIBCXX_ok
15786 #endif
15787
15788 _ACEOF
15789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15790 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15791 enable_clocale_flag=gnu
15792 else
15793 enable_clocale_flag=generic
15794 fi
15795 rm -f conftest*
15796
15797
15798 # Set it to scream when it hurts.
15799 ac_save_CFLAGS="$CFLAGS"
15800 CFLAGS="-Wimplicit-function-declaration -Werror"
15801
15802 # Use strxfrm_l if available.
15803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15804 /* end confdefs.h. */
15805 #define _GNU_SOURCE 1
15806 #include <string.h>
15807 #include <locale.h>
15808 int
15809 main ()
15810 {
15811 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15812 ;
15813 return 0;
15814 }
15815 _ACEOF
15816 if ac_fn_c_try_compile "$LINENO"; then :
15817
15818 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15819
15820 fi
15821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15822
15823 # Use strerror_l if available.
15824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15825 /* end confdefs.h. */
15826 #define _GNU_SOURCE 1
15827 #include <string.h>
15828 #include <locale.h>
15829 int
15830 main ()
15831 {
15832 __locale_t loc; strerror_l(5, loc);
15833 ;
15834 return 0;
15835 }
15836 _ACEOF
15837 if ac_fn_c_try_compile "$LINENO"; then :
15838
15839 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15840
15841 fi
15842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15843
15844 CFLAGS="$ac_save_CFLAGS"
15845 fi
15846
15847 # Perhaps use strerror_r if available, and strerror_l isn't.
15848 ac_save_CFLAGS="$CFLAGS"
15849 CFLAGS="-Wimplicit-function-declaration -Werror"
15850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15851 /* end confdefs.h. */
15852 #define _GNU_SOURCE 1
15853 #include <string.h>
15854 #include <locale.h>
15855 int
15856 main ()
15857 {
15858 char s[128]; strerror_r(5, s, 128);
15859 ;
15860 return 0;
15861 }
15862 _ACEOF
15863 if ac_fn_c_try_compile "$LINENO"; then :
15864
15865 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15866
15867 fi
15868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15869 CFLAGS="$ac_save_CFLAGS"
15870
15871 # Set configure bits for specified locale package
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15873 $as_echo_n "checking for C locale to use... " >&6; }
15874 case ${enable_clocale_flag} in
15875 generic)
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15877 $as_echo "generic" >&6; }
15878
15879 CLOCALE_H=config/locale/generic/c_locale.h
15880 CLOCALE_CC=config/locale/generic/c_locale.cc
15881 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15882 CCOLLATE_CC=config/locale/generic/collate_members.cc
15883 CCTYPE_CC=config/locale/generic/ctype_members.cc
15884 CMESSAGES_H=config/locale/generic/messages_members.h
15885 CMESSAGES_CC=config/locale/generic/messages_members.cc
15886 CMONEY_CC=config/locale/generic/monetary_members.cc
15887 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15888 CTIME_H=config/locale/generic/time_members.h
15889 CTIME_CC=config/locale/generic/time_members.cc
15890 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15891 ;;
15892 darwin)
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15894 $as_echo "darwin or freebsd" >&6; }
15895
15896 CLOCALE_H=config/locale/generic/c_locale.h
15897 CLOCALE_CC=config/locale/generic/c_locale.cc
15898 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15899 CCOLLATE_CC=config/locale/generic/collate_members.cc
15900 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15901 CMESSAGES_H=config/locale/generic/messages_members.h
15902 CMESSAGES_CC=config/locale/generic/messages_members.cc
15903 CMONEY_CC=config/locale/generic/monetary_members.cc
15904 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15905 CTIME_H=config/locale/generic/time_members.h
15906 CTIME_CC=config/locale/generic/time_members.cc
15907 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15908 ;;
15909
15910 gnu)
15911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15912 $as_echo "gnu" >&6; }
15913
15914 # Declare intention to use gettext, and add support for specific
15915 # languages.
15916 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15917 ALL_LINGUAS="de fr"
15918
15919 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15920 # Extract the first word of "msgfmt", so it can be a program name with args.
15921 set dummy msgfmt; ac_word=$2
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15923 $as_echo_n "checking for $ac_word... " >&6; }
15924 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15925 $as_echo_n "(cached) " >&6
15926 else
15927 if test -n "$check_msgfmt"; then
15928 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15929 else
15930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15931 for as_dir in $PATH
15932 do
15933 IFS=$as_save_IFS
15934 test -z "$as_dir" && as_dir=.
15935 for ac_exec_ext in '' $ac_executable_extensions; do
15936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15937 ac_cv_prog_check_msgfmt="yes"
15938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15939 break 2
15940 fi
15941 done
15942 done
15943 IFS=$as_save_IFS
15944
15945 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15946 fi
15947 fi
15948 check_msgfmt=$ac_cv_prog_check_msgfmt
15949 if test -n "$check_msgfmt"; then
15950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15951 $as_echo "$check_msgfmt" >&6; }
15952 else
15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15954 $as_echo "no" >&6; }
15955 fi
15956
15957
15958 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15959 USE_NLS=yes
15960 fi
15961 # Export the build objects.
15962 for ling in $ALL_LINGUAS; do \
15963 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15964 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15965 done
15966
15967
15968
15969 CLOCALE_H=config/locale/gnu/c_locale.h
15970 CLOCALE_CC=config/locale/gnu/c_locale.cc
15971 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15972 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15973 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15974 CMESSAGES_H=config/locale/gnu/messages_members.h
15975 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15976 CMONEY_CC=config/locale/gnu/monetary_members.cc
15977 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15978 CTIME_H=config/locale/gnu/time_members.h
15979 CTIME_CC=config/locale/gnu/time_members.cc
15980 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15981 ;;
15982 ieee_1003.1-2001)
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15984 $as_echo "IEEE 1003.1" >&6; }
15985
15986 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15987 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15988 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15989 CCOLLATE_CC=config/locale/generic/collate_members.cc
15990 CCTYPE_CC=config/locale/generic/ctype_members.cc
15991 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15992 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15993 CMONEY_CC=config/locale/generic/monetary_members.cc
15994 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15995 CTIME_H=config/locale/generic/time_members.h
15996 CTIME_CC=config/locale/generic/time_members.cc
15997 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15998 ;;
15999 newlib)
16000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16001 $as_echo "newlib" >&6; }
16002
16003 CLOCALE_H=config/locale/generic/c_locale.h
16004 CLOCALE_CC=config/locale/generic/c_locale.cc
16005 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16006 CCOLLATE_CC=config/locale/generic/collate_members.cc
16007 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16008 CMESSAGES_H=config/locale/generic/messages_members.h
16009 CMESSAGES_CC=config/locale/generic/messages_members.cc
16010 CMONEY_CC=config/locale/generic/monetary_members.cc
16011 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16012 CTIME_H=config/locale/generic/time_members.h
16013 CTIME_CC=config/locale/generic/time_members.cc
16014 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16015 ;;
16016 esac
16017
16018 # This is where the testsuite looks for locale catalogs, using the
16019 # -DLOCALEDIR define during testsuite compilation.
16020 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16021
16022
16023 # A standalone libintl (e.g., GNU libintl) may be in use.
16024 if test $USE_NLS = yes; then
16025 for ac_header in libintl.h
16026 do :
16027 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16028 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16029 cat >>confdefs.h <<_ACEOF
16030 #define HAVE_LIBINTL_H 1
16031 _ACEOF
16032
16033 else
16034 USE_NLS=no
16035 fi
16036
16037 done
16038
16039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16040 $as_echo_n "checking for library containing gettext... " >&6; }
16041 if test "${ac_cv_search_gettext+set}" = set; then :
16042 $as_echo_n "(cached) " >&6
16043 else
16044 ac_func_search_save_LIBS=$LIBS
16045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16046 /* end confdefs.h. */
16047
16048 /* Override any GCC internal prototype to avoid an error.
16049 Use char because int might match the return type of a GCC
16050 builtin and then its argument prototype would still apply. */
16051 #ifdef __cplusplus
16052 extern "C"
16053 #endif
16054 char gettext ();
16055 int
16056 main ()
16057 {
16058 return gettext ();
16059 ;
16060 return 0;
16061 }
16062 _ACEOF
16063 for ac_lib in '' intl; do
16064 if test -z "$ac_lib"; then
16065 ac_res="none required"
16066 else
16067 ac_res=-l$ac_lib
16068 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16069 fi
16070 if test x$gcc_no_link = xyes; then
16071 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16072 fi
16073 if ac_fn_c_try_link "$LINENO"; then :
16074 ac_cv_search_gettext=$ac_res
16075 fi
16076 rm -f core conftest.err conftest.$ac_objext \
16077 conftest$ac_exeext
16078 if test "${ac_cv_search_gettext+set}" = set; then :
16079 break
16080 fi
16081 done
16082 if test "${ac_cv_search_gettext+set}" = set; then :
16083
16084 else
16085 ac_cv_search_gettext=no
16086 fi
16087 rm conftest.$ac_ext
16088 LIBS=$ac_func_search_save_LIBS
16089 fi
16090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16091 $as_echo "$ac_cv_search_gettext" >&6; }
16092 ac_res=$ac_cv_search_gettext
16093 if test "$ac_res" != no; then :
16094 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16095
16096 else
16097 USE_NLS=no
16098 fi
16099
16100 fi
16101 if test $USE_NLS = yes; then
16102
16103 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16104
16105 fi
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16123 $as_echo_n "checking for std::allocator base class... " >&6; }
16124 # Check whether --enable-libstdcxx-allocator was given.
16125 if test "${enable_libstdcxx_allocator+set}" = set; then :
16126 enableval=$enable_libstdcxx_allocator;
16127 case "$enableval" in
16128 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16129 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16130 esac
16131
16132 else
16133 enable_libstdcxx_allocator=auto
16134 fi
16135
16136
16137
16138 # If they didn't use this option switch, or if they specified --enable
16139 # with no specific model, we'll have to look for one. If they
16140 # specified --disable (???), do likewise.
16141 if test $enable_libstdcxx_allocator = no ||
16142 test $enable_libstdcxx_allocator = yes;
16143 then
16144 enable_libstdcxx_allocator=auto
16145 fi
16146
16147 # Either a known package, or "auto". Auto implies the default choice
16148 # for a particular platform.
16149 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16150
16151 # Probe for host-specific support if no specific model is specified.
16152 # Default to "new".
16153 if test $enable_libstdcxx_allocator_flag = auto; then
16154 case ${target_os} in
16155 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16156 enable_libstdcxx_allocator_flag=new
16157 ;;
16158 *)
16159 enable_libstdcxx_allocator_flag=new
16160 ;;
16161 esac
16162 fi
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16164 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16165
16166
16167 # Set configure bits for specified locale package
16168 case ${enable_libstdcxx_allocator_flag} in
16169 bitmap)
16170 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16171 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16172 ;;
16173 malloc)
16174 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16175 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16176 ;;
16177 mt)
16178 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16179 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16180 ;;
16181 new)
16182 ALLOCATOR_H=config/allocator/new_allocator_base.h
16183 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16184 ;;
16185 pool)
16186 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16187 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16188 ;;
16189 esac
16190
16191
16192
16193
16194
16195 # Check whether --enable-cheaders was given.
16196 if test "${enable_cheaders+set}" = set; then :
16197 enableval=$enable_cheaders;
16198 case "$enableval" in
16199 c|c_std|c_global) ;;
16200 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16201 esac
16202
16203 else
16204 enable_cheaders=$c_model
16205 fi
16206
16207
16208 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16209 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16210
16211 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16212
16213 # Allow overrides to configure.host here.
16214 if test $enable_cheaders = c_global; then
16215 c_compatibility=yes
16216 fi
16217
16218
16219
16220
16221
16222
16223
16224 # Check whether --enable-long-long was given.
16225 if test "${enable_long_long+set}" = set; then :
16226 enableval=$enable_long_long;
16227 case "$enableval" in
16228 yes|no) ;;
16229 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16230 esac
16231
16232 else
16233 enable_long_long=yes
16234 fi
16235
16236
16237 if test $enable_long_long = yes; then
16238
16239 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16240
16241 fi
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16243 $as_echo_n "checking for enabled long long specializations... " >&6; }
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16245 $as_echo "$enable_long_long" >&6; }
16246
16247
16248 # Check whether --enable-wchar_t was given.
16249 if test "${enable_wchar_t+set}" = set; then :
16250 enableval=$enable_wchar_t;
16251 case "$enableval" in
16252 yes|no) ;;
16253 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16254 esac
16255
16256 else
16257 enable_wchar_t=yes
16258 fi
16259
16260
16261
16262 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16263 for ac_header in wchar.h
16264 do :
16265 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16266 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16267 cat >>confdefs.h <<_ACEOF
16268 #define HAVE_WCHAR_H 1
16269 _ACEOF
16270 ac_has_wchar_h=yes
16271 else
16272 ac_has_wchar_h=no
16273 fi
16274
16275 done
16276
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16278 $as_echo_n "checking for mbstate_t... " >&6; }
16279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16280 /* end confdefs.h. */
16281 #include <wchar.h>
16282 int
16283 main ()
16284 {
16285 mbstate_t teststate;
16286 ;
16287 return 0;
16288 }
16289 _ACEOF
16290 if ac_fn_c_try_compile "$LINENO"; then :
16291 have_mbstate_t=yes
16292 else
16293 have_mbstate_t=no
16294 fi
16295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16297 $as_echo "$have_mbstate_t" >&6; }
16298 if test x"$have_mbstate_t" = xyes; then
16299
16300 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16301
16302 fi
16303
16304 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16305 # ac_has_wchar_h.
16306 for ac_header in wctype.h
16307 do :
16308 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16309 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16310 cat >>confdefs.h <<_ACEOF
16311 #define HAVE_WCTYPE_H 1
16312 _ACEOF
16313 ac_has_wctype_h=yes
16314 else
16315 ac_has_wctype_h=no
16316 fi
16317
16318 done
16319
16320
16321 if test x"$enable_wchar_t" = x"yes"; then
16322
16323
16324 ac_ext=cpp
16325 ac_cpp='$CXXCPP $CPPFLAGS'
16326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16329
16330
16331 if test x"$ac_has_wchar_h" = xyes &&
16332 test x"$ac_has_wctype_h" = xyes; then
16333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16334 /* end confdefs.h. */
16335 #include <wchar.h>
16336 #include <stddef.h>
16337 wint_t i;
16338 long l = WEOF;
16339 long j = WCHAR_MIN;
16340 long k = WCHAR_MAX;
16341 namespace test
16342 {
16343 using ::btowc;
16344 using ::fgetwc;
16345 using ::fgetws;
16346 using ::fputwc;
16347 using ::fputws;
16348 using ::fwide;
16349 using ::fwprintf;
16350 using ::fwscanf;
16351 using ::getwc;
16352 using ::getwchar;
16353 using ::mbrlen;
16354 using ::mbrtowc;
16355 using ::mbsinit;
16356 using ::mbsrtowcs;
16357 using ::putwc;
16358 using ::putwchar;
16359 using ::swprintf;
16360 using ::swscanf;
16361 using ::ungetwc;
16362 using ::vfwprintf;
16363 using ::vswprintf;
16364 using ::vwprintf;
16365 using ::wcrtomb;
16366 using ::wcscat;
16367 using ::wcschr;
16368 using ::wcscmp;
16369 using ::wcscoll;
16370 using ::wcscpy;
16371 using ::wcscspn;
16372 using ::wcsftime;
16373 using ::wcslen;
16374 using ::wcsncat;
16375 using ::wcsncmp;
16376 using ::wcsncpy;
16377 using ::wcspbrk;
16378 using ::wcsrchr;
16379 using ::wcsrtombs;
16380 using ::wcsspn;
16381 using ::wcsstr;
16382 using ::wcstod;
16383 using ::wcstok;
16384 using ::wcstol;
16385 using ::wcstoul;
16386 using ::wcsxfrm;
16387 using ::wctob;
16388 using ::wmemchr;
16389 using ::wmemcmp;
16390 using ::wmemcpy;
16391 using ::wmemmove;
16392 using ::wmemset;
16393 using ::wprintf;
16394 using ::wscanf;
16395 }
16396
16397 int
16398 main ()
16399 {
16400
16401 ;
16402 return 0;
16403 }
16404 _ACEOF
16405 if ac_fn_cxx_try_compile "$LINENO"; then :
16406
16407 else
16408 enable_wchar_t=no
16409 fi
16410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16411 else
16412 enable_wchar_t=no
16413 fi
16414
16415 ac_ext=c
16416 ac_cpp='$CPP $CPPFLAGS'
16417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16420
16421 fi
16422
16423 if test x"$enable_wchar_t" = x"yes"; then
16424
16425 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16426
16427 fi
16428
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16430 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16432 $as_echo "$enable_wchar_t" >&6; }
16433
16434
16435
16436 # Check whether --enable-c99 was given.
16437 if test "${enable_c99+set}" = set; then :
16438 enableval=$enable_c99;
16439 case "$enableval" in
16440 yes|no) ;;
16441 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16442 esac
16443
16444 else
16445 enable_c99=yes
16446 fi
16447
16448
16449
16450 if test x"$enable_c99" = x"yes"; then
16451
16452
16453 ac_ext=cpp
16454 ac_cpp='$CXXCPP $CPPFLAGS'
16455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16458
16459
16460 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16461 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16462 # spuriously enabled.
16463 # Long term, -std=c++0x could be even better, could manage to explicitely
16464 # request C99 facilities to the underlying C headers.
16465 ac_save_CXXFLAGS="$CXXFLAGS"
16466 CXXFLAGS="$CXXFLAGS -std=c++98"
16467 ac_save_LIBS="$LIBS"
16468 ac_save_gcc_no_link="$gcc_no_link"
16469
16470 if test x$gcc_no_link != xyes; then
16471 # Use -fno-exceptions to that the C driver can link these tests without
16472 # hitting undefined references to personality routines.
16473 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16475 $as_echo_n "checking for sin in -lm... " >&6; }
16476 if test "${ac_cv_lib_m_sin+set}" = set; then :
16477 $as_echo_n "(cached) " >&6
16478 else
16479 ac_check_lib_save_LIBS=$LIBS
16480 LIBS="-lm $LIBS"
16481 if test x$gcc_no_link = xyes; then
16482 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16483 fi
16484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16485 /* end confdefs.h. */
16486
16487 /* Override any GCC internal prototype to avoid an error.
16488 Use char because int might match the return type of a GCC
16489 builtin and then its argument prototype would still apply. */
16490 #ifdef __cplusplus
16491 extern "C"
16492 #endif
16493 char sin ();
16494 int
16495 main ()
16496 {
16497 return sin ();
16498 ;
16499 return 0;
16500 }
16501 _ACEOF
16502 if ac_fn_cxx_try_link "$LINENO"; then :
16503 ac_cv_lib_m_sin=yes
16504 else
16505 ac_cv_lib_m_sin=no
16506 fi
16507 rm -f core conftest.err conftest.$ac_objext \
16508 conftest$ac_exeext conftest.$ac_ext
16509 LIBS=$ac_check_lib_save_LIBS
16510 fi
16511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16512 $as_echo "$ac_cv_lib_m_sin" >&6; }
16513 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16514
16515 LIBS="$LIBS -lm"
16516
16517 else
16518
16519 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16520 gcc_no_link=yes
16521
16522 fi
16523
16524 fi
16525
16526 # Check for the existence of <math.h> functions used if C99 is enabled.
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16528 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16529 if test "${glibcxx_cv_c99_math+set}" = set; then :
16530 $as_echo_n "(cached) " >&6
16531 else
16532
16533 if test x$gcc_no_link = xyes; then
16534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16535 /* end confdefs.h. */
16536 #include <math.h>
16537 volatile double d1, d2;
16538 volatile int i;
16539 int
16540 main ()
16541 {
16542 i = fpclassify(d1);
16543 i = isfinite(d1);
16544 i = isinf(d1);
16545 i = isnan(d1);
16546 i = isnormal(d1);
16547 i = signbit(d1);
16548 i = isgreater(d1, d2);
16549 i = isgreaterequal(d1, d2);
16550 i = isless(d1, d2);
16551 i = islessequal(d1, d2);
16552 i = islessgreater(d1, d2);
16553 i = islessgreater(d1, d2);
16554 i = isunordered(d1, d2);
16555
16556 ;
16557 return 0;
16558 }
16559 _ACEOF
16560 if ac_fn_cxx_try_compile "$LINENO"; then :
16561 glibcxx_cv_c99_math=yes
16562 else
16563 glibcxx_cv_c99_math=no
16564 fi
16565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16566 else
16567 if test x$gcc_no_link = xyes; then
16568 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16569 fi
16570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16571 /* end confdefs.h. */
16572 #include <math.h>
16573 volatile double d1, d2;
16574 volatile int i;
16575 int
16576 main ()
16577 {
16578 i = fpclassify(d1);
16579 i = isfinite(d1);
16580 i = isinf(d1);
16581 i = isnan(d1);
16582 i = isnormal(d1);
16583 i = signbit(d1);
16584 i = isgreater(d1, d2);
16585 i = isgreaterequal(d1, d2);
16586 i = isless(d1, d2);
16587 i = islessequal(d1, d2);
16588 i = islessgreater(d1, d2);
16589 i = islessgreater(d1, d2);
16590 i = isunordered(d1, d2);
16591
16592 ;
16593 return 0;
16594 }
16595 _ACEOF
16596 if ac_fn_cxx_try_link "$LINENO"; then :
16597 glibcxx_cv_c99_math=yes
16598 else
16599 glibcxx_cv_c99_math=no
16600 fi
16601 rm -f core conftest.err conftest.$ac_objext \
16602 conftest$ac_exeext conftest.$ac_ext
16603 fi
16604
16605 fi
16606
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16608 $as_echo "$glibcxx_cv_c99_math" >&6; }
16609 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16610
16611 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16612
16613 fi
16614
16615 # Check for the existence of <complex.h> complex math functions.
16616 # This is necessary even though libstdc++ uses the builtin versions
16617 # of these functions, because if the builtin cannot be used, a reference
16618 # to the library function is emitted.
16619 for ac_header in tgmath.h
16620 do :
16621 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16622 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16623 cat >>confdefs.h <<_ACEOF
16624 #define HAVE_TGMATH_H 1
16625 _ACEOF
16626 ac_has_tgmath_h=yes
16627 else
16628 ac_has_tgmath_h=no
16629 fi
16630
16631 done
16632
16633 for ac_header in complex.h
16634 do :
16635 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16636 if test "x$ac_cv_header_complex_h" = x""yes; then :
16637 cat >>confdefs.h <<_ACEOF
16638 #define HAVE_COMPLEX_H 1
16639 _ACEOF
16640 ac_has_complex_h=yes
16641 else
16642 ac_has_complex_h=no
16643 fi
16644
16645 done
16646
16647 glibcxx_cv_c99_complex=no;
16648 if test x"$ac_has_complex_h" = x"yes"; then
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16650 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16651 if test x$gcc_no_link = xyes; then
16652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16653 /* end confdefs.h. */
16654 #include <complex.h>
16655 typedef __complex__ float float_type;
16656 typedef __complex__ double double_type;
16657 typedef __complex__ long double ld_type;
16658 volatile float_type tmpf;
16659 volatile double_type tmpd;
16660 volatile ld_type tmpld;
16661 volatile float f;
16662 volatile double d;
16663 volatile long double ld;
16664 int
16665 main ()
16666 {
16667 f = cabsf(tmpf);
16668 f = cargf(tmpf);
16669 tmpf = ccosf(tmpf);
16670 tmpf = ccoshf(tmpf);
16671 tmpf = cexpf(tmpf);
16672 tmpf = clogf(tmpf);
16673 tmpf = csinf(tmpf);
16674 tmpf = csinhf(tmpf);
16675 tmpf = csqrtf(tmpf);
16676 tmpf = ctanf(tmpf);
16677 tmpf = ctanhf(tmpf);
16678 tmpf = cpowf(tmpf, tmpf);
16679 tmpf = cprojf(tmpf);
16680 d = cabs(tmpd);
16681 d = carg(tmpd);
16682 tmpd = ccos(tmpd);
16683 tmpd = ccosh(tmpd);
16684 tmpd = cexp(tmpd);
16685 tmpd = clog(tmpd);
16686 tmpd = csin(tmpd);
16687 tmpd = csinh(tmpd);
16688 tmpd = csqrt(tmpd);
16689 tmpd = ctan(tmpd);
16690 tmpd = ctanh(tmpd);
16691 tmpd = cpow(tmpd, tmpd);
16692 tmpd = cproj(tmpd);
16693 ld = cabsl(tmpld);
16694 ld = cargl(tmpld);
16695 tmpld = ccosl(tmpld);
16696 tmpld = ccoshl(tmpld);
16697 tmpld = cexpl(tmpld);
16698 tmpld = clogl(tmpld);
16699 tmpld = csinl(tmpld);
16700 tmpld = csinhl(tmpld);
16701 tmpld = csqrtl(tmpld);
16702 tmpld = ctanl(tmpld);
16703 tmpld = ctanhl(tmpld);
16704 tmpld = cpowl(tmpld, tmpld);
16705 tmpld = cprojl(tmpld);
16706
16707 ;
16708 return 0;
16709 }
16710 _ACEOF
16711 if ac_fn_cxx_try_compile "$LINENO"; then :
16712 glibcxx_cv_c99_complex=yes
16713 else
16714 glibcxx_cv_c99_complex=no
16715 fi
16716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16717 else
16718 if test x$gcc_no_link = xyes; then
16719 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16720 fi
16721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16722 /* end confdefs.h. */
16723 #include <complex.h>
16724 typedef __complex__ float float_type;
16725 typedef __complex__ double double_type;
16726 typedef __complex__ long double ld_type;
16727 volatile float_type tmpf;
16728 volatile double_type tmpd;
16729 volatile ld_type tmpld;
16730 volatile float f;
16731 volatile double d;
16732 volatile long double ld;
16733 int
16734 main ()
16735 {
16736 f = cabsf(tmpf);
16737 f = cargf(tmpf);
16738 tmpf = ccosf(tmpf);
16739 tmpf = ccoshf(tmpf);
16740 tmpf = cexpf(tmpf);
16741 tmpf = clogf(tmpf);
16742 tmpf = csinf(tmpf);
16743 tmpf = csinhf(tmpf);
16744 tmpf = csqrtf(tmpf);
16745 tmpf = ctanf(tmpf);
16746 tmpf = ctanhf(tmpf);
16747 tmpf = cpowf(tmpf, tmpf);
16748 tmpf = cprojf(tmpf);
16749 d = cabs(tmpd);
16750 d = carg(tmpd);
16751 tmpd = ccos(tmpd);
16752 tmpd = ccosh(tmpd);
16753 tmpd = cexp(tmpd);
16754 tmpd = clog(tmpd);
16755 tmpd = csin(tmpd);
16756 tmpd = csinh(tmpd);
16757 tmpd = csqrt(tmpd);
16758 tmpd = ctan(tmpd);
16759 tmpd = ctanh(tmpd);
16760 tmpd = cpow(tmpd, tmpd);
16761 tmpd = cproj(tmpd);
16762 ld = cabsl(tmpld);
16763 ld = cargl(tmpld);
16764 tmpld = ccosl(tmpld);
16765 tmpld = ccoshl(tmpld);
16766 tmpld = cexpl(tmpld);
16767 tmpld = clogl(tmpld);
16768 tmpld = csinl(tmpld);
16769 tmpld = csinhl(tmpld);
16770 tmpld = csqrtl(tmpld);
16771 tmpld = ctanl(tmpld);
16772 tmpld = ctanhl(tmpld);
16773 tmpld = cpowl(tmpld, tmpld);
16774 tmpld = cprojl(tmpld);
16775
16776 ;
16777 return 0;
16778 }
16779 _ACEOF
16780 if ac_fn_cxx_try_link "$LINENO"; then :
16781 glibcxx_cv_c99_complex=yes
16782 else
16783 glibcxx_cv_c99_complex=no
16784 fi
16785 rm -f core conftest.err conftest.$ac_objext \
16786 conftest$ac_exeext conftest.$ac_ext
16787 fi
16788 fi
16789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16790 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16791 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16792
16793 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16794
16795 fi
16796
16797 # Check for the existence in <stdio.h> of vscanf, et. al.
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16799 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16800 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16801 $as_echo_n "(cached) " >&6
16802 else
16803
16804 if test x$gcc_no_link = xyes; then
16805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16806 /* end confdefs.h. */
16807 #include <stdio.h>
16808 #include <stdarg.h>
16809 void foo(char* fmt, ...)
16810 {
16811 va_list args; va_start(args, fmt);
16812 vfscanf(stderr, "%i", args);
16813 vscanf("%i", args);
16814 vsnprintf(fmt, 0, "%i", args);
16815 vsscanf(fmt, "%i", args);
16816 }
16817 int
16818 main ()
16819 {
16820 snprintf("12", 0, "%i");
16821 ;
16822 return 0;
16823 }
16824 _ACEOF
16825 if ac_fn_cxx_try_compile "$LINENO"; then :
16826 glibcxx_cv_c99_stdio=yes
16827 else
16828 glibcxx_cv_c99_stdio=no
16829 fi
16830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16831 else
16832 if test x$gcc_no_link = xyes; then
16833 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16834 fi
16835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16836 /* end confdefs.h. */
16837 #include <stdio.h>
16838 #include <stdarg.h>
16839 void foo(char* fmt, ...)
16840 {
16841 va_list args; va_start(args, fmt);
16842 vfscanf(stderr, "%i", args);
16843 vscanf("%i", args);
16844 vsnprintf(fmt, 0, "%i", args);
16845 vsscanf(fmt, "%i", args);
16846 }
16847 int
16848 main ()
16849 {
16850 snprintf("12", 0, "%i");
16851 ;
16852 return 0;
16853 }
16854 _ACEOF
16855 if ac_fn_cxx_try_link "$LINENO"; then :
16856 glibcxx_cv_c99_stdio=yes
16857 else
16858 glibcxx_cv_c99_stdio=no
16859 fi
16860 rm -f core conftest.err conftest.$ac_objext \
16861 conftest$ac_exeext conftest.$ac_ext
16862 fi
16863
16864 fi
16865
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16867 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16868
16869 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16871 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16872 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16873 $as_echo_n "(cached) " >&6
16874 else
16875
16876 if test x$gcc_no_link = xyes; then
16877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16878 /* end confdefs.h. */
16879 #include <stdlib.h>
16880 volatile float f;
16881 volatile long double ld;
16882 volatile unsigned long long ll;
16883 lldiv_t mydivt;
16884 int
16885 main ()
16886 {
16887 char* tmp;
16888 f = strtof("gnu", &tmp);
16889 ld = strtold("gnu", &tmp);
16890 ll = strtoll("gnu", &tmp, 10);
16891 ll = strtoull("gnu", &tmp, 10);
16892 ll = llabs(10);
16893 mydivt = lldiv(10,1);
16894 ll = mydivt.quot;
16895 ll = mydivt.rem;
16896 ll = atoll("10");
16897 _Exit(0);
16898
16899 ;
16900 return 0;
16901 }
16902 _ACEOF
16903 if ac_fn_cxx_try_compile "$LINENO"; then :
16904 glibcxx_cv_c99_stdlib=yes
16905 else
16906 glibcxx_cv_c99_stdlib=no
16907 fi
16908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16909 else
16910 if test x$gcc_no_link = xyes; then
16911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16912 fi
16913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16914 /* end confdefs.h. */
16915 #include <stdlib.h>
16916 volatile float f;
16917 volatile long double ld;
16918 volatile unsigned long long ll;
16919 lldiv_t mydivt;
16920 int
16921 main ()
16922 {
16923 char* tmp;
16924 f = strtof("gnu", &tmp);
16925 ld = strtold("gnu", &tmp);
16926 ll = strtoll("gnu", &tmp, 10);
16927 ll = strtoull("gnu", &tmp, 10);
16928 ll = llabs(10);
16929 mydivt = lldiv(10,1);
16930 ll = mydivt.quot;
16931 ll = mydivt.rem;
16932 ll = atoll("10");
16933 _Exit(0);
16934
16935 ;
16936 return 0;
16937 }
16938 _ACEOF
16939 if ac_fn_cxx_try_link "$LINENO"; then :
16940 glibcxx_cv_c99_stdlib=yes
16941 else
16942 glibcxx_cv_c99_stdlib=no
16943 fi
16944 rm -f core conftest.err conftest.$ac_objext \
16945 conftest$ac_exeext conftest.$ac_ext
16946 fi
16947
16948 fi
16949
16950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16951 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16952
16953 # Check for the existence in <wchar.h> of wcstold, etc.
16954 glibcxx_cv_c99_wchar=no;
16955 if test x"$ac_has_wchar_h" = xyes &&
16956 test x"$ac_has_wctype_h" = xyes; then
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16958 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16960 /* end confdefs.h. */
16961 #include <wchar.h>
16962 namespace test
16963 {
16964 using ::wcstold;
16965 using ::wcstoll;
16966 using ::wcstoull;
16967 }
16968
16969 int
16970 main ()
16971 {
16972
16973 ;
16974 return 0;
16975 }
16976 _ACEOF
16977 if ac_fn_cxx_try_compile "$LINENO"; then :
16978 glibcxx_cv_c99_wchar=yes
16979 else
16980 glibcxx_cv_c99_wchar=no
16981 fi
16982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16983
16984 # Checks for wide character functions that may not be present.
16985 # Injection of these is wrapped with guard macros.
16986 # NB: only put functions here, instead of immediately above, if
16987 # absolutely necessary.
16988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16989 /* end confdefs.h. */
16990 #include <wchar.h>
16991 namespace test { using ::vfwscanf; }
16992 int
16993 main ()
16994 {
16995
16996 ;
16997 return 0;
16998 }
16999 _ACEOF
17000 if ac_fn_cxx_try_compile "$LINENO"; then :
17001
17002 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17003
17004 fi
17005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17006
17007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17008 /* end confdefs.h. */
17009 #include <wchar.h>
17010 namespace test { using ::vswscanf; }
17011 int
17012 main ()
17013 {
17014
17015 ;
17016 return 0;
17017 }
17018 _ACEOF
17019 if ac_fn_cxx_try_compile "$LINENO"; then :
17020
17021 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17022
17023 fi
17024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17025
17026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17027 /* end confdefs.h. */
17028 #include <wchar.h>
17029 namespace test { using ::vwscanf; }
17030 int
17031 main ()
17032 {
17033
17034 ;
17035 return 0;
17036 }
17037 _ACEOF
17038 if ac_fn_cxx_try_compile "$LINENO"; then :
17039
17040 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17041
17042 fi
17043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17044
17045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17046 /* end confdefs.h. */
17047 #include <wchar.h>
17048 namespace test { using ::wcstof; }
17049 int
17050 main ()
17051 {
17052
17053 ;
17054 return 0;
17055 }
17056 _ACEOF
17057 if ac_fn_cxx_try_compile "$LINENO"; then :
17058
17059 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17060
17061 fi
17062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17063
17064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17065 /* end confdefs.h. */
17066 #include <wctype.h>
17067 int
17068 main ()
17069 {
17070 wint_t t; int i = iswblank(t);
17071 ;
17072 return 0;
17073 }
17074 _ACEOF
17075 if ac_fn_cxx_try_compile "$LINENO"; then :
17076
17077 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17078
17079 fi
17080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17081
17082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17083 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17084 fi
17085
17086 # Option parsed, now set things appropriately.
17087 if test x"$glibcxx_cv_c99_math" = x"no" ||
17088 test x"$glibcxx_cv_c99_complex" = x"no" ||
17089 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17090 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17091 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17092 enable_c99=no;
17093 else
17094
17095 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17096
17097 fi
17098
17099 gcc_no_link="$ac_save_gcc_no_link"
17100 LIBS="$ac_save_LIBS"
17101 CXXFLAGS="$ac_save_CXXFLAGS"
17102 ac_ext=c
17103 ac_cpp='$CPP $CPPFLAGS'
17104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17107
17108 fi
17109
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17111 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17113 $as_echo "$enable_c99" >&6; }
17114
17115
17116 # Check whether --enable-concept-checks was given.
17117 if test "${enable_concept_checks+set}" = set; then :
17118 enableval=$enable_concept_checks;
17119 case "$enableval" in
17120 yes|no) ;;
17121 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17122 esac
17123
17124 else
17125 enable_concept_checks=no
17126 fi
17127
17128
17129 if test $enable_concept_checks = yes; then
17130
17131 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17132
17133 fi
17134
17135
17136 # Check whether --enable-libstdcxx-debug-flags was given.
17137 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17138 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17139 xno | x) enable_libstdcxx_debug_flags= ;;
17140 x-*) ;;
17141 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17142 esac
17143 else
17144 enable_libstdcxx_debug_flags="-g3 -O0"
17145 fi
17146
17147
17148
17149 # Option parsed, now set things appropriately
17150 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17151
17152
17153 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17154 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17155
17156
17157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17158 $as_echo_n "checking for additional debug build... " >&6; }
17159 # Check whether --enable-libstdcxx-debug was given.
17160 if test "${enable_libstdcxx_debug+set}" = set; then :
17161 enableval=$enable_libstdcxx_debug;
17162 case "$enableval" in
17163 yes|no) ;;
17164 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17165 esac
17166
17167 else
17168 enable_libstdcxx_debug=no
17169 fi
17170
17171
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17173 $as_echo "$enable_libstdcxx_debug" >&6; }
17174
17175
17176
17177
17178 enable_parallel=no;
17179
17180 # See if configured libgomp/omp.h exists. (libgomp may be in
17181 # noconfigdirs but not explicitly disabled.)
17182 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17183 enable_parallel=yes;
17184 else
17185 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17186 $as_echo "$as_me: target-libgomp not built" >&6;}
17187 fi
17188
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17190 $as_echo_n "checking for parallel mode support... " >&6; }
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17192 $as_echo "$enable_parallel" >&6; }
17193
17194
17195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17196 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17197 # Check whether --enable-cxx-flags was given.
17198 if test "${enable_cxx_flags+set}" = set; then :
17199 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17200 xno | x) enable_cxx_flags= ;;
17201 x-*) ;;
17202 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17203 esac
17204 else
17205 enable_cxx_flags=
17206 fi
17207
17208
17209
17210 # Run through flags (either default or command-line) and set anything
17211 # extra (e.g., #defines) that must accompany particular g++ options.
17212 if test -n "$enable_cxx_flags"; then
17213 for f in $enable_cxx_flags; do
17214 case "$f" in
17215 -fhonor-std) ;;
17216 -*) ;;
17217 *) # and we're trying to pass /what/ exactly?
17218 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17219 esac
17220 done
17221 fi
17222
17223 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17225 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17226
17227
17228
17229 # Check whether --enable-fully-dynamic-string was given.
17230 if test "${enable_fully_dynamic_string+set}" = set; then :
17231 enableval=$enable_fully_dynamic_string;
17232 case "$enableval" in
17233 yes|no) ;;
17234 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17235 esac
17236
17237 else
17238 enable_fully_dynamic_string=no
17239 fi
17240
17241
17242 if test $enable_fully_dynamic_string = yes; then
17243 enable_fully_dynamic_string_def=1
17244 else
17245 enable_fully_dynamic_string_def=0
17246 fi
17247
17248 cat >>confdefs.h <<_ACEOF
17249 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17250 _ACEOF
17251
17252
17253
17254
17255 # Check whether --enable-extern-template was given.
17256 if test "${enable_extern_template+set}" = set; then :
17257 enableval=$enable_extern_template;
17258 case "$enableval" in
17259 yes|no) ;;
17260 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17261 esac
17262
17263 else
17264 enable_extern_template=yes
17265 fi
17266
17267
17268
17269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17270 $as_echo_n "checking for extern template support... " >&6; }
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17272 $as_echo "$enable_extern_template" >&6; }
17273
17274
17275
17276
17277 # Checks for operating systems support that doesn't require linking.
17278
17279
17280
17281 ac_ext=cpp
17282 ac_cpp='$CXXCPP $CPPFLAGS'
17283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17286
17287
17288 case "$host" in
17289 *-*-solaris2.*)
17290 # Solaris 8 FCS only had an overload for double std::abs(double) in
17291 # <iso/math_iso.h>. Patches 111721-04 (SPARC) and 112757-01 (x86)
17292 # introduced the full set also found from Solaris 9 onwards.
17293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float std::abs(float) overload" >&5
17294 $as_echo_n "checking for float std::abs(float) overload... " >&6; }
17295 if test "${glibcxx_cv_abs_float+set}" = set; then :
17296 $as_echo_n "(cached) " >&6
17297 else
17298
17299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17300 /* end confdefs.h. */
17301 #include <math.h>
17302 namespace std {
17303 inline float abs(float __x)
17304 { return __builtin_fabsf(__x); }
17305 }
17306
17307 _ACEOF
17308 if ac_fn_cxx_try_compile "$LINENO"; then :
17309 glibcxx_cv_abs_float=no
17310 else
17311 glibcxx_cv_abs_float=yes
17312
17313 fi
17314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17315 fi
17316
17317
17318 # autoheader cannot handle indented templates.
17319
17320
17321
17322 if test $glibcxx_cv_abs_float = yes; then
17323 $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO1 1" >>confdefs.h
17324
17325 else
17326 $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO2 1" >>confdefs.h
17327
17328 fi
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_float" >&5
17330 $as_echo "$glibcxx_cv_abs_float" >&6; }
17331 ;;
17332 esac
17333
17334 ac_ext=c
17335 ac_cpp='$CPP $CPPFLAGS'
17336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17339
17340
17341
17342
17343
17344 ac_ext=cpp
17345 ac_cpp='$CXXCPP $CPPFLAGS'
17346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17349
17350
17351 case "$host" in
17352 *-*-solaris2.*)
17353 # Solaris 8 FCS lacked the overloads for long std::abs(long) and
17354 # ldiv_t std::div(long, long) in <iso/stdlib_iso.h>. Patches 109607-02
17355 # (SPARC) and 109608-02 (x86) introduced them.
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long std::abs(long) overload" >&5
17357 $as_echo_n "checking for long std::abs(long) overload... " >&6; }
17358 if test "${glibcxx_cv_abs_long+set}" = set; then :
17359 $as_echo_n "(cached) " >&6
17360 else
17361
17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 #include <stdlib.h>
17365 namespace std {
17366 inline long
17367 abs(long __i) { return labs(__i); }
17368 }
17369
17370 _ACEOF
17371 if ac_fn_cxx_try_compile "$LINENO"; then :
17372 glibcxx_cv_abs_long=no
17373 else
17374 glibcxx_cv_abs_long=yes
17375
17376 fi
17377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17378 fi
17379
17380
17381 # autoheader cannot handle indented templates.
17382
17383 if test $glibcxx_cv_abs_long = yes; then
17384 $as_echo "#define __CORRECT_ISO_CPP_STDLIB_H_PROTO 1" >>confdefs.h
17385
17386 fi
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_long" >&5
17388 $as_echo "$glibcxx_cv_abs_long" >&6; }
17389 ;;
17390 esac
17391
17392 ac_ext=c
17393 ac_cpp='$CPP $CPPFLAGS'
17394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17397
17398
17399
17400
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17402 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17403 if test "${glibcxx_cv_system_error1+set}" = set; then :
17404 $as_echo_n "(cached) " >&6
17405 else
17406
17407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17409 #include <errno.h>
17410 int
17411 main ()
17412 {
17413 int i = EOWNERDEAD;
17414 ;
17415 return 0;
17416 }
17417 _ACEOF
17418 if ac_fn_c_try_compile "$LINENO"; then :
17419 glibcxx_cv_system_error1=yes
17420 else
17421 glibcxx_cv_system_error1=no
17422 fi
17423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17424
17425 fi
17426
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17428 $as_echo "$glibcxx_cv_system_error1" >&6; }
17429 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17430
17431 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17432
17433 fi
17434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17435 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17436 if test "${glibcxx_cv_system_error2+set}" = set; then :
17437 $as_echo_n "(cached) " >&6
17438 else
17439
17440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17441 /* end confdefs.h. */
17442 #include <errno.h>
17443 int
17444 main ()
17445 {
17446 int i = ENOTRECOVERABLE;
17447 ;
17448 return 0;
17449 }
17450 _ACEOF
17451 if ac_fn_c_try_compile "$LINENO"; then :
17452 glibcxx_cv_system_error2=yes
17453 else
17454 glibcxx_cv_system_error2=no
17455 fi
17456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17457
17458 fi
17459
17460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17461 $as_echo "$glibcxx_cv_system_error2" >&6; }
17462 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17463
17464 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17465
17466 fi
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17468 $as_echo_n "checking for ENOLINK... " >&6; }
17469 if test "${glibcxx_cv_system_error3+set}" = set; then :
17470 $as_echo_n "(cached) " >&6
17471 else
17472
17473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17474 /* end confdefs.h. */
17475 #include <errno.h>
17476 int
17477 main ()
17478 {
17479 int i = ENOLINK;
17480 ;
17481 return 0;
17482 }
17483 _ACEOF
17484 if ac_fn_c_try_compile "$LINENO"; then :
17485 glibcxx_cv_system_error3=yes
17486 else
17487 glibcxx_cv_system_error3=no
17488 fi
17489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17490
17491 fi
17492
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17494 $as_echo "$glibcxx_cv_system_error3" >&6; }
17495 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17496
17497 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17498
17499 fi
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17501 $as_echo_n "checking for EPROTO... " >&6; }
17502 if test "${glibcxx_cv_system_error4+set}" = set; then :
17503 $as_echo_n "(cached) " >&6
17504 else
17505
17506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17507 /* end confdefs.h. */
17508 #include <errno.h>
17509 int
17510 main ()
17511 {
17512 int i = EPROTO;
17513 ;
17514 return 0;
17515 }
17516 _ACEOF
17517 if ac_fn_c_try_compile "$LINENO"; then :
17518 glibcxx_cv_system_error4=yes
17519 else
17520 glibcxx_cv_system_error4=no
17521 fi
17522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17523
17524 fi
17525
17526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17527 $as_echo "$glibcxx_cv_system_error4" >&6; }
17528 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17529
17530 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17531
17532 fi
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17534 $as_echo_n "checking for ENODATA... " >&6; }
17535 if test "${glibcxx_cv_system_error5+set}" = set; then :
17536 $as_echo_n "(cached) " >&6
17537 else
17538
17539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17540 /* end confdefs.h. */
17541 #include <errno.h>
17542 int
17543 main ()
17544 {
17545 int i = ENODATA;
17546 ;
17547 return 0;
17548 }
17549 _ACEOF
17550 if ac_fn_c_try_compile "$LINENO"; then :
17551 glibcxx_cv_system_error5=yes
17552 else
17553 glibcxx_cv_system_error5=no
17554 fi
17555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17556
17557 fi
17558
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17560 $as_echo "$glibcxx_cv_system_error5" >&6; }
17561 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17562
17563 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17564
17565 fi
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17567 $as_echo_n "checking for ENOSR... " >&6; }
17568 if test "${glibcxx_cv_system_error6+set}" = set; then :
17569 $as_echo_n "(cached) " >&6
17570 else
17571
17572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17573 /* end confdefs.h. */
17574 #include <errno.h>
17575 int
17576 main ()
17577 {
17578 int i = ENOSR;
17579 ;
17580 return 0;
17581 }
17582 _ACEOF
17583 if ac_fn_c_try_compile "$LINENO"; then :
17584 glibcxx_cv_system_error6=yes
17585 else
17586 glibcxx_cv_system_error6=no
17587 fi
17588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17589
17590 fi
17591
17592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17593 $as_echo "$glibcxx_cv_system_error6" >&6; }
17594 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17595
17596 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17597
17598 fi
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17600 $as_echo_n "checking for ENOSTR... " >&6; }
17601 if test "${glibcxx_cv_system_error7+set}" = set; then :
17602 $as_echo_n "(cached) " >&6
17603 else
17604
17605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17606 /* end confdefs.h. */
17607 #include <errno.h>
17608 int
17609 main ()
17610 {
17611 int i = ENOSTR;
17612 ;
17613 return 0;
17614 }
17615 _ACEOF
17616 if ac_fn_c_try_compile "$LINENO"; then :
17617 glibcxx_cv_system_error7=yes
17618 else
17619 glibcxx_cv_system_error7=no
17620 fi
17621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17622
17623 fi
17624
17625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17626 $as_echo "$glibcxx_cv_system_error7" >&6; }
17627 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17628
17629 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17630
17631 fi
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17633 $as_echo_n "checking for ETIME... " >&6; }
17634 if test "${glibcxx_cv_system_error8+set}" = set; then :
17635 $as_echo_n "(cached) " >&6
17636 else
17637
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17640 #include <errno.h>
17641 int
17642 main ()
17643 {
17644 int i = ETIME;
17645 ;
17646 return 0;
17647 }
17648 _ACEOF
17649 if ac_fn_c_try_compile "$LINENO"; then :
17650 glibcxx_cv_system_error8=yes
17651 else
17652 glibcxx_cv_system_error8=no
17653 fi
17654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17655
17656 fi
17657
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17659 $as_echo "$glibcxx_cv_system_error8" >&6; }
17660 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17661
17662 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17663
17664 fi
17665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17666 $as_echo_n "checking for EBADMSG... " >&6; }
17667 if test "${glibcxx_cv_system_error9+set}" = set; then :
17668 $as_echo_n "(cached) " >&6
17669 else
17670
17671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17672 /* end confdefs.h. */
17673 #include <errno.h>
17674 int
17675 main ()
17676 {
17677 int i = EBADMSG;
17678 ;
17679 return 0;
17680 }
17681 _ACEOF
17682 if ac_fn_c_try_compile "$LINENO"; then :
17683 glibcxx_cv_system_error9=yes
17684 else
17685 glibcxx_cv_system_error9=no
17686 fi
17687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17688
17689 fi
17690
17691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17692 $as_echo "$glibcxx_cv_system_error9" >&6; }
17693 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17694
17695 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17696
17697 fi
17698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17699 $as_echo_n "checking for ECANCELED... " >&6; }
17700 if test "${glibcxx_cv_system_error10+set}" = set; then :
17701 $as_echo_n "(cached) " >&6
17702 else
17703
17704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17705 /* end confdefs.h. */
17706 #include <errno.h>
17707 int
17708 main ()
17709 {
17710 int i = ECANCELED;
17711 ;
17712 return 0;
17713 }
17714 _ACEOF
17715 if ac_fn_c_try_compile "$LINENO"; then :
17716 glibcxx_cv_system_error10=yes
17717 else
17718 glibcxx_cv_system_error10=no
17719 fi
17720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17721
17722 fi
17723
17724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17725 $as_echo "$glibcxx_cv_system_error10" >&6; }
17726 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17727
17728 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17729
17730 fi
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17732 $as_echo_n "checking for EOVERFLOW... " >&6; }
17733 if test "${glibcxx_cv_system_error11+set}" = set; then :
17734 $as_echo_n "(cached) " >&6
17735 else
17736
17737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17738 /* end confdefs.h. */
17739 #include <errno.h>
17740 int
17741 main ()
17742 {
17743 int i = EOVERFLOW;
17744 ;
17745 return 0;
17746 }
17747 _ACEOF
17748 if ac_fn_c_try_compile "$LINENO"; then :
17749 glibcxx_cv_system_error11=yes
17750 else
17751 glibcxx_cv_system_error11=no
17752 fi
17753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17754
17755 fi
17756
17757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17758 $as_echo "$glibcxx_cv_system_error11" >&6; }
17759 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17760
17761 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17762
17763 fi
17764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17765 $as_echo_n "checking for ENOTSUP... " >&6; }
17766 if test "${glibcxx_cv_system_error12+set}" = set; then :
17767 $as_echo_n "(cached) " >&6
17768 else
17769
17770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17771 /* end confdefs.h. */
17772 #include <errno.h>
17773 int
17774 main ()
17775 {
17776 int i = ENOTSUP;
17777 ;
17778 return 0;
17779 }
17780 _ACEOF
17781 if ac_fn_c_try_compile "$LINENO"; then :
17782 glibcxx_cv_system_error12=yes
17783 else
17784 glibcxx_cv_system_error12=no
17785 fi
17786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17787
17788 fi
17789
17790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17791 $as_echo "$glibcxx_cv_system_error12" >&6; }
17792 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17793
17794 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17795
17796 fi
17797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17798 $as_echo_n "checking for EIDRM... " >&6; }
17799 if test "${glibcxx_cv_system_error13+set}" = set; then :
17800 $as_echo_n "(cached) " >&6
17801 else
17802
17803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17804 /* end confdefs.h. */
17805 #include <errno.h>
17806 int
17807 main ()
17808 {
17809 int i = EIDRM;
17810 ;
17811 return 0;
17812 }
17813 _ACEOF
17814 if ac_fn_c_try_compile "$LINENO"; then :
17815 glibcxx_cv_system_error13=yes
17816 else
17817 glibcxx_cv_system_error13=no
17818 fi
17819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17820
17821 fi
17822
17823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17824 $as_echo "$glibcxx_cv_system_error13" >&6; }
17825 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17826
17827 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17828
17829 fi
17830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17831 $as_echo_n "checking for ETXTBSY... " >&6; }
17832 if test "${glibcxx_cv_system_error14+set}" = set; then :
17833 $as_echo_n "(cached) " >&6
17834 else
17835
17836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17837 /* end confdefs.h. */
17838 #include <errno.h>
17839 int
17840 main ()
17841 {
17842 int i = ETXTBSY;
17843 ;
17844 return 0;
17845 }
17846 _ACEOF
17847 if ac_fn_c_try_compile "$LINENO"; then :
17848 glibcxx_cv_system_error14=yes
17849 else
17850 glibcxx_cv_system_error14=no
17851 fi
17852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17853
17854 fi
17855
17856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17857 $as_echo "$glibcxx_cv_system_error14" >&6; }
17858 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17859
17860 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17861
17862 fi
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17864 $as_echo_n "checking for ECHILD... " >&6; }
17865 if test "${glibcxx_cv_system_error15+set}" = set; then :
17866 $as_echo_n "(cached) " >&6
17867 else
17868
17869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17870 /* end confdefs.h. */
17871 #include <errno.h>
17872 int
17873 main ()
17874 {
17875 int i = ECHILD;
17876 ;
17877 return 0;
17878 }
17879 _ACEOF
17880 if ac_fn_c_try_compile "$LINENO"; then :
17881 glibcxx_cv_system_error15=yes
17882 else
17883 glibcxx_cv_system_error15=no
17884 fi
17885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17886
17887 fi
17888
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17890 $as_echo "$glibcxx_cv_system_error15" >&6; }
17891 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17892
17893 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17894
17895 fi
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17897 $as_echo_n "checking for ENOSPC... " >&6; }
17898 if test "${glibcxx_cv_system_error16+set}" = set; then :
17899 $as_echo_n "(cached) " >&6
17900 else
17901
17902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17903 /* end confdefs.h. */
17904 #include <errno.h>
17905 int
17906 main ()
17907 {
17908 int i = ENOSPC;
17909 ;
17910 return 0;
17911 }
17912 _ACEOF
17913 if ac_fn_c_try_compile "$LINENO"; then :
17914 glibcxx_cv_system_error16=yes
17915 else
17916 glibcxx_cv_system_error16=no
17917 fi
17918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17919
17920 fi
17921
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17923 $as_echo "$glibcxx_cv_system_error16" >&6; }
17924 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17925
17926 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17927
17928 fi
17929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17930 $as_echo_n "checking for EPERM... " >&6; }
17931 if test "${glibcxx_cv_system_error17+set}" = set; then :
17932 $as_echo_n "(cached) " >&6
17933 else
17934
17935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17936 /* end confdefs.h. */
17937 #include <errno.h>
17938 int
17939 main ()
17940 {
17941 int i = EPERM;
17942 ;
17943 return 0;
17944 }
17945 _ACEOF
17946 if ac_fn_c_try_compile "$LINENO"; then :
17947 glibcxx_cv_system_error17=yes
17948 else
17949 glibcxx_cv_system_error17=no
17950 fi
17951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17952
17953 fi
17954
17955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17956 $as_echo "$glibcxx_cv_system_error17" >&6; }
17957 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17958
17959 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17960
17961 fi
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17963 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17964 if test "${glibcxx_cv_system_error18+set}" = set; then :
17965 $as_echo_n "(cached) " >&6
17966 else
17967
17968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17969 /* end confdefs.h. */
17970 #include <errno.h>
17971 int
17972 main ()
17973 {
17974 int i = ETIMEDOUT;
17975 ;
17976 return 0;
17977 }
17978 _ACEOF
17979 if ac_fn_c_try_compile "$LINENO"; then :
17980 glibcxx_cv_system_error18=yes
17981 else
17982 glibcxx_cv_system_error18=no
17983 fi
17984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17985
17986 fi
17987
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
17989 $as_echo "$glibcxx_cv_system_error18" >&6; }
17990 if test x"$glibcxx_cv_system_error18" = x"yes"; then
17991
17992 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
17993
17994 fi
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
17996 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
17997 if test "${glibcxx_cv_system_error19+set}" = set; then :
17998 $as_echo_n "(cached) " >&6
17999 else
18000
18001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18002 /* end confdefs.h. */
18003 #include <errno.h>
18004 int
18005 main ()
18006 {
18007 int i = EWOULDBLOCK;
18008 ;
18009 return 0;
18010 }
18011 _ACEOF
18012 if ac_fn_c_try_compile "$LINENO"; then :
18013 glibcxx_cv_system_error19=yes
18014 else
18015 glibcxx_cv_system_error19=no
18016 fi
18017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18018
18019 fi
18020
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18022 $as_echo "$glibcxx_cv_system_error19" >&6; }
18023 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18024
18025 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18026
18027 fi
18028
18029
18030
18031 # For the streamoff typedef.
18032
18033
18034
18035 ac_ext=cpp
18036 ac_cpp='$CXXCPP $CPPFLAGS'
18037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18040
18041
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18043 $as_echo_n "checking for int64_t... " >&6; }
18044 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18045 $as_echo_n "(cached) " >&6
18046 else
18047
18048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18049 /* end confdefs.h. */
18050 #include <stdint.h>
18051 int
18052 main ()
18053 {
18054 int64_t var;
18055 ;
18056 return 0;
18057 }
18058 _ACEOF
18059 if ac_fn_cxx_try_compile "$LINENO"; then :
18060 glibcxx_cv_INT64_T=yes
18061 else
18062 glibcxx_cv_INT64_T=no
18063 fi
18064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18065
18066 fi
18067
18068
18069 if test $glibcxx_cv_INT64_T = yes; then
18070
18071 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18072
18073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18074 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18075
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18077 $as_echo_n "checking for int64_t as long... " >&6; }
18078 if test "${glibcxx_cv_int64_t_long+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 template<typename, typename> struct same { enum { value = -1 }; };
18086 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18087 int array[same<int64_t, long>::value];
18088 int
18089 main ()
18090 {
18091
18092 ;
18093 return 0;
18094 }
18095 _ACEOF
18096 if ac_fn_cxx_try_compile "$LINENO"; then :
18097 glibcxx_cv_int64_t_long=yes
18098 else
18099 glibcxx_cv_int64_t_long=no
18100 fi
18101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18102
18103 fi
18104
18105
18106 if test $glibcxx_cv_int64_t_long = yes; then
18107
18108 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18109
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18111 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18112 fi
18113
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18115 $as_echo_n "checking for int64_t as long long... " >&6; }
18116 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18117 $as_echo_n "(cached) " >&6
18118 else
18119
18120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18121 /* end confdefs.h. */
18122 #include <stdint.h>
18123 template<typename, typename> struct same { enum { value = -1 }; };
18124 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18125 int array[same<int64_t, long long>::value];
18126 int
18127 main ()
18128 {
18129
18130 ;
18131 return 0;
18132 }
18133 _ACEOF
18134 if ac_fn_cxx_try_compile "$LINENO"; then :
18135 glibcxx_cv_int64_t_long_long=yes
18136 else
18137 glibcxx_cv_int64_t_long_long=no
18138 fi
18139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18140
18141 fi
18142
18143
18144 if test $glibcxx_cv_int64_t_long_long = yes; then
18145
18146 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18147
18148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18149 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18150 fi
18151 fi
18152
18153 ac_ext=c
18154 ac_cpp='$CPP $CPPFLAGS'
18155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18158
18159
18160
18161 # For LFS support.
18162
18163
18164 ac_ext=cpp
18165 ac_cpp='$CXXCPP $CPPFLAGS'
18166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18169
18170 ac_save_CXXFLAGS="$CXXFLAGS"
18171 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18173 $as_echo_n "checking for LFS support... " >&6; }
18174 if test "${glibcxx_cv_LFS+set}" = set; then :
18175 $as_echo_n "(cached) " >&6
18176 else
18177
18178 if test x$gcc_no_link = xyes; then
18179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18180 /* end confdefs.h. */
18181 #include <unistd.h>
18182 #include <stdio.h>
18183 #include <sys/stat.h>
18184
18185 int
18186 main ()
18187 {
18188 FILE* fp;
18189 fopen64("t", "w");
18190 fseeko64(fp, 0, SEEK_CUR);
18191 ftello64(fp);
18192 lseek64(1, 0, SEEK_CUR);
18193 struct stat64 buf;
18194 fstat64(1, &buf);
18195 ;
18196 return 0;
18197 }
18198 _ACEOF
18199 if ac_fn_cxx_try_compile "$LINENO"; then :
18200 glibcxx_cv_LFS=yes
18201 else
18202 glibcxx_cv_LFS=no
18203 fi
18204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18205 else
18206 if test x$gcc_no_link = xyes; then
18207 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18208 fi
18209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18210 /* end confdefs.h. */
18211 #include <unistd.h>
18212 #include <stdio.h>
18213 #include <sys/stat.h>
18214
18215 int
18216 main ()
18217 {
18218 FILE* fp;
18219 fopen64("t", "w");
18220 fseeko64(fp, 0, SEEK_CUR);
18221 ftello64(fp);
18222 lseek64(1, 0, SEEK_CUR);
18223 struct stat64 buf;
18224 fstat64(1, &buf);
18225 ;
18226 return 0;
18227 }
18228 _ACEOF
18229 if ac_fn_cxx_try_link "$LINENO"; then :
18230 glibcxx_cv_LFS=yes
18231 else
18232 glibcxx_cv_LFS=no
18233 fi
18234 rm -f core conftest.err conftest.$ac_objext \
18235 conftest$ac_exeext conftest.$ac_ext
18236 fi
18237
18238 fi
18239
18240 if test $glibcxx_cv_LFS = yes; then
18241
18242 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18243
18244 fi
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18246 $as_echo "$glibcxx_cv_LFS" >&6; }
18247 CXXFLAGS="$ac_save_CXXFLAGS"
18248 ac_ext=c
18249 ac_cpp='$CPP $CPPFLAGS'
18250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18253
18254
18255
18256 # For showmanyc_helper().
18257 for ac_header in sys/ioctl.h sys/filio.h
18258 do :
18259 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18260 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18261 eval as_val=\$$as_ac_Header
18262 if test "x$as_val" = x""yes; then :
18263 cat >>confdefs.h <<_ACEOF
18264 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18265 _ACEOF
18266
18267 fi
18268
18269 done
18270
18271
18272
18273
18274 ac_ext=cpp
18275 ac_cpp='$CXXCPP $CPPFLAGS'
18276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18279
18280 ac_save_CXXFLAGS="$CXXFLAGS"
18281 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18282
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18284 $as_echo_n "checking for poll... " >&6; }
18285 if test "${glibcxx_cv_POLL+set}" = set; then :
18286 $as_echo_n "(cached) " >&6
18287 else
18288
18289 if test x$gcc_no_link = xyes; then
18290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18291 /* end confdefs.h. */
18292 #include <poll.h>
18293 int
18294 main ()
18295 {
18296 struct pollfd pfd[1];
18297 pfd[0].events = POLLIN;
18298 poll(pfd, 1, 0);
18299 ;
18300 return 0;
18301 }
18302 _ACEOF
18303 if ac_fn_cxx_try_compile "$LINENO"; then :
18304 glibcxx_cv_POLL=yes
18305 else
18306 glibcxx_cv_POLL=no
18307 fi
18308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18309 else
18310 if test x$gcc_no_link = xyes; then
18311 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18312 fi
18313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18314 /* end confdefs.h. */
18315 #include <poll.h>
18316 int
18317 main ()
18318 {
18319 struct pollfd pfd[1];
18320 pfd[0].events = POLLIN;
18321 poll(pfd, 1, 0);
18322 ;
18323 return 0;
18324 }
18325 _ACEOF
18326 if ac_fn_cxx_try_link "$LINENO"; then :
18327 glibcxx_cv_POLL=yes
18328 else
18329 glibcxx_cv_POLL=no
18330 fi
18331 rm -f core conftest.err conftest.$ac_objext \
18332 conftest$ac_exeext conftest.$ac_ext
18333 fi
18334
18335 fi
18336
18337 if test $glibcxx_cv_POLL = yes; then
18338
18339 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18340
18341 fi
18342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18343 $as_echo "$glibcxx_cv_POLL" >&6; }
18344
18345 CXXFLAGS="$ac_save_CXXFLAGS"
18346 ac_ext=c
18347 ac_cpp='$CPP $CPPFLAGS'
18348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18351
18352
18353
18354
18355
18356 ac_ext=cpp
18357 ac_cpp='$CXXCPP $CPPFLAGS'
18358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18361
18362 ac_save_CXXFLAGS="$CXXFLAGS"
18363 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18364
18365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18366 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18367 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18368 $as_echo_n "(cached) " >&6
18369 else
18370
18371 if test x$gcc_no_link = xyes; then
18372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18373 /* end confdefs.h. */
18374 #include <sys/stat.h>
18375 int
18376 main ()
18377 {
18378 struct stat buffer;
18379 fstat(0, &buffer);
18380 S_ISREG(buffer.st_mode);
18381 ;
18382 return 0;
18383 }
18384 _ACEOF
18385 if ac_fn_cxx_try_compile "$LINENO"; then :
18386 glibcxx_cv_S_ISREG=yes
18387 else
18388 glibcxx_cv_S_ISREG=no
18389 fi
18390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18391 else
18392 if test x$gcc_no_link = xyes; then
18393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18394 fi
18395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18396 /* end confdefs.h. */
18397 #include <sys/stat.h>
18398 int
18399 main ()
18400 {
18401 struct stat buffer;
18402 fstat(0, &buffer);
18403 S_ISREG(buffer.st_mode);
18404 ;
18405 return 0;
18406 }
18407 _ACEOF
18408 if ac_fn_cxx_try_link "$LINENO"; then :
18409 glibcxx_cv_S_ISREG=yes
18410 else
18411 glibcxx_cv_S_ISREG=no
18412 fi
18413 rm -f core conftest.err conftest.$ac_objext \
18414 conftest$ac_exeext conftest.$ac_ext
18415 fi
18416
18417 fi
18418
18419 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18420 $as_echo_n "(cached) " >&6
18421 else
18422
18423 if test x$gcc_no_link = xyes; then
18424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18425 /* end confdefs.h. */
18426 #include <sys/stat.h>
18427 int
18428 main ()
18429 {
18430 struct stat buffer;
18431 fstat(0, &buffer);
18432 S_IFREG & buffer.st_mode;
18433 ;
18434 return 0;
18435 }
18436 _ACEOF
18437 if ac_fn_cxx_try_compile "$LINENO"; then :
18438 glibcxx_cv_S_IFREG=yes
18439 else
18440 glibcxx_cv_S_IFREG=no
18441 fi
18442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18443 else
18444 if test x$gcc_no_link = xyes; then
18445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18446 fi
18447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18448 /* end confdefs.h. */
18449 #include <sys/stat.h>
18450 int
18451 main ()
18452 {
18453 struct stat buffer;
18454 fstat(0, &buffer);
18455 S_IFREG & buffer.st_mode;
18456 ;
18457 return 0;
18458 }
18459 _ACEOF
18460 if ac_fn_cxx_try_link "$LINENO"; then :
18461 glibcxx_cv_S_IFREG=yes
18462 else
18463 glibcxx_cv_S_IFREG=no
18464 fi
18465 rm -f core conftest.err conftest.$ac_objext \
18466 conftest$ac_exeext conftest.$ac_ext
18467 fi
18468
18469 fi
18470
18471 res=no
18472 if test $glibcxx_cv_S_ISREG = yes; then
18473
18474 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18475
18476 res=S_ISREG
18477 elif test $glibcxx_cv_S_IFREG = yes; then
18478
18479 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18480
18481 res=S_IFREG
18482 fi
18483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18484 $as_echo "$res" >&6; }
18485
18486 CXXFLAGS="$ac_save_CXXFLAGS"
18487 ac_ext=c
18488 ac_cpp='$CPP $CPPFLAGS'
18489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18492
18493
18494
18495 # For xsputn_2().
18496 for ac_header in sys/uio.h
18497 do :
18498 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18499 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18500 cat >>confdefs.h <<_ACEOF
18501 #define HAVE_SYS_UIO_H 1
18502 _ACEOF
18503
18504 fi
18505
18506 done
18507
18508
18509
18510
18511 ac_ext=cpp
18512 ac_cpp='$CXXCPP $CPPFLAGS'
18513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18516
18517 ac_save_CXXFLAGS="$CXXFLAGS"
18518 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18519
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18521 $as_echo_n "checking for writev... " >&6; }
18522 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18523 $as_echo_n "(cached) " >&6
18524 else
18525
18526 if test x$gcc_no_link = xyes; then
18527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18528 /* end confdefs.h. */
18529 #include <sys/uio.h>
18530 int
18531 main ()
18532 {
18533 struct iovec iov[2];
18534 writev(0, iov, 0);
18535 ;
18536 return 0;
18537 }
18538 _ACEOF
18539 if ac_fn_cxx_try_compile "$LINENO"; then :
18540 glibcxx_cv_WRITEV=yes
18541 else
18542 glibcxx_cv_WRITEV=no
18543 fi
18544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18545 else
18546 if test x$gcc_no_link = xyes; then
18547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18548 fi
18549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18550 /* end confdefs.h. */
18551 #include <sys/uio.h>
18552 int
18553 main ()
18554 {
18555 struct iovec iov[2];
18556 writev(0, iov, 0);
18557 ;
18558 return 0;
18559 }
18560 _ACEOF
18561 if ac_fn_cxx_try_link "$LINENO"; then :
18562 glibcxx_cv_WRITEV=yes
18563 else
18564 glibcxx_cv_WRITEV=no
18565 fi
18566 rm -f core conftest.err conftest.$ac_objext \
18567 conftest$ac_exeext conftest.$ac_ext
18568 fi
18569
18570 fi
18571
18572 if test $glibcxx_cv_WRITEV = yes; then
18573
18574 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18575
18576 fi
18577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18578 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18579
18580 CXXFLAGS="$ac_save_CXXFLAGS"
18581 ac_ext=c
18582 ac_cpp='$CPP $CPPFLAGS'
18583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18586
18587
18588
18589 # For C99 support to TR1.
18590
18591
18592
18593 ac_ext=cpp
18594 ac_cpp='$CXXCPP $CPPFLAGS'
18595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18598
18599
18600 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18601 # undefined and fake C99 facilities may be spuriously enabled.
18602 ac_save_CXXFLAGS="$CXXFLAGS"
18603 CXXFLAGS="$CXXFLAGS -std=c++98"
18604
18605 # Check for the existence of <complex.h> complex math functions used
18606 # by tr1/complex.
18607 for ac_header in complex.h
18608 do :
18609 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18610 if test "x$ac_cv_header_complex_h" = x""yes; then :
18611 cat >>confdefs.h <<_ACEOF
18612 #define HAVE_COMPLEX_H 1
18613 _ACEOF
18614 ac_has_complex_h=yes
18615 else
18616 ac_has_complex_h=no
18617 fi
18618
18619 done
18620
18621 ac_c99_complex_tr1=no;
18622 if test x"$ac_has_complex_h" = x"yes"; then
18623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18624 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18626 /* end confdefs.h. */
18627 #include <complex.h>
18628 int
18629 main ()
18630 {
18631 typedef __complex__ float float_type; float_type tmpf;
18632 cacosf(tmpf);
18633 casinf(tmpf);
18634 catanf(tmpf);
18635 cacoshf(tmpf);
18636 casinhf(tmpf);
18637 catanhf(tmpf);
18638 typedef __complex__ double double_type; double_type tmpd;
18639 cacos(tmpd);
18640 casin(tmpd);
18641 catan(tmpd);
18642 cacosh(tmpd);
18643 casinh(tmpd);
18644 catanh(tmpd);
18645 typedef __complex__ long double ld_type; ld_type tmpld;
18646 cacosl(tmpld);
18647 casinl(tmpld);
18648 catanl(tmpld);
18649 cacoshl(tmpld);
18650 casinhl(tmpld);
18651 catanhl(tmpld);
18652
18653 ;
18654 return 0;
18655 }
18656 _ACEOF
18657 if ac_fn_cxx_try_compile "$LINENO"; then :
18658 ac_c99_complex_tr1=yes
18659 else
18660 ac_c99_complex_tr1=no
18661 fi
18662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18663 fi
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18665 $as_echo "$ac_c99_complex_tr1" >&6; }
18666 if test x"$ac_c99_complex_tr1" = x"yes"; then
18667
18668 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18669
18670 fi
18671
18672 # Check for the existence of <ctype.h> functions.
18673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18674 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18675 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18676 $as_echo_n "(cached) " >&6
18677 else
18678
18679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18680 /* end confdefs.h. */
18681 #include <ctype.h>
18682 int
18683 main ()
18684 {
18685 int ch;
18686 int ret;
18687 ret = isblank(ch);
18688
18689 ;
18690 return 0;
18691 }
18692 _ACEOF
18693 if ac_fn_cxx_try_compile "$LINENO"; then :
18694 glibcxx_cv_c99_ctype_tr1=yes
18695 else
18696 glibcxx_cv_c99_ctype_tr1=no
18697 fi
18698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18699
18700 fi
18701
18702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18703 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18704 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18705
18706 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18707
18708 fi
18709
18710 # Check for the existence of <fenv.h> functions.
18711 for ac_header in fenv.h
18712 do :
18713 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18714 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18715 cat >>confdefs.h <<_ACEOF
18716 #define HAVE_FENV_H 1
18717 _ACEOF
18718 ac_has_fenv_h=yes
18719 else
18720 ac_has_fenv_h=no
18721 fi
18722
18723 done
18724
18725 ac_c99_fenv_tr1=no;
18726 if test x"$ac_has_fenv_h" = x"yes"; then
18727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18728 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18730 /* end confdefs.h. */
18731 #include <fenv.h>
18732 int
18733 main ()
18734 {
18735 int except, mode;
18736 fexcept_t* pflag;
18737 fenv_t* penv;
18738 int ret;
18739 ret = feclearexcept(except);
18740 ret = fegetexceptflag(pflag, except);
18741 ret = feraiseexcept(except);
18742 ret = fesetexceptflag(pflag, except);
18743 ret = fetestexcept(except);
18744 ret = fegetround();
18745 ret = fesetround(mode);
18746 ret = fegetenv(penv);
18747 ret = feholdexcept(penv);
18748 ret = fesetenv(penv);
18749 ret = feupdateenv(penv);
18750
18751 ;
18752 return 0;
18753 }
18754 _ACEOF
18755 if ac_fn_cxx_try_compile "$LINENO"; then :
18756 ac_c99_fenv_tr1=yes
18757 else
18758 ac_c99_fenv_tr1=no
18759 fi
18760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18761 fi
18762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18763 $as_echo "$ac_c99_fenv_tr1" >&6; }
18764 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18765
18766 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18767
18768 fi
18769
18770 # Check for the existence of <stdint.h> types.
18771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18772 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18773 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18774 $as_echo_n "(cached) " >&6
18775 else
18776
18777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18778 /* end confdefs.h. */
18779 #define __STDC_LIMIT_MACROS
18780 #define __STDC_CONSTANT_MACROS
18781 #include <stdint.h>
18782 int
18783 main ()
18784 {
18785 typedef int8_t my_int8_t;
18786 my_int8_t i8 = INT8_MIN;
18787 i8 = INT8_MAX;
18788 typedef int16_t my_int16_t;
18789 my_int16_t i16 = INT16_MIN;
18790 i16 = INT16_MAX;
18791 typedef int32_t my_int32_t;
18792 my_int32_t i32 = INT32_MIN;
18793 i32 = INT32_MAX;
18794 typedef int64_t my_int64_t;
18795 my_int64_t i64 = INT64_MIN;
18796 i64 = INT64_MAX;
18797 typedef int_fast8_t my_int_fast8_t;
18798 my_int_fast8_t if8 = INT_FAST8_MIN;
18799 if8 = INT_FAST8_MAX;
18800 typedef int_fast16_t my_int_fast16_t;
18801 my_int_fast16_t if16 = INT_FAST16_MIN;
18802 if16 = INT_FAST16_MAX;
18803 typedef int_fast32_t my_int_fast32_t;
18804 my_int_fast32_t if32 = INT_FAST32_MIN;
18805 if32 = INT_FAST32_MAX;
18806 typedef int_fast64_t my_int_fast64_t;
18807 my_int_fast64_t if64 = INT_FAST64_MIN;
18808 if64 = INT_FAST64_MAX;
18809 typedef int_least8_t my_int_least8_t;
18810 my_int_least8_t il8 = INT_LEAST8_MIN;
18811 il8 = INT_LEAST8_MAX;
18812 typedef int_least16_t my_int_least16_t;
18813 my_int_least16_t il16 = INT_LEAST16_MIN;
18814 il16 = INT_LEAST16_MAX;
18815 typedef int_least32_t my_int_least32_t;
18816 my_int_least32_t il32 = INT_LEAST32_MIN;
18817 il32 = INT_LEAST32_MAX;
18818 typedef int_least64_t my_int_least64_t;
18819 my_int_least64_t il64 = INT_LEAST64_MIN;
18820 il64 = INT_LEAST64_MAX;
18821 typedef intmax_t my_intmax_t;
18822 my_intmax_t im = INTMAX_MAX;
18823 im = INTMAX_MIN;
18824 typedef intptr_t my_intptr_t;
18825 my_intptr_t ip = INTPTR_MAX;
18826 ip = INTPTR_MIN;
18827 typedef uint8_t my_uint8_t;
18828 my_uint8_t ui8 = UINT8_MAX;
18829 ui8 = UINT8_MAX;
18830 typedef uint16_t my_uint16_t;
18831 my_uint16_t ui16 = UINT16_MAX;
18832 ui16 = UINT16_MAX;
18833 typedef uint32_t my_uint32_t;
18834 my_uint32_t ui32 = UINT32_MAX;
18835 ui32 = UINT32_MAX;
18836 typedef uint64_t my_uint64_t;
18837 my_uint64_t ui64 = UINT64_MAX;
18838 ui64 = UINT64_MAX;
18839 typedef uint_fast8_t my_uint_fast8_t;
18840 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18841 uif8 = UINT_FAST8_MAX;
18842 typedef uint_fast16_t my_uint_fast16_t;
18843 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18844 uif16 = UINT_FAST16_MAX;
18845 typedef uint_fast32_t my_uint_fast32_t;
18846 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18847 uif32 = UINT_FAST32_MAX;
18848 typedef uint_fast64_t my_uint_fast64_t;
18849 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18850 uif64 = UINT_FAST64_MAX;
18851 typedef uint_least8_t my_uint_least8_t;
18852 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18853 uil8 = UINT_LEAST8_MAX;
18854 typedef uint_least16_t my_uint_least16_t;
18855 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18856 uil16 = UINT_LEAST16_MAX;
18857 typedef uint_least32_t my_uint_least32_t;
18858 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18859 uil32 = UINT_LEAST32_MAX;
18860 typedef uint_least64_t my_uint_least64_t;
18861 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18862 uil64 = UINT_LEAST64_MAX;
18863 typedef uintmax_t my_uintmax_t;
18864 my_uintmax_t uim = UINTMAX_MAX;
18865 uim = UINTMAX_MAX;
18866 typedef uintptr_t my_uintptr_t;
18867 my_uintptr_t uip = UINTPTR_MAX;
18868 uip = UINTPTR_MAX;
18869
18870 ;
18871 return 0;
18872 }
18873 _ACEOF
18874 if ac_fn_cxx_try_compile "$LINENO"; then :
18875 glibcxx_cv_c99_stdint_tr1=yes
18876 else
18877 glibcxx_cv_c99_stdint_tr1=no
18878 fi
18879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18880
18881 fi
18882
18883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18884 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18885 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18886
18887 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18888
18889 fi
18890
18891 # Check for the existence of <math.h> functions.
18892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18893 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18894 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18895 $as_echo_n "(cached) " >&6
18896 else
18897
18898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18899 /* end confdefs.h. */
18900 #include <math.h>
18901 int
18902 main ()
18903 {
18904 typedef double_t my_double_t;
18905 typedef float_t my_float_t;
18906 acosh(0.0);
18907 acoshf(0.0f);
18908 acoshl(0.0l);
18909 asinh(0.0);
18910 asinhf(0.0f);
18911 asinhl(0.0l);
18912 atanh(0.0);
18913 atanhf(0.0f);
18914 atanhl(0.0l);
18915 cbrt(0.0);
18916 cbrtf(0.0f);
18917 cbrtl(0.0l);
18918 copysign(0.0, 0.0);
18919 copysignf(0.0f, 0.0f);
18920 copysignl(0.0l, 0.0l);
18921 erf(0.0);
18922 erff(0.0f);
18923 erfl(0.0l);
18924 erfc(0.0);
18925 erfcf(0.0f);
18926 erfcl(0.0l);
18927 exp2(0.0);
18928 exp2f(0.0f);
18929 exp2l(0.0l);
18930 expm1(0.0);
18931 expm1f(0.0f);
18932 expm1l(0.0l);
18933 fdim(0.0, 0.0);
18934 fdimf(0.0f, 0.0f);
18935 fdiml(0.0l, 0.0l);
18936 fma(0.0, 0.0, 0.0);
18937 fmaf(0.0f, 0.0f, 0.0f);
18938 fmal(0.0l, 0.0l, 0.0l);
18939 fmax(0.0, 0.0);
18940 fmaxf(0.0f, 0.0f);
18941 fmaxl(0.0l, 0.0l);
18942 fmin(0.0, 0.0);
18943 fminf(0.0f, 0.0f);
18944 fminl(0.0l, 0.0l);
18945 hypot(0.0, 0.0);
18946 hypotf(0.0f, 0.0f);
18947 hypotl(0.0l, 0.0l);
18948 ilogb(0.0);
18949 ilogbf(0.0f);
18950 ilogbl(0.0l);
18951 lgamma(0.0);
18952 lgammaf(0.0f);
18953 lgammal(0.0l);
18954 llrint(0.0);
18955 llrintf(0.0f);
18956 llrintl(0.0l);
18957 llround(0.0);
18958 llroundf(0.0f);
18959 llroundl(0.0l);
18960 log1p(0.0);
18961 log1pf(0.0f);
18962 log1pl(0.0l);
18963 log2(0.0);
18964 log2f(0.0f);
18965 log2l(0.0l);
18966 logb(0.0);
18967 logbf(0.0f);
18968 logbl(0.0l);
18969 lrint(0.0);
18970 lrintf(0.0f);
18971 lrintl(0.0l);
18972 lround(0.0);
18973 lroundf(0.0f);
18974 lroundl(0.0l);
18975 nan(0);
18976 nanf(0);
18977 nanl(0);
18978 nearbyint(0.0);
18979 nearbyintf(0.0f);
18980 nearbyintl(0.0l);
18981 nextafter(0.0, 0.0);
18982 nextafterf(0.0f, 0.0f);
18983 nextafterl(0.0l, 0.0l);
18984 nexttoward(0.0, 0.0);
18985 nexttowardf(0.0f, 0.0f);
18986 nexttowardl(0.0l, 0.0l);
18987 remainder(0.0, 0.0);
18988 remainderf(0.0f, 0.0f);
18989 remainderl(0.0l, 0.0l);
18990 remquo(0.0, 0.0, 0);
18991 remquof(0.0f, 0.0f, 0);
18992 remquol(0.0l, 0.0l, 0);
18993 rint(0.0);
18994 rintf(0.0f);
18995 rintl(0.0l);
18996 round(0.0);
18997 roundf(0.0f);
18998 roundl(0.0l);
18999 scalbln(0.0, 0l);
19000 scalblnf(0.0f, 0l);
19001 scalblnl(0.0l, 0l);
19002 scalbn(0.0, 0);
19003 scalbnf(0.0f, 0);
19004 scalbnl(0.0l, 0);
19005 tgamma(0.0);
19006 tgammaf(0.0f);
19007 tgammal(0.0l);
19008 trunc(0.0);
19009 truncf(0.0f);
19010 truncl(0.0l);
19011
19012 ;
19013 return 0;
19014 }
19015 _ACEOF
19016 if ac_fn_cxx_try_compile "$LINENO"; then :
19017 glibcxx_cv_c99_math_tr1=yes
19018 else
19019 glibcxx_cv_c99_math_tr1=no
19020 fi
19021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19022
19023 fi
19024
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19026 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19027 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19028
19029 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19030
19031 fi
19032
19033 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19034 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19035 ac_c99_inttypes_tr1=no;
19036 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19038 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19040 /* end confdefs.h. */
19041 #include <inttypes.h>
19042 int
19043 main ()
19044 {
19045 intmax_t i, numer, denom, base;
19046 const char* s;
19047 char** endptr;
19048 intmax_t ret = imaxabs(i);
19049 imaxdiv_t dret = imaxdiv(numer, denom);
19050 ret = strtoimax(s, endptr, base);
19051 uintmax_t uret = strtoumax(s, endptr, base);
19052
19053 ;
19054 return 0;
19055 }
19056 _ACEOF
19057 if ac_fn_cxx_try_compile "$LINENO"; then :
19058 ac_c99_inttypes_tr1=yes
19059 else
19060 ac_c99_inttypes_tr1=no
19061 fi
19062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19063 fi
19064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19065 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19066 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19067
19068 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19069
19070 fi
19071
19072 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19073 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19074 ac_c99_inttypes_wchar_t_tr1=no;
19075 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19077 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19079 /* end confdefs.h. */
19080 #include <inttypes.h>
19081 int
19082 main ()
19083 {
19084 intmax_t base;
19085 const wchar_t* s;
19086 wchar_t** endptr;
19087 intmax_t ret = wcstoimax(s, endptr, base);
19088 uintmax_t uret = wcstoumax(s, endptr, base);
19089
19090 ;
19091 return 0;
19092 }
19093 _ACEOF
19094 if ac_fn_cxx_try_compile "$LINENO"; then :
19095 ac_c99_inttypes_wchar_t_tr1=yes
19096 else
19097 ac_c99_inttypes_wchar_t_tr1=no
19098 fi
19099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19100 fi
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19102 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19103 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19104
19105 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19106
19107 fi
19108
19109 # Check for the existence of the <stdbool.h> header.
19110 for ac_header in stdbool.h
19111 do :
19112 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19113 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19114 cat >>confdefs.h <<_ACEOF
19115 #define HAVE_STDBOOL_H 1
19116 _ACEOF
19117
19118 fi
19119
19120 done
19121
19122
19123 CXXFLAGS="$ac_save_CXXFLAGS"
19124 ac_ext=c
19125 ac_cpp='$CPP $CPPFLAGS'
19126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19129
19130
19131
19132 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19133
19134
19135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19136 $as_echo_n "checking for the value of EOF... " >&6; }
19137 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19138 $as_echo_n "(cached) " >&6
19139 else
19140
19141 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19142
19143 else
19144 as_fn_error "computing EOF failed" "$LINENO" 5
19145 fi
19146
19147
19148 fi
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19150 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19151
19152 cat >>confdefs.h <<_ACEOF
19153 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19154 _ACEOF
19155
19156
19157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19158 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19159 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19160 $as_echo_n "(cached) " >&6
19161 else
19162
19163 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19164
19165 else
19166 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19167 fi
19168
19169
19170 fi
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19172 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19173
19174 cat >>confdefs.h <<_ACEOF
19175 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19176 _ACEOF
19177
19178
19179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19180 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19181 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19182 $as_echo_n "(cached) " >&6
19183 else
19184
19185 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19186
19187 else
19188 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19189 fi
19190
19191
19192 fi
19193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19194 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19195
19196 cat >>confdefs.h <<_ACEOF
19197 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19198 _ACEOF
19199
19200
19201
19202 # For gettimeofday support.
19203
19204
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19206 $as_echo_n "checking for gettimeofday... " >&6; }
19207
19208
19209 ac_ext=cpp
19210 ac_cpp='$CXXCPP $CPPFLAGS'
19211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19214
19215 ac_save_CXXFLAGS="$CXXFLAGS"
19216 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19217
19218 ac_has_gettimeofday=no;
19219 for ac_header in sys/time.h
19220 do :
19221 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19222 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19223 cat >>confdefs.h <<_ACEOF
19224 #define HAVE_SYS_TIME_H 1
19225 _ACEOF
19226 ac_has_sys_time_h=yes
19227 else
19228 ac_has_sys_time_h=no
19229 fi
19230
19231 done
19232
19233 if test x"$ac_has_sys_time_h" = x"yes"; then
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19235 $as_echo_n "checking for gettimeofday... " >&6; }
19236 if test x$gcc_no_link = xyes; then
19237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19238 /* end confdefs.h. */
19239 #include <sys/time.h>
19240 int
19241 main ()
19242 {
19243 timeval tv; gettimeofday(&tv, 0);
19244 ;
19245 return 0;
19246 }
19247 _ACEOF
19248 if ac_fn_cxx_try_compile "$LINENO"; then :
19249 ac_has_gettimeofday=yes
19250 else
19251 ac_has_gettimeofday=no
19252 fi
19253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19254 else
19255 if test x$gcc_no_link = xyes; then
19256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19257 fi
19258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19259 /* end confdefs.h. */
19260 #include <sys/time.h>
19261 int
19262 main ()
19263 {
19264 timeval tv; gettimeofday(&tv, 0);
19265 ;
19266 return 0;
19267 }
19268 _ACEOF
19269 if ac_fn_cxx_try_link "$LINENO"; then :
19270 ac_has_gettimeofday=yes
19271 else
19272 ac_has_gettimeofday=no
19273 fi
19274 rm -f core conftest.err conftest.$ac_objext \
19275 conftest$ac_exeext conftest.$ac_ext
19276 fi
19277
19278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19279 $as_echo "$ac_has_gettimeofday" >&6; }
19280 fi
19281
19282 if test x"$ac_has_gettimeofday" = x"yes"; then
19283
19284 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19285
19286 fi
19287
19288 CXXFLAGS="$ac_save_CXXFLAGS"
19289 ac_ext=c
19290 ac_cpp='$CPP $CPPFLAGS'
19291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19294
19295
19296
19297 # For clock_gettime, nanosleep and sched_yield support.
19298 # NB: The default is [no], because otherwise it requires linking.
19299
19300
19301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19302 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19303 # Check whether --enable-libstdcxx-time was given.
19304 if test "${enable_libstdcxx_time+set}" = set; then :
19305 enableval=$enable_libstdcxx_time;
19306 case "$enableval" in
19307 yes|no|rt) ;;
19308 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19309 esac
19310
19311 else
19312 enable_libstdcxx_time=no
19313 fi
19314
19315
19316
19317
19318 ac_ext=cpp
19319 ac_cpp='$CXXCPP $CPPFLAGS'
19320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19323
19324 ac_save_CXXFLAGS="$CXXFLAGS"
19325 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19326 ac_save_LIBS="$LIBS"
19327
19328 ac_has_clock_monotonic=no
19329 ac_has_clock_realtime=no
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19331 $as_echo "$enable_libstdcxx_time" >&6; }
19332
19333 if test x"$enable_libstdcxx_time" != x"no"; then
19334
19335 if test x"$enable_libstdcxx_time" = x"rt"; then
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19337 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19338 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19339 $as_echo_n "(cached) " >&6
19340 else
19341 ac_func_search_save_LIBS=$LIBS
19342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19343 /* end confdefs.h. */
19344
19345 /* Override any GCC internal prototype to avoid an error.
19346 Use char because int might match the return type of a GCC
19347 builtin and then its argument prototype would still apply. */
19348 #ifdef __cplusplus
19349 extern "C"
19350 #endif
19351 char clock_gettime ();
19352 int
19353 main ()
19354 {
19355 return clock_gettime ();
19356 ;
19357 return 0;
19358 }
19359 _ACEOF
19360 for ac_lib in '' rt posix4; do
19361 if test -z "$ac_lib"; then
19362 ac_res="none required"
19363 else
19364 ac_res=-l$ac_lib
19365 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19366 fi
19367 if test x$gcc_no_link = xyes; then
19368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19369 fi
19370 if ac_fn_cxx_try_link "$LINENO"; then :
19371 ac_cv_search_clock_gettime=$ac_res
19372 fi
19373 rm -f core conftest.err conftest.$ac_objext \
19374 conftest$ac_exeext
19375 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19376 break
19377 fi
19378 done
19379 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19380
19381 else
19382 ac_cv_search_clock_gettime=no
19383 fi
19384 rm conftest.$ac_ext
19385 LIBS=$ac_func_search_save_LIBS
19386 fi
19387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19388 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19389 ac_res=$ac_cv_search_clock_gettime
19390 if test "$ac_res" != no; then :
19391 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19392
19393 fi
19394
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19396 $as_echo_n "checking for library containing nanosleep... " >&6; }
19397 if test "${ac_cv_search_nanosleep+set}" = set; then :
19398 $as_echo_n "(cached) " >&6
19399 else
19400 ac_func_search_save_LIBS=$LIBS
19401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19402 /* end confdefs.h. */
19403
19404 /* Override any GCC internal prototype to avoid an error.
19405 Use char because int might match the return type of a GCC
19406 builtin and then its argument prototype would still apply. */
19407 #ifdef __cplusplus
19408 extern "C"
19409 #endif
19410 char nanosleep ();
19411 int
19412 main ()
19413 {
19414 return nanosleep ();
19415 ;
19416 return 0;
19417 }
19418 _ACEOF
19419 for ac_lib in '' rt posix4; do
19420 if test -z "$ac_lib"; then
19421 ac_res="none required"
19422 else
19423 ac_res=-l$ac_lib
19424 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19425 fi
19426 if test x$gcc_no_link = xyes; then
19427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19428 fi
19429 if ac_fn_cxx_try_link "$LINENO"; then :
19430 ac_cv_search_nanosleep=$ac_res
19431 fi
19432 rm -f core conftest.err conftest.$ac_objext \
19433 conftest$ac_exeext
19434 if test "${ac_cv_search_nanosleep+set}" = set; then :
19435 break
19436 fi
19437 done
19438 if test "${ac_cv_search_nanosleep+set}" = set; then :
19439
19440 else
19441 ac_cv_search_nanosleep=no
19442 fi
19443 rm conftest.$ac_ext
19444 LIBS=$ac_func_search_save_LIBS
19445 fi
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19447 $as_echo "$ac_cv_search_nanosleep" >&6; }
19448 ac_res=$ac_cv_search_nanosleep
19449 if test "$ac_res" != no; then :
19450 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19451
19452 fi
19453
19454 else
19455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19456 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19457 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19458 $as_echo_n "(cached) " >&6
19459 else
19460 ac_func_search_save_LIBS=$LIBS
19461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19462 /* end confdefs.h. */
19463
19464 /* Override any GCC internal prototype to avoid an error.
19465 Use char because int might match the return type of a GCC
19466 builtin and then its argument prototype would still apply. */
19467 #ifdef __cplusplus
19468 extern "C"
19469 #endif
19470 char clock_gettime ();
19471 int
19472 main ()
19473 {
19474 return clock_gettime ();
19475 ;
19476 return 0;
19477 }
19478 _ACEOF
19479 for ac_lib in '' posix4; do
19480 if test -z "$ac_lib"; then
19481 ac_res="none required"
19482 else
19483 ac_res=-l$ac_lib
19484 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19485 fi
19486 if test x$gcc_no_link = xyes; then
19487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19488 fi
19489 if ac_fn_cxx_try_link "$LINENO"; then :
19490 ac_cv_search_clock_gettime=$ac_res
19491 fi
19492 rm -f core conftest.err conftest.$ac_objext \
19493 conftest$ac_exeext
19494 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19495 break
19496 fi
19497 done
19498 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19499
19500 else
19501 ac_cv_search_clock_gettime=no
19502 fi
19503 rm conftest.$ac_ext
19504 LIBS=$ac_func_search_save_LIBS
19505 fi
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19507 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19508 ac_res=$ac_cv_search_clock_gettime
19509 if test "$ac_res" != no; then :
19510 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19511
19512 fi
19513
19514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19515 $as_echo_n "checking for library containing nanosleep... " >&6; }
19516 if test "${ac_cv_search_nanosleep+set}" = set; then :
19517 $as_echo_n "(cached) " >&6
19518 else
19519 ac_func_search_save_LIBS=$LIBS
19520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19521 /* end confdefs.h. */
19522
19523 /* Override any GCC internal prototype to avoid an error.
19524 Use char because int might match the return type of a GCC
19525 builtin and then its argument prototype would still apply. */
19526 #ifdef __cplusplus
19527 extern "C"
19528 #endif
19529 char nanosleep ();
19530 int
19531 main ()
19532 {
19533 return nanosleep ();
19534 ;
19535 return 0;
19536 }
19537 _ACEOF
19538 for ac_lib in '' posix4; do
19539 if test -z "$ac_lib"; then
19540 ac_res="none required"
19541 else
19542 ac_res=-l$ac_lib
19543 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19544 fi
19545 if test x$gcc_no_link = xyes; then
19546 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19547 fi
19548 if ac_fn_cxx_try_link "$LINENO"; then :
19549 ac_cv_search_nanosleep=$ac_res
19550 fi
19551 rm -f core conftest.err conftest.$ac_objext \
19552 conftest$ac_exeext
19553 if test "${ac_cv_search_nanosleep+set}" = set; then :
19554 break
19555 fi
19556 done
19557 if test "${ac_cv_search_nanosleep+set}" = set; then :
19558
19559 else
19560 ac_cv_search_nanosleep=no
19561 fi
19562 rm conftest.$ac_ext
19563 LIBS=$ac_func_search_save_LIBS
19564 fi
19565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19566 $as_echo "$ac_cv_search_nanosleep" >&6; }
19567 ac_res=$ac_cv_search_nanosleep
19568 if test "$ac_res" != no; then :
19569 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19570
19571 fi
19572
19573 fi
19574
19575 case "$ac_cv_search_clock_gettime" in
19576 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19577 ;;
19578 esac
19579 case "$ac_cv_search_nanosleep" in
19580 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19581 ;;
19582 esac
19583
19584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19585 $as_echo_n "checking for library containing sched_yield... " >&6; }
19586 if test "${ac_cv_search_sched_yield+set}" = set; then :
19587 $as_echo_n "(cached) " >&6
19588 else
19589 ac_func_search_save_LIBS=$LIBS
19590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19591 /* end confdefs.h. */
19592
19593 /* Override any GCC internal prototype to avoid an error.
19594 Use char because int might match the return type of a GCC
19595 builtin and then its argument prototype would still apply. */
19596 #ifdef __cplusplus
19597 extern "C"
19598 #endif
19599 char sched_yield ();
19600 int
19601 main ()
19602 {
19603 return sched_yield ();
19604 ;
19605 return 0;
19606 }
19607 _ACEOF
19608 for ac_lib in '' rt posix4; do
19609 if test -z "$ac_lib"; then
19610 ac_res="none required"
19611 else
19612 ac_res=-l$ac_lib
19613 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19614 fi
19615 if test x$gcc_no_link = xyes; then
19616 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19617 fi
19618 if ac_fn_cxx_try_link "$LINENO"; then :
19619 ac_cv_search_sched_yield=$ac_res
19620 fi
19621 rm -f core conftest.err conftest.$ac_objext \
19622 conftest$ac_exeext
19623 if test "${ac_cv_search_sched_yield+set}" = set; then :
19624 break
19625 fi
19626 done
19627 if test "${ac_cv_search_sched_yield+set}" = set; then :
19628
19629 else
19630 ac_cv_search_sched_yield=no
19631 fi
19632 rm conftest.$ac_ext
19633 LIBS=$ac_func_search_save_LIBS
19634 fi
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19636 $as_echo "$ac_cv_search_sched_yield" >&6; }
19637 ac_res=$ac_cv_search_sched_yield
19638 if test "$ac_res" != no; then :
19639 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19640
19641 fi
19642
19643
19644 case "$ac_cv_search_sched_yield" in
19645 -lposix4*)
19646 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19647
19648 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19649
19650 ;;
19651 -lrt*)
19652 if test x"$enable_libstdcxx_time" = x"rt"; then
19653 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19654
19655 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19656
19657 fi
19658 ;;
19659 *)
19660
19661 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19662
19663 ;;
19664 esac
19665
19666 for ac_header in unistd.h
19667 do :
19668 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19669 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19670 cat >>confdefs.h <<_ACEOF
19671 #define HAVE_UNISTD_H 1
19672 _ACEOF
19673 ac_has_unistd_h=yes
19674 else
19675 ac_has_unistd_h=no
19676 fi
19677
19678 done
19679
19680
19681 if test x"$ac_has_unistd_h" = x"yes"; then
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19683 $as_echo_n "checking for monotonic clock... " >&6; }
19684 if test x$gcc_no_link = xyes; then
19685 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19686 fi
19687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19688 /* end confdefs.h. */
19689 #include <unistd.h>
19690 #include <time.h>
19691
19692 int
19693 main ()
19694 {
19695 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19696 timespec tp;
19697 #endif
19698 clock_gettime(CLOCK_MONOTONIC, &tp);
19699
19700 ;
19701 return 0;
19702 }
19703 _ACEOF
19704 if ac_fn_cxx_try_link "$LINENO"; then :
19705 ac_has_clock_monotonic=yes
19706 else
19707 ac_has_clock_monotonic=no
19708 fi
19709 rm -f core conftest.err conftest.$ac_objext \
19710 conftest$ac_exeext conftest.$ac_ext
19711
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19713 $as_echo "$ac_has_clock_monotonic" >&6; }
19714
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19716 $as_echo_n "checking for realtime clock... " >&6; }
19717 if test x$gcc_no_link = xyes; then
19718 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19719 fi
19720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19721 /* end confdefs.h. */
19722 #include <unistd.h>
19723 #include <time.h>
19724
19725 int
19726 main ()
19727 {
19728 #if _POSIX_TIMERS > 0
19729 timespec tp;
19730 #endif
19731 clock_gettime(CLOCK_REALTIME, &tp);
19732
19733 ;
19734 return 0;
19735 }
19736 _ACEOF
19737 if ac_fn_cxx_try_link "$LINENO"; then :
19738 ac_has_clock_realtime=yes
19739 else
19740 ac_has_clock_realtime=no
19741 fi
19742 rm -f core conftest.err conftest.$ac_objext \
19743 conftest$ac_exeext conftest.$ac_ext
19744
19745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19746 $as_echo "$ac_has_clock_realtime" >&6; }
19747
19748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19749 $as_echo_n "checking for nanosleep... " >&6; }
19750 if test x$gcc_no_link = xyes; then
19751 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19752 fi
19753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19754 /* end confdefs.h. */
19755 #include <unistd.h>
19756 #include <time.h>
19757
19758 int
19759 main ()
19760 {
19761 #if _POSIX_TIMERS > 0
19762 timespec tp;
19763 #endif
19764 nanosleep(&tp, 0);
19765
19766 ;
19767 return 0;
19768 }
19769 _ACEOF
19770 if ac_fn_cxx_try_link "$LINENO"; then :
19771 ac_has_nanosleep=yes
19772 else
19773 ac_has_nanosleep=no
19774 fi
19775 rm -f core conftest.err conftest.$ac_objext \
19776 conftest$ac_exeext conftest.$ac_ext
19777
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19779 $as_echo "$ac_has_nanosleep" >&6; }
19780 fi
19781 fi
19782
19783 if test x"$ac_has_clock_monotonic" = x"yes"; then
19784
19785 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19786
19787 fi
19788
19789 if test x"$ac_has_clock_realtime" = x"yes"; then
19790
19791 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19792
19793 fi
19794
19795 if test x"$ac_has_nanosleep" = x"yes"; then
19796
19797 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19798
19799 fi
19800
19801
19802
19803 CXXFLAGS="$ac_save_CXXFLAGS"
19804 LIBS="$ac_save_LIBS"
19805 ac_ext=c
19806 ac_cpp='$CPP $CPPFLAGS'
19807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19810
19811
19812
19813 # For gthread support
19814
19815
19816 ac_ext=cpp
19817 ac_cpp='$CXXCPP $CPPFLAGS'
19818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19821
19822
19823 ac_save_CXXFLAGS="$CXXFLAGS"
19824 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19825
19826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking check whether it can be safely assumed that mutex_timedlock is available" >&5
19827 $as_echo_n "checking check whether it can be safely assumed that mutex_timedlock is available... " >&6; }
19828
19829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19830 /* end confdefs.h. */
19831 #include <unistd.h>
19832 int
19833 main ()
19834 {
19835
19836 #if !defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS < 0
19837 #error
19838 #endif
19839
19840 ;
19841 return 0;
19842 }
19843 _ACEOF
19844 if ac_fn_cxx_try_compile "$LINENO"; then :
19845 ac_gthread_use_mutex_timedlock=1
19846 else
19847 ac_gthread_use_mutex_timedlock=0
19848 fi
19849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19850
19851
19852 cat >>confdefs.h <<_ACEOF
19853 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
19854 _ACEOF
19855
19856
19857 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
19858 else res_mutex_timedlock=no ; fi
19859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
19860 $as_echo "$res_mutex_timedlock" >&6; }
19861
19862 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19863 case $target_thread_file in
19864 posix)
19865 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19866 esac
19867
19868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19869 $as_echo_n "checking for gthreads library... " >&6; }
19870
19871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19872 /* end confdefs.h. */
19873
19874 #include "gthr.h"
19875 #include <unistd.h>
19876
19877 int
19878 main ()
19879 {
19880
19881 #ifndef __GTHREADS_CXX0X
19882 #error
19883 #endif
19884
19885 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19886 #if (defined(_PTHREADS) \
19887 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19888 #error
19889 #endif
19890
19891 ;
19892 return 0;
19893 }
19894 _ACEOF
19895 if ac_fn_cxx_try_compile "$LINENO"; then :
19896 ac_has_gthreads=yes
19897 else
19898 ac_has_gthreads=no
19899 fi
19900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19901
19902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19903 $as_echo "$ac_has_gthreads" >&6; }
19904
19905 if test x"$ac_has_gthreads" = x"yes"; then
19906
19907 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19908
19909 fi
19910
19911 CXXFLAGS="$ac_save_CXXFLAGS"
19912 ac_ext=c
19913 ac_cpp='$CPP $CPPFLAGS'
19914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19917
19918
19919
19920
19921 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19922 if test "x$ac_cv_header_locale_h" = x""yes; then :
19923
19924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19925 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19926 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19927 $as_echo_n "(cached) " >&6
19928 else
19929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19930 /* end confdefs.h. */
19931 #include <locale.h>
19932 int
19933 main ()
19934 {
19935 return LC_MESSAGES
19936 ;
19937 return 0;
19938 }
19939 _ACEOF
19940 if ac_fn_c_try_compile "$LINENO"; then :
19941 ac_cv_val_LC_MESSAGES=yes
19942 else
19943 ac_cv_val_LC_MESSAGES=no
19944 fi
19945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19946 fi
19947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19948 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19949 if test $ac_cv_val_LC_MESSAGES = yes; then
19950
19951 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19952
19953 fi
19954
19955 fi
19956
19957
19958
19959
19960 # For hardware_concurrency
19961 for ac_header in sys/sysinfo.h
19962 do :
19963 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19964 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19965 cat >>confdefs.h <<_ACEOF
19966 #define HAVE_SYS_SYSINFO_H 1
19967 _ACEOF
19968
19969 fi
19970
19971 done
19972
19973
19974
19975
19976 ac_ext=cpp
19977 ac_cpp='$CXXCPP $CPPFLAGS'
19978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19981
19982 ac_save_CXXFLAGS="$CXXFLAGS"
19983 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19984
19985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19986 $as_echo_n "checking for get_nprocs... " >&6; }
19987 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19988 $as_echo_n "(cached) " >&6
19989 else
19990
19991 if test x$gcc_no_link = xyes; then
19992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19993 /* end confdefs.h. */
19994 #include <sys/sysinfo.h>
19995 int
19996 main ()
19997 {
19998 int n = get_nprocs();
19999 ;
20000 return 0;
20001 }
20002 _ACEOF
20003 if ac_fn_cxx_try_compile "$LINENO"; then :
20004 glibcxx_cv_GET_NPROCS=yes
20005 else
20006 glibcxx_cv_GET_NPROCS=no
20007 fi
20008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20009 else
20010 if test x$gcc_no_link = xyes; then
20011 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20012 fi
20013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20014 /* end confdefs.h. */
20015 #include <sys/sysinfo.h>
20016 int
20017 main ()
20018 {
20019 int n = get_nprocs();
20020 ;
20021 return 0;
20022 }
20023 _ACEOF
20024 if ac_fn_cxx_try_link "$LINENO"; then :
20025 glibcxx_cv_GET_NPROCS=yes
20026 else
20027 glibcxx_cv_GET_NPROCS=no
20028 fi
20029 rm -f core conftest.err conftest.$ac_objext \
20030 conftest$ac_exeext conftest.$ac_ext
20031 fi
20032
20033 fi
20034
20035 if test $glibcxx_cv_GET_NPROCS = yes; then
20036
20037 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20038
20039 fi
20040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20041 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20042
20043 CXXFLAGS="$ac_save_CXXFLAGS"
20044 ac_ext=c
20045 ac_cpp='$CPP $CPPFLAGS'
20046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20049
20050
20051 for ac_header in unistd.h
20052 do :
20053 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20054 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20055 cat >>confdefs.h <<_ACEOF
20056 #define HAVE_UNISTD_H 1
20057 _ACEOF
20058
20059 fi
20060
20061 done
20062
20063
20064
20065
20066 ac_ext=cpp
20067 ac_cpp='$CXXCPP $CPPFLAGS'
20068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20071
20072 ac_save_CXXFLAGS="$CXXFLAGS"
20073 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20074
20075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20076 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20077 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20078 $as_echo_n "(cached) " >&6
20079 else
20080
20081 if test x$gcc_no_link = xyes; then
20082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20083 /* end confdefs.h. */
20084 #include <unistd.h>
20085 int
20086 main ()
20087 {
20088 int n = sysconf(_SC_NPROCESSORS_ONLN);
20089 ;
20090 return 0;
20091 }
20092 _ACEOF
20093 if ac_fn_cxx_try_compile "$LINENO"; then :
20094 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20095 else
20096 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20097 fi
20098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20099 else
20100 if test x$gcc_no_link = xyes; then
20101 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20102 fi
20103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20104 /* end confdefs.h. */
20105 #include <unistd.h>
20106 int
20107 main ()
20108 {
20109 int n = sysconf(_SC_NPROCESSORS_ONLN);
20110 ;
20111 return 0;
20112 }
20113 _ACEOF
20114 if ac_fn_cxx_try_link "$LINENO"; then :
20115 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20116 else
20117 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20118 fi
20119 rm -f core conftest.err conftest.$ac_objext \
20120 conftest$ac_exeext conftest.$ac_ext
20121 fi
20122
20123 fi
20124
20125 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20126
20127 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20128
20129 fi
20130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20131 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20132
20133 CXXFLAGS="$ac_save_CXXFLAGS"
20134 ac_ext=c
20135 ac_cpp='$CPP $CPPFLAGS'
20136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20139
20140
20141
20142 # Check for available headers.
20143 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20144 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20145 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20146 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20147 wchar.h wctype.h
20148 do :
20149 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20150 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20151 eval as_val=\$$as_ac_Header
20152 if test "x$as_val" = x""yes; then :
20153 cat >>confdefs.h <<_ACEOF
20154 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20155 _ACEOF
20156
20157 fi
20158
20159 done
20160
20161
20162 # Only do link tests if native. Else, hardcode.
20163 if $GLIBCXX_IS_NATIVE; then
20164
20165 # We can do more elaborate tests that assume a working linker.
20166 CANADIAN=no
20167
20168
20169
20170 # Check whether --with-gnu-ld was given.
20171 if test "${with_gnu_ld+set}" = set; then :
20172 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20173 else
20174 with_gnu_ld=no
20175 fi
20176
20177 ac_prog=ld
20178 if test "$GCC" = yes; then
20179 # Check if gcc -print-prog-name=ld gives a path.
20180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20181 $as_echo_n "checking for ld used by $CC... " >&6; }
20182 case $host in
20183 *-*-mingw*)
20184 # gcc leaves a trailing carriage return which upsets mingw
20185 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20186 *)
20187 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20188 esac
20189 case $ac_prog in
20190 # Accept absolute paths.
20191 [\\/]* | ?:[\\/]*)
20192 re_direlt='/[^/][^/]*/\.\./'
20193 # Canonicalize the pathname of ld
20194 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20195 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20196 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20197 done
20198 test -z "$LD" && LD="$ac_prog"
20199 ;;
20200 "")
20201 # If it fails, then pretend we aren't using GCC.
20202 ac_prog=ld
20203 ;;
20204 *)
20205 # If it is relative, then search for the first ld in PATH.
20206 with_gnu_ld=unknown
20207 ;;
20208 esac
20209 elif test "$with_gnu_ld" = yes; then
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20211 $as_echo_n "checking for GNU ld... " >&6; }
20212 else
20213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20214 $as_echo_n "checking for non-GNU ld... " >&6; }
20215 fi
20216 if test "${lt_cv_path_LD+set}" = set; then :
20217 $as_echo_n "(cached) " >&6
20218 else
20219 if test -z "$LD"; then
20220 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20221 for ac_dir in $PATH; do
20222 IFS="$lt_save_ifs"
20223 test -z "$ac_dir" && ac_dir=.
20224 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20225 lt_cv_path_LD="$ac_dir/$ac_prog"
20226 # Check to see if the program is GNU ld. I'd rather use --version,
20227 # but apparently some variants of GNU ld only accept -v.
20228 # Break only if it was the GNU/non-GNU ld that we prefer.
20229 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20230 *GNU* | *'with BFD'*)
20231 test "$with_gnu_ld" != no && break
20232 ;;
20233 *)
20234 test "$with_gnu_ld" != yes && break
20235 ;;
20236 esac
20237 fi
20238 done
20239 IFS="$lt_save_ifs"
20240 else
20241 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20242 fi
20243 fi
20244
20245 LD="$lt_cv_path_LD"
20246 if test -n "$LD"; then
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20248 $as_echo "$LD" >&6; }
20249 else
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20251 $as_echo "no" >&6; }
20252 fi
20253 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20255 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20256 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20257 $as_echo_n "(cached) " >&6
20258 else
20259 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20260 case `$LD -v 2>&1 </dev/null` in
20261 *GNU* | *'with BFD'*)
20262 lt_cv_prog_gnu_ld=yes
20263 ;;
20264 *)
20265 lt_cv_prog_gnu_ld=no
20266 ;;
20267 esac
20268 fi
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20270 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20271 with_gnu_ld=$lt_cv_prog_gnu_ld
20272
20273
20274
20275
20276
20277
20278
20279 # If we're not using GNU ld, then there's no point in even trying these
20280 # tests. Check for that first. We should have already tested for gld
20281 # by now (in libtool), but require it now just to be safe...
20282 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20283 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20284
20285
20286
20287 # The name set by libtool depends on the version of libtool. Shame on us
20288 # for depending on an impl detail, but c'est la vie. Older versions used
20289 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20290 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20291 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20292 # set (hence we're using an older libtool), then set it.
20293 if test x${with_gnu_ld+set} != xset; then
20294 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20295 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20296 with_gnu_ld=no
20297 else
20298 with_gnu_ld=$ac_cv_prog_gnu_ld
20299 fi
20300 fi
20301
20302 # Start by getting the version number. I think the libtool test already
20303 # does some of this, but throws away the result.
20304 glibcxx_ld_is_gold=no
20305 if test x"$with_gnu_ld" = x"yes"; then
20306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20307 $as_echo_n "checking for ld version... " >&6; }
20308
20309 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20310 glibcxx_ld_is_gold=yes
20311 fi
20312 ldver=`$LD --version 2>/dev/null |
20313 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'`
20314
20315 glibcxx_gnu_ld_version=`echo $ldver | \
20316 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20318 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20319 fi
20320
20321 # Set --gc-sections.
20322 glibcxx_have_gc_sections=no
20323 if test "$glibcxx_ld_is_gold" = "yes"; then
20324 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20325 glibcxx_have_gc_sections=yes
20326 fi
20327 else
20328 glibcxx_gcsections_min_ld=21602
20329 if test x"$with_gnu_ld" = x"yes" &&
20330 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20331 glibcxx_have_gc_sections=yes
20332 fi
20333 fi
20334 if test "$glibcxx_have_gc_sections" = "yes"; then
20335 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20336 # NB: This flag only works reliably after 2.16.1. Configure tests
20337 # for this are difficult, so hard wire a value that should work.
20338
20339 ac_test_CFLAGS="${CFLAGS+set}"
20340 ac_save_CFLAGS="$CFLAGS"
20341 CFLAGS='-Wl,--gc-sections'
20342
20343 # Check for -Wl,--gc-sections
20344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20345 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20346 if test x$gcc_no_link = xyes; then
20347 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20348 fi
20349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20350 /* end confdefs.h. */
20351 int one(void) { return 1; }
20352 int two(void) { return 2; }
20353
20354 int
20355 main ()
20356 {
20357 two();
20358 ;
20359 return 0;
20360 }
20361 _ACEOF
20362 if ac_fn_c_try_link "$LINENO"; then :
20363 ac_gcsections=yes
20364 else
20365 ac_gcsections=no
20366 fi
20367 rm -f core conftest.err conftest.$ac_objext \
20368 conftest$ac_exeext conftest.$ac_ext
20369 if test "$ac_gcsections" = "yes"; then
20370 rm -f conftest.c
20371 touch conftest.c
20372 if $CC -c conftest.c; then
20373 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20374 grep "Warning: gc-sections option ignored" > /dev/null; then
20375 ac_gcsections=no
20376 fi
20377 fi
20378 rm -f conftest.c conftest.o conftest
20379 fi
20380 if test "$ac_gcsections" = "yes"; then
20381 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20382 fi
20383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20384 $as_echo "$ac_gcsections" >&6; }
20385
20386 if test "$ac_test_CFLAGS" = set; then
20387 CFLAGS="$ac_save_CFLAGS"
20388 else
20389 # this is the suspicious part
20390 CFLAGS=''
20391 fi
20392 fi
20393
20394 # Set -z,relro.
20395 # Note this is only for shared objects.
20396 ac_ld_relro=no
20397 if test x"$with_gnu_ld" = x"yes"; then
20398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20399 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20400 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20401 if test -n "$cxx_z_relo"; then
20402 OPT_LDFLAGS="-Wl,-z,relro"
20403 ac_ld_relro=yes
20404 fi
20405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20406 $as_echo "$ac_ld_relro" >&6; }
20407 fi
20408
20409 # Set linker optimization flags.
20410 if test x"$with_gnu_ld" = x"yes"; then
20411 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20412 fi
20413
20414
20415
20416
20417
20418 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20419 ac_save_CXXFLAGS="$CXXFLAGS"
20420 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20421
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20423 $as_echo_n "checking for sin in -lm... " >&6; }
20424 if test "${ac_cv_lib_m_sin+set}" = set; then :
20425 $as_echo_n "(cached) " >&6
20426 else
20427 ac_check_lib_save_LIBS=$LIBS
20428 LIBS="-lm $LIBS"
20429 if test x$gcc_no_link = xyes; then
20430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20431 fi
20432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20433 /* end confdefs.h. */
20434
20435 /* Override any GCC internal prototype to avoid an error.
20436 Use char because int might match the return type of a GCC
20437 builtin and then its argument prototype would still apply. */
20438 #ifdef __cplusplus
20439 extern "C"
20440 #endif
20441 char sin ();
20442 int
20443 main ()
20444 {
20445 return sin ();
20446 ;
20447 return 0;
20448 }
20449 _ACEOF
20450 if ac_fn_c_try_link "$LINENO"; then :
20451 ac_cv_lib_m_sin=yes
20452 else
20453 ac_cv_lib_m_sin=no
20454 fi
20455 rm -f core conftest.err conftest.$ac_objext \
20456 conftest$ac_exeext conftest.$ac_ext
20457 LIBS=$ac_check_lib_save_LIBS
20458 fi
20459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20460 $as_echo "$ac_cv_lib_m_sin" >&6; }
20461 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20462 libm="-lm"
20463 fi
20464
20465 ac_save_LIBS="$LIBS"
20466 LIBS="$LIBS $libm"
20467
20468
20469
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20471 $as_echo_n "checking for isinf declaration... " >&6; }
20472 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20473 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20474 $as_echo_n "(cached) " >&6
20475 else
20476
20477
20478 ac_ext=cpp
20479 ac_cpp='$CXXCPP $CPPFLAGS'
20480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20483
20484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20485 /* end confdefs.h. */
20486 #include <math.h>
20487 #ifdef HAVE_IEEEFP_H
20488 #include <ieeefp.h>
20489 #endif
20490
20491 int
20492 main ()
20493 {
20494 isinf(0);
20495 ;
20496 return 0;
20497 }
20498 _ACEOF
20499 if ac_fn_cxx_try_compile "$LINENO"; then :
20500 glibcxx_cv_func_isinf_use=yes
20501 else
20502 glibcxx_cv_func_isinf_use=no
20503 fi
20504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20505 ac_ext=c
20506 ac_cpp='$CPP $CPPFLAGS'
20507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20510
20511
20512 fi
20513
20514 fi
20515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20516 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20517
20518 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20519 for ac_func in isinf
20520 do :
20521 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20522 if test "x$ac_cv_func_isinf" = x""yes; then :
20523 cat >>confdefs.h <<_ACEOF
20524 #define HAVE_ISINF 1
20525 _ACEOF
20526
20527 fi
20528 done
20529
20530 else
20531
20532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20533 $as_echo_n "checking for _isinf declaration... " >&6; }
20534 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20535 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20536 $as_echo_n "(cached) " >&6
20537 else
20538
20539
20540 ac_ext=cpp
20541 ac_cpp='$CXXCPP $CPPFLAGS'
20542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20545
20546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20547 /* end confdefs.h. */
20548 #include <math.h>
20549 #ifdef HAVE_IEEEFP_H
20550 #include <ieeefp.h>
20551 #endif
20552
20553 int
20554 main ()
20555 {
20556 _isinf(0);
20557 ;
20558 return 0;
20559 }
20560 _ACEOF
20561 if ac_fn_cxx_try_compile "$LINENO"; then :
20562 glibcxx_cv_func__isinf_use=yes
20563 else
20564 glibcxx_cv_func__isinf_use=no
20565 fi
20566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20567 ac_ext=c
20568 ac_cpp='$CPP $CPPFLAGS'
20569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20572
20573
20574 fi
20575
20576 fi
20577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20578 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20579
20580 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20581 for ac_func in _isinf
20582 do :
20583 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20584 if test "x$ac_cv_func__isinf" = x""yes; then :
20585 cat >>confdefs.h <<_ACEOF
20586 #define HAVE__ISINF 1
20587 _ACEOF
20588
20589 fi
20590 done
20591
20592 fi
20593 fi
20594
20595
20596
20597
20598
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20600 $as_echo_n "checking for isnan declaration... " >&6; }
20601 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20602 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20603 $as_echo_n "(cached) " >&6
20604 else
20605
20606
20607 ac_ext=cpp
20608 ac_cpp='$CXXCPP $CPPFLAGS'
20609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20612
20613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20614 /* end confdefs.h. */
20615 #include <math.h>
20616 #ifdef HAVE_IEEEFP_H
20617 #include <ieeefp.h>
20618 #endif
20619
20620 int
20621 main ()
20622 {
20623 isnan(0);
20624 ;
20625 return 0;
20626 }
20627 _ACEOF
20628 if ac_fn_cxx_try_compile "$LINENO"; then :
20629 glibcxx_cv_func_isnan_use=yes
20630 else
20631 glibcxx_cv_func_isnan_use=no
20632 fi
20633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20634 ac_ext=c
20635 ac_cpp='$CPP $CPPFLAGS'
20636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20639
20640
20641 fi
20642
20643 fi
20644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20645 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20646
20647 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20648 for ac_func in isnan
20649 do :
20650 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20651 if test "x$ac_cv_func_isnan" = x""yes; then :
20652 cat >>confdefs.h <<_ACEOF
20653 #define HAVE_ISNAN 1
20654 _ACEOF
20655
20656 fi
20657 done
20658
20659 else
20660
20661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20662 $as_echo_n "checking for _isnan declaration... " >&6; }
20663 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20664 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20665 $as_echo_n "(cached) " >&6
20666 else
20667
20668
20669 ac_ext=cpp
20670 ac_cpp='$CXXCPP $CPPFLAGS'
20671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20674
20675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20676 /* end confdefs.h. */
20677 #include <math.h>
20678 #ifdef HAVE_IEEEFP_H
20679 #include <ieeefp.h>
20680 #endif
20681
20682 int
20683 main ()
20684 {
20685 _isnan(0);
20686 ;
20687 return 0;
20688 }
20689 _ACEOF
20690 if ac_fn_cxx_try_compile "$LINENO"; then :
20691 glibcxx_cv_func__isnan_use=yes
20692 else
20693 glibcxx_cv_func__isnan_use=no
20694 fi
20695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20696 ac_ext=c
20697 ac_cpp='$CPP $CPPFLAGS'
20698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20701
20702
20703 fi
20704
20705 fi
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20707 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20708
20709 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20710 for ac_func in _isnan
20711 do :
20712 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20713 if test "x$ac_cv_func__isnan" = x""yes; then :
20714 cat >>confdefs.h <<_ACEOF
20715 #define HAVE__ISNAN 1
20716 _ACEOF
20717
20718 fi
20719 done
20720
20721 fi
20722 fi
20723
20724
20725
20726
20727
20728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20729 $as_echo_n "checking for finite declaration... " >&6; }
20730 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20731 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20732 $as_echo_n "(cached) " >&6
20733 else
20734
20735
20736 ac_ext=cpp
20737 ac_cpp='$CXXCPP $CPPFLAGS'
20738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20741
20742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20743 /* end confdefs.h. */
20744 #include <math.h>
20745 #ifdef HAVE_IEEEFP_H
20746 #include <ieeefp.h>
20747 #endif
20748
20749 int
20750 main ()
20751 {
20752 finite(0);
20753 ;
20754 return 0;
20755 }
20756 _ACEOF
20757 if ac_fn_cxx_try_compile "$LINENO"; then :
20758 glibcxx_cv_func_finite_use=yes
20759 else
20760 glibcxx_cv_func_finite_use=no
20761 fi
20762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20763 ac_ext=c
20764 ac_cpp='$CPP $CPPFLAGS'
20765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20768
20769
20770 fi
20771
20772 fi
20773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20774 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20775
20776 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20777 for ac_func in finite
20778 do :
20779 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20780 if test "x$ac_cv_func_finite" = x""yes; then :
20781 cat >>confdefs.h <<_ACEOF
20782 #define HAVE_FINITE 1
20783 _ACEOF
20784
20785 fi
20786 done
20787
20788 else
20789
20790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20791 $as_echo_n "checking for _finite declaration... " >&6; }
20792 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20793 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20794 $as_echo_n "(cached) " >&6
20795 else
20796
20797
20798 ac_ext=cpp
20799 ac_cpp='$CXXCPP $CPPFLAGS'
20800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20803
20804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20805 /* end confdefs.h. */
20806 #include <math.h>
20807 #ifdef HAVE_IEEEFP_H
20808 #include <ieeefp.h>
20809 #endif
20810
20811 int
20812 main ()
20813 {
20814 _finite(0);
20815 ;
20816 return 0;
20817 }
20818 _ACEOF
20819 if ac_fn_cxx_try_compile "$LINENO"; then :
20820 glibcxx_cv_func__finite_use=yes
20821 else
20822 glibcxx_cv_func__finite_use=no
20823 fi
20824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20825 ac_ext=c
20826 ac_cpp='$CPP $CPPFLAGS'
20827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20830
20831
20832 fi
20833
20834 fi
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20836 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20837
20838 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20839 for ac_func in _finite
20840 do :
20841 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20842 if test "x$ac_cv_func__finite" = x""yes; then :
20843 cat >>confdefs.h <<_ACEOF
20844 #define HAVE__FINITE 1
20845 _ACEOF
20846
20847 fi
20848 done
20849
20850 fi
20851 fi
20852
20853
20854
20855
20856
20857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20858 $as_echo_n "checking for sincos declaration... " >&6; }
20859 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20860 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20861 $as_echo_n "(cached) " >&6
20862 else
20863
20864
20865 ac_ext=cpp
20866 ac_cpp='$CXXCPP $CPPFLAGS'
20867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20870
20871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20872 /* end confdefs.h. */
20873 #include <math.h>
20874 int
20875 main ()
20876 {
20877 sincos(0, 0, 0);
20878 ;
20879 return 0;
20880 }
20881 _ACEOF
20882 if ac_fn_cxx_try_compile "$LINENO"; then :
20883 glibcxx_cv_func_sincos_use=yes
20884 else
20885 glibcxx_cv_func_sincos_use=no
20886 fi
20887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20888 ac_ext=c
20889 ac_cpp='$CPP $CPPFLAGS'
20890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20893
20894
20895 fi
20896
20897 fi
20898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20899 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20900
20901 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20902 for ac_func in sincos
20903 do :
20904 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20905 if test "x$ac_cv_func_sincos" = x""yes; then :
20906 cat >>confdefs.h <<_ACEOF
20907 #define HAVE_SINCOS 1
20908 _ACEOF
20909
20910 fi
20911 done
20912
20913 else
20914
20915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20916 $as_echo_n "checking for _sincos declaration... " >&6; }
20917 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20918 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20919 $as_echo_n "(cached) " >&6
20920 else
20921
20922
20923 ac_ext=cpp
20924 ac_cpp='$CXXCPP $CPPFLAGS'
20925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20928
20929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20930 /* end confdefs.h. */
20931 #include <math.h>
20932 int
20933 main ()
20934 {
20935 _sincos(0, 0, 0);
20936 ;
20937 return 0;
20938 }
20939 _ACEOF
20940 if ac_fn_cxx_try_compile "$LINENO"; then :
20941 glibcxx_cv_func__sincos_use=yes
20942 else
20943 glibcxx_cv_func__sincos_use=no
20944 fi
20945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20946 ac_ext=c
20947 ac_cpp='$CPP $CPPFLAGS'
20948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20951
20952
20953 fi
20954
20955 fi
20956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20957 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20958
20959 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20960 for ac_func in _sincos
20961 do :
20962 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20963 if test "x$ac_cv_func__sincos" = x""yes; then :
20964 cat >>confdefs.h <<_ACEOF
20965 #define HAVE__SINCOS 1
20966 _ACEOF
20967
20968 fi
20969 done
20970
20971 fi
20972 fi
20973
20974
20975
20976
20977
20978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20979 $as_echo_n "checking for fpclass declaration... " >&6; }
20980 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20981 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20982 $as_echo_n "(cached) " >&6
20983 else
20984
20985
20986 ac_ext=cpp
20987 ac_cpp='$CXXCPP $CPPFLAGS'
20988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20991
20992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20993 /* end confdefs.h. */
20994 #include <math.h>
20995 #ifdef HAVE_IEEEFP_H
20996 #include <ieeefp.h>
20997 #endif
20998
20999 int
21000 main ()
21001 {
21002 fpclass(0);
21003 ;
21004 return 0;
21005 }
21006 _ACEOF
21007 if ac_fn_cxx_try_compile "$LINENO"; then :
21008 glibcxx_cv_func_fpclass_use=yes
21009 else
21010 glibcxx_cv_func_fpclass_use=no
21011 fi
21012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21013 ac_ext=c
21014 ac_cpp='$CPP $CPPFLAGS'
21015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21018
21019
21020 fi
21021
21022 fi
21023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21024 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21025
21026 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21027 for ac_func in fpclass
21028 do :
21029 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21030 if test "x$ac_cv_func_fpclass" = x""yes; then :
21031 cat >>confdefs.h <<_ACEOF
21032 #define HAVE_FPCLASS 1
21033 _ACEOF
21034
21035 fi
21036 done
21037
21038 else
21039
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21041 $as_echo_n "checking for _fpclass declaration... " >&6; }
21042 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21043 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21044 $as_echo_n "(cached) " >&6
21045 else
21046
21047
21048 ac_ext=cpp
21049 ac_cpp='$CXXCPP $CPPFLAGS'
21050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21053
21054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21055 /* end confdefs.h. */
21056 #include <math.h>
21057 #ifdef HAVE_IEEEFP_H
21058 #include <ieeefp.h>
21059 #endif
21060
21061 int
21062 main ()
21063 {
21064 _fpclass(0);
21065 ;
21066 return 0;
21067 }
21068 _ACEOF
21069 if ac_fn_cxx_try_compile "$LINENO"; then :
21070 glibcxx_cv_func__fpclass_use=yes
21071 else
21072 glibcxx_cv_func__fpclass_use=no
21073 fi
21074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21075 ac_ext=c
21076 ac_cpp='$CPP $CPPFLAGS'
21077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21080
21081
21082 fi
21083
21084 fi
21085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21086 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21087
21088 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21089 for ac_func in _fpclass
21090 do :
21091 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21092 if test "x$ac_cv_func__fpclass" = x""yes; then :
21093 cat >>confdefs.h <<_ACEOF
21094 #define HAVE__FPCLASS 1
21095 _ACEOF
21096
21097 fi
21098 done
21099
21100 fi
21101 fi
21102
21103
21104
21105
21106
21107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21108 $as_echo_n "checking for qfpclass declaration... " >&6; }
21109 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21110 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21111 $as_echo_n "(cached) " >&6
21112 else
21113
21114
21115 ac_ext=cpp
21116 ac_cpp='$CXXCPP $CPPFLAGS'
21117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21120
21121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21122 /* end confdefs.h. */
21123 #include <math.h>
21124 #ifdef HAVE_IEEEFP_H
21125 #include <ieeefp.h>
21126 #endif
21127
21128 int
21129 main ()
21130 {
21131 qfpclass(0);
21132 ;
21133 return 0;
21134 }
21135 _ACEOF
21136 if ac_fn_cxx_try_compile "$LINENO"; then :
21137 glibcxx_cv_func_qfpclass_use=yes
21138 else
21139 glibcxx_cv_func_qfpclass_use=no
21140 fi
21141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21142 ac_ext=c
21143 ac_cpp='$CPP $CPPFLAGS'
21144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21147
21148
21149 fi
21150
21151 fi
21152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21153 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21154
21155 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21156 for ac_func in qfpclass
21157 do :
21158 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21159 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21160 cat >>confdefs.h <<_ACEOF
21161 #define HAVE_QFPCLASS 1
21162 _ACEOF
21163
21164 fi
21165 done
21166
21167 else
21168
21169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21170 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21171 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21172 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21173 $as_echo_n "(cached) " >&6
21174 else
21175
21176
21177 ac_ext=cpp
21178 ac_cpp='$CXXCPP $CPPFLAGS'
21179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21182
21183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21184 /* end confdefs.h. */
21185 #include <math.h>
21186 #ifdef HAVE_IEEEFP_H
21187 #include <ieeefp.h>
21188 #endif
21189
21190 int
21191 main ()
21192 {
21193 _qfpclass(0);
21194 ;
21195 return 0;
21196 }
21197 _ACEOF
21198 if ac_fn_cxx_try_compile "$LINENO"; then :
21199 glibcxx_cv_func__qfpclass_use=yes
21200 else
21201 glibcxx_cv_func__qfpclass_use=no
21202 fi
21203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21204 ac_ext=c
21205 ac_cpp='$CPP $CPPFLAGS'
21206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21209
21210
21211 fi
21212
21213 fi
21214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21215 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21216
21217 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21218 for ac_func in _qfpclass
21219 do :
21220 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21221 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21222 cat >>confdefs.h <<_ACEOF
21223 #define HAVE__QFPCLASS 1
21224 _ACEOF
21225
21226 fi
21227 done
21228
21229 fi
21230 fi
21231
21232
21233
21234
21235
21236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21237 $as_echo_n "checking for hypot declaration... " >&6; }
21238 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21239 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21240 $as_echo_n "(cached) " >&6
21241 else
21242
21243
21244 ac_ext=cpp
21245 ac_cpp='$CXXCPP $CPPFLAGS'
21246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21249
21250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21251 /* end confdefs.h. */
21252 #include <math.h>
21253 int
21254 main ()
21255 {
21256 hypot(0, 0);
21257 ;
21258 return 0;
21259 }
21260 _ACEOF
21261 if ac_fn_cxx_try_compile "$LINENO"; then :
21262 glibcxx_cv_func_hypot_use=yes
21263 else
21264 glibcxx_cv_func_hypot_use=no
21265 fi
21266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21267 ac_ext=c
21268 ac_cpp='$CPP $CPPFLAGS'
21269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21272
21273
21274 fi
21275
21276 fi
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21278 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21279
21280 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21281 for ac_func in hypot
21282 do :
21283 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21284 if test "x$ac_cv_func_hypot" = x""yes; then :
21285 cat >>confdefs.h <<_ACEOF
21286 #define HAVE_HYPOT 1
21287 _ACEOF
21288
21289 fi
21290 done
21291
21292 else
21293
21294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21295 $as_echo_n "checking for _hypot declaration... " >&6; }
21296 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21297 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21298 $as_echo_n "(cached) " >&6
21299 else
21300
21301
21302 ac_ext=cpp
21303 ac_cpp='$CXXCPP $CPPFLAGS'
21304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21307
21308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21309 /* end confdefs.h. */
21310 #include <math.h>
21311 int
21312 main ()
21313 {
21314 _hypot(0, 0);
21315 ;
21316 return 0;
21317 }
21318 _ACEOF
21319 if ac_fn_cxx_try_compile "$LINENO"; then :
21320 glibcxx_cv_func__hypot_use=yes
21321 else
21322 glibcxx_cv_func__hypot_use=no
21323 fi
21324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21325 ac_ext=c
21326 ac_cpp='$CPP $CPPFLAGS'
21327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21330
21331
21332 fi
21333
21334 fi
21335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21336 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21337
21338 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21339 for ac_func in _hypot
21340 do :
21341 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21342 if test "x$ac_cv_func__hypot" = x""yes; then :
21343 cat >>confdefs.h <<_ACEOF
21344 #define HAVE__HYPOT 1
21345 _ACEOF
21346
21347 fi
21348 done
21349
21350 fi
21351 fi
21352
21353
21354
21355
21356
21357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21358 $as_echo_n "checking for float trig functions... " >&6; }
21359 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21360 $as_echo_n "(cached) " >&6
21361 else
21362
21363
21364 ac_ext=cpp
21365 ac_cpp='$CXXCPP $CPPFLAGS'
21366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21369
21370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21371 /* end confdefs.h. */
21372 #include <math.h>
21373 int
21374 main ()
21375 {
21376 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21377 ;
21378 return 0;
21379 }
21380 _ACEOF
21381 if ac_fn_cxx_try_compile "$LINENO"; then :
21382 glibcxx_cv_func_float_trig_use=yes
21383 else
21384 glibcxx_cv_func_float_trig_use=no
21385 fi
21386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21387 ac_ext=c
21388 ac_cpp='$CPP $CPPFLAGS'
21389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21392
21393 fi
21394
21395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21396 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21397 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21398 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21399 do :
21400 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21401 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21402 eval as_val=\$$as_ac_var
21403 if test "x$as_val" = x""yes; then :
21404 cat >>confdefs.h <<_ACEOF
21405 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21406 _ACEOF
21407
21408 fi
21409 done
21410
21411 else
21412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21413 $as_echo_n "checking for _float trig functions... " >&6; }
21414 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21415 $as_echo_n "(cached) " >&6
21416 else
21417
21418
21419 ac_ext=cpp
21420 ac_cpp='$CXXCPP $CPPFLAGS'
21421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21424
21425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21426 /* end confdefs.h. */
21427 #include <math.h>
21428 int
21429 main ()
21430 {
21431 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21432 ;
21433 return 0;
21434 }
21435 _ACEOF
21436 if ac_fn_cxx_try_compile "$LINENO"; then :
21437 glibcxx_cv_func__float_trig_use=yes
21438 else
21439 glibcxx_cv_func__float_trig_use=no
21440 fi
21441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21442 ac_ext=c
21443 ac_cpp='$CPP $CPPFLAGS'
21444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21447
21448 fi
21449
21450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21451 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21452 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21453 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21454 do :
21455 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21456 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21457 eval as_val=\$$as_ac_var
21458 if test "x$as_val" = x""yes; then :
21459 cat >>confdefs.h <<_ACEOF
21460 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21461 _ACEOF
21462
21463 fi
21464 done
21465
21466 fi
21467 fi
21468
21469
21470
21471
21472
21473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21474 $as_echo_n "checking for float round functions... " >&6; }
21475 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21476 $as_echo_n "(cached) " >&6
21477 else
21478
21479
21480 ac_ext=cpp
21481 ac_cpp='$CXXCPP $CPPFLAGS'
21482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21485
21486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21487 /* end confdefs.h. */
21488 #include <math.h>
21489 int
21490 main ()
21491 {
21492 ceilf (0); floorf (0);
21493 ;
21494 return 0;
21495 }
21496 _ACEOF
21497 if ac_fn_cxx_try_compile "$LINENO"; then :
21498 glibcxx_cv_func_float_round_use=yes
21499 else
21500 glibcxx_cv_func_float_round_use=no
21501 fi
21502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21503 ac_ext=c
21504 ac_cpp='$CPP $CPPFLAGS'
21505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21508
21509 fi
21510
21511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21512 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21513 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21514 for ac_func in ceilf floorf
21515 do :
21516 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21517 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21518 eval as_val=\$$as_ac_var
21519 if test "x$as_val" = x""yes; then :
21520 cat >>confdefs.h <<_ACEOF
21521 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21522 _ACEOF
21523
21524 fi
21525 done
21526
21527 else
21528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21529 $as_echo_n "checking for _float round functions... " >&6; }
21530 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21531 $as_echo_n "(cached) " >&6
21532 else
21533
21534
21535 ac_ext=cpp
21536 ac_cpp='$CXXCPP $CPPFLAGS'
21537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21540
21541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21542 /* end confdefs.h. */
21543 #include <math.h>
21544 int
21545 main ()
21546 {
21547 _ceilf (0); _floorf (0);
21548 ;
21549 return 0;
21550 }
21551 _ACEOF
21552 if ac_fn_cxx_try_compile "$LINENO"; then :
21553 glibcxx_cv_func__float_round_use=yes
21554 else
21555 glibcxx_cv_func__float_round_use=no
21556 fi
21557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21558 ac_ext=c
21559 ac_cpp='$CPP $CPPFLAGS'
21560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21563
21564 fi
21565
21566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21567 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21568 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21569 for ac_func in _ceilf _floorf
21570 do :
21571 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21572 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21573 eval as_val=\$$as_ac_var
21574 if test "x$as_val" = x""yes; then :
21575 cat >>confdefs.h <<_ACEOF
21576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21577 _ACEOF
21578
21579 fi
21580 done
21581
21582 fi
21583 fi
21584
21585
21586
21587
21588
21589
21590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21591 $as_echo_n "checking for expf declaration... " >&6; }
21592 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21593 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21594 $as_echo_n "(cached) " >&6
21595 else
21596
21597
21598 ac_ext=cpp
21599 ac_cpp='$CXXCPP $CPPFLAGS'
21600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21603
21604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21605 /* end confdefs.h. */
21606 #include <math.h>
21607 #ifdef HAVE_IEEEFP_H
21608 #include <ieeefp.h>
21609 #endif
21610
21611 int
21612 main ()
21613 {
21614 expf(0);
21615 ;
21616 return 0;
21617 }
21618 _ACEOF
21619 if ac_fn_cxx_try_compile "$LINENO"; then :
21620 glibcxx_cv_func_expf_use=yes
21621 else
21622 glibcxx_cv_func_expf_use=no
21623 fi
21624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21625 ac_ext=c
21626 ac_cpp='$CPP $CPPFLAGS'
21627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21630
21631
21632 fi
21633
21634 fi
21635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21636 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21637
21638 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21639 for ac_func in expf
21640 do :
21641 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21642 if test "x$ac_cv_func_expf" = x""yes; then :
21643 cat >>confdefs.h <<_ACEOF
21644 #define HAVE_EXPF 1
21645 _ACEOF
21646
21647 fi
21648 done
21649
21650 else
21651
21652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21653 $as_echo_n "checking for _expf declaration... " >&6; }
21654 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21655 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21656 $as_echo_n "(cached) " >&6
21657 else
21658
21659
21660 ac_ext=cpp
21661 ac_cpp='$CXXCPP $CPPFLAGS'
21662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21665
21666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21667 /* end confdefs.h. */
21668 #include <math.h>
21669 #ifdef HAVE_IEEEFP_H
21670 #include <ieeefp.h>
21671 #endif
21672
21673 int
21674 main ()
21675 {
21676 _expf(0);
21677 ;
21678 return 0;
21679 }
21680 _ACEOF
21681 if ac_fn_cxx_try_compile "$LINENO"; then :
21682 glibcxx_cv_func__expf_use=yes
21683 else
21684 glibcxx_cv_func__expf_use=no
21685 fi
21686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21687 ac_ext=c
21688 ac_cpp='$CPP $CPPFLAGS'
21689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21692
21693
21694 fi
21695
21696 fi
21697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21698 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21699
21700 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21701 for ac_func in _expf
21702 do :
21703 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21704 if test "x$ac_cv_func__expf" = x""yes; then :
21705 cat >>confdefs.h <<_ACEOF
21706 #define HAVE__EXPF 1
21707 _ACEOF
21708
21709 fi
21710 done
21711
21712 fi
21713 fi
21714
21715
21716
21717
21718
21719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21720 $as_echo_n "checking for isnanf declaration... " >&6; }
21721 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21722 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21723 $as_echo_n "(cached) " >&6
21724 else
21725
21726
21727 ac_ext=cpp
21728 ac_cpp='$CXXCPP $CPPFLAGS'
21729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21732
21733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21734 /* end confdefs.h. */
21735 #include <math.h>
21736 #ifdef HAVE_IEEEFP_H
21737 #include <ieeefp.h>
21738 #endif
21739
21740 int
21741 main ()
21742 {
21743 isnanf(0);
21744 ;
21745 return 0;
21746 }
21747 _ACEOF
21748 if ac_fn_cxx_try_compile "$LINENO"; then :
21749 glibcxx_cv_func_isnanf_use=yes
21750 else
21751 glibcxx_cv_func_isnanf_use=no
21752 fi
21753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21754 ac_ext=c
21755 ac_cpp='$CPP $CPPFLAGS'
21756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21759
21760
21761 fi
21762
21763 fi
21764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21765 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21766
21767 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21768 for ac_func in isnanf
21769 do :
21770 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21771 if test "x$ac_cv_func_isnanf" = x""yes; then :
21772 cat >>confdefs.h <<_ACEOF
21773 #define HAVE_ISNANF 1
21774 _ACEOF
21775
21776 fi
21777 done
21778
21779 else
21780
21781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21782 $as_echo_n "checking for _isnanf declaration... " >&6; }
21783 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21784 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21785 $as_echo_n "(cached) " >&6
21786 else
21787
21788
21789 ac_ext=cpp
21790 ac_cpp='$CXXCPP $CPPFLAGS'
21791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21794
21795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21796 /* end confdefs.h. */
21797 #include <math.h>
21798 #ifdef HAVE_IEEEFP_H
21799 #include <ieeefp.h>
21800 #endif
21801
21802 int
21803 main ()
21804 {
21805 _isnanf(0);
21806 ;
21807 return 0;
21808 }
21809 _ACEOF
21810 if ac_fn_cxx_try_compile "$LINENO"; then :
21811 glibcxx_cv_func__isnanf_use=yes
21812 else
21813 glibcxx_cv_func__isnanf_use=no
21814 fi
21815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21816 ac_ext=c
21817 ac_cpp='$CPP $CPPFLAGS'
21818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21821
21822
21823 fi
21824
21825 fi
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21827 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21828
21829 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21830 for ac_func in _isnanf
21831 do :
21832 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21833 if test "x$ac_cv_func__isnanf" = x""yes; then :
21834 cat >>confdefs.h <<_ACEOF
21835 #define HAVE__ISNANF 1
21836 _ACEOF
21837
21838 fi
21839 done
21840
21841 fi
21842 fi
21843
21844
21845
21846
21847
21848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21849 $as_echo_n "checking for isinff declaration... " >&6; }
21850 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21851 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21852 $as_echo_n "(cached) " >&6
21853 else
21854
21855
21856 ac_ext=cpp
21857 ac_cpp='$CXXCPP $CPPFLAGS'
21858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21861
21862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21863 /* end confdefs.h. */
21864 #include <math.h>
21865 #ifdef HAVE_IEEEFP_H
21866 #include <ieeefp.h>
21867 #endif
21868
21869 int
21870 main ()
21871 {
21872 isinff(0);
21873 ;
21874 return 0;
21875 }
21876 _ACEOF
21877 if ac_fn_cxx_try_compile "$LINENO"; then :
21878 glibcxx_cv_func_isinff_use=yes
21879 else
21880 glibcxx_cv_func_isinff_use=no
21881 fi
21882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21883 ac_ext=c
21884 ac_cpp='$CPP $CPPFLAGS'
21885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21888
21889
21890 fi
21891
21892 fi
21893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21894 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21895
21896 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21897 for ac_func in isinff
21898 do :
21899 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21900 if test "x$ac_cv_func_isinff" = x""yes; then :
21901 cat >>confdefs.h <<_ACEOF
21902 #define HAVE_ISINFF 1
21903 _ACEOF
21904
21905 fi
21906 done
21907
21908 else
21909
21910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21911 $as_echo_n "checking for _isinff declaration... " >&6; }
21912 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21913 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21914 $as_echo_n "(cached) " >&6
21915 else
21916
21917
21918 ac_ext=cpp
21919 ac_cpp='$CXXCPP $CPPFLAGS'
21920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21923
21924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21925 /* end confdefs.h. */
21926 #include <math.h>
21927 #ifdef HAVE_IEEEFP_H
21928 #include <ieeefp.h>
21929 #endif
21930
21931 int
21932 main ()
21933 {
21934 _isinff(0);
21935 ;
21936 return 0;
21937 }
21938 _ACEOF
21939 if ac_fn_cxx_try_compile "$LINENO"; then :
21940 glibcxx_cv_func__isinff_use=yes
21941 else
21942 glibcxx_cv_func__isinff_use=no
21943 fi
21944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21945 ac_ext=c
21946 ac_cpp='$CPP $CPPFLAGS'
21947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21950
21951
21952 fi
21953
21954 fi
21955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21956 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21957
21958 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21959 for ac_func in _isinff
21960 do :
21961 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21962 if test "x$ac_cv_func__isinff" = x""yes; then :
21963 cat >>confdefs.h <<_ACEOF
21964 #define HAVE__ISINFF 1
21965 _ACEOF
21966
21967 fi
21968 done
21969
21970 fi
21971 fi
21972
21973
21974
21975
21976
21977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21978 $as_echo_n "checking for atan2f declaration... " >&6; }
21979 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21980 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21981 $as_echo_n "(cached) " >&6
21982 else
21983
21984
21985 ac_ext=cpp
21986 ac_cpp='$CXXCPP $CPPFLAGS'
21987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21990
21991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21992 /* end confdefs.h. */
21993 #include <math.h>
21994 int
21995 main ()
21996 {
21997 atan2f(0, 0);
21998 ;
21999 return 0;
22000 }
22001 _ACEOF
22002 if ac_fn_cxx_try_compile "$LINENO"; then :
22003 glibcxx_cv_func_atan2f_use=yes
22004 else
22005 glibcxx_cv_func_atan2f_use=no
22006 fi
22007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22008 ac_ext=c
22009 ac_cpp='$CPP $CPPFLAGS'
22010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22013
22014
22015 fi
22016
22017 fi
22018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22019 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22020
22021 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22022 for ac_func in atan2f
22023 do :
22024 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22025 if test "x$ac_cv_func_atan2f" = x""yes; then :
22026 cat >>confdefs.h <<_ACEOF
22027 #define HAVE_ATAN2F 1
22028 _ACEOF
22029
22030 fi
22031 done
22032
22033 else
22034
22035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22036 $as_echo_n "checking for _atan2f declaration... " >&6; }
22037 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22038 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22039 $as_echo_n "(cached) " >&6
22040 else
22041
22042
22043 ac_ext=cpp
22044 ac_cpp='$CXXCPP $CPPFLAGS'
22045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22048
22049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22050 /* end confdefs.h. */
22051 #include <math.h>
22052 int
22053 main ()
22054 {
22055 _atan2f(0, 0);
22056 ;
22057 return 0;
22058 }
22059 _ACEOF
22060 if ac_fn_cxx_try_compile "$LINENO"; then :
22061 glibcxx_cv_func__atan2f_use=yes
22062 else
22063 glibcxx_cv_func__atan2f_use=no
22064 fi
22065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22066 ac_ext=c
22067 ac_cpp='$CPP $CPPFLAGS'
22068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22071
22072
22073 fi
22074
22075 fi
22076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22077 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22078
22079 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22080 for ac_func in _atan2f
22081 do :
22082 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22083 if test "x$ac_cv_func__atan2f" = x""yes; then :
22084 cat >>confdefs.h <<_ACEOF
22085 #define HAVE__ATAN2F 1
22086 _ACEOF
22087
22088 fi
22089 done
22090
22091 fi
22092 fi
22093
22094
22095
22096
22097
22098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22099 $as_echo_n "checking for fabsf declaration... " >&6; }
22100 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22101 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22102 $as_echo_n "(cached) " >&6
22103 else
22104
22105
22106 ac_ext=cpp
22107 ac_cpp='$CXXCPP $CPPFLAGS'
22108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22111
22112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22113 /* end confdefs.h. */
22114 #include <math.h>
22115 #ifdef HAVE_IEEEFP_H
22116 #include <ieeefp.h>
22117 #endif
22118
22119 int
22120 main ()
22121 {
22122 fabsf(0);
22123 ;
22124 return 0;
22125 }
22126 _ACEOF
22127 if ac_fn_cxx_try_compile "$LINENO"; then :
22128 glibcxx_cv_func_fabsf_use=yes
22129 else
22130 glibcxx_cv_func_fabsf_use=no
22131 fi
22132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22133 ac_ext=c
22134 ac_cpp='$CPP $CPPFLAGS'
22135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22138
22139
22140 fi
22141
22142 fi
22143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22144 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22145
22146 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22147 for ac_func in fabsf
22148 do :
22149 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22150 if test "x$ac_cv_func_fabsf" = x""yes; then :
22151 cat >>confdefs.h <<_ACEOF
22152 #define HAVE_FABSF 1
22153 _ACEOF
22154
22155 fi
22156 done
22157
22158 else
22159
22160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22161 $as_echo_n "checking for _fabsf declaration... " >&6; }
22162 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22163 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22164 $as_echo_n "(cached) " >&6
22165 else
22166
22167
22168 ac_ext=cpp
22169 ac_cpp='$CXXCPP $CPPFLAGS'
22170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22173
22174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22175 /* end confdefs.h. */
22176 #include <math.h>
22177 #ifdef HAVE_IEEEFP_H
22178 #include <ieeefp.h>
22179 #endif
22180
22181 int
22182 main ()
22183 {
22184 _fabsf(0);
22185 ;
22186 return 0;
22187 }
22188 _ACEOF
22189 if ac_fn_cxx_try_compile "$LINENO"; then :
22190 glibcxx_cv_func__fabsf_use=yes
22191 else
22192 glibcxx_cv_func__fabsf_use=no
22193 fi
22194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22195 ac_ext=c
22196 ac_cpp='$CPP $CPPFLAGS'
22197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22200
22201
22202 fi
22203
22204 fi
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22206 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22207
22208 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22209 for ac_func in _fabsf
22210 do :
22211 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22212 if test "x$ac_cv_func__fabsf" = x""yes; then :
22213 cat >>confdefs.h <<_ACEOF
22214 #define HAVE__FABSF 1
22215 _ACEOF
22216
22217 fi
22218 done
22219
22220 fi
22221 fi
22222
22223
22224
22225
22226
22227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22228 $as_echo_n "checking for fmodf declaration... " >&6; }
22229 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22230 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22231 $as_echo_n "(cached) " >&6
22232 else
22233
22234
22235 ac_ext=cpp
22236 ac_cpp='$CXXCPP $CPPFLAGS'
22237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22240
22241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22242 /* end confdefs.h. */
22243 #include <math.h>
22244 int
22245 main ()
22246 {
22247 fmodf(0, 0);
22248 ;
22249 return 0;
22250 }
22251 _ACEOF
22252 if ac_fn_cxx_try_compile "$LINENO"; then :
22253 glibcxx_cv_func_fmodf_use=yes
22254 else
22255 glibcxx_cv_func_fmodf_use=no
22256 fi
22257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22258 ac_ext=c
22259 ac_cpp='$CPP $CPPFLAGS'
22260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22263
22264
22265 fi
22266
22267 fi
22268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22269 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22270
22271 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22272 for ac_func in fmodf
22273 do :
22274 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22275 if test "x$ac_cv_func_fmodf" = x""yes; then :
22276 cat >>confdefs.h <<_ACEOF
22277 #define HAVE_FMODF 1
22278 _ACEOF
22279
22280 fi
22281 done
22282
22283 else
22284
22285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22286 $as_echo_n "checking for _fmodf declaration... " >&6; }
22287 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22288 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22289 $as_echo_n "(cached) " >&6
22290 else
22291
22292
22293 ac_ext=cpp
22294 ac_cpp='$CXXCPP $CPPFLAGS'
22295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22298
22299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22300 /* end confdefs.h. */
22301 #include <math.h>
22302 int
22303 main ()
22304 {
22305 _fmodf(0, 0);
22306 ;
22307 return 0;
22308 }
22309 _ACEOF
22310 if ac_fn_cxx_try_compile "$LINENO"; then :
22311 glibcxx_cv_func__fmodf_use=yes
22312 else
22313 glibcxx_cv_func__fmodf_use=no
22314 fi
22315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22316 ac_ext=c
22317 ac_cpp='$CPP $CPPFLAGS'
22318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22321
22322
22323 fi
22324
22325 fi
22326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22327 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22328
22329 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22330 for ac_func in _fmodf
22331 do :
22332 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22333 if test "x$ac_cv_func__fmodf" = x""yes; then :
22334 cat >>confdefs.h <<_ACEOF
22335 #define HAVE__FMODF 1
22336 _ACEOF
22337
22338 fi
22339 done
22340
22341 fi
22342 fi
22343
22344
22345
22346
22347
22348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22349 $as_echo_n "checking for frexpf declaration... " >&6; }
22350 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22351 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22352 $as_echo_n "(cached) " >&6
22353 else
22354
22355
22356 ac_ext=cpp
22357 ac_cpp='$CXXCPP $CPPFLAGS'
22358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22361
22362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22363 /* end confdefs.h. */
22364 #include <math.h>
22365 int
22366 main ()
22367 {
22368 frexpf(0, 0);
22369 ;
22370 return 0;
22371 }
22372 _ACEOF
22373 if ac_fn_cxx_try_compile "$LINENO"; then :
22374 glibcxx_cv_func_frexpf_use=yes
22375 else
22376 glibcxx_cv_func_frexpf_use=no
22377 fi
22378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22379 ac_ext=c
22380 ac_cpp='$CPP $CPPFLAGS'
22381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22384
22385
22386 fi
22387
22388 fi
22389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22390 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22391
22392 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22393 for ac_func in frexpf
22394 do :
22395 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22396 if test "x$ac_cv_func_frexpf" = x""yes; then :
22397 cat >>confdefs.h <<_ACEOF
22398 #define HAVE_FREXPF 1
22399 _ACEOF
22400
22401 fi
22402 done
22403
22404 else
22405
22406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22407 $as_echo_n "checking for _frexpf declaration... " >&6; }
22408 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22409 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22410 $as_echo_n "(cached) " >&6
22411 else
22412
22413
22414 ac_ext=cpp
22415 ac_cpp='$CXXCPP $CPPFLAGS'
22416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22419
22420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22421 /* end confdefs.h. */
22422 #include <math.h>
22423 int
22424 main ()
22425 {
22426 _frexpf(0, 0);
22427 ;
22428 return 0;
22429 }
22430 _ACEOF
22431 if ac_fn_cxx_try_compile "$LINENO"; then :
22432 glibcxx_cv_func__frexpf_use=yes
22433 else
22434 glibcxx_cv_func__frexpf_use=no
22435 fi
22436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22437 ac_ext=c
22438 ac_cpp='$CPP $CPPFLAGS'
22439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22442
22443
22444 fi
22445
22446 fi
22447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22448 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22449
22450 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22451 for ac_func in _frexpf
22452 do :
22453 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22454 if test "x$ac_cv_func__frexpf" = x""yes; then :
22455 cat >>confdefs.h <<_ACEOF
22456 #define HAVE__FREXPF 1
22457 _ACEOF
22458
22459 fi
22460 done
22461
22462 fi
22463 fi
22464
22465
22466
22467
22468
22469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22470 $as_echo_n "checking for hypotf declaration... " >&6; }
22471 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22472 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22473 $as_echo_n "(cached) " >&6
22474 else
22475
22476
22477 ac_ext=cpp
22478 ac_cpp='$CXXCPP $CPPFLAGS'
22479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22482
22483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22484 /* end confdefs.h. */
22485 #include <math.h>
22486 int
22487 main ()
22488 {
22489 hypotf(0, 0);
22490 ;
22491 return 0;
22492 }
22493 _ACEOF
22494 if ac_fn_cxx_try_compile "$LINENO"; then :
22495 glibcxx_cv_func_hypotf_use=yes
22496 else
22497 glibcxx_cv_func_hypotf_use=no
22498 fi
22499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22500 ac_ext=c
22501 ac_cpp='$CPP $CPPFLAGS'
22502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22505
22506
22507 fi
22508
22509 fi
22510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22511 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22512
22513 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22514 for ac_func in hypotf
22515 do :
22516 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22517 if test "x$ac_cv_func_hypotf" = x""yes; then :
22518 cat >>confdefs.h <<_ACEOF
22519 #define HAVE_HYPOTF 1
22520 _ACEOF
22521
22522 fi
22523 done
22524
22525 else
22526
22527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22528 $as_echo_n "checking for _hypotf declaration... " >&6; }
22529 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22530 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22531 $as_echo_n "(cached) " >&6
22532 else
22533
22534
22535 ac_ext=cpp
22536 ac_cpp='$CXXCPP $CPPFLAGS'
22537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22540
22541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22542 /* end confdefs.h. */
22543 #include <math.h>
22544 int
22545 main ()
22546 {
22547 _hypotf(0, 0);
22548 ;
22549 return 0;
22550 }
22551 _ACEOF
22552 if ac_fn_cxx_try_compile "$LINENO"; then :
22553 glibcxx_cv_func__hypotf_use=yes
22554 else
22555 glibcxx_cv_func__hypotf_use=no
22556 fi
22557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22558 ac_ext=c
22559 ac_cpp='$CPP $CPPFLAGS'
22560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22563
22564
22565 fi
22566
22567 fi
22568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22569 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22570
22571 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22572 for ac_func in _hypotf
22573 do :
22574 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22575 if test "x$ac_cv_func__hypotf" = x""yes; then :
22576 cat >>confdefs.h <<_ACEOF
22577 #define HAVE__HYPOTF 1
22578 _ACEOF
22579
22580 fi
22581 done
22582
22583 fi
22584 fi
22585
22586
22587
22588
22589
22590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22591 $as_echo_n "checking for ldexpf declaration... " >&6; }
22592 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22593 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22594 $as_echo_n "(cached) " >&6
22595 else
22596
22597
22598 ac_ext=cpp
22599 ac_cpp='$CXXCPP $CPPFLAGS'
22600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22603
22604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22605 /* end confdefs.h. */
22606 #include <math.h>
22607 int
22608 main ()
22609 {
22610 ldexpf(0, 0);
22611 ;
22612 return 0;
22613 }
22614 _ACEOF
22615 if ac_fn_cxx_try_compile "$LINENO"; then :
22616 glibcxx_cv_func_ldexpf_use=yes
22617 else
22618 glibcxx_cv_func_ldexpf_use=no
22619 fi
22620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22621 ac_ext=c
22622 ac_cpp='$CPP $CPPFLAGS'
22623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22626
22627
22628 fi
22629
22630 fi
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22632 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22633
22634 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22635 for ac_func in ldexpf
22636 do :
22637 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22638 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22639 cat >>confdefs.h <<_ACEOF
22640 #define HAVE_LDEXPF 1
22641 _ACEOF
22642
22643 fi
22644 done
22645
22646 else
22647
22648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22649 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22650 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22651 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22652 $as_echo_n "(cached) " >&6
22653 else
22654
22655
22656 ac_ext=cpp
22657 ac_cpp='$CXXCPP $CPPFLAGS'
22658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22661
22662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22663 /* end confdefs.h. */
22664 #include <math.h>
22665 int
22666 main ()
22667 {
22668 _ldexpf(0, 0);
22669 ;
22670 return 0;
22671 }
22672 _ACEOF
22673 if ac_fn_cxx_try_compile "$LINENO"; then :
22674 glibcxx_cv_func__ldexpf_use=yes
22675 else
22676 glibcxx_cv_func__ldexpf_use=no
22677 fi
22678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22679 ac_ext=c
22680 ac_cpp='$CPP $CPPFLAGS'
22681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22684
22685
22686 fi
22687
22688 fi
22689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22690 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22691
22692 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22693 for ac_func in _ldexpf
22694 do :
22695 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22696 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22697 cat >>confdefs.h <<_ACEOF
22698 #define HAVE__LDEXPF 1
22699 _ACEOF
22700
22701 fi
22702 done
22703
22704 fi
22705 fi
22706
22707
22708
22709
22710
22711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22712 $as_echo_n "checking for logf declaration... " >&6; }
22713 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22714 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22715 $as_echo_n "(cached) " >&6
22716 else
22717
22718
22719 ac_ext=cpp
22720 ac_cpp='$CXXCPP $CPPFLAGS'
22721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22724
22725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22726 /* end confdefs.h. */
22727 #include <math.h>
22728 #ifdef HAVE_IEEEFP_H
22729 #include <ieeefp.h>
22730 #endif
22731
22732 int
22733 main ()
22734 {
22735 logf(0);
22736 ;
22737 return 0;
22738 }
22739 _ACEOF
22740 if ac_fn_cxx_try_compile "$LINENO"; then :
22741 glibcxx_cv_func_logf_use=yes
22742 else
22743 glibcxx_cv_func_logf_use=no
22744 fi
22745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22746 ac_ext=c
22747 ac_cpp='$CPP $CPPFLAGS'
22748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22751
22752
22753 fi
22754
22755 fi
22756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22757 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22758
22759 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22760 for ac_func in logf
22761 do :
22762 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22763 if test "x$ac_cv_func_logf" = x""yes; then :
22764 cat >>confdefs.h <<_ACEOF
22765 #define HAVE_LOGF 1
22766 _ACEOF
22767
22768 fi
22769 done
22770
22771 else
22772
22773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22774 $as_echo_n "checking for _logf declaration... " >&6; }
22775 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22776 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22777 $as_echo_n "(cached) " >&6
22778 else
22779
22780
22781 ac_ext=cpp
22782 ac_cpp='$CXXCPP $CPPFLAGS'
22783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22786
22787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22788 /* end confdefs.h. */
22789 #include <math.h>
22790 #ifdef HAVE_IEEEFP_H
22791 #include <ieeefp.h>
22792 #endif
22793
22794 int
22795 main ()
22796 {
22797 _logf(0);
22798 ;
22799 return 0;
22800 }
22801 _ACEOF
22802 if ac_fn_cxx_try_compile "$LINENO"; then :
22803 glibcxx_cv_func__logf_use=yes
22804 else
22805 glibcxx_cv_func__logf_use=no
22806 fi
22807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22808 ac_ext=c
22809 ac_cpp='$CPP $CPPFLAGS'
22810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22813
22814
22815 fi
22816
22817 fi
22818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22819 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22820
22821 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22822 for ac_func in _logf
22823 do :
22824 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22825 if test "x$ac_cv_func__logf" = x""yes; then :
22826 cat >>confdefs.h <<_ACEOF
22827 #define HAVE__LOGF 1
22828 _ACEOF
22829
22830 fi
22831 done
22832
22833 fi
22834 fi
22835
22836
22837
22838
22839
22840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22841 $as_echo_n "checking for log10f declaration... " >&6; }
22842 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22843 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22844 $as_echo_n "(cached) " >&6
22845 else
22846
22847
22848 ac_ext=cpp
22849 ac_cpp='$CXXCPP $CPPFLAGS'
22850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22853
22854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22855 /* end confdefs.h. */
22856 #include <math.h>
22857 #ifdef HAVE_IEEEFP_H
22858 #include <ieeefp.h>
22859 #endif
22860
22861 int
22862 main ()
22863 {
22864 log10f(0);
22865 ;
22866 return 0;
22867 }
22868 _ACEOF
22869 if ac_fn_cxx_try_compile "$LINENO"; then :
22870 glibcxx_cv_func_log10f_use=yes
22871 else
22872 glibcxx_cv_func_log10f_use=no
22873 fi
22874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22875 ac_ext=c
22876 ac_cpp='$CPP $CPPFLAGS'
22877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22880
22881
22882 fi
22883
22884 fi
22885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22886 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22887
22888 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22889 for ac_func in log10f
22890 do :
22891 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22892 if test "x$ac_cv_func_log10f" = x""yes; then :
22893 cat >>confdefs.h <<_ACEOF
22894 #define HAVE_LOG10F 1
22895 _ACEOF
22896
22897 fi
22898 done
22899
22900 else
22901
22902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22903 $as_echo_n "checking for _log10f declaration... " >&6; }
22904 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22905 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22906 $as_echo_n "(cached) " >&6
22907 else
22908
22909
22910 ac_ext=cpp
22911 ac_cpp='$CXXCPP $CPPFLAGS'
22912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22915
22916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22917 /* end confdefs.h. */
22918 #include <math.h>
22919 #ifdef HAVE_IEEEFP_H
22920 #include <ieeefp.h>
22921 #endif
22922
22923 int
22924 main ()
22925 {
22926 _log10f(0);
22927 ;
22928 return 0;
22929 }
22930 _ACEOF
22931 if ac_fn_cxx_try_compile "$LINENO"; then :
22932 glibcxx_cv_func__log10f_use=yes
22933 else
22934 glibcxx_cv_func__log10f_use=no
22935 fi
22936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22937 ac_ext=c
22938 ac_cpp='$CPP $CPPFLAGS'
22939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22942
22943
22944 fi
22945
22946 fi
22947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22948 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22949
22950 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22951 for ac_func in _log10f
22952 do :
22953 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22954 if test "x$ac_cv_func__log10f" = x""yes; then :
22955 cat >>confdefs.h <<_ACEOF
22956 #define HAVE__LOG10F 1
22957 _ACEOF
22958
22959 fi
22960 done
22961
22962 fi
22963 fi
22964
22965
22966
22967
22968
22969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22970 $as_echo_n "checking for modff declaration... " >&6; }
22971 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22972 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22973 $as_echo_n "(cached) " >&6
22974 else
22975
22976
22977 ac_ext=cpp
22978 ac_cpp='$CXXCPP $CPPFLAGS'
22979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22982
22983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22984 /* end confdefs.h. */
22985 #include <math.h>
22986 int
22987 main ()
22988 {
22989 modff(0, 0);
22990 ;
22991 return 0;
22992 }
22993 _ACEOF
22994 if ac_fn_cxx_try_compile "$LINENO"; then :
22995 glibcxx_cv_func_modff_use=yes
22996 else
22997 glibcxx_cv_func_modff_use=no
22998 fi
22999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23000 ac_ext=c
23001 ac_cpp='$CPP $CPPFLAGS'
23002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23005
23006
23007 fi
23008
23009 fi
23010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23011 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23012
23013 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23014 for ac_func in modff
23015 do :
23016 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23017 if test "x$ac_cv_func_modff" = x""yes; then :
23018 cat >>confdefs.h <<_ACEOF
23019 #define HAVE_MODFF 1
23020 _ACEOF
23021
23022 fi
23023 done
23024
23025 else
23026
23027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23028 $as_echo_n "checking for _modff declaration... " >&6; }
23029 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23030 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23031 $as_echo_n "(cached) " >&6
23032 else
23033
23034
23035 ac_ext=cpp
23036 ac_cpp='$CXXCPP $CPPFLAGS'
23037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23040
23041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23042 /* end confdefs.h. */
23043 #include <math.h>
23044 int
23045 main ()
23046 {
23047 _modff(0, 0);
23048 ;
23049 return 0;
23050 }
23051 _ACEOF
23052 if ac_fn_cxx_try_compile "$LINENO"; then :
23053 glibcxx_cv_func__modff_use=yes
23054 else
23055 glibcxx_cv_func__modff_use=no
23056 fi
23057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23058 ac_ext=c
23059 ac_cpp='$CPP $CPPFLAGS'
23060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23063
23064
23065 fi
23066
23067 fi
23068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23069 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23070
23071 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23072 for ac_func in _modff
23073 do :
23074 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23075 if test "x$ac_cv_func__modff" = x""yes; then :
23076 cat >>confdefs.h <<_ACEOF
23077 #define HAVE__MODFF 1
23078 _ACEOF
23079
23080 fi
23081 done
23082
23083 fi
23084 fi
23085
23086
23087
23088
23089
23090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23091 $as_echo_n "checking for modf declaration... " >&6; }
23092 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23093 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23094 $as_echo_n "(cached) " >&6
23095 else
23096
23097
23098 ac_ext=cpp
23099 ac_cpp='$CXXCPP $CPPFLAGS'
23100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23103
23104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23105 /* end confdefs.h. */
23106 #include <math.h>
23107 int
23108 main ()
23109 {
23110 modf(0, 0);
23111 ;
23112 return 0;
23113 }
23114 _ACEOF
23115 if ac_fn_cxx_try_compile "$LINENO"; then :
23116 glibcxx_cv_func_modf_use=yes
23117 else
23118 glibcxx_cv_func_modf_use=no
23119 fi
23120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23121 ac_ext=c
23122 ac_cpp='$CPP $CPPFLAGS'
23123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23126
23127
23128 fi
23129
23130 fi
23131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23132 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23133
23134 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23135 for ac_func in modf
23136 do :
23137 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23138 if test "x$ac_cv_func_modf" = x""yes; then :
23139 cat >>confdefs.h <<_ACEOF
23140 #define HAVE_MODF 1
23141 _ACEOF
23142
23143 fi
23144 done
23145
23146 else
23147
23148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23149 $as_echo_n "checking for _modf declaration... " >&6; }
23150 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23151 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23152 $as_echo_n "(cached) " >&6
23153 else
23154
23155
23156 ac_ext=cpp
23157 ac_cpp='$CXXCPP $CPPFLAGS'
23158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23161
23162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23163 /* end confdefs.h. */
23164 #include <math.h>
23165 int
23166 main ()
23167 {
23168 _modf(0, 0);
23169 ;
23170 return 0;
23171 }
23172 _ACEOF
23173 if ac_fn_cxx_try_compile "$LINENO"; then :
23174 glibcxx_cv_func__modf_use=yes
23175 else
23176 glibcxx_cv_func__modf_use=no
23177 fi
23178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23179 ac_ext=c
23180 ac_cpp='$CPP $CPPFLAGS'
23181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23184
23185
23186 fi
23187
23188 fi
23189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23190 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23191
23192 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23193 for ac_func in _modf
23194 do :
23195 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23196 if test "x$ac_cv_func__modf" = x""yes; then :
23197 cat >>confdefs.h <<_ACEOF
23198 #define HAVE__MODF 1
23199 _ACEOF
23200
23201 fi
23202 done
23203
23204 fi
23205 fi
23206
23207
23208
23209
23210
23211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23212 $as_echo_n "checking for powf declaration... " >&6; }
23213 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23214 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23215 $as_echo_n "(cached) " >&6
23216 else
23217
23218
23219 ac_ext=cpp
23220 ac_cpp='$CXXCPP $CPPFLAGS'
23221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23224
23225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23226 /* end confdefs.h. */
23227 #include <math.h>
23228 int
23229 main ()
23230 {
23231 powf(0, 0);
23232 ;
23233 return 0;
23234 }
23235 _ACEOF
23236 if ac_fn_cxx_try_compile "$LINENO"; then :
23237 glibcxx_cv_func_powf_use=yes
23238 else
23239 glibcxx_cv_func_powf_use=no
23240 fi
23241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23242 ac_ext=c
23243 ac_cpp='$CPP $CPPFLAGS'
23244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23247
23248
23249 fi
23250
23251 fi
23252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23253 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23254
23255 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23256 for ac_func in powf
23257 do :
23258 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23259 if test "x$ac_cv_func_powf" = x""yes; then :
23260 cat >>confdefs.h <<_ACEOF
23261 #define HAVE_POWF 1
23262 _ACEOF
23263
23264 fi
23265 done
23266
23267 else
23268
23269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23270 $as_echo_n "checking for _powf declaration... " >&6; }
23271 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23272 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23273 $as_echo_n "(cached) " >&6
23274 else
23275
23276
23277 ac_ext=cpp
23278 ac_cpp='$CXXCPP $CPPFLAGS'
23279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23282
23283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23284 /* end confdefs.h. */
23285 #include <math.h>
23286 int
23287 main ()
23288 {
23289 _powf(0, 0);
23290 ;
23291 return 0;
23292 }
23293 _ACEOF
23294 if ac_fn_cxx_try_compile "$LINENO"; then :
23295 glibcxx_cv_func__powf_use=yes
23296 else
23297 glibcxx_cv_func__powf_use=no
23298 fi
23299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23300 ac_ext=c
23301 ac_cpp='$CPP $CPPFLAGS'
23302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23305
23306
23307 fi
23308
23309 fi
23310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23311 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23312
23313 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23314 for ac_func in _powf
23315 do :
23316 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23317 if test "x$ac_cv_func__powf" = x""yes; then :
23318 cat >>confdefs.h <<_ACEOF
23319 #define HAVE__POWF 1
23320 _ACEOF
23321
23322 fi
23323 done
23324
23325 fi
23326 fi
23327
23328
23329
23330
23331
23332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23333 $as_echo_n "checking for sqrtf declaration... " >&6; }
23334 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23335 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23336 $as_echo_n "(cached) " >&6
23337 else
23338
23339
23340 ac_ext=cpp
23341 ac_cpp='$CXXCPP $CPPFLAGS'
23342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23345
23346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23347 /* end confdefs.h. */
23348 #include <math.h>
23349 #ifdef HAVE_IEEEFP_H
23350 #include <ieeefp.h>
23351 #endif
23352
23353 int
23354 main ()
23355 {
23356 sqrtf(0);
23357 ;
23358 return 0;
23359 }
23360 _ACEOF
23361 if ac_fn_cxx_try_compile "$LINENO"; then :
23362 glibcxx_cv_func_sqrtf_use=yes
23363 else
23364 glibcxx_cv_func_sqrtf_use=no
23365 fi
23366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23367 ac_ext=c
23368 ac_cpp='$CPP $CPPFLAGS'
23369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23372
23373
23374 fi
23375
23376 fi
23377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23378 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23379
23380 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23381 for ac_func in sqrtf
23382 do :
23383 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23384 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23385 cat >>confdefs.h <<_ACEOF
23386 #define HAVE_SQRTF 1
23387 _ACEOF
23388
23389 fi
23390 done
23391
23392 else
23393
23394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23395 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23396 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23397 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23398 $as_echo_n "(cached) " >&6
23399 else
23400
23401
23402 ac_ext=cpp
23403 ac_cpp='$CXXCPP $CPPFLAGS'
23404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23407
23408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23409 /* end confdefs.h. */
23410 #include <math.h>
23411 #ifdef HAVE_IEEEFP_H
23412 #include <ieeefp.h>
23413 #endif
23414
23415 int
23416 main ()
23417 {
23418 _sqrtf(0);
23419 ;
23420 return 0;
23421 }
23422 _ACEOF
23423 if ac_fn_cxx_try_compile "$LINENO"; then :
23424 glibcxx_cv_func__sqrtf_use=yes
23425 else
23426 glibcxx_cv_func__sqrtf_use=no
23427 fi
23428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23429 ac_ext=c
23430 ac_cpp='$CPP $CPPFLAGS'
23431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23434
23435
23436 fi
23437
23438 fi
23439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23440 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23441
23442 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23443 for ac_func in _sqrtf
23444 do :
23445 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23446 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23447 cat >>confdefs.h <<_ACEOF
23448 #define HAVE__SQRTF 1
23449 _ACEOF
23450
23451 fi
23452 done
23453
23454 fi
23455 fi
23456
23457
23458
23459
23460
23461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23462 $as_echo_n "checking for sincosf declaration... " >&6; }
23463 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23464 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23465 $as_echo_n "(cached) " >&6
23466 else
23467
23468
23469 ac_ext=cpp
23470 ac_cpp='$CXXCPP $CPPFLAGS'
23471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23474
23475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23476 /* end confdefs.h. */
23477 #include <math.h>
23478 int
23479 main ()
23480 {
23481 sincosf(0, 0, 0);
23482 ;
23483 return 0;
23484 }
23485 _ACEOF
23486 if ac_fn_cxx_try_compile "$LINENO"; then :
23487 glibcxx_cv_func_sincosf_use=yes
23488 else
23489 glibcxx_cv_func_sincosf_use=no
23490 fi
23491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23492 ac_ext=c
23493 ac_cpp='$CPP $CPPFLAGS'
23494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23497
23498
23499 fi
23500
23501 fi
23502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23503 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23504
23505 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23506 for ac_func in sincosf
23507 do :
23508 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23509 if test "x$ac_cv_func_sincosf" = x""yes; then :
23510 cat >>confdefs.h <<_ACEOF
23511 #define HAVE_SINCOSF 1
23512 _ACEOF
23513
23514 fi
23515 done
23516
23517 else
23518
23519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23520 $as_echo_n "checking for _sincosf declaration... " >&6; }
23521 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23522 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23523 $as_echo_n "(cached) " >&6
23524 else
23525
23526
23527 ac_ext=cpp
23528 ac_cpp='$CXXCPP $CPPFLAGS'
23529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23532
23533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23534 /* end confdefs.h. */
23535 #include <math.h>
23536 int
23537 main ()
23538 {
23539 _sincosf(0, 0, 0);
23540 ;
23541 return 0;
23542 }
23543 _ACEOF
23544 if ac_fn_cxx_try_compile "$LINENO"; then :
23545 glibcxx_cv_func__sincosf_use=yes
23546 else
23547 glibcxx_cv_func__sincosf_use=no
23548 fi
23549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23550 ac_ext=c
23551 ac_cpp='$CPP $CPPFLAGS'
23552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23555
23556
23557 fi
23558
23559 fi
23560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23561 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23562
23563 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23564 for ac_func in _sincosf
23565 do :
23566 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23567 if test "x$ac_cv_func__sincosf" = x""yes; then :
23568 cat >>confdefs.h <<_ACEOF
23569 #define HAVE__SINCOSF 1
23570 _ACEOF
23571
23572 fi
23573 done
23574
23575 fi
23576 fi
23577
23578
23579
23580
23581
23582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23583 $as_echo_n "checking for finitef declaration... " >&6; }
23584 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23585 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23586 $as_echo_n "(cached) " >&6
23587 else
23588
23589
23590 ac_ext=cpp
23591 ac_cpp='$CXXCPP $CPPFLAGS'
23592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23595
23596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23597 /* end confdefs.h. */
23598 #include <math.h>
23599 #ifdef HAVE_IEEEFP_H
23600 #include <ieeefp.h>
23601 #endif
23602
23603 int
23604 main ()
23605 {
23606 finitef(0);
23607 ;
23608 return 0;
23609 }
23610 _ACEOF
23611 if ac_fn_cxx_try_compile "$LINENO"; then :
23612 glibcxx_cv_func_finitef_use=yes
23613 else
23614 glibcxx_cv_func_finitef_use=no
23615 fi
23616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23617 ac_ext=c
23618 ac_cpp='$CPP $CPPFLAGS'
23619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23622
23623
23624 fi
23625
23626 fi
23627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23628 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23629
23630 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23631 for ac_func in finitef
23632 do :
23633 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23634 if test "x$ac_cv_func_finitef" = x""yes; then :
23635 cat >>confdefs.h <<_ACEOF
23636 #define HAVE_FINITEF 1
23637 _ACEOF
23638
23639 fi
23640 done
23641
23642 else
23643
23644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23645 $as_echo_n "checking for _finitef declaration... " >&6; }
23646 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23647 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23648 $as_echo_n "(cached) " >&6
23649 else
23650
23651
23652 ac_ext=cpp
23653 ac_cpp='$CXXCPP $CPPFLAGS'
23654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23657
23658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23659 /* end confdefs.h. */
23660 #include <math.h>
23661 #ifdef HAVE_IEEEFP_H
23662 #include <ieeefp.h>
23663 #endif
23664
23665 int
23666 main ()
23667 {
23668 _finitef(0);
23669 ;
23670 return 0;
23671 }
23672 _ACEOF
23673 if ac_fn_cxx_try_compile "$LINENO"; then :
23674 glibcxx_cv_func__finitef_use=yes
23675 else
23676 glibcxx_cv_func__finitef_use=no
23677 fi
23678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23679 ac_ext=c
23680 ac_cpp='$CPP $CPPFLAGS'
23681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23684
23685
23686 fi
23687
23688 fi
23689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23690 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23691
23692 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23693 for ac_func in _finitef
23694 do :
23695 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23696 if test "x$ac_cv_func__finitef" = x""yes; then :
23697 cat >>confdefs.h <<_ACEOF
23698 #define HAVE__FINITEF 1
23699 _ACEOF
23700
23701 fi
23702 done
23703
23704 fi
23705 fi
23706
23707
23708
23709
23710
23711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23712 $as_echo_n "checking for long double trig functions... " >&6; }
23713 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23714 $as_echo_n "(cached) " >&6
23715 else
23716
23717
23718 ac_ext=cpp
23719 ac_cpp='$CXXCPP $CPPFLAGS'
23720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23723
23724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23725 /* end confdefs.h. */
23726 #include <math.h>
23727 int
23728 main ()
23729 {
23730 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23731 ;
23732 return 0;
23733 }
23734 _ACEOF
23735 if ac_fn_cxx_try_compile "$LINENO"; then :
23736 glibcxx_cv_func_long_double_trig_use=yes
23737 else
23738 glibcxx_cv_func_long_double_trig_use=no
23739 fi
23740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23741 ac_ext=c
23742 ac_cpp='$CPP $CPPFLAGS'
23743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23746
23747 fi
23748
23749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23750 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23751 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23752 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23753 do :
23754 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23755 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23756 eval as_val=\$$as_ac_var
23757 if test "x$as_val" = x""yes; then :
23758 cat >>confdefs.h <<_ACEOF
23759 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23760 _ACEOF
23761
23762 fi
23763 done
23764
23765 else
23766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23767 $as_echo_n "checking for _long double trig functions... " >&6; }
23768 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23769 $as_echo_n "(cached) " >&6
23770 else
23771
23772
23773 ac_ext=cpp
23774 ac_cpp='$CXXCPP $CPPFLAGS'
23775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23778
23779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23780 /* end confdefs.h. */
23781 #include <math.h>
23782 int
23783 main ()
23784 {
23785 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23786 ;
23787 return 0;
23788 }
23789 _ACEOF
23790 if ac_fn_cxx_try_compile "$LINENO"; then :
23791 glibcxx_cv_func__long_double_trig_use=yes
23792 else
23793 glibcxx_cv_func__long_double_trig_use=no
23794 fi
23795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23796 ac_ext=c
23797 ac_cpp='$CPP $CPPFLAGS'
23798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23801
23802 fi
23803
23804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23805 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23806 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23807 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23808 do :
23809 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23810 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23811 eval as_val=\$$as_ac_var
23812 if test "x$as_val" = x""yes; then :
23813 cat >>confdefs.h <<_ACEOF
23814 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23815 _ACEOF
23816
23817 fi
23818 done
23819
23820 fi
23821 fi
23822
23823
23824
23825
23826
23827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23828 $as_echo_n "checking for long double round functions... " >&6; }
23829 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23830 $as_echo_n "(cached) " >&6
23831 else
23832
23833
23834 ac_ext=cpp
23835 ac_cpp='$CXXCPP $CPPFLAGS'
23836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23839
23840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23841 /* end confdefs.h. */
23842 #include <math.h>
23843 int
23844 main ()
23845 {
23846 ceill (0); floorl (0);
23847 ;
23848 return 0;
23849 }
23850 _ACEOF
23851 if ac_fn_cxx_try_compile "$LINENO"; then :
23852 glibcxx_cv_func_long_double_round_use=yes
23853 else
23854 glibcxx_cv_func_long_double_round_use=no
23855 fi
23856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23857 ac_ext=c
23858 ac_cpp='$CPP $CPPFLAGS'
23859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23862
23863 fi
23864
23865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23866 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23867 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23868 for ac_func in ceill floorl
23869 do :
23870 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23871 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23872 eval as_val=\$$as_ac_var
23873 if test "x$as_val" = x""yes; then :
23874 cat >>confdefs.h <<_ACEOF
23875 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23876 _ACEOF
23877
23878 fi
23879 done
23880
23881 else
23882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23883 $as_echo_n "checking for _long double round functions... " >&6; }
23884 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23885 $as_echo_n "(cached) " >&6
23886 else
23887
23888
23889 ac_ext=cpp
23890 ac_cpp='$CXXCPP $CPPFLAGS'
23891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23894
23895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23896 /* end confdefs.h. */
23897 #include <math.h>
23898 int
23899 main ()
23900 {
23901 _ceill (0); _floorl (0);
23902 ;
23903 return 0;
23904 }
23905 _ACEOF
23906 if ac_fn_cxx_try_compile "$LINENO"; then :
23907 glibcxx_cv_func__long_double_round_use=yes
23908 else
23909 glibcxx_cv_func__long_double_round_use=no
23910 fi
23911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23912 ac_ext=c
23913 ac_cpp='$CPP $CPPFLAGS'
23914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23917
23918 fi
23919
23920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23921 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23922 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23923 for ac_func in _ceill _floorl
23924 do :
23925 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23926 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23927 eval as_val=\$$as_ac_var
23928 if test "x$as_val" = x""yes; then :
23929 cat >>confdefs.h <<_ACEOF
23930 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23931 _ACEOF
23932
23933 fi
23934 done
23935
23936 fi
23937 fi
23938
23939
23940
23941
23942
23943
23944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23945 $as_echo_n "checking for isnanl declaration... " >&6; }
23946 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23947 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23948 $as_echo_n "(cached) " >&6
23949 else
23950
23951
23952 ac_ext=cpp
23953 ac_cpp='$CXXCPP $CPPFLAGS'
23954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23957
23958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23959 /* end confdefs.h. */
23960 #include <math.h>
23961 #ifdef HAVE_IEEEFP_H
23962 #include <ieeefp.h>
23963 #endif
23964
23965 int
23966 main ()
23967 {
23968 isnanl(0);
23969 ;
23970 return 0;
23971 }
23972 _ACEOF
23973 if ac_fn_cxx_try_compile "$LINENO"; then :
23974 glibcxx_cv_func_isnanl_use=yes
23975 else
23976 glibcxx_cv_func_isnanl_use=no
23977 fi
23978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23979 ac_ext=c
23980 ac_cpp='$CPP $CPPFLAGS'
23981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23984
23985
23986 fi
23987
23988 fi
23989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23990 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23991
23992 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23993 for ac_func in isnanl
23994 do :
23995 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23996 if test "x$ac_cv_func_isnanl" = x""yes; then :
23997 cat >>confdefs.h <<_ACEOF
23998 #define HAVE_ISNANL 1
23999 _ACEOF
24000
24001 fi
24002 done
24003
24004 else
24005
24006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24007 $as_echo_n "checking for _isnanl declaration... " >&6; }
24008 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24009 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24010 $as_echo_n "(cached) " >&6
24011 else
24012
24013
24014 ac_ext=cpp
24015 ac_cpp='$CXXCPP $CPPFLAGS'
24016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24019
24020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24021 /* end confdefs.h. */
24022 #include <math.h>
24023 #ifdef HAVE_IEEEFP_H
24024 #include <ieeefp.h>
24025 #endif
24026
24027 int
24028 main ()
24029 {
24030 _isnanl(0);
24031 ;
24032 return 0;
24033 }
24034 _ACEOF
24035 if ac_fn_cxx_try_compile "$LINENO"; then :
24036 glibcxx_cv_func__isnanl_use=yes
24037 else
24038 glibcxx_cv_func__isnanl_use=no
24039 fi
24040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24041 ac_ext=c
24042 ac_cpp='$CPP $CPPFLAGS'
24043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24046
24047
24048 fi
24049
24050 fi
24051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24052 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24053
24054 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24055 for ac_func in _isnanl
24056 do :
24057 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24058 if test "x$ac_cv_func__isnanl" = x""yes; then :
24059 cat >>confdefs.h <<_ACEOF
24060 #define HAVE__ISNANL 1
24061 _ACEOF
24062
24063 fi
24064 done
24065
24066 fi
24067 fi
24068
24069
24070
24071
24072
24073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24074 $as_echo_n "checking for isinfl declaration... " >&6; }
24075 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24076 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24077 $as_echo_n "(cached) " >&6
24078 else
24079
24080
24081 ac_ext=cpp
24082 ac_cpp='$CXXCPP $CPPFLAGS'
24083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24086
24087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24088 /* end confdefs.h. */
24089 #include <math.h>
24090 #ifdef HAVE_IEEEFP_H
24091 #include <ieeefp.h>
24092 #endif
24093
24094 int
24095 main ()
24096 {
24097 isinfl(0);
24098 ;
24099 return 0;
24100 }
24101 _ACEOF
24102 if ac_fn_cxx_try_compile "$LINENO"; then :
24103 glibcxx_cv_func_isinfl_use=yes
24104 else
24105 glibcxx_cv_func_isinfl_use=no
24106 fi
24107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24108 ac_ext=c
24109 ac_cpp='$CPP $CPPFLAGS'
24110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24113
24114
24115 fi
24116
24117 fi
24118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24119 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24120
24121 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24122 for ac_func in isinfl
24123 do :
24124 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24125 if test "x$ac_cv_func_isinfl" = x""yes; then :
24126 cat >>confdefs.h <<_ACEOF
24127 #define HAVE_ISINFL 1
24128 _ACEOF
24129
24130 fi
24131 done
24132
24133 else
24134
24135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24136 $as_echo_n "checking for _isinfl declaration... " >&6; }
24137 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24138 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24139 $as_echo_n "(cached) " >&6
24140 else
24141
24142
24143 ac_ext=cpp
24144 ac_cpp='$CXXCPP $CPPFLAGS'
24145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24148
24149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24150 /* end confdefs.h. */
24151 #include <math.h>
24152 #ifdef HAVE_IEEEFP_H
24153 #include <ieeefp.h>
24154 #endif
24155
24156 int
24157 main ()
24158 {
24159 _isinfl(0);
24160 ;
24161 return 0;
24162 }
24163 _ACEOF
24164 if ac_fn_cxx_try_compile "$LINENO"; then :
24165 glibcxx_cv_func__isinfl_use=yes
24166 else
24167 glibcxx_cv_func__isinfl_use=no
24168 fi
24169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24170 ac_ext=c
24171 ac_cpp='$CPP $CPPFLAGS'
24172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24175
24176
24177 fi
24178
24179 fi
24180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24181 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24182
24183 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24184 for ac_func in _isinfl
24185 do :
24186 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24187 if test "x$ac_cv_func__isinfl" = x""yes; then :
24188 cat >>confdefs.h <<_ACEOF
24189 #define HAVE__ISINFL 1
24190 _ACEOF
24191
24192 fi
24193 done
24194
24195 fi
24196 fi
24197
24198
24199
24200
24201
24202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24203 $as_echo_n "checking for atan2l declaration... " >&6; }
24204 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24205 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24206 $as_echo_n "(cached) " >&6
24207 else
24208
24209
24210 ac_ext=cpp
24211 ac_cpp='$CXXCPP $CPPFLAGS'
24212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24215
24216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24217 /* end confdefs.h. */
24218 #include <math.h>
24219 int
24220 main ()
24221 {
24222 atan2l(0, 0);
24223 ;
24224 return 0;
24225 }
24226 _ACEOF
24227 if ac_fn_cxx_try_compile "$LINENO"; then :
24228 glibcxx_cv_func_atan2l_use=yes
24229 else
24230 glibcxx_cv_func_atan2l_use=no
24231 fi
24232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24233 ac_ext=c
24234 ac_cpp='$CPP $CPPFLAGS'
24235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24238
24239
24240 fi
24241
24242 fi
24243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24244 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24245
24246 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24247 for ac_func in atan2l
24248 do :
24249 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24250 if test "x$ac_cv_func_atan2l" = x""yes; then :
24251 cat >>confdefs.h <<_ACEOF
24252 #define HAVE_ATAN2L 1
24253 _ACEOF
24254
24255 fi
24256 done
24257
24258 else
24259
24260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24261 $as_echo_n "checking for _atan2l declaration... " >&6; }
24262 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24263 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24264 $as_echo_n "(cached) " >&6
24265 else
24266
24267
24268 ac_ext=cpp
24269 ac_cpp='$CXXCPP $CPPFLAGS'
24270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24273
24274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24275 /* end confdefs.h. */
24276 #include <math.h>
24277 int
24278 main ()
24279 {
24280 _atan2l(0, 0);
24281 ;
24282 return 0;
24283 }
24284 _ACEOF
24285 if ac_fn_cxx_try_compile "$LINENO"; then :
24286 glibcxx_cv_func__atan2l_use=yes
24287 else
24288 glibcxx_cv_func__atan2l_use=no
24289 fi
24290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24291 ac_ext=c
24292 ac_cpp='$CPP $CPPFLAGS'
24293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24296
24297
24298 fi
24299
24300 fi
24301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24302 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24303
24304 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24305 for ac_func in _atan2l
24306 do :
24307 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24308 if test "x$ac_cv_func__atan2l" = x""yes; then :
24309 cat >>confdefs.h <<_ACEOF
24310 #define HAVE__ATAN2L 1
24311 _ACEOF
24312
24313 fi
24314 done
24315
24316 fi
24317 fi
24318
24319
24320
24321
24322
24323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24324 $as_echo_n "checking for expl declaration... " >&6; }
24325 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24326 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24327 $as_echo_n "(cached) " >&6
24328 else
24329
24330
24331 ac_ext=cpp
24332 ac_cpp='$CXXCPP $CPPFLAGS'
24333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24336
24337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24338 /* end confdefs.h. */
24339 #include <math.h>
24340 #ifdef HAVE_IEEEFP_H
24341 #include <ieeefp.h>
24342 #endif
24343
24344 int
24345 main ()
24346 {
24347 expl(0);
24348 ;
24349 return 0;
24350 }
24351 _ACEOF
24352 if ac_fn_cxx_try_compile "$LINENO"; then :
24353 glibcxx_cv_func_expl_use=yes
24354 else
24355 glibcxx_cv_func_expl_use=no
24356 fi
24357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24358 ac_ext=c
24359 ac_cpp='$CPP $CPPFLAGS'
24360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24363
24364
24365 fi
24366
24367 fi
24368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24369 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24370
24371 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24372 for ac_func in expl
24373 do :
24374 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24375 if test "x$ac_cv_func_expl" = x""yes; then :
24376 cat >>confdefs.h <<_ACEOF
24377 #define HAVE_EXPL 1
24378 _ACEOF
24379
24380 fi
24381 done
24382
24383 else
24384
24385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24386 $as_echo_n "checking for _expl declaration... " >&6; }
24387 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24388 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24389 $as_echo_n "(cached) " >&6
24390 else
24391
24392
24393 ac_ext=cpp
24394 ac_cpp='$CXXCPP $CPPFLAGS'
24395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24398
24399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24400 /* end confdefs.h. */
24401 #include <math.h>
24402 #ifdef HAVE_IEEEFP_H
24403 #include <ieeefp.h>
24404 #endif
24405
24406 int
24407 main ()
24408 {
24409 _expl(0);
24410 ;
24411 return 0;
24412 }
24413 _ACEOF
24414 if ac_fn_cxx_try_compile "$LINENO"; then :
24415 glibcxx_cv_func__expl_use=yes
24416 else
24417 glibcxx_cv_func__expl_use=no
24418 fi
24419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24420 ac_ext=c
24421 ac_cpp='$CPP $CPPFLAGS'
24422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24425
24426
24427 fi
24428
24429 fi
24430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24431 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24432
24433 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24434 for ac_func in _expl
24435 do :
24436 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24437 if test "x$ac_cv_func__expl" = x""yes; then :
24438 cat >>confdefs.h <<_ACEOF
24439 #define HAVE__EXPL 1
24440 _ACEOF
24441
24442 fi
24443 done
24444
24445 fi
24446 fi
24447
24448
24449
24450
24451
24452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24453 $as_echo_n "checking for fabsl declaration... " >&6; }
24454 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24455 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24456 $as_echo_n "(cached) " >&6
24457 else
24458
24459
24460 ac_ext=cpp
24461 ac_cpp='$CXXCPP $CPPFLAGS'
24462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24465
24466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24467 /* end confdefs.h. */
24468 #include <math.h>
24469 #ifdef HAVE_IEEEFP_H
24470 #include <ieeefp.h>
24471 #endif
24472
24473 int
24474 main ()
24475 {
24476 fabsl(0);
24477 ;
24478 return 0;
24479 }
24480 _ACEOF
24481 if ac_fn_cxx_try_compile "$LINENO"; then :
24482 glibcxx_cv_func_fabsl_use=yes
24483 else
24484 glibcxx_cv_func_fabsl_use=no
24485 fi
24486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24487 ac_ext=c
24488 ac_cpp='$CPP $CPPFLAGS'
24489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24492
24493
24494 fi
24495
24496 fi
24497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24498 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24499
24500 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24501 for ac_func in fabsl
24502 do :
24503 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24504 if test "x$ac_cv_func_fabsl" = x""yes; then :
24505 cat >>confdefs.h <<_ACEOF
24506 #define HAVE_FABSL 1
24507 _ACEOF
24508
24509 fi
24510 done
24511
24512 else
24513
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24515 $as_echo_n "checking for _fabsl declaration... " >&6; }
24516 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24517 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24518 $as_echo_n "(cached) " >&6
24519 else
24520
24521
24522 ac_ext=cpp
24523 ac_cpp='$CXXCPP $CPPFLAGS'
24524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24527
24528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24529 /* end confdefs.h. */
24530 #include <math.h>
24531 #ifdef HAVE_IEEEFP_H
24532 #include <ieeefp.h>
24533 #endif
24534
24535 int
24536 main ()
24537 {
24538 _fabsl(0);
24539 ;
24540 return 0;
24541 }
24542 _ACEOF
24543 if ac_fn_cxx_try_compile "$LINENO"; then :
24544 glibcxx_cv_func__fabsl_use=yes
24545 else
24546 glibcxx_cv_func__fabsl_use=no
24547 fi
24548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24549 ac_ext=c
24550 ac_cpp='$CPP $CPPFLAGS'
24551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24554
24555
24556 fi
24557
24558 fi
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24560 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24561
24562 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24563 for ac_func in _fabsl
24564 do :
24565 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24566 if test "x$ac_cv_func__fabsl" = x""yes; then :
24567 cat >>confdefs.h <<_ACEOF
24568 #define HAVE__FABSL 1
24569 _ACEOF
24570
24571 fi
24572 done
24573
24574 fi
24575 fi
24576
24577
24578
24579
24580
24581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24582 $as_echo_n "checking for fmodl declaration... " >&6; }
24583 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24584 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24585 $as_echo_n "(cached) " >&6
24586 else
24587
24588
24589 ac_ext=cpp
24590 ac_cpp='$CXXCPP $CPPFLAGS'
24591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24594
24595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24596 /* end confdefs.h. */
24597 #include <math.h>
24598 int
24599 main ()
24600 {
24601 fmodl(0, 0);
24602 ;
24603 return 0;
24604 }
24605 _ACEOF
24606 if ac_fn_cxx_try_compile "$LINENO"; then :
24607 glibcxx_cv_func_fmodl_use=yes
24608 else
24609 glibcxx_cv_func_fmodl_use=no
24610 fi
24611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24612 ac_ext=c
24613 ac_cpp='$CPP $CPPFLAGS'
24614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24617
24618
24619 fi
24620
24621 fi
24622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24623 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24624
24625 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24626 for ac_func in fmodl
24627 do :
24628 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24629 if test "x$ac_cv_func_fmodl" = x""yes; then :
24630 cat >>confdefs.h <<_ACEOF
24631 #define HAVE_FMODL 1
24632 _ACEOF
24633
24634 fi
24635 done
24636
24637 else
24638
24639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24640 $as_echo_n "checking for _fmodl declaration... " >&6; }
24641 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24642 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24643 $as_echo_n "(cached) " >&6
24644 else
24645
24646
24647 ac_ext=cpp
24648 ac_cpp='$CXXCPP $CPPFLAGS'
24649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24652
24653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24654 /* end confdefs.h. */
24655 #include <math.h>
24656 int
24657 main ()
24658 {
24659 _fmodl(0, 0);
24660 ;
24661 return 0;
24662 }
24663 _ACEOF
24664 if ac_fn_cxx_try_compile "$LINENO"; then :
24665 glibcxx_cv_func__fmodl_use=yes
24666 else
24667 glibcxx_cv_func__fmodl_use=no
24668 fi
24669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24670 ac_ext=c
24671 ac_cpp='$CPP $CPPFLAGS'
24672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24675
24676
24677 fi
24678
24679 fi
24680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24681 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24682
24683 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24684 for ac_func in _fmodl
24685 do :
24686 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24687 if test "x$ac_cv_func__fmodl" = x""yes; then :
24688 cat >>confdefs.h <<_ACEOF
24689 #define HAVE__FMODL 1
24690 _ACEOF
24691
24692 fi
24693 done
24694
24695 fi
24696 fi
24697
24698
24699
24700
24701
24702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24703 $as_echo_n "checking for frexpl declaration... " >&6; }
24704 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24705 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24706 $as_echo_n "(cached) " >&6
24707 else
24708
24709
24710 ac_ext=cpp
24711 ac_cpp='$CXXCPP $CPPFLAGS'
24712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24715
24716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24717 /* end confdefs.h. */
24718 #include <math.h>
24719 int
24720 main ()
24721 {
24722 frexpl(0, 0);
24723 ;
24724 return 0;
24725 }
24726 _ACEOF
24727 if ac_fn_cxx_try_compile "$LINENO"; then :
24728 glibcxx_cv_func_frexpl_use=yes
24729 else
24730 glibcxx_cv_func_frexpl_use=no
24731 fi
24732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24733 ac_ext=c
24734 ac_cpp='$CPP $CPPFLAGS'
24735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24738
24739
24740 fi
24741
24742 fi
24743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24744 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24745
24746 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24747 for ac_func in frexpl
24748 do :
24749 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24750 if test "x$ac_cv_func_frexpl" = x""yes; then :
24751 cat >>confdefs.h <<_ACEOF
24752 #define HAVE_FREXPL 1
24753 _ACEOF
24754
24755 fi
24756 done
24757
24758 else
24759
24760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24761 $as_echo_n "checking for _frexpl declaration... " >&6; }
24762 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24763 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24764 $as_echo_n "(cached) " >&6
24765 else
24766
24767
24768 ac_ext=cpp
24769 ac_cpp='$CXXCPP $CPPFLAGS'
24770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24773
24774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24775 /* end confdefs.h. */
24776 #include <math.h>
24777 int
24778 main ()
24779 {
24780 _frexpl(0, 0);
24781 ;
24782 return 0;
24783 }
24784 _ACEOF
24785 if ac_fn_cxx_try_compile "$LINENO"; then :
24786 glibcxx_cv_func__frexpl_use=yes
24787 else
24788 glibcxx_cv_func__frexpl_use=no
24789 fi
24790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24791 ac_ext=c
24792 ac_cpp='$CPP $CPPFLAGS'
24793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24796
24797
24798 fi
24799
24800 fi
24801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24802 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24803
24804 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24805 for ac_func in _frexpl
24806 do :
24807 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24808 if test "x$ac_cv_func__frexpl" = x""yes; then :
24809 cat >>confdefs.h <<_ACEOF
24810 #define HAVE__FREXPL 1
24811 _ACEOF
24812
24813 fi
24814 done
24815
24816 fi
24817 fi
24818
24819
24820
24821
24822
24823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24824 $as_echo_n "checking for hypotl declaration... " >&6; }
24825 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24826 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24827 $as_echo_n "(cached) " >&6
24828 else
24829
24830
24831 ac_ext=cpp
24832 ac_cpp='$CXXCPP $CPPFLAGS'
24833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24836
24837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24838 /* end confdefs.h. */
24839 #include <math.h>
24840 int
24841 main ()
24842 {
24843 hypotl(0, 0);
24844 ;
24845 return 0;
24846 }
24847 _ACEOF
24848 if ac_fn_cxx_try_compile "$LINENO"; then :
24849 glibcxx_cv_func_hypotl_use=yes
24850 else
24851 glibcxx_cv_func_hypotl_use=no
24852 fi
24853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24854 ac_ext=c
24855 ac_cpp='$CPP $CPPFLAGS'
24856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24859
24860
24861 fi
24862
24863 fi
24864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24865 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24866
24867 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24868 for ac_func in hypotl
24869 do :
24870 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24871 if test "x$ac_cv_func_hypotl" = x""yes; then :
24872 cat >>confdefs.h <<_ACEOF
24873 #define HAVE_HYPOTL 1
24874 _ACEOF
24875
24876 fi
24877 done
24878
24879 else
24880
24881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24882 $as_echo_n "checking for _hypotl declaration... " >&6; }
24883 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24884 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24885 $as_echo_n "(cached) " >&6
24886 else
24887
24888
24889 ac_ext=cpp
24890 ac_cpp='$CXXCPP $CPPFLAGS'
24891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24894
24895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24896 /* end confdefs.h. */
24897 #include <math.h>
24898 int
24899 main ()
24900 {
24901 _hypotl(0, 0);
24902 ;
24903 return 0;
24904 }
24905 _ACEOF
24906 if ac_fn_cxx_try_compile "$LINENO"; then :
24907 glibcxx_cv_func__hypotl_use=yes
24908 else
24909 glibcxx_cv_func__hypotl_use=no
24910 fi
24911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24912 ac_ext=c
24913 ac_cpp='$CPP $CPPFLAGS'
24914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24917
24918
24919 fi
24920
24921 fi
24922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24923 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24924
24925 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24926 for ac_func in _hypotl
24927 do :
24928 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24929 if test "x$ac_cv_func__hypotl" = x""yes; then :
24930 cat >>confdefs.h <<_ACEOF
24931 #define HAVE__HYPOTL 1
24932 _ACEOF
24933
24934 fi
24935 done
24936
24937 fi
24938 fi
24939
24940
24941
24942
24943
24944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24945 $as_echo_n "checking for ldexpl declaration... " >&6; }
24946 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24947 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24948 $as_echo_n "(cached) " >&6
24949 else
24950
24951
24952 ac_ext=cpp
24953 ac_cpp='$CXXCPP $CPPFLAGS'
24954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24957
24958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24959 /* end confdefs.h. */
24960 #include <math.h>
24961 int
24962 main ()
24963 {
24964 ldexpl(0, 0);
24965 ;
24966 return 0;
24967 }
24968 _ACEOF
24969 if ac_fn_cxx_try_compile "$LINENO"; then :
24970 glibcxx_cv_func_ldexpl_use=yes
24971 else
24972 glibcxx_cv_func_ldexpl_use=no
24973 fi
24974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24975 ac_ext=c
24976 ac_cpp='$CPP $CPPFLAGS'
24977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24980
24981
24982 fi
24983
24984 fi
24985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24986 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24987
24988 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24989 for ac_func in ldexpl
24990 do :
24991 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24992 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24993 cat >>confdefs.h <<_ACEOF
24994 #define HAVE_LDEXPL 1
24995 _ACEOF
24996
24997 fi
24998 done
24999
25000 else
25001
25002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25003 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25004 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25005 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25006 $as_echo_n "(cached) " >&6
25007 else
25008
25009
25010 ac_ext=cpp
25011 ac_cpp='$CXXCPP $CPPFLAGS'
25012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25015
25016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25017 /* end confdefs.h. */
25018 #include <math.h>
25019 int
25020 main ()
25021 {
25022 _ldexpl(0, 0);
25023 ;
25024 return 0;
25025 }
25026 _ACEOF
25027 if ac_fn_cxx_try_compile "$LINENO"; then :
25028 glibcxx_cv_func__ldexpl_use=yes
25029 else
25030 glibcxx_cv_func__ldexpl_use=no
25031 fi
25032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25033 ac_ext=c
25034 ac_cpp='$CPP $CPPFLAGS'
25035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25038
25039
25040 fi
25041
25042 fi
25043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25044 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25045
25046 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25047 for ac_func in _ldexpl
25048 do :
25049 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25050 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25051 cat >>confdefs.h <<_ACEOF
25052 #define HAVE__LDEXPL 1
25053 _ACEOF
25054
25055 fi
25056 done
25057
25058 fi
25059 fi
25060
25061
25062
25063
25064
25065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25066 $as_echo_n "checking for logl declaration... " >&6; }
25067 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25068 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25069 $as_echo_n "(cached) " >&6
25070 else
25071
25072
25073 ac_ext=cpp
25074 ac_cpp='$CXXCPP $CPPFLAGS'
25075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25078
25079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25080 /* end confdefs.h. */
25081 #include <math.h>
25082 #ifdef HAVE_IEEEFP_H
25083 #include <ieeefp.h>
25084 #endif
25085
25086 int
25087 main ()
25088 {
25089 logl(0);
25090 ;
25091 return 0;
25092 }
25093 _ACEOF
25094 if ac_fn_cxx_try_compile "$LINENO"; then :
25095 glibcxx_cv_func_logl_use=yes
25096 else
25097 glibcxx_cv_func_logl_use=no
25098 fi
25099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25100 ac_ext=c
25101 ac_cpp='$CPP $CPPFLAGS'
25102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25105
25106
25107 fi
25108
25109 fi
25110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25111 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25112
25113 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25114 for ac_func in logl
25115 do :
25116 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25117 if test "x$ac_cv_func_logl" = x""yes; then :
25118 cat >>confdefs.h <<_ACEOF
25119 #define HAVE_LOGL 1
25120 _ACEOF
25121
25122 fi
25123 done
25124
25125 else
25126
25127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25128 $as_echo_n "checking for _logl declaration... " >&6; }
25129 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25130 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25131 $as_echo_n "(cached) " >&6
25132 else
25133
25134
25135 ac_ext=cpp
25136 ac_cpp='$CXXCPP $CPPFLAGS'
25137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25140
25141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25142 /* end confdefs.h. */
25143 #include <math.h>
25144 #ifdef HAVE_IEEEFP_H
25145 #include <ieeefp.h>
25146 #endif
25147
25148 int
25149 main ()
25150 {
25151 _logl(0);
25152 ;
25153 return 0;
25154 }
25155 _ACEOF
25156 if ac_fn_cxx_try_compile "$LINENO"; then :
25157 glibcxx_cv_func__logl_use=yes
25158 else
25159 glibcxx_cv_func__logl_use=no
25160 fi
25161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25162 ac_ext=c
25163 ac_cpp='$CPP $CPPFLAGS'
25164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25167
25168
25169 fi
25170
25171 fi
25172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25173 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25174
25175 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25176 for ac_func in _logl
25177 do :
25178 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25179 if test "x$ac_cv_func__logl" = x""yes; then :
25180 cat >>confdefs.h <<_ACEOF
25181 #define HAVE__LOGL 1
25182 _ACEOF
25183
25184 fi
25185 done
25186
25187 fi
25188 fi
25189
25190
25191
25192
25193
25194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25195 $as_echo_n "checking for log10l declaration... " >&6; }
25196 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25197 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25198 $as_echo_n "(cached) " >&6
25199 else
25200
25201
25202 ac_ext=cpp
25203 ac_cpp='$CXXCPP $CPPFLAGS'
25204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25207
25208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25209 /* end confdefs.h. */
25210 #include <math.h>
25211 #ifdef HAVE_IEEEFP_H
25212 #include <ieeefp.h>
25213 #endif
25214
25215 int
25216 main ()
25217 {
25218 log10l(0);
25219 ;
25220 return 0;
25221 }
25222 _ACEOF
25223 if ac_fn_cxx_try_compile "$LINENO"; then :
25224 glibcxx_cv_func_log10l_use=yes
25225 else
25226 glibcxx_cv_func_log10l_use=no
25227 fi
25228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25229 ac_ext=c
25230 ac_cpp='$CPP $CPPFLAGS'
25231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25234
25235
25236 fi
25237
25238 fi
25239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25240 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25241
25242 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25243 for ac_func in log10l
25244 do :
25245 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25246 if test "x$ac_cv_func_log10l" = x""yes; then :
25247 cat >>confdefs.h <<_ACEOF
25248 #define HAVE_LOG10L 1
25249 _ACEOF
25250
25251 fi
25252 done
25253
25254 else
25255
25256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25257 $as_echo_n "checking for _log10l declaration... " >&6; }
25258 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25259 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25260 $as_echo_n "(cached) " >&6
25261 else
25262
25263
25264 ac_ext=cpp
25265 ac_cpp='$CXXCPP $CPPFLAGS'
25266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25269
25270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25271 /* end confdefs.h. */
25272 #include <math.h>
25273 #ifdef HAVE_IEEEFP_H
25274 #include <ieeefp.h>
25275 #endif
25276
25277 int
25278 main ()
25279 {
25280 _log10l(0);
25281 ;
25282 return 0;
25283 }
25284 _ACEOF
25285 if ac_fn_cxx_try_compile "$LINENO"; then :
25286 glibcxx_cv_func__log10l_use=yes
25287 else
25288 glibcxx_cv_func__log10l_use=no
25289 fi
25290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25291 ac_ext=c
25292 ac_cpp='$CPP $CPPFLAGS'
25293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25296
25297
25298 fi
25299
25300 fi
25301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25302 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25303
25304 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25305 for ac_func in _log10l
25306 do :
25307 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25308 if test "x$ac_cv_func__log10l" = x""yes; then :
25309 cat >>confdefs.h <<_ACEOF
25310 #define HAVE__LOG10L 1
25311 _ACEOF
25312
25313 fi
25314 done
25315
25316 fi
25317 fi
25318
25319
25320
25321
25322
25323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25324 $as_echo_n "checking for modfl declaration... " >&6; }
25325 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25326 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25327 $as_echo_n "(cached) " >&6
25328 else
25329
25330
25331 ac_ext=cpp
25332 ac_cpp='$CXXCPP $CPPFLAGS'
25333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25336
25337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25338 /* end confdefs.h. */
25339 #include <math.h>
25340 int
25341 main ()
25342 {
25343 modfl(0, 0);
25344 ;
25345 return 0;
25346 }
25347 _ACEOF
25348 if ac_fn_cxx_try_compile "$LINENO"; then :
25349 glibcxx_cv_func_modfl_use=yes
25350 else
25351 glibcxx_cv_func_modfl_use=no
25352 fi
25353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25354 ac_ext=c
25355 ac_cpp='$CPP $CPPFLAGS'
25356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25359
25360
25361 fi
25362
25363 fi
25364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25365 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25366
25367 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25368 for ac_func in modfl
25369 do :
25370 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25371 if test "x$ac_cv_func_modfl" = x""yes; then :
25372 cat >>confdefs.h <<_ACEOF
25373 #define HAVE_MODFL 1
25374 _ACEOF
25375
25376 fi
25377 done
25378
25379 else
25380
25381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25382 $as_echo_n "checking for _modfl declaration... " >&6; }
25383 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25384 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25385 $as_echo_n "(cached) " >&6
25386 else
25387
25388
25389 ac_ext=cpp
25390 ac_cpp='$CXXCPP $CPPFLAGS'
25391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25394
25395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25396 /* end confdefs.h. */
25397 #include <math.h>
25398 int
25399 main ()
25400 {
25401 _modfl(0, 0);
25402 ;
25403 return 0;
25404 }
25405 _ACEOF
25406 if ac_fn_cxx_try_compile "$LINENO"; then :
25407 glibcxx_cv_func__modfl_use=yes
25408 else
25409 glibcxx_cv_func__modfl_use=no
25410 fi
25411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25412 ac_ext=c
25413 ac_cpp='$CPP $CPPFLAGS'
25414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25417
25418
25419 fi
25420
25421 fi
25422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25423 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25424
25425 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25426 for ac_func in _modfl
25427 do :
25428 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25429 if test "x$ac_cv_func__modfl" = x""yes; then :
25430 cat >>confdefs.h <<_ACEOF
25431 #define HAVE__MODFL 1
25432 _ACEOF
25433
25434 fi
25435 done
25436
25437 fi
25438 fi
25439
25440
25441
25442
25443
25444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25445 $as_echo_n "checking for powl declaration... " >&6; }
25446 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25447 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25448 $as_echo_n "(cached) " >&6
25449 else
25450
25451
25452 ac_ext=cpp
25453 ac_cpp='$CXXCPP $CPPFLAGS'
25454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25457
25458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25459 /* end confdefs.h. */
25460 #include <math.h>
25461 int
25462 main ()
25463 {
25464 powl(0, 0);
25465 ;
25466 return 0;
25467 }
25468 _ACEOF
25469 if ac_fn_cxx_try_compile "$LINENO"; then :
25470 glibcxx_cv_func_powl_use=yes
25471 else
25472 glibcxx_cv_func_powl_use=no
25473 fi
25474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25475 ac_ext=c
25476 ac_cpp='$CPP $CPPFLAGS'
25477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25480
25481
25482 fi
25483
25484 fi
25485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25486 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25487
25488 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25489 for ac_func in powl
25490 do :
25491 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25492 if test "x$ac_cv_func_powl" = x""yes; then :
25493 cat >>confdefs.h <<_ACEOF
25494 #define HAVE_POWL 1
25495 _ACEOF
25496
25497 fi
25498 done
25499
25500 else
25501
25502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25503 $as_echo_n "checking for _powl declaration... " >&6; }
25504 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25505 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25506 $as_echo_n "(cached) " >&6
25507 else
25508
25509
25510 ac_ext=cpp
25511 ac_cpp='$CXXCPP $CPPFLAGS'
25512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25515
25516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25517 /* end confdefs.h. */
25518 #include <math.h>
25519 int
25520 main ()
25521 {
25522 _powl(0, 0);
25523 ;
25524 return 0;
25525 }
25526 _ACEOF
25527 if ac_fn_cxx_try_compile "$LINENO"; then :
25528 glibcxx_cv_func__powl_use=yes
25529 else
25530 glibcxx_cv_func__powl_use=no
25531 fi
25532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25533 ac_ext=c
25534 ac_cpp='$CPP $CPPFLAGS'
25535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25538
25539
25540 fi
25541
25542 fi
25543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25544 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25545
25546 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25547 for ac_func in _powl
25548 do :
25549 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25550 if test "x$ac_cv_func__powl" = x""yes; then :
25551 cat >>confdefs.h <<_ACEOF
25552 #define HAVE__POWL 1
25553 _ACEOF
25554
25555 fi
25556 done
25557
25558 fi
25559 fi
25560
25561
25562
25563
25564
25565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25566 $as_echo_n "checking for sqrtl declaration... " >&6; }
25567 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25568 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25569 $as_echo_n "(cached) " >&6
25570 else
25571
25572
25573 ac_ext=cpp
25574 ac_cpp='$CXXCPP $CPPFLAGS'
25575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25578
25579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25580 /* end confdefs.h. */
25581 #include <math.h>
25582 #ifdef HAVE_IEEEFP_H
25583 #include <ieeefp.h>
25584 #endif
25585
25586 int
25587 main ()
25588 {
25589 sqrtl(0);
25590 ;
25591 return 0;
25592 }
25593 _ACEOF
25594 if ac_fn_cxx_try_compile "$LINENO"; then :
25595 glibcxx_cv_func_sqrtl_use=yes
25596 else
25597 glibcxx_cv_func_sqrtl_use=no
25598 fi
25599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25600 ac_ext=c
25601 ac_cpp='$CPP $CPPFLAGS'
25602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25605
25606
25607 fi
25608
25609 fi
25610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25611 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25612
25613 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25614 for ac_func in sqrtl
25615 do :
25616 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25617 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25618 cat >>confdefs.h <<_ACEOF
25619 #define HAVE_SQRTL 1
25620 _ACEOF
25621
25622 fi
25623 done
25624
25625 else
25626
25627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25628 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25629 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25630 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25631 $as_echo_n "(cached) " >&6
25632 else
25633
25634
25635 ac_ext=cpp
25636 ac_cpp='$CXXCPP $CPPFLAGS'
25637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25640
25641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25642 /* end confdefs.h. */
25643 #include <math.h>
25644 #ifdef HAVE_IEEEFP_H
25645 #include <ieeefp.h>
25646 #endif
25647
25648 int
25649 main ()
25650 {
25651 _sqrtl(0);
25652 ;
25653 return 0;
25654 }
25655 _ACEOF
25656 if ac_fn_cxx_try_compile "$LINENO"; then :
25657 glibcxx_cv_func__sqrtl_use=yes
25658 else
25659 glibcxx_cv_func__sqrtl_use=no
25660 fi
25661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25662 ac_ext=c
25663 ac_cpp='$CPP $CPPFLAGS'
25664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25667
25668
25669 fi
25670
25671 fi
25672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25673 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25674
25675 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25676 for ac_func in _sqrtl
25677 do :
25678 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25679 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25680 cat >>confdefs.h <<_ACEOF
25681 #define HAVE__SQRTL 1
25682 _ACEOF
25683
25684 fi
25685 done
25686
25687 fi
25688 fi
25689
25690
25691
25692
25693
25694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25695 $as_echo_n "checking for sincosl declaration... " >&6; }
25696 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25697 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25698 $as_echo_n "(cached) " >&6
25699 else
25700
25701
25702 ac_ext=cpp
25703 ac_cpp='$CXXCPP $CPPFLAGS'
25704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25707
25708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25709 /* end confdefs.h. */
25710 #include <math.h>
25711 int
25712 main ()
25713 {
25714 sincosl(0, 0, 0);
25715 ;
25716 return 0;
25717 }
25718 _ACEOF
25719 if ac_fn_cxx_try_compile "$LINENO"; then :
25720 glibcxx_cv_func_sincosl_use=yes
25721 else
25722 glibcxx_cv_func_sincosl_use=no
25723 fi
25724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25725 ac_ext=c
25726 ac_cpp='$CPP $CPPFLAGS'
25727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25730
25731
25732 fi
25733
25734 fi
25735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25736 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25737
25738 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25739 for ac_func in sincosl
25740 do :
25741 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25742 if test "x$ac_cv_func_sincosl" = x""yes; then :
25743 cat >>confdefs.h <<_ACEOF
25744 #define HAVE_SINCOSL 1
25745 _ACEOF
25746
25747 fi
25748 done
25749
25750 else
25751
25752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25753 $as_echo_n "checking for _sincosl declaration... " >&6; }
25754 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25755 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25756 $as_echo_n "(cached) " >&6
25757 else
25758
25759
25760 ac_ext=cpp
25761 ac_cpp='$CXXCPP $CPPFLAGS'
25762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25765
25766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25767 /* end confdefs.h. */
25768 #include <math.h>
25769 int
25770 main ()
25771 {
25772 _sincosl(0, 0, 0);
25773 ;
25774 return 0;
25775 }
25776 _ACEOF
25777 if ac_fn_cxx_try_compile "$LINENO"; then :
25778 glibcxx_cv_func__sincosl_use=yes
25779 else
25780 glibcxx_cv_func__sincosl_use=no
25781 fi
25782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25783 ac_ext=c
25784 ac_cpp='$CPP $CPPFLAGS'
25785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25788
25789
25790 fi
25791
25792 fi
25793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25794 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25795
25796 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25797 for ac_func in _sincosl
25798 do :
25799 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25800 if test "x$ac_cv_func__sincosl" = x""yes; then :
25801 cat >>confdefs.h <<_ACEOF
25802 #define HAVE__SINCOSL 1
25803 _ACEOF
25804
25805 fi
25806 done
25807
25808 fi
25809 fi
25810
25811
25812
25813
25814
25815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25816 $as_echo_n "checking for finitel declaration... " >&6; }
25817 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25818 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25819 $as_echo_n "(cached) " >&6
25820 else
25821
25822
25823 ac_ext=cpp
25824 ac_cpp='$CXXCPP $CPPFLAGS'
25825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25828
25829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25830 /* end confdefs.h. */
25831 #include <math.h>
25832 #ifdef HAVE_IEEEFP_H
25833 #include <ieeefp.h>
25834 #endif
25835
25836 int
25837 main ()
25838 {
25839 finitel(0);
25840 ;
25841 return 0;
25842 }
25843 _ACEOF
25844 if ac_fn_cxx_try_compile "$LINENO"; then :
25845 glibcxx_cv_func_finitel_use=yes
25846 else
25847 glibcxx_cv_func_finitel_use=no
25848 fi
25849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25850 ac_ext=c
25851 ac_cpp='$CPP $CPPFLAGS'
25852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25855
25856
25857 fi
25858
25859 fi
25860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25861 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25862
25863 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25864 for ac_func in finitel
25865 do :
25866 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25867 if test "x$ac_cv_func_finitel" = x""yes; then :
25868 cat >>confdefs.h <<_ACEOF
25869 #define HAVE_FINITEL 1
25870 _ACEOF
25871
25872 fi
25873 done
25874
25875 else
25876
25877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25878 $as_echo_n "checking for _finitel declaration... " >&6; }
25879 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25880 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25881 $as_echo_n "(cached) " >&6
25882 else
25883
25884
25885 ac_ext=cpp
25886 ac_cpp='$CXXCPP $CPPFLAGS'
25887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25890
25891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25892 /* end confdefs.h. */
25893 #include <math.h>
25894 #ifdef HAVE_IEEEFP_H
25895 #include <ieeefp.h>
25896 #endif
25897
25898 int
25899 main ()
25900 {
25901 _finitel(0);
25902 ;
25903 return 0;
25904 }
25905 _ACEOF
25906 if ac_fn_cxx_try_compile "$LINENO"; then :
25907 glibcxx_cv_func__finitel_use=yes
25908 else
25909 glibcxx_cv_func__finitel_use=no
25910 fi
25911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25912 ac_ext=c
25913 ac_cpp='$CPP $CPPFLAGS'
25914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25917
25918
25919 fi
25920
25921 fi
25922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25923 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25924
25925 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25926 for ac_func in _finitel
25927 do :
25928 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25929 if test "x$ac_cv_func__finitel" = x""yes; then :
25930 cat >>confdefs.h <<_ACEOF
25931 #define HAVE__FINITEL 1
25932 _ACEOF
25933
25934 fi
25935 done
25936
25937 fi
25938 fi
25939
25940
25941
25942
25943 LIBS="$ac_save_LIBS"
25944 CXXFLAGS="$ac_save_CXXFLAGS"
25945
25946
25947 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25948 ac_save_CXXFLAGS="$CXXFLAGS"
25949 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25950
25951
25952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25953 $as_echo_n "checking for strtold declaration... " >&6; }
25954 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25955 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
25956 $as_echo_n "(cached) " >&6
25957 else
25958
25959
25960 ac_ext=cpp
25961 ac_cpp='$CXXCPP $CPPFLAGS'
25962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25965
25966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25967 /* end confdefs.h. */
25968 #include <stdlib.h>
25969 int
25970 main ()
25971 {
25972 strtold(0, 0);
25973 ;
25974 return 0;
25975 }
25976 _ACEOF
25977 if ac_fn_cxx_try_compile "$LINENO"; then :
25978 glibcxx_cv_func_strtold_use=yes
25979 else
25980 glibcxx_cv_func_strtold_use=no
25981 fi
25982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25983 ac_ext=c
25984 ac_cpp='$CPP $CPPFLAGS'
25985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25988
25989
25990 fi
25991
25992 fi
25993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25994 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25995 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25996 for ac_func in strtold
25997 do :
25998 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25999 if test "x$ac_cv_func_strtold" = x""yes; then :
26000 cat >>confdefs.h <<_ACEOF
26001 #define HAVE_STRTOLD 1
26002 _ACEOF
26003
26004 fi
26005 done
26006
26007 fi
26008
26009
26010
26011
26012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26013 $as_echo_n "checking for strtof declaration... " >&6; }
26014 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26015 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26016 $as_echo_n "(cached) " >&6
26017 else
26018
26019
26020 ac_ext=cpp
26021 ac_cpp='$CXXCPP $CPPFLAGS'
26022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26025
26026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26027 /* end confdefs.h. */
26028 #include <stdlib.h>
26029 int
26030 main ()
26031 {
26032 strtof(0, 0);
26033 ;
26034 return 0;
26035 }
26036 _ACEOF
26037 if ac_fn_cxx_try_compile "$LINENO"; then :
26038 glibcxx_cv_func_strtof_use=yes
26039 else
26040 glibcxx_cv_func_strtof_use=no
26041 fi
26042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26043 ac_ext=c
26044 ac_cpp='$CPP $CPPFLAGS'
26045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26048
26049
26050 fi
26051
26052 fi
26053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26054 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26055 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26056 for ac_func in strtof
26057 do :
26058 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26059 if test "x$ac_cv_func_strtof" = x""yes; then :
26060 cat >>confdefs.h <<_ACEOF
26061 #define HAVE_STRTOF 1
26062 _ACEOF
26063
26064 fi
26065 done
26066
26067 fi
26068
26069
26070
26071
26072 CXXFLAGS="$ac_save_CXXFLAGS"
26073
26074
26075 # For /dev/random and /dev/urandom for TR1.
26076
26077
26078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26079 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26080 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26081 $as_echo_n "(cached) " >&6
26082 else
26083
26084 if test -r /dev/random && test -r /dev/urandom; then
26085 glibcxx_cv_random_tr1=yes;
26086 else
26087 glibcxx_cv_random_tr1=no;
26088 fi
26089
26090 fi
26091
26092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26093 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26094
26095 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26096
26097 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26098
26099 fi
26100
26101
26102
26103 # For TLS support.
26104
26105
26106 # Check whether --enable-tls was given.
26107 if test "${enable_tls+set}" = set; then :
26108 enableval=$enable_tls;
26109 case "$enableval" in
26110 yes|no) ;;
26111 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26112 esac
26113
26114 else
26115 enable_tls=yes
26116 fi
26117
26118
26119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26120 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26121 if test "${gcc_cv_have_tls+set}" = set; then :
26122 $as_echo_n "(cached) " >&6
26123 else
26124
26125 if test "$cross_compiling" = yes; then :
26126 if test x$gcc_no_link = xyes; then
26127 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26128 fi
26129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26130 /* end confdefs.h. */
26131 __thread int a; int b; int main() { return a = b; }
26132 _ACEOF
26133 if ac_fn_c_try_link "$LINENO"; then :
26134 chktls_save_LDFLAGS="$LDFLAGS"
26135 case $host in
26136 *-*-linux*)
26137 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26138 ;;
26139 esac
26140 chktls_save_CFLAGS="$CFLAGS"
26141 CFLAGS="-fPIC $CFLAGS"
26142 if test x$gcc_no_link = xyes; then
26143 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26144 fi
26145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26146 /* end confdefs.h. */
26147 int f() { return 0; }
26148 _ACEOF
26149 if ac_fn_c_try_link "$LINENO"; then :
26150 if test x$gcc_no_link = xyes; then
26151 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26152 fi
26153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26154 /* end confdefs.h. */
26155 __thread int a; int b; int f() { return a = b; }
26156 _ACEOF
26157 if ac_fn_c_try_link "$LINENO"; then :
26158 gcc_cv_have_tls=yes
26159 else
26160 gcc_cv_have_tls=no
26161 fi
26162 rm -f core conftest.err conftest.$ac_objext \
26163 conftest$ac_exeext conftest.$ac_ext
26164 else
26165 gcc_cv_have_tls=yes
26166 fi
26167 rm -f core conftest.err conftest.$ac_objext \
26168 conftest$ac_exeext conftest.$ac_ext
26169 CFLAGS="$chktls_save_CFLAGS"
26170 LDFLAGS="$chktls_save_LDFLAGS"
26171 else
26172 gcc_cv_have_tls=no
26173 fi
26174 rm -f core conftest.err conftest.$ac_objext \
26175 conftest$ac_exeext conftest.$ac_ext
26176
26177
26178 else
26179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26180 /* end confdefs.h. */
26181 __thread int a; int b; int main() { return a = b; }
26182 _ACEOF
26183 if ac_fn_c_try_run "$LINENO"; then :
26184 chktls_save_LDFLAGS="$LDFLAGS"
26185 LDFLAGS="-static $LDFLAGS"
26186 if test x$gcc_no_link = xyes; then
26187 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26188 fi
26189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26190 /* end confdefs.h. */
26191 int main() { return 0; }
26192 _ACEOF
26193 if ac_fn_c_try_link "$LINENO"; then :
26194 if test "$cross_compiling" = yes; then :
26195 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26197 as_fn_error "cannot run test program while cross compiling
26198 See \`config.log' for more details." "$LINENO" 5; }
26199 else
26200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26201 /* end confdefs.h. */
26202 __thread int a; int b; int main() { return a = b; }
26203 _ACEOF
26204 if ac_fn_c_try_run "$LINENO"; then :
26205 gcc_cv_have_tls=yes
26206 else
26207 gcc_cv_have_tls=no
26208 fi
26209 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26210 conftest.$ac_objext conftest.beam conftest.$ac_ext
26211 fi
26212
26213 else
26214 gcc_cv_have_tls=yes
26215 fi
26216 rm -f core conftest.err conftest.$ac_objext \
26217 conftest$ac_exeext conftest.$ac_ext
26218 LDFLAGS="$chktls_save_LDFLAGS"
26219 if test $gcc_cv_have_tls = yes; then
26220 chktls_save_CFLAGS="$CFLAGS"
26221 thread_CFLAGS=failed
26222 for flag in '' '-pthread' '-lpthread'; do
26223 CFLAGS="$flag $chktls_save_CFLAGS"
26224 if test x$gcc_no_link = xyes; then
26225 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26226 fi
26227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26228 /* end confdefs.h. */
26229 #include <pthread.h>
26230 void *g(void *d) { return NULL; }
26231 int
26232 main ()
26233 {
26234 pthread_t t; pthread_create(&t,NULL,g,NULL);
26235 ;
26236 return 0;
26237 }
26238 _ACEOF
26239 if ac_fn_c_try_link "$LINENO"; then :
26240 thread_CFLAGS="$flag"
26241 fi
26242 rm -f core conftest.err conftest.$ac_objext \
26243 conftest$ac_exeext conftest.$ac_ext
26244 if test "X$thread_CFLAGS" != Xfailed; then
26245 break
26246 fi
26247 done
26248 CFLAGS="$chktls_save_CFLAGS"
26249 if test "X$thread_CFLAGS" != Xfailed; then
26250 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26251 if test "$cross_compiling" = yes; then :
26252 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26254 as_fn_error "cannot run test program while cross compiling
26255 See \`config.log' for more details." "$LINENO" 5; }
26256 else
26257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26258 /* end confdefs.h. */
26259 #include <pthread.h>
26260 __thread int a;
26261 static int *volatile a_in_other_thread;
26262 static void *
26263 thread_func (void *arg)
26264 {
26265 a_in_other_thread = &a;
26266 return (void *)0;
26267 }
26268 int
26269 main ()
26270 {
26271 pthread_t thread;
26272 void *thread_retval;
26273 int *volatile a_in_main_thread;
26274 a_in_main_thread = &a;
26275 if (pthread_create (&thread, (pthread_attr_t *)0,
26276 thread_func, (void *)0))
26277 return 0;
26278 if (pthread_join (thread, &thread_retval))
26279 return 0;
26280 return (a_in_other_thread == a_in_main_thread);
26281 ;
26282 return 0;
26283 }
26284 _ACEOF
26285 if ac_fn_c_try_run "$LINENO"; then :
26286 gcc_cv_have_tls=yes
26287 else
26288 gcc_cv_have_tls=no
26289 fi
26290 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26291 conftest.$ac_objext conftest.beam conftest.$ac_ext
26292 fi
26293
26294 CFLAGS="$chktls_save_CFLAGS"
26295 fi
26296 fi
26297 else
26298 gcc_cv_have_tls=no
26299 fi
26300 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26301 conftest.$ac_objext conftest.beam conftest.$ac_ext
26302 fi
26303
26304 fi
26305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26306 $as_echo "$gcc_cv_have_tls" >&6; }
26307 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26308
26309 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26310
26311 fi
26312
26313 # For iconv support.
26314
26315 if test "X$prefix" = "XNONE"; then
26316 acl_final_prefix="$ac_default_prefix"
26317 else
26318 acl_final_prefix="$prefix"
26319 fi
26320 if test "X$exec_prefix" = "XNONE"; then
26321 acl_final_exec_prefix='${prefix}'
26322 else
26323 acl_final_exec_prefix="$exec_prefix"
26324 fi
26325 acl_save_prefix="$prefix"
26326 prefix="$acl_final_prefix"
26327 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26328 prefix="$acl_save_prefix"
26329
26330
26331 # Check whether --with-gnu-ld was given.
26332 if test "${with_gnu_ld+set}" = set; then :
26333 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26334 else
26335 with_gnu_ld=no
26336 fi
26337
26338 # Prepare PATH_SEPARATOR.
26339 # The user is always right.
26340 if test "${PATH_SEPARATOR+set}" != set; then
26341 echo "#! /bin/sh" >conf$$.sh
26342 echo "exit 0" >>conf$$.sh
26343 chmod +x conf$$.sh
26344 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26345 PATH_SEPARATOR=';'
26346 else
26347 PATH_SEPARATOR=:
26348 fi
26349 rm -f conf$$.sh
26350 fi
26351 ac_prog=ld
26352 if test "$GCC" = yes; then
26353 # Check if gcc -print-prog-name=ld gives a path.
26354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26355 $as_echo_n "checking for ld used by GCC... " >&6; }
26356 case $host in
26357 *-*-mingw*)
26358 # gcc leaves a trailing carriage return which upsets mingw
26359 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26360 *)
26361 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26362 esac
26363 case $ac_prog in
26364 # Accept absolute paths.
26365 [\\/]* | [A-Za-z]:[\\/]*)
26366 re_direlt='/[^/][^/]*/\.\./'
26367 # Canonicalize the path of ld
26368 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26369 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26370 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26371 done
26372 test -z "$LD" && LD="$ac_prog"
26373 ;;
26374 "")
26375 # If it fails, then pretend we aren't using GCC.
26376 ac_prog=ld
26377 ;;
26378 *)
26379 # If it is relative, then search for the first ld in PATH.
26380 with_gnu_ld=unknown
26381 ;;
26382 esac
26383 elif test "$with_gnu_ld" = yes; then
26384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26385 $as_echo_n "checking for GNU ld... " >&6; }
26386 else
26387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26388 $as_echo_n "checking for non-GNU ld... " >&6; }
26389 fi
26390 if test "${acl_cv_path_LD+set}" = set; then :
26391 $as_echo_n "(cached) " >&6
26392 else
26393 if test -z "$LD"; then
26394 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26395 for ac_dir in $PATH; do
26396 test -z "$ac_dir" && ac_dir=.
26397 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26398 acl_cv_path_LD="$ac_dir/$ac_prog"
26399 # Check to see if the program is GNU ld. I'd rather use --version,
26400 # but apparently some GNU ld's only accept -v.
26401 # Break only if it was the GNU/non-GNU ld that we prefer.
26402 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26403 test "$with_gnu_ld" != no && break
26404 else
26405 test "$with_gnu_ld" != yes && break
26406 fi
26407 fi
26408 done
26409 IFS="$ac_save_ifs"
26410 else
26411 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26412 fi
26413 fi
26414
26415 LD="$acl_cv_path_LD"
26416 if test -n "$LD"; then
26417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26418 $as_echo "$LD" >&6; }
26419 else
26420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26421 $as_echo "no" >&6; }
26422 fi
26423 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26425 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26426 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26427 $as_echo_n "(cached) " >&6
26428 else
26429 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26430 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26431 acl_cv_prog_gnu_ld=yes
26432 else
26433 acl_cv_prog_gnu_ld=no
26434 fi
26435 fi
26436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26437 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26438 with_gnu_ld=$acl_cv_prog_gnu_ld
26439
26440
26441
26442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26443 $as_echo_n "checking for shared library run path origin... " >&6; }
26444 if test "${acl_cv_rpath+set}" = set; then :
26445 $as_echo_n "(cached) " >&6
26446 else
26447
26448 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26449 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26450 . ./conftest.sh
26451 rm -f ./conftest.sh
26452 acl_cv_rpath=done
26453
26454 fi
26455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26456 $as_echo "$acl_cv_rpath" >&6; }
26457 wl="$acl_cv_wl"
26458 libext="$acl_cv_libext"
26459 shlibext="$acl_cv_shlibext"
26460 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26461 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26462 hardcode_direct="$acl_cv_hardcode_direct"
26463 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26464 # Check whether --enable-rpath was given.
26465 if test "${enable_rpath+set}" = set; then :
26466 enableval=$enable_rpath; :
26467 else
26468 enable_rpath=yes
26469 fi
26470
26471
26472
26473
26474
26475
26476
26477
26478 use_additional=yes
26479
26480 acl_save_prefix="$prefix"
26481 prefix="$acl_final_prefix"
26482 acl_save_exec_prefix="$exec_prefix"
26483 exec_prefix="$acl_final_exec_prefix"
26484
26485 eval additional_includedir=\"$includedir\"
26486 eval additional_libdir=\"$libdir\"
26487
26488 exec_prefix="$acl_save_exec_prefix"
26489 prefix="$acl_save_prefix"
26490
26491
26492 # Check whether --with-libiconv-prefix was given.
26493 if test "${with_libiconv_prefix+set}" = set; then :
26494 withval=$with_libiconv_prefix;
26495 if test "X$withval" = "Xno"; then
26496 use_additional=no
26497 else
26498 if test "X$withval" = "X"; then
26499
26500 acl_save_prefix="$prefix"
26501 prefix="$acl_final_prefix"
26502 acl_save_exec_prefix="$exec_prefix"
26503 exec_prefix="$acl_final_exec_prefix"
26504
26505 eval additional_includedir=\"$includedir\"
26506 eval additional_libdir=\"$libdir\"
26507
26508 exec_prefix="$acl_save_exec_prefix"
26509 prefix="$acl_save_prefix"
26510
26511 else
26512 additional_includedir="$withval/include"
26513 additional_libdir="$withval/lib"
26514 fi
26515 fi
26516
26517 fi
26518
26519 LIBICONV=
26520 LTLIBICONV=
26521 INCICONV=
26522 rpathdirs=
26523 ltrpathdirs=
26524 names_already_handled=
26525 names_next_round='iconv '
26526 while test -n "$names_next_round"; do
26527 names_this_round="$names_next_round"
26528 names_next_round=
26529 for name in $names_this_round; do
26530 already_handled=
26531 for n in $names_already_handled; do
26532 if test "$n" = "$name"; then
26533 already_handled=yes
26534 break
26535 fi
26536 done
26537 if test -z "$already_handled"; then
26538 names_already_handled="$names_already_handled $name"
26539 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26540 eval value=\"\$HAVE_LIB$uppername\"
26541 if test -n "$value"; then
26542 if test "$value" = yes; then
26543 eval value=\"\$LIB$uppername\"
26544 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26545 eval value=\"\$LTLIB$uppername\"
26546 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26547 else
26548 :
26549 fi
26550 else
26551 found_dir=
26552 found_la=
26553 found_so=
26554 found_a=
26555 if test $use_additional = yes; then
26556 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26557 found_dir="$additional_libdir"
26558 found_so="$additional_libdir/lib$name.$shlibext"
26559 if test -f "$additional_libdir/lib$name.la"; then
26560 found_la="$additional_libdir/lib$name.la"
26561 fi
26562 else
26563 if test -f "$additional_libdir/lib$name.$libext"; then
26564 found_dir="$additional_libdir"
26565 found_a="$additional_libdir/lib$name.$libext"
26566 if test -f "$additional_libdir/lib$name.la"; then
26567 found_la="$additional_libdir/lib$name.la"
26568 fi
26569 fi
26570 fi
26571 fi
26572 if test "X$found_dir" = "X"; then
26573 for x in $LDFLAGS $LTLIBICONV; do
26574
26575 acl_save_prefix="$prefix"
26576 prefix="$acl_final_prefix"
26577 acl_save_exec_prefix="$exec_prefix"
26578 exec_prefix="$acl_final_exec_prefix"
26579 eval x=\"$x\"
26580 exec_prefix="$acl_save_exec_prefix"
26581 prefix="$acl_save_prefix"
26582
26583 case "$x" in
26584 -L*)
26585 dir=`echo "X$x" | sed -e 's/^X-L//'`
26586 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26587 found_dir="$dir"
26588 found_so="$dir/lib$name.$shlibext"
26589 if test -f "$dir/lib$name.la"; then
26590 found_la="$dir/lib$name.la"
26591 fi
26592 else
26593 if test -f "$dir/lib$name.$libext"; then
26594 found_dir="$dir"
26595 found_a="$dir/lib$name.$libext"
26596 if test -f "$dir/lib$name.la"; then
26597 found_la="$dir/lib$name.la"
26598 fi
26599 fi
26600 fi
26601 ;;
26602 esac
26603 if test "X$found_dir" != "X"; then
26604 break
26605 fi
26606 done
26607 fi
26608 if test "X$found_dir" != "X"; then
26609 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26610 if test "X$found_so" != "X"; then
26611 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26612 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26613 else
26614 haveit=
26615 for x in $ltrpathdirs; do
26616 if test "X$x" = "X$found_dir"; then
26617 haveit=yes
26618 break
26619 fi
26620 done
26621 if test -z "$haveit"; then
26622 ltrpathdirs="$ltrpathdirs $found_dir"
26623 fi
26624 if test "$hardcode_direct" = yes; then
26625 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26626 else
26627 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26628 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26629 haveit=
26630 for x in $rpathdirs; do
26631 if test "X$x" = "X$found_dir"; then
26632 haveit=yes
26633 break
26634 fi
26635 done
26636 if test -z "$haveit"; then
26637 rpathdirs="$rpathdirs $found_dir"
26638 fi
26639 else
26640 haveit=
26641 for x in $LDFLAGS $LIBICONV; do
26642
26643 acl_save_prefix="$prefix"
26644 prefix="$acl_final_prefix"
26645 acl_save_exec_prefix="$exec_prefix"
26646 exec_prefix="$acl_final_exec_prefix"
26647 eval x=\"$x\"
26648 exec_prefix="$acl_save_exec_prefix"
26649 prefix="$acl_save_prefix"
26650
26651 if test "X$x" = "X-L$found_dir"; then
26652 haveit=yes
26653 break
26654 fi
26655 done
26656 if test -z "$haveit"; then
26657 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26658 fi
26659 if test "$hardcode_minus_L" != no; then
26660 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26661 else
26662 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26663 fi
26664 fi
26665 fi
26666 fi
26667 else
26668 if test "X$found_a" != "X"; then
26669 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26670 else
26671 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26672 fi
26673 fi
26674 additional_includedir=
26675 case "$found_dir" in
26676 */lib | */lib/)
26677 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26678 additional_includedir="$basedir/include"
26679 ;;
26680 esac
26681 if test "X$additional_includedir" != "X"; then
26682 if test "X$additional_includedir" != "X/usr/include"; then
26683 haveit=
26684 if test "X$additional_includedir" = "X/usr/local/include"; then
26685 if test -n "$GCC"; then
26686 case $host_os in
26687 linux*) haveit=yes;;
26688 esac
26689 fi
26690 fi
26691 if test -z "$haveit"; then
26692 for x in $CPPFLAGS $INCICONV; do
26693
26694 acl_save_prefix="$prefix"
26695 prefix="$acl_final_prefix"
26696 acl_save_exec_prefix="$exec_prefix"
26697 exec_prefix="$acl_final_exec_prefix"
26698 eval x=\"$x\"
26699 exec_prefix="$acl_save_exec_prefix"
26700 prefix="$acl_save_prefix"
26701
26702 if test "X$x" = "X-I$additional_includedir"; then
26703 haveit=yes
26704 break
26705 fi
26706 done
26707 if test -z "$haveit"; then
26708 if test -d "$additional_includedir"; then
26709 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26710 fi
26711 fi
26712 fi
26713 fi
26714 fi
26715 if test -n "$found_la"; then
26716 save_libdir="$libdir"
26717 case "$found_la" in
26718 */* | *\\*) . "$found_la" ;;
26719 *) . "./$found_la" ;;
26720 esac
26721 libdir="$save_libdir"
26722 for dep in $dependency_libs; do
26723 case "$dep" in
26724 -L*)
26725 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26726 if test "X$additional_libdir" != "X/usr/lib"; then
26727 haveit=
26728 if test "X$additional_libdir" = "X/usr/local/lib"; then
26729 if test -n "$GCC"; then
26730 case $host_os in
26731 linux*) haveit=yes;;
26732 esac
26733 fi
26734 fi
26735 if test -z "$haveit"; then
26736 haveit=
26737 for x in $LDFLAGS $LIBICONV; do
26738
26739 acl_save_prefix="$prefix"
26740 prefix="$acl_final_prefix"
26741 acl_save_exec_prefix="$exec_prefix"
26742 exec_prefix="$acl_final_exec_prefix"
26743 eval x=\"$x\"
26744 exec_prefix="$acl_save_exec_prefix"
26745 prefix="$acl_save_prefix"
26746
26747 if test "X$x" = "X-L$additional_libdir"; then
26748 haveit=yes
26749 break
26750 fi
26751 done
26752 if test -z "$haveit"; then
26753 if test -d "$additional_libdir"; then
26754 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26755 fi
26756 fi
26757 haveit=
26758 for x in $LDFLAGS $LTLIBICONV; do
26759
26760 acl_save_prefix="$prefix"
26761 prefix="$acl_final_prefix"
26762 acl_save_exec_prefix="$exec_prefix"
26763 exec_prefix="$acl_final_exec_prefix"
26764 eval x=\"$x\"
26765 exec_prefix="$acl_save_exec_prefix"
26766 prefix="$acl_save_prefix"
26767
26768 if test "X$x" = "X-L$additional_libdir"; then
26769 haveit=yes
26770 break
26771 fi
26772 done
26773 if test -z "$haveit"; then
26774 if test -d "$additional_libdir"; then
26775 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26776 fi
26777 fi
26778 fi
26779 fi
26780 ;;
26781 -R*)
26782 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26783 if test "$enable_rpath" != no; then
26784 haveit=
26785 for x in $rpathdirs; do
26786 if test "X$x" = "X$dir"; then
26787 haveit=yes
26788 break
26789 fi
26790 done
26791 if test -z "$haveit"; then
26792 rpathdirs="$rpathdirs $dir"
26793 fi
26794 haveit=
26795 for x in $ltrpathdirs; do
26796 if test "X$x" = "X$dir"; then
26797 haveit=yes
26798 break
26799 fi
26800 done
26801 if test -z "$haveit"; then
26802 ltrpathdirs="$ltrpathdirs $dir"
26803 fi
26804 fi
26805 ;;
26806 -l*)
26807 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26808 ;;
26809 *.la)
26810 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26811 ;;
26812 *)
26813 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26814 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26815 ;;
26816 esac
26817 done
26818 fi
26819 else
26820 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26821 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26822 fi
26823 fi
26824 fi
26825 done
26826 done
26827 if test "X$rpathdirs" != "X"; then
26828 if test -n "$hardcode_libdir_separator"; then
26829 alldirs=
26830 for found_dir in $rpathdirs; do
26831 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26832 done
26833 acl_save_libdir="$libdir"
26834 libdir="$alldirs"
26835 eval flag=\"$hardcode_libdir_flag_spec\"
26836 libdir="$acl_save_libdir"
26837 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26838 else
26839 for found_dir in $rpathdirs; do
26840 acl_save_libdir="$libdir"
26841 libdir="$found_dir"
26842 eval flag=\"$hardcode_libdir_flag_spec\"
26843 libdir="$acl_save_libdir"
26844 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26845 done
26846 fi
26847 fi
26848 if test "X$ltrpathdirs" != "X"; then
26849 for found_dir in $ltrpathdirs; do
26850 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26851 done
26852 fi
26853
26854
26855
26856
26857
26858
26859
26860 am_save_CPPFLAGS="$CPPFLAGS"
26861
26862 for element in $INCICONV; do
26863 haveit=
26864 for x in $CPPFLAGS; do
26865
26866 acl_save_prefix="$prefix"
26867 prefix="$acl_final_prefix"
26868 acl_save_exec_prefix="$exec_prefix"
26869 exec_prefix="$acl_final_exec_prefix"
26870 eval x=\"$x\"
26871 exec_prefix="$acl_save_exec_prefix"
26872 prefix="$acl_save_prefix"
26873
26874 if test "X$x" = "X$element"; then
26875 haveit=yes
26876 break
26877 fi
26878 done
26879 if test -z "$haveit"; then
26880 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26881 fi
26882 done
26883
26884
26885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26886 $as_echo_n "checking for iconv... " >&6; }
26887 if test "${am_cv_func_iconv+set}" = set; then :
26888 $as_echo_n "(cached) " >&6
26889 else
26890
26891 am_cv_func_iconv="no, consider installing GNU libiconv"
26892 am_cv_lib_iconv=no
26893 if test x$gcc_no_link = xyes; then
26894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26895 fi
26896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26897 /* end confdefs.h. */
26898 #include <stdlib.h>
26899 #include <iconv.h>
26900 int
26901 main ()
26902 {
26903 iconv_t cd = iconv_open("","");
26904 iconv(cd,NULL,NULL,NULL,NULL);
26905 iconv_close(cd);
26906 ;
26907 return 0;
26908 }
26909 _ACEOF
26910 if ac_fn_c_try_link "$LINENO"; then :
26911 am_cv_func_iconv=yes
26912 fi
26913 rm -f core conftest.err conftest.$ac_objext \
26914 conftest$ac_exeext conftest.$ac_ext
26915 if test "$am_cv_func_iconv" != yes; then
26916 am_save_LIBS="$LIBS"
26917 LIBS="$LIBS $LIBICONV"
26918 if test x$gcc_no_link = xyes; then
26919 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26920 fi
26921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26922 /* end confdefs.h. */
26923 #include <stdlib.h>
26924 #include <iconv.h>
26925 int
26926 main ()
26927 {
26928 iconv_t cd = iconv_open("","");
26929 iconv(cd,NULL,NULL,NULL,NULL);
26930 iconv_close(cd);
26931 ;
26932 return 0;
26933 }
26934 _ACEOF
26935 if ac_fn_c_try_link "$LINENO"; then :
26936 am_cv_lib_iconv=yes
26937 am_cv_func_iconv=yes
26938 fi
26939 rm -f core conftest.err conftest.$ac_objext \
26940 conftest$ac_exeext conftest.$ac_ext
26941 LIBS="$am_save_LIBS"
26942 fi
26943
26944 fi
26945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26946 $as_echo "$am_cv_func_iconv" >&6; }
26947 if test "$am_cv_func_iconv" = yes; then
26948
26949 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26950
26951 fi
26952 if test "$am_cv_lib_iconv" = yes; then
26953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26954 $as_echo_n "checking how to link with libiconv... " >&6; }
26955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26956 $as_echo "$LIBICONV" >&6; }
26957 else
26958 CPPFLAGS="$am_save_CPPFLAGS"
26959 LIBICONV=
26960 LTLIBICONV=
26961 fi
26962
26963
26964
26965 if test "$am_cv_func_iconv" = yes; then
26966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26967 $as_echo_n "checking for iconv declaration... " >&6; }
26968 if test "${am_cv_proto_iconv+set}" = set; then :
26969 $as_echo_n "(cached) " >&6
26970 else
26971
26972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26973 /* end confdefs.h. */
26974
26975 #include <stdlib.h>
26976 #include <iconv.h>
26977 extern
26978 #ifdef __cplusplus
26979 "C"
26980 #endif
26981 #if defined(__STDC__) || defined(__cplusplus)
26982 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26983 #else
26984 size_t iconv();
26985 #endif
26986
26987 int
26988 main ()
26989 {
26990
26991 ;
26992 return 0;
26993 }
26994 _ACEOF
26995 if ac_fn_c_try_compile "$LINENO"; then :
26996 am_cv_proto_iconv_arg1=""
26997 else
26998 am_cv_proto_iconv_arg1="const"
26999 fi
27000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27001 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);"
27002 fi
27003
27004 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27006 }$am_cv_proto_iconv" >&5
27007 $as_echo "${ac_t:-
27008 }$am_cv_proto_iconv" >&6; }
27009
27010 cat >>confdefs.h <<_ACEOF
27011 #define ICONV_CONST $am_cv_proto_iconv_arg1
27012 _ACEOF
27013
27014 fi
27015
27016
27017 else
27018
27019 # This lets us hard-code the functionality we know we'll have in the cross
27020 # target environment. "Let" is a sugar-coated word placed on an especially
27021 # dull and tedious hack, actually.
27022 #
27023 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27024 # that involve linking, can't be used:
27025 # "cannot open sim-crt0.o"
27026 # "cannot open crt0.o"
27027 # etc. All this is because there currently exists no unified, consistent
27028 # way for top level CC information to be passed down to target directories:
27029 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27030 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27031 # crosses can be removed.
27032
27033 # If Canadian cross, then don't pick up tools from the build directory.
27034 # Used only in GLIBCXX_EXPORT_INCLUDES.
27035 if test -n "$with_cross_host" &&
27036 test x"$build_alias" != x"$with_cross_host" &&
27037 test x"$build" != x"$target";
27038 then
27039 CANADIAN=yes
27040 else
27041 CANADIAN=no
27042 fi
27043
27044 # Construct crosses by hand, eliminating bits that need ld...
27045 # GLIBCXX_CHECK_MATH_SUPPORT
27046
27047 # First, test for "known" system libraries. We may be using newlib even
27048 # on a hosted environment.
27049 if test "x${with_newlib}" = "xyes"; then
27050 os_include_dir="os/newlib"
27051 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27052
27053
27054 # GLIBCXX_CHECK_STDLIB_SUPPORT
27055 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27056
27057
27058 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27059
27060 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27061
27062 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27063
27064 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27065
27066 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27067
27068 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27069
27070 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27071
27072 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27073
27074 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27075
27076 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27077
27078 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27079
27080 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27081
27082 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27083
27084 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27085
27086 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27087
27088 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27089
27090 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27091
27092 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27093
27094 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27095
27096 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27097
27098 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27099
27100 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27101
27102
27103 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27104
27105 else
27106
27107 # Base decisions on target environment.
27108 case "${host}" in
27109 arm*-*-symbianelf*)
27110 # This is a freestanding configuration; there is nothing to do here.
27111 ;;
27112
27113 mips*-sde-elf*)
27114 # These definitions are for the SDE C library rather than newlib.
27115 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27116
27117
27118 # All these tests are for C++; save the language and the compiler flags.
27119 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27120 # found in GLIBCXX_CONFIGURE.
27121
27122 ac_ext=cpp
27123 ac_cpp='$CXXCPP $CPPFLAGS'
27124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27127
27128 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27129 ac_save_CXXFLAGS="$CXXFLAGS"
27130
27131 # Check for maintainer-mode bits.
27132 if test x"$USE_MAINTAINER_MODE" = xno; then
27133 WERROR=''
27134 else
27135 WERROR='-Werror'
27136 fi
27137
27138 # Check for -ffunction-sections -fdata-sections
27139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27140 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27141 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27143 /* end confdefs.h. */
27144 int foo; void bar() { };
27145 int
27146 main ()
27147 {
27148
27149 ;
27150 return 0;
27151 }
27152 _ACEOF
27153 if ac_fn_cxx_try_compile "$LINENO"; then :
27154 ac_fdsections=yes
27155 else
27156 ac_fdsections=no
27157 fi
27158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27159 if test "$ac_test_CXXFLAGS" = set; then
27160 CXXFLAGS="$ac_save_CXXFLAGS"
27161 else
27162 # this is the suspicious part
27163 CXXFLAGS=''
27164 fi
27165 if test x"$ac_fdsections" = x"yes"; then
27166 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27167 fi
27168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27169 $as_echo "$ac_fdsections" >&6; }
27170
27171 ac_ext=c
27172 ac_cpp='$CPP $CPPFLAGS'
27173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27176
27177
27178
27179
27180
27181 # If we're not using GNU ld, then there's no point in even trying these
27182 # tests. Check for that first. We should have already tested for gld
27183 # by now (in libtool), but require it now just to be safe...
27184 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27185 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27186
27187
27188
27189 # The name set by libtool depends on the version of libtool. Shame on us
27190 # for depending on an impl detail, but c'est la vie. Older versions used
27191 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27192 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27193 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27194 # set (hence we're using an older libtool), then set it.
27195 if test x${with_gnu_ld+set} != xset; then
27196 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27197 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27198 with_gnu_ld=no
27199 else
27200 with_gnu_ld=$ac_cv_prog_gnu_ld
27201 fi
27202 fi
27203
27204 # Start by getting the version number. I think the libtool test already
27205 # does some of this, but throws away the result.
27206 glibcxx_ld_is_gold=no
27207 if test x"$with_gnu_ld" = x"yes"; then
27208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27209 $as_echo_n "checking for ld version... " >&6; }
27210
27211 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27212 glibcxx_ld_is_gold=yes
27213 fi
27214 ldver=`$LD --version 2>/dev/null |
27215 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'`
27216
27217 glibcxx_gnu_ld_version=`echo $ldver | \
27218 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27220 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27221 fi
27222
27223 # Set --gc-sections.
27224 glibcxx_have_gc_sections=no
27225 if test "$glibcxx_ld_is_gold" = "yes"; then
27226 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27227 glibcxx_have_gc_sections=yes
27228 fi
27229 else
27230 glibcxx_gcsections_min_ld=21602
27231 if test x"$with_gnu_ld" = x"yes" &&
27232 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27233 glibcxx_have_gc_sections=yes
27234 fi
27235 fi
27236 if test "$glibcxx_have_gc_sections" = "yes"; then
27237 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27238 # NB: This flag only works reliably after 2.16.1. Configure tests
27239 # for this are difficult, so hard wire a value that should work.
27240
27241 ac_test_CFLAGS="${CFLAGS+set}"
27242 ac_save_CFLAGS="$CFLAGS"
27243 CFLAGS='-Wl,--gc-sections'
27244
27245 # Check for -Wl,--gc-sections
27246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27247 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27248 if test x$gcc_no_link = xyes; then
27249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27250 fi
27251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27252 /* end confdefs.h. */
27253 int one(void) { return 1; }
27254 int two(void) { return 2; }
27255
27256 int
27257 main ()
27258 {
27259 two();
27260 ;
27261 return 0;
27262 }
27263 _ACEOF
27264 if ac_fn_c_try_link "$LINENO"; then :
27265 ac_gcsections=yes
27266 else
27267 ac_gcsections=no
27268 fi
27269 rm -f core conftest.err conftest.$ac_objext \
27270 conftest$ac_exeext conftest.$ac_ext
27271 if test "$ac_gcsections" = "yes"; then
27272 rm -f conftest.c
27273 touch conftest.c
27274 if $CC -c conftest.c; then
27275 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27276 grep "Warning: gc-sections option ignored" > /dev/null; then
27277 ac_gcsections=no
27278 fi
27279 fi
27280 rm -f conftest.c conftest.o conftest
27281 fi
27282 if test "$ac_gcsections" = "yes"; then
27283 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27284 fi
27285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27286 $as_echo "$ac_gcsections" >&6; }
27287
27288 if test "$ac_test_CFLAGS" = set; then
27289 CFLAGS="$ac_save_CFLAGS"
27290 else
27291 # this is the suspicious part
27292 CFLAGS=''
27293 fi
27294 fi
27295
27296 # Set -z,relro.
27297 # Note this is only for shared objects.
27298 ac_ld_relro=no
27299 if test x"$with_gnu_ld" = x"yes"; then
27300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27301 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27302 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27303 if test -n "$cxx_z_relo"; then
27304 OPT_LDFLAGS="-Wl,-z,relro"
27305 ac_ld_relro=yes
27306 fi
27307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27308 $as_echo "$ac_ld_relro" >&6; }
27309 fi
27310
27311 # Set linker optimization flags.
27312 if test x"$with_gnu_ld" = x"yes"; then
27313 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27314 fi
27315
27316
27317
27318
27319
27320 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27321 ac_save_CXXFLAGS="$CXXFLAGS"
27322 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27323
27324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27325 $as_echo_n "checking for sin in -lm... " >&6; }
27326 if test "${ac_cv_lib_m_sin+set}" = set; then :
27327 $as_echo_n "(cached) " >&6
27328 else
27329 ac_check_lib_save_LIBS=$LIBS
27330 LIBS="-lm $LIBS"
27331 if test x$gcc_no_link = xyes; then
27332 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27333 fi
27334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27335 /* end confdefs.h. */
27336
27337 /* Override any GCC internal prototype to avoid an error.
27338 Use char because int might match the return type of a GCC
27339 builtin and then its argument prototype would still apply. */
27340 #ifdef __cplusplus
27341 extern "C"
27342 #endif
27343 char sin ();
27344 int
27345 main ()
27346 {
27347 return sin ();
27348 ;
27349 return 0;
27350 }
27351 _ACEOF
27352 if ac_fn_c_try_link "$LINENO"; then :
27353 ac_cv_lib_m_sin=yes
27354 else
27355 ac_cv_lib_m_sin=no
27356 fi
27357 rm -f core conftest.err conftest.$ac_objext \
27358 conftest$ac_exeext conftest.$ac_ext
27359 LIBS=$ac_check_lib_save_LIBS
27360 fi
27361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27362 $as_echo "$ac_cv_lib_m_sin" >&6; }
27363 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27364 libm="-lm"
27365 fi
27366
27367 ac_save_LIBS="$LIBS"
27368 LIBS="$LIBS $libm"
27369
27370
27371
27372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27373 $as_echo_n "checking for isinf declaration... " >&6; }
27374 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27375 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27376 $as_echo_n "(cached) " >&6
27377 else
27378
27379
27380 ac_ext=cpp
27381 ac_cpp='$CXXCPP $CPPFLAGS'
27382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27385
27386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27387 /* end confdefs.h. */
27388 #include <math.h>
27389 #ifdef HAVE_IEEEFP_H
27390 #include <ieeefp.h>
27391 #endif
27392
27393 int
27394 main ()
27395 {
27396 isinf(0);
27397 ;
27398 return 0;
27399 }
27400 _ACEOF
27401 if ac_fn_cxx_try_compile "$LINENO"; then :
27402 glibcxx_cv_func_isinf_use=yes
27403 else
27404 glibcxx_cv_func_isinf_use=no
27405 fi
27406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27407 ac_ext=c
27408 ac_cpp='$CPP $CPPFLAGS'
27409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27412
27413
27414 fi
27415
27416 fi
27417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27418 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27419
27420 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27421 for ac_func in isinf
27422 do :
27423 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27424 if test "x$ac_cv_func_isinf" = x""yes; then :
27425 cat >>confdefs.h <<_ACEOF
27426 #define HAVE_ISINF 1
27427 _ACEOF
27428
27429 fi
27430 done
27431
27432 else
27433
27434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27435 $as_echo_n "checking for _isinf declaration... " >&6; }
27436 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27437 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27438 $as_echo_n "(cached) " >&6
27439 else
27440
27441
27442 ac_ext=cpp
27443 ac_cpp='$CXXCPP $CPPFLAGS'
27444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27447
27448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27449 /* end confdefs.h. */
27450 #include <math.h>
27451 #ifdef HAVE_IEEEFP_H
27452 #include <ieeefp.h>
27453 #endif
27454
27455 int
27456 main ()
27457 {
27458 _isinf(0);
27459 ;
27460 return 0;
27461 }
27462 _ACEOF
27463 if ac_fn_cxx_try_compile "$LINENO"; then :
27464 glibcxx_cv_func__isinf_use=yes
27465 else
27466 glibcxx_cv_func__isinf_use=no
27467 fi
27468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27469 ac_ext=c
27470 ac_cpp='$CPP $CPPFLAGS'
27471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27474
27475
27476 fi
27477
27478 fi
27479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27480 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27481
27482 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27483 for ac_func in _isinf
27484 do :
27485 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27486 if test "x$ac_cv_func__isinf" = x""yes; then :
27487 cat >>confdefs.h <<_ACEOF
27488 #define HAVE__ISINF 1
27489 _ACEOF
27490
27491 fi
27492 done
27493
27494 fi
27495 fi
27496
27497
27498
27499
27500
27501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27502 $as_echo_n "checking for isnan declaration... " >&6; }
27503 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27504 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27505 $as_echo_n "(cached) " >&6
27506 else
27507
27508
27509 ac_ext=cpp
27510 ac_cpp='$CXXCPP $CPPFLAGS'
27511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27514
27515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27516 /* end confdefs.h. */
27517 #include <math.h>
27518 #ifdef HAVE_IEEEFP_H
27519 #include <ieeefp.h>
27520 #endif
27521
27522 int
27523 main ()
27524 {
27525 isnan(0);
27526 ;
27527 return 0;
27528 }
27529 _ACEOF
27530 if ac_fn_cxx_try_compile "$LINENO"; then :
27531 glibcxx_cv_func_isnan_use=yes
27532 else
27533 glibcxx_cv_func_isnan_use=no
27534 fi
27535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27536 ac_ext=c
27537 ac_cpp='$CPP $CPPFLAGS'
27538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27541
27542
27543 fi
27544
27545 fi
27546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27547 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27548
27549 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27550 for ac_func in isnan
27551 do :
27552 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27553 if test "x$ac_cv_func_isnan" = x""yes; then :
27554 cat >>confdefs.h <<_ACEOF
27555 #define HAVE_ISNAN 1
27556 _ACEOF
27557
27558 fi
27559 done
27560
27561 else
27562
27563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27564 $as_echo_n "checking for _isnan declaration... " >&6; }
27565 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27566 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27567 $as_echo_n "(cached) " >&6
27568 else
27569
27570
27571 ac_ext=cpp
27572 ac_cpp='$CXXCPP $CPPFLAGS'
27573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27576
27577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27578 /* end confdefs.h. */
27579 #include <math.h>
27580 #ifdef HAVE_IEEEFP_H
27581 #include <ieeefp.h>
27582 #endif
27583
27584 int
27585 main ()
27586 {
27587 _isnan(0);
27588 ;
27589 return 0;
27590 }
27591 _ACEOF
27592 if ac_fn_cxx_try_compile "$LINENO"; then :
27593 glibcxx_cv_func__isnan_use=yes
27594 else
27595 glibcxx_cv_func__isnan_use=no
27596 fi
27597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27598 ac_ext=c
27599 ac_cpp='$CPP $CPPFLAGS'
27600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27603
27604
27605 fi
27606
27607 fi
27608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27609 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27610
27611 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27612 for ac_func in _isnan
27613 do :
27614 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27615 if test "x$ac_cv_func__isnan" = x""yes; then :
27616 cat >>confdefs.h <<_ACEOF
27617 #define HAVE__ISNAN 1
27618 _ACEOF
27619
27620 fi
27621 done
27622
27623 fi
27624 fi
27625
27626
27627
27628
27629
27630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27631 $as_echo_n "checking for finite declaration... " >&6; }
27632 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27633 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27634 $as_echo_n "(cached) " >&6
27635 else
27636
27637
27638 ac_ext=cpp
27639 ac_cpp='$CXXCPP $CPPFLAGS'
27640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27643
27644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27645 /* end confdefs.h. */
27646 #include <math.h>
27647 #ifdef HAVE_IEEEFP_H
27648 #include <ieeefp.h>
27649 #endif
27650
27651 int
27652 main ()
27653 {
27654 finite(0);
27655 ;
27656 return 0;
27657 }
27658 _ACEOF
27659 if ac_fn_cxx_try_compile "$LINENO"; then :
27660 glibcxx_cv_func_finite_use=yes
27661 else
27662 glibcxx_cv_func_finite_use=no
27663 fi
27664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27665 ac_ext=c
27666 ac_cpp='$CPP $CPPFLAGS'
27667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27670
27671
27672 fi
27673
27674 fi
27675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27676 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27677
27678 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27679 for ac_func in finite
27680 do :
27681 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27682 if test "x$ac_cv_func_finite" = x""yes; then :
27683 cat >>confdefs.h <<_ACEOF
27684 #define HAVE_FINITE 1
27685 _ACEOF
27686
27687 fi
27688 done
27689
27690 else
27691
27692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27693 $as_echo_n "checking for _finite declaration... " >&6; }
27694 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27695 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27696 $as_echo_n "(cached) " >&6
27697 else
27698
27699
27700 ac_ext=cpp
27701 ac_cpp='$CXXCPP $CPPFLAGS'
27702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27705
27706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27707 /* end confdefs.h. */
27708 #include <math.h>
27709 #ifdef HAVE_IEEEFP_H
27710 #include <ieeefp.h>
27711 #endif
27712
27713 int
27714 main ()
27715 {
27716 _finite(0);
27717 ;
27718 return 0;
27719 }
27720 _ACEOF
27721 if ac_fn_cxx_try_compile "$LINENO"; then :
27722 glibcxx_cv_func__finite_use=yes
27723 else
27724 glibcxx_cv_func__finite_use=no
27725 fi
27726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27727 ac_ext=c
27728 ac_cpp='$CPP $CPPFLAGS'
27729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27732
27733
27734 fi
27735
27736 fi
27737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27738 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27739
27740 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27741 for ac_func in _finite
27742 do :
27743 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27744 if test "x$ac_cv_func__finite" = x""yes; then :
27745 cat >>confdefs.h <<_ACEOF
27746 #define HAVE__FINITE 1
27747 _ACEOF
27748
27749 fi
27750 done
27751
27752 fi
27753 fi
27754
27755
27756
27757
27758
27759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27760 $as_echo_n "checking for sincos declaration... " >&6; }
27761 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27762 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27763 $as_echo_n "(cached) " >&6
27764 else
27765
27766
27767 ac_ext=cpp
27768 ac_cpp='$CXXCPP $CPPFLAGS'
27769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27772
27773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27774 /* end confdefs.h. */
27775 #include <math.h>
27776 int
27777 main ()
27778 {
27779 sincos(0, 0, 0);
27780 ;
27781 return 0;
27782 }
27783 _ACEOF
27784 if ac_fn_cxx_try_compile "$LINENO"; then :
27785 glibcxx_cv_func_sincos_use=yes
27786 else
27787 glibcxx_cv_func_sincos_use=no
27788 fi
27789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27790 ac_ext=c
27791 ac_cpp='$CPP $CPPFLAGS'
27792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27795
27796
27797 fi
27798
27799 fi
27800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27801 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27802
27803 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27804 for ac_func in sincos
27805 do :
27806 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27807 if test "x$ac_cv_func_sincos" = x""yes; then :
27808 cat >>confdefs.h <<_ACEOF
27809 #define HAVE_SINCOS 1
27810 _ACEOF
27811
27812 fi
27813 done
27814
27815 else
27816
27817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27818 $as_echo_n "checking for _sincos declaration... " >&6; }
27819 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27820 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27821 $as_echo_n "(cached) " >&6
27822 else
27823
27824
27825 ac_ext=cpp
27826 ac_cpp='$CXXCPP $CPPFLAGS'
27827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27830
27831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27832 /* end confdefs.h. */
27833 #include <math.h>
27834 int
27835 main ()
27836 {
27837 _sincos(0, 0, 0);
27838 ;
27839 return 0;
27840 }
27841 _ACEOF
27842 if ac_fn_cxx_try_compile "$LINENO"; then :
27843 glibcxx_cv_func__sincos_use=yes
27844 else
27845 glibcxx_cv_func__sincos_use=no
27846 fi
27847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27848 ac_ext=c
27849 ac_cpp='$CPP $CPPFLAGS'
27850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27853
27854
27855 fi
27856
27857 fi
27858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27859 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27860
27861 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27862 for ac_func in _sincos
27863 do :
27864 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27865 if test "x$ac_cv_func__sincos" = x""yes; then :
27866 cat >>confdefs.h <<_ACEOF
27867 #define HAVE__SINCOS 1
27868 _ACEOF
27869
27870 fi
27871 done
27872
27873 fi
27874 fi
27875
27876
27877
27878
27879
27880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27881 $as_echo_n "checking for fpclass declaration... " >&6; }
27882 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27883 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27884 $as_echo_n "(cached) " >&6
27885 else
27886
27887
27888 ac_ext=cpp
27889 ac_cpp='$CXXCPP $CPPFLAGS'
27890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27893
27894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27895 /* end confdefs.h. */
27896 #include <math.h>
27897 #ifdef HAVE_IEEEFP_H
27898 #include <ieeefp.h>
27899 #endif
27900
27901 int
27902 main ()
27903 {
27904 fpclass(0);
27905 ;
27906 return 0;
27907 }
27908 _ACEOF
27909 if ac_fn_cxx_try_compile "$LINENO"; then :
27910 glibcxx_cv_func_fpclass_use=yes
27911 else
27912 glibcxx_cv_func_fpclass_use=no
27913 fi
27914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27915 ac_ext=c
27916 ac_cpp='$CPP $CPPFLAGS'
27917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27920
27921
27922 fi
27923
27924 fi
27925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27926 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27927
27928 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27929 for ac_func in fpclass
27930 do :
27931 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27932 if test "x$ac_cv_func_fpclass" = x""yes; then :
27933 cat >>confdefs.h <<_ACEOF
27934 #define HAVE_FPCLASS 1
27935 _ACEOF
27936
27937 fi
27938 done
27939
27940 else
27941
27942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27943 $as_echo_n "checking for _fpclass declaration... " >&6; }
27944 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27945 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27946 $as_echo_n "(cached) " >&6
27947 else
27948
27949
27950 ac_ext=cpp
27951 ac_cpp='$CXXCPP $CPPFLAGS'
27952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27955
27956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27957 /* end confdefs.h. */
27958 #include <math.h>
27959 #ifdef HAVE_IEEEFP_H
27960 #include <ieeefp.h>
27961 #endif
27962
27963 int
27964 main ()
27965 {
27966 _fpclass(0);
27967 ;
27968 return 0;
27969 }
27970 _ACEOF
27971 if ac_fn_cxx_try_compile "$LINENO"; then :
27972 glibcxx_cv_func__fpclass_use=yes
27973 else
27974 glibcxx_cv_func__fpclass_use=no
27975 fi
27976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27977 ac_ext=c
27978 ac_cpp='$CPP $CPPFLAGS'
27979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27982
27983
27984 fi
27985
27986 fi
27987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27988 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27989
27990 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27991 for ac_func in _fpclass
27992 do :
27993 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27994 if test "x$ac_cv_func__fpclass" = x""yes; then :
27995 cat >>confdefs.h <<_ACEOF
27996 #define HAVE__FPCLASS 1
27997 _ACEOF
27998
27999 fi
28000 done
28001
28002 fi
28003 fi
28004
28005
28006
28007
28008
28009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28010 $as_echo_n "checking for qfpclass declaration... " >&6; }
28011 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28012 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28013 $as_echo_n "(cached) " >&6
28014 else
28015
28016
28017 ac_ext=cpp
28018 ac_cpp='$CXXCPP $CPPFLAGS'
28019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28022
28023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28024 /* end confdefs.h. */
28025 #include <math.h>
28026 #ifdef HAVE_IEEEFP_H
28027 #include <ieeefp.h>
28028 #endif
28029
28030 int
28031 main ()
28032 {
28033 qfpclass(0);
28034 ;
28035 return 0;
28036 }
28037 _ACEOF
28038 if ac_fn_cxx_try_compile "$LINENO"; then :
28039 glibcxx_cv_func_qfpclass_use=yes
28040 else
28041 glibcxx_cv_func_qfpclass_use=no
28042 fi
28043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28044 ac_ext=c
28045 ac_cpp='$CPP $CPPFLAGS'
28046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28049
28050
28051 fi
28052
28053 fi
28054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28055 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28056
28057 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28058 for ac_func in qfpclass
28059 do :
28060 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28061 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28062 cat >>confdefs.h <<_ACEOF
28063 #define HAVE_QFPCLASS 1
28064 _ACEOF
28065
28066 fi
28067 done
28068
28069 else
28070
28071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28072 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28073 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28074 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28075 $as_echo_n "(cached) " >&6
28076 else
28077
28078
28079 ac_ext=cpp
28080 ac_cpp='$CXXCPP $CPPFLAGS'
28081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28084
28085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28086 /* end confdefs.h. */
28087 #include <math.h>
28088 #ifdef HAVE_IEEEFP_H
28089 #include <ieeefp.h>
28090 #endif
28091
28092 int
28093 main ()
28094 {
28095 _qfpclass(0);
28096 ;
28097 return 0;
28098 }
28099 _ACEOF
28100 if ac_fn_cxx_try_compile "$LINENO"; then :
28101 glibcxx_cv_func__qfpclass_use=yes
28102 else
28103 glibcxx_cv_func__qfpclass_use=no
28104 fi
28105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28106 ac_ext=c
28107 ac_cpp='$CPP $CPPFLAGS'
28108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28111
28112
28113 fi
28114
28115 fi
28116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28117 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28118
28119 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28120 for ac_func in _qfpclass
28121 do :
28122 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28123 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28124 cat >>confdefs.h <<_ACEOF
28125 #define HAVE__QFPCLASS 1
28126 _ACEOF
28127
28128 fi
28129 done
28130
28131 fi
28132 fi
28133
28134
28135
28136
28137
28138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28139 $as_echo_n "checking for hypot declaration... " >&6; }
28140 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28141 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28142 $as_echo_n "(cached) " >&6
28143 else
28144
28145
28146 ac_ext=cpp
28147 ac_cpp='$CXXCPP $CPPFLAGS'
28148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28151
28152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28153 /* end confdefs.h. */
28154 #include <math.h>
28155 int
28156 main ()
28157 {
28158 hypot(0, 0);
28159 ;
28160 return 0;
28161 }
28162 _ACEOF
28163 if ac_fn_cxx_try_compile "$LINENO"; then :
28164 glibcxx_cv_func_hypot_use=yes
28165 else
28166 glibcxx_cv_func_hypot_use=no
28167 fi
28168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28169 ac_ext=c
28170 ac_cpp='$CPP $CPPFLAGS'
28171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28174
28175
28176 fi
28177
28178 fi
28179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28180 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28181
28182 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28183 for ac_func in hypot
28184 do :
28185 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28186 if test "x$ac_cv_func_hypot" = x""yes; then :
28187 cat >>confdefs.h <<_ACEOF
28188 #define HAVE_HYPOT 1
28189 _ACEOF
28190
28191 fi
28192 done
28193
28194 else
28195
28196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28197 $as_echo_n "checking for _hypot declaration... " >&6; }
28198 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28199 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28200 $as_echo_n "(cached) " >&6
28201 else
28202
28203
28204 ac_ext=cpp
28205 ac_cpp='$CXXCPP $CPPFLAGS'
28206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28209
28210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28211 /* end confdefs.h. */
28212 #include <math.h>
28213 int
28214 main ()
28215 {
28216 _hypot(0, 0);
28217 ;
28218 return 0;
28219 }
28220 _ACEOF
28221 if ac_fn_cxx_try_compile "$LINENO"; then :
28222 glibcxx_cv_func__hypot_use=yes
28223 else
28224 glibcxx_cv_func__hypot_use=no
28225 fi
28226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28227 ac_ext=c
28228 ac_cpp='$CPP $CPPFLAGS'
28229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28232
28233
28234 fi
28235
28236 fi
28237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28238 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28239
28240 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28241 for ac_func in _hypot
28242 do :
28243 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28244 if test "x$ac_cv_func__hypot" = x""yes; then :
28245 cat >>confdefs.h <<_ACEOF
28246 #define HAVE__HYPOT 1
28247 _ACEOF
28248
28249 fi
28250 done
28251
28252 fi
28253 fi
28254
28255
28256
28257
28258
28259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28260 $as_echo_n "checking for float trig functions... " >&6; }
28261 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28262 $as_echo_n "(cached) " >&6
28263 else
28264
28265
28266 ac_ext=cpp
28267 ac_cpp='$CXXCPP $CPPFLAGS'
28268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28271
28272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28273 /* end confdefs.h. */
28274 #include <math.h>
28275 int
28276 main ()
28277 {
28278 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28279 ;
28280 return 0;
28281 }
28282 _ACEOF
28283 if ac_fn_cxx_try_compile "$LINENO"; then :
28284 glibcxx_cv_func_float_trig_use=yes
28285 else
28286 glibcxx_cv_func_float_trig_use=no
28287 fi
28288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28289 ac_ext=c
28290 ac_cpp='$CPP $CPPFLAGS'
28291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28294
28295 fi
28296
28297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28298 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28299 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28300 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28301 do :
28302 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28303 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28304 eval as_val=\$$as_ac_var
28305 if test "x$as_val" = x""yes; then :
28306 cat >>confdefs.h <<_ACEOF
28307 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28308 _ACEOF
28309
28310 fi
28311 done
28312
28313 else
28314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28315 $as_echo_n "checking for _float trig functions... " >&6; }
28316 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28317 $as_echo_n "(cached) " >&6
28318 else
28319
28320
28321 ac_ext=cpp
28322 ac_cpp='$CXXCPP $CPPFLAGS'
28323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28326
28327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28328 /* end confdefs.h. */
28329 #include <math.h>
28330 int
28331 main ()
28332 {
28333 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28334 ;
28335 return 0;
28336 }
28337 _ACEOF
28338 if ac_fn_cxx_try_compile "$LINENO"; then :
28339 glibcxx_cv_func__float_trig_use=yes
28340 else
28341 glibcxx_cv_func__float_trig_use=no
28342 fi
28343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28344 ac_ext=c
28345 ac_cpp='$CPP $CPPFLAGS'
28346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28349
28350 fi
28351
28352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28353 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28354 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28355 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28356 do :
28357 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28358 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28359 eval as_val=\$$as_ac_var
28360 if test "x$as_val" = x""yes; then :
28361 cat >>confdefs.h <<_ACEOF
28362 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28363 _ACEOF
28364
28365 fi
28366 done
28367
28368 fi
28369 fi
28370
28371
28372
28373
28374
28375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28376 $as_echo_n "checking for float round functions... " >&6; }
28377 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28378 $as_echo_n "(cached) " >&6
28379 else
28380
28381
28382 ac_ext=cpp
28383 ac_cpp='$CXXCPP $CPPFLAGS'
28384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28387
28388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28389 /* end confdefs.h. */
28390 #include <math.h>
28391 int
28392 main ()
28393 {
28394 ceilf (0); floorf (0);
28395 ;
28396 return 0;
28397 }
28398 _ACEOF
28399 if ac_fn_cxx_try_compile "$LINENO"; then :
28400 glibcxx_cv_func_float_round_use=yes
28401 else
28402 glibcxx_cv_func_float_round_use=no
28403 fi
28404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28405 ac_ext=c
28406 ac_cpp='$CPP $CPPFLAGS'
28407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28410
28411 fi
28412
28413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28414 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28415 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28416 for ac_func in ceilf floorf
28417 do :
28418 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28419 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28420 eval as_val=\$$as_ac_var
28421 if test "x$as_val" = x""yes; then :
28422 cat >>confdefs.h <<_ACEOF
28423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28424 _ACEOF
28425
28426 fi
28427 done
28428
28429 else
28430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28431 $as_echo_n "checking for _float round functions... " >&6; }
28432 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28433 $as_echo_n "(cached) " >&6
28434 else
28435
28436
28437 ac_ext=cpp
28438 ac_cpp='$CXXCPP $CPPFLAGS'
28439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28442
28443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28444 /* end confdefs.h. */
28445 #include <math.h>
28446 int
28447 main ()
28448 {
28449 _ceilf (0); _floorf (0);
28450 ;
28451 return 0;
28452 }
28453 _ACEOF
28454 if ac_fn_cxx_try_compile "$LINENO"; then :
28455 glibcxx_cv_func__float_round_use=yes
28456 else
28457 glibcxx_cv_func__float_round_use=no
28458 fi
28459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28460 ac_ext=c
28461 ac_cpp='$CPP $CPPFLAGS'
28462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28465
28466 fi
28467
28468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28469 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28470 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28471 for ac_func in _ceilf _floorf
28472 do :
28473 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28474 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28475 eval as_val=\$$as_ac_var
28476 if test "x$as_val" = x""yes; then :
28477 cat >>confdefs.h <<_ACEOF
28478 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28479 _ACEOF
28480
28481 fi
28482 done
28483
28484 fi
28485 fi
28486
28487
28488
28489
28490
28491
28492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28493 $as_echo_n "checking for expf declaration... " >&6; }
28494 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28495 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28496 $as_echo_n "(cached) " >&6
28497 else
28498
28499
28500 ac_ext=cpp
28501 ac_cpp='$CXXCPP $CPPFLAGS'
28502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28505
28506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28507 /* end confdefs.h. */
28508 #include <math.h>
28509 #ifdef HAVE_IEEEFP_H
28510 #include <ieeefp.h>
28511 #endif
28512
28513 int
28514 main ()
28515 {
28516 expf(0);
28517 ;
28518 return 0;
28519 }
28520 _ACEOF
28521 if ac_fn_cxx_try_compile "$LINENO"; then :
28522 glibcxx_cv_func_expf_use=yes
28523 else
28524 glibcxx_cv_func_expf_use=no
28525 fi
28526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28527 ac_ext=c
28528 ac_cpp='$CPP $CPPFLAGS'
28529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28532
28533
28534 fi
28535
28536 fi
28537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28538 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28539
28540 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28541 for ac_func in expf
28542 do :
28543 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28544 if test "x$ac_cv_func_expf" = x""yes; then :
28545 cat >>confdefs.h <<_ACEOF
28546 #define HAVE_EXPF 1
28547 _ACEOF
28548
28549 fi
28550 done
28551
28552 else
28553
28554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28555 $as_echo_n "checking for _expf declaration... " >&6; }
28556 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28557 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28558 $as_echo_n "(cached) " >&6
28559 else
28560
28561
28562 ac_ext=cpp
28563 ac_cpp='$CXXCPP $CPPFLAGS'
28564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28567
28568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28569 /* end confdefs.h. */
28570 #include <math.h>
28571 #ifdef HAVE_IEEEFP_H
28572 #include <ieeefp.h>
28573 #endif
28574
28575 int
28576 main ()
28577 {
28578 _expf(0);
28579 ;
28580 return 0;
28581 }
28582 _ACEOF
28583 if ac_fn_cxx_try_compile "$LINENO"; then :
28584 glibcxx_cv_func__expf_use=yes
28585 else
28586 glibcxx_cv_func__expf_use=no
28587 fi
28588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28589 ac_ext=c
28590 ac_cpp='$CPP $CPPFLAGS'
28591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28594
28595
28596 fi
28597
28598 fi
28599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28600 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28601
28602 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28603 for ac_func in _expf
28604 do :
28605 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28606 if test "x$ac_cv_func__expf" = x""yes; then :
28607 cat >>confdefs.h <<_ACEOF
28608 #define HAVE__EXPF 1
28609 _ACEOF
28610
28611 fi
28612 done
28613
28614 fi
28615 fi
28616
28617
28618
28619
28620
28621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28622 $as_echo_n "checking for isnanf declaration... " >&6; }
28623 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28624 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28625 $as_echo_n "(cached) " >&6
28626 else
28627
28628
28629 ac_ext=cpp
28630 ac_cpp='$CXXCPP $CPPFLAGS'
28631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28634
28635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28636 /* end confdefs.h. */
28637 #include <math.h>
28638 #ifdef HAVE_IEEEFP_H
28639 #include <ieeefp.h>
28640 #endif
28641
28642 int
28643 main ()
28644 {
28645 isnanf(0);
28646 ;
28647 return 0;
28648 }
28649 _ACEOF
28650 if ac_fn_cxx_try_compile "$LINENO"; then :
28651 glibcxx_cv_func_isnanf_use=yes
28652 else
28653 glibcxx_cv_func_isnanf_use=no
28654 fi
28655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28656 ac_ext=c
28657 ac_cpp='$CPP $CPPFLAGS'
28658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28661
28662
28663 fi
28664
28665 fi
28666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28667 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28668
28669 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28670 for ac_func in isnanf
28671 do :
28672 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28673 if test "x$ac_cv_func_isnanf" = x""yes; then :
28674 cat >>confdefs.h <<_ACEOF
28675 #define HAVE_ISNANF 1
28676 _ACEOF
28677
28678 fi
28679 done
28680
28681 else
28682
28683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28684 $as_echo_n "checking for _isnanf declaration... " >&6; }
28685 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28686 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28687 $as_echo_n "(cached) " >&6
28688 else
28689
28690
28691 ac_ext=cpp
28692 ac_cpp='$CXXCPP $CPPFLAGS'
28693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28696
28697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28698 /* end confdefs.h. */
28699 #include <math.h>
28700 #ifdef HAVE_IEEEFP_H
28701 #include <ieeefp.h>
28702 #endif
28703
28704 int
28705 main ()
28706 {
28707 _isnanf(0);
28708 ;
28709 return 0;
28710 }
28711 _ACEOF
28712 if ac_fn_cxx_try_compile "$LINENO"; then :
28713 glibcxx_cv_func__isnanf_use=yes
28714 else
28715 glibcxx_cv_func__isnanf_use=no
28716 fi
28717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28718 ac_ext=c
28719 ac_cpp='$CPP $CPPFLAGS'
28720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28723
28724
28725 fi
28726
28727 fi
28728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28729 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28730
28731 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28732 for ac_func in _isnanf
28733 do :
28734 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28735 if test "x$ac_cv_func__isnanf" = x""yes; then :
28736 cat >>confdefs.h <<_ACEOF
28737 #define HAVE__ISNANF 1
28738 _ACEOF
28739
28740 fi
28741 done
28742
28743 fi
28744 fi
28745
28746
28747
28748
28749
28750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28751 $as_echo_n "checking for isinff declaration... " >&6; }
28752 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28753 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28754 $as_echo_n "(cached) " >&6
28755 else
28756
28757
28758 ac_ext=cpp
28759 ac_cpp='$CXXCPP $CPPFLAGS'
28760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28763
28764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28765 /* end confdefs.h. */
28766 #include <math.h>
28767 #ifdef HAVE_IEEEFP_H
28768 #include <ieeefp.h>
28769 #endif
28770
28771 int
28772 main ()
28773 {
28774 isinff(0);
28775 ;
28776 return 0;
28777 }
28778 _ACEOF
28779 if ac_fn_cxx_try_compile "$LINENO"; then :
28780 glibcxx_cv_func_isinff_use=yes
28781 else
28782 glibcxx_cv_func_isinff_use=no
28783 fi
28784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28785 ac_ext=c
28786 ac_cpp='$CPP $CPPFLAGS'
28787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28790
28791
28792 fi
28793
28794 fi
28795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28796 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28797
28798 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28799 for ac_func in isinff
28800 do :
28801 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28802 if test "x$ac_cv_func_isinff" = x""yes; then :
28803 cat >>confdefs.h <<_ACEOF
28804 #define HAVE_ISINFF 1
28805 _ACEOF
28806
28807 fi
28808 done
28809
28810 else
28811
28812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28813 $as_echo_n "checking for _isinff declaration... " >&6; }
28814 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28815 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28816 $as_echo_n "(cached) " >&6
28817 else
28818
28819
28820 ac_ext=cpp
28821 ac_cpp='$CXXCPP $CPPFLAGS'
28822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28825
28826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28827 /* end confdefs.h. */
28828 #include <math.h>
28829 #ifdef HAVE_IEEEFP_H
28830 #include <ieeefp.h>
28831 #endif
28832
28833 int
28834 main ()
28835 {
28836 _isinff(0);
28837 ;
28838 return 0;
28839 }
28840 _ACEOF
28841 if ac_fn_cxx_try_compile "$LINENO"; then :
28842 glibcxx_cv_func__isinff_use=yes
28843 else
28844 glibcxx_cv_func__isinff_use=no
28845 fi
28846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28847 ac_ext=c
28848 ac_cpp='$CPP $CPPFLAGS'
28849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28852
28853
28854 fi
28855
28856 fi
28857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28858 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28859
28860 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28861 for ac_func in _isinff
28862 do :
28863 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28864 if test "x$ac_cv_func__isinff" = x""yes; then :
28865 cat >>confdefs.h <<_ACEOF
28866 #define HAVE__ISINFF 1
28867 _ACEOF
28868
28869 fi
28870 done
28871
28872 fi
28873 fi
28874
28875
28876
28877
28878
28879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28880 $as_echo_n "checking for atan2f declaration... " >&6; }
28881 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28882 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28883 $as_echo_n "(cached) " >&6
28884 else
28885
28886
28887 ac_ext=cpp
28888 ac_cpp='$CXXCPP $CPPFLAGS'
28889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28892
28893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28894 /* end confdefs.h. */
28895 #include <math.h>
28896 int
28897 main ()
28898 {
28899 atan2f(0, 0);
28900 ;
28901 return 0;
28902 }
28903 _ACEOF
28904 if ac_fn_cxx_try_compile "$LINENO"; then :
28905 glibcxx_cv_func_atan2f_use=yes
28906 else
28907 glibcxx_cv_func_atan2f_use=no
28908 fi
28909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28910 ac_ext=c
28911 ac_cpp='$CPP $CPPFLAGS'
28912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28915
28916
28917 fi
28918
28919 fi
28920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28921 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28922
28923 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28924 for ac_func in atan2f
28925 do :
28926 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28927 if test "x$ac_cv_func_atan2f" = x""yes; then :
28928 cat >>confdefs.h <<_ACEOF
28929 #define HAVE_ATAN2F 1
28930 _ACEOF
28931
28932 fi
28933 done
28934
28935 else
28936
28937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28938 $as_echo_n "checking for _atan2f declaration... " >&6; }
28939 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28940 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28941 $as_echo_n "(cached) " >&6
28942 else
28943
28944
28945 ac_ext=cpp
28946 ac_cpp='$CXXCPP $CPPFLAGS'
28947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28950
28951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28952 /* end confdefs.h. */
28953 #include <math.h>
28954 int
28955 main ()
28956 {
28957 _atan2f(0, 0);
28958 ;
28959 return 0;
28960 }
28961 _ACEOF
28962 if ac_fn_cxx_try_compile "$LINENO"; then :
28963 glibcxx_cv_func__atan2f_use=yes
28964 else
28965 glibcxx_cv_func__atan2f_use=no
28966 fi
28967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28968 ac_ext=c
28969 ac_cpp='$CPP $CPPFLAGS'
28970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28973
28974
28975 fi
28976
28977 fi
28978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28979 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28980
28981 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28982 for ac_func in _atan2f
28983 do :
28984 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28985 if test "x$ac_cv_func__atan2f" = x""yes; then :
28986 cat >>confdefs.h <<_ACEOF
28987 #define HAVE__ATAN2F 1
28988 _ACEOF
28989
28990 fi
28991 done
28992
28993 fi
28994 fi
28995
28996
28997
28998
28999
29000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29001 $as_echo_n "checking for fabsf declaration... " >&6; }
29002 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29003 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29004 $as_echo_n "(cached) " >&6
29005 else
29006
29007
29008 ac_ext=cpp
29009 ac_cpp='$CXXCPP $CPPFLAGS'
29010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29013
29014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29015 /* end confdefs.h. */
29016 #include <math.h>
29017 #ifdef HAVE_IEEEFP_H
29018 #include <ieeefp.h>
29019 #endif
29020
29021 int
29022 main ()
29023 {
29024 fabsf(0);
29025 ;
29026 return 0;
29027 }
29028 _ACEOF
29029 if ac_fn_cxx_try_compile "$LINENO"; then :
29030 glibcxx_cv_func_fabsf_use=yes
29031 else
29032 glibcxx_cv_func_fabsf_use=no
29033 fi
29034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29035 ac_ext=c
29036 ac_cpp='$CPP $CPPFLAGS'
29037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29040
29041
29042 fi
29043
29044 fi
29045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29046 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29047
29048 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29049 for ac_func in fabsf
29050 do :
29051 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29052 if test "x$ac_cv_func_fabsf" = x""yes; then :
29053 cat >>confdefs.h <<_ACEOF
29054 #define HAVE_FABSF 1
29055 _ACEOF
29056
29057 fi
29058 done
29059
29060 else
29061
29062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29063 $as_echo_n "checking for _fabsf declaration... " >&6; }
29064 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29065 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29066 $as_echo_n "(cached) " >&6
29067 else
29068
29069
29070 ac_ext=cpp
29071 ac_cpp='$CXXCPP $CPPFLAGS'
29072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29075
29076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29077 /* end confdefs.h. */
29078 #include <math.h>
29079 #ifdef HAVE_IEEEFP_H
29080 #include <ieeefp.h>
29081 #endif
29082
29083 int
29084 main ()
29085 {
29086 _fabsf(0);
29087 ;
29088 return 0;
29089 }
29090 _ACEOF
29091 if ac_fn_cxx_try_compile "$LINENO"; then :
29092 glibcxx_cv_func__fabsf_use=yes
29093 else
29094 glibcxx_cv_func__fabsf_use=no
29095 fi
29096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29097 ac_ext=c
29098 ac_cpp='$CPP $CPPFLAGS'
29099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29102
29103
29104 fi
29105
29106 fi
29107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29108 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29109
29110 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29111 for ac_func in _fabsf
29112 do :
29113 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29114 if test "x$ac_cv_func__fabsf" = x""yes; then :
29115 cat >>confdefs.h <<_ACEOF
29116 #define HAVE__FABSF 1
29117 _ACEOF
29118
29119 fi
29120 done
29121
29122 fi
29123 fi
29124
29125
29126
29127
29128
29129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29130 $as_echo_n "checking for fmodf declaration... " >&6; }
29131 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29132 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29133 $as_echo_n "(cached) " >&6
29134 else
29135
29136
29137 ac_ext=cpp
29138 ac_cpp='$CXXCPP $CPPFLAGS'
29139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29142
29143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29144 /* end confdefs.h. */
29145 #include <math.h>
29146 int
29147 main ()
29148 {
29149 fmodf(0, 0);
29150 ;
29151 return 0;
29152 }
29153 _ACEOF
29154 if ac_fn_cxx_try_compile "$LINENO"; then :
29155 glibcxx_cv_func_fmodf_use=yes
29156 else
29157 glibcxx_cv_func_fmodf_use=no
29158 fi
29159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29160 ac_ext=c
29161 ac_cpp='$CPP $CPPFLAGS'
29162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29165
29166
29167 fi
29168
29169 fi
29170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29171 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29172
29173 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29174 for ac_func in fmodf
29175 do :
29176 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29177 if test "x$ac_cv_func_fmodf" = x""yes; then :
29178 cat >>confdefs.h <<_ACEOF
29179 #define HAVE_FMODF 1
29180 _ACEOF
29181
29182 fi
29183 done
29184
29185 else
29186
29187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29188 $as_echo_n "checking for _fmodf declaration... " >&6; }
29189 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29190 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29191 $as_echo_n "(cached) " >&6
29192 else
29193
29194
29195 ac_ext=cpp
29196 ac_cpp='$CXXCPP $CPPFLAGS'
29197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29200
29201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29202 /* end confdefs.h. */
29203 #include <math.h>
29204 int
29205 main ()
29206 {
29207 _fmodf(0, 0);
29208 ;
29209 return 0;
29210 }
29211 _ACEOF
29212 if ac_fn_cxx_try_compile "$LINENO"; then :
29213 glibcxx_cv_func__fmodf_use=yes
29214 else
29215 glibcxx_cv_func__fmodf_use=no
29216 fi
29217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29218 ac_ext=c
29219 ac_cpp='$CPP $CPPFLAGS'
29220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29223
29224
29225 fi
29226
29227 fi
29228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29229 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29230
29231 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29232 for ac_func in _fmodf
29233 do :
29234 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29235 if test "x$ac_cv_func__fmodf" = x""yes; then :
29236 cat >>confdefs.h <<_ACEOF
29237 #define HAVE__FMODF 1
29238 _ACEOF
29239
29240 fi
29241 done
29242
29243 fi
29244 fi
29245
29246
29247
29248
29249
29250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29251 $as_echo_n "checking for frexpf declaration... " >&6; }
29252 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29253 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29254 $as_echo_n "(cached) " >&6
29255 else
29256
29257
29258 ac_ext=cpp
29259 ac_cpp='$CXXCPP $CPPFLAGS'
29260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29263
29264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29265 /* end confdefs.h. */
29266 #include <math.h>
29267 int
29268 main ()
29269 {
29270 frexpf(0, 0);
29271 ;
29272 return 0;
29273 }
29274 _ACEOF
29275 if ac_fn_cxx_try_compile "$LINENO"; then :
29276 glibcxx_cv_func_frexpf_use=yes
29277 else
29278 glibcxx_cv_func_frexpf_use=no
29279 fi
29280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29281 ac_ext=c
29282 ac_cpp='$CPP $CPPFLAGS'
29283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29286
29287
29288 fi
29289
29290 fi
29291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29292 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29293
29294 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29295 for ac_func in frexpf
29296 do :
29297 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29298 if test "x$ac_cv_func_frexpf" = x""yes; then :
29299 cat >>confdefs.h <<_ACEOF
29300 #define HAVE_FREXPF 1
29301 _ACEOF
29302
29303 fi
29304 done
29305
29306 else
29307
29308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29309 $as_echo_n "checking for _frexpf declaration... " >&6; }
29310 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29311 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29312 $as_echo_n "(cached) " >&6
29313 else
29314
29315
29316 ac_ext=cpp
29317 ac_cpp='$CXXCPP $CPPFLAGS'
29318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29321
29322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29323 /* end confdefs.h. */
29324 #include <math.h>
29325 int
29326 main ()
29327 {
29328 _frexpf(0, 0);
29329 ;
29330 return 0;
29331 }
29332 _ACEOF
29333 if ac_fn_cxx_try_compile "$LINENO"; then :
29334 glibcxx_cv_func__frexpf_use=yes
29335 else
29336 glibcxx_cv_func__frexpf_use=no
29337 fi
29338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29339 ac_ext=c
29340 ac_cpp='$CPP $CPPFLAGS'
29341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29344
29345
29346 fi
29347
29348 fi
29349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29350 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29351
29352 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29353 for ac_func in _frexpf
29354 do :
29355 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29356 if test "x$ac_cv_func__frexpf" = x""yes; then :
29357 cat >>confdefs.h <<_ACEOF
29358 #define HAVE__FREXPF 1
29359 _ACEOF
29360
29361 fi
29362 done
29363
29364 fi
29365 fi
29366
29367
29368
29369
29370
29371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29372 $as_echo_n "checking for hypotf declaration... " >&6; }
29373 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29374 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29375 $as_echo_n "(cached) " >&6
29376 else
29377
29378
29379 ac_ext=cpp
29380 ac_cpp='$CXXCPP $CPPFLAGS'
29381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29384
29385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29386 /* end confdefs.h. */
29387 #include <math.h>
29388 int
29389 main ()
29390 {
29391 hypotf(0, 0);
29392 ;
29393 return 0;
29394 }
29395 _ACEOF
29396 if ac_fn_cxx_try_compile "$LINENO"; then :
29397 glibcxx_cv_func_hypotf_use=yes
29398 else
29399 glibcxx_cv_func_hypotf_use=no
29400 fi
29401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29402 ac_ext=c
29403 ac_cpp='$CPP $CPPFLAGS'
29404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29407
29408
29409 fi
29410
29411 fi
29412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29413 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29414
29415 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29416 for ac_func in hypotf
29417 do :
29418 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29419 if test "x$ac_cv_func_hypotf" = x""yes; then :
29420 cat >>confdefs.h <<_ACEOF
29421 #define HAVE_HYPOTF 1
29422 _ACEOF
29423
29424 fi
29425 done
29426
29427 else
29428
29429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29430 $as_echo_n "checking for _hypotf declaration... " >&6; }
29431 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29432 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29433 $as_echo_n "(cached) " >&6
29434 else
29435
29436
29437 ac_ext=cpp
29438 ac_cpp='$CXXCPP $CPPFLAGS'
29439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29442
29443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29444 /* end confdefs.h. */
29445 #include <math.h>
29446 int
29447 main ()
29448 {
29449 _hypotf(0, 0);
29450 ;
29451 return 0;
29452 }
29453 _ACEOF
29454 if ac_fn_cxx_try_compile "$LINENO"; then :
29455 glibcxx_cv_func__hypotf_use=yes
29456 else
29457 glibcxx_cv_func__hypotf_use=no
29458 fi
29459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29460 ac_ext=c
29461 ac_cpp='$CPP $CPPFLAGS'
29462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29465
29466
29467 fi
29468
29469 fi
29470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29471 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29472
29473 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29474 for ac_func in _hypotf
29475 do :
29476 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29477 if test "x$ac_cv_func__hypotf" = x""yes; then :
29478 cat >>confdefs.h <<_ACEOF
29479 #define HAVE__HYPOTF 1
29480 _ACEOF
29481
29482 fi
29483 done
29484
29485 fi
29486 fi
29487
29488
29489
29490
29491
29492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29493 $as_echo_n "checking for ldexpf declaration... " >&6; }
29494 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29495 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29496 $as_echo_n "(cached) " >&6
29497 else
29498
29499
29500 ac_ext=cpp
29501 ac_cpp='$CXXCPP $CPPFLAGS'
29502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29505
29506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29507 /* end confdefs.h. */
29508 #include <math.h>
29509 int
29510 main ()
29511 {
29512 ldexpf(0, 0);
29513 ;
29514 return 0;
29515 }
29516 _ACEOF
29517 if ac_fn_cxx_try_compile "$LINENO"; then :
29518 glibcxx_cv_func_ldexpf_use=yes
29519 else
29520 glibcxx_cv_func_ldexpf_use=no
29521 fi
29522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29523 ac_ext=c
29524 ac_cpp='$CPP $CPPFLAGS'
29525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29528
29529
29530 fi
29531
29532 fi
29533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29534 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29535
29536 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29537 for ac_func in ldexpf
29538 do :
29539 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29540 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29541 cat >>confdefs.h <<_ACEOF
29542 #define HAVE_LDEXPF 1
29543 _ACEOF
29544
29545 fi
29546 done
29547
29548 else
29549
29550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29551 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29552 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29553 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29554 $as_echo_n "(cached) " >&6
29555 else
29556
29557
29558 ac_ext=cpp
29559 ac_cpp='$CXXCPP $CPPFLAGS'
29560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29563
29564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29565 /* end confdefs.h. */
29566 #include <math.h>
29567 int
29568 main ()
29569 {
29570 _ldexpf(0, 0);
29571 ;
29572 return 0;
29573 }
29574 _ACEOF
29575 if ac_fn_cxx_try_compile "$LINENO"; then :
29576 glibcxx_cv_func__ldexpf_use=yes
29577 else
29578 glibcxx_cv_func__ldexpf_use=no
29579 fi
29580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29581 ac_ext=c
29582 ac_cpp='$CPP $CPPFLAGS'
29583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29586
29587
29588 fi
29589
29590 fi
29591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29592 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29593
29594 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29595 for ac_func in _ldexpf
29596 do :
29597 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29598 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29599 cat >>confdefs.h <<_ACEOF
29600 #define HAVE__LDEXPF 1
29601 _ACEOF
29602
29603 fi
29604 done
29605
29606 fi
29607 fi
29608
29609
29610
29611
29612
29613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29614 $as_echo_n "checking for logf declaration... " >&6; }
29615 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29616 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29617 $as_echo_n "(cached) " >&6
29618 else
29619
29620
29621 ac_ext=cpp
29622 ac_cpp='$CXXCPP $CPPFLAGS'
29623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29626
29627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29628 /* end confdefs.h. */
29629 #include <math.h>
29630 #ifdef HAVE_IEEEFP_H
29631 #include <ieeefp.h>
29632 #endif
29633
29634 int
29635 main ()
29636 {
29637 logf(0);
29638 ;
29639 return 0;
29640 }
29641 _ACEOF
29642 if ac_fn_cxx_try_compile "$LINENO"; then :
29643 glibcxx_cv_func_logf_use=yes
29644 else
29645 glibcxx_cv_func_logf_use=no
29646 fi
29647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29648 ac_ext=c
29649 ac_cpp='$CPP $CPPFLAGS'
29650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29653
29654
29655 fi
29656
29657 fi
29658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29659 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29660
29661 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29662 for ac_func in logf
29663 do :
29664 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29665 if test "x$ac_cv_func_logf" = x""yes; then :
29666 cat >>confdefs.h <<_ACEOF
29667 #define HAVE_LOGF 1
29668 _ACEOF
29669
29670 fi
29671 done
29672
29673 else
29674
29675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29676 $as_echo_n "checking for _logf declaration... " >&6; }
29677 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29678 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29679 $as_echo_n "(cached) " >&6
29680 else
29681
29682
29683 ac_ext=cpp
29684 ac_cpp='$CXXCPP $CPPFLAGS'
29685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29688
29689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29690 /* end confdefs.h. */
29691 #include <math.h>
29692 #ifdef HAVE_IEEEFP_H
29693 #include <ieeefp.h>
29694 #endif
29695
29696 int
29697 main ()
29698 {
29699 _logf(0);
29700 ;
29701 return 0;
29702 }
29703 _ACEOF
29704 if ac_fn_cxx_try_compile "$LINENO"; then :
29705 glibcxx_cv_func__logf_use=yes
29706 else
29707 glibcxx_cv_func__logf_use=no
29708 fi
29709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29710 ac_ext=c
29711 ac_cpp='$CPP $CPPFLAGS'
29712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29715
29716
29717 fi
29718
29719 fi
29720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29721 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29722
29723 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29724 for ac_func in _logf
29725 do :
29726 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29727 if test "x$ac_cv_func__logf" = x""yes; then :
29728 cat >>confdefs.h <<_ACEOF
29729 #define HAVE__LOGF 1
29730 _ACEOF
29731
29732 fi
29733 done
29734
29735 fi
29736 fi
29737
29738
29739
29740
29741
29742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29743 $as_echo_n "checking for log10f declaration... " >&6; }
29744 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29745 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29746 $as_echo_n "(cached) " >&6
29747 else
29748
29749
29750 ac_ext=cpp
29751 ac_cpp='$CXXCPP $CPPFLAGS'
29752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29755
29756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29757 /* end confdefs.h. */
29758 #include <math.h>
29759 #ifdef HAVE_IEEEFP_H
29760 #include <ieeefp.h>
29761 #endif
29762
29763 int
29764 main ()
29765 {
29766 log10f(0);
29767 ;
29768 return 0;
29769 }
29770 _ACEOF
29771 if ac_fn_cxx_try_compile "$LINENO"; then :
29772 glibcxx_cv_func_log10f_use=yes
29773 else
29774 glibcxx_cv_func_log10f_use=no
29775 fi
29776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29777 ac_ext=c
29778 ac_cpp='$CPP $CPPFLAGS'
29779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29782
29783
29784 fi
29785
29786 fi
29787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29788 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29789
29790 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29791 for ac_func in log10f
29792 do :
29793 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29794 if test "x$ac_cv_func_log10f" = x""yes; then :
29795 cat >>confdefs.h <<_ACEOF
29796 #define HAVE_LOG10F 1
29797 _ACEOF
29798
29799 fi
29800 done
29801
29802 else
29803
29804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29805 $as_echo_n "checking for _log10f declaration... " >&6; }
29806 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29807 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29808 $as_echo_n "(cached) " >&6
29809 else
29810
29811
29812 ac_ext=cpp
29813 ac_cpp='$CXXCPP $CPPFLAGS'
29814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29817
29818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29819 /* end confdefs.h. */
29820 #include <math.h>
29821 #ifdef HAVE_IEEEFP_H
29822 #include <ieeefp.h>
29823 #endif
29824
29825 int
29826 main ()
29827 {
29828 _log10f(0);
29829 ;
29830 return 0;
29831 }
29832 _ACEOF
29833 if ac_fn_cxx_try_compile "$LINENO"; then :
29834 glibcxx_cv_func__log10f_use=yes
29835 else
29836 glibcxx_cv_func__log10f_use=no
29837 fi
29838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29839 ac_ext=c
29840 ac_cpp='$CPP $CPPFLAGS'
29841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29844
29845
29846 fi
29847
29848 fi
29849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29850 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29851
29852 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29853 for ac_func in _log10f
29854 do :
29855 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29856 if test "x$ac_cv_func__log10f" = x""yes; then :
29857 cat >>confdefs.h <<_ACEOF
29858 #define HAVE__LOG10F 1
29859 _ACEOF
29860
29861 fi
29862 done
29863
29864 fi
29865 fi
29866
29867
29868
29869
29870
29871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29872 $as_echo_n "checking for modff declaration... " >&6; }
29873 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29874 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29875 $as_echo_n "(cached) " >&6
29876 else
29877
29878
29879 ac_ext=cpp
29880 ac_cpp='$CXXCPP $CPPFLAGS'
29881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29884
29885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29886 /* end confdefs.h. */
29887 #include <math.h>
29888 int
29889 main ()
29890 {
29891 modff(0, 0);
29892 ;
29893 return 0;
29894 }
29895 _ACEOF
29896 if ac_fn_cxx_try_compile "$LINENO"; then :
29897 glibcxx_cv_func_modff_use=yes
29898 else
29899 glibcxx_cv_func_modff_use=no
29900 fi
29901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29902 ac_ext=c
29903 ac_cpp='$CPP $CPPFLAGS'
29904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29907
29908
29909 fi
29910
29911 fi
29912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29913 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29914
29915 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29916 for ac_func in modff
29917 do :
29918 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29919 if test "x$ac_cv_func_modff" = x""yes; then :
29920 cat >>confdefs.h <<_ACEOF
29921 #define HAVE_MODFF 1
29922 _ACEOF
29923
29924 fi
29925 done
29926
29927 else
29928
29929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29930 $as_echo_n "checking for _modff declaration... " >&6; }
29931 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29932 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29933 $as_echo_n "(cached) " >&6
29934 else
29935
29936
29937 ac_ext=cpp
29938 ac_cpp='$CXXCPP $CPPFLAGS'
29939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29942
29943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29944 /* end confdefs.h. */
29945 #include <math.h>
29946 int
29947 main ()
29948 {
29949 _modff(0, 0);
29950 ;
29951 return 0;
29952 }
29953 _ACEOF
29954 if ac_fn_cxx_try_compile "$LINENO"; then :
29955 glibcxx_cv_func__modff_use=yes
29956 else
29957 glibcxx_cv_func__modff_use=no
29958 fi
29959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29960 ac_ext=c
29961 ac_cpp='$CPP $CPPFLAGS'
29962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29965
29966
29967 fi
29968
29969 fi
29970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29971 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29972
29973 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29974 for ac_func in _modff
29975 do :
29976 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29977 if test "x$ac_cv_func__modff" = x""yes; then :
29978 cat >>confdefs.h <<_ACEOF
29979 #define HAVE__MODFF 1
29980 _ACEOF
29981
29982 fi
29983 done
29984
29985 fi
29986 fi
29987
29988
29989
29990
29991
29992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29993 $as_echo_n "checking for modf declaration... " >&6; }
29994 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29995 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29996 $as_echo_n "(cached) " >&6
29997 else
29998
29999
30000 ac_ext=cpp
30001 ac_cpp='$CXXCPP $CPPFLAGS'
30002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30005
30006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30007 /* end confdefs.h. */
30008 #include <math.h>
30009 int
30010 main ()
30011 {
30012 modf(0, 0);
30013 ;
30014 return 0;
30015 }
30016 _ACEOF
30017 if ac_fn_cxx_try_compile "$LINENO"; then :
30018 glibcxx_cv_func_modf_use=yes
30019 else
30020 glibcxx_cv_func_modf_use=no
30021 fi
30022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30023 ac_ext=c
30024 ac_cpp='$CPP $CPPFLAGS'
30025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30028
30029
30030 fi
30031
30032 fi
30033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30034 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30035
30036 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30037 for ac_func in modf
30038 do :
30039 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30040 if test "x$ac_cv_func_modf" = x""yes; then :
30041 cat >>confdefs.h <<_ACEOF
30042 #define HAVE_MODF 1
30043 _ACEOF
30044
30045 fi
30046 done
30047
30048 else
30049
30050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30051 $as_echo_n "checking for _modf declaration... " >&6; }
30052 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30053 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30054 $as_echo_n "(cached) " >&6
30055 else
30056
30057
30058 ac_ext=cpp
30059 ac_cpp='$CXXCPP $CPPFLAGS'
30060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30063
30064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30065 /* end confdefs.h. */
30066 #include <math.h>
30067 int
30068 main ()
30069 {
30070 _modf(0, 0);
30071 ;
30072 return 0;
30073 }
30074 _ACEOF
30075 if ac_fn_cxx_try_compile "$LINENO"; then :
30076 glibcxx_cv_func__modf_use=yes
30077 else
30078 glibcxx_cv_func__modf_use=no
30079 fi
30080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30081 ac_ext=c
30082 ac_cpp='$CPP $CPPFLAGS'
30083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30086
30087
30088 fi
30089
30090 fi
30091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30092 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30093
30094 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30095 for ac_func in _modf
30096 do :
30097 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30098 if test "x$ac_cv_func__modf" = x""yes; then :
30099 cat >>confdefs.h <<_ACEOF
30100 #define HAVE__MODF 1
30101 _ACEOF
30102
30103 fi
30104 done
30105
30106 fi
30107 fi
30108
30109
30110
30111
30112
30113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30114 $as_echo_n "checking for powf declaration... " >&6; }
30115 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30116 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30117 $as_echo_n "(cached) " >&6
30118 else
30119
30120
30121 ac_ext=cpp
30122 ac_cpp='$CXXCPP $CPPFLAGS'
30123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30126
30127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30128 /* end confdefs.h. */
30129 #include <math.h>
30130 int
30131 main ()
30132 {
30133 powf(0, 0);
30134 ;
30135 return 0;
30136 }
30137 _ACEOF
30138 if ac_fn_cxx_try_compile "$LINENO"; then :
30139 glibcxx_cv_func_powf_use=yes
30140 else
30141 glibcxx_cv_func_powf_use=no
30142 fi
30143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30144 ac_ext=c
30145 ac_cpp='$CPP $CPPFLAGS'
30146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30149
30150
30151 fi
30152
30153 fi
30154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30155 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30156
30157 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30158 for ac_func in powf
30159 do :
30160 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30161 if test "x$ac_cv_func_powf" = x""yes; then :
30162 cat >>confdefs.h <<_ACEOF
30163 #define HAVE_POWF 1
30164 _ACEOF
30165
30166 fi
30167 done
30168
30169 else
30170
30171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30172 $as_echo_n "checking for _powf declaration... " >&6; }
30173 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30174 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30175 $as_echo_n "(cached) " >&6
30176 else
30177
30178
30179 ac_ext=cpp
30180 ac_cpp='$CXXCPP $CPPFLAGS'
30181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30184
30185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30186 /* end confdefs.h. */
30187 #include <math.h>
30188 int
30189 main ()
30190 {
30191 _powf(0, 0);
30192 ;
30193 return 0;
30194 }
30195 _ACEOF
30196 if ac_fn_cxx_try_compile "$LINENO"; then :
30197 glibcxx_cv_func__powf_use=yes
30198 else
30199 glibcxx_cv_func__powf_use=no
30200 fi
30201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30202 ac_ext=c
30203 ac_cpp='$CPP $CPPFLAGS'
30204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30207
30208
30209 fi
30210
30211 fi
30212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30213 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30214
30215 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30216 for ac_func in _powf
30217 do :
30218 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30219 if test "x$ac_cv_func__powf" = x""yes; then :
30220 cat >>confdefs.h <<_ACEOF
30221 #define HAVE__POWF 1
30222 _ACEOF
30223
30224 fi
30225 done
30226
30227 fi
30228 fi
30229
30230
30231
30232
30233
30234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30235 $as_echo_n "checking for sqrtf declaration... " >&6; }
30236 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30237 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30238 $as_echo_n "(cached) " >&6
30239 else
30240
30241
30242 ac_ext=cpp
30243 ac_cpp='$CXXCPP $CPPFLAGS'
30244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30247
30248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30249 /* end confdefs.h. */
30250 #include <math.h>
30251 #ifdef HAVE_IEEEFP_H
30252 #include <ieeefp.h>
30253 #endif
30254
30255 int
30256 main ()
30257 {
30258 sqrtf(0);
30259 ;
30260 return 0;
30261 }
30262 _ACEOF
30263 if ac_fn_cxx_try_compile "$LINENO"; then :
30264 glibcxx_cv_func_sqrtf_use=yes
30265 else
30266 glibcxx_cv_func_sqrtf_use=no
30267 fi
30268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30269 ac_ext=c
30270 ac_cpp='$CPP $CPPFLAGS'
30271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30274
30275
30276 fi
30277
30278 fi
30279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30280 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30281
30282 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30283 for ac_func in sqrtf
30284 do :
30285 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30286 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30287 cat >>confdefs.h <<_ACEOF
30288 #define HAVE_SQRTF 1
30289 _ACEOF
30290
30291 fi
30292 done
30293
30294 else
30295
30296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30297 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30298 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30299 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30300 $as_echo_n "(cached) " >&6
30301 else
30302
30303
30304 ac_ext=cpp
30305 ac_cpp='$CXXCPP $CPPFLAGS'
30306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30309
30310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30311 /* end confdefs.h. */
30312 #include <math.h>
30313 #ifdef HAVE_IEEEFP_H
30314 #include <ieeefp.h>
30315 #endif
30316
30317 int
30318 main ()
30319 {
30320 _sqrtf(0);
30321 ;
30322 return 0;
30323 }
30324 _ACEOF
30325 if ac_fn_cxx_try_compile "$LINENO"; then :
30326 glibcxx_cv_func__sqrtf_use=yes
30327 else
30328 glibcxx_cv_func__sqrtf_use=no
30329 fi
30330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30331 ac_ext=c
30332 ac_cpp='$CPP $CPPFLAGS'
30333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30336
30337
30338 fi
30339
30340 fi
30341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30342 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30343
30344 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30345 for ac_func in _sqrtf
30346 do :
30347 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30348 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30349 cat >>confdefs.h <<_ACEOF
30350 #define HAVE__SQRTF 1
30351 _ACEOF
30352
30353 fi
30354 done
30355
30356 fi
30357 fi
30358
30359
30360
30361
30362
30363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30364 $as_echo_n "checking for sincosf declaration... " >&6; }
30365 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30366 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30367 $as_echo_n "(cached) " >&6
30368 else
30369
30370
30371 ac_ext=cpp
30372 ac_cpp='$CXXCPP $CPPFLAGS'
30373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30376
30377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30378 /* end confdefs.h. */
30379 #include <math.h>
30380 int
30381 main ()
30382 {
30383 sincosf(0, 0, 0);
30384 ;
30385 return 0;
30386 }
30387 _ACEOF
30388 if ac_fn_cxx_try_compile "$LINENO"; then :
30389 glibcxx_cv_func_sincosf_use=yes
30390 else
30391 glibcxx_cv_func_sincosf_use=no
30392 fi
30393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30394 ac_ext=c
30395 ac_cpp='$CPP $CPPFLAGS'
30396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30399
30400
30401 fi
30402
30403 fi
30404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30405 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30406
30407 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30408 for ac_func in sincosf
30409 do :
30410 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30411 if test "x$ac_cv_func_sincosf" = x""yes; then :
30412 cat >>confdefs.h <<_ACEOF
30413 #define HAVE_SINCOSF 1
30414 _ACEOF
30415
30416 fi
30417 done
30418
30419 else
30420
30421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30422 $as_echo_n "checking for _sincosf declaration... " >&6; }
30423 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30424 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30425 $as_echo_n "(cached) " >&6
30426 else
30427
30428
30429 ac_ext=cpp
30430 ac_cpp='$CXXCPP $CPPFLAGS'
30431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30434
30435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30436 /* end confdefs.h. */
30437 #include <math.h>
30438 int
30439 main ()
30440 {
30441 _sincosf(0, 0, 0);
30442 ;
30443 return 0;
30444 }
30445 _ACEOF
30446 if ac_fn_cxx_try_compile "$LINENO"; then :
30447 glibcxx_cv_func__sincosf_use=yes
30448 else
30449 glibcxx_cv_func__sincosf_use=no
30450 fi
30451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30452 ac_ext=c
30453 ac_cpp='$CPP $CPPFLAGS'
30454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30457
30458
30459 fi
30460
30461 fi
30462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30463 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30464
30465 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30466 for ac_func in _sincosf
30467 do :
30468 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30469 if test "x$ac_cv_func__sincosf" = x""yes; then :
30470 cat >>confdefs.h <<_ACEOF
30471 #define HAVE__SINCOSF 1
30472 _ACEOF
30473
30474 fi
30475 done
30476
30477 fi
30478 fi
30479
30480
30481
30482
30483
30484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30485 $as_echo_n "checking for finitef declaration... " >&6; }
30486 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30487 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30488 $as_echo_n "(cached) " >&6
30489 else
30490
30491
30492 ac_ext=cpp
30493 ac_cpp='$CXXCPP $CPPFLAGS'
30494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30497
30498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30499 /* end confdefs.h. */
30500 #include <math.h>
30501 #ifdef HAVE_IEEEFP_H
30502 #include <ieeefp.h>
30503 #endif
30504
30505 int
30506 main ()
30507 {
30508 finitef(0);
30509 ;
30510 return 0;
30511 }
30512 _ACEOF
30513 if ac_fn_cxx_try_compile "$LINENO"; then :
30514 glibcxx_cv_func_finitef_use=yes
30515 else
30516 glibcxx_cv_func_finitef_use=no
30517 fi
30518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30519 ac_ext=c
30520 ac_cpp='$CPP $CPPFLAGS'
30521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30524
30525
30526 fi
30527
30528 fi
30529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30530 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30531
30532 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30533 for ac_func in finitef
30534 do :
30535 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30536 if test "x$ac_cv_func_finitef" = x""yes; then :
30537 cat >>confdefs.h <<_ACEOF
30538 #define HAVE_FINITEF 1
30539 _ACEOF
30540
30541 fi
30542 done
30543
30544 else
30545
30546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30547 $as_echo_n "checking for _finitef declaration... " >&6; }
30548 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30549 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30550 $as_echo_n "(cached) " >&6
30551 else
30552
30553
30554 ac_ext=cpp
30555 ac_cpp='$CXXCPP $CPPFLAGS'
30556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30559
30560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30561 /* end confdefs.h. */
30562 #include <math.h>
30563 #ifdef HAVE_IEEEFP_H
30564 #include <ieeefp.h>
30565 #endif
30566
30567 int
30568 main ()
30569 {
30570 _finitef(0);
30571 ;
30572 return 0;
30573 }
30574 _ACEOF
30575 if ac_fn_cxx_try_compile "$LINENO"; then :
30576 glibcxx_cv_func__finitef_use=yes
30577 else
30578 glibcxx_cv_func__finitef_use=no
30579 fi
30580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30581 ac_ext=c
30582 ac_cpp='$CPP $CPPFLAGS'
30583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30586
30587
30588 fi
30589
30590 fi
30591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30592 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30593
30594 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30595 for ac_func in _finitef
30596 do :
30597 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30598 if test "x$ac_cv_func__finitef" = x""yes; then :
30599 cat >>confdefs.h <<_ACEOF
30600 #define HAVE__FINITEF 1
30601 _ACEOF
30602
30603 fi
30604 done
30605
30606 fi
30607 fi
30608
30609
30610
30611
30612
30613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30614 $as_echo_n "checking for long double trig functions... " >&6; }
30615 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30616 $as_echo_n "(cached) " >&6
30617 else
30618
30619
30620 ac_ext=cpp
30621 ac_cpp='$CXXCPP $CPPFLAGS'
30622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30625
30626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30627 /* end confdefs.h. */
30628 #include <math.h>
30629 int
30630 main ()
30631 {
30632 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30633 ;
30634 return 0;
30635 }
30636 _ACEOF
30637 if ac_fn_cxx_try_compile "$LINENO"; then :
30638 glibcxx_cv_func_long_double_trig_use=yes
30639 else
30640 glibcxx_cv_func_long_double_trig_use=no
30641 fi
30642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30643 ac_ext=c
30644 ac_cpp='$CPP $CPPFLAGS'
30645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30648
30649 fi
30650
30651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30652 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30653 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30654 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30655 do :
30656 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30657 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30658 eval as_val=\$$as_ac_var
30659 if test "x$as_val" = x""yes; then :
30660 cat >>confdefs.h <<_ACEOF
30661 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30662 _ACEOF
30663
30664 fi
30665 done
30666
30667 else
30668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30669 $as_echo_n "checking for _long double trig functions... " >&6; }
30670 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30671 $as_echo_n "(cached) " >&6
30672 else
30673
30674
30675 ac_ext=cpp
30676 ac_cpp='$CXXCPP $CPPFLAGS'
30677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30680
30681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30682 /* end confdefs.h. */
30683 #include <math.h>
30684 int
30685 main ()
30686 {
30687 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30688 ;
30689 return 0;
30690 }
30691 _ACEOF
30692 if ac_fn_cxx_try_compile "$LINENO"; then :
30693 glibcxx_cv_func__long_double_trig_use=yes
30694 else
30695 glibcxx_cv_func__long_double_trig_use=no
30696 fi
30697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30698 ac_ext=c
30699 ac_cpp='$CPP $CPPFLAGS'
30700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30703
30704 fi
30705
30706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30707 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30708 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30709 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30710 do :
30711 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30712 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30713 eval as_val=\$$as_ac_var
30714 if test "x$as_val" = x""yes; then :
30715 cat >>confdefs.h <<_ACEOF
30716 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30717 _ACEOF
30718
30719 fi
30720 done
30721
30722 fi
30723 fi
30724
30725
30726
30727
30728
30729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30730 $as_echo_n "checking for long double round functions... " >&6; }
30731 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30732 $as_echo_n "(cached) " >&6
30733 else
30734
30735
30736 ac_ext=cpp
30737 ac_cpp='$CXXCPP $CPPFLAGS'
30738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30741
30742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30743 /* end confdefs.h. */
30744 #include <math.h>
30745 int
30746 main ()
30747 {
30748 ceill (0); floorl (0);
30749 ;
30750 return 0;
30751 }
30752 _ACEOF
30753 if ac_fn_cxx_try_compile "$LINENO"; then :
30754 glibcxx_cv_func_long_double_round_use=yes
30755 else
30756 glibcxx_cv_func_long_double_round_use=no
30757 fi
30758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30759 ac_ext=c
30760 ac_cpp='$CPP $CPPFLAGS'
30761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30764
30765 fi
30766
30767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30768 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30769 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30770 for ac_func in ceill floorl
30771 do :
30772 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30773 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30774 eval as_val=\$$as_ac_var
30775 if test "x$as_val" = x""yes; then :
30776 cat >>confdefs.h <<_ACEOF
30777 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30778 _ACEOF
30779
30780 fi
30781 done
30782
30783 else
30784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30785 $as_echo_n "checking for _long double round functions... " >&6; }
30786 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30787 $as_echo_n "(cached) " >&6
30788 else
30789
30790
30791 ac_ext=cpp
30792 ac_cpp='$CXXCPP $CPPFLAGS'
30793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30796
30797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30798 /* end confdefs.h. */
30799 #include <math.h>
30800 int
30801 main ()
30802 {
30803 _ceill (0); _floorl (0);
30804 ;
30805 return 0;
30806 }
30807 _ACEOF
30808 if ac_fn_cxx_try_compile "$LINENO"; then :
30809 glibcxx_cv_func__long_double_round_use=yes
30810 else
30811 glibcxx_cv_func__long_double_round_use=no
30812 fi
30813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30814 ac_ext=c
30815 ac_cpp='$CPP $CPPFLAGS'
30816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30819
30820 fi
30821
30822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30823 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30824 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30825 for ac_func in _ceill _floorl
30826 do :
30827 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30828 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30829 eval as_val=\$$as_ac_var
30830 if test "x$as_val" = x""yes; then :
30831 cat >>confdefs.h <<_ACEOF
30832 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30833 _ACEOF
30834
30835 fi
30836 done
30837
30838 fi
30839 fi
30840
30841
30842
30843
30844
30845
30846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30847 $as_echo_n "checking for isnanl declaration... " >&6; }
30848 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30849 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30850 $as_echo_n "(cached) " >&6
30851 else
30852
30853
30854 ac_ext=cpp
30855 ac_cpp='$CXXCPP $CPPFLAGS'
30856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30859
30860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30861 /* end confdefs.h. */
30862 #include <math.h>
30863 #ifdef HAVE_IEEEFP_H
30864 #include <ieeefp.h>
30865 #endif
30866
30867 int
30868 main ()
30869 {
30870 isnanl(0);
30871 ;
30872 return 0;
30873 }
30874 _ACEOF
30875 if ac_fn_cxx_try_compile "$LINENO"; then :
30876 glibcxx_cv_func_isnanl_use=yes
30877 else
30878 glibcxx_cv_func_isnanl_use=no
30879 fi
30880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30881 ac_ext=c
30882 ac_cpp='$CPP $CPPFLAGS'
30883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30886
30887
30888 fi
30889
30890 fi
30891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30892 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30893
30894 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30895 for ac_func in isnanl
30896 do :
30897 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30898 if test "x$ac_cv_func_isnanl" = x""yes; then :
30899 cat >>confdefs.h <<_ACEOF
30900 #define HAVE_ISNANL 1
30901 _ACEOF
30902
30903 fi
30904 done
30905
30906 else
30907
30908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30909 $as_echo_n "checking for _isnanl declaration... " >&6; }
30910 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30911 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30912 $as_echo_n "(cached) " >&6
30913 else
30914
30915
30916 ac_ext=cpp
30917 ac_cpp='$CXXCPP $CPPFLAGS'
30918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30921
30922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30923 /* end confdefs.h. */
30924 #include <math.h>
30925 #ifdef HAVE_IEEEFP_H
30926 #include <ieeefp.h>
30927 #endif
30928
30929 int
30930 main ()
30931 {
30932 _isnanl(0);
30933 ;
30934 return 0;
30935 }
30936 _ACEOF
30937 if ac_fn_cxx_try_compile "$LINENO"; then :
30938 glibcxx_cv_func__isnanl_use=yes
30939 else
30940 glibcxx_cv_func__isnanl_use=no
30941 fi
30942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30943 ac_ext=c
30944 ac_cpp='$CPP $CPPFLAGS'
30945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30948
30949
30950 fi
30951
30952 fi
30953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30954 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30955
30956 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30957 for ac_func in _isnanl
30958 do :
30959 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30960 if test "x$ac_cv_func__isnanl" = x""yes; then :
30961 cat >>confdefs.h <<_ACEOF
30962 #define HAVE__ISNANL 1
30963 _ACEOF
30964
30965 fi
30966 done
30967
30968 fi
30969 fi
30970
30971
30972
30973
30974
30975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30976 $as_echo_n "checking for isinfl declaration... " >&6; }
30977 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30978 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30979 $as_echo_n "(cached) " >&6
30980 else
30981
30982
30983 ac_ext=cpp
30984 ac_cpp='$CXXCPP $CPPFLAGS'
30985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30988
30989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30990 /* end confdefs.h. */
30991 #include <math.h>
30992 #ifdef HAVE_IEEEFP_H
30993 #include <ieeefp.h>
30994 #endif
30995
30996 int
30997 main ()
30998 {
30999 isinfl(0);
31000 ;
31001 return 0;
31002 }
31003 _ACEOF
31004 if ac_fn_cxx_try_compile "$LINENO"; then :
31005 glibcxx_cv_func_isinfl_use=yes
31006 else
31007 glibcxx_cv_func_isinfl_use=no
31008 fi
31009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31010 ac_ext=c
31011 ac_cpp='$CPP $CPPFLAGS'
31012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31015
31016
31017 fi
31018
31019 fi
31020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31021 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31022
31023 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31024 for ac_func in isinfl
31025 do :
31026 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31027 if test "x$ac_cv_func_isinfl" = x""yes; then :
31028 cat >>confdefs.h <<_ACEOF
31029 #define HAVE_ISINFL 1
31030 _ACEOF
31031
31032 fi
31033 done
31034
31035 else
31036
31037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31038 $as_echo_n "checking for _isinfl declaration... " >&6; }
31039 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31040 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31041 $as_echo_n "(cached) " >&6
31042 else
31043
31044
31045 ac_ext=cpp
31046 ac_cpp='$CXXCPP $CPPFLAGS'
31047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31050
31051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31052 /* end confdefs.h. */
31053 #include <math.h>
31054 #ifdef HAVE_IEEEFP_H
31055 #include <ieeefp.h>
31056 #endif
31057
31058 int
31059 main ()
31060 {
31061 _isinfl(0);
31062 ;
31063 return 0;
31064 }
31065 _ACEOF
31066 if ac_fn_cxx_try_compile "$LINENO"; then :
31067 glibcxx_cv_func__isinfl_use=yes
31068 else
31069 glibcxx_cv_func__isinfl_use=no
31070 fi
31071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31072 ac_ext=c
31073 ac_cpp='$CPP $CPPFLAGS'
31074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31077
31078
31079 fi
31080
31081 fi
31082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31083 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31084
31085 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31086 for ac_func in _isinfl
31087 do :
31088 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31089 if test "x$ac_cv_func__isinfl" = x""yes; then :
31090 cat >>confdefs.h <<_ACEOF
31091 #define HAVE__ISINFL 1
31092 _ACEOF
31093
31094 fi
31095 done
31096
31097 fi
31098 fi
31099
31100
31101
31102
31103
31104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31105 $as_echo_n "checking for atan2l declaration... " >&6; }
31106 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31107 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31108 $as_echo_n "(cached) " >&6
31109 else
31110
31111
31112 ac_ext=cpp
31113 ac_cpp='$CXXCPP $CPPFLAGS'
31114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31117
31118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31119 /* end confdefs.h. */
31120 #include <math.h>
31121 int
31122 main ()
31123 {
31124 atan2l(0, 0);
31125 ;
31126 return 0;
31127 }
31128 _ACEOF
31129 if ac_fn_cxx_try_compile "$LINENO"; then :
31130 glibcxx_cv_func_atan2l_use=yes
31131 else
31132 glibcxx_cv_func_atan2l_use=no
31133 fi
31134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31135 ac_ext=c
31136 ac_cpp='$CPP $CPPFLAGS'
31137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31140
31141
31142 fi
31143
31144 fi
31145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31146 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31147
31148 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31149 for ac_func in atan2l
31150 do :
31151 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31152 if test "x$ac_cv_func_atan2l" = x""yes; then :
31153 cat >>confdefs.h <<_ACEOF
31154 #define HAVE_ATAN2L 1
31155 _ACEOF
31156
31157 fi
31158 done
31159
31160 else
31161
31162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31163 $as_echo_n "checking for _atan2l declaration... " >&6; }
31164 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31165 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31166 $as_echo_n "(cached) " >&6
31167 else
31168
31169
31170 ac_ext=cpp
31171 ac_cpp='$CXXCPP $CPPFLAGS'
31172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31175
31176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31177 /* end confdefs.h. */
31178 #include <math.h>
31179 int
31180 main ()
31181 {
31182 _atan2l(0, 0);
31183 ;
31184 return 0;
31185 }
31186 _ACEOF
31187 if ac_fn_cxx_try_compile "$LINENO"; then :
31188 glibcxx_cv_func__atan2l_use=yes
31189 else
31190 glibcxx_cv_func__atan2l_use=no
31191 fi
31192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31193 ac_ext=c
31194 ac_cpp='$CPP $CPPFLAGS'
31195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31198
31199
31200 fi
31201
31202 fi
31203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31204 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31205
31206 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31207 for ac_func in _atan2l
31208 do :
31209 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31210 if test "x$ac_cv_func__atan2l" = x""yes; then :
31211 cat >>confdefs.h <<_ACEOF
31212 #define HAVE__ATAN2L 1
31213 _ACEOF
31214
31215 fi
31216 done
31217
31218 fi
31219 fi
31220
31221
31222
31223
31224
31225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31226 $as_echo_n "checking for expl declaration... " >&6; }
31227 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31228 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31229 $as_echo_n "(cached) " >&6
31230 else
31231
31232
31233 ac_ext=cpp
31234 ac_cpp='$CXXCPP $CPPFLAGS'
31235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31238
31239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31240 /* end confdefs.h. */
31241 #include <math.h>
31242 #ifdef HAVE_IEEEFP_H
31243 #include <ieeefp.h>
31244 #endif
31245
31246 int
31247 main ()
31248 {
31249 expl(0);
31250 ;
31251 return 0;
31252 }
31253 _ACEOF
31254 if ac_fn_cxx_try_compile "$LINENO"; then :
31255 glibcxx_cv_func_expl_use=yes
31256 else
31257 glibcxx_cv_func_expl_use=no
31258 fi
31259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31260 ac_ext=c
31261 ac_cpp='$CPP $CPPFLAGS'
31262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31265
31266
31267 fi
31268
31269 fi
31270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31271 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31272
31273 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31274 for ac_func in expl
31275 do :
31276 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31277 if test "x$ac_cv_func_expl" = x""yes; then :
31278 cat >>confdefs.h <<_ACEOF
31279 #define HAVE_EXPL 1
31280 _ACEOF
31281
31282 fi
31283 done
31284
31285 else
31286
31287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31288 $as_echo_n "checking for _expl declaration... " >&6; }
31289 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31290 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31291 $as_echo_n "(cached) " >&6
31292 else
31293
31294
31295 ac_ext=cpp
31296 ac_cpp='$CXXCPP $CPPFLAGS'
31297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31300
31301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31302 /* end confdefs.h. */
31303 #include <math.h>
31304 #ifdef HAVE_IEEEFP_H
31305 #include <ieeefp.h>
31306 #endif
31307
31308 int
31309 main ()
31310 {
31311 _expl(0);
31312 ;
31313 return 0;
31314 }
31315 _ACEOF
31316 if ac_fn_cxx_try_compile "$LINENO"; then :
31317 glibcxx_cv_func__expl_use=yes
31318 else
31319 glibcxx_cv_func__expl_use=no
31320 fi
31321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31322 ac_ext=c
31323 ac_cpp='$CPP $CPPFLAGS'
31324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31327
31328
31329 fi
31330
31331 fi
31332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31333 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31334
31335 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31336 for ac_func in _expl
31337 do :
31338 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31339 if test "x$ac_cv_func__expl" = x""yes; then :
31340 cat >>confdefs.h <<_ACEOF
31341 #define HAVE__EXPL 1
31342 _ACEOF
31343
31344 fi
31345 done
31346
31347 fi
31348 fi
31349
31350
31351
31352
31353
31354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31355 $as_echo_n "checking for fabsl declaration... " >&6; }
31356 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31357 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31358 $as_echo_n "(cached) " >&6
31359 else
31360
31361
31362 ac_ext=cpp
31363 ac_cpp='$CXXCPP $CPPFLAGS'
31364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31367
31368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31369 /* end confdefs.h. */
31370 #include <math.h>
31371 #ifdef HAVE_IEEEFP_H
31372 #include <ieeefp.h>
31373 #endif
31374
31375 int
31376 main ()
31377 {
31378 fabsl(0);
31379 ;
31380 return 0;
31381 }
31382 _ACEOF
31383 if ac_fn_cxx_try_compile "$LINENO"; then :
31384 glibcxx_cv_func_fabsl_use=yes
31385 else
31386 glibcxx_cv_func_fabsl_use=no
31387 fi
31388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31389 ac_ext=c
31390 ac_cpp='$CPP $CPPFLAGS'
31391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31394
31395
31396 fi
31397
31398 fi
31399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31400 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31401
31402 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31403 for ac_func in fabsl
31404 do :
31405 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31406 if test "x$ac_cv_func_fabsl" = x""yes; then :
31407 cat >>confdefs.h <<_ACEOF
31408 #define HAVE_FABSL 1
31409 _ACEOF
31410
31411 fi
31412 done
31413
31414 else
31415
31416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31417 $as_echo_n "checking for _fabsl declaration... " >&6; }
31418 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31419 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31420 $as_echo_n "(cached) " >&6
31421 else
31422
31423
31424 ac_ext=cpp
31425 ac_cpp='$CXXCPP $CPPFLAGS'
31426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31429
31430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31431 /* end confdefs.h. */
31432 #include <math.h>
31433 #ifdef HAVE_IEEEFP_H
31434 #include <ieeefp.h>
31435 #endif
31436
31437 int
31438 main ()
31439 {
31440 _fabsl(0);
31441 ;
31442 return 0;
31443 }
31444 _ACEOF
31445 if ac_fn_cxx_try_compile "$LINENO"; then :
31446 glibcxx_cv_func__fabsl_use=yes
31447 else
31448 glibcxx_cv_func__fabsl_use=no
31449 fi
31450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31451 ac_ext=c
31452 ac_cpp='$CPP $CPPFLAGS'
31453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31456
31457
31458 fi
31459
31460 fi
31461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31462 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31463
31464 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31465 for ac_func in _fabsl
31466 do :
31467 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31468 if test "x$ac_cv_func__fabsl" = x""yes; then :
31469 cat >>confdefs.h <<_ACEOF
31470 #define HAVE__FABSL 1
31471 _ACEOF
31472
31473 fi
31474 done
31475
31476 fi
31477 fi
31478
31479
31480
31481
31482
31483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31484 $as_echo_n "checking for fmodl declaration... " >&6; }
31485 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31486 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31487 $as_echo_n "(cached) " >&6
31488 else
31489
31490
31491 ac_ext=cpp
31492 ac_cpp='$CXXCPP $CPPFLAGS'
31493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31496
31497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31498 /* end confdefs.h. */
31499 #include <math.h>
31500 int
31501 main ()
31502 {
31503 fmodl(0, 0);
31504 ;
31505 return 0;
31506 }
31507 _ACEOF
31508 if ac_fn_cxx_try_compile "$LINENO"; then :
31509 glibcxx_cv_func_fmodl_use=yes
31510 else
31511 glibcxx_cv_func_fmodl_use=no
31512 fi
31513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31514 ac_ext=c
31515 ac_cpp='$CPP $CPPFLAGS'
31516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31519
31520
31521 fi
31522
31523 fi
31524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31525 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31526
31527 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31528 for ac_func in fmodl
31529 do :
31530 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31531 if test "x$ac_cv_func_fmodl" = x""yes; then :
31532 cat >>confdefs.h <<_ACEOF
31533 #define HAVE_FMODL 1
31534 _ACEOF
31535
31536 fi
31537 done
31538
31539 else
31540
31541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31542 $as_echo_n "checking for _fmodl declaration... " >&6; }
31543 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31544 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31545 $as_echo_n "(cached) " >&6
31546 else
31547
31548
31549 ac_ext=cpp
31550 ac_cpp='$CXXCPP $CPPFLAGS'
31551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31554
31555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31556 /* end confdefs.h. */
31557 #include <math.h>
31558 int
31559 main ()
31560 {
31561 _fmodl(0, 0);
31562 ;
31563 return 0;
31564 }
31565 _ACEOF
31566 if ac_fn_cxx_try_compile "$LINENO"; then :
31567 glibcxx_cv_func__fmodl_use=yes
31568 else
31569 glibcxx_cv_func__fmodl_use=no
31570 fi
31571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31572 ac_ext=c
31573 ac_cpp='$CPP $CPPFLAGS'
31574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31577
31578
31579 fi
31580
31581 fi
31582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31583 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31584
31585 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31586 for ac_func in _fmodl
31587 do :
31588 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31589 if test "x$ac_cv_func__fmodl" = x""yes; then :
31590 cat >>confdefs.h <<_ACEOF
31591 #define HAVE__FMODL 1
31592 _ACEOF
31593
31594 fi
31595 done
31596
31597 fi
31598 fi
31599
31600
31601
31602
31603
31604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31605 $as_echo_n "checking for frexpl declaration... " >&6; }
31606 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31607 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31608 $as_echo_n "(cached) " >&6
31609 else
31610
31611
31612 ac_ext=cpp
31613 ac_cpp='$CXXCPP $CPPFLAGS'
31614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31617
31618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31619 /* end confdefs.h. */
31620 #include <math.h>
31621 int
31622 main ()
31623 {
31624 frexpl(0, 0);
31625 ;
31626 return 0;
31627 }
31628 _ACEOF
31629 if ac_fn_cxx_try_compile "$LINENO"; then :
31630 glibcxx_cv_func_frexpl_use=yes
31631 else
31632 glibcxx_cv_func_frexpl_use=no
31633 fi
31634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31635 ac_ext=c
31636 ac_cpp='$CPP $CPPFLAGS'
31637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31640
31641
31642 fi
31643
31644 fi
31645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31646 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31647
31648 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31649 for ac_func in frexpl
31650 do :
31651 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31652 if test "x$ac_cv_func_frexpl" = x""yes; then :
31653 cat >>confdefs.h <<_ACEOF
31654 #define HAVE_FREXPL 1
31655 _ACEOF
31656
31657 fi
31658 done
31659
31660 else
31661
31662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31663 $as_echo_n "checking for _frexpl declaration... " >&6; }
31664 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31665 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31666 $as_echo_n "(cached) " >&6
31667 else
31668
31669
31670 ac_ext=cpp
31671 ac_cpp='$CXXCPP $CPPFLAGS'
31672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31675
31676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31677 /* end confdefs.h. */
31678 #include <math.h>
31679 int
31680 main ()
31681 {
31682 _frexpl(0, 0);
31683 ;
31684 return 0;
31685 }
31686 _ACEOF
31687 if ac_fn_cxx_try_compile "$LINENO"; then :
31688 glibcxx_cv_func__frexpl_use=yes
31689 else
31690 glibcxx_cv_func__frexpl_use=no
31691 fi
31692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31693 ac_ext=c
31694 ac_cpp='$CPP $CPPFLAGS'
31695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31698
31699
31700 fi
31701
31702 fi
31703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31704 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31705
31706 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31707 for ac_func in _frexpl
31708 do :
31709 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31710 if test "x$ac_cv_func__frexpl" = x""yes; then :
31711 cat >>confdefs.h <<_ACEOF
31712 #define HAVE__FREXPL 1
31713 _ACEOF
31714
31715 fi
31716 done
31717
31718 fi
31719 fi
31720
31721
31722
31723
31724
31725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31726 $as_echo_n "checking for hypotl declaration... " >&6; }
31727 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31728 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31729 $as_echo_n "(cached) " >&6
31730 else
31731
31732
31733 ac_ext=cpp
31734 ac_cpp='$CXXCPP $CPPFLAGS'
31735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31738
31739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31740 /* end confdefs.h. */
31741 #include <math.h>
31742 int
31743 main ()
31744 {
31745 hypotl(0, 0);
31746 ;
31747 return 0;
31748 }
31749 _ACEOF
31750 if ac_fn_cxx_try_compile "$LINENO"; then :
31751 glibcxx_cv_func_hypotl_use=yes
31752 else
31753 glibcxx_cv_func_hypotl_use=no
31754 fi
31755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31756 ac_ext=c
31757 ac_cpp='$CPP $CPPFLAGS'
31758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31761
31762
31763 fi
31764
31765 fi
31766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31767 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31768
31769 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31770 for ac_func in hypotl
31771 do :
31772 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31773 if test "x$ac_cv_func_hypotl" = x""yes; then :
31774 cat >>confdefs.h <<_ACEOF
31775 #define HAVE_HYPOTL 1
31776 _ACEOF
31777
31778 fi
31779 done
31780
31781 else
31782
31783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31784 $as_echo_n "checking for _hypotl declaration... " >&6; }
31785 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31786 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31787 $as_echo_n "(cached) " >&6
31788 else
31789
31790
31791 ac_ext=cpp
31792 ac_cpp='$CXXCPP $CPPFLAGS'
31793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31796
31797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31798 /* end confdefs.h. */
31799 #include <math.h>
31800 int
31801 main ()
31802 {
31803 _hypotl(0, 0);
31804 ;
31805 return 0;
31806 }
31807 _ACEOF
31808 if ac_fn_cxx_try_compile "$LINENO"; then :
31809 glibcxx_cv_func__hypotl_use=yes
31810 else
31811 glibcxx_cv_func__hypotl_use=no
31812 fi
31813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31814 ac_ext=c
31815 ac_cpp='$CPP $CPPFLAGS'
31816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31819
31820
31821 fi
31822
31823 fi
31824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31825 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31826
31827 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31828 for ac_func in _hypotl
31829 do :
31830 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31831 if test "x$ac_cv_func__hypotl" = x""yes; then :
31832 cat >>confdefs.h <<_ACEOF
31833 #define HAVE__HYPOTL 1
31834 _ACEOF
31835
31836 fi
31837 done
31838
31839 fi
31840 fi
31841
31842
31843
31844
31845
31846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31847 $as_echo_n "checking for ldexpl declaration... " >&6; }
31848 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31849 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31850 $as_echo_n "(cached) " >&6
31851 else
31852
31853
31854 ac_ext=cpp
31855 ac_cpp='$CXXCPP $CPPFLAGS'
31856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31859
31860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31861 /* end confdefs.h. */
31862 #include <math.h>
31863 int
31864 main ()
31865 {
31866 ldexpl(0, 0);
31867 ;
31868 return 0;
31869 }
31870 _ACEOF
31871 if ac_fn_cxx_try_compile "$LINENO"; then :
31872 glibcxx_cv_func_ldexpl_use=yes
31873 else
31874 glibcxx_cv_func_ldexpl_use=no
31875 fi
31876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31877 ac_ext=c
31878 ac_cpp='$CPP $CPPFLAGS'
31879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31882
31883
31884 fi
31885
31886 fi
31887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31888 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31889
31890 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31891 for ac_func in ldexpl
31892 do :
31893 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31894 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31895 cat >>confdefs.h <<_ACEOF
31896 #define HAVE_LDEXPL 1
31897 _ACEOF
31898
31899 fi
31900 done
31901
31902 else
31903
31904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31905 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31906 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31907 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31908 $as_echo_n "(cached) " >&6
31909 else
31910
31911
31912 ac_ext=cpp
31913 ac_cpp='$CXXCPP $CPPFLAGS'
31914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31917
31918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31919 /* end confdefs.h. */
31920 #include <math.h>
31921 int
31922 main ()
31923 {
31924 _ldexpl(0, 0);
31925 ;
31926 return 0;
31927 }
31928 _ACEOF
31929 if ac_fn_cxx_try_compile "$LINENO"; then :
31930 glibcxx_cv_func__ldexpl_use=yes
31931 else
31932 glibcxx_cv_func__ldexpl_use=no
31933 fi
31934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31935 ac_ext=c
31936 ac_cpp='$CPP $CPPFLAGS'
31937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31940
31941
31942 fi
31943
31944 fi
31945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31946 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31947
31948 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31949 for ac_func in _ldexpl
31950 do :
31951 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31952 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31953 cat >>confdefs.h <<_ACEOF
31954 #define HAVE__LDEXPL 1
31955 _ACEOF
31956
31957 fi
31958 done
31959
31960 fi
31961 fi
31962
31963
31964
31965
31966
31967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31968 $as_echo_n "checking for logl declaration... " >&6; }
31969 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31970 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31971 $as_echo_n "(cached) " >&6
31972 else
31973
31974
31975 ac_ext=cpp
31976 ac_cpp='$CXXCPP $CPPFLAGS'
31977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31980
31981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31982 /* end confdefs.h. */
31983 #include <math.h>
31984 #ifdef HAVE_IEEEFP_H
31985 #include <ieeefp.h>
31986 #endif
31987
31988 int
31989 main ()
31990 {
31991 logl(0);
31992 ;
31993 return 0;
31994 }
31995 _ACEOF
31996 if ac_fn_cxx_try_compile "$LINENO"; then :
31997 glibcxx_cv_func_logl_use=yes
31998 else
31999 glibcxx_cv_func_logl_use=no
32000 fi
32001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32002 ac_ext=c
32003 ac_cpp='$CPP $CPPFLAGS'
32004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32007
32008
32009 fi
32010
32011 fi
32012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32013 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32014
32015 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32016 for ac_func in logl
32017 do :
32018 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32019 if test "x$ac_cv_func_logl" = x""yes; then :
32020 cat >>confdefs.h <<_ACEOF
32021 #define HAVE_LOGL 1
32022 _ACEOF
32023
32024 fi
32025 done
32026
32027 else
32028
32029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32030 $as_echo_n "checking for _logl declaration... " >&6; }
32031 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32032 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32033 $as_echo_n "(cached) " >&6
32034 else
32035
32036
32037 ac_ext=cpp
32038 ac_cpp='$CXXCPP $CPPFLAGS'
32039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32042
32043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32044 /* end confdefs.h. */
32045 #include <math.h>
32046 #ifdef HAVE_IEEEFP_H
32047 #include <ieeefp.h>
32048 #endif
32049
32050 int
32051 main ()
32052 {
32053 _logl(0);
32054 ;
32055 return 0;
32056 }
32057 _ACEOF
32058 if ac_fn_cxx_try_compile "$LINENO"; then :
32059 glibcxx_cv_func__logl_use=yes
32060 else
32061 glibcxx_cv_func__logl_use=no
32062 fi
32063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32064 ac_ext=c
32065 ac_cpp='$CPP $CPPFLAGS'
32066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32069
32070
32071 fi
32072
32073 fi
32074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32075 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32076
32077 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32078 for ac_func in _logl
32079 do :
32080 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32081 if test "x$ac_cv_func__logl" = x""yes; then :
32082 cat >>confdefs.h <<_ACEOF
32083 #define HAVE__LOGL 1
32084 _ACEOF
32085
32086 fi
32087 done
32088
32089 fi
32090 fi
32091
32092
32093
32094
32095
32096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32097 $as_echo_n "checking for log10l declaration... " >&6; }
32098 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32099 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32100 $as_echo_n "(cached) " >&6
32101 else
32102
32103
32104 ac_ext=cpp
32105 ac_cpp='$CXXCPP $CPPFLAGS'
32106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32109
32110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32111 /* end confdefs.h. */
32112 #include <math.h>
32113 #ifdef HAVE_IEEEFP_H
32114 #include <ieeefp.h>
32115 #endif
32116
32117 int
32118 main ()
32119 {
32120 log10l(0);
32121 ;
32122 return 0;
32123 }
32124 _ACEOF
32125 if ac_fn_cxx_try_compile "$LINENO"; then :
32126 glibcxx_cv_func_log10l_use=yes
32127 else
32128 glibcxx_cv_func_log10l_use=no
32129 fi
32130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32131 ac_ext=c
32132 ac_cpp='$CPP $CPPFLAGS'
32133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32136
32137
32138 fi
32139
32140 fi
32141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32142 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32143
32144 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32145 for ac_func in log10l
32146 do :
32147 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32148 if test "x$ac_cv_func_log10l" = x""yes; then :
32149 cat >>confdefs.h <<_ACEOF
32150 #define HAVE_LOG10L 1
32151 _ACEOF
32152
32153 fi
32154 done
32155
32156 else
32157
32158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32159 $as_echo_n "checking for _log10l declaration... " >&6; }
32160 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32161 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32162 $as_echo_n "(cached) " >&6
32163 else
32164
32165
32166 ac_ext=cpp
32167 ac_cpp='$CXXCPP $CPPFLAGS'
32168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32171
32172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32173 /* end confdefs.h. */
32174 #include <math.h>
32175 #ifdef HAVE_IEEEFP_H
32176 #include <ieeefp.h>
32177 #endif
32178
32179 int
32180 main ()
32181 {
32182 _log10l(0);
32183 ;
32184 return 0;
32185 }
32186 _ACEOF
32187 if ac_fn_cxx_try_compile "$LINENO"; then :
32188 glibcxx_cv_func__log10l_use=yes
32189 else
32190 glibcxx_cv_func__log10l_use=no
32191 fi
32192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32193 ac_ext=c
32194 ac_cpp='$CPP $CPPFLAGS'
32195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32198
32199
32200 fi
32201
32202 fi
32203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32204 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32205
32206 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32207 for ac_func in _log10l
32208 do :
32209 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32210 if test "x$ac_cv_func__log10l" = x""yes; then :
32211 cat >>confdefs.h <<_ACEOF
32212 #define HAVE__LOG10L 1
32213 _ACEOF
32214
32215 fi
32216 done
32217
32218 fi
32219 fi
32220
32221
32222
32223
32224
32225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32226 $as_echo_n "checking for modfl declaration... " >&6; }
32227 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32228 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32229 $as_echo_n "(cached) " >&6
32230 else
32231
32232
32233 ac_ext=cpp
32234 ac_cpp='$CXXCPP $CPPFLAGS'
32235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32238
32239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32240 /* end confdefs.h. */
32241 #include <math.h>
32242 int
32243 main ()
32244 {
32245 modfl(0, 0);
32246 ;
32247 return 0;
32248 }
32249 _ACEOF
32250 if ac_fn_cxx_try_compile "$LINENO"; then :
32251 glibcxx_cv_func_modfl_use=yes
32252 else
32253 glibcxx_cv_func_modfl_use=no
32254 fi
32255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32256 ac_ext=c
32257 ac_cpp='$CPP $CPPFLAGS'
32258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32261
32262
32263 fi
32264
32265 fi
32266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32267 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32268
32269 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32270 for ac_func in modfl
32271 do :
32272 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32273 if test "x$ac_cv_func_modfl" = x""yes; then :
32274 cat >>confdefs.h <<_ACEOF
32275 #define HAVE_MODFL 1
32276 _ACEOF
32277
32278 fi
32279 done
32280
32281 else
32282
32283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32284 $as_echo_n "checking for _modfl declaration... " >&6; }
32285 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32286 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32287 $as_echo_n "(cached) " >&6
32288 else
32289
32290
32291 ac_ext=cpp
32292 ac_cpp='$CXXCPP $CPPFLAGS'
32293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32296
32297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32298 /* end confdefs.h. */
32299 #include <math.h>
32300 int
32301 main ()
32302 {
32303 _modfl(0, 0);
32304 ;
32305 return 0;
32306 }
32307 _ACEOF
32308 if ac_fn_cxx_try_compile "$LINENO"; then :
32309 glibcxx_cv_func__modfl_use=yes
32310 else
32311 glibcxx_cv_func__modfl_use=no
32312 fi
32313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32314 ac_ext=c
32315 ac_cpp='$CPP $CPPFLAGS'
32316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32319
32320
32321 fi
32322
32323 fi
32324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32325 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32326
32327 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32328 for ac_func in _modfl
32329 do :
32330 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32331 if test "x$ac_cv_func__modfl" = x""yes; then :
32332 cat >>confdefs.h <<_ACEOF
32333 #define HAVE__MODFL 1
32334 _ACEOF
32335
32336 fi
32337 done
32338
32339 fi
32340 fi
32341
32342
32343
32344
32345
32346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32347 $as_echo_n "checking for powl declaration... " >&6; }
32348 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32349 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32350 $as_echo_n "(cached) " >&6
32351 else
32352
32353
32354 ac_ext=cpp
32355 ac_cpp='$CXXCPP $CPPFLAGS'
32356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32359
32360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32361 /* end confdefs.h. */
32362 #include <math.h>
32363 int
32364 main ()
32365 {
32366 powl(0, 0);
32367 ;
32368 return 0;
32369 }
32370 _ACEOF
32371 if ac_fn_cxx_try_compile "$LINENO"; then :
32372 glibcxx_cv_func_powl_use=yes
32373 else
32374 glibcxx_cv_func_powl_use=no
32375 fi
32376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32377 ac_ext=c
32378 ac_cpp='$CPP $CPPFLAGS'
32379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32382
32383
32384 fi
32385
32386 fi
32387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32388 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32389
32390 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32391 for ac_func in powl
32392 do :
32393 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32394 if test "x$ac_cv_func_powl" = x""yes; then :
32395 cat >>confdefs.h <<_ACEOF
32396 #define HAVE_POWL 1
32397 _ACEOF
32398
32399 fi
32400 done
32401
32402 else
32403
32404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32405 $as_echo_n "checking for _powl declaration... " >&6; }
32406 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32407 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32408 $as_echo_n "(cached) " >&6
32409 else
32410
32411
32412 ac_ext=cpp
32413 ac_cpp='$CXXCPP $CPPFLAGS'
32414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32417
32418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32419 /* end confdefs.h. */
32420 #include <math.h>
32421 int
32422 main ()
32423 {
32424 _powl(0, 0);
32425 ;
32426 return 0;
32427 }
32428 _ACEOF
32429 if ac_fn_cxx_try_compile "$LINENO"; then :
32430 glibcxx_cv_func__powl_use=yes
32431 else
32432 glibcxx_cv_func__powl_use=no
32433 fi
32434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32435 ac_ext=c
32436 ac_cpp='$CPP $CPPFLAGS'
32437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32440
32441
32442 fi
32443
32444 fi
32445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32446 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32447
32448 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32449 for ac_func in _powl
32450 do :
32451 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32452 if test "x$ac_cv_func__powl" = x""yes; then :
32453 cat >>confdefs.h <<_ACEOF
32454 #define HAVE__POWL 1
32455 _ACEOF
32456
32457 fi
32458 done
32459
32460 fi
32461 fi
32462
32463
32464
32465
32466
32467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32468 $as_echo_n "checking for sqrtl declaration... " >&6; }
32469 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32470 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32471 $as_echo_n "(cached) " >&6
32472 else
32473
32474
32475 ac_ext=cpp
32476 ac_cpp='$CXXCPP $CPPFLAGS'
32477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32480
32481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32482 /* end confdefs.h. */
32483 #include <math.h>
32484 #ifdef HAVE_IEEEFP_H
32485 #include <ieeefp.h>
32486 #endif
32487
32488 int
32489 main ()
32490 {
32491 sqrtl(0);
32492 ;
32493 return 0;
32494 }
32495 _ACEOF
32496 if ac_fn_cxx_try_compile "$LINENO"; then :
32497 glibcxx_cv_func_sqrtl_use=yes
32498 else
32499 glibcxx_cv_func_sqrtl_use=no
32500 fi
32501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32502 ac_ext=c
32503 ac_cpp='$CPP $CPPFLAGS'
32504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32507
32508
32509 fi
32510
32511 fi
32512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32513 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32514
32515 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32516 for ac_func in sqrtl
32517 do :
32518 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32519 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32520 cat >>confdefs.h <<_ACEOF
32521 #define HAVE_SQRTL 1
32522 _ACEOF
32523
32524 fi
32525 done
32526
32527 else
32528
32529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32530 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32531 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32532 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32533 $as_echo_n "(cached) " >&6
32534 else
32535
32536
32537 ac_ext=cpp
32538 ac_cpp='$CXXCPP $CPPFLAGS'
32539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32542
32543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32544 /* end confdefs.h. */
32545 #include <math.h>
32546 #ifdef HAVE_IEEEFP_H
32547 #include <ieeefp.h>
32548 #endif
32549
32550 int
32551 main ()
32552 {
32553 _sqrtl(0);
32554 ;
32555 return 0;
32556 }
32557 _ACEOF
32558 if ac_fn_cxx_try_compile "$LINENO"; then :
32559 glibcxx_cv_func__sqrtl_use=yes
32560 else
32561 glibcxx_cv_func__sqrtl_use=no
32562 fi
32563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32564 ac_ext=c
32565 ac_cpp='$CPP $CPPFLAGS'
32566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32569
32570
32571 fi
32572
32573 fi
32574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32575 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32576
32577 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32578 for ac_func in _sqrtl
32579 do :
32580 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32581 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32582 cat >>confdefs.h <<_ACEOF
32583 #define HAVE__SQRTL 1
32584 _ACEOF
32585
32586 fi
32587 done
32588
32589 fi
32590 fi
32591
32592
32593
32594
32595
32596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32597 $as_echo_n "checking for sincosl declaration... " >&6; }
32598 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32599 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32600 $as_echo_n "(cached) " >&6
32601 else
32602
32603
32604 ac_ext=cpp
32605 ac_cpp='$CXXCPP $CPPFLAGS'
32606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32609
32610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32611 /* end confdefs.h. */
32612 #include <math.h>
32613 int
32614 main ()
32615 {
32616 sincosl(0, 0, 0);
32617 ;
32618 return 0;
32619 }
32620 _ACEOF
32621 if ac_fn_cxx_try_compile "$LINENO"; then :
32622 glibcxx_cv_func_sincosl_use=yes
32623 else
32624 glibcxx_cv_func_sincosl_use=no
32625 fi
32626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32627 ac_ext=c
32628 ac_cpp='$CPP $CPPFLAGS'
32629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32632
32633
32634 fi
32635
32636 fi
32637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32638 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32639
32640 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32641 for ac_func in sincosl
32642 do :
32643 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32644 if test "x$ac_cv_func_sincosl" = x""yes; then :
32645 cat >>confdefs.h <<_ACEOF
32646 #define HAVE_SINCOSL 1
32647 _ACEOF
32648
32649 fi
32650 done
32651
32652 else
32653
32654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32655 $as_echo_n "checking for _sincosl declaration... " >&6; }
32656 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32657 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32658 $as_echo_n "(cached) " >&6
32659 else
32660
32661
32662 ac_ext=cpp
32663 ac_cpp='$CXXCPP $CPPFLAGS'
32664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32667
32668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32669 /* end confdefs.h. */
32670 #include <math.h>
32671 int
32672 main ()
32673 {
32674 _sincosl(0, 0, 0);
32675 ;
32676 return 0;
32677 }
32678 _ACEOF
32679 if ac_fn_cxx_try_compile "$LINENO"; then :
32680 glibcxx_cv_func__sincosl_use=yes
32681 else
32682 glibcxx_cv_func__sincosl_use=no
32683 fi
32684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32685 ac_ext=c
32686 ac_cpp='$CPP $CPPFLAGS'
32687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32690
32691
32692 fi
32693
32694 fi
32695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32696 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32697
32698 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32699 for ac_func in _sincosl
32700 do :
32701 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32702 if test "x$ac_cv_func__sincosl" = x""yes; then :
32703 cat >>confdefs.h <<_ACEOF
32704 #define HAVE__SINCOSL 1
32705 _ACEOF
32706
32707 fi
32708 done
32709
32710 fi
32711 fi
32712
32713
32714
32715
32716
32717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32718 $as_echo_n "checking for finitel declaration... " >&6; }
32719 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32720 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32721 $as_echo_n "(cached) " >&6
32722 else
32723
32724
32725 ac_ext=cpp
32726 ac_cpp='$CXXCPP $CPPFLAGS'
32727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32730
32731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32732 /* end confdefs.h. */
32733 #include <math.h>
32734 #ifdef HAVE_IEEEFP_H
32735 #include <ieeefp.h>
32736 #endif
32737
32738 int
32739 main ()
32740 {
32741 finitel(0);
32742 ;
32743 return 0;
32744 }
32745 _ACEOF
32746 if ac_fn_cxx_try_compile "$LINENO"; then :
32747 glibcxx_cv_func_finitel_use=yes
32748 else
32749 glibcxx_cv_func_finitel_use=no
32750 fi
32751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32752 ac_ext=c
32753 ac_cpp='$CPP $CPPFLAGS'
32754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32757
32758
32759 fi
32760
32761 fi
32762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32763 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32764
32765 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32766 for ac_func in finitel
32767 do :
32768 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32769 if test "x$ac_cv_func_finitel" = x""yes; then :
32770 cat >>confdefs.h <<_ACEOF
32771 #define HAVE_FINITEL 1
32772 _ACEOF
32773
32774 fi
32775 done
32776
32777 else
32778
32779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32780 $as_echo_n "checking for _finitel declaration... " >&6; }
32781 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32782 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32783 $as_echo_n "(cached) " >&6
32784 else
32785
32786
32787 ac_ext=cpp
32788 ac_cpp='$CXXCPP $CPPFLAGS'
32789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32792
32793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32794 /* end confdefs.h. */
32795 #include <math.h>
32796 #ifdef HAVE_IEEEFP_H
32797 #include <ieeefp.h>
32798 #endif
32799
32800 int
32801 main ()
32802 {
32803 _finitel(0);
32804 ;
32805 return 0;
32806 }
32807 _ACEOF
32808 if ac_fn_cxx_try_compile "$LINENO"; then :
32809 glibcxx_cv_func__finitel_use=yes
32810 else
32811 glibcxx_cv_func__finitel_use=no
32812 fi
32813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32814 ac_ext=c
32815 ac_cpp='$CPP $CPPFLAGS'
32816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32819
32820
32821 fi
32822
32823 fi
32824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32825 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32826
32827 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32828 for ac_func in _finitel
32829 do :
32830 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32831 if test "x$ac_cv_func__finitel" = x""yes; then :
32832 cat >>confdefs.h <<_ACEOF
32833 #define HAVE__FINITEL 1
32834 _ACEOF
32835
32836 fi
32837 done
32838
32839 fi
32840 fi
32841
32842
32843
32844
32845 LIBS="$ac_save_LIBS"
32846 CXXFLAGS="$ac_save_CXXFLAGS"
32847
32848
32849 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32850 ac_save_CXXFLAGS="$CXXFLAGS"
32851 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32852
32853
32854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32855 $as_echo_n "checking for strtold declaration... " >&6; }
32856 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32857 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32858 $as_echo_n "(cached) " >&6
32859 else
32860
32861
32862 ac_ext=cpp
32863 ac_cpp='$CXXCPP $CPPFLAGS'
32864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32867
32868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32869 /* end confdefs.h. */
32870 #include <stdlib.h>
32871 int
32872 main ()
32873 {
32874 strtold(0, 0);
32875 ;
32876 return 0;
32877 }
32878 _ACEOF
32879 if ac_fn_cxx_try_compile "$LINENO"; then :
32880 glibcxx_cv_func_strtold_use=yes
32881 else
32882 glibcxx_cv_func_strtold_use=no
32883 fi
32884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32885 ac_ext=c
32886 ac_cpp='$CPP $CPPFLAGS'
32887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32890
32891
32892 fi
32893
32894 fi
32895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
32896 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32897 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32898 for ac_func in strtold
32899 do :
32900 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32901 if test "x$ac_cv_func_strtold" = x""yes; then :
32902 cat >>confdefs.h <<_ACEOF
32903 #define HAVE_STRTOLD 1
32904 _ACEOF
32905
32906 fi
32907 done
32908
32909 fi
32910
32911
32912
32913
32914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32915 $as_echo_n "checking for strtof declaration... " >&6; }
32916 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32917 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32918 $as_echo_n "(cached) " >&6
32919 else
32920
32921
32922 ac_ext=cpp
32923 ac_cpp='$CXXCPP $CPPFLAGS'
32924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32927
32928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32929 /* end confdefs.h. */
32930 #include <stdlib.h>
32931 int
32932 main ()
32933 {
32934 strtof(0, 0);
32935 ;
32936 return 0;
32937 }
32938 _ACEOF
32939 if ac_fn_cxx_try_compile "$LINENO"; then :
32940 glibcxx_cv_func_strtof_use=yes
32941 else
32942 glibcxx_cv_func_strtof_use=no
32943 fi
32944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32945 ac_ext=c
32946 ac_cpp='$CPP $CPPFLAGS'
32947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32950
32951
32952 fi
32953
32954 fi
32955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32956 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32957 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32958 for ac_func in strtof
32959 do :
32960 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32961 if test "x$ac_cv_func_strtof" = x""yes; then :
32962 cat >>confdefs.h <<_ACEOF
32963 #define HAVE_STRTOF 1
32964 _ACEOF
32965
32966 fi
32967 done
32968
32969 fi
32970
32971
32972
32973
32974 CXXFLAGS="$ac_save_CXXFLAGS"
32975
32976
32977 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32978
32979 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32980
32981 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32982
32983 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32984
32985
32986 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32987
32988 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32989
32990 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32991
32992 ;;
32993
32994 *-aix*)
32995
32996 # If we're not using GNU ld, then there's no point in even trying these
32997 # tests. Check for that first. We should have already tested for gld
32998 # by now (in libtool), but require it now just to be safe...
32999 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33000 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33001
33002
33003
33004 # The name set by libtool depends on the version of libtool. Shame on us
33005 # for depending on an impl detail, but c'est la vie. Older versions used
33006 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33007 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33008 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33009 # set (hence we're using an older libtool), then set it.
33010 if test x${with_gnu_ld+set} != xset; then
33011 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33012 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33013 with_gnu_ld=no
33014 else
33015 with_gnu_ld=$ac_cv_prog_gnu_ld
33016 fi
33017 fi
33018
33019 # Start by getting the version number. I think the libtool test already
33020 # does some of this, but throws away the result.
33021 glibcxx_ld_is_gold=no
33022 if test x"$with_gnu_ld" = x"yes"; then
33023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33024 $as_echo_n "checking for ld version... " >&6; }
33025
33026 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33027 glibcxx_ld_is_gold=yes
33028 fi
33029 ldver=`$LD --version 2>/dev/null |
33030 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'`
33031
33032 glibcxx_gnu_ld_version=`echo $ldver | \
33033 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33035 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33036 fi
33037
33038 # Set --gc-sections.
33039 glibcxx_have_gc_sections=no
33040 if test "$glibcxx_ld_is_gold" = "yes"; then
33041 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33042 glibcxx_have_gc_sections=yes
33043 fi
33044 else
33045 glibcxx_gcsections_min_ld=21602
33046 if test x"$with_gnu_ld" = x"yes" &&
33047 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33048 glibcxx_have_gc_sections=yes
33049 fi
33050 fi
33051 if test "$glibcxx_have_gc_sections" = "yes"; then
33052 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33053 # NB: This flag only works reliably after 2.16.1. Configure tests
33054 # for this are difficult, so hard wire a value that should work.
33055
33056 ac_test_CFLAGS="${CFLAGS+set}"
33057 ac_save_CFLAGS="$CFLAGS"
33058 CFLAGS='-Wl,--gc-sections'
33059
33060 # Check for -Wl,--gc-sections
33061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33062 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33063 if test x$gcc_no_link = xyes; then
33064 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33065 fi
33066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33067 /* end confdefs.h. */
33068 int one(void) { return 1; }
33069 int two(void) { return 2; }
33070
33071 int
33072 main ()
33073 {
33074 two();
33075 ;
33076 return 0;
33077 }
33078 _ACEOF
33079 if ac_fn_c_try_link "$LINENO"; then :
33080 ac_gcsections=yes
33081 else
33082 ac_gcsections=no
33083 fi
33084 rm -f core conftest.err conftest.$ac_objext \
33085 conftest$ac_exeext conftest.$ac_ext
33086 if test "$ac_gcsections" = "yes"; then
33087 rm -f conftest.c
33088 touch conftest.c
33089 if $CC -c conftest.c; then
33090 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33091 grep "Warning: gc-sections option ignored" > /dev/null; then
33092 ac_gcsections=no
33093 fi
33094 fi
33095 rm -f conftest.c conftest.o conftest
33096 fi
33097 if test "$ac_gcsections" = "yes"; then
33098 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33099 fi
33100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33101 $as_echo "$ac_gcsections" >&6; }
33102
33103 if test "$ac_test_CFLAGS" = set; then
33104 CFLAGS="$ac_save_CFLAGS"
33105 else
33106 # this is the suspicious part
33107 CFLAGS=''
33108 fi
33109 fi
33110
33111 # Set -z,relro.
33112 # Note this is only for shared objects.
33113 ac_ld_relro=no
33114 if test x"$with_gnu_ld" = x"yes"; then
33115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33116 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33117 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33118 if test -n "$cxx_z_relo"; then
33119 OPT_LDFLAGS="-Wl,-z,relro"
33120 ac_ld_relro=yes
33121 fi
33122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33123 $as_echo "$ac_ld_relro" >&6; }
33124 fi
33125
33126 # Set linker optimization flags.
33127 if test x"$with_gnu_ld" = x"yes"; then
33128 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33129 fi
33130
33131
33132
33133
33134
33135 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33136 ac_save_CXXFLAGS="$CXXFLAGS"
33137 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33138
33139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33140 $as_echo_n "checking for sin in -lm... " >&6; }
33141 if test "${ac_cv_lib_m_sin+set}" = set; then :
33142 $as_echo_n "(cached) " >&6
33143 else
33144 ac_check_lib_save_LIBS=$LIBS
33145 LIBS="-lm $LIBS"
33146 if test x$gcc_no_link = xyes; then
33147 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33148 fi
33149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33150 /* end confdefs.h. */
33151
33152 /* Override any GCC internal prototype to avoid an error.
33153 Use char because int might match the return type of a GCC
33154 builtin and then its argument prototype would still apply. */
33155 #ifdef __cplusplus
33156 extern "C"
33157 #endif
33158 char sin ();
33159 int
33160 main ()
33161 {
33162 return sin ();
33163 ;
33164 return 0;
33165 }
33166 _ACEOF
33167 if ac_fn_c_try_link "$LINENO"; then :
33168 ac_cv_lib_m_sin=yes
33169 else
33170 ac_cv_lib_m_sin=no
33171 fi
33172 rm -f core conftest.err conftest.$ac_objext \
33173 conftest$ac_exeext conftest.$ac_ext
33174 LIBS=$ac_check_lib_save_LIBS
33175 fi
33176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33177 $as_echo "$ac_cv_lib_m_sin" >&6; }
33178 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33179 libm="-lm"
33180 fi
33181
33182 ac_save_LIBS="$LIBS"
33183 LIBS="$LIBS $libm"
33184
33185
33186
33187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33188 $as_echo_n "checking for isinf declaration... " >&6; }
33189 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33190 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33191 $as_echo_n "(cached) " >&6
33192 else
33193
33194
33195 ac_ext=cpp
33196 ac_cpp='$CXXCPP $CPPFLAGS'
33197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33200
33201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33202 /* end confdefs.h. */
33203 #include <math.h>
33204 #ifdef HAVE_IEEEFP_H
33205 #include <ieeefp.h>
33206 #endif
33207
33208 int
33209 main ()
33210 {
33211 isinf(0);
33212 ;
33213 return 0;
33214 }
33215 _ACEOF
33216 if ac_fn_cxx_try_compile "$LINENO"; then :
33217 glibcxx_cv_func_isinf_use=yes
33218 else
33219 glibcxx_cv_func_isinf_use=no
33220 fi
33221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33222 ac_ext=c
33223 ac_cpp='$CPP $CPPFLAGS'
33224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33227
33228
33229 fi
33230
33231 fi
33232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33233 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33234
33235 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33236 for ac_func in isinf
33237 do :
33238 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33239 if test "x$ac_cv_func_isinf" = x""yes; then :
33240 cat >>confdefs.h <<_ACEOF
33241 #define HAVE_ISINF 1
33242 _ACEOF
33243
33244 fi
33245 done
33246
33247 else
33248
33249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33250 $as_echo_n "checking for _isinf declaration... " >&6; }
33251 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33252 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33253 $as_echo_n "(cached) " >&6
33254 else
33255
33256
33257 ac_ext=cpp
33258 ac_cpp='$CXXCPP $CPPFLAGS'
33259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33262
33263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33264 /* end confdefs.h. */
33265 #include <math.h>
33266 #ifdef HAVE_IEEEFP_H
33267 #include <ieeefp.h>
33268 #endif
33269
33270 int
33271 main ()
33272 {
33273 _isinf(0);
33274 ;
33275 return 0;
33276 }
33277 _ACEOF
33278 if ac_fn_cxx_try_compile "$LINENO"; then :
33279 glibcxx_cv_func__isinf_use=yes
33280 else
33281 glibcxx_cv_func__isinf_use=no
33282 fi
33283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33284 ac_ext=c
33285 ac_cpp='$CPP $CPPFLAGS'
33286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33289
33290
33291 fi
33292
33293 fi
33294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33295 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33296
33297 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33298 for ac_func in _isinf
33299 do :
33300 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33301 if test "x$ac_cv_func__isinf" = x""yes; then :
33302 cat >>confdefs.h <<_ACEOF
33303 #define HAVE__ISINF 1
33304 _ACEOF
33305
33306 fi
33307 done
33308
33309 fi
33310 fi
33311
33312
33313
33314
33315
33316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33317 $as_echo_n "checking for isnan declaration... " >&6; }
33318 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33319 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33320 $as_echo_n "(cached) " >&6
33321 else
33322
33323
33324 ac_ext=cpp
33325 ac_cpp='$CXXCPP $CPPFLAGS'
33326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33329
33330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33331 /* end confdefs.h. */
33332 #include <math.h>
33333 #ifdef HAVE_IEEEFP_H
33334 #include <ieeefp.h>
33335 #endif
33336
33337 int
33338 main ()
33339 {
33340 isnan(0);
33341 ;
33342 return 0;
33343 }
33344 _ACEOF
33345 if ac_fn_cxx_try_compile "$LINENO"; then :
33346 glibcxx_cv_func_isnan_use=yes
33347 else
33348 glibcxx_cv_func_isnan_use=no
33349 fi
33350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33351 ac_ext=c
33352 ac_cpp='$CPP $CPPFLAGS'
33353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33356
33357
33358 fi
33359
33360 fi
33361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33362 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33363
33364 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33365 for ac_func in isnan
33366 do :
33367 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33368 if test "x$ac_cv_func_isnan" = x""yes; then :
33369 cat >>confdefs.h <<_ACEOF
33370 #define HAVE_ISNAN 1
33371 _ACEOF
33372
33373 fi
33374 done
33375
33376 else
33377
33378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33379 $as_echo_n "checking for _isnan declaration... " >&6; }
33380 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33381 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33382 $as_echo_n "(cached) " >&6
33383 else
33384
33385
33386 ac_ext=cpp
33387 ac_cpp='$CXXCPP $CPPFLAGS'
33388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33391
33392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33393 /* end confdefs.h. */
33394 #include <math.h>
33395 #ifdef HAVE_IEEEFP_H
33396 #include <ieeefp.h>
33397 #endif
33398
33399 int
33400 main ()
33401 {
33402 _isnan(0);
33403 ;
33404 return 0;
33405 }
33406 _ACEOF
33407 if ac_fn_cxx_try_compile "$LINENO"; then :
33408 glibcxx_cv_func__isnan_use=yes
33409 else
33410 glibcxx_cv_func__isnan_use=no
33411 fi
33412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33413 ac_ext=c
33414 ac_cpp='$CPP $CPPFLAGS'
33415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33418
33419
33420 fi
33421
33422 fi
33423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33424 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33425
33426 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33427 for ac_func in _isnan
33428 do :
33429 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33430 if test "x$ac_cv_func__isnan" = x""yes; then :
33431 cat >>confdefs.h <<_ACEOF
33432 #define HAVE__ISNAN 1
33433 _ACEOF
33434
33435 fi
33436 done
33437
33438 fi
33439 fi
33440
33441
33442
33443
33444
33445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33446 $as_echo_n "checking for finite declaration... " >&6; }
33447 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33448 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33449 $as_echo_n "(cached) " >&6
33450 else
33451
33452
33453 ac_ext=cpp
33454 ac_cpp='$CXXCPP $CPPFLAGS'
33455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33458
33459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33460 /* end confdefs.h. */
33461 #include <math.h>
33462 #ifdef HAVE_IEEEFP_H
33463 #include <ieeefp.h>
33464 #endif
33465
33466 int
33467 main ()
33468 {
33469 finite(0);
33470 ;
33471 return 0;
33472 }
33473 _ACEOF
33474 if ac_fn_cxx_try_compile "$LINENO"; then :
33475 glibcxx_cv_func_finite_use=yes
33476 else
33477 glibcxx_cv_func_finite_use=no
33478 fi
33479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33480 ac_ext=c
33481 ac_cpp='$CPP $CPPFLAGS'
33482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33485
33486
33487 fi
33488
33489 fi
33490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33491 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33492
33493 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33494 for ac_func in finite
33495 do :
33496 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33497 if test "x$ac_cv_func_finite" = x""yes; then :
33498 cat >>confdefs.h <<_ACEOF
33499 #define HAVE_FINITE 1
33500 _ACEOF
33501
33502 fi
33503 done
33504
33505 else
33506
33507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33508 $as_echo_n "checking for _finite declaration... " >&6; }
33509 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33510 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33511 $as_echo_n "(cached) " >&6
33512 else
33513
33514
33515 ac_ext=cpp
33516 ac_cpp='$CXXCPP $CPPFLAGS'
33517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33520
33521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33522 /* end confdefs.h. */
33523 #include <math.h>
33524 #ifdef HAVE_IEEEFP_H
33525 #include <ieeefp.h>
33526 #endif
33527
33528 int
33529 main ()
33530 {
33531 _finite(0);
33532 ;
33533 return 0;
33534 }
33535 _ACEOF
33536 if ac_fn_cxx_try_compile "$LINENO"; then :
33537 glibcxx_cv_func__finite_use=yes
33538 else
33539 glibcxx_cv_func__finite_use=no
33540 fi
33541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33542 ac_ext=c
33543 ac_cpp='$CPP $CPPFLAGS'
33544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33547
33548
33549 fi
33550
33551 fi
33552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33553 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33554
33555 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33556 for ac_func in _finite
33557 do :
33558 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33559 if test "x$ac_cv_func__finite" = x""yes; then :
33560 cat >>confdefs.h <<_ACEOF
33561 #define HAVE__FINITE 1
33562 _ACEOF
33563
33564 fi
33565 done
33566
33567 fi
33568 fi
33569
33570
33571
33572
33573
33574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33575 $as_echo_n "checking for sincos declaration... " >&6; }
33576 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33577 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33578 $as_echo_n "(cached) " >&6
33579 else
33580
33581
33582 ac_ext=cpp
33583 ac_cpp='$CXXCPP $CPPFLAGS'
33584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33587
33588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33589 /* end confdefs.h. */
33590 #include <math.h>
33591 int
33592 main ()
33593 {
33594 sincos(0, 0, 0);
33595 ;
33596 return 0;
33597 }
33598 _ACEOF
33599 if ac_fn_cxx_try_compile "$LINENO"; then :
33600 glibcxx_cv_func_sincos_use=yes
33601 else
33602 glibcxx_cv_func_sincos_use=no
33603 fi
33604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33605 ac_ext=c
33606 ac_cpp='$CPP $CPPFLAGS'
33607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33610
33611
33612 fi
33613
33614 fi
33615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33616 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33617
33618 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33619 for ac_func in sincos
33620 do :
33621 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33622 if test "x$ac_cv_func_sincos" = x""yes; then :
33623 cat >>confdefs.h <<_ACEOF
33624 #define HAVE_SINCOS 1
33625 _ACEOF
33626
33627 fi
33628 done
33629
33630 else
33631
33632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33633 $as_echo_n "checking for _sincos declaration... " >&6; }
33634 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33635 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33636 $as_echo_n "(cached) " >&6
33637 else
33638
33639
33640 ac_ext=cpp
33641 ac_cpp='$CXXCPP $CPPFLAGS'
33642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33645
33646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33647 /* end confdefs.h. */
33648 #include <math.h>
33649 int
33650 main ()
33651 {
33652 _sincos(0, 0, 0);
33653 ;
33654 return 0;
33655 }
33656 _ACEOF
33657 if ac_fn_cxx_try_compile "$LINENO"; then :
33658 glibcxx_cv_func__sincos_use=yes
33659 else
33660 glibcxx_cv_func__sincos_use=no
33661 fi
33662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33663 ac_ext=c
33664 ac_cpp='$CPP $CPPFLAGS'
33665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33668
33669
33670 fi
33671
33672 fi
33673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33674 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33675
33676 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33677 for ac_func in _sincos
33678 do :
33679 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33680 if test "x$ac_cv_func__sincos" = x""yes; then :
33681 cat >>confdefs.h <<_ACEOF
33682 #define HAVE__SINCOS 1
33683 _ACEOF
33684
33685 fi
33686 done
33687
33688 fi
33689 fi
33690
33691
33692
33693
33694
33695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33696 $as_echo_n "checking for fpclass declaration... " >&6; }
33697 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33698 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33699 $as_echo_n "(cached) " >&6
33700 else
33701
33702
33703 ac_ext=cpp
33704 ac_cpp='$CXXCPP $CPPFLAGS'
33705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33708
33709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33710 /* end confdefs.h. */
33711 #include <math.h>
33712 #ifdef HAVE_IEEEFP_H
33713 #include <ieeefp.h>
33714 #endif
33715
33716 int
33717 main ()
33718 {
33719 fpclass(0);
33720 ;
33721 return 0;
33722 }
33723 _ACEOF
33724 if ac_fn_cxx_try_compile "$LINENO"; then :
33725 glibcxx_cv_func_fpclass_use=yes
33726 else
33727 glibcxx_cv_func_fpclass_use=no
33728 fi
33729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33730 ac_ext=c
33731 ac_cpp='$CPP $CPPFLAGS'
33732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33735
33736
33737 fi
33738
33739 fi
33740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33741 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33742
33743 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33744 for ac_func in fpclass
33745 do :
33746 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33747 if test "x$ac_cv_func_fpclass" = x""yes; then :
33748 cat >>confdefs.h <<_ACEOF
33749 #define HAVE_FPCLASS 1
33750 _ACEOF
33751
33752 fi
33753 done
33754
33755 else
33756
33757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33758 $as_echo_n "checking for _fpclass declaration... " >&6; }
33759 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33760 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33761 $as_echo_n "(cached) " >&6
33762 else
33763
33764
33765 ac_ext=cpp
33766 ac_cpp='$CXXCPP $CPPFLAGS'
33767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33770
33771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33772 /* end confdefs.h. */
33773 #include <math.h>
33774 #ifdef HAVE_IEEEFP_H
33775 #include <ieeefp.h>
33776 #endif
33777
33778 int
33779 main ()
33780 {
33781 _fpclass(0);
33782 ;
33783 return 0;
33784 }
33785 _ACEOF
33786 if ac_fn_cxx_try_compile "$LINENO"; then :
33787 glibcxx_cv_func__fpclass_use=yes
33788 else
33789 glibcxx_cv_func__fpclass_use=no
33790 fi
33791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33792 ac_ext=c
33793 ac_cpp='$CPP $CPPFLAGS'
33794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33797
33798
33799 fi
33800
33801 fi
33802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33803 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33804
33805 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33806 for ac_func in _fpclass
33807 do :
33808 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33809 if test "x$ac_cv_func__fpclass" = x""yes; then :
33810 cat >>confdefs.h <<_ACEOF
33811 #define HAVE__FPCLASS 1
33812 _ACEOF
33813
33814 fi
33815 done
33816
33817 fi
33818 fi
33819
33820
33821
33822
33823
33824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33825 $as_echo_n "checking for qfpclass declaration... " >&6; }
33826 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33827 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33828 $as_echo_n "(cached) " >&6
33829 else
33830
33831
33832 ac_ext=cpp
33833 ac_cpp='$CXXCPP $CPPFLAGS'
33834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33837
33838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33839 /* end confdefs.h. */
33840 #include <math.h>
33841 #ifdef HAVE_IEEEFP_H
33842 #include <ieeefp.h>
33843 #endif
33844
33845 int
33846 main ()
33847 {
33848 qfpclass(0);
33849 ;
33850 return 0;
33851 }
33852 _ACEOF
33853 if ac_fn_cxx_try_compile "$LINENO"; then :
33854 glibcxx_cv_func_qfpclass_use=yes
33855 else
33856 glibcxx_cv_func_qfpclass_use=no
33857 fi
33858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33859 ac_ext=c
33860 ac_cpp='$CPP $CPPFLAGS'
33861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33864
33865
33866 fi
33867
33868 fi
33869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33870 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33871
33872 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33873 for ac_func in qfpclass
33874 do :
33875 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33876 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33877 cat >>confdefs.h <<_ACEOF
33878 #define HAVE_QFPCLASS 1
33879 _ACEOF
33880
33881 fi
33882 done
33883
33884 else
33885
33886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33887 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33888 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33889 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33890 $as_echo_n "(cached) " >&6
33891 else
33892
33893
33894 ac_ext=cpp
33895 ac_cpp='$CXXCPP $CPPFLAGS'
33896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33899
33900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33901 /* end confdefs.h. */
33902 #include <math.h>
33903 #ifdef HAVE_IEEEFP_H
33904 #include <ieeefp.h>
33905 #endif
33906
33907 int
33908 main ()
33909 {
33910 _qfpclass(0);
33911 ;
33912 return 0;
33913 }
33914 _ACEOF
33915 if ac_fn_cxx_try_compile "$LINENO"; then :
33916 glibcxx_cv_func__qfpclass_use=yes
33917 else
33918 glibcxx_cv_func__qfpclass_use=no
33919 fi
33920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33921 ac_ext=c
33922 ac_cpp='$CPP $CPPFLAGS'
33923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33926
33927
33928 fi
33929
33930 fi
33931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33932 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33933
33934 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33935 for ac_func in _qfpclass
33936 do :
33937 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33938 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33939 cat >>confdefs.h <<_ACEOF
33940 #define HAVE__QFPCLASS 1
33941 _ACEOF
33942
33943 fi
33944 done
33945
33946 fi
33947 fi
33948
33949
33950
33951
33952
33953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33954 $as_echo_n "checking for hypot declaration... " >&6; }
33955 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33956 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33957 $as_echo_n "(cached) " >&6
33958 else
33959
33960
33961 ac_ext=cpp
33962 ac_cpp='$CXXCPP $CPPFLAGS'
33963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33966
33967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33968 /* end confdefs.h. */
33969 #include <math.h>
33970 int
33971 main ()
33972 {
33973 hypot(0, 0);
33974 ;
33975 return 0;
33976 }
33977 _ACEOF
33978 if ac_fn_cxx_try_compile "$LINENO"; then :
33979 glibcxx_cv_func_hypot_use=yes
33980 else
33981 glibcxx_cv_func_hypot_use=no
33982 fi
33983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33984 ac_ext=c
33985 ac_cpp='$CPP $CPPFLAGS'
33986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33989
33990
33991 fi
33992
33993 fi
33994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33995 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33996
33997 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33998 for ac_func in hypot
33999 do :
34000 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34001 if test "x$ac_cv_func_hypot" = x""yes; then :
34002 cat >>confdefs.h <<_ACEOF
34003 #define HAVE_HYPOT 1
34004 _ACEOF
34005
34006 fi
34007 done
34008
34009 else
34010
34011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34012 $as_echo_n "checking for _hypot declaration... " >&6; }
34013 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34014 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34015 $as_echo_n "(cached) " >&6
34016 else
34017
34018
34019 ac_ext=cpp
34020 ac_cpp='$CXXCPP $CPPFLAGS'
34021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34024
34025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34026 /* end confdefs.h. */
34027 #include <math.h>
34028 int
34029 main ()
34030 {
34031 _hypot(0, 0);
34032 ;
34033 return 0;
34034 }
34035 _ACEOF
34036 if ac_fn_cxx_try_compile "$LINENO"; then :
34037 glibcxx_cv_func__hypot_use=yes
34038 else
34039 glibcxx_cv_func__hypot_use=no
34040 fi
34041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34042 ac_ext=c
34043 ac_cpp='$CPP $CPPFLAGS'
34044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34047
34048
34049 fi
34050
34051 fi
34052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34053 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34054
34055 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34056 for ac_func in _hypot
34057 do :
34058 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34059 if test "x$ac_cv_func__hypot" = x""yes; then :
34060 cat >>confdefs.h <<_ACEOF
34061 #define HAVE__HYPOT 1
34062 _ACEOF
34063
34064 fi
34065 done
34066
34067 fi
34068 fi
34069
34070
34071
34072
34073
34074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34075 $as_echo_n "checking for float trig functions... " >&6; }
34076 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34077 $as_echo_n "(cached) " >&6
34078 else
34079
34080
34081 ac_ext=cpp
34082 ac_cpp='$CXXCPP $CPPFLAGS'
34083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34086
34087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34088 /* end confdefs.h. */
34089 #include <math.h>
34090 int
34091 main ()
34092 {
34093 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34094 ;
34095 return 0;
34096 }
34097 _ACEOF
34098 if ac_fn_cxx_try_compile "$LINENO"; then :
34099 glibcxx_cv_func_float_trig_use=yes
34100 else
34101 glibcxx_cv_func_float_trig_use=no
34102 fi
34103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34104 ac_ext=c
34105 ac_cpp='$CPP $CPPFLAGS'
34106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34109
34110 fi
34111
34112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34113 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34114 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34115 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34116 do :
34117 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34119 eval as_val=\$$as_ac_var
34120 if test "x$as_val" = x""yes; then :
34121 cat >>confdefs.h <<_ACEOF
34122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34123 _ACEOF
34124
34125 fi
34126 done
34127
34128 else
34129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34130 $as_echo_n "checking for _float trig functions... " >&6; }
34131 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34132 $as_echo_n "(cached) " >&6
34133 else
34134
34135
34136 ac_ext=cpp
34137 ac_cpp='$CXXCPP $CPPFLAGS'
34138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34141
34142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34143 /* end confdefs.h. */
34144 #include <math.h>
34145 int
34146 main ()
34147 {
34148 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34149 ;
34150 return 0;
34151 }
34152 _ACEOF
34153 if ac_fn_cxx_try_compile "$LINENO"; then :
34154 glibcxx_cv_func__float_trig_use=yes
34155 else
34156 glibcxx_cv_func__float_trig_use=no
34157 fi
34158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34159 ac_ext=c
34160 ac_cpp='$CPP $CPPFLAGS'
34161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34164
34165 fi
34166
34167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34168 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34169 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34170 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34171 do :
34172 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34174 eval as_val=\$$as_ac_var
34175 if test "x$as_val" = x""yes; then :
34176 cat >>confdefs.h <<_ACEOF
34177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34178 _ACEOF
34179
34180 fi
34181 done
34182
34183 fi
34184 fi
34185
34186
34187
34188
34189
34190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34191 $as_echo_n "checking for float round functions... " >&6; }
34192 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34193 $as_echo_n "(cached) " >&6
34194 else
34195
34196
34197 ac_ext=cpp
34198 ac_cpp='$CXXCPP $CPPFLAGS'
34199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34202
34203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34204 /* end confdefs.h. */
34205 #include <math.h>
34206 int
34207 main ()
34208 {
34209 ceilf (0); floorf (0);
34210 ;
34211 return 0;
34212 }
34213 _ACEOF
34214 if ac_fn_cxx_try_compile "$LINENO"; then :
34215 glibcxx_cv_func_float_round_use=yes
34216 else
34217 glibcxx_cv_func_float_round_use=no
34218 fi
34219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34220 ac_ext=c
34221 ac_cpp='$CPP $CPPFLAGS'
34222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34225
34226 fi
34227
34228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34229 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34230 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34231 for ac_func in ceilf floorf
34232 do :
34233 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34234 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34235 eval as_val=\$$as_ac_var
34236 if test "x$as_val" = x""yes; then :
34237 cat >>confdefs.h <<_ACEOF
34238 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34239 _ACEOF
34240
34241 fi
34242 done
34243
34244 else
34245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34246 $as_echo_n "checking for _float round functions... " >&6; }
34247 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34248 $as_echo_n "(cached) " >&6
34249 else
34250
34251
34252 ac_ext=cpp
34253 ac_cpp='$CXXCPP $CPPFLAGS'
34254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34257
34258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34259 /* end confdefs.h. */
34260 #include <math.h>
34261 int
34262 main ()
34263 {
34264 _ceilf (0); _floorf (0);
34265 ;
34266 return 0;
34267 }
34268 _ACEOF
34269 if ac_fn_cxx_try_compile "$LINENO"; then :
34270 glibcxx_cv_func__float_round_use=yes
34271 else
34272 glibcxx_cv_func__float_round_use=no
34273 fi
34274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34275 ac_ext=c
34276 ac_cpp='$CPP $CPPFLAGS'
34277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34280
34281 fi
34282
34283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34284 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34285 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34286 for ac_func in _ceilf _floorf
34287 do :
34288 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34289 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34290 eval as_val=\$$as_ac_var
34291 if test "x$as_val" = x""yes; then :
34292 cat >>confdefs.h <<_ACEOF
34293 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34294 _ACEOF
34295
34296 fi
34297 done
34298
34299 fi
34300 fi
34301
34302
34303
34304
34305
34306
34307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34308 $as_echo_n "checking for expf declaration... " >&6; }
34309 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34310 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34311 $as_echo_n "(cached) " >&6
34312 else
34313
34314
34315 ac_ext=cpp
34316 ac_cpp='$CXXCPP $CPPFLAGS'
34317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34320
34321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34322 /* end confdefs.h. */
34323 #include <math.h>
34324 #ifdef HAVE_IEEEFP_H
34325 #include <ieeefp.h>
34326 #endif
34327
34328 int
34329 main ()
34330 {
34331 expf(0);
34332 ;
34333 return 0;
34334 }
34335 _ACEOF
34336 if ac_fn_cxx_try_compile "$LINENO"; then :
34337 glibcxx_cv_func_expf_use=yes
34338 else
34339 glibcxx_cv_func_expf_use=no
34340 fi
34341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34342 ac_ext=c
34343 ac_cpp='$CPP $CPPFLAGS'
34344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34347
34348
34349 fi
34350
34351 fi
34352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34353 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34354
34355 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34356 for ac_func in expf
34357 do :
34358 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34359 if test "x$ac_cv_func_expf" = x""yes; then :
34360 cat >>confdefs.h <<_ACEOF
34361 #define HAVE_EXPF 1
34362 _ACEOF
34363
34364 fi
34365 done
34366
34367 else
34368
34369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34370 $as_echo_n "checking for _expf declaration... " >&6; }
34371 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34372 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34373 $as_echo_n "(cached) " >&6
34374 else
34375
34376
34377 ac_ext=cpp
34378 ac_cpp='$CXXCPP $CPPFLAGS'
34379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34382
34383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34384 /* end confdefs.h. */
34385 #include <math.h>
34386 #ifdef HAVE_IEEEFP_H
34387 #include <ieeefp.h>
34388 #endif
34389
34390 int
34391 main ()
34392 {
34393 _expf(0);
34394 ;
34395 return 0;
34396 }
34397 _ACEOF
34398 if ac_fn_cxx_try_compile "$LINENO"; then :
34399 glibcxx_cv_func__expf_use=yes
34400 else
34401 glibcxx_cv_func__expf_use=no
34402 fi
34403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34404 ac_ext=c
34405 ac_cpp='$CPP $CPPFLAGS'
34406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34409
34410
34411 fi
34412
34413 fi
34414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34415 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34416
34417 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34418 for ac_func in _expf
34419 do :
34420 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34421 if test "x$ac_cv_func__expf" = x""yes; then :
34422 cat >>confdefs.h <<_ACEOF
34423 #define HAVE__EXPF 1
34424 _ACEOF
34425
34426 fi
34427 done
34428
34429 fi
34430 fi
34431
34432
34433
34434
34435
34436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34437 $as_echo_n "checking for isnanf declaration... " >&6; }
34438 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34439 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34440 $as_echo_n "(cached) " >&6
34441 else
34442
34443
34444 ac_ext=cpp
34445 ac_cpp='$CXXCPP $CPPFLAGS'
34446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34449
34450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34451 /* end confdefs.h. */
34452 #include <math.h>
34453 #ifdef HAVE_IEEEFP_H
34454 #include <ieeefp.h>
34455 #endif
34456
34457 int
34458 main ()
34459 {
34460 isnanf(0);
34461 ;
34462 return 0;
34463 }
34464 _ACEOF
34465 if ac_fn_cxx_try_compile "$LINENO"; then :
34466 glibcxx_cv_func_isnanf_use=yes
34467 else
34468 glibcxx_cv_func_isnanf_use=no
34469 fi
34470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34471 ac_ext=c
34472 ac_cpp='$CPP $CPPFLAGS'
34473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34476
34477
34478 fi
34479
34480 fi
34481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34482 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34483
34484 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34485 for ac_func in isnanf
34486 do :
34487 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34488 if test "x$ac_cv_func_isnanf" = x""yes; then :
34489 cat >>confdefs.h <<_ACEOF
34490 #define HAVE_ISNANF 1
34491 _ACEOF
34492
34493 fi
34494 done
34495
34496 else
34497
34498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34499 $as_echo_n "checking for _isnanf declaration... " >&6; }
34500 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34501 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34502 $as_echo_n "(cached) " >&6
34503 else
34504
34505
34506 ac_ext=cpp
34507 ac_cpp='$CXXCPP $CPPFLAGS'
34508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34511
34512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34513 /* end confdefs.h. */
34514 #include <math.h>
34515 #ifdef HAVE_IEEEFP_H
34516 #include <ieeefp.h>
34517 #endif
34518
34519 int
34520 main ()
34521 {
34522 _isnanf(0);
34523 ;
34524 return 0;
34525 }
34526 _ACEOF
34527 if ac_fn_cxx_try_compile "$LINENO"; then :
34528 glibcxx_cv_func__isnanf_use=yes
34529 else
34530 glibcxx_cv_func__isnanf_use=no
34531 fi
34532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34533 ac_ext=c
34534 ac_cpp='$CPP $CPPFLAGS'
34535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34538
34539
34540 fi
34541
34542 fi
34543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34544 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34545
34546 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34547 for ac_func in _isnanf
34548 do :
34549 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34550 if test "x$ac_cv_func__isnanf" = x""yes; then :
34551 cat >>confdefs.h <<_ACEOF
34552 #define HAVE__ISNANF 1
34553 _ACEOF
34554
34555 fi
34556 done
34557
34558 fi
34559 fi
34560
34561
34562
34563
34564
34565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34566 $as_echo_n "checking for isinff declaration... " >&6; }
34567 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34568 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34569 $as_echo_n "(cached) " >&6
34570 else
34571
34572
34573 ac_ext=cpp
34574 ac_cpp='$CXXCPP $CPPFLAGS'
34575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34578
34579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34580 /* end confdefs.h. */
34581 #include <math.h>
34582 #ifdef HAVE_IEEEFP_H
34583 #include <ieeefp.h>
34584 #endif
34585
34586 int
34587 main ()
34588 {
34589 isinff(0);
34590 ;
34591 return 0;
34592 }
34593 _ACEOF
34594 if ac_fn_cxx_try_compile "$LINENO"; then :
34595 glibcxx_cv_func_isinff_use=yes
34596 else
34597 glibcxx_cv_func_isinff_use=no
34598 fi
34599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34600 ac_ext=c
34601 ac_cpp='$CPP $CPPFLAGS'
34602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34605
34606
34607 fi
34608
34609 fi
34610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34611 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34612
34613 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34614 for ac_func in isinff
34615 do :
34616 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34617 if test "x$ac_cv_func_isinff" = x""yes; then :
34618 cat >>confdefs.h <<_ACEOF
34619 #define HAVE_ISINFF 1
34620 _ACEOF
34621
34622 fi
34623 done
34624
34625 else
34626
34627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34628 $as_echo_n "checking for _isinff declaration... " >&6; }
34629 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34630 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34631 $as_echo_n "(cached) " >&6
34632 else
34633
34634
34635 ac_ext=cpp
34636 ac_cpp='$CXXCPP $CPPFLAGS'
34637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34640
34641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34642 /* end confdefs.h. */
34643 #include <math.h>
34644 #ifdef HAVE_IEEEFP_H
34645 #include <ieeefp.h>
34646 #endif
34647
34648 int
34649 main ()
34650 {
34651 _isinff(0);
34652 ;
34653 return 0;
34654 }
34655 _ACEOF
34656 if ac_fn_cxx_try_compile "$LINENO"; then :
34657 glibcxx_cv_func__isinff_use=yes
34658 else
34659 glibcxx_cv_func__isinff_use=no
34660 fi
34661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34662 ac_ext=c
34663 ac_cpp='$CPP $CPPFLAGS'
34664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34667
34668
34669 fi
34670
34671 fi
34672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34673 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34674
34675 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34676 for ac_func in _isinff
34677 do :
34678 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34679 if test "x$ac_cv_func__isinff" = x""yes; then :
34680 cat >>confdefs.h <<_ACEOF
34681 #define HAVE__ISINFF 1
34682 _ACEOF
34683
34684 fi
34685 done
34686
34687 fi
34688 fi
34689
34690
34691
34692
34693
34694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34695 $as_echo_n "checking for atan2f declaration... " >&6; }
34696 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34697 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34698 $as_echo_n "(cached) " >&6
34699 else
34700
34701
34702 ac_ext=cpp
34703 ac_cpp='$CXXCPP $CPPFLAGS'
34704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34707
34708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34709 /* end confdefs.h. */
34710 #include <math.h>
34711 int
34712 main ()
34713 {
34714 atan2f(0, 0);
34715 ;
34716 return 0;
34717 }
34718 _ACEOF
34719 if ac_fn_cxx_try_compile "$LINENO"; then :
34720 glibcxx_cv_func_atan2f_use=yes
34721 else
34722 glibcxx_cv_func_atan2f_use=no
34723 fi
34724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34725 ac_ext=c
34726 ac_cpp='$CPP $CPPFLAGS'
34727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34730
34731
34732 fi
34733
34734 fi
34735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34736 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34737
34738 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34739 for ac_func in atan2f
34740 do :
34741 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34742 if test "x$ac_cv_func_atan2f" = x""yes; then :
34743 cat >>confdefs.h <<_ACEOF
34744 #define HAVE_ATAN2F 1
34745 _ACEOF
34746
34747 fi
34748 done
34749
34750 else
34751
34752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34753 $as_echo_n "checking for _atan2f declaration... " >&6; }
34754 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34755 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34756 $as_echo_n "(cached) " >&6
34757 else
34758
34759
34760 ac_ext=cpp
34761 ac_cpp='$CXXCPP $CPPFLAGS'
34762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34765
34766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34767 /* end confdefs.h. */
34768 #include <math.h>
34769 int
34770 main ()
34771 {
34772 _atan2f(0, 0);
34773 ;
34774 return 0;
34775 }
34776 _ACEOF
34777 if ac_fn_cxx_try_compile "$LINENO"; then :
34778 glibcxx_cv_func__atan2f_use=yes
34779 else
34780 glibcxx_cv_func__atan2f_use=no
34781 fi
34782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34783 ac_ext=c
34784 ac_cpp='$CPP $CPPFLAGS'
34785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34788
34789
34790 fi
34791
34792 fi
34793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34794 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34795
34796 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34797 for ac_func in _atan2f
34798 do :
34799 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34800 if test "x$ac_cv_func__atan2f" = x""yes; then :
34801 cat >>confdefs.h <<_ACEOF
34802 #define HAVE__ATAN2F 1
34803 _ACEOF
34804
34805 fi
34806 done
34807
34808 fi
34809 fi
34810
34811
34812
34813
34814
34815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34816 $as_echo_n "checking for fabsf declaration... " >&6; }
34817 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34818 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34819 $as_echo_n "(cached) " >&6
34820 else
34821
34822
34823 ac_ext=cpp
34824 ac_cpp='$CXXCPP $CPPFLAGS'
34825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34828
34829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34830 /* end confdefs.h. */
34831 #include <math.h>
34832 #ifdef HAVE_IEEEFP_H
34833 #include <ieeefp.h>
34834 #endif
34835
34836 int
34837 main ()
34838 {
34839 fabsf(0);
34840 ;
34841 return 0;
34842 }
34843 _ACEOF
34844 if ac_fn_cxx_try_compile "$LINENO"; then :
34845 glibcxx_cv_func_fabsf_use=yes
34846 else
34847 glibcxx_cv_func_fabsf_use=no
34848 fi
34849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34850 ac_ext=c
34851 ac_cpp='$CPP $CPPFLAGS'
34852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34855
34856
34857 fi
34858
34859 fi
34860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34861 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34862
34863 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34864 for ac_func in fabsf
34865 do :
34866 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34867 if test "x$ac_cv_func_fabsf" = x""yes; then :
34868 cat >>confdefs.h <<_ACEOF
34869 #define HAVE_FABSF 1
34870 _ACEOF
34871
34872 fi
34873 done
34874
34875 else
34876
34877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34878 $as_echo_n "checking for _fabsf declaration... " >&6; }
34879 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34880 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34881 $as_echo_n "(cached) " >&6
34882 else
34883
34884
34885 ac_ext=cpp
34886 ac_cpp='$CXXCPP $CPPFLAGS'
34887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34890
34891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34892 /* end confdefs.h. */
34893 #include <math.h>
34894 #ifdef HAVE_IEEEFP_H
34895 #include <ieeefp.h>
34896 #endif
34897
34898 int
34899 main ()
34900 {
34901 _fabsf(0);
34902 ;
34903 return 0;
34904 }
34905 _ACEOF
34906 if ac_fn_cxx_try_compile "$LINENO"; then :
34907 glibcxx_cv_func__fabsf_use=yes
34908 else
34909 glibcxx_cv_func__fabsf_use=no
34910 fi
34911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34912 ac_ext=c
34913 ac_cpp='$CPP $CPPFLAGS'
34914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34917
34918
34919 fi
34920
34921 fi
34922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34923 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34924
34925 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34926 for ac_func in _fabsf
34927 do :
34928 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34929 if test "x$ac_cv_func__fabsf" = x""yes; then :
34930 cat >>confdefs.h <<_ACEOF
34931 #define HAVE__FABSF 1
34932 _ACEOF
34933
34934 fi
34935 done
34936
34937 fi
34938 fi
34939
34940
34941
34942
34943
34944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34945 $as_echo_n "checking for fmodf declaration... " >&6; }
34946 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34947 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34948 $as_echo_n "(cached) " >&6
34949 else
34950
34951
34952 ac_ext=cpp
34953 ac_cpp='$CXXCPP $CPPFLAGS'
34954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34957
34958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34959 /* end confdefs.h. */
34960 #include <math.h>
34961 int
34962 main ()
34963 {
34964 fmodf(0, 0);
34965 ;
34966 return 0;
34967 }
34968 _ACEOF
34969 if ac_fn_cxx_try_compile "$LINENO"; then :
34970 glibcxx_cv_func_fmodf_use=yes
34971 else
34972 glibcxx_cv_func_fmodf_use=no
34973 fi
34974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34975 ac_ext=c
34976 ac_cpp='$CPP $CPPFLAGS'
34977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34980
34981
34982 fi
34983
34984 fi
34985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34986 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34987
34988 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34989 for ac_func in fmodf
34990 do :
34991 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34992 if test "x$ac_cv_func_fmodf" = x""yes; then :
34993 cat >>confdefs.h <<_ACEOF
34994 #define HAVE_FMODF 1
34995 _ACEOF
34996
34997 fi
34998 done
34999
35000 else
35001
35002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35003 $as_echo_n "checking for _fmodf declaration... " >&6; }
35004 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35005 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35006 $as_echo_n "(cached) " >&6
35007 else
35008
35009
35010 ac_ext=cpp
35011 ac_cpp='$CXXCPP $CPPFLAGS'
35012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35015
35016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35017 /* end confdefs.h. */
35018 #include <math.h>
35019 int
35020 main ()
35021 {
35022 _fmodf(0, 0);
35023 ;
35024 return 0;
35025 }
35026 _ACEOF
35027 if ac_fn_cxx_try_compile "$LINENO"; then :
35028 glibcxx_cv_func__fmodf_use=yes
35029 else
35030 glibcxx_cv_func__fmodf_use=no
35031 fi
35032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35033 ac_ext=c
35034 ac_cpp='$CPP $CPPFLAGS'
35035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35038
35039
35040 fi
35041
35042 fi
35043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35044 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35045
35046 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35047 for ac_func in _fmodf
35048 do :
35049 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35050 if test "x$ac_cv_func__fmodf" = x""yes; then :
35051 cat >>confdefs.h <<_ACEOF
35052 #define HAVE__FMODF 1
35053 _ACEOF
35054
35055 fi
35056 done
35057
35058 fi
35059 fi
35060
35061
35062
35063
35064
35065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35066 $as_echo_n "checking for frexpf declaration... " >&6; }
35067 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35068 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35069 $as_echo_n "(cached) " >&6
35070 else
35071
35072
35073 ac_ext=cpp
35074 ac_cpp='$CXXCPP $CPPFLAGS'
35075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35078
35079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35080 /* end confdefs.h. */
35081 #include <math.h>
35082 int
35083 main ()
35084 {
35085 frexpf(0, 0);
35086 ;
35087 return 0;
35088 }
35089 _ACEOF
35090 if ac_fn_cxx_try_compile "$LINENO"; then :
35091 glibcxx_cv_func_frexpf_use=yes
35092 else
35093 glibcxx_cv_func_frexpf_use=no
35094 fi
35095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35096 ac_ext=c
35097 ac_cpp='$CPP $CPPFLAGS'
35098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35101
35102
35103 fi
35104
35105 fi
35106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35107 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35108
35109 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35110 for ac_func in frexpf
35111 do :
35112 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35113 if test "x$ac_cv_func_frexpf" = x""yes; then :
35114 cat >>confdefs.h <<_ACEOF
35115 #define HAVE_FREXPF 1
35116 _ACEOF
35117
35118 fi
35119 done
35120
35121 else
35122
35123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35124 $as_echo_n "checking for _frexpf declaration... " >&6; }
35125 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35126 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35127 $as_echo_n "(cached) " >&6
35128 else
35129
35130
35131 ac_ext=cpp
35132 ac_cpp='$CXXCPP $CPPFLAGS'
35133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35136
35137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35138 /* end confdefs.h. */
35139 #include <math.h>
35140 int
35141 main ()
35142 {
35143 _frexpf(0, 0);
35144 ;
35145 return 0;
35146 }
35147 _ACEOF
35148 if ac_fn_cxx_try_compile "$LINENO"; then :
35149 glibcxx_cv_func__frexpf_use=yes
35150 else
35151 glibcxx_cv_func__frexpf_use=no
35152 fi
35153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35154 ac_ext=c
35155 ac_cpp='$CPP $CPPFLAGS'
35156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35159
35160
35161 fi
35162
35163 fi
35164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35165 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35166
35167 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35168 for ac_func in _frexpf
35169 do :
35170 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35171 if test "x$ac_cv_func__frexpf" = x""yes; then :
35172 cat >>confdefs.h <<_ACEOF
35173 #define HAVE__FREXPF 1
35174 _ACEOF
35175
35176 fi
35177 done
35178
35179 fi
35180 fi
35181
35182
35183
35184
35185
35186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35187 $as_echo_n "checking for hypotf declaration... " >&6; }
35188 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35189 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35190 $as_echo_n "(cached) " >&6
35191 else
35192
35193
35194 ac_ext=cpp
35195 ac_cpp='$CXXCPP $CPPFLAGS'
35196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35199
35200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35201 /* end confdefs.h. */
35202 #include <math.h>
35203 int
35204 main ()
35205 {
35206 hypotf(0, 0);
35207 ;
35208 return 0;
35209 }
35210 _ACEOF
35211 if ac_fn_cxx_try_compile "$LINENO"; then :
35212 glibcxx_cv_func_hypotf_use=yes
35213 else
35214 glibcxx_cv_func_hypotf_use=no
35215 fi
35216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35217 ac_ext=c
35218 ac_cpp='$CPP $CPPFLAGS'
35219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35222
35223
35224 fi
35225
35226 fi
35227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35228 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35229
35230 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35231 for ac_func in hypotf
35232 do :
35233 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35234 if test "x$ac_cv_func_hypotf" = x""yes; then :
35235 cat >>confdefs.h <<_ACEOF
35236 #define HAVE_HYPOTF 1
35237 _ACEOF
35238
35239 fi
35240 done
35241
35242 else
35243
35244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35245 $as_echo_n "checking for _hypotf declaration... " >&6; }
35246 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35247 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35248 $as_echo_n "(cached) " >&6
35249 else
35250
35251
35252 ac_ext=cpp
35253 ac_cpp='$CXXCPP $CPPFLAGS'
35254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35257
35258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35259 /* end confdefs.h. */
35260 #include <math.h>
35261 int
35262 main ()
35263 {
35264 _hypotf(0, 0);
35265 ;
35266 return 0;
35267 }
35268 _ACEOF
35269 if ac_fn_cxx_try_compile "$LINENO"; then :
35270 glibcxx_cv_func__hypotf_use=yes
35271 else
35272 glibcxx_cv_func__hypotf_use=no
35273 fi
35274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35275 ac_ext=c
35276 ac_cpp='$CPP $CPPFLAGS'
35277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35280
35281
35282 fi
35283
35284 fi
35285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35286 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35287
35288 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35289 for ac_func in _hypotf
35290 do :
35291 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35292 if test "x$ac_cv_func__hypotf" = x""yes; then :
35293 cat >>confdefs.h <<_ACEOF
35294 #define HAVE__HYPOTF 1
35295 _ACEOF
35296
35297 fi
35298 done
35299
35300 fi
35301 fi
35302
35303
35304
35305
35306
35307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35308 $as_echo_n "checking for ldexpf declaration... " >&6; }
35309 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35310 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35311 $as_echo_n "(cached) " >&6
35312 else
35313
35314
35315 ac_ext=cpp
35316 ac_cpp='$CXXCPP $CPPFLAGS'
35317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35320
35321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35322 /* end confdefs.h. */
35323 #include <math.h>
35324 int
35325 main ()
35326 {
35327 ldexpf(0, 0);
35328 ;
35329 return 0;
35330 }
35331 _ACEOF
35332 if ac_fn_cxx_try_compile "$LINENO"; then :
35333 glibcxx_cv_func_ldexpf_use=yes
35334 else
35335 glibcxx_cv_func_ldexpf_use=no
35336 fi
35337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35338 ac_ext=c
35339 ac_cpp='$CPP $CPPFLAGS'
35340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35343
35344
35345 fi
35346
35347 fi
35348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35349 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35350
35351 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35352 for ac_func in ldexpf
35353 do :
35354 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35355 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35356 cat >>confdefs.h <<_ACEOF
35357 #define HAVE_LDEXPF 1
35358 _ACEOF
35359
35360 fi
35361 done
35362
35363 else
35364
35365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35366 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35367 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35368 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35369 $as_echo_n "(cached) " >&6
35370 else
35371
35372
35373 ac_ext=cpp
35374 ac_cpp='$CXXCPP $CPPFLAGS'
35375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35378
35379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35380 /* end confdefs.h. */
35381 #include <math.h>
35382 int
35383 main ()
35384 {
35385 _ldexpf(0, 0);
35386 ;
35387 return 0;
35388 }
35389 _ACEOF
35390 if ac_fn_cxx_try_compile "$LINENO"; then :
35391 glibcxx_cv_func__ldexpf_use=yes
35392 else
35393 glibcxx_cv_func__ldexpf_use=no
35394 fi
35395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35396 ac_ext=c
35397 ac_cpp='$CPP $CPPFLAGS'
35398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35401
35402
35403 fi
35404
35405 fi
35406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35407 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35408
35409 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35410 for ac_func in _ldexpf
35411 do :
35412 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35413 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35414 cat >>confdefs.h <<_ACEOF
35415 #define HAVE__LDEXPF 1
35416 _ACEOF
35417
35418 fi
35419 done
35420
35421 fi
35422 fi
35423
35424
35425
35426
35427
35428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35429 $as_echo_n "checking for logf declaration... " >&6; }
35430 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35431 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35432 $as_echo_n "(cached) " >&6
35433 else
35434
35435
35436 ac_ext=cpp
35437 ac_cpp='$CXXCPP $CPPFLAGS'
35438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35441
35442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35443 /* end confdefs.h. */
35444 #include <math.h>
35445 #ifdef HAVE_IEEEFP_H
35446 #include <ieeefp.h>
35447 #endif
35448
35449 int
35450 main ()
35451 {
35452 logf(0);
35453 ;
35454 return 0;
35455 }
35456 _ACEOF
35457 if ac_fn_cxx_try_compile "$LINENO"; then :
35458 glibcxx_cv_func_logf_use=yes
35459 else
35460 glibcxx_cv_func_logf_use=no
35461 fi
35462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35463 ac_ext=c
35464 ac_cpp='$CPP $CPPFLAGS'
35465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35468
35469
35470 fi
35471
35472 fi
35473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35474 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35475
35476 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35477 for ac_func in logf
35478 do :
35479 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35480 if test "x$ac_cv_func_logf" = x""yes; then :
35481 cat >>confdefs.h <<_ACEOF
35482 #define HAVE_LOGF 1
35483 _ACEOF
35484
35485 fi
35486 done
35487
35488 else
35489
35490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35491 $as_echo_n "checking for _logf declaration... " >&6; }
35492 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35493 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35494 $as_echo_n "(cached) " >&6
35495 else
35496
35497
35498 ac_ext=cpp
35499 ac_cpp='$CXXCPP $CPPFLAGS'
35500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35503
35504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35505 /* end confdefs.h. */
35506 #include <math.h>
35507 #ifdef HAVE_IEEEFP_H
35508 #include <ieeefp.h>
35509 #endif
35510
35511 int
35512 main ()
35513 {
35514 _logf(0);
35515 ;
35516 return 0;
35517 }
35518 _ACEOF
35519 if ac_fn_cxx_try_compile "$LINENO"; then :
35520 glibcxx_cv_func__logf_use=yes
35521 else
35522 glibcxx_cv_func__logf_use=no
35523 fi
35524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35525 ac_ext=c
35526 ac_cpp='$CPP $CPPFLAGS'
35527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35530
35531
35532 fi
35533
35534 fi
35535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35536 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35537
35538 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35539 for ac_func in _logf
35540 do :
35541 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35542 if test "x$ac_cv_func__logf" = x""yes; then :
35543 cat >>confdefs.h <<_ACEOF
35544 #define HAVE__LOGF 1
35545 _ACEOF
35546
35547 fi
35548 done
35549
35550 fi
35551 fi
35552
35553
35554
35555
35556
35557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35558 $as_echo_n "checking for log10f declaration... " >&6; }
35559 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35560 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35561 $as_echo_n "(cached) " >&6
35562 else
35563
35564
35565 ac_ext=cpp
35566 ac_cpp='$CXXCPP $CPPFLAGS'
35567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35570
35571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35572 /* end confdefs.h. */
35573 #include <math.h>
35574 #ifdef HAVE_IEEEFP_H
35575 #include <ieeefp.h>
35576 #endif
35577
35578 int
35579 main ()
35580 {
35581 log10f(0);
35582 ;
35583 return 0;
35584 }
35585 _ACEOF
35586 if ac_fn_cxx_try_compile "$LINENO"; then :
35587 glibcxx_cv_func_log10f_use=yes
35588 else
35589 glibcxx_cv_func_log10f_use=no
35590 fi
35591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35592 ac_ext=c
35593 ac_cpp='$CPP $CPPFLAGS'
35594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35597
35598
35599 fi
35600
35601 fi
35602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35603 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35604
35605 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35606 for ac_func in log10f
35607 do :
35608 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35609 if test "x$ac_cv_func_log10f" = x""yes; then :
35610 cat >>confdefs.h <<_ACEOF
35611 #define HAVE_LOG10F 1
35612 _ACEOF
35613
35614 fi
35615 done
35616
35617 else
35618
35619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35620 $as_echo_n "checking for _log10f declaration... " >&6; }
35621 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35622 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35623 $as_echo_n "(cached) " >&6
35624 else
35625
35626
35627 ac_ext=cpp
35628 ac_cpp='$CXXCPP $CPPFLAGS'
35629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35632
35633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35634 /* end confdefs.h. */
35635 #include <math.h>
35636 #ifdef HAVE_IEEEFP_H
35637 #include <ieeefp.h>
35638 #endif
35639
35640 int
35641 main ()
35642 {
35643 _log10f(0);
35644 ;
35645 return 0;
35646 }
35647 _ACEOF
35648 if ac_fn_cxx_try_compile "$LINENO"; then :
35649 glibcxx_cv_func__log10f_use=yes
35650 else
35651 glibcxx_cv_func__log10f_use=no
35652 fi
35653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35654 ac_ext=c
35655 ac_cpp='$CPP $CPPFLAGS'
35656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35659
35660
35661 fi
35662
35663 fi
35664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35665 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35666
35667 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35668 for ac_func in _log10f
35669 do :
35670 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35671 if test "x$ac_cv_func__log10f" = x""yes; then :
35672 cat >>confdefs.h <<_ACEOF
35673 #define HAVE__LOG10F 1
35674 _ACEOF
35675
35676 fi
35677 done
35678
35679 fi
35680 fi
35681
35682
35683
35684
35685
35686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35687 $as_echo_n "checking for modff declaration... " >&6; }
35688 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35689 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35690 $as_echo_n "(cached) " >&6
35691 else
35692
35693
35694 ac_ext=cpp
35695 ac_cpp='$CXXCPP $CPPFLAGS'
35696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35699
35700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35701 /* end confdefs.h. */
35702 #include <math.h>
35703 int
35704 main ()
35705 {
35706 modff(0, 0);
35707 ;
35708 return 0;
35709 }
35710 _ACEOF
35711 if ac_fn_cxx_try_compile "$LINENO"; then :
35712 glibcxx_cv_func_modff_use=yes
35713 else
35714 glibcxx_cv_func_modff_use=no
35715 fi
35716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35717 ac_ext=c
35718 ac_cpp='$CPP $CPPFLAGS'
35719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35722
35723
35724 fi
35725
35726 fi
35727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35728 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35729
35730 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35731 for ac_func in modff
35732 do :
35733 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35734 if test "x$ac_cv_func_modff" = x""yes; then :
35735 cat >>confdefs.h <<_ACEOF
35736 #define HAVE_MODFF 1
35737 _ACEOF
35738
35739 fi
35740 done
35741
35742 else
35743
35744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35745 $as_echo_n "checking for _modff declaration... " >&6; }
35746 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35747 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35748 $as_echo_n "(cached) " >&6
35749 else
35750
35751
35752 ac_ext=cpp
35753 ac_cpp='$CXXCPP $CPPFLAGS'
35754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35757
35758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35759 /* end confdefs.h. */
35760 #include <math.h>
35761 int
35762 main ()
35763 {
35764 _modff(0, 0);
35765 ;
35766 return 0;
35767 }
35768 _ACEOF
35769 if ac_fn_cxx_try_compile "$LINENO"; then :
35770 glibcxx_cv_func__modff_use=yes
35771 else
35772 glibcxx_cv_func__modff_use=no
35773 fi
35774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35775 ac_ext=c
35776 ac_cpp='$CPP $CPPFLAGS'
35777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35780
35781
35782 fi
35783
35784 fi
35785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35786 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35787
35788 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35789 for ac_func in _modff
35790 do :
35791 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35792 if test "x$ac_cv_func__modff" = x""yes; then :
35793 cat >>confdefs.h <<_ACEOF
35794 #define HAVE__MODFF 1
35795 _ACEOF
35796
35797 fi
35798 done
35799
35800 fi
35801 fi
35802
35803
35804
35805
35806
35807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35808 $as_echo_n "checking for modf declaration... " >&6; }
35809 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35810 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35811 $as_echo_n "(cached) " >&6
35812 else
35813
35814
35815 ac_ext=cpp
35816 ac_cpp='$CXXCPP $CPPFLAGS'
35817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35820
35821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35822 /* end confdefs.h. */
35823 #include <math.h>
35824 int
35825 main ()
35826 {
35827 modf(0, 0);
35828 ;
35829 return 0;
35830 }
35831 _ACEOF
35832 if ac_fn_cxx_try_compile "$LINENO"; then :
35833 glibcxx_cv_func_modf_use=yes
35834 else
35835 glibcxx_cv_func_modf_use=no
35836 fi
35837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35838 ac_ext=c
35839 ac_cpp='$CPP $CPPFLAGS'
35840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35843
35844
35845 fi
35846
35847 fi
35848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35849 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35850
35851 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35852 for ac_func in modf
35853 do :
35854 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35855 if test "x$ac_cv_func_modf" = x""yes; then :
35856 cat >>confdefs.h <<_ACEOF
35857 #define HAVE_MODF 1
35858 _ACEOF
35859
35860 fi
35861 done
35862
35863 else
35864
35865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35866 $as_echo_n "checking for _modf declaration... " >&6; }
35867 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35868 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35869 $as_echo_n "(cached) " >&6
35870 else
35871
35872
35873 ac_ext=cpp
35874 ac_cpp='$CXXCPP $CPPFLAGS'
35875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35878
35879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35880 /* end confdefs.h. */
35881 #include <math.h>
35882 int
35883 main ()
35884 {
35885 _modf(0, 0);
35886 ;
35887 return 0;
35888 }
35889 _ACEOF
35890 if ac_fn_cxx_try_compile "$LINENO"; then :
35891 glibcxx_cv_func__modf_use=yes
35892 else
35893 glibcxx_cv_func__modf_use=no
35894 fi
35895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35896 ac_ext=c
35897 ac_cpp='$CPP $CPPFLAGS'
35898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35901
35902
35903 fi
35904
35905 fi
35906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35907 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35908
35909 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35910 for ac_func in _modf
35911 do :
35912 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35913 if test "x$ac_cv_func__modf" = x""yes; then :
35914 cat >>confdefs.h <<_ACEOF
35915 #define HAVE__MODF 1
35916 _ACEOF
35917
35918 fi
35919 done
35920
35921 fi
35922 fi
35923
35924
35925
35926
35927
35928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35929 $as_echo_n "checking for powf declaration... " >&6; }
35930 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35931 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35932 $as_echo_n "(cached) " >&6
35933 else
35934
35935
35936 ac_ext=cpp
35937 ac_cpp='$CXXCPP $CPPFLAGS'
35938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35941
35942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35943 /* end confdefs.h. */
35944 #include <math.h>
35945 int
35946 main ()
35947 {
35948 powf(0, 0);
35949 ;
35950 return 0;
35951 }
35952 _ACEOF
35953 if ac_fn_cxx_try_compile "$LINENO"; then :
35954 glibcxx_cv_func_powf_use=yes
35955 else
35956 glibcxx_cv_func_powf_use=no
35957 fi
35958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35959 ac_ext=c
35960 ac_cpp='$CPP $CPPFLAGS'
35961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35964
35965
35966 fi
35967
35968 fi
35969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35970 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35971
35972 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35973 for ac_func in powf
35974 do :
35975 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35976 if test "x$ac_cv_func_powf" = x""yes; then :
35977 cat >>confdefs.h <<_ACEOF
35978 #define HAVE_POWF 1
35979 _ACEOF
35980
35981 fi
35982 done
35983
35984 else
35985
35986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35987 $as_echo_n "checking for _powf declaration... " >&6; }
35988 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35989 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35990 $as_echo_n "(cached) " >&6
35991 else
35992
35993
35994 ac_ext=cpp
35995 ac_cpp='$CXXCPP $CPPFLAGS'
35996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35999
36000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36001 /* end confdefs.h. */
36002 #include <math.h>
36003 int
36004 main ()
36005 {
36006 _powf(0, 0);
36007 ;
36008 return 0;
36009 }
36010 _ACEOF
36011 if ac_fn_cxx_try_compile "$LINENO"; then :
36012 glibcxx_cv_func__powf_use=yes
36013 else
36014 glibcxx_cv_func__powf_use=no
36015 fi
36016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36017 ac_ext=c
36018 ac_cpp='$CPP $CPPFLAGS'
36019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36022
36023
36024 fi
36025
36026 fi
36027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36028 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36029
36030 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36031 for ac_func in _powf
36032 do :
36033 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36034 if test "x$ac_cv_func__powf" = x""yes; then :
36035 cat >>confdefs.h <<_ACEOF
36036 #define HAVE__POWF 1
36037 _ACEOF
36038
36039 fi
36040 done
36041
36042 fi
36043 fi
36044
36045
36046
36047
36048
36049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36050 $as_echo_n "checking for sqrtf declaration... " >&6; }
36051 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36052 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36053 $as_echo_n "(cached) " >&6
36054 else
36055
36056
36057 ac_ext=cpp
36058 ac_cpp='$CXXCPP $CPPFLAGS'
36059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36062
36063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36064 /* end confdefs.h. */
36065 #include <math.h>
36066 #ifdef HAVE_IEEEFP_H
36067 #include <ieeefp.h>
36068 #endif
36069
36070 int
36071 main ()
36072 {
36073 sqrtf(0);
36074 ;
36075 return 0;
36076 }
36077 _ACEOF
36078 if ac_fn_cxx_try_compile "$LINENO"; then :
36079 glibcxx_cv_func_sqrtf_use=yes
36080 else
36081 glibcxx_cv_func_sqrtf_use=no
36082 fi
36083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36084 ac_ext=c
36085 ac_cpp='$CPP $CPPFLAGS'
36086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36089
36090
36091 fi
36092
36093 fi
36094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36095 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36096
36097 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36098 for ac_func in sqrtf
36099 do :
36100 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36101 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36102 cat >>confdefs.h <<_ACEOF
36103 #define HAVE_SQRTF 1
36104 _ACEOF
36105
36106 fi
36107 done
36108
36109 else
36110
36111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36112 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36113 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36114 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36115 $as_echo_n "(cached) " >&6
36116 else
36117
36118
36119 ac_ext=cpp
36120 ac_cpp='$CXXCPP $CPPFLAGS'
36121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36124
36125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36126 /* end confdefs.h. */
36127 #include <math.h>
36128 #ifdef HAVE_IEEEFP_H
36129 #include <ieeefp.h>
36130 #endif
36131
36132 int
36133 main ()
36134 {
36135 _sqrtf(0);
36136 ;
36137 return 0;
36138 }
36139 _ACEOF
36140 if ac_fn_cxx_try_compile "$LINENO"; then :
36141 glibcxx_cv_func__sqrtf_use=yes
36142 else
36143 glibcxx_cv_func__sqrtf_use=no
36144 fi
36145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36146 ac_ext=c
36147 ac_cpp='$CPP $CPPFLAGS'
36148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36151
36152
36153 fi
36154
36155 fi
36156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36157 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36158
36159 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36160 for ac_func in _sqrtf
36161 do :
36162 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36163 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36164 cat >>confdefs.h <<_ACEOF
36165 #define HAVE__SQRTF 1
36166 _ACEOF
36167
36168 fi
36169 done
36170
36171 fi
36172 fi
36173
36174
36175
36176
36177
36178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36179 $as_echo_n "checking for sincosf declaration... " >&6; }
36180 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36181 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36182 $as_echo_n "(cached) " >&6
36183 else
36184
36185
36186 ac_ext=cpp
36187 ac_cpp='$CXXCPP $CPPFLAGS'
36188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36191
36192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36193 /* end confdefs.h. */
36194 #include <math.h>
36195 int
36196 main ()
36197 {
36198 sincosf(0, 0, 0);
36199 ;
36200 return 0;
36201 }
36202 _ACEOF
36203 if ac_fn_cxx_try_compile "$LINENO"; then :
36204 glibcxx_cv_func_sincosf_use=yes
36205 else
36206 glibcxx_cv_func_sincosf_use=no
36207 fi
36208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36209 ac_ext=c
36210 ac_cpp='$CPP $CPPFLAGS'
36211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36214
36215
36216 fi
36217
36218 fi
36219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36220 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36221
36222 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36223 for ac_func in sincosf
36224 do :
36225 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36226 if test "x$ac_cv_func_sincosf" = x""yes; then :
36227 cat >>confdefs.h <<_ACEOF
36228 #define HAVE_SINCOSF 1
36229 _ACEOF
36230
36231 fi
36232 done
36233
36234 else
36235
36236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36237 $as_echo_n "checking for _sincosf declaration... " >&6; }
36238 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36239 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36240 $as_echo_n "(cached) " >&6
36241 else
36242
36243
36244 ac_ext=cpp
36245 ac_cpp='$CXXCPP $CPPFLAGS'
36246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36249
36250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36251 /* end confdefs.h. */
36252 #include <math.h>
36253 int
36254 main ()
36255 {
36256 _sincosf(0, 0, 0);
36257 ;
36258 return 0;
36259 }
36260 _ACEOF
36261 if ac_fn_cxx_try_compile "$LINENO"; then :
36262 glibcxx_cv_func__sincosf_use=yes
36263 else
36264 glibcxx_cv_func__sincosf_use=no
36265 fi
36266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36267 ac_ext=c
36268 ac_cpp='$CPP $CPPFLAGS'
36269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36272
36273
36274 fi
36275
36276 fi
36277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36278 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36279
36280 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36281 for ac_func in _sincosf
36282 do :
36283 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36284 if test "x$ac_cv_func__sincosf" = x""yes; then :
36285 cat >>confdefs.h <<_ACEOF
36286 #define HAVE__SINCOSF 1
36287 _ACEOF
36288
36289 fi
36290 done
36291
36292 fi
36293 fi
36294
36295
36296
36297
36298
36299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36300 $as_echo_n "checking for finitef declaration... " >&6; }
36301 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36302 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36303 $as_echo_n "(cached) " >&6
36304 else
36305
36306
36307 ac_ext=cpp
36308 ac_cpp='$CXXCPP $CPPFLAGS'
36309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36312
36313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36314 /* end confdefs.h. */
36315 #include <math.h>
36316 #ifdef HAVE_IEEEFP_H
36317 #include <ieeefp.h>
36318 #endif
36319
36320 int
36321 main ()
36322 {
36323 finitef(0);
36324 ;
36325 return 0;
36326 }
36327 _ACEOF
36328 if ac_fn_cxx_try_compile "$LINENO"; then :
36329 glibcxx_cv_func_finitef_use=yes
36330 else
36331 glibcxx_cv_func_finitef_use=no
36332 fi
36333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36334 ac_ext=c
36335 ac_cpp='$CPP $CPPFLAGS'
36336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36339
36340
36341 fi
36342
36343 fi
36344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36345 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36346
36347 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36348 for ac_func in finitef
36349 do :
36350 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36351 if test "x$ac_cv_func_finitef" = x""yes; then :
36352 cat >>confdefs.h <<_ACEOF
36353 #define HAVE_FINITEF 1
36354 _ACEOF
36355
36356 fi
36357 done
36358
36359 else
36360
36361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36362 $as_echo_n "checking for _finitef declaration... " >&6; }
36363 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36364 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36365 $as_echo_n "(cached) " >&6
36366 else
36367
36368
36369 ac_ext=cpp
36370 ac_cpp='$CXXCPP $CPPFLAGS'
36371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36374
36375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36376 /* end confdefs.h. */
36377 #include <math.h>
36378 #ifdef HAVE_IEEEFP_H
36379 #include <ieeefp.h>
36380 #endif
36381
36382 int
36383 main ()
36384 {
36385 _finitef(0);
36386 ;
36387 return 0;
36388 }
36389 _ACEOF
36390 if ac_fn_cxx_try_compile "$LINENO"; then :
36391 glibcxx_cv_func__finitef_use=yes
36392 else
36393 glibcxx_cv_func__finitef_use=no
36394 fi
36395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36396 ac_ext=c
36397 ac_cpp='$CPP $CPPFLAGS'
36398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36401
36402
36403 fi
36404
36405 fi
36406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36407 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36408
36409 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36410 for ac_func in _finitef
36411 do :
36412 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36413 if test "x$ac_cv_func__finitef" = x""yes; then :
36414 cat >>confdefs.h <<_ACEOF
36415 #define HAVE__FINITEF 1
36416 _ACEOF
36417
36418 fi
36419 done
36420
36421 fi
36422 fi
36423
36424
36425
36426
36427
36428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36429 $as_echo_n "checking for long double trig functions... " >&6; }
36430 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36431 $as_echo_n "(cached) " >&6
36432 else
36433
36434
36435 ac_ext=cpp
36436 ac_cpp='$CXXCPP $CPPFLAGS'
36437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36440
36441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36442 /* end confdefs.h. */
36443 #include <math.h>
36444 int
36445 main ()
36446 {
36447 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36448 ;
36449 return 0;
36450 }
36451 _ACEOF
36452 if ac_fn_cxx_try_compile "$LINENO"; then :
36453 glibcxx_cv_func_long_double_trig_use=yes
36454 else
36455 glibcxx_cv_func_long_double_trig_use=no
36456 fi
36457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36458 ac_ext=c
36459 ac_cpp='$CPP $CPPFLAGS'
36460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36463
36464 fi
36465
36466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36467 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36468 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36469 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36470 do :
36471 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36472 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36473 eval as_val=\$$as_ac_var
36474 if test "x$as_val" = x""yes; then :
36475 cat >>confdefs.h <<_ACEOF
36476 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36477 _ACEOF
36478
36479 fi
36480 done
36481
36482 else
36483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36484 $as_echo_n "checking for _long double trig functions... " >&6; }
36485 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36486 $as_echo_n "(cached) " >&6
36487 else
36488
36489
36490 ac_ext=cpp
36491 ac_cpp='$CXXCPP $CPPFLAGS'
36492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36495
36496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36497 /* end confdefs.h. */
36498 #include <math.h>
36499 int
36500 main ()
36501 {
36502 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36503 ;
36504 return 0;
36505 }
36506 _ACEOF
36507 if ac_fn_cxx_try_compile "$LINENO"; then :
36508 glibcxx_cv_func__long_double_trig_use=yes
36509 else
36510 glibcxx_cv_func__long_double_trig_use=no
36511 fi
36512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36513 ac_ext=c
36514 ac_cpp='$CPP $CPPFLAGS'
36515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36518
36519 fi
36520
36521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36522 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36523 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36524 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36525 do :
36526 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36527 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36528 eval as_val=\$$as_ac_var
36529 if test "x$as_val" = x""yes; then :
36530 cat >>confdefs.h <<_ACEOF
36531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36532 _ACEOF
36533
36534 fi
36535 done
36536
36537 fi
36538 fi
36539
36540
36541
36542
36543
36544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36545 $as_echo_n "checking for long double round functions... " >&6; }
36546 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36547 $as_echo_n "(cached) " >&6
36548 else
36549
36550
36551 ac_ext=cpp
36552 ac_cpp='$CXXCPP $CPPFLAGS'
36553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36556
36557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36558 /* end confdefs.h. */
36559 #include <math.h>
36560 int
36561 main ()
36562 {
36563 ceill (0); floorl (0);
36564 ;
36565 return 0;
36566 }
36567 _ACEOF
36568 if ac_fn_cxx_try_compile "$LINENO"; then :
36569 glibcxx_cv_func_long_double_round_use=yes
36570 else
36571 glibcxx_cv_func_long_double_round_use=no
36572 fi
36573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36574 ac_ext=c
36575 ac_cpp='$CPP $CPPFLAGS'
36576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36579
36580 fi
36581
36582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36583 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36584 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36585 for ac_func in ceill floorl
36586 do :
36587 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36588 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36589 eval as_val=\$$as_ac_var
36590 if test "x$as_val" = x""yes; then :
36591 cat >>confdefs.h <<_ACEOF
36592 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36593 _ACEOF
36594
36595 fi
36596 done
36597
36598 else
36599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36600 $as_echo_n "checking for _long double round functions... " >&6; }
36601 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36602 $as_echo_n "(cached) " >&6
36603 else
36604
36605
36606 ac_ext=cpp
36607 ac_cpp='$CXXCPP $CPPFLAGS'
36608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36611
36612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36613 /* end confdefs.h. */
36614 #include <math.h>
36615 int
36616 main ()
36617 {
36618 _ceill (0); _floorl (0);
36619 ;
36620 return 0;
36621 }
36622 _ACEOF
36623 if ac_fn_cxx_try_compile "$LINENO"; then :
36624 glibcxx_cv_func__long_double_round_use=yes
36625 else
36626 glibcxx_cv_func__long_double_round_use=no
36627 fi
36628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36629 ac_ext=c
36630 ac_cpp='$CPP $CPPFLAGS'
36631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36634
36635 fi
36636
36637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36638 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36639 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36640 for ac_func in _ceill _floorl
36641 do :
36642 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36643 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36644 eval as_val=\$$as_ac_var
36645 if test "x$as_val" = x""yes; then :
36646 cat >>confdefs.h <<_ACEOF
36647 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36648 _ACEOF
36649
36650 fi
36651 done
36652
36653 fi
36654 fi
36655
36656
36657
36658
36659
36660
36661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36662 $as_echo_n "checking for isnanl declaration... " >&6; }
36663 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36664 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36665 $as_echo_n "(cached) " >&6
36666 else
36667
36668
36669 ac_ext=cpp
36670 ac_cpp='$CXXCPP $CPPFLAGS'
36671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36674
36675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36676 /* end confdefs.h. */
36677 #include <math.h>
36678 #ifdef HAVE_IEEEFP_H
36679 #include <ieeefp.h>
36680 #endif
36681
36682 int
36683 main ()
36684 {
36685 isnanl(0);
36686 ;
36687 return 0;
36688 }
36689 _ACEOF
36690 if ac_fn_cxx_try_compile "$LINENO"; then :
36691 glibcxx_cv_func_isnanl_use=yes
36692 else
36693 glibcxx_cv_func_isnanl_use=no
36694 fi
36695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36696 ac_ext=c
36697 ac_cpp='$CPP $CPPFLAGS'
36698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36701
36702
36703 fi
36704
36705 fi
36706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36707 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36708
36709 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36710 for ac_func in isnanl
36711 do :
36712 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36713 if test "x$ac_cv_func_isnanl" = x""yes; then :
36714 cat >>confdefs.h <<_ACEOF
36715 #define HAVE_ISNANL 1
36716 _ACEOF
36717
36718 fi
36719 done
36720
36721 else
36722
36723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36724 $as_echo_n "checking for _isnanl declaration... " >&6; }
36725 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36726 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36727 $as_echo_n "(cached) " >&6
36728 else
36729
36730
36731 ac_ext=cpp
36732 ac_cpp='$CXXCPP $CPPFLAGS'
36733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36736
36737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36738 /* end confdefs.h. */
36739 #include <math.h>
36740 #ifdef HAVE_IEEEFP_H
36741 #include <ieeefp.h>
36742 #endif
36743
36744 int
36745 main ()
36746 {
36747 _isnanl(0);
36748 ;
36749 return 0;
36750 }
36751 _ACEOF
36752 if ac_fn_cxx_try_compile "$LINENO"; then :
36753 glibcxx_cv_func__isnanl_use=yes
36754 else
36755 glibcxx_cv_func__isnanl_use=no
36756 fi
36757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36758 ac_ext=c
36759 ac_cpp='$CPP $CPPFLAGS'
36760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36763
36764
36765 fi
36766
36767 fi
36768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36769 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36770
36771 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36772 for ac_func in _isnanl
36773 do :
36774 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36775 if test "x$ac_cv_func__isnanl" = x""yes; then :
36776 cat >>confdefs.h <<_ACEOF
36777 #define HAVE__ISNANL 1
36778 _ACEOF
36779
36780 fi
36781 done
36782
36783 fi
36784 fi
36785
36786
36787
36788
36789
36790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36791 $as_echo_n "checking for isinfl declaration... " >&6; }
36792 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36793 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36794 $as_echo_n "(cached) " >&6
36795 else
36796
36797
36798 ac_ext=cpp
36799 ac_cpp='$CXXCPP $CPPFLAGS'
36800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36803
36804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36805 /* end confdefs.h. */
36806 #include <math.h>
36807 #ifdef HAVE_IEEEFP_H
36808 #include <ieeefp.h>
36809 #endif
36810
36811 int
36812 main ()
36813 {
36814 isinfl(0);
36815 ;
36816 return 0;
36817 }
36818 _ACEOF
36819 if ac_fn_cxx_try_compile "$LINENO"; then :
36820 glibcxx_cv_func_isinfl_use=yes
36821 else
36822 glibcxx_cv_func_isinfl_use=no
36823 fi
36824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36825 ac_ext=c
36826 ac_cpp='$CPP $CPPFLAGS'
36827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36830
36831
36832 fi
36833
36834 fi
36835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36836 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36837
36838 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36839 for ac_func in isinfl
36840 do :
36841 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36842 if test "x$ac_cv_func_isinfl" = x""yes; then :
36843 cat >>confdefs.h <<_ACEOF
36844 #define HAVE_ISINFL 1
36845 _ACEOF
36846
36847 fi
36848 done
36849
36850 else
36851
36852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36853 $as_echo_n "checking for _isinfl declaration... " >&6; }
36854 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36855 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36856 $as_echo_n "(cached) " >&6
36857 else
36858
36859
36860 ac_ext=cpp
36861 ac_cpp='$CXXCPP $CPPFLAGS'
36862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36865
36866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36867 /* end confdefs.h. */
36868 #include <math.h>
36869 #ifdef HAVE_IEEEFP_H
36870 #include <ieeefp.h>
36871 #endif
36872
36873 int
36874 main ()
36875 {
36876 _isinfl(0);
36877 ;
36878 return 0;
36879 }
36880 _ACEOF
36881 if ac_fn_cxx_try_compile "$LINENO"; then :
36882 glibcxx_cv_func__isinfl_use=yes
36883 else
36884 glibcxx_cv_func__isinfl_use=no
36885 fi
36886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36887 ac_ext=c
36888 ac_cpp='$CPP $CPPFLAGS'
36889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36892
36893
36894 fi
36895
36896 fi
36897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36898 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36899
36900 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36901 for ac_func in _isinfl
36902 do :
36903 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36904 if test "x$ac_cv_func__isinfl" = x""yes; then :
36905 cat >>confdefs.h <<_ACEOF
36906 #define HAVE__ISINFL 1
36907 _ACEOF
36908
36909 fi
36910 done
36911
36912 fi
36913 fi
36914
36915
36916
36917
36918
36919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36920 $as_echo_n "checking for atan2l declaration... " >&6; }
36921 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36922 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36923 $as_echo_n "(cached) " >&6
36924 else
36925
36926
36927 ac_ext=cpp
36928 ac_cpp='$CXXCPP $CPPFLAGS'
36929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36932
36933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36934 /* end confdefs.h. */
36935 #include <math.h>
36936 int
36937 main ()
36938 {
36939 atan2l(0, 0);
36940 ;
36941 return 0;
36942 }
36943 _ACEOF
36944 if ac_fn_cxx_try_compile "$LINENO"; then :
36945 glibcxx_cv_func_atan2l_use=yes
36946 else
36947 glibcxx_cv_func_atan2l_use=no
36948 fi
36949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36950 ac_ext=c
36951 ac_cpp='$CPP $CPPFLAGS'
36952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36955
36956
36957 fi
36958
36959 fi
36960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36961 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36962
36963 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36964 for ac_func in atan2l
36965 do :
36966 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36967 if test "x$ac_cv_func_atan2l" = x""yes; then :
36968 cat >>confdefs.h <<_ACEOF
36969 #define HAVE_ATAN2L 1
36970 _ACEOF
36971
36972 fi
36973 done
36974
36975 else
36976
36977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36978 $as_echo_n "checking for _atan2l declaration... " >&6; }
36979 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36980 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36981 $as_echo_n "(cached) " >&6
36982 else
36983
36984
36985 ac_ext=cpp
36986 ac_cpp='$CXXCPP $CPPFLAGS'
36987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36990
36991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36992 /* end confdefs.h. */
36993 #include <math.h>
36994 int
36995 main ()
36996 {
36997 _atan2l(0, 0);
36998 ;
36999 return 0;
37000 }
37001 _ACEOF
37002 if ac_fn_cxx_try_compile "$LINENO"; then :
37003 glibcxx_cv_func__atan2l_use=yes
37004 else
37005 glibcxx_cv_func__atan2l_use=no
37006 fi
37007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37008 ac_ext=c
37009 ac_cpp='$CPP $CPPFLAGS'
37010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37013
37014
37015 fi
37016
37017 fi
37018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37019 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37020
37021 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37022 for ac_func in _atan2l
37023 do :
37024 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37025 if test "x$ac_cv_func__atan2l" = x""yes; then :
37026 cat >>confdefs.h <<_ACEOF
37027 #define HAVE__ATAN2L 1
37028 _ACEOF
37029
37030 fi
37031 done
37032
37033 fi
37034 fi
37035
37036
37037
37038
37039
37040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37041 $as_echo_n "checking for expl declaration... " >&6; }
37042 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37043 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37044 $as_echo_n "(cached) " >&6
37045 else
37046
37047
37048 ac_ext=cpp
37049 ac_cpp='$CXXCPP $CPPFLAGS'
37050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37053
37054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37055 /* end confdefs.h. */
37056 #include <math.h>
37057 #ifdef HAVE_IEEEFP_H
37058 #include <ieeefp.h>
37059 #endif
37060
37061 int
37062 main ()
37063 {
37064 expl(0);
37065 ;
37066 return 0;
37067 }
37068 _ACEOF
37069 if ac_fn_cxx_try_compile "$LINENO"; then :
37070 glibcxx_cv_func_expl_use=yes
37071 else
37072 glibcxx_cv_func_expl_use=no
37073 fi
37074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37075 ac_ext=c
37076 ac_cpp='$CPP $CPPFLAGS'
37077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37080
37081
37082 fi
37083
37084 fi
37085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37086 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37087
37088 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37089 for ac_func in expl
37090 do :
37091 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37092 if test "x$ac_cv_func_expl" = x""yes; then :
37093 cat >>confdefs.h <<_ACEOF
37094 #define HAVE_EXPL 1
37095 _ACEOF
37096
37097 fi
37098 done
37099
37100 else
37101
37102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37103 $as_echo_n "checking for _expl declaration... " >&6; }
37104 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37105 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37106 $as_echo_n "(cached) " >&6
37107 else
37108
37109
37110 ac_ext=cpp
37111 ac_cpp='$CXXCPP $CPPFLAGS'
37112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37115
37116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37117 /* end confdefs.h. */
37118 #include <math.h>
37119 #ifdef HAVE_IEEEFP_H
37120 #include <ieeefp.h>
37121 #endif
37122
37123 int
37124 main ()
37125 {
37126 _expl(0);
37127 ;
37128 return 0;
37129 }
37130 _ACEOF
37131 if ac_fn_cxx_try_compile "$LINENO"; then :
37132 glibcxx_cv_func__expl_use=yes
37133 else
37134 glibcxx_cv_func__expl_use=no
37135 fi
37136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37137 ac_ext=c
37138 ac_cpp='$CPP $CPPFLAGS'
37139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37142
37143
37144 fi
37145
37146 fi
37147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37148 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37149
37150 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37151 for ac_func in _expl
37152 do :
37153 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37154 if test "x$ac_cv_func__expl" = x""yes; then :
37155 cat >>confdefs.h <<_ACEOF
37156 #define HAVE__EXPL 1
37157 _ACEOF
37158
37159 fi
37160 done
37161
37162 fi
37163 fi
37164
37165
37166
37167
37168
37169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37170 $as_echo_n "checking for fabsl declaration... " >&6; }
37171 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37172 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37173 $as_echo_n "(cached) " >&6
37174 else
37175
37176
37177 ac_ext=cpp
37178 ac_cpp='$CXXCPP $CPPFLAGS'
37179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37182
37183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37184 /* end confdefs.h. */
37185 #include <math.h>
37186 #ifdef HAVE_IEEEFP_H
37187 #include <ieeefp.h>
37188 #endif
37189
37190 int
37191 main ()
37192 {
37193 fabsl(0);
37194 ;
37195 return 0;
37196 }
37197 _ACEOF
37198 if ac_fn_cxx_try_compile "$LINENO"; then :
37199 glibcxx_cv_func_fabsl_use=yes
37200 else
37201 glibcxx_cv_func_fabsl_use=no
37202 fi
37203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37204 ac_ext=c
37205 ac_cpp='$CPP $CPPFLAGS'
37206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37209
37210
37211 fi
37212
37213 fi
37214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37215 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37216
37217 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37218 for ac_func in fabsl
37219 do :
37220 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37221 if test "x$ac_cv_func_fabsl" = x""yes; then :
37222 cat >>confdefs.h <<_ACEOF
37223 #define HAVE_FABSL 1
37224 _ACEOF
37225
37226 fi
37227 done
37228
37229 else
37230
37231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37232 $as_echo_n "checking for _fabsl declaration... " >&6; }
37233 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37234 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37235 $as_echo_n "(cached) " >&6
37236 else
37237
37238
37239 ac_ext=cpp
37240 ac_cpp='$CXXCPP $CPPFLAGS'
37241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37244
37245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37246 /* end confdefs.h. */
37247 #include <math.h>
37248 #ifdef HAVE_IEEEFP_H
37249 #include <ieeefp.h>
37250 #endif
37251
37252 int
37253 main ()
37254 {
37255 _fabsl(0);
37256 ;
37257 return 0;
37258 }
37259 _ACEOF
37260 if ac_fn_cxx_try_compile "$LINENO"; then :
37261 glibcxx_cv_func__fabsl_use=yes
37262 else
37263 glibcxx_cv_func__fabsl_use=no
37264 fi
37265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37266 ac_ext=c
37267 ac_cpp='$CPP $CPPFLAGS'
37268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37271
37272
37273 fi
37274
37275 fi
37276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37277 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37278
37279 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37280 for ac_func in _fabsl
37281 do :
37282 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37283 if test "x$ac_cv_func__fabsl" = x""yes; then :
37284 cat >>confdefs.h <<_ACEOF
37285 #define HAVE__FABSL 1
37286 _ACEOF
37287
37288 fi
37289 done
37290
37291 fi
37292 fi
37293
37294
37295
37296
37297
37298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37299 $as_echo_n "checking for fmodl declaration... " >&6; }
37300 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37301 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37302 $as_echo_n "(cached) " >&6
37303 else
37304
37305
37306 ac_ext=cpp
37307 ac_cpp='$CXXCPP $CPPFLAGS'
37308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37311
37312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37313 /* end confdefs.h. */
37314 #include <math.h>
37315 int
37316 main ()
37317 {
37318 fmodl(0, 0);
37319 ;
37320 return 0;
37321 }
37322 _ACEOF
37323 if ac_fn_cxx_try_compile "$LINENO"; then :
37324 glibcxx_cv_func_fmodl_use=yes
37325 else
37326 glibcxx_cv_func_fmodl_use=no
37327 fi
37328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37329 ac_ext=c
37330 ac_cpp='$CPP $CPPFLAGS'
37331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37334
37335
37336 fi
37337
37338 fi
37339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37340 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37341
37342 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37343 for ac_func in fmodl
37344 do :
37345 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37346 if test "x$ac_cv_func_fmodl" = x""yes; then :
37347 cat >>confdefs.h <<_ACEOF
37348 #define HAVE_FMODL 1
37349 _ACEOF
37350
37351 fi
37352 done
37353
37354 else
37355
37356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37357 $as_echo_n "checking for _fmodl declaration... " >&6; }
37358 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37359 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37360 $as_echo_n "(cached) " >&6
37361 else
37362
37363
37364 ac_ext=cpp
37365 ac_cpp='$CXXCPP $CPPFLAGS'
37366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37369
37370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37371 /* end confdefs.h. */
37372 #include <math.h>
37373 int
37374 main ()
37375 {
37376 _fmodl(0, 0);
37377 ;
37378 return 0;
37379 }
37380 _ACEOF
37381 if ac_fn_cxx_try_compile "$LINENO"; then :
37382 glibcxx_cv_func__fmodl_use=yes
37383 else
37384 glibcxx_cv_func__fmodl_use=no
37385 fi
37386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37387 ac_ext=c
37388 ac_cpp='$CPP $CPPFLAGS'
37389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37392
37393
37394 fi
37395
37396 fi
37397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37398 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37399
37400 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37401 for ac_func in _fmodl
37402 do :
37403 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37404 if test "x$ac_cv_func__fmodl" = x""yes; then :
37405 cat >>confdefs.h <<_ACEOF
37406 #define HAVE__FMODL 1
37407 _ACEOF
37408
37409 fi
37410 done
37411
37412 fi
37413 fi
37414
37415
37416
37417
37418
37419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37420 $as_echo_n "checking for frexpl declaration... " >&6; }
37421 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37422 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37423 $as_echo_n "(cached) " >&6
37424 else
37425
37426
37427 ac_ext=cpp
37428 ac_cpp='$CXXCPP $CPPFLAGS'
37429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37432
37433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37434 /* end confdefs.h. */
37435 #include <math.h>
37436 int
37437 main ()
37438 {
37439 frexpl(0, 0);
37440 ;
37441 return 0;
37442 }
37443 _ACEOF
37444 if ac_fn_cxx_try_compile "$LINENO"; then :
37445 glibcxx_cv_func_frexpl_use=yes
37446 else
37447 glibcxx_cv_func_frexpl_use=no
37448 fi
37449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37450 ac_ext=c
37451 ac_cpp='$CPP $CPPFLAGS'
37452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37455
37456
37457 fi
37458
37459 fi
37460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37461 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37462
37463 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37464 for ac_func in frexpl
37465 do :
37466 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37467 if test "x$ac_cv_func_frexpl" = x""yes; then :
37468 cat >>confdefs.h <<_ACEOF
37469 #define HAVE_FREXPL 1
37470 _ACEOF
37471
37472 fi
37473 done
37474
37475 else
37476
37477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37478 $as_echo_n "checking for _frexpl declaration... " >&6; }
37479 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37480 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37481 $as_echo_n "(cached) " >&6
37482 else
37483
37484
37485 ac_ext=cpp
37486 ac_cpp='$CXXCPP $CPPFLAGS'
37487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37490
37491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37492 /* end confdefs.h. */
37493 #include <math.h>
37494 int
37495 main ()
37496 {
37497 _frexpl(0, 0);
37498 ;
37499 return 0;
37500 }
37501 _ACEOF
37502 if ac_fn_cxx_try_compile "$LINENO"; then :
37503 glibcxx_cv_func__frexpl_use=yes
37504 else
37505 glibcxx_cv_func__frexpl_use=no
37506 fi
37507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37508 ac_ext=c
37509 ac_cpp='$CPP $CPPFLAGS'
37510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37513
37514
37515 fi
37516
37517 fi
37518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37519 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37520
37521 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37522 for ac_func in _frexpl
37523 do :
37524 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37525 if test "x$ac_cv_func__frexpl" = x""yes; then :
37526 cat >>confdefs.h <<_ACEOF
37527 #define HAVE__FREXPL 1
37528 _ACEOF
37529
37530 fi
37531 done
37532
37533 fi
37534 fi
37535
37536
37537
37538
37539
37540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37541 $as_echo_n "checking for hypotl declaration... " >&6; }
37542 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37543 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37544 $as_echo_n "(cached) " >&6
37545 else
37546
37547
37548 ac_ext=cpp
37549 ac_cpp='$CXXCPP $CPPFLAGS'
37550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37553
37554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37555 /* end confdefs.h. */
37556 #include <math.h>
37557 int
37558 main ()
37559 {
37560 hypotl(0, 0);
37561 ;
37562 return 0;
37563 }
37564 _ACEOF
37565 if ac_fn_cxx_try_compile "$LINENO"; then :
37566 glibcxx_cv_func_hypotl_use=yes
37567 else
37568 glibcxx_cv_func_hypotl_use=no
37569 fi
37570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37571 ac_ext=c
37572 ac_cpp='$CPP $CPPFLAGS'
37573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37576
37577
37578 fi
37579
37580 fi
37581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37582 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37583
37584 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37585 for ac_func in hypotl
37586 do :
37587 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37588 if test "x$ac_cv_func_hypotl" = x""yes; then :
37589 cat >>confdefs.h <<_ACEOF
37590 #define HAVE_HYPOTL 1
37591 _ACEOF
37592
37593 fi
37594 done
37595
37596 else
37597
37598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37599 $as_echo_n "checking for _hypotl declaration... " >&6; }
37600 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37601 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37602 $as_echo_n "(cached) " >&6
37603 else
37604
37605
37606 ac_ext=cpp
37607 ac_cpp='$CXXCPP $CPPFLAGS'
37608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37611
37612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37613 /* end confdefs.h. */
37614 #include <math.h>
37615 int
37616 main ()
37617 {
37618 _hypotl(0, 0);
37619 ;
37620 return 0;
37621 }
37622 _ACEOF
37623 if ac_fn_cxx_try_compile "$LINENO"; then :
37624 glibcxx_cv_func__hypotl_use=yes
37625 else
37626 glibcxx_cv_func__hypotl_use=no
37627 fi
37628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37629 ac_ext=c
37630 ac_cpp='$CPP $CPPFLAGS'
37631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37634
37635
37636 fi
37637
37638 fi
37639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37640 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37641
37642 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37643 for ac_func in _hypotl
37644 do :
37645 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37646 if test "x$ac_cv_func__hypotl" = x""yes; then :
37647 cat >>confdefs.h <<_ACEOF
37648 #define HAVE__HYPOTL 1
37649 _ACEOF
37650
37651 fi
37652 done
37653
37654 fi
37655 fi
37656
37657
37658
37659
37660
37661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37662 $as_echo_n "checking for ldexpl declaration... " >&6; }
37663 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37664 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37665 $as_echo_n "(cached) " >&6
37666 else
37667
37668
37669 ac_ext=cpp
37670 ac_cpp='$CXXCPP $CPPFLAGS'
37671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37674
37675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37676 /* end confdefs.h. */
37677 #include <math.h>
37678 int
37679 main ()
37680 {
37681 ldexpl(0, 0);
37682 ;
37683 return 0;
37684 }
37685 _ACEOF
37686 if ac_fn_cxx_try_compile "$LINENO"; then :
37687 glibcxx_cv_func_ldexpl_use=yes
37688 else
37689 glibcxx_cv_func_ldexpl_use=no
37690 fi
37691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37692 ac_ext=c
37693 ac_cpp='$CPP $CPPFLAGS'
37694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37697
37698
37699 fi
37700
37701 fi
37702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37703 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37704
37705 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37706 for ac_func in ldexpl
37707 do :
37708 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37709 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37710 cat >>confdefs.h <<_ACEOF
37711 #define HAVE_LDEXPL 1
37712 _ACEOF
37713
37714 fi
37715 done
37716
37717 else
37718
37719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37720 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37721 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37722 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37723 $as_echo_n "(cached) " >&6
37724 else
37725
37726
37727 ac_ext=cpp
37728 ac_cpp='$CXXCPP $CPPFLAGS'
37729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37732
37733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37734 /* end confdefs.h. */
37735 #include <math.h>
37736 int
37737 main ()
37738 {
37739 _ldexpl(0, 0);
37740 ;
37741 return 0;
37742 }
37743 _ACEOF
37744 if ac_fn_cxx_try_compile "$LINENO"; then :
37745 glibcxx_cv_func__ldexpl_use=yes
37746 else
37747 glibcxx_cv_func__ldexpl_use=no
37748 fi
37749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37750 ac_ext=c
37751 ac_cpp='$CPP $CPPFLAGS'
37752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37755
37756
37757 fi
37758
37759 fi
37760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37761 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37762
37763 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37764 for ac_func in _ldexpl
37765 do :
37766 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37767 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37768 cat >>confdefs.h <<_ACEOF
37769 #define HAVE__LDEXPL 1
37770 _ACEOF
37771
37772 fi
37773 done
37774
37775 fi
37776 fi
37777
37778
37779
37780
37781
37782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37783 $as_echo_n "checking for logl declaration... " >&6; }
37784 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37785 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37786 $as_echo_n "(cached) " >&6
37787 else
37788
37789
37790 ac_ext=cpp
37791 ac_cpp='$CXXCPP $CPPFLAGS'
37792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37795
37796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37797 /* end confdefs.h. */
37798 #include <math.h>
37799 #ifdef HAVE_IEEEFP_H
37800 #include <ieeefp.h>
37801 #endif
37802
37803 int
37804 main ()
37805 {
37806 logl(0);
37807 ;
37808 return 0;
37809 }
37810 _ACEOF
37811 if ac_fn_cxx_try_compile "$LINENO"; then :
37812 glibcxx_cv_func_logl_use=yes
37813 else
37814 glibcxx_cv_func_logl_use=no
37815 fi
37816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37817 ac_ext=c
37818 ac_cpp='$CPP $CPPFLAGS'
37819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37822
37823
37824 fi
37825
37826 fi
37827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37828 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37829
37830 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37831 for ac_func in logl
37832 do :
37833 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37834 if test "x$ac_cv_func_logl" = x""yes; then :
37835 cat >>confdefs.h <<_ACEOF
37836 #define HAVE_LOGL 1
37837 _ACEOF
37838
37839 fi
37840 done
37841
37842 else
37843
37844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37845 $as_echo_n "checking for _logl declaration... " >&6; }
37846 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37847 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37848 $as_echo_n "(cached) " >&6
37849 else
37850
37851
37852 ac_ext=cpp
37853 ac_cpp='$CXXCPP $CPPFLAGS'
37854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37857
37858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37859 /* end confdefs.h. */
37860 #include <math.h>
37861 #ifdef HAVE_IEEEFP_H
37862 #include <ieeefp.h>
37863 #endif
37864
37865 int
37866 main ()
37867 {
37868 _logl(0);
37869 ;
37870 return 0;
37871 }
37872 _ACEOF
37873 if ac_fn_cxx_try_compile "$LINENO"; then :
37874 glibcxx_cv_func__logl_use=yes
37875 else
37876 glibcxx_cv_func__logl_use=no
37877 fi
37878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37879 ac_ext=c
37880 ac_cpp='$CPP $CPPFLAGS'
37881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37884
37885
37886 fi
37887
37888 fi
37889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37890 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37891
37892 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37893 for ac_func in _logl
37894 do :
37895 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37896 if test "x$ac_cv_func__logl" = x""yes; then :
37897 cat >>confdefs.h <<_ACEOF
37898 #define HAVE__LOGL 1
37899 _ACEOF
37900
37901 fi
37902 done
37903
37904 fi
37905 fi
37906
37907
37908
37909
37910
37911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37912 $as_echo_n "checking for log10l declaration... " >&6; }
37913 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37914 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37915 $as_echo_n "(cached) " >&6
37916 else
37917
37918
37919 ac_ext=cpp
37920 ac_cpp='$CXXCPP $CPPFLAGS'
37921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37924
37925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37926 /* end confdefs.h. */
37927 #include <math.h>
37928 #ifdef HAVE_IEEEFP_H
37929 #include <ieeefp.h>
37930 #endif
37931
37932 int
37933 main ()
37934 {
37935 log10l(0);
37936 ;
37937 return 0;
37938 }
37939 _ACEOF
37940 if ac_fn_cxx_try_compile "$LINENO"; then :
37941 glibcxx_cv_func_log10l_use=yes
37942 else
37943 glibcxx_cv_func_log10l_use=no
37944 fi
37945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37946 ac_ext=c
37947 ac_cpp='$CPP $CPPFLAGS'
37948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37951
37952
37953 fi
37954
37955 fi
37956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37957 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37958
37959 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37960 for ac_func in log10l
37961 do :
37962 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37963 if test "x$ac_cv_func_log10l" = x""yes; then :
37964 cat >>confdefs.h <<_ACEOF
37965 #define HAVE_LOG10L 1
37966 _ACEOF
37967
37968 fi
37969 done
37970
37971 else
37972
37973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37974 $as_echo_n "checking for _log10l declaration... " >&6; }
37975 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37976 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37977 $as_echo_n "(cached) " >&6
37978 else
37979
37980
37981 ac_ext=cpp
37982 ac_cpp='$CXXCPP $CPPFLAGS'
37983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37986
37987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37988 /* end confdefs.h. */
37989 #include <math.h>
37990 #ifdef HAVE_IEEEFP_H
37991 #include <ieeefp.h>
37992 #endif
37993
37994 int
37995 main ()
37996 {
37997 _log10l(0);
37998 ;
37999 return 0;
38000 }
38001 _ACEOF
38002 if ac_fn_cxx_try_compile "$LINENO"; then :
38003 glibcxx_cv_func__log10l_use=yes
38004 else
38005 glibcxx_cv_func__log10l_use=no
38006 fi
38007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38008 ac_ext=c
38009 ac_cpp='$CPP $CPPFLAGS'
38010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38013
38014
38015 fi
38016
38017 fi
38018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38019 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38020
38021 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38022 for ac_func in _log10l
38023 do :
38024 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38025 if test "x$ac_cv_func__log10l" = x""yes; then :
38026 cat >>confdefs.h <<_ACEOF
38027 #define HAVE__LOG10L 1
38028 _ACEOF
38029
38030 fi
38031 done
38032
38033 fi
38034 fi
38035
38036
38037
38038
38039
38040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38041 $as_echo_n "checking for modfl declaration... " >&6; }
38042 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38043 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38044 $as_echo_n "(cached) " >&6
38045 else
38046
38047
38048 ac_ext=cpp
38049 ac_cpp='$CXXCPP $CPPFLAGS'
38050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38053
38054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38055 /* end confdefs.h. */
38056 #include <math.h>
38057 int
38058 main ()
38059 {
38060 modfl(0, 0);
38061 ;
38062 return 0;
38063 }
38064 _ACEOF
38065 if ac_fn_cxx_try_compile "$LINENO"; then :
38066 glibcxx_cv_func_modfl_use=yes
38067 else
38068 glibcxx_cv_func_modfl_use=no
38069 fi
38070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38071 ac_ext=c
38072 ac_cpp='$CPP $CPPFLAGS'
38073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38076
38077
38078 fi
38079
38080 fi
38081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38082 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38083
38084 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38085 for ac_func in modfl
38086 do :
38087 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38088 if test "x$ac_cv_func_modfl" = x""yes; then :
38089 cat >>confdefs.h <<_ACEOF
38090 #define HAVE_MODFL 1
38091 _ACEOF
38092
38093 fi
38094 done
38095
38096 else
38097
38098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38099 $as_echo_n "checking for _modfl declaration... " >&6; }
38100 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38101 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38102 $as_echo_n "(cached) " >&6
38103 else
38104
38105
38106 ac_ext=cpp
38107 ac_cpp='$CXXCPP $CPPFLAGS'
38108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38111
38112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38113 /* end confdefs.h. */
38114 #include <math.h>
38115 int
38116 main ()
38117 {
38118 _modfl(0, 0);
38119 ;
38120 return 0;
38121 }
38122 _ACEOF
38123 if ac_fn_cxx_try_compile "$LINENO"; then :
38124 glibcxx_cv_func__modfl_use=yes
38125 else
38126 glibcxx_cv_func__modfl_use=no
38127 fi
38128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38129 ac_ext=c
38130 ac_cpp='$CPP $CPPFLAGS'
38131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38134
38135
38136 fi
38137
38138 fi
38139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38140 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38141
38142 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38143 for ac_func in _modfl
38144 do :
38145 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38146 if test "x$ac_cv_func__modfl" = x""yes; then :
38147 cat >>confdefs.h <<_ACEOF
38148 #define HAVE__MODFL 1
38149 _ACEOF
38150
38151 fi
38152 done
38153
38154 fi
38155 fi
38156
38157
38158
38159
38160
38161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38162 $as_echo_n "checking for powl declaration... " >&6; }
38163 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38164 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38165 $as_echo_n "(cached) " >&6
38166 else
38167
38168
38169 ac_ext=cpp
38170 ac_cpp='$CXXCPP $CPPFLAGS'
38171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38174
38175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38176 /* end confdefs.h. */
38177 #include <math.h>
38178 int
38179 main ()
38180 {
38181 powl(0, 0);
38182 ;
38183 return 0;
38184 }
38185 _ACEOF
38186 if ac_fn_cxx_try_compile "$LINENO"; then :
38187 glibcxx_cv_func_powl_use=yes
38188 else
38189 glibcxx_cv_func_powl_use=no
38190 fi
38191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38192 ac_ext=c
38193 ac_cpp='$CPP $CPPFLAGS'
38194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38197
38198
38199 fi
38200
38201 fi
38202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38203 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38204
38205 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38206 for ac_func in powl
38207 do :
38208 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38209 if test "x$ac_cv_func_powl" = x""yes; then :
38210 cat >>confdefs.h <<_ACEOF
38211 #define HAVE_POWL 1
38212 _ACEOF
38213
38214 fi
38215 done
38216
38217 else
38218
38219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38220 $as_echo_n "checking for _powl declaration... " >&6; }
38221 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38222 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38223 $as_echo_n "(cached) " >&6
38224 else
38225
38226
38227 ac_ext=cpp
38228 ac_cpp='$CXXCPP $CPPFLAGS'
38229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38232
38233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38234 /* end confdefs.h. */
38235 #include <math.h>
38236 int
38237 main ()
38238 {
38239 _powl(0, 0);
38240 ;
38241 return 0;
38242 }
38243 _ACEOF
38244 if ac_fn_cxx_try_compile "$LINENO"; then :
38245 glibcxx_cv_func__powl_use=yes
38246 else
38247 glibcxx_cv_func__powl_use=no
38248 fi
38249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38250 ac_ext=c
38251 ac_cpp='$CPP $CPPFLAGS'
38252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38255
38256
38257 fi
38258
38259 fi
38260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38261 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38262
38263 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38264 for ac_func in _powl
38265 do :
38266 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38267 if test "x$ac_cv_func__powl" = x""yes; then :
38268 cat >>confdefs.h <<_ACEOF
38269 #define HAVE__POWL 1
38270 _ACEOF
38271
38272 fi
38273 done
38274
38275 fi
38276 fi
38277
38278
38279
38280
38281
38282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38283 $as_echo_n "checking for sqrtl declaration... " >&6; }
38284 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38285 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38286 $as_echo_n "(cached) " >&6
38287 else
38288
38289
38290 ac_ext=cpp
38291 ac_cpp='$CXXCPP $CPPFLAGS'
38292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38295
38296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38297 /* end confdefs.h. */
38298 #include <math.h>
38299 #ifdef HAVE_IEEEFP_H
38300 #include <ieeefp.h>
38301 #endif
38302
38303 int
38304 main ()
38305 {
38306 sqrtl(0);
38307 ;
38308 return 0;
38309 }
38310 _ACEOF
38311 if ac_fn_cxx_try_compile "$LINENO"; then :
38312 glibcxx_cv_func_sqrtl_use=yes
38313 else
38314 glibcxx_cv_func_sqrtl_use=no
38315 fi
38316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38317 ac_ext=c
38318 ac_cpp='$CPP $CPPFLAGS'
38319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38322
38323
38324 fi
38325
38326 fi
38327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38328 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38329
38330 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38331 for ac_func in sqrtl
38332 do :
38333 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38334 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38335 cat >>confdefs.h <<_ACEOF
38336 #define HAVE_SQRTL 1
38337 _ACEOF
38338
38339 fi
38340 done
38341
38342 else
38343
38344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38345 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38346 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38347 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38348 $as_echo_n "(cached) " >&6
38349 else
38350
38351
38352 ac_ext=cpp
38353 ac_cpp='$CXXCPP $CPPFLAGS'
38354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38357
38358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38359 /* end confdefs.h. */
38360 #include <math.h>
38361 #ifdef HAVE_IEEEFP_H
38362 #include <ieeefp.h>
38363 #endif
38364
38365 int
38366 main ()
38367 {
38368 _sqrtl(0);
38369 ;
38370 return 0;
38371 }
38372 _ACEOF
38373 if ac_fn_cxx_try_compile "$LINENO"; then :
38374 glibcxx_cv_func__sqrtl_use=yes
38375 else
38376 glibcxx_cv_func__sqrtl_use=no
38377 fi
38378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38379 ac_ext=c
38380 ac_cpp='$CPP $CPPFLAGS'
38381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38384
38385
38386 fi
38387
38388 fi
38389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38390 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38391
38392 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38393 for ac_func in _sqrtl
38394 do :
38395 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38396 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38397 cat >>confdefs.h <<_ACEOF
38398 #define HAVE__SQRTL 1
38399 _ACEOF
38400
38401 fi
38402 done
38403
38404 fi
38405 fi
38406
38407
38408
38409
38410
38411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38412 $as_echo_n "checking for sincosl declaration... " >&6; }
38413 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38414 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38415 $as_echo_n "(cached) " >&6
38416 else
38417
38418
38419 ac_ext=cpp
38420 ac_cpp='$CXXCPP $CPPFLAGS'
38421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38424
38425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38426 /* end confdefs.h. */
38427 #include <math.h>
38428 int
38429 main ()
38430 {
38431 sincosl(0, 0, 0);
38432 ;
38433 return 0;
38434 }
38435 _ACEOF
38436 if ac_fn_cxx_try_compile "$LINENO"; then :
38437 glibcxx_cv_func_sincosl_use=yes
38438 else
38439 glibcxx_cv_func_sincosl_use=no
38440 fi
38441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38442 ac_ext=c
38443 ac_cpp='$CPP $CPPFLAGS'
38444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38447
38448
38449 fi
38450
38451 fi
38452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38453 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38454
38455 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38456 for ac_func in sincosl
38457 do :
38458 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38459 if test "x$ac_cv_func_sincosl" = x""yes; then :
38460 cat >>confdefs.h <<_ACEOF
38461 #define HAVE_SINCOSL 1
38462 _ACEOF
38463
38464 fi
38465 done
38466
38467 else
38468
38469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38470 $as_echo_n "checking for _sincosl declaration... " >&6; }
38471 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38472 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38473 $as_echo_n "(cached) " >&6
38474 else
38475
38476
38477 ac_ext=cpp
38478 ac_cpp='$CXXCPP $CPPFLAGS'
38479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38482
38483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38484 /* end confdefs.h. */
38485 #include <math.h>
38486 int
38487 main ()
38488 {
38489 _sincosl(0, 0, 0);
38490 ;
38491 return 0;
38492 }
38493 _ACEOF
38494 if ac_fn_cxx_try_compile "$LINENO"; then :
38495 glibcxx_cv_func__sincosl_use=yes
38496 else
38497 glibcxx_cv_func__sincosl_use=no
38498 fi
38499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38500 ac_ext=c
38501 ac_cpp='$CPP $CPPFLAGS'
38502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38505
38506
38507 fi
38508
38509 fi
38510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38511 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38512
38513 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38514 for ac_func in _sincosl
38515 do :
38516 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38517 if test "x$ac_cv_func__sincosl" = x""yes; then :
38518 cat >>confdefs.h <<_ACEOF
38519 #define HAVE__SINCOSL 1
38520 _ACEOF
38521
38522 fi
38523 done
38524
38525 fi
38526 fi
38527
38528
38529
38530
38531
38532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38533 $as_echo_n "checking for finitel declaration... " >&6; }
38534 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38535 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38536 $as_echo_n "(cached) " >&6
38537 else
38538
38539
38540 ac_ext=cpp
38541 ac_cpp='$CXXCPP $CPPFLAGS'
38542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38545
38546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38547 /* end confdefs.h. */
38548 #include <math.h>
38549 #ifdef HAVE_IEEEFP_H
38550 #include <ieeefp.h>
38551 #endif
38552
38553 int
38554 main ()
38555 {
38556 finitel(0);
38557 ;
38558 return 0;
38559 }
38560 _ACEOF
38561 if ac_fn_cxx_try_compile "$LINENO"; then :
38562 glibcxx_cv_func_finitel_use=yes
38563 else
38564 glibcxx_cv_func_finitel_use=no
38565 fi
38566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38567 ac_ext=c
38568 ac_cpp='$CPP $CPPFLAGS'
38569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38572
38573
38574 fi
38575
38576 fi
38577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38578 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38579
38580 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38581 for ac_func in finitel
38582 do :
38583 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38584 if test "x$ac_cv_func_finitel" = x""yes; then :
38585 cat >>confdefs.h <<_ACEOF
38586 #define HAVE_FINITEL 1
38587 _ACEOF
38588
38589 fi
38590 done
38591
38592 else
38593
38594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38595 $as_echo_n "checking for _finitel declaration... " >&6; }
38596 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38597 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38598 $as_echo_n "(cached) " >&6
38599 else
38600
38601
38602 ac_ext=cpp
38603 ac_cpp='$CXXCPP $CPPFLAGS'
38604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38607
38608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38609 /* end confdefs.h. */
38610 #include <math.h>
38611 #ifdef HAVE_IEEEFP_H
38612 #include <ieeefp.h>
38613 #endif
38614
38615 int
38616 main ()
38617 {
38618 _finitel(0);
38619 ;
38620 return 0;
38621 }
38622 _ACEOF
38623 if ac_fn_cxx_try_compile "$LINENO"; then :
38624 glibcxx_cv_func__finitel_use=yes
38625 else
38626 glibcxx_cv_func__finitel_use=no
38627 fi
38628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38629 ac_ext=c
38630 ac_cpp='$CPP $CPPFLAGS'
38631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38634
38635
38636 fi
38637
38638 fi
38639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38640 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38641
38642 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38643 for ac_func in _finitel
38644 do :
38645 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38646 if test "x$ac_cv_func__finitel" = x""yes; then :
38647 cat >>confdefs.h <<_ACEOF
38648 #define HAVE__FINITEL 1
38649 _ACEOF
38650
38651 fi
38652 done
38653
38654 fi
38655 fi
38656
38657
38658
38659
38660 LIBS="$ac_save_LIBS"
38661 CXXFLAGS="$ac_save_CXXFLAGS"
38662
38663
38664 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38665 ac_save_CXXFLAGS="$CXXFLAGS"
38666 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38667
38668
38669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38670 $as_echo_n "checking for strtold declaration... " >&6; }
38671 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38672 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38673 $as_echo_n "(cached) " >&6
38674 else
38675
38676
38677 ac_ext=cpp
38678 ac_cpp='$CXXCPP $CPPFLAGS'
38679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38682
38683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38684 /* end confdefs.h. */
38685 #include <stdlib.h>
38686 int
38687 main ()
38688 {
38689 strtold(0, 0);
38690 ;
38691 return 0;
38692 }
38693 _ACEOF
38694 if ac_fn_cxx_try_compile "$LINENO"; then :
38695 glibcxx_cv_func_strtold_use=yes
38696 else
38697 glibcxx_cv_func_strtold_use=no
38698 fi
38699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38700 ac_ext=c
38701 ac_cpp='$CPP $CPPFLAGS'
38702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38705
38706
38707 fi
38708
38709 fi
38710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38711 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38712 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38713 for ac_func in strtold
38714 do :
38715 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38716 if test "x$ac_cv_func_strtold" = x""yes; then :
38717 cat >>confdefs.h <<_ACEOF
38718 #define HAVE_STRTOLD 1
38719 _ACEOF
38720
38721 fi
38722 done
38723
38724 fi
38725
38726
38727
38728
38729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38730 $as_echo_n "checking for strtof declaration... " >&6; }
38731 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38732 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38733 $as_echo_n "(cached) " >&6
38734 else
38735
38736
38737 ac_ext=cpp
38738 ac_cpp='$CXXCPP $CPPFLAGS'
38739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38742
38743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38744 /* end confdefs.h. */
38745 #include <stdlib.h>
38746 int
38747 main ()
38748 {
38749 strtof(0, 0);
38750 ;
38751 return 0;
38752 }
38753 _ACEOF
38754 if ac_fn_cxx_try_compile "$LINENO"; then :
38755 glibcxx_cv_func_strtof_use=yes
38756 else
38757 glibcxx_cv_func_strtof_use=no
38758 fi
38759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38760 ac_ext=c
38761 ac_cpp='$CPP $CPPFLAGS'
38762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38765
38766
38767 fi
38768
38769 fi
38770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38771 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38772 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38773 for ac_func in strtof
38774 do :
38775 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38776 if test "x$ac_cv_func_strtof" = x""yes; then :
38777 cat >>confdefs.h <<_ACEOF
38778 #define HAVE_STRTOF 1
38779 _ACEOF
38780
38781 fi
38782 done
38783
38784 fi
38785
38786
38787
38788
38789 CXXFLAGS="$ac_save_CXXFLAGS"
38790
38791 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38792
38793 # We don't yet support AIX's TLS ABI.
38794 #GCC_CHECK_TLS
38795
38796
38797
38798
38799
38800 am_save_CPPFLAGS="$CPPFLAGS"
38801
38802 for element in $INCICONV; do
38803 haveit=
38804 for x in $CPPFLAGS; do
38805
38806 acl_save_prefix="$prefix"
38807 prefix="$acl_final_prefix"
38808 acl_save_exec_prefix="$exec_prefix"
38809 exec_prefix="$acl_final_exec_prefix"
38810 eval x=\"$x\"
38811 exec_prefix="$acl_save_exec_prefix"
38812 prefix="$acl_save_prefix"
38813
38814 if test "X$x" = "X$element"; then
38815 haveit=yes
38816 break
38817 fi
38818 done
38819 if test -z "$haveit"; then
38820 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38821 fi
38822 done
38823
38824
38825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38826 $as_echo_n "checking for iconv... " >&6; }
38827 if test "${am_cv_func_iconv+set}" = set; then :
38828 $as_echo_n "(cached) " >&6
38829 else
38830
38831 am_cv_func_iconv="no, consider installing GNU libiconv"
38832 am_cv_lib_iconv=no
38833 if test x$gcc_no_link = xyes; then
38834 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38835 fi
38836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38837 /* end confdefs.h. */
38838 #include <stdlib.h>
38839 #include <iconv.h>
38840 int
38841 main ()
38842 {
38843 iconv_t cd = iconv_open("","");
38844 iconv(cd,NULL,NULL,NULL,NULL);
38845 iconv_close(cd);
38846 ;
38847 return 0;
38848 }
38849 _ACEOF
38850 if ac_fn_c_try_link "$LINENO"; then :
38851 am_cv_func_iconv=yes
38852 fi
38853 rm -f core conftest.err conftest.$ac_objext \
38854 conftest$ac_exeext conftest.$ac_ext
38855 if test "$am_cv_func_iconv" != yes; then
38856 am_save_LIBS="$LIBS"
38857 LIBS="$LIBS $LIBICONV"
38858 if test x$gcc_no_link = xyes; then
38859 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38860 fi
38861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38862 /* end confdefs.h. */
38863 #include <stdlib.h>
38864 #include <iconv.h>
38865 int
38866 main ()
38867 {
38868 iconv_t cd = iconv_open("","");
38869 iconv(cd,NULL,NULL,NULL,NULL);
38870 iconv_close(cd);
38871 ;
38872 return 0;
38873 }
38874 _ACEOF
38875 if ac_fn_c_try_link "$LINENO"; then :
38876 am_cv_lib_iconv=yes
38877 am_cv_func_iconv=yes
38878 fi
38879 rm -f core conftest.err conftest.$ac_objext \
38880 conftest$ac_exeext conftest.$ac_ext
38881 LIBS="$am_save_LIBS"
38882 fi
38883
38884 fi
38885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38886 $as_echo "$am_cv_func_iconv" >&6; }
38887 if test "$am_cv_func_iconv" = yes; then
38888
38889 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38890
38891 fi
38892 if test "$am_cv_lib_iconv" = yes; then
38893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38894 $as_echo_n "checking how to link with libiconv... " >&6; }
38895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38896 $as_echo "$LIBICONV" >&6; }
38897 else
38898 CPPFLAGS="$am_save_CPPFLAGS"
38899 LIBICONV=
38900 LTLIBICONV=
38901 fi
38902
38903
38904
38905 if test "$am_cv_func_iconv" = yes; then
38906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38907 $as_echo_n "checking for iconv declaration... " >&6; }
38908 if test "${am_cv_proto_iconv+set}" = set; then :
38909 $as_echo_n "(cached) " >&6
38910 else
38911
38912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38913 /* end confdefs.h. */
38914
38915 #include <stdlib.h>
38916 #include <iconv.h>
38917 extern
38918 #ifdef __cplusplus
38919 "C"
38920 #endif
38921 #if defined(__STDC__) || defined(__cplusplus)
38922 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38923 #else
38924 size_t iconv();
38925 #endif
38926
38927 int
38928 main ()
38929 {
38930
38931 ;
38932 return 0;
38933 }
38934 _ACEOF
38935 if ac_fn_c_try_compile "$LINENO"; then :
38936 am_cv_proto_iconv_arg1=""
38937 else
38938 am_cv_proto_iconv_arg1="const"
38939 fi
38940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38941 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);"
38942 fi
38943
38944 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38946 }$am_cv_proto_iconv" >&5
38947 $as_echo "${ac_t:-
38948 }$am_cv_proto_iconv" >&6; }
38949
38950 cat >>confdefs.h <<_ACEOF
38951 #define ICONV_CONST $am_cv_proto_iconv_arg1
38952 _ACEOF
38953
38954 fi
38955
38956 ;;
38957
38958 *-darwin*)
38959 # Darwin versions vary, but the linker should work in a cross environment,
38960 # so we just check for all the features here.
38961 # Check for available headers.
38962
38963 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38964
38965 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38966 ac_save_CXXFLAGS="$CXXFLAGS"
38967 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38968
38969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38970 $as_echo_n "checking for sin in -lm... " >&6; }
38971 if test "${ac_cv_lib_m_sin+set}" = set; then :
38972 $as_echo_n "(cached) " >&6
38973 else
38974 ac_check_lib_save_LIBS=$LIBS
38975 LIBS="-lm $LIBS"
38976 if test x$gcc_no_link = xyes; then
38977 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38978 fi
38979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38980 /* end confdefs.h. */
38981
38982 /* Override any GCC internal prototype to avoid an error.
38983 Use char because int might match the return type of a GCC
38984 builtin and then its argument prototype would still apply. */
38985 #ifdef __cplusplus
38986 extern "C"
38987 #endif
38988 char sin ();
38989 int
38990 main ()
38991 {
38992 return sin ();
38993 ;
38994 return 0;
38995 }
38996 _ACEOF
38997 if ac_fn_c_try_link "$LINENO"; then :
38998 ac_cv_lib_m_sin=yes
38999 else
39000 ac_cv_lib_m_sin=no
39001 fi
39002 rm -f core conftest.err conftest.$ac_objext \
39003 conftest$ac_exeext conftest.$ac_ext
39004 LIBS=$ac_check_lib_save_LIBS
39005 fi
39006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39007 $as_echo "$ac_cv_lib_m_sin" >&6; }
39008 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39009 libm="-lm"
39010 fi
39011
39012 ac_save_LIBS="$LIBS"
39013 LIBS="$LIBS $libm"
39014
39015
39016
39017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39018 $as_echo_n "checking for isinf declaration... " >&6; }
39019 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39020 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39021 $as_echo_n "(cached) " >&6
39022 else
39023
39024
39025 ac_ext=cpp
39026 ac_cpp='$CXXCPP $CPPFLAGS'
39027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39030
39031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39032 /* end confdefs.h. */
39033 #include <math.h>
39034 #ifdef HAVE_IEEEFP_H
39035 #include <ieeefp.h>
39036 #endif
39037
39038 int
39039 main ()
39040 {
39041 isinf(0);
39042 ;
39043 return 0;
39044 }
39045 _ACEOF
39046 if ac_fn_cxx_try_compile "$LINENO"; then :
39047 glibcxx_cv_func_isinf_use=yes
39048 else
39049 glibcxx_cv_func_isinf_use=no
39050 fi
39051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39052 ac_ext=c
39053 ac_cpp='$CPP $CPPFLAGS'
39054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39057
39058
39059 fi
39060
39061 fi
39062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39063 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39064
39065 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39066 for ac_func in isinf
39067 do :
39068 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39069 if test "x$ac_cv_func_isinf" = x""yes; then :
39070 cat >>confdefs.h <<_ACEOF
39071 #define HAVE_ISINF 1
39072 _ACEOF
39073
39074 fi
39075 done
39076
39077 else
39078
39079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39080 $as_echo_n "checking for _isinf declaration... " >&6; }
39081 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39082 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39083 $as_echo_n "(cached) " >&6
39084 else
39085
39086
39087 ac_ext=cpp
39088 ac_cpp='$CXXCPP $CPPFLAGS'
39089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39092
39093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39094 /* end confdefs.h. */
39095 #include <math.h>
39096 #ifdef HAVE_IEEEFP_H
39097 #include <ieeefp.h>
39098 #endif
39099
39100 int
39101 main ()
39102 {
39103 _isinf(0);
39104 ;
39105 return 0;
39106 }
39107 _ACEOF
39108 if ac_fn_cxx_try_compile "$LINENO"; then :
39109 glibcxx_cv_func__isinf_use=yes
39110 else
39111 glibcxx_cv_func__isinf_use=no
39112 fi
39113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39114 ac_ext=c
39115 ac_cpp='$CPP $CPPFLAGS'
39116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39119
39120
39121 fi
39122
39123 fi
39124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39125 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39126
39127 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39128 for ac_func in _isinf
39129 do :
39130 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39131 if test "x$ac_cv_func__isinf" = x""yes; then :
39132 cat >>confdefs.h <<_ACEOF
39133 #define HAVE__ISINF 1
39134 _ACEOF
39135
39136 fi
39137 done
39138
39139 fi
39140 fi
39141
39142
39143
39144
39145
39146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39147 $as_echo_n "checking for isnan declaration... " >&6; }
39148 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39149 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39150 $as_echo_n "(cached) " >&6
39151 else
39152
39153
39154 ac_ext=cpp
39155 ac_cpp='$CXXCPP $CPPFLAGS'
39156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39159
39160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39161 /* end confdefs.h. */
39162 #include <math.h>
39163 #ifdef HAVE_IEEEFP_H
39164 #include <ieeefp.h>
39165 #endif
39166
39167 int
39168 main ()
39169 {
39170 isnan(0);
39171 ;
39172 return 0;
39173 }
39174 _ACEOF
39175 if ac_fn_cxx_try_compile "$LINENO"; then :
39176 glibcxx_cv_func_isnan_use=yes
39177 else
39178 glibcxx_cv_func_isnan_use=no
39179 fi
39180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39181 ac_ext=c
39182 ac_cpp='$CPP $CPPFLAGS'
39183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39186
39187
39188 fi
39189
39190 fi
39191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39192 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39193
39194 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39195 for ac_func in isnan
39196 do :
39197 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39198 if test "x$ac_cv_func_isnan" = x""yes; then :
39199 cat >>confdefs.h <<_ACEOF
39200 #define HAVE_ISNAN 1
39201 _ACEOF
39202
39203 fi
39204 done
39205
39206 else
39207
39208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39209 $as_echo_n "checking for _isnan declaration... " >&6; }
39210 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39211 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39212 $as_echo_n "(cached) " >&6
39213 else
39214
39215
39216 ac_ext=cpp
39217 ac_cpp='$CXXCPP $CPPFLAGS'
39218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39221
39222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39223 /* end confdefs.h. */
39224 #include <math.h>
39225 #ifdef HAVE_IEEEFP_H
39226 #include <ieeefp.h>
39227 #endif
39228
39229 int
39230 main ()
39231 {
39232 _isnan(0);
39233 ;
39234 return 0;
39235 }
39236 _ACEOF
39237 if ac_fn_cxx_try_compile "$LINENO"; then :
39238 glibcxx_cv_func__isnan_use=yes
39239 else
39240 glibcxx_cv_func__isnan_use=no
39241 fi
39242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39243 ac_ext=c
39244 ac_cpp='$CPP $CPPFLAGS'
39245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39248
39249
39250 fi
39251
39252 fi
39253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39254 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39255
39256 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39257 for ac_func in _isnan
39258 do :
39259 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39260 if test "x$ac_cv_func__isnan" = x""yes; then :
39261 cat >>confdefs.h <<_ACEOF
39262 #define HAVE__ISNAN 1
39263 _ACEOF
39264
39265 fi
39266 done
39267
39268 fi
39269 fi
39270
39271
39272
39273
39274
39275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39276 $as_echo_n "checking for finite declaration... " >&6; }
39277 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39278 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39279 $as_echo_n "(cached) " >&6
39280 else
39281
39282
39283 ac_ext=cpp
39284 ac_cpp='$CXXCPP $CPPFLAGS'
39285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39288
39289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39290 /* end confdefs.h. */
39291 #include <math.h>
39292 #ifdef HAVE_IEEEFP_H
39293 #include <ieeefp.h>
39294 #endif
39295
39296 int
39297 main ()
39298 {
39299 finite(0);
39300 ;
39301 return 0;
39302 }
39303 _ACEOF
39304 if ac_fn_cxx_try_compile "$LINENO"; then :
39305 glibcxx_cv_func_finite_use=yes
39306 else
39307 glibcxx_cv_func_finite_use=no
39308 fi
39309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39310 ac_ext=c
39311 ac_cpp='$CPP $CPPFLAGS'
39312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39315
39316
39317 fi
39318
39319 fi
39320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39321 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39322
39323 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39324 for ac_func in finite
39325 do :
39326 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39327 if test "x$ac_cv_func_finite" = x""yes; then :
39328 cat >>confdefs.h <<_ACEOF
39329 #define HAVE_FINITE 1
39330 _ACEOF
39331
39332 fi
39333 done
39334
39335 else
39336
39337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39338 $as_echo_n "checking for _finite declaration... " >&6; }
39339 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39340 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39341 $as_echo_n "(cached) " >&6
39342 else
39343
39344
39345 ac_ext=cpp
39346 ac_cpp='$CXXCPP $CPPFLAGS'
39347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39350
39351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39352 /* end confdefs.h. */
39353 #include <math.h>
39354 #ifdef HAVE_IEEEFP_H
39355 #include <ieeefp.h>
39356 #endif
39357
39358 int
39359 main ()
39360 {
39361 _finite(0);
39362 ;
39363 return 0;
39364 }
39365 _ACEOF
39366 if ac_fn_cxx_try_compile "$LINENO"; then :
39367 glibcxx_cv_func__finite_use=yes
39368 else
39369 glibcxx_cv_func__finite_use=no
39370 fi
39371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39372 ac_ext=c
39373 ac_cpp='$CPP $CPPFLAGS'
39374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39377
39378
39379 fi
39380
39381 fi
39382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39383 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39384
39385 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39386 for ac_func in _finite
39387 do :
39388 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39389 if test "x$ac_cv_func__finite" = x""yes; then :
39390 cat >>confdefs.h <<_ACEOF
39391 #define HAVE__FINITE 1
39392 _ACEOF
39393
39394 fi
39395 done
39396
39397 fi
39398 fi
39399
39400
39401
39402
39403
39404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39405 $as_echo_n "checking for sincos declaration... " >&6; }
39406 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39407 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39408 $as_echo_n "(cached) " >&6
39409 else
39410
39411
39412 ac_ext=cpp
39413 ac_cpp='$CXXCPP $CPPFLAGS'
39414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39417
39418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39419 /* end confdefs.h. */
39420 #include <math.h>
39421 int
39422 main ()
39423 {
39424 sincos(0, 0, 0);
39425 ;
39426 return 0;
39427 }
39428 _ACEOF
39429 if ac_fn_cxx_try_compile "$LINENO"; then :
39430 glibcxx_cv_func_sincos_use=yes
39431 else
39432 glibcxx_cv_func_sincos_use=no
39433 fi
39434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39435 ac_ext=c
39436 ac_cpp='$CPP $CPPFLAGS'
39437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39440
39441
39442 fi
39443
39444 fi
39445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39446 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39447
39448 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39449 for ac_func in sincos
39450 do :
39451 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39452 if test "x$ac_cv_func_sincos" = x""yes; then :
39453 cat >>confdefs.h <<_ACEOF
39454 #define HAVE_SINCOS 1
39455 _ACEOF
39456
39457 fi
39458 done
39459
39460 else
39461
39462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39463 $as_echo_n "checking for _sincos declaration... " >&6; }
39464 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39465 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39466 $as_echo_n "(cached) " >&6
39467 else
39468
39469
39470 ac_ext=cpp
39471 ac_cpp='$CXXCPP $CPPFLAGS'
39472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39475
39476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39477 /* end confdefs.h. */
39478 #include <math.h>
39479 int
39480 main ()
39481 {
39482 _sincos(0, 0, 0);
39483 ;
39484 return 0;
39485 }
39486 _ACEOF
39487 if ac_fn_cxx_try_compile "$LINENO"; then :
39488 glibcxx_cv_func__sincos_use=yes
39489 else
39490 glibcxx_cv_func__sincos_use=no
39491 fi
39492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39493 ac_ext=c
39494 ac_cpp='$CPP $CPPFLAGS'
39495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39498
39499
39500 fi
39501
39502 fi
39503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39504 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39505
39506 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39507 for ac_func in _sincos
39508 do :
39509 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39510 if test "x$ac_cv_func__sincos" = x""yes; then :
39511 cat >>confdefs.h <<_ACEOF
39512 #define HAVE__SINCOS 1
39513 _ACEOF
39514
39515 fi
39516 done
39517
39518 fi
39519 fi
39520
39521
39522
39523
39524
39525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39526 $as_echo_n "checking for fpclass declaration... " >&6; }
39527 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39528 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39529 $as_echo_n "(cached) " >&6
39530 else
39531
39532
39533 ac_ext=cpp
39534 ac_cpp='$CXXCPP $CPPFLAGS'
39535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39538
39539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39540 /* end confdefs.h. */
39541 #include <math.h>
39542 #ifdef HAVE_IEEEFP_H
39543 #include <ieeefp.h>
39544 #endif
39545
39546 int
39547 main ()
39548 {
39549 fpclass(0);
39550 ;
39551 return 0;
39552 }
39553 _ACEOF
39554 if ac_fn_cxx_try_compile "$LINENO"; then :
39555 glibcxx_cv_func_fpclass_use=yes
39556 else
39557 glibcxx_cv_func_fpclass_use=no
39558 fi
39559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39560 ac_ext=c
39561 ac_cpp='$CPP $CPPFLAGS'
39562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39565
39566
39567 fi
39568
39569 fi
39570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39571 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39572
39573 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39574 for ac_func in fpclass
39575 do :
39576 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39577 if test "x$ac_cv_func_fpclass" = x""yes; then :
39578 cat >>confdefs.h <<_ACEOF
39579 #define HAVE_FPCLASS 1
39580 _ACEOF
39581
39582 fi
39583 done
39584
39585 else
39586
39587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39588 $as_echo_n "checking for _fpclass declaration... " >&6; }
39589 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39590 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39591 $as_echo_n "(cached) " >&6
39592 else
39593
39594
39595 ac_ext=cpp
39596 ac_cpp='$CXXCPP $CPPFLAGS'
39597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39600
39601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39602 /* end confdefs.h. */
39603 #include <math.h>
39604 #ifdef HAVE_IEEEFP_H
39605 #include <ieeefp.h>
39606 #endif
39607
39608 int
39609 main ()
39610 {
39611 _fpclass(0);
39612 ;
39613 return 0;
39614 }
39615 _ACEOF
39616 if ac_fn_cxx_try_compile "$LINENO"; then :
39617 glibcxx_cv_func__fpclass_use=yes
39618 else
39619 glibcxx_cv_func__fpclass_use=no
39620 fi
39621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39622 ac_ext=c
39623 ac_cpp='$CPP $CPPFLAGS'
39624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39627
39628
39629 fi
39630
39631 fi
39632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39633 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39634
39635 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39636 for ac_func in _fpclass
39637 do :
39638 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39639 if test "x$ac_cv_func__fpclass" = x""yes; then :
39640 cat >>confdefs.h <<_ACEOF
39641 #define HAVE__FPCLASS 1
39642 _ACEOF
39643
39644 fi
39645 done
39646
39647 fi
39648 fi
39649
39650
39651
39652
39653
39654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39655 $as_echo_n "checking for qfpclass declaration... " >&6; }
39656 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39657 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39658 $as_echo_n "(cached) " >&6
39659 else
39660
39661
39662 ac_ext=cpp
39663 ac_cpp='$CXXCPP $CPPFLAGS'
39664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39667
39668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39669 /* end confdefs.h. */
39670 #include <math.h>
39671 #ifdef HAVE_IEEEFP_H
39672 #include <ieeefp.h>
39673 #endif
39674
39675 int
39676 main ()
39677 {
39678 qfpclass(0);
39679 ;
39680 return 0;
39681 }
39682 _ACEOF
39683 if ac_fn_cxx_try_compile "$LINENO"; then :
39684 glibcxx_cv_func_qfpclass_use=yes
39685 else
39686 glibcxx_cv_func_qfpclass_use=no
39687 fi
39688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39689 ac_ext=c
39690 ac_cpp='$CPP $CPPFLAGS'
39691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39694
39695
39696 fi
39697
39698 fi
39699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39700 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39701
39702 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39703 for ac_func in qfpclass
39704 do :
39705 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39706 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39707 cat >>confdefs.h <<_ACEOF
39708 #define HAVE_QFPCLASS 1
39709 _ACEOF
39710
39711 fi
39712 done
39713
39714 else
39715
39716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39717 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39718 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39719 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39720 $as_echo_n "(cached) " >&6
39721 else
39722
39723
39724 ac_ext=cpp
39725 ac_cpp='$CXXCPP $CPPFLAGS'
39726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39729
39730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39731 /* end confdefs.h. */
39732 #include <math.h>
39733 #ifdef HAVE_IEEEFP_H
39734 #include <ieeefp.h>
39735 #endif
39736
39737 int
39738 main ()
39739 {
39740 _qfpclass(0);
39741 ;
39742 return 0;
39743 }
39744 _ACEOF
39745 if ac_fn_cxx_try_compile "$LINENO"; then :
39746 glibcxx_cv_func__qfpclass_use=yes
39747 else
39748 glibcxx_cv_func__qfpclass_use=no
39749 fi
39750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39751 ac_ext=c
39752 ac_cpp='$CPP $CPPFLAGS'
39753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39756
39757
39758 fi
39759
39760 fi
39761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39762 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39763
39764 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39765 for ac_func in _qfpclass
39766 do :
39767 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39768 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39769 cat >>confdefs.h <<_ACEOF
39770 #define HAVE__QFPCLASS 1
39771 _ACEOF
39772
39773 fi
39774 done
39775
39776 fi
39777 fi
39778
39779
39780
39781
39782
39783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39784 $as_echo_n "checking for hypot declaration... " >&6; }
39785 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39786 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39787 $as_echo_n "(cached) " >&6
39788 else
39789
39790
39791 ac_ext=cpp
39792 ac_cpp='$CXXCPP $CPPFLAGS'
39793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39796
39797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39798 /* end confdefs.h. */
39799 #include <math.h>
39800 int
39801 main ()
39802 {
39803 hypot(0, 0);
39804 ;
39805 return 0;
39806 }
39807 _ACEOF
39808 if ac_fn_cxx_try_compile "$LINENO"; then :
39809 glibcxx_cv_func_hypot_use=yes
39810 else
39811 glibcxx_cv_func_hypot_use=no
39812 fi
39813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39814 ac_ext=c
39815 ac_cpp='$CPP $CPPFLAGS'
39816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39819
39820
39821 fi
39822
39823 fi
39824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39825 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39826
39827 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39828 for ac_func in hypot
39829 do :
39830 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39831 if test "x$ac_cv_func_hypot" = x""yes; then :
39832 cat >>confdefs.h <<_ACEOF
39833 #define HAVE_HYPOT 1
39834 _ACEOF
39835
39836 fi
39837 done
39838
39839 else
39840
39841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39842 $as_echo_n "checking for _hypot declaration... " >&6; }
39843 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39844 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39845 $as_echo_n "(cached) " >&6
39846 else
39847
39848
39849 ac_ext=cpp
39850 ac_cpp='$CXXCPP $CPPFLAGS'
39851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39854
39855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39856 /* end confdefs.h. */
39857 #include <math.h>
39858 int
39859 main ()
39860 {
39861 _hypot(0, 0);
39862 ;
39863 return 0;
39864 }
39865 _ACEOF
39866 if ac_fn_cxx_try_compile "$LINENO"; then :
39867 glibcxx_cv_func__hypot_use=yes
39868 else
39869 glibcxx_cv_func__hypot_use=no
39870 fi
39871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39872 ac_ext=c
39873 ac_cpp='$CPP $CPPFLAGS'
39874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39877
39878
39879 fi
39880
39881 fi
39882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39883 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39884
39885 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39886 for ac_func in _hypot
39887 do :
39888 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39889 if test "x$ac_cv_func__hypot" = x""yes; then :
39890 cat >>confdefs.h <<_ACEOF
39891 #define HAVE__HYPOT 1
39892 _ACEOF
39893
39894 fi
39895 done
39896
39897 fi
39898 fi
39899
39900
39901
39902
39903
39904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39905 $as_echo_n "checking for float trig functions... " >&6; }
39906 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39907 $as_echo_n "(cached) " >&6
39908 else
39909
39910
39911 ac_ext=cpp
39912 ac_cpp='$CXXCPP $CPPFLAGS'
39913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39916
39917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39918 /* end confdefs.h. */
39919 #include <math.h>
39920 int
39921 main ()
39922 {
39923 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39924 ;
39925 return 0;
39926 }
39927 _ACEOF
39928 if ac_fn_cxx_try_compile "$LINENO"; then :
39929 glibcxx_cv_func_float_trig_use=yes
39930 else
39931 glibcxx_cv_func_float_trig_use=no
39932 fi
39933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39934 ac_ext=c
39935 ac_cpp='$CPP $CPPFLAGS'
39936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39939
39940 fi
39941
39942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39943 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39944 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39945 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39946 do :
39947 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39948 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39949 eval as_val=\$$as_ac_var
39950 if test "x$as_val" = x""yes; then :
39951 cat >>confdefs.h <<_ACEOF
39952 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39953 _ACEOF
39954
39955 fi
39956 done
39957
39958 else
39959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39960 $as_echo_n "checking for _float trig functions... " >&6; }
39961 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39962 $as_echo_n "(cached) " >&6
39963 else
39964
39965
39966 ac_ext=cpp
39967 ac_cpp='$CXXCPP $CPPFLAGS'
39968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39971
39972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39973 /* end confdefs.h. */
39974 #include <math.h>
39975 int
39976 main ()
39977 {
39978 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39979 ;
39980 return 0;
39981 }
39982 _ACEOF
39983 if ac_fn_cxx_try_compile "$LINENO"; then :
39984 glibcxx_cv_func__float_trig_use=yes
39985 else
39986 glibcxx_cv_func__float_trig_use=no
39987 fi
39988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39989 ac_ext=c
39990 ac_cpp='$CPP $CPPFLAGS'
39991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39994
39995 fi
39996
39997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39998 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39999 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40000 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40001 do :
40002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40004 eval as_val=\$$as_ac_var
40005 if test "x$as_val" = x""yes; then :
40006 cat >>confdefs.h <<_ACEOF
40007 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40008 _ACEOF
40009
40010 fi
40011 done
40012
40013 fi
40014 fi
40015
40016
40017
40018
40019
40020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40021 $as_echo_n "checking for float round functions... " >&6; }
40022 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40023 $as_echo_n "(cached) " >&6
40024 else
40025
40026
40027 ac_ext=cpp
40028 ac_cpp='$CXXCPP $CPPFLAGS'
40029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40032
40033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40034 /* end confdefs.h. */
40035 #include <math.h>
40036 int
40037 main ()
40038 {
40039 ceilf (0); floorf (0);
40040 ;
40041 return 0;
40042 }
40043 _ACEOF
40044 if ac_fn_cxx_try_compile "$LINENO"; then :
40045 glibcxx_cv_func_float_round_use=yes
40046 else
40047 glibcxx_cv_func_float_round_use=no
40048 fi
40049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40050 ac_ext=c
40051 ac_cpp='$CPP $CPPFLAGS'
40052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40055
40056 fi
40057
40058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40059 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40060 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40061 for ac_func in ceilf floorf
40062 do :
40063 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40065 eval as_val=\$$as_ac_var
40066 if test "x$as_val" = x""yes; then :
40067 cat >>confdefs.h <<_ACEOF
40068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40069 _ACEOF
40070
40071 fi
40072 done
40073
40074 else
40075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40076 $as_echo_n "checking for _float round functions... " >&6; }
40077 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40078 $as_echo_n "(cached) " >&6
40079 else
40080
40081
40082 ac_ext=cpp
40083 ac_cpp='$CXXCPP $CPPFLAGS'
40084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40087
40088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40089 /* end confdefs.h. */
40090 #include <math.h>
40091 int
40092 main ()
40093 {
40094 _ceilf (0); _floorf (0);
40095 ;
40096 return 0;
40097 }
40098 _ACEOF
40099 if ac_fn_cxx_try_compile "$LINENO"; then :
40100 glibcxx_cv_func__float_round_use=yes
40101 else
40102 glibcxx_cv_func__float_round_use=no
40103 fi
40104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40105 ac_ext=c
40106 ac_cpp='$CPP $CPPFLAGS'
40107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40110
40111 fi
40112
40113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40114 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40115 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40116 for ac_func in _ceilf _floorf
40117 do :
40118 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40119 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40120 eval as_val=\$$as_ac_var
40121 if test "x$as_val" = x""yes; then :
40122 cat >>confdefs.h <<_ACEOF
40123 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40124 _ACEOF
40125
40126 fi
40127 done
40128
40129 fi
40130 fi
40131
40132
40133
40134
40135
40136
40137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40138 $as_echo_n "checking for expf declaration... " >&6; }
40139 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40140 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40141 $as_echo_n "(cached) " >&6
40142 else
40143
40144
40145 ac_ext=cpp
40146 ac_cpp='$CXXCPP $CPPFLAGS'
40147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40150
40151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40152 /* end confdefs.h. */
40153 #include <math.h>
40154 #ifdef HAVE_IEEEFP_H
40155 #include <ieeefp.h>
40156 #endif
40157
40158 int
40159 main ()
40160 {
40161 expf(0);
40162 ;
40163 return 0;
40164 }
40165 _ACEOF
40166 if ac_fn_cxx_try_compile "$LINENO"; then :
40167 glibcxx_cv_func_expf_use=yes
40168 else
40169 glibcxx_cv_func_expf_use=no
40170 fi
40171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40172 ac_ext=c
40173 ac_cpp='$CPP $CPPFLAGS'
40174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40177
40178
40179 fi
40180
40181 fi
40182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40183 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40184
40185 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40186 for ac_func in expf
40187 do :
40188 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40189 if test "x$ac_cv_func_expf" = x""yes; then :
40190 cat >>confdefs.h <<_ACEOF
40191 #define HAVE_EXPF 1
40192 _ACEOF
40193
40194 fi
40195 done
40196
40197 else
40198
40199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40200 $as_echo_n "checking for _expf declaration... " >&6; }
40201 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40202 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40203 $as_echo_n "(cached) " >&6
40204 else
40205
40206
40207 ac_ext=cpp
40208 ac_cpp='$CXXCPP $CPPFLAGS'
40209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40212
40213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40214 /* end confdefs.h. */
40215 #include <math.h>
40216 #ifdef HAVE_IEEEFP_H
40217 #include <ieeefp.h>
40218 #endif
40219
40220 int
40221 main ()
40222 {
40223 _expf(0);
40224 ;
40225 return 0;
40226 }
40227 _ACEOF
40228 if ac_fn_cxx_try_compile "$LINENO"; then :
40229 glibcxx_cv_func__expf_use=yes
40230 else
40231 glibcxx_cv_func__expf_use=no
40232 fi
40233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40234 ac_ext=c
40235 ac_cpp='$CPP $CPPFLAGS'
40236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40239
40240
40241 fi
40242
40243 fi
40244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40245 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40246
40247 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40248 for ac_func in _expf
40249 do :
40250 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40251 if test "x$ac_cv_func__expf" = x""yes; then :
40252 cat >>confdefs.h <<_ACEOF
40253 #define HAVE__EXPF 1
40254 _ACEOF
40255
40256 fi
40257 done
40258
40259 fi
40260 fi
40261
40262
40263
40264
40265
40266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40267 $as_echo_n "checking for isnanf declaration... " >&6; }
40268 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40269 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40270 $as_echo_n "(cached) " >&6
40271 else
40272
40273
40274 ac_ext=cpp
40275 ac_cpp='$CXXCPP $CPPFLAGS'
40276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40279
40280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40281 /* end confdefs.h. */
40282 #include <math.h>
40283 #ifdef HAVE_IEEEFP_H
40284 #include <ieeefp.h>
40285 #endif
40286
40287 int
40288 main ()
40289 {
40290 isnanf(0);
40291 ;
40292 return 0;
40293 }
40294 _ACEOF
40295 if ac_fn_cxx_try_compile "$LINENO"; then :
40296 glibcxx_cv_func_isnanf_use=yes
40297 else
40298 glibcxx_cv_func_isnanf_use=no
40299 fi
40300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40301 ac_ext=c
40302 ac_cpp='$CPP $CPPFLAGS'
40303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40306
40307
40308 fi
40309
40310 fi
40311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40312 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40313
40314 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40315 for ac_func in isnanf
40316 do :
40317 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40318 if test "x$ac_cv_func_isnanf" = x""yes; then :
40319 cat >>confdefs.h <<_ACEOF
40320 #define HAVE_ISNANF 1
40321 _ACEOF
40322
40323 fi
40324 done
40325
40326 else
40327
40328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40329 $as_echo_n "checking for _isnanf declaration... " >&6; }
40330 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40331 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40332 $as_echo_n "(cached) " >&6
40333 else
40334
40335
40336 ac_ext=cpp
40337 ac_cpp='$CXXCPP $CPPFLAGS'
40338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40341
40342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40343 /* end confdefs.h. */
40344 #include <math.h>
40345 #ifdef HAVE_IEEEFP_H
40346 #include <ieeefp.h>
40347 #endif
40348
40349 int
40350 main ()
40351 {
40352 _isnanf(0);
40353 ;
40354 return 0;
40355 }
40356 _ACEOF
40357 if ac_fn_cxx_try_compile "$LINENO"; then :
40358 glibcxx_cv_func__isnanf_use=yes
40359 else
40360 glibcxx_cv_func__isnanf_use=no
40361 fi
40362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40363 ac_ext=c
40364 ac_cpp='$CPP $CPPFLAGS'
40365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40368
40369
40370 fi
40371
40372 fi
40373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40374 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40375
40376 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40377 for ac_func in _isnanf
40378 do :
40379 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40380 if test "x$ac_cv_func__isnanf" = x""yes; then :
40381 cat >>confdefs.h <<_ACEOF
40382 #define HAVE__ISNANF 1
40383 _ACEOF
40384
40385 fi
40386 done
40387
40388 fi
40389 fi
40390
40391
40392
40393
40394
40395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40396 $as_echo_n "checking for isinff declaration... " >&6; }
40397 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40398 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40399 $as_echo_n "(cached) " >&6
40400 else
40401
40402
40403 ac_ext=cpp
40404 ac_cpp='$CXXCPP $CPPFLAGS'
40405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40408
40409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40410 /* end confdefs.h. */
40411 #include <math.h>
40412 #ifdef HAVE_IEEEFP_H
40413 #include <ieeefp.h>
40414 #endif
40415
40416 int
40417 main ()
40418 {
40419 isinff(0);
40420 ;
40421 return 0;
40422 }
40423 _ACEOF
40424 if ac_fn_cxx_try_compile "$LINENO"; then :
40425 glibcxx_cv_func_isinff_use=yes
40426 else
40427 glibcxx_cv_func_isinff_use=no
40428 fi
40429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40430 ac_ext=c
40431 ac_cpp='$CPP $CPPFLAGS'
40432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40435
40436
40437 fi
40438
40439 fi
40440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40441 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40442
40443 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40444 for ac_func in isinff
40445 do :
40446 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40447 if test "x$ac_cv_func_isinff" = x""yes; then :
40448 cat >>confdefs.h <<_ACEOF
40449 #define HAVE_ISINFF 1
40450 _ACEOF
40451
40452 fi
40453 done
40454
40455 else
40456
40457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40458 $as_echo_n "checking for _isinff declaration... " >&6; }
40459 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40460 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40461 $as_echo_n "(cached) " >&6
40462 else
40463
40464
40465 ac_ext=cpp
40466 ac_cpp='$CXXCPP $CPPFLAGS'
40467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40470
40471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40472 /* end confdefs.h. */
40473 #include <math.h>
40474 #ifdef HAVE_IEEEFP_H
40475 #include <ieeefp.h>
40476 #endif
40477
40478 int
40479 main ()
40480 {
40481 _isinff(0);
40482 ;
40483 return 0;
40484 }
40485 _ACEOF
40486 if ac_fn_cxx_try_compile "$LINENO"; then :
40487 glibcxx_cv_func__isinff_use=yes
40488 else
40489 glibcxx_cv_func__isinff_use=no
40490 fi
40491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40492 ac_ext=c
40493 ac_cpp='$CPP $CPPFLAGS'
40494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40497
40498
40499 fi
40500
40501 fi
40502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40503 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40504
40505 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40506 for ac_func in _isinff
40507 do :
40508 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40509 if test "x$ac_cv_func__isinff" = x""yes; then :
40510 cat >>confdefs.h <<_ACEOF
40511 #define HAVE__ISINFF 1
40512 _ACEOF
40513
40514 fi
40515 done
40516
40517 fi
40518 fi
40519
40520
40521
40522
40523
40524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40525 $as_echo_n "checking for atan2f declaration... " >&6; }
40526 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40527 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40528 $as_echo_n "(cached) " >&6
40529 else
40530
40531
40532 ac_ext=cpp
40533 ac_cpp='$CXXCPP $CPPFLAGS'
40534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40537
40538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40539 /* end confdefs.h. */
40540 #include <math.h>
40541 int
40542 main ()
40543 {
40544 atan2f(0, 0);
40545 ;
40546 return 0;
40547 }
40548 _ACEOF
40549 if ac_fn_cxx_try_compile "$LINENO"; then :
40550 glibcxx_cv_func_atan2f_use=yes
40551 else
40552 glibcxx_cv_func_atan2f_use=no
40553 fi
40554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40555 ac_ext=c
40556 ac_cpp='$CPP $CPPFLAGS'
40557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40560
40561
40562 fi
40563
40564 fi
40565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40566 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40567
40568 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40569 for ac_func in atan2f
40570 do :
40571 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40572 if test "x$ac_cv_func_atan2f" = x""yes; then :
40573 cat >>confdefs.h <<_ACEOF
40574 #define HAVE_ATAN2F 1
40575 _ACEOF
40576
40577 fi
40578 done
40579
40580 else
40581
40582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40583 $as_echo_n "checking for _atan2f declaration... " >&6; }
40584 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40585 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40586 $as_echo_n "(cached) " >&6
40587 else
40588
40589
40590 ac_ext=cpp
40591 ac_cpp='$CXXCPP $CPPFLAGS'
40592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40595
40596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40597 /* end confdefs.h. */
40598 #include <math.h>
40599 int
40600 main ()
40601 {
40602 _atan2f(0, 0);
40603 ;
40604 return 0;
40605 }
40606 _ACEOF
40607 if ac_fn_cxx_try_compile "$LINENO"; then :
40608 glibcxx_cv_func__atan2f_use=yes
40609 else
40610 glibcxx_cv_func__atan2f_use=no
40611 fi
40612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40613 ac_ext=c
40614 ac_cpp='$CPP $CPPFLAGS'
40615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40618
40619
40620 fi
40621
40622 fi
40623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40624 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40625
40626 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40627 for ac_func in _atan2f
40628 do :
40629 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40630 if test "x$ac_cv_func__atan2f" = x""yes; then :
40631 cat >>confdefs.h <<_ACEOF
40632 #define HAVE__ATAN2F 1
40633 _ACEOF
40634
40635 fi
40636 done
40637
40638 fi
40639 fi
40640
40641
40642
40643
40644
40645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40646 $as_echo_n "checking for fabsf declaration... " >&6; }
40647 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40648 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40649 $as_echo_n "(cached) " >&6
40650 else
40651
40652
40653 ac_ext=cpp
40654 ac_cpp='$CXXCPP $CPPFLAGS'
40655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40658
40659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40660 /* end confdefs.h. */
40661 #include <math.h>
40662 #ifdef HAVE_IEEEFP_H
40663 #include <ieeefp.h>
40664 #endif
40665
40666 int
40667 main ()
40668 {
40669 fabsf(0);
40670 ;
40671 return 0;
40672 }
40673 _ACEOF
40674 if ac_fn_cxx_try_compile "$LINENO"; then :
40675 glibcxx_cv_func_fabsf_use=yes
40676 else
40677 glibcxx_cv_func_fabsf_use=no
40678 fi
40679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40680 ac_ext=c
40681 ac_cpp='$CPP $CPPFLAGS'
40682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40685
40686
40687 fi
40688
40689 fi
40690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40691 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40692
40693 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40694 for ac_func in fabsf
40695 do :
40696 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40697 if test "x$ac_cv_func_fabsf" = x""yes; then :
40698 cat >>confdefs.h <<_ACEOF
40699 #define HAVE_FABSF 1
40700 _ACEOF
40701
40702 fi
40703 done
40704
40705 else
40706
40707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40708 $as_echo_n "checking for _fabsf declaration... " >&6; }
40709 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40710 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40711 $as_echo_n "(cached) " >&6
40712 else
40713
40714
40715 ac_ext=cpp
40716 ac_cpp='$CXXCPP $CPPFLAGS'
40717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40720
40721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40722 /* end confdefs.h. */
40723 #include <math.h>
40724 #ifdef HAVE_IEEEFP_H
40725 #include <ieeefp.h>
40726 #endif
40727
40728 int
40729 main ()
40730 {
40731 _fabsf(0);
40732 ;
40733 return 0;
40734 }
40735 _ACEOF
40736 if ac_fn_cxx_try_compile "$LINENO"; then :
40737 glibcxx_cv_func__fabsf_use=yes
40738 else
40739 glibcxx_cv_func__fabsf_use=no
40740 fi
40741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40742 ac_ext=c
40743 ac_cpp='$CPP $CPPFLAGS'
40744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40747
40748
40749 fi
40750
40751 fi
40752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40753 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40754
40755 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40756 for ac_func in _fabsf
40757 do :
40758 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40759 if test "x$ac_cv_func__fabsf" = x""yes; then :
40760 cat >>confdefs.h <<_ACEOF
40761 #define HAVE__FABSF 1
40762 _ACEOF
40763
40764 fi
40765 done
40766
40767 fi
40768 fi
40769
40770
40771
40772
40773
40774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40775 $as_echo_n "checking for fmodf declaration... " >&6; }
40776 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40777 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40778 $as_echo_n "(cached) " >&6
40779 else
40780
40781
40782 ac_ext=cpp
40783 ac_cpp='$CXXCPP $CPPFLAGS'
40784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40787
40788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40789 /* end confdefs.h. */
40790 #include <math.h>
40791 int
40792 main ()
40793 {
40794 fmodf(0, 0);
40795 ;
40796 return 0;
40797 }
40798 _ACEOF
40799 if ac_fn_cxx_try_compile "$LINENO"; then :
40800 glibcxx_cv_func_fmodf_use=yes
40801 else
40802 glibcxx_cv_func_fmodf_use=no
40803 fi
40804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40805 ac_ext=c
40806 ac_cpp='$CPP $CPPFLAGS'
40807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40810
40811
40812 fi
40813
40814 fi
40815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40816 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40817
40818 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40819 for ac_func in fmodf
40820 do :
40821 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40822 if test "x$ac_cv_func_fmodf" = x""yes; then :
40823 cat >>confdefs.h <<_ACEOF
40824 #define HAVE_FMODF 1
40825 _ACEOF
40826
40827 fi
40828 done
40829
40830 else
40831
40832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40833 $as_echo_n "checking for _fmodf declaration... " >&6; }
40834 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40835 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40836 $as_echo_n "(cached) " >&6
40837 else
40838
40839
40840 ac_ext=cpp
40841 ac_cpp='$CXXCPP $CPPFLAGS'
40842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40845
40846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40847 /* end confdefs.h. */
40848 #include <math.h>
40849 int
40850 main ()
40851 {
40852 _fmodf(0, 0);
40853 ;
40854 return 0;
40855 }
40856 _ACEOF
40857 if ac_fn_cxx_try_compile "$LINENO"; then :
40858 glibcxx_cv_func__fmodf_use=yes
40859 else
40860 glibcxx_cv_func__fmodf_use=no
40861 fi
40862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40863 ac_ext=c
40864 ac_cpp='$CPP $CPPFLAGS'
40865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40868
40869
40870 fi
40871
40872 fi
40873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40874 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40875
40876 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40877 for ac_func in _fmodf
40878 do :
40879 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40880 if test "x$ac_cv_func__fmodf" = x""yes; then :
40881 cat >>confdefs.h <<_ACEOF
40882 #define HAVE__FMODF 1
40883 _ACEOF
40884
40885 fi
40886 done
40887
40888 fi
40889 fi
40890
40891
40892
40893
40894
40895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40896 $as_echo_n "checking for frexpf declaration... " >&6; }
40897 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40898 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40899 $as_echo_n "(cached) " >&6
40900 else
40901
40902
40903 ac_ext=cpp
40904 ac_cpp='$CXXCPP $CPPFLAGS'
40905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40908
40909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40910 /* end confdefs.h. */
40911 #include <math.h>
40912 int
40913 main ()
40914 {
40915 frexpf(0, 0);
40916 ;
40917 return 0;
40918 }
40919 _ACEOF
40920 if ac_fn_cxx_try_compile "$LINENO"; then :
40921 glibcxx_cv_func_frexpf_use=yes
40922 else
40923 glibcxx_cv_func_frexpf_use=no
40924 fi
40925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40926 ac_ext=c
40927 ac_cpp='$CPP $CPPFLAGS'
40928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40931
40932
40933 fi
40934
40935 fi
40936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40937 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40938
40939 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40940 for ac_func in frexpf
40941 do :
40942 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40943 if test "x$ac_cv_func_frexpf" = x""yes; then :
40944 cat >>confdefs.h <<_ACEOF
40945 #define HAVE_FREXPF 1
40946 _ACEOF
40947
40948 fi
40949 done
40950
40951 else
40952
40953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40954 $as_echo_n "checking for _frexpf declaration... " >&6; }
40955 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40956 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40957 $as_echo_n "(cached) " >&6
40958 else
40959
40960
40961 ac_ext=cpp
40962 ac_cpp='$CXXCPP $CPPFLAGS'
40963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40966
40967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40968 /* end confdefs.h. */
40969 #include <math.h>
40970 int
40971 main ()
40972 {
40973 _frexpf(0, 0);
40974 ;
40975 return 0;
40976 }
40977 _ACEOF
40978 if ac_fn_cxx_try_compile "$LINENO"; then :
40979 glibcxx_cv_func__frexpf_use=yes
40980 else
40981 glibcxx_cv_func__frexpf_use=no
40982 fi
40983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40984 ac_ext=c
40985 ac_cpp='$CPP $CPPFLAGS'
40986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40989
40990
40991 fi
40992
40993 fi
40994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40995 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40996
40997 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40998 for ac_func in _frexpf
40999 do :
41000 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41001 if test "x$ac_cv_func__frexpf" = x""yes; then :
41002 cat >>confdefs.h <<_ACEOF
41003 #define HAVE__FREXPF 1
41004 _ACEOF
41005
41006 fi
41007 done
41008
41009 fi
41010 fi
41011
41012
41013
41014
41015
41016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41017 $as_echo_n "checking for hypotf declaration... " >&6; }
41018 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41019 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41020 $as_echo_n "(cached) " >&6
41021 else
41022
41023
41024 ac_ext=cpp
41025 ac_cpp='$CXXCPP $CPPFLAGS'
41026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41029
41030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41031 /* end confdefs.h. */
41032 #include <math.h>
41033 int
41034 main ()
41035 {
41036 hypotf(0, 0);
41037 ;
41038 return 0;
41039 }
41040 _ACEOF
41041 if ac_fn_cxx_try_compile "$LINENO"; then :
41042 glibcxx_cv_func_hypotf_use=yes
41043 else
41044 glibcxx_cv_func_hypotf_use=no
41045 fi
41046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41047 ac_ext=c
41048 ac_cpp='$CPP $CPPFLAGS'
41049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41052
41053
41054 fi
41055
41056 fi
41057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41058 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41059
41060 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41061 for ac_func in hypotf
41062 do :
41063 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41064 if test "x$ac_cv_func_hypotf" = x""yes; then :
41065 cat >>confdefs.h <<_ACEOF
41066 #define HAVE_HYPOTF 1
41067 _ACEOF
41068
41069 fi
41070 done
41071
41072 else
41073
41074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41075 $as_echo_n "checking for _hypotf declaration... " >&6; }
41076 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41077 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41078 $as_echo_n "(cached) " >&6
41079 else
41080
41081
41082 ac_ext=cpp
41083 ac_cpp='$CXXCPP $CPPFLAGS'
41084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41087
41088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41089 /* end confdefs.h. */
41090 #include <math.h>
41091 int
41092 main ()
41093 {
41094 _hypotf(0, 0);
41095 ;
41096 return 0;
41097 }
41098 _ACEOF
41099 if ac_fn_cxx_try_compile "$LINENO"; then :
41100 glibcxx_cv_func__hypotf_use=yes
41101 else
41102 glibcxx_cv_func__hypotf_use=no
41103 fi
41104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41105 ac_ext=c
41106 ac_cpp='$CPP $CPPFLAGS'
41107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41110
41111
41112 fi
41113
41114 fi
41115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41116 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41117
41118 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41119 for ac_func in _hypotf
41120 do :
41121 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41122 if test "x$ac_cv_func__hypotf" = x""yes; then :
41123 cat >>confdefs.h <<_ACEOF
41124 #define HAVE__HYPOTF 1
41125 _ACEOF
41126
41127 fi
41128 done
41129
41130 fi
41131 fi
41132
41133
41134
41135
41136
41137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41138 $as_echo_n "checking for ldexpf declaration... " >&6; }
41139 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41140 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41141 $as_echo_n "(cached) " >&6
41142 else
41143
41144
41145 ac_ext=cpp
41146 ac_cpp='$CXXCPP $CPPFLAGS'
41147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41150
41151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41152 /* end confdefs.h. */
41153 #include <math.h>
41154 int
41155 main ()
41156 {
41157 ldexpf(0, 0);
41158 ;
41159 return 0;
41160 }
41161 _ACEOF
41162 if ac_fn_cxx_try_compile "$LINENO"; then :
41163 glibcxx_cv_func_ldexpf_use=yes
41164 else
41165 glibcxx_cv_func_ldexpf_use=no
41166 fi
41167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41168 ac_ext=c
41169 ac_cpp='$CPP $CPPFLAGS'
41170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41173
41174
41175 fi
41176
41177 fi
41178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41179 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41180
41181 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41182 for ac_func in ldexpf
41183 do :
41184 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41185 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41186 cat >>confdefs.h <<_ACEOF
41187 #define HAVE_LDEXPF 1
41188 _ACEOF
41189
41190 fi
41191 done
41192
41193 else
41194
41195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41196 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41197 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41198 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41199 $as_echo_n "(cached) " >&6
41200 else
41201
41202
41203 ac_ext=cpp
41204 ac_cpp='$CXXCPP $CPPFLAGS'
41205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41208
41209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41210 /* end confdefs.h. */
41211 #include <math.h>
41212 int
41213 main ()
41214 {
41215 _ldexpf(0, 0);
41216 ;
41217 return 0;
41218 }
41219 _ACEOF
41220 if ac_fn_cxx_try_compile "$LINENO"; then :
41221 glibcxx_cv_func__ldexpf_use=yes
41222 else
41223 glibcxx_cv_func__ldexpf_use=no
41224 fi
41225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41226 ac_ext=c
41227 ac_cpp='$CPP $CPPFLAGS'
41228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41231
41232
41233 fi
41234
41235 fi
41236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41237 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41238
41239 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41240 for ac_func in _ldexpf
41241 do :
41242 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41243 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41244 cat >>confdefs.h <<_ACEOF
41245 #define HAVE__LDEXPF 1
41246 _ACEOF
41247
41248 fi
41249 done
41250
41251 fi
41252 fi
41253
41254
41255
41256
41257
41258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41259 $as_echo_n "checking for logf declaration... " >&6; }
41260 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41261 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41262 $as_echo_n "(cached) " >&6
41263 else
41264
41265
41266 ac_ext=cpp
41267 ac_cpp='$CXXCPP $CPPFLAGS'
41268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41271
41272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41273 /* end confdefs.h. */
41274 #include <math.h>
41275 #ifdef HAVE_IEEEFP_H
41276 #include <ieeefp.h>
41277 #endif
41278
41279 int
41280 main ()
41281 {
41282 logf(0);
41283 ;
41284 return 0;
41285 }
41286 _ACEOF
41287 if ac_fn_cxx_try_compile "$LINENO"; then :
41288 glibcxx_cv_func_logf_use=yes
41289 else
41290 glibcxx_cv_func_logf_use=no
41291 fi
41292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41293 ac_ext=c
41294 ac_cpp='$CPP $CPPFLAGS'
41295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41298
41299
41300 fi
41301
41302 fi
41303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41304 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41305
41306 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41307 for ac_func in logf
41308 do :
41309 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41310 if test "x$ac_cv_func_logf" = x""yes; then :
41311 cat >>confdefs.h <<_ACEOF
41312 #define HAVE_LOGF 1
41313 _ACEOF
41314
41315 fi
41316 done
41317
41318 else
41319
41320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41321 $as_echo_n "checking for _logf declaration... " >&6; }
41322 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41323 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41324 $as_echo_n "(cached) " >&6
41325 else
41326
41327
41328 ac_ext=cpp
41329 ac_cpp='$CXXCPP $CPPFLAGS'
41330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41333
41334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41335 /* end confdefs.h. */
41336 #include <math.h>
41337 #ifdef HAVE_IEEEFP_H
41338 #include <ieeefp.h>
41339 #endif
41340
41341 int
41342 main ()
41343 {
41344 _logf(0);
41345 ;
41346 return 0;
41347 }
41348 _ACEOF
41349 if ac_fn_cxx_try_compile "$LINENO"; then :
41350 glibcxx_cv_func__logf_use=yes
41351 else
41352 glibcxx_cv_func__logf_use=no
41353 fi
41354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41355 ac_ext=c
41356 ac_cpp='$CPP $CPPFLAGS'
41357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41360
41361
41362 fi
41363
41364 fi
41365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41366 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41367
41368 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41369 for ac_func in _logf
41370 do :
41371 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41372 if test "x$ac_cv_func__logf" = x""yes; then :
41373 cat >>confdefs.h <<_ACEOF
41374 #define HAVE__LOGF 1
41375 _ACEOF
41376
41377 fi
41378 done
41379
41380 fi
41381 fi
41382
41383
41384
41385
41386
41387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41388 $as_echo_n "checking for log10f declaration... " >&6; }
41389 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41390 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41391 $as_echo_n "(cached) " >&6
41392 else
41393
41394
41395 ac_ext=cpp
41396 ac_cpp='$CXXCPP $CPPFLAGS'
41397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41400
41401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41402 /* end confdefs.h. */
41403 #include <math.h>
41404 #ifdef HAVE_IEEEFP_H
41405 #include <ieeefp.h>
41406 #endif
41407
41408 int
41409 main ()
41410 {
41411 log10f(0);
41412 ;
41413 return 0;
41414 }
41415 _ACEOF
41416 if ac_fn_cxx_try_compile "$LINENO"; then :
41417 glibcxx_cv_func_log10f_use=yes
41418 else
41419 glibcxx_cv_func_log10f_use=no
41420 fi
41421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41422 ac_ext=c
41423 ac_cpp='$CPP $CPPFLAGS'
41424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41427
41428
41429 fi
41430
41431 fi
41432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41433 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41434
41435 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41436 for ac_func in log10f
41437 do :
41438 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41439 if test "x$ac_cv_func_log10f" = x""yes; then :
41440 cat >>confdefs.h <<_ACEOF
41441 #define HAVE_LOG10F 1
41442 _ACEOF
41443
41444 fi
41445 done
41446
41447 else
41448
41449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41450 $as_echo_n "checking for _log10f declaration... " >&6; }
41451 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41452 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41453 $as_echo_n "(cached) " >&6
41454 else
41455
41456
41457 ac_ext=cpp
41458 ac_cpp='$CXXCPP $CPPFLAGS'
41459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41462
41463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41464 /* end confdefs.h. */
41465 #include <math.h>
41466 #ifdef HAVE_IEEEFP_H
41467 #include <ieeefp.h>
41468 #endif
41469
41470 int
41471 main ()
41472 {
41473 _log10f(0);
41474 ;
41475 return 0;
41476 }
41477 _ACEOF
41478 if ac_fn_cxx_try_compile "$LINENO"; then :
41479 glibcxx_cv_func__log10f_use=yes
41480 else
41481 glibcxx_cv_func__log10f_use=no
41482 fi
41483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41484 ac_ext=c
41485 ac_cpp='$CPP $CPPFLAGS'
41486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41489
41490
41491 fi
41492
41493 fi
41494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41495 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41496
41497 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41498 for ac_func in _log10f
41499 do :
41500 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41501 if test "x$ac_cv_func__log10f" = x""yes; then :
41502 cat >>confdefs.h <<_ACEOF
41503 #define HAVE__LOG10F 1
41504 _ACEOF
41505
41506 fi
41507 done
41508
41509 fi
41510 fi
41511
41512
41513
41514
41515
41516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41517 $as_echo_n "checking for modff declaration... " >&6; }
41518 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41519 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41520 $as_echo_n "(cached) " >&6
41521 else
41522
41523
41524 ac_ext=cpp
41525 ac_cpp='$CXXCPP $CPPFLAGS'
41526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41529
41530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41531 /* end confdefs.h. */
41532 #include <math.h>
41533 int
41534 main ()
41535 {
41536 modff(0, 0);
41537 ;
41538 return 0;
41539 }
41540 _ACEOF
41541 if ac_fn_cxx_try_compile "$LINENO"; then :
41542 glibcxx_cv_func_modff_use=yes
41543 else
41544 glibcxx_cv_func_modff_use=no
41545 fi
41546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41547 ac_ext=c
41548 ac_cpp='$CPP $CPPFLAGS'
41549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41552
41553
41554 fi
41555
41556 fi
41557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41558 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41559
41560 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41561 for ac_func in modff
41562 do :
41563 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41564 if test "x$ac_cv_func_modff" = x""yes; then :
41565 cat >>confdefs.h <<_ACEOF
41566 #define HAVE_MODFF 1
41567 _ACEOF
41568
41569 fi
41570 done
41571
41572 else
41573
41574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41575 $as_echo_n "checking for _modff declaration... " >&6; }
41576 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41577 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41578 $as_echo_n "(cached) " >&6
41579 else
41580
41581
41582 ac_ext=cpp
41583 ac_cpp='$CXXCPP $CPPFLAGS'
41584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41587
41588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41589 /* end confdefs.h. */
41590 #include <math.h>
41591 int
41592 main ()
41593 {
41594 _modff(0, 0);
41595 ;
41596 return 0;
41597 }
41598 _ACEOF
41599 if ac_fn_cxx_try_compile "$LINENO"; then :
41600 glibcxx_cv_func__modff_use=yes
41601 else
41602 glibcxx_cv_func__modff_use=no
41603 fi
41604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41605 ac_ext=c
41606 ac_cpp='$CPP $CPPFLAGS'
41607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41610
41611
41612 fi
41613
41614 fi
41615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41616 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41617
41618 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41619 for ac_func in _modff
41620 do :
41621 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41622 if test "x$ac_cv_func__modff" = x""yes; then :
41623 cat >>confdefs.h <<_ACEOF
41624 #define HAVE__MODFF 1
41625 _ACEOF
41626
41627 fi
41628 done
41629
41630 fi
41631 fi
41632
41633
41634
41635
41636
41637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41638 $as_echo_n "checking for modf declaration... " >&6; }
41639 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41640 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41641 $as_echo_n "(cached) " >&6
41642 else
41643
41644
41645 ac_ext=cpp
41646 ac_cpp='$CXXCPP $CPPFLAGS'
41647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41650
41651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41652 /* end confdefs.h. */
41653 #include <math.h>
41654 int
41655 main ()
41656 {
41657 modf(0, 0);
41658 ;
41659 return 0;
41660 }
41661 _ACEOF
41662 if ac_fn_cxx_try_compile "$LINENO"; then :
41663 glibcxx_cv_func_modf_use=yes
41664 else
41665 glibcxx_cv_func_modf_use=no
41666 fi
41667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41668 ac_ext=c
41669 ac_cpp='$CPP $CPPFLAGS'
41670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41673
41674
41675 fi
41676
41677 fi
41678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41679 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41680
41681 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41682 for ac_func in modf
41683 do :
41684 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41685 if test "x$ac_cv_func_modf" = x""yes; then :
41686 cat >>confdefs.h <<_ACEOF
41687 #define HAVE_MODF 1
41688 _ACEOF
41689
41690 fi
41691 done
41692
41693 else
41694
41695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41696 $as_echo_n "checking for _modf declaration... " >&6; }
41697 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41698 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41699 $as_echo_n "(cached) " >&6
41700 else
41701
41702
41703 ac_ext=cpp
41704 ac_cpp='$CXXCPP $CPPFLAGS'
41705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41708
41709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41710 /* end confdefs.h. */
41711 #include <math.h>
41712 int
41713 main ()
41714 {
41715 _modf(0, 0);
41716 ;
41717 return 0;
41718 }
41719 _ACEOF
41720 if ac_fn_cxx_try_compile "$LINENO"; then :
41721 glibcxx_cv_func__modf_use=yes
41722 else
41723 glibcxx_cv_func__modf_use=no
41724 fi
41725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41726 ac_ext=c
41727 ac_cpp='$CPP $CPPFLAGS'
41728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41731
41732
41733 fi
41734
41735 fi
41736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41737 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41738
41739 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41740 for ac_func in _modf
41741 do :
41742 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41743 if test "x$ac_cv_func__modf" = x""yes; then :
41744 cat >>confdefs.h <<_ACEOF
41745 #define HAVE__MODF 1
41746 _ACEOF
41747
41748 fi
41749 done
41750
41751 fi
41752 fi
41753
41754
41755
41756
41757
41758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41759 $as_echo_n "checking for powf declaration... " >&6; }
41760 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41761 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41762 $as_echo_n "(cached) " >&6
41763 else
41764
41765
41766 ac_ext=cpp
41767 ac_cpp='$CXXCPP $CPPFLAGS'
41768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41771
41772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41773 /* end confdefs.h. */
41774 #include <math.h>
41775 int
41776 main ()
41777 {
41778 powf(0, 0);
41779 ;
41780 return 0;
41781 }
41782 _ACEOF
41783 if ac_fn_cxx_try_compile "$LINENO"; then :
41784 glibcxx_cv_func_powf_use=yes
41785 else
41786 glibcxx_cv_func_powf_use=no
41787 fi
41788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41789 ac_ext=c
41790 ac_cpp='$CPP $CPPFLAGS'
41791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41794
41795
41796 fi
41797
41798 fi
41799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41800 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41801
41802 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41803 for ac_func in powf
41804 do :
41805 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41806 if test "x$ac_cv_func_powf" = x""yes; then :
41807 cat >>confdefs.h <<_ACEOF
41808 #define HAVE_POWF 1
41809 _ACEOF
41810
41811 fi
41812 done
41813
41814 else
41815
41816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41817 $as_echo_n "checking for _powf declaration... " >&6; }
41818 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41819 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41820 $as_echo_n "(cached) " >&6
41821 else
41822
41823
41824 ac_ext=cpp
41825 ac_cpp='$CXXCPP $CPPFLAGS'
41826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41829
41830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41831 /* end confdefs.h. */
41832 #include <math.h>
41833 int
41834 main ()
41835 {
41836 _powf(0, 0);
41837 ;
41838 return 0;
41839 }
41840 _ACEOF
41841 if ac_fn_cxx_try_compile "$LINENO"; then :
41842 glibcxx_cv_func__powf_use=yes
41843 else
41844 glibcxx_cv_func__powf_use=no
41845 fi
41846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41847 ac_ext=c
41848 ac_cpp='$CPP $CPPFLAGS'
41849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41852
41853
41854 fi
41855
41856 fi
41857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41858 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41859
41860 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41861 for ac_func in _powf
41862 do :
41863 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41864 if test "x$ac_cv_func__powf" = x""yes; then :
41865 cat >>confdefs.h <<_ACEOF
41866 #define HAVE__POWF 1
41867 _ACEOF
41868
41869 fi
41870 done
41871
41872 fi
41873 fi
41874
41875
41876
41877
41878
41879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41880 $as_echo_n "checking for sqrtf declaration... " >&6; }
41881 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41882 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41883 $as_echo_n "(cached) " >&6
41884 else
41885
41886
41887 ac_ext=cpp
41888 ac_cpp='$CXXCPP $CPPFLAGS'
41889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41892
41893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41894 /* end confdefs.h. */
41895 #include <math.h>
41896 #ifdef HAVE_IEEEFP_H
41897 #include <ieeefp.h>
41898 #endif
41899
41900 int
41901 main ()
41902 {
41903 sqrtf(0);
41904 ;
41905 return 0;
41906 }
41907 _ACEOF
41908 if ac_fn_cxx_try_compile "$LINENO"; then :
41909 glibcxx_cv_func_sqrtf_use=yes
41910 else
41911 glibcxx_cv_func_sqrtf_use=no
41912 fi
41913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41914 ac_ext=c
41915 ac_cpp='$CPP $CPPFLAGS'
41916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41919
41920
41921 fi
41922
41923 fi
41924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41925 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41926
41927 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41928 for ac_func in sqrtf
41929 do :
41930 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41931 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41932 cat >>confdefs.h <<_ACEOF
41933 #define HAVE_SQRTF 1
41934 _ACEOF
41935
41936 fi
41937 done
41938
41939 else
41940
41941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41942 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41943 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41944 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41945 $as_echo_n "(cached) " >&6
41946 else
41947
41948
41949 ac_ext=cpp
41950 ac_cpp='$CXXCPP $CPPFLAGS'
41951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41954
41955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41956 /* end confdefs.h. */
41957 #include <math.h>
41958 #ifdef HAVE_IEEEFP_H
41959 #include <ieeefp.h>
41960 #endif
41961
41962 int
41963 main ()
41964 {
41965 _sqrtf(0);
41966 ;
41967 return 0;
41968 }
41969 _ACEOF
41970 if ac_fn_cxx_try_compile "$LINENO"; then :
41971 glibcxx_cv_func__sqrtf_use=yes
41972 else
41973 glibcxx_cv_func__sqrtf_use=no
41974 fi
41975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41976 ac_ext=c
41977 ac_cpp='$CPP $CPPFLAGS'
41978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41981
41982
41983 fi
41984
41985 fi
41986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41987 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41988
41989 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41990 for ac_func in _sqrtf
41991 do :
41992 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41993 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41994 cat >>confdefs.h <<_ACEOF
41995 #define HAVE__SQRTF 1
41996 _ACEOF
41997
41998 fi
41999 done
42000
42001 fi
42002 fi
42003
42004
42005
42006
42007
42008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42009 $as_echo_n "checking for sincosf declaration... " >&6; }
42010 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42011 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42012 $as_echo_n "(cached) " >&6
42013 else
42014
42015
42016 ac_ext=cpp
42017 ac_cpp='$CXXCPP $CPPFLAGS'
42018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42021
42022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42023 /* end confdefs.h. */
42024 #include <math.h>
42025 int
42026 main ()
42027 {
42028 sincosf(0, 0, 0);
42029 ;
42030 return 0;
42031 }
42032 _ACEOF
42033 if ac_fn_cxx_try_compile "$LINENO"; then :
42034 glibcxx_cv_func_sincosf_use=yes
42035 else
42036 glibcxx_cv_func_sincosf_use=no
42037 fi
42038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42039 ac_ext=c
42040 ac_cpp='$CPP $CPPFLAGS'
42041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42044
42045
42046 fi
42047
42048 fi
42049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42050 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42051
42052 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42053 for ac_func in sincosf
42054 do :
42055 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42056 if test "x$ac_cv_func_sincosf" = x""yes; then :
42057 cat >>confdefs.h <<_ACEOF
42058 #define HAVE_SINCOSF 1
42059 _ACEOF
42060
42061 fi
42062 done
42063
42064 else
42065
42066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42067 $as_echo_n "checking for _sincosf declaration... " >&6; }
42068 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42069 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42070 $as_echo_n "(cached) " >&6
42071 else
42072
42073
42074 ac_ext=cpp
42075 ac_cpp='$CXXCPP $CPPFLAGS'
42076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42079
42080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42081 /* end confdefs.h. */
42082 #include <math.h>
42083 int
42084 main ()
42085 {
42086 _sincosf(0, 0, 0);
42087 ;
42088 return 0;
42089 }
42090 _ACEOF
42091 if ac_fn_cxx_try_compile "$LINENO"; then :
42092 glibcxx_cv_func__sincosf_use=yes
42093 else
42094 glibcxx_cv_func__sincosf_use=no
42095 fi
42096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42097 ac_ext=c
42098 ac_cpp='$CPP $CPPFLAGS'
42099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42102
42103
42104 fi
42105
42106 fi
42107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42108 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42109
42110 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42111 for ac_func in _sincosf
42112 do :
42113 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42114 if test "x$ac_cv_func__sincosf" = x""yes; then :
42115 cat >>confdefs.h <<_ACEOF
42116 #define HAVE__SINCOSF 1
42117 _ACEOF
42118
42119 fi
42120 done
42121
42122 fi
42123 fi
42124
42125
42126
42127
42128
42129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42130 $as_echo_n "checking for finitef declaration... " >&6; }
42131 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42132 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42133 $as_echo_n "(cached) " >&6
42134 else
42135
42136
42137 ac_ext=cpp
42138 ac_cpp='$CXXCPP $CPPFLAGS'
42139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42142
42143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42144 /* end confdefs.h. */
42145 #include <math.h>
42146 #ifdef HAVE_IEEEFP_H
42147 #include <ieeefp.h>
42148 #endif
42149
42150 int
42151 main ()
42152 {
42153 finitef(0);
42154 ;
42155 return 0;
42156 }
42157 _ACEOF
42158 if ac_fn_cxx_try_compile "$LINENO"; then :
42159 glibcxx_cv_func_finitef_use=yes
42160 else
42161 glibcxx_cv_func_finitef_use=no
42162 fi
42163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42164 ac_ext=c
42165 ac_cpp='$CPP $CPPFLAGS'
42166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42169
42170
42171 fi
42172
42173 fi
42174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42175 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42176
42177 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42178 for ac_func in finitef
42179 do :
42180 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42181 if test "x$ac_cv_func_finitef" = x""yes; then :
42182 cat >>confdefs.h <<_ACEOF
42183 #define HAVE_FINITEF 1
42184 _ACEOF
42185
42186 fi
42187 done
42188
42189 else
42190
42191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42192 $as_echo_n "checking for _finitef declaration... " >&6; }
42193 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42194 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42195 $as_echo_n "(cached) " >&6
42196 else
42197
42198
42199 ac_ext=cpp
42200 ac_cpp='$CXXCPP $CPPFLAGS'
42201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42204
42205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42206 /* end confdefs.h. */
42207 #include <math.h>
42208 #ifdef HAVE_IEEEFP_H
42209 #include <ieeefp.h>
42210 #endif
42211
42212 int
42213 main ()
42214 {
42215 _finitef(0);
42216 ;
42217 return 0;
42218 }
42219 _ACEOF
42220 if ac_fn_cxx_try_compile "$LINENO"; then :
42221 glibcxx_cv_func__finitef_use=yes
42222 else
42223 glibcxx_cv_func__finitef_use=no
42224 fi
42225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42226 ac_ext=c
42227 ac_cpp='$CPP $CPPFLAGS'
42228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42231
42232
42233 fi
42234
42235 fi
42236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42237 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42238
42239 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42240 for ac_func in _finitef
42241 do :
42242 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42243 if test "x$ac_cv_func__finitef" = x""yes; then :
42244 cat >>confdefs.h <<_ACEOF
42245 #define HAVE__FINITEF 1
42246 _ACEOF
42247
42248 fi
42249 done
42250
42251 fi
42252 fi
42253
42254
42255
42256
42257
42258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42259 $as_echo_n "checking for long double trig functions... " >&6; }
42260 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42261 $as_echo_n "(cached) " >&6
42262 else
42263
42264
42265 ac_ext=cpp
42266 ac_cpp='$CXXCPP $CPPFLAGS'
42267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42270
42271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42272 /* end confdefs.h. */
42273 #include <math.h>
42274 int
42275 main ()
42276 {
42277 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42278 ;
42279 return 0;
42280 }
42281 _ACEOF
42282 if ac_fn_cxx_try_compile "$LINENO"; then :
42283 glibcxx_cv_func_long_double_trig_use=yes
42284 else
42285 glibcxx_cv_func_long_double_trig_use=no
42286 fi
42287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42288 ac_ext=c
42289 ac_cpp='$CPP $CPPFLAGS'
42290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42293
42294 fi
42295
42296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42297 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42298 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42299 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42300 do :
42301 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42302 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42303 eval as_val=\$$as_ac_var
42304 if test "x$as_val" = x""yes; then :
42305 cat >>confdefs.h <<_ACEOF
42306 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42307 _ACEOF
42308
42309 fi
42310 done
42311
42312 else
42313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42314 $as_echo_n "checking for _long double trig functions... " >&6; }
42315 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42316 $as_echo_n "(cached) " >&6
42317 else
42318
42319
42320 ac_ext=cpp
42321 ac_cpp='$CXXCPP $CPPFLAGS'
42322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42325
42326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42327 /* end confdefs.h. */
42328 #include <math.h>
42329 int
42330 main ()
42331 {
42332 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42333 ;
42334 return 0;
42335 }
42336 _ACEOF
42337 if ac_fn_cxx_try_compile "$LINENO"; then :
42338 glibcxx_cv_func__long_double_trig_use=yes
42339 else
42340 glibcxx_cv_func__long_double_trig_use=no
42341 fi
42342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42343 ac_ext=c
42344 ac_cpp='$CPP $CPPFLAGS'
42345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42348
42349 fi
42350
42351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42352 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42353 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42354 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42355 do :
42356 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42357 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42358 eval as_val=\$$as_ac_var
42359 if test "x$as_val" = x""yes; then :
42360 cat >>confdefs.h <<_ACEOF
42361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42362 _ACEOF
42363
42364 fi
42365 done
42366
42367 fi
42368 fi
42369
42370
42371
42372
42373
42374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42375 $as_echo_n "checking for long double round functions... " >&6; }
42376 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42377 $as_echo_n "(cached) " >&6
42378 else
42379
42380
42381 ac_ext=cpp
42382 ac_cpp='$CXXCPP $CPPFLAGS'
42383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42386
42387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42388 /* end confdefs.h. */
42389 #include <math.h>
42390 int
42391 main ()
42392 {
42393 ceill (0); floorl (0);
42394 ;
42395 return 0;
42396 }
42397 _ACEOF
42398 if ac_fn_cxx_try_compile "$LINENO"; then :
42399 glibcxx_cv_func_long_double_round_use=yes
42400 else
42401 glibcxx_cv_func_long_double_round_use=no
42402 fi
42403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42404 ac_ext=c
42405 ac_cpp='$CPP $CPPFLAGS'
42406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42409
42410 fi
42411
42412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42413 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42414 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42415 for ac_func in ceill floorl
42416 do :
42417 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42418 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42419 eval as_val=\$$as_ac_var
42420 if test "x$as_val" = x""yes; then :
42421 cat >>confdefs.h <<_ACEOF
42422 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42423 _ACEOF
42424
42425 fi
42426 done
42427
42428 else
42429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42430 $as_echo_n "checking for _long double round functions... " >&6; }
42431 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42432 $as_echo_n "(cached) " >&6
42433 else
42434
42435
42436 ac_ext=cpp
42437 ac_cpp='$CXXCPP $CPPFLAGS'
42438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42441
42442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42443 /* end confdefs.h. */
42444 #include <math.h>
42445 int
42446 main ()
42447 {
42448 _ceill (0); _floorl (0);
42449 ;
42450 return 0;
42451 }
42452 _ACEOF
42453 if ac_fn_cxx_try_compile "$LINENO"; then :
42454 glibcxx_cv_func__long_double_round_use=yes
42455 else
42456 glibcxx_cv_func__long_double_round_use=no
42457 fi
42458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42459 ac_ext=c
42460 ac_cpp='$CPP $CPPFLAGS'
42461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42464
42465 fi
42466
42467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42468 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42469 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42470 for ac_func in _ceill _floorl
42471 do :
42472 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42473 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42474 eval as_val=\$$as_ac_var
42475 if test "x$as_val" = x""yes; then :
42476 cat >>confdefs.h <<_ACEOF
42477 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42478 _ACEOF
42479
42480 fi
42481 done
42482
42483 fi
42484 fi
42485
42486
42487
42488
42489
42490
42491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42492 $as_echo_n "checking for isnanl declaration... " >&6; }
42493 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42494 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42495 $as_echo_n "(cached) " >&6
42496 else
42497
42498
42499 ac_ext=cpp
42500 ac_cpp='$CXXCPP $CPPFLAGS'
42501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42504
42505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42506 /* end confdefs.h. */
42507 #include <math.h>
42508 #ifdef HAVE_IEEEFP_H
42509 #include <ieeefp.h>
42510 #endif
42511
42512 int
42513 main ()
42514 {
42515 isnanl(0);
42516 ;
42517 return 0;
42518 }
42519 _ACEOF
42520 if ac_fn_cxx_try_compile "$LINENO"; then :
42521 glibcxx_cv_func_isnanl_use=yes
42522 else
42523 glibcxx_cv_func_isnanl_use=no
42524 fi
42525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42526 ac_ext=c
42527 ac_cpp='$CPP $CPPFLAGS'
42528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42531
42532
42533 fi
42534
42535 fi
42536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42537 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42538
42539 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42540 for ac_func in isnanl
42541 do :
42542 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42543 if test "x$ac_cv_func_isnanl" = x""yes; then :
42544 cat >>confdefs.h <<_ACEOF
42545 #define HAVE_ISNANL 1
42546 _ACEOF
42547
42548 fi
42549 done
42550
42551 else
42552
42553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42554 $as_echo_n "checking for _isnanl declaration... " >&6; }
42555 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42556 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42557 $as_echo_n "(cached) " >&6
42558 else
42559
42560
42561 ac_ext=cpp
42562 ac_cpp='$CXXCPP $CPPFLAGS'
42563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42566
42567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42568 /* end confdefs.h. */
42569 #include <math.h>
42570 #ifdef HAVE_IEEEFP_H
42571 #include <ieeefp.h>
42572 #endif
42573
42574 int
42575 main ()
42576 {
42577 _isnanl(0);
42578 ;
42579 return 0;
42580 }
42581 _ACEOF
42582 if ac_fn_cxx_try_compile "$LINENO"; then :
42583 glibcxx_cv_func__isnanl_use=yes
42584 else
42585 glibcxx_cv_func__isnanl_use=no
42586 fi
42587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42588 ac_ext=c
42589 ac_cpp='$CPP $CPPFLAGS'
42590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42593
42594
42595 fi
42596
42597 fi
42598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42599 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42600
42601 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42602 for ac_func in _isnanl
42603 do :
42604 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42605 if test "x$ac_cv_func__isnanl" = x""yes; then :
42606 cat >>confdefs.h <<_ACEOF
42607 #define HAVE__ISNANL 1
42608 _ACEOF
42609
42610 fi
42611 done
42612
42613 fi
42614 fi
42615
42616
42617
42618
42619
42620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42621 $as_echo_n "checking for isinfl declaration... " >&6; }
42622 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42623 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42624 $as_echo_n "(cached) " >&6
42625 else
42626
42627
42628 ac_ext=cpp
42629 ac_cpp='$CXXCPP $CPPFLAGS'
42630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42633
42634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42635 /* end confdefs.h. */
42636 #include <math.h>
42637 #ifdef HAVE_IEEEFP_H
42638 #include <ieeefp.h>
42639 #endif
42640
42641 int
42642 main ()
42643 {
42644 isinfl(0);
42645 ;
42646 return 0;
42647 }
42648 _ACEOF
42649 if ac_fn_cxx_try_compile "$LINENO"; then :
42650 glibcxx_cv_func_isinfl_use=yes
42651 else
42652 glibcxx_cv_func_isinfl_use=no
42653 fi
42654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42655 ac_ext=c
42656 ac_cpp='$CPP $CPPFLAGS'
42657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42660
42661
42662 fi
42663
42664 fi
42665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42666 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42667
42668 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42669 for ac_func in isinfl
42670 do :
42671 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42672 if test "x$ac_cv_func_isinfl" = x""yes; then :
42673 cat >>confdefs.h <<_ACEOF
42674 #define HAVE_ISINFL 1
42675 _ACEOF
42676
42677 fi
42678 done
42679
42680 else
42681
42682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42683 $as_echo_n "checking for _isinfl declaration... " >&6; }
42684 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42685 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42686 $as_echo_n "(cached) " >&6
42687 else
42688
42689
42690 ac_ext=cpp
42691 ac_cpp='$CXXCPP $CPPFLAGS'
42692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42695
42696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42697 /* end confdefs.h. */
42698 #include <math.h>
42699 #ifdef HAVE_IEEEFP_H
42700 #include <ieeefp.h>
42701 #endif
42702
42703 int
42704 main ()
42705 {
42706 _isinfl(0);
42707 ;
42708 return 0;
42709 }
42710 _ACEOF
42711 if ac_fn_cxx_try_compile "$LINENO"; then :
42712 glibcxx_cv_func__isinfl_use=yes
42713 else
42714 glibcxx_cv_func__isinfl_use=no
42715 fi
42716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42717 ac_ext=c
42718 ac_cpp='$CPP $CPPFLAGS'
42719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42722
42723
42724 fi
42725
42726 fi
42727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42728 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42729
42730 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42731 for ac_func in _isinfl
42732 do :
42733 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42734 if test "x$ac_cv_func__isinfl" = x""yes; then :
42735 cat >>confdefs.h <<_ACEOF
42736 #define HAVE__ISINFL 1
42737 _ACEOF
42738
42739 fi
42740 done
42741
42742 fi
42743 fi
42744
42745
42746
42747
42748
42749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42750 $as_echo_n "checking for atan2l declaration... " >&6; }
42751 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42752 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42753 $as_echo_n "(cached) " >&6
42754 else
42755
42756
42757 ac_ext=cpp
42758 ac_cpp='$CXXCPP $CPPFLAGS'
42759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42762
42763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42764 /* end confdefs.h. */
42765 #include <math.h>
42766 int
42767 main ()
42768 {
42769 atan2l(0, 0);
42770 ;
42771 return 0;
42772 }
42773 _ACEOF
42774 if ac_fn_cxx_try_compile "$LINENO"; then :
42775 glibcxx_cv_func_atan2l_use=yes
42776 else
42777 glibcxx_cv_func_atan2l_use=no
42778 fi
42779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42780 ac_ext=c
42781 ac_cpp='$CPP $CPPFLAGS'
42782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42785
42786
42787 fi
42788
42789 fi
42790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42791 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42792
42793 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42794 for ac_func in atan2l
42795 do :
42796 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42797 if test "x$ac_cv_func_atan2l" = x""yes; then :
42798 cat >>confdefs.h <<_ACEOF
42799 #define HAVE_ATAN2L 1
42800 _ACEOF
42801
42802 fi
42803 done
42804
42805 else
42806
42807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42808 $as_echo_n "checking for _atan2l declaration... " >&6; }
42809 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42810 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42811 $as_echo_n "(cached) " >&6
42812 else
42813
42814
42815 ac_ext=cpp
42816 ac_cpp='$CXXCPP $CPPFLAGS'
42817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42820
42821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42822 /* end confdefs.h. */
42823 #include <math.h>
42824 int
42825 main ()
42826 {
42827 _atan2l(0, 0);
42828 ;
42829 return 0;
42830 }
42831 _ACEOF
42832 if ac_fn_cxx_try_compile "$LINENO"; then :
42833 glibcxx_cv_func__atan2l_use=yes
42834 else
42835 glibcxx_cv_func__atan2l_use=no
42836 fi
42837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42838 ac_ext=c
42839 ac_cpp='$CPP $CPPFLAGS'
42840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42843
42844
42845 fi
42846
42847 fi
42848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42849 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42850
42851 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42852 for ac_func in _atan2l
42853 do :
42854 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42855 if test "x$ac_cv_func__atan2l" = x""yes; then :
42856 cat >>confdefs.h <<_ACEOF
42857 #define HAVE__ATAN2L 1
42858 _ACEOF
42859
42860 fi
42861 done
42862
42863 fi
42864 fi
42865
42866
42867
42868
42869
42870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42871 $as_echo_n "checking for expl declaration... " >&6; }
42872 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42873 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42874 $as_echo_n "(cached) " >&6
42875 else
42876
42877
42878 ac_ext=cpp
42879 ac_cpp='$CXXCPP $CPPFLAGS'
42880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42883
42884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42885 /* end confdefs.h. */
42886 #include <math.h>
42887 #ifdef HAVE_IEEEFP_H
42888 #include <ieeefp.h>
42889 #endif
42890
42891 int
42892 main ()
42893 {
42894 expl(0);
42895 ;
42896 return 0;
42897 }
42898 _ACEOF
42899 if ac_fn_cxx_try_compile "$LINENO"; then :
42900 glibcxx_cv_func_expl_use=yes
42901 else
42902 glibcxx_cv_func_expl_use=no
42903 fi
42904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42905 ac_ext=c
42906 ac_cpp='$CPP $CPPFLAGS'
42907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42910
42911
42912 fi
42913
42914 fi
42915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42916 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42917
42918 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42919 for ac_func in expl
42920 do :
42921 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42922 if test "x$ac_cv_func_expl" = x""yes; then :
42923 cat >>confdefs.h <<_ACEOF
42924 #define HAVE_EXPL 1
42925 _ACEOF
42926
42927 fi
42928 done
42929
42930 else
42931
42932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42933 $as_echo_n "checking for _expl declaration... " >&6; }
42934 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42935 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42936 $as_echo_n "(cached) " >&6
42937 else
42938
42939
42940 ac_ext=cpp
42941 ac_cpp='$CXXCPP $CPPFLAGS'
42942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42945
42946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42947 /* end confdefs.h. */
42948 #include <math.h>
42949 #ifdef HAVE_IEEEFP_H
42950 #include <ieeefp.h>
42951 #endif
42952
42953 int
42954 main ()
42955 {
42956 _expl(0);
42957 ;
42958 return 0;
42959 }
42960 _ACEOF
42961 if ac_fn_cxx_try_compile "$LINENO"; then :
42962 glibcxx_cv_func__expl_use=yes
42963 else
42964 glibcxx_cv_func__expl_use=no
42965 fi
42966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42967 ac_ext=c
42968 ac_cpp='$CPP $CPPFLAGS'
42969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42972
42973
42974 fi
42975
42976 fi
42977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42978 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42979
42980 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42981 for ac_func in _expl
42982 do :
42983 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42984 if test "x$ac_cv_func__expl" = x""yes; then :
42985 cat >>confdefs.h <<_ACEOF
42986 #define HAVE__EXPL 1
42987 _ACEOF
42988
42989 fi
42990 done
42991
42992 fi
42993 fi
42994
42995
42996
42997
42998
42999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43000 $as_echo_n "checking for fabsl declaration... " >&6; }
43001 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43002 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43003 $as_echo_n "(cached) " >&6
43004 else
43005
43006
43007 ac_ext=cpp
43008 ac_cpp='$CXXCPP $CPPFLAGS'
43009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43012
43013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43014 /* end confdefs.h. */
43015 #include <math.h>
43016 #ifdef HAVE_IEEEFP_H
43017 #include <ieeefp.h>
43018 #endif
43019
43020 int
43021 main ()
43022 {
43023 fabsl(0);
43024 ;
43025 return 0;
43026 }
43027 _ACEOF
43028 if ac_fn_cxx_try_compile "$LINENO"; then :
43029 glibcxx_cv_func_fabsl_use=yes
43030 else
43031 glibcxx_cv_func_fabsl_use=no
43032 fi
43033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43034 ac_ext=c
43035 ac_cpp='$CPP $CPPFLAGS'
43036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43039
43040
43041 fi
43042
43043 fi
43044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43045 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43046
43047 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43048 for ac_func in fabsl
43049 do :
43050 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43051 if test "x$ac_cv_func_fabsl" = x""yes; then :
43052 cat >>confdefs.h <<_ACEOF
43053 #define HAVE_FABSL 1
43054 _ACEOF
43055
43056 fi
43057 done
43058
43059 else
43060
43061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43062 $as_echo_n "checking for _fabsl declaration... " >&6; }
43063 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43064 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43065 $as_echo_n "(cached) " >&6
43066 else
43067
43068
43069 ac_ext=cpp
43070 ac_cpp='$CXXCPP $CPPFLAGS'
43071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43074
43075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43076 /* end confdefs.h. */
43077 #include <math.h>
43078 #ifdef HAVE_IEEEFP_H
43079 #include <ieeefp.h>
43080 #endif
43081
43082 int
43083 main ()
43084 {
43085 _fabsl(0);
43086 ;
43087 return 0;
43088 }
43089 _ACEOF
43090 if ac_fn_cxx_try_compile "$LINENO"; then :
43091 glibcxx_cv_func__fabsl_use=yes
43092 else
43093 glibcxx_cv_func__fabsl_use=no
43094 fi
43095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43096 ac_ext=c
43097 ac_cpp='$CPP $CPPFLAGS'
43098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43101
43102
43103 fi
43104
43105 fi
43106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43107 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43108
43109 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43110 for ac_func in _fabsl
43111 do :
43112 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43113 if test "x$ac_cv_func__fabsl" = x""yes; then :
43114 cat >>confdefs.h <<_ACEOF
43115 #define HAVE__FABSL 1
43116 _ACEOF
43117
43118 fi
43119 done
43120
43121 fi
43122 fi
43123
43124
43125
43126
43127
43128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43129 $as_echo_n "checking for fmodl declaration... " >&6; }
43130 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43131 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43132 $as_echo_n "(cached) " >&6
43133 else
43134
43135
43136 ac_ext=cpp
43137 ac_cpp='$CXXCPP $CPPFLAGS'
43138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43141
43142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43143 /* end confdefs.h. */
43144 #include <math.h>
43145 int
43146 main ()
43147 {
43148 fmodl(0, 0);
43149 ;
43150 return 0;
43151 }
43152 _ACEOF
43153 if ac_fn_cxx_try_compile "$LINENO"; then :
43154 glibcxx_cv_func_fmodl_use=yes
43155 else
43156 glibcxx_cv_func_fmodl_use=no
43157 fi
43158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43159 ac_ext=c
43160 ac_cpp='$CPP $CPPFLAGS'
43161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43164
43165
43166 fi
43167
43168 fi
43169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43170 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43171
43172 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43173 for ac_func in fmodl
43174 do :
43175 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43176 if test "x$ac_cv_func_fmodl" = x""yes; then :
43177 cat >>confdefs.h <<_ACEOF
43178 #define HAVE_FMODL 1
43179 _ACEOF
43180
43181 fi
43182 done
43183
43184 else
43185
43186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43187 $as_echo_n "checking for _fmodl declaration... " >&6; }
43188 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43189 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43190 $as_echo_n "(cached) " >&6
43191 else
43192
43193
43194 ac_ext=cpp
43195 ac_cpp='$CXXCPP $CPPFLAGS'
43196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43199
43200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43201 /* end confdefs.h. */
43202 #include <math.h>
43203 int
43204 main ()
43205 {
43206 _fmodl(0, 0);
43207 ;
43208 return 0;
43209 }
43210 _ACEOF
43211 if ac_fn_cxx_try_compile "$LINENO"; then :
43212 glibcxx_cv_func__fmodl_use=yes
43213 else
43214 glibcxx_cv_func__fmodl_use=no
43215 fi
43216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43217 ac_ext=c
43218 ac_cpp='$CPP $CPPFLAGS'
43219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43222
43223
43224 fi
43225
43226 fi
43227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43228 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43229
43230 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43231 for ac_func in _fmodl
43232 do :
43233 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43234 if test "x$ac_cv_func__fmodl" = x""yes; then :
43235 cat >>confdefs.h <<_ACEOF
43236 #define HAVE__FMODL 1
43237 _ACEOF
43238
43239 fi
43240 done
43241
43242 fi
43243 fi
43244
43245
43246
43247
43248
43249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43250 $as_echo_n "checking for frexpl declaration... " >&6; }
43251 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43252 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43253 $as_echo_n "(cached) " >&6
43254 else
43255
43256
43257 ac_ext=cpp
43258 ac_cpp='$CXXCPP $CPPFLAGS'
43259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43262
43263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43264 /* end confdefs.h. */
43265 #include <math.h>
43266 int
43267 main ()
43268 {
43269 frexpl(0, 0);
43270 ;
43271 return 0;
43272 }
43273 _ACEOF
43274 if ac_fn_cxx_try_compile "$LINENO"; then :
43275 glibcxx_cv_func_frexpl_use=yes
43276 else
43277 glibcxx_cv_func_frexpl_use=no
43278 fi
43279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43280 ac_ext=c
43281 ac_cpp='$CPP $CPPFLAGS'
43282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43285
43286
43287 fi
43288
43289 fi
43290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43291 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43292
43293 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43294 for ac_func in frexpl
43295 do :
43296 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43297 if test "x$ac_cv_func_frexpl" = x""yes; then :
43298 cat >>confdefs.h <<_ACEOF
43299 #define HAVE_FREXPL 1
43300 _ACEOF
43301
43302 fi
43303 done
43304
43305 else
43306
43307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43308 $as_echo_n "checking for _frexpl declaration... " >&6; }
43309 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43310 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43311 $as_echo_n "(cached) " >&6
43312 else
43313
43314
43315 ac_ext=cpp
43316 ac_cpp='$CXXCPP $CPPFLAGS'
43317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43320
43321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43322 /* end confdefs.h. */
43323 #include <math.h>
43324 int
43325 main ()
43326 {
43327 _frexpl(0, 0);
43328 ;
43329 return 0;
43330 }
43331 _ACEOF
43332 if ac_fn_cxx_try_compile "$LINENO"; then :
43333 glibcxx_cv_func__frexpl_use=yes
43334 else
43335 glibcxx_cv_func__frexpl_use=no
43336 fi
43337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43338 ac_ext=c
43339 ac_cpp='$CPP $CPPFLAGS'
43340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43343
43344
43345 fi
43346
43347 fi
43348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43349 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43350
43351 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43352 for ac_func in _frexpl
43353 do :
43354 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43355 if test "x$ac_cv_func__frexpl" = x""yes; then :
43356 cat >>confdefs.h <<_ACEOF
43357 #define HAVE__FREXPL 1
43358 _ACEOF
43359
43360 fi
43361 done
43362
43363 fi
43364 fi
43365
43366
43367
43368
43369
43370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43371 $as_echo_n "checking for hypotl declaration... " >&6; }
43372 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43373 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43374 $as_echo_n "(cached) " >&6
43375 else
43376
43377
43378 ac_ext=cpp
43379 ac_cpp='$CXXCPP $CPPFLAGS'
43380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43383
43384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43385 /* end confdefs.h. */
43386 #include <math.h>
43387 int
43388 main ()
43389 {
43390 hypotl(0, 0);
43391 ;
43392 return 0;
43393 }
43394 _ACEOF
43395 if ac_fn_cxx_try_compile "$LINENO"; then :
43396 glibcxx_cv_func_hypotl_use=yes
43397 else
43398 glibcxx_cv_func_hypotl_use=no
43399 fi
43400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43401 ac_ext=c
43402 ac_cpp='$CPP $CPPFLAGS'
43403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43406
43407
43408 fi
43409
43410 fi
43411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43412 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43413
43414 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43415 for ac_func in hypotl
43416 do :
43417 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43418 if test "x$ac_cv_func_hypotl" = x""yes; then :
43419 cat >>confdefs.h <<_ACEOF
43420 #define HAVE_HYPOTL 1
43421 _ACEOF
43422
43423 fi
43424 done
43425
43426 else
43427
43428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43429 $as_echo_n "checking for _hypotl declaration... " >&6; }
43430 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43431 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43432 $as_echo_n "(cached) " >&6
43433 else
43434
43435
43436 ac_ext=cpp
43437 ac_cpp='$CXXCPP $CPPFLAGS'
43438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43441
43442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43443 /* end confdefs.h. */
43444 #include <math.h>
43445 int
43446 main ()
43447 {
43448 _hypotl(0, 0);
43449 ;
43450 return 0;
43451 }
43452 _ACEOF
43453 if ac_fn_cxx_try_compile "$LINENO"; then :
43454 glibcxx_cv_func__hypotl_use=yes
43455 else
43456 glibcxx_cv_func__hypotl_use=no
43457 fi
43458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43459 ac_ext=c
43460 ac_cpp='$CPP $CPPFLAGS'
43461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43464
43465
43466 fi
43467
43468 fi
43469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43470 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43471
43472 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43473 for ac_func in _hypotl
43474 do :
43475 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43476 if test "x$ac_cv_func__hypotl" = x""yes; then :
43477 cat >>confdefs.h <<_ACEOF
43478 #define HAVE__HYPOTL 1
43479 _ACEOF
43480
43481 fi
43482 done
43483
43484 fi
43485 fi
43486
43487
43488
43489
43490
43491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43492 $as_echo_n "checking for ldexpl declaration... " >&6; }
43493 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43494 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43495 $as_echo_n "(cached) " >&6
43496 else
43497
43498
43499 ac_ext=cpp
43500 ac_cpp='$CXXCPP $CPPFLAGS'
43501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43504
43505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43506 /* end confdefs.h. */
43507 #include <math.h>
43508 int
43509 main ()
43510 {
43511 ldexpl(0, 0);
43512 ;
43513 return 0;
43514 }
43515 _ACEOF
43516 if ac_fn_cxx_try_compile "$LINENO"; then :
43517 glibcxx_cv_func_ldexpl_use=yes
43518 else
43519 glibcxx_cv_func_ldexpl_use=no
43520 fi
43521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43522 ac_ext=c
43523 ac_cpp='$CPP $CPPFLAGS'
43524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43527
43528
43529 fi
43530
43531 fi
43532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43533 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43534
43535 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43536 for ac_func in ldexpl
43537 do :
43538 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43539 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43540 cat >>confdefs.h <<_ACEOF
43541 #define HAVE_LDEXPL 1
43542 _ACEOF
43543
43544 fi
43545 done
43546
43547 else
43548
43549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43550 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43551 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43552 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43553 $as_echo_n "(cached) " >&6
43554 else
43555
43556
43557 ac_ext=cpp
43558 ac_cpp='$CXXCPP $CPPFLAGS'
43559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43562
43563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43564 /* end confdefs.h. */
43565 #include <math.h>
43566 int
43567 main ()
43568 {
43569 _ldexpl(0, 0);
43570 ;
43571 return 0;
43572 }
43573 _ACEOF
43574 if ac_fn_cxx_try_compile "$LINENO"; then :
43575 glibcxx_cv_func__ldexpl_use=yes
43576 else
43577 glibcxx_cv_func__ldexpl_use=no
43578 fi
43579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43580 ac_ext=c
43581 ac_cpp='$CPP $CPPFLAGS'
43582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43585
43586
43587 fi
43588
43589 fi
43590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43591 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43592
43593 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43594 for ac_func in _ldexpl
43595 do :
43596 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43597 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43598 cat >>confdefs.h <<_ACEOF
43599 #define HAVE__LDEXPL 1
43600 _ACEOF
43601
43602 fi
43603 done
43604
43605 fi
43606 fi
43607
43608
43609
43610
43611
43612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43613 $as_echo_n "checking for logl declaration... " >&6; }
43614 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43615 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43616 $as_echo_n "(cached) " >&6
43617 else
43618
43619
43620 ac_ext=cpp
43621 ac_cpp='$CXXCPP $CPPFLAGS'
43622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43625
43626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43627 /* end confdefs.h. */
43628 #include <math.h>
43629 #ifdef HAVE_IEEEFP_H
43630 #include <ieeefp.h>
43631 #endif
43632
43633 int
43634 main ()
43635 {
43636 logl(0);
43637 ;
43638 return 0;
43639 }
43640 _ACEOF
43641 if ac_fn_cxx_try_compile "$LINENO"; then :
43642 glibcxx_cv_func_logl_use=yes
43643 else
43644 glibcxx_cv_func_logl_use=no
43645 fi
43646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43647 ac_ext=c
43648 ac_cpp='$CPP $CPPFLAGS'
43649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43652
43653
43654 fi
43655
43656 fi
43657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43658 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43659
43660 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43661 for ac_func in logl
43662 do :
43663 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43664 if test "x$ac_cv_func_logl" = x""yes; then :
43665 cat >>confdefs.h <<_ACEOF
43666 #define HAVE_LOGL 1
43667 _ACEOF
43668
43669 fi
43670 done
43671
43672 else
43673
43674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43675 $as_echo_n "checking for _logl declaration... " >&6; }
43676 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43677 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43678 $as_echo_n "(cached) " >&6
43679 else
43680
43681
43682 ac_ext=cpp
43683 ac_cpp='$CXXCPP $CPPFLAGS'
43684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43687
43688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43689 /* end confdefs.h. */
43690 #include <math.h>
43691 #ifdef HAVE_IEEEFP_H
43692 #include <ieeefp.h>
43693 #endif
43694
43695 int
43696 main ()
43697 {
43698 _logl(0);
43699 ;
43700 return 0;
43701 }
43702 _ACEOF
43703 if ac_fn_cxx_try_compile "$LINENO"; then :
43704 glibcxx_cv_func__logl_use=yes
43705 else
43706 glibcxx_cv_func__logl_use=no
43707 fi
43708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43709 ac_ext=c
43710 ac_cpp='$CPP $CPPFLAGS'
43711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43714
43715
43716 fi
43717
43718 fi
43719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43720 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43721
43722 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43723 for ac_func in _logl
43724 do :
43725 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43726 if test "x$ac_cv_func__logl" = x""yes; then :
43727 cat >>confdefs.h <<_ACEOF
43728 #define HAVE__LOGL 1
43729 _ACEOF
43730
43731 fi
43732 done
43733
43734 fi
43735 fi
43736
43737
43738
43739
43740
43741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43742 $as_echo_n "checking for log10l declaration... " >&6; }
43743 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43744 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43745 $as_echo_n "(cached) " >&6
43746 else
43747
43748
43749 ac_ext=cpp
43750 ac_cpp='$CXXCPP $CPPFLAGS'
43751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43754
43755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43756 /* end confdefs.h. */
43757 #include <math.h>
43758 #ifdef HAVE_IEEEFP_H
43759 #include <ieeefp.h>
43760 #endif
43761
43762 int
43763 main ()
43764 {
43765 log10l(0);
43766 ;
43767 return 0;
43768 }
43769 _ACEOF
43770 if ac_fn_cxx_try_compile "$LINENO"; then :
43771 glibcxx_cv_func_log10l_use=yes
43772 else
43773 glibcxx_cv_func_log10l_use=no
43774 fi
43775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43776 ac_ext=c
43777 ac_cpp='$CPP $CPPFLAGS'
43778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43781
43782
43783 fi
43784
43785 fi
43786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43787 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43788
43789 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43790 for ac_func in log10l
43791 do :
43792 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43793 if test "x$ac_cv_func_log10l" = x""yes; then :
43794 cat >>confdefs.h <<_ACEOF
43795 #define HAVE_LOG10L 1
43796 _ACEOF
43797
43798 fi
43799 done
43800
43801 else
43802
43803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43804 $as_echo_n "checking for _log10l declaration... " >&6; }
43805 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43806 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43807 $as_echo_n "(cached) " >&6
43808 else
43809
43810
43811 ac_ext=cpp
43812 ac_cpp='$CXXCPP $CPPFLAGS'
43813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43816
43817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43818 /* end confdefs.h. */
43819 #include <math.h>
43820 #ifdef HAVE_IEEEFP_H
43821 #include <ieeefp.h>
43822 #endif
43823
43824 int
43825 main ()
43826 {
43827 _log10l(0);
43828 ;
43829 return 0;
43830 }
43831 _ACEOF
43832 if ac_fn_cxx_try_compile "$LINENO"; then :
43833 glibcxx_cv_func__log10l_use=yes
43834 else
43835 glibcxx_cv_func__log10l_use=no
43836 fi
43837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43838 ac_ext=c
43839 ac_cpp='$CPP $CPPFLAGS'
43840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43843
43844
43845 fi
43846
43847 fi
43848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43849 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43850
43851 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43852 for ac_func in _log10l
43853 do :
43854 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43855 if test "x$ac_cv_func__log10l" = x""yes; then :
43856 cat >>confdefs.h <<_ACEOF
43857 #define HAVE__LOG10L 1
43858 _ACEOF
43859
43860 fi
43861 done
43862
43863 fi
43864 fi
43865
43866
43867
43868
43869
43870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43871 $as_echo_n "checking for modfl declaration... " >&6; }
43872 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43873 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43874 $as_echo_n "(cached) " >&6
43875 else
43876
43877
43878 ac_ext=cpp
43879 ac_cpp='$CXXCPP $CPPFLAGS'
43880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43883
43884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43885 /* end confdefs.h. */
43886 #include <math.h>
43887 int
43888 main ()
43889 {
43890 modfl(0, 0);
43891 ;
43892 return 0;
43893 }
43894 _ACEOF
43895 if ac_fn_cxx_try_compile "$LINENO"; then :
43896 glibcxx_cv_func_modfl_use=yes
43897 else
43898 glibcxx_cv_func_modfl_use=no
43899 fi
43900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43901 ac_ext=c
43902 ac_cpp='$CPP $CPPFLAGS'
43903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43906
43907
43908 fi
43909
43910 fi
43911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43912 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43913
43914 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43915 for ac_func in modfl
43916 do :
43917 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43918 if test "x$ac_cv_func_modfl" = x""yes; then :
43919 cat >>confdefs.h <<_ACEOF
43920 #define HAVE_MODFL 1
43921 _ACEOF
43922
43923 fi
43924 done
43925
43926 else
43927
43928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43929 $as_echo_n "checking for _modfl declaration... " >&6; }
43930 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43931 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43932 $as_echo_n "(cached) " >&6
43933 else
43934
43935
43936 ac_ext=cpp
43937 ac_cpp='$CXXCPP $CPPFLAGS'
43938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43941
43942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43943 /* end confdefs.h. */
43944 #include <math.h>
43945 int
43946 main ()
43947 {
43948 _modfl(0, 0);
43949 ;
43950 return 0;
43951 }
43952 _ACEOF
43953 if ac_fn_cxx_try_compile "$LINENO"; then :
43954 glibcxx_cv_func__modfl_use=yes
43955 else
43956 glibcxx_cv_func__modfl_use=no
43957 fi
43958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43959 ac_ext=c
43960 ac_cpp='$CPP $CPPFLAGS'
43961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43964
43965
43966 fi
43967
43968 fi
43969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43970 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43971
43972 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43973 for ac_func in _modfl
43974 do :
43975 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43976 if test "x$ac_cv_func__modfl" = x""yes; then :
43977 cat >>confdefs.h <<_ACEOF
43978 #define HAVE__MODFL 1
43979 _ACEOF
43980
43981 fi
43982 done
43983
43984 fi
43985 fi
43986
43987
43988
43989
43990
43991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43992 $as_echo_n "checking for powl declaration... " >&6; }
43993 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43994 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43995 $as_echo_n "(cached) " >&6
43996 else
43997
43998
43999 ac_ext=cpp
44000 ac_cpp='$CXXCPP $CPPFLAGS'
44001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44004
44005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44006 /* end confdefs.h. */
44007 #include <math.h>
44008 int
44009 main ()
44010 {
44011 powl(0, 0);
44012 ;
44013 return 0;
44014 }
44015 _ACEOF
44016 if ac_fn_cxx_try_compile "$LINENO"; then :
44017 glibcxx_cv_func_powl_use=yes
44018 else
44019 glibcxx_cv_func_powl_use=no
44020 fi
44021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44022 ac_ext=c
44023 ac_cpp='$CPP $CPPFLAGS'
44024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44027
44028
44029 fi
44030
44031 fi
44032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44033 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44034
44035 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44036 for ac_func in powl
44037 do :
44038 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44039 if test "x$ac_cv_func_powl" = x""yes; then :
44040 cat >>confdefs.h <<_ACEOF
44041 #define HAVE_POWL 1
44042 _ACEOF
44043
44044 fi
44045 done
44046
44047 else
44048
44049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44050 $as_echo_n "checking for _powl declaration... " >&6; }
44051 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44052 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44053 $as_echo_n "(cached) " >&6
44054 else
44055
44056
44057 ac_ext=cpp
44058 ac_cpp='$CXXCPP $CPPFLAGS'
44059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44062
44063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44064 /* end confdefs.h. */
44065 #include <math.h>
44066 int
44067 main ()
44068 {
44069 _powl(0, 0);
44070 ;
44071 return 0;
44072 }
44073 _ACEOF
44074 if ac_fn_cxx_try_compile "$LINENO"; then :
44075 glibcxx_cv_func__powl_use=yes
44076 else
44077 glibcxx_cv_func__powl_use=no
44078 fi
44079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44080 ac_ext=c
44081 ac_cpp='$CPP $CPPFLAGS'
44082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44085
44086
44087 fi
44088
44089 fi
44090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44091 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44092
44093 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44094 for ac_func in _powl
44095 do :
44096 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44097 if test "x$ac_cv_func__powl" = x""yes; then :
44098 cat >>confdefs.h <<_ACEOF
44099 #define HAVE__POWL 1
44100 _ACEOF
44101
44102 fi
44103 done
44104
44105 fi
44106 fi
44107
44108
44109
44110
44111
44112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44113 $as_echo_n "checking for sqrtl declaration... " >&6; }
44114 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44115 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44116 $as_echo_n "(cached) " >&6
44117 else
44118
44119
44120 ac_ext=cpp
44121 ac_cpp='$CXXCPP $CPPFLAGS'
44122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44125
44126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44127 /* end confdefs.h. */
44128 #include <math.h>
44129 #ifdef HAVE_IEEEFP_H
44130 #include <ieeefp.h>
44131 #endif
44132
44133 int
44134 main ()
44135 {
44136 sqrtl(0);
44137 ;
44138 return 0;
44139 }
44140 _ACEOF
44141 if ac_fn_cxx_try_compile "$LINENO"; then :
44142 glibcxx_cv_func_sqrtl_use=yes
44143 else
44144 glibcxx_cv_func_sqrtl_use=no
44145 fi
44146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44147 ac_ext=c
44148 ac_cpp='$CPP $CPPFLAGS'
44149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44152
44153
44154 fi
44155
44156 fi
44157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44158 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44159
44160 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44161 for ac_func in sqrtl
44162 do :
44163 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44164 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44165 cat >>confdefs.h <<_ACEOF
44166 #define HAVE_SQRTL 1
44167 _ACEOF
44168
44169 fi
44170 done
44171
44172 else
44173
44174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44175 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44176 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44177 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44178 $as_echo_n "(cached) " >&6
44179 else
44180
44181
44182 ac_ext=cpp
44183 ac_cpp='$CXXCPP $CPPFLAGS'
44184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44187
44188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44189 /* end confdefs.h. */
44190 #include <math.h>
44191 #ifdef HAVE_IEEEFP_H
44192 #include <ieeefp.h>
44193 #endif
44194
44195 int
44196 main ()
44197 {
44198 _sqrtl(0);
44199 ;
44200 return 0;
44201 }
44202 _ACEOF
44203 if ac_fn_cxx_try_compile "$LINENO"; then :
44204 glibcxx_cv_func__sqrtl_use=yes
44205 else
44206 glibcxx_cv_func__sqrtl_use=no
44207 fi
44208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44209 ac_ext=c
44210 ac_cpp='$CPP $CPPFLAGS'
44211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44214
44215
44216 fi
44217
44218 fi
44219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44220 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44221
44222 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44223 for ac_func in _sqrtl
44224 do :
44225 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44226 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44227 cat >>confdefs.h <<_ACEOF
44228 #define HAVE__SQRTL 1
44229 _ACEOF
44230
44231 fi
44232 done
44233
44234 fi
44235 fi
44236
44237
44238
44239
44240
44241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44242 $as_echo_n "checking for sincosl declaration... " >&6; }
44243 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44244 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44245 $as_echo_n "(cached) " >&6
44246 else
44247
44248
44249 ac_ext=cpp
44250 ac_cpp='$CXXCPP $CPPFLAGS'
44251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44254
44255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44256 /* end confdefs.h. */
44257 #include <math.h>
44258 int
44259 main ()
44260 {
44261 sincosl(0, 0, 0);
44262 ;
44263 return 0;
44264 }
44265 _ACEOF
44266 if ac_fn_cxx_try_compile "$LINENO"; then :
44267 glibcxx_cv_func_sincosl_use=yes
44268 else
44269 glibcxx_cv_func_sincosl_use=no
44270 fi
44271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44272 ac_ext=c
44273 ac_cpp='$CPP $CPPFLAGS'
44274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44277
44278
44279 fi
44280
44281 fi
44282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44283 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44284
44285 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44286 for ac_func in sincosl
44287 do :
44288 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44289 if test "x$ac_cv_func_sincosl" = x""yes; then :
44290 cat >>confdefs.h <<_ACEOF
44291 #define HAVE_SINCOSL 1
44292 _ACEOF
44293
44294 fi
44295 done
44296
44297 else
44298
44299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44300 $as_echo_n "checking for _sincosl declaration... " >&6; }
44301 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44302 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44303 $as_echo_n "(cached) " >&6
44304 else
44305
44306
44307 ac_ext=cpp
44308 ac_cpp='$CXXCPP $CPPFLAGS'
44309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44312
44313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44314 /* end confdefs.h. */
44315 #include <math.h>
44316 int
44317 main ()
44318 {
44319 _sincosl(0, 0, 0);
44320 ;
44321 return 0;
44322 }
44323 _ACEOF
44324 if ac_fn_cxx_try_compile "$LINENO"; then :
44325 glibcxx_cv_func__sincosl_use=yes
44326 else
44327 glibcxx_cv_func__sincosl_use=no
44328 fi
44329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44330 ac_ext=c
44331 ac_cpp='$CPP $CPPFLAGS'
44332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44335
44336
44337 fi
44338
44339 fi
44340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44341 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44342
44343 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44344 for ac_func in _sincosl
44345 do :
44346 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44347 if test "x$ac_cv_func__sincosl" = x""yes; then :
44348 cat >>confdefs.h <<_ACEOF
44349 #define HAVE__SINCOSL 1
44350 _ACEOF
44351
44352 fi
44353 done
44354
44355 fi
44356 fi
44357
44358
44359
44360
44361
44362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44363 $as_echo_n "checking for finitel declaration... " >&6; }
44364 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44365 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44366 $as_echo_n "(cached) " >&6
44367 else
44368
44369
44370 ac_ext=cpp
44371 ac_cpp='$CXXCPP $CPPFLAGS'
44372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44375
44376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44377 /* end confdefs.h. */
44378 #include <math.h>
44379 #ifdef HAVE_IEEEFP_H
44380 #include <ieeefp.h>
44381 #endif
44382
44383 int
44384 main ()
44385 {
44386 finitel(0);
44387 ;
44388 return 0;
44389 }
44390 _ACEOF
44391 if ac_fn_cxx_try_compile "$LINENO"; then :
44392 glibcxx_cv_func_finitel_use=yes
44393 else
44394 glibcxx_cv_func_finitel_use=no
44395 fi
44396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44397 ac_ext=c
44398 ac_cpp='$CPP $CPPFLAGS'
44399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44402
44403
44404 fi
44405
44406 fi
44407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44408 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44409
44410 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44411 for ac_func in finitel
44412 do :
44413 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44414 if test "x$ac_cv_func_finitel" = x""yes; then :
44415 cat >>confdefs.h <<_ACEOF
44416 #define HAVE_FINITEL 1
44417 _ACEOF
44418
44419 fi
44420 done
44421
44422 else
44423
44424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44425 $as_echo_n "checking for _finitel declaration... " >&6; }
44426 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44427 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44428 $as_echo_n "(cached) " >&6
44429 else
44430
44431
44432 ac_ext=cpp
44433 ac_cpp='$CXXCPP $CPPFLAGS'
44434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44437
44438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44439 /* end confdefs.h. */
44440 #include <math.h>
44441 #ifdef HAVE_IEEEFP_H
44442 #include <ieeefp.h>
44443 #endif
44444
44445 int
44446 main ()
44447 {
44448 _finitel(0);
44449 ;
44450 return 0;
44451 }
44452 _ACEOF
44453 if ac_fn_cxx_try_compile "$LINENO"; then :
44454 glibcxx_cv_func__finitel_use=yes
44455 else
44456 glibcxx_cv_func__finitel_use=no
44457 fi
44458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44459 ac_ext=c
44460 ac_cpp='$CPP $CPPFLAGS'
44461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44464
44465
44466 fi
44467
44468 fi
44469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44470 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44471
44472 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44473 for ac_func in _finitel
44474 do :
44475 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44476 if test "x$ac_cv_func__finitel" = x""yes; then :
44477 cat >>confdefs.h <<_ACEOF
44478 #define HAVE__FINITEL 1
44479 _ACEOF
44480
44481 fi
44482 done
44483
44484 fi
44485 fi
44486
44487
44488
44489
44490 LIBS="$ac_save_LIBS"
44491 CXXFLAGS="$ac_save_CXXFLAGS"
44492
44493
44494 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44495 ac_save_CXXFLAGS="$CXXFLAGS"
44496 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44497
44498
44499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44500 $as_echo_n "checking for strtold declaration... " >&6; }
44501 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44502 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44503 $as_echo_n "(cached) " >&6
44504 else
44505
44506
44507 ac_ext=cpp
44508 ac_cpp='$CXXCPP $CPPFLAGS'
44509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44512
44513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44514 /* end confdefs.h. */
44515 #include <stdlib.h>
44516 int
44517 main ()
44518 {
44519 strtold(0, 0);
44520 ;
44521 return 0;
44522 }
44523 _ACEOF
44524 if ac_fn_cxx_try_compile "$LINENO"; then :
44525 glibcxx_cv_func_strtold_use=yes
44526 else
44527 glibcxx_cv_func_strtold_use=no
44528 fi
44529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44530 ac_ext=c
44531 ac_cpp='$CPP $CPPFLAGS'
44532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44535
44536
44537 fi
44538
44539 fi
44540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44541 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44542 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44543 for ac_func in strtold
44544 do :
44545 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44546 if test "x$ac_cv_func_strtold" = x""yes; then :
44547 cat >>confdefs.h <<_ACEOF
44548 #define HAVE_STRTOLD 1
44549 _ACEOF
44550
44551 fi
44552 done
44553
44554 fi
44555
44556
44557
44558
44559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44560 $as_echo_n "checking for strtof declaration... " >&6; }
44561 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44562 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44563 $as_echo_n "(cached) " >&6
44564 else
44565
44566
44567 ac_ext=cpp
44568 ac_cpp='$CXXCPP $CPPFLAGS'
44569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44572
44573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44574 /* end confdefs.h. */
44575 #include <stdlib.h>
44576 int
44577 main ()
44578 {
44579 strtof(0, 0);
44580 ;
44581 return 0;
44582 }
44583 _ACEOF
44584 if ac_fn_cxx_try_compile "$LINENO"; then :
44585 glibcxx_cv_func_strtof_use=yes
44586 else
44587 glibcxx_cv_func_strtof_use=no
44588 fi
44589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44590 ac_ext=c
44591 ac_cpp='$CPP $CPPFLAGS'
44592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44595
44596
44597 fi
44598
44599 fi
44600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44601 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44602 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44603 for ac_func in strtof
44604 do :
44605 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44606 if test "x$ac_cv_func_strtof" = x""yes; then :
44607 cat >>confdefs.h <<_ACEOF
44608 #define HAVE_STRTOF 1
44609 _ACEOF
44610
44611 fi
44612 done
44613
44614 fi
44615
44616
44617
44618
44619 CXXFLAGS="$ac_save_CXXFLAGS"
44620
44621 ;;
44622
44623 *djgpp)
44624 # GLIBCXX_CHECK_MATH_SUPPORT
44625 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44626
44627 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44628
44629 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44630
44631 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44632
44633 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44634
44635 ;;
44636
44637 *-freebsd*)
44638 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44639
44640
44641 # If we're not using GNU ld, then there's no point in even trying these
44642 # tests. Check for that first. We should have already tested for gld
44643 # by now (in libtool), but require it now just to be safe...
44644 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44645 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44646
44647
44648
44649 # The name set by libtool depends on the version of libtool. Shame on us
44650 # for depending on an impl detail, but c'est la vie. Older versions used
44651 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44652 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44653 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44654 # set (hence we're using an older libtool), then set it.
44655 if test x${with_gnu_ld+set} != xset; then
44656 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44657 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44658 with_gnu_ld=no
44659 else
44660 with_gnu_ld=$ac_cv_prog_gnu_ld
44661 fi
44662 fi
44663
44664 # Start by getting the version number. I think the libtool test already
44665 # does some of this, but throws away the result.
44666 glibcxx_ld_is_gold=no
44667 if test x"$with_gnu_ld" = x"yes"; then
44668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44669 $as_echo_n "checking for ld version... " >&6; }
44670
44671 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44672 glibcxx_ld_is_gold=yes
44673 fi
44674 ldver=`$LD --version 2>/dev/null |
44675 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'`
44676
44677 glibcxx_gnu_ld_version=`echo $ldver | \
44678 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44680 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44681 fi
44682
44683 # Set --gc-sections.
44684 glibcxx_have_gc_sections=no
44685 if test "$glibcxx_ld_is_gold" = "yes"; then
44686 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44687 glibcxx_have_gc_sections=yes
44688 fi
44689 else
44690 glibcxx_gcsections_min_ld=21602
44691 if test x"$with_gnu_ld" = x"yes" &&
44692 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44693 glibcxx_have_gc_sections=yes
44694 fi
44695 fi
44696 if test "$glibcxx_have_gc_sections" = "yes"; then
44697 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44698 # NB: This flag only works reliably after 2.16.1. Configure tests
44699 # for this are difficult, so hard wire a value that should work.
44700
44701 ac_test_CFLAGS="${CFLAGS+set}"
44702 ac_save_CFLAGS="$CFLAGS"
44703 CFLAGS='-Wl,--gc-sections'
44704
44705 # Check for -Wl,--gc-sections
44706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44707 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44708 if test x$gcc_no_link = xyes; then
44709 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44710 fi
44711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44712 /* end confdefs.h. */
44713 int one(void) { return 1; }
44714 int two(void) { return 2; }
44715
44716 int
44717 main ()
44718 {
44719 two();
44720 ;
44721 return 0;
44722 }
44723 _ACEOF
44724 if ac_fn_c_try_link "$LINENO"; then :
44725 ac_gcsections=yes
44726 else
44727 ac_gcsections=no
44728 fi
44729 rm -f core conftest.err conftest.$ac_objext \
44730 conftest$ac_exeext conftest.$ac_ext
44731 if test "$ac_gcsections" = "yes"; then
44732 rm -f conftest.c
44733 touch conftest.c
44734 if $CC -c conftest.c; then
44735 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44736 grep "Warning: gc-sections option ignored" > /dev/null; then
44737 ac_gcsections=no
44738 fi
44739 fi
44740 rm -f conftest.c conftest.o conftest
44741 fi
44742 if test "$ac_gcsections" = "yes"; then
44743 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44744 fi
44745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44746 $as_echo "$ac_gcsections" >&6; }
44747
44748 if test "$ac_test_CFLAGS" = set; then
44749 CFLAGS="$ac_save_CFLAGS"
44750 else
44751 # this is the suspicious part
44752 CFLAGS=''
44753 fi
44754 fi
44755
44756 # Set -z,relro.
44757 # Note this is only for shared objects.
44758 ac_ld_relro=no
44759 if test x"$with_gnu_ld" = x"yes"; then
44760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44761 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44762 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44763 if test -n "$cxx_z_relo"; then
44764 OPT_LDFLAGS="-Wl,-z,relro"
44765 ac_ld_relro=yes
44766 fi
44767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44768 $as_echo "$ac_ld_relro" >&6; }
44769 fi
44770
44771 # Set linker optimization flags.
44772 if test x"$with_gnu_ld" = x"yes"; then
44773 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44774 fi
44775
44776
44777
44778
44779 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44780
44781 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44782
44783 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44784
44785 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44786
44787 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44788
44789 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44790
44791 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44792
44793 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44794
44795 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44796
44797
44798 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44799
44800 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44801
44802 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44803
44804 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44805
44806 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44807
44808 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44809
44810 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44811
44812 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44813
44814 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44815
44816 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44817
44818 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44819
44820 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44821
44822 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44823
44824 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44825
44826 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44827
44828 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44829
44830 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44831
44832 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44833
44834 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44835
44836 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44837
44838 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44839
44840 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44841
44842 if test x"long_double_math_on_this_cpu" = x"yes"; then
44843 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44844
44845 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44846
44847 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44848
44849 fi
44850 ;;
44851 *-hpux*)
44852 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44853
44854
44855 # If we're not using GNU ld, then there's no point in even trying these
44856 # tests. Check for that first. We should have already tested for gld
44857 # by now (in libtool), but require it now just to be safe...
44858 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44859 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44860
44861
44862
44863 # The name set by libtool depends on the version of libtool. Shame on us
44864 # for depending on an impl detail, but c'est la vie. Older versions used
44865 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44866 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44867 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44868 # set (hence we're using an older libtool), then set it.
44869 if test x${with_gnu_ld+set} != xset; then
44870 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44871 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44872 with_gnu_ld=no
44873 else
44874 with_gnu_ld=$ac_cv_prog_gnu_ld
44875 fi
44876 fi
44877
44878 # Start by getting the version number. I think the libtool test already
44879 # does some of this, but throws away the result.
44880 glibcxx_ld_is_gold=no
44881 if test x"$with_gnu_ld" = x"yes"; then
44882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44883 $as_echo_n "checking for ld version... " >&6; }
44884
44885 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44886 glibcxx_ld_is_gold=yes
44887 fi
44888 ldver=`$LD --version 2>/dev/null |
44889 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'`
44890
44891 glibcxx_gnu_ld_version=`echo $ldver | \
44892 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44894 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44895 fi
44896
44897 # Set --gc-sections.
44898 glibcxx_have_gc_sections=no
44899 if test "$glibcxx_ld_is_gold" = "yes"; then
44900 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44901 glibcxx_have_gc_sections=yes
44902 fi
44903 else
44904 glibcxx_gcsections_min_ld=21602
44905 if test x"$with_gnu_ld" = x"yes" &&
44906 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44907 glibcxx_have_gc_sections=yes
44908 fi
44909 fi
44910 if test "$glibcxx_have_gc_sections" = "yes"; then
44911 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44912 # NB: This flag only works reliably after 2.16.1. Configure tests
44913 # for this are difficult, so hard wire a value that should work.
44914
44915 ac_test_CFLAGS="${CFLAGS+set}"
44916 ac_save_CFLAGS="$CFLAGS"
44917 CFLAGS='-Wl,--gc-sections'
44918
44919 # Check for -Wl,--gc-sections
44920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44921 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44922 if test x$gcc_no_link = xyes; then
44923 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44924 fi
44925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44926 /* end confdefs.h. */
44927 int one(void) { return 1; }
44928 int two(void) { return 2; }
44929
44930 int
44931 main ()
44932 {
44933 two();
44934 ;
44935 return 0;
44936 }
44937 _ACEOF
44938 if ac_fn_c_try_link "$LINENO"; then :
44939 ac_gcsections=yes
44940 else
44941 ac_gcsections=no
44942 fi
44943 rm -f core conftest.err conftest.$ac_objext \
44944 conftest$ac_exeext conftest.$ac_ext
44945 if test "$ac_gcsections" = "yes"; then
44946 rm -f conftest.c
44947 touch conftest.c
44948 if $CC -c conftest.c; then
44949 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44950 grep "Warning: gc-sections option ignored" > /dev/null; then
44951 ac_gcsections=no
44952 fi
44953 fi
44954 rm -f conftest.c conftest.o conftest
44955 fi
44956 if test "$ac_gcsections" = "yes"; then
44957 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44958 fi
44959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44960 $as_echo "$ac_gcsections" >&6; }
44961
44962 if test "$ac_test_CFLAGS" = set; then
44963 CFLAGS="$ac_save_CFLAGS"
44964 else
44965 # this is the suspicious part
44966 CFLAGS=''
44967 fi
44968 fi
44969
44970 # Set -z,relro.
44971 # Note this is only for shared objects.
44972 ac_ld_relro=no
44973 if test x"$with_gnu_ld" = x"yes"; then
44974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44975 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44976 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44977 if test -n "$cxx_z_relo"; then
44978 OPT_LDFLAGS="-Wl,-z,relro"
44979 ac_ld_relro=yes
44980 fi
44981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44982 $as_echo "$ac_ld_relro" >&6; }
44983 fi
44984
44985 # Set linker optimization flags.
44986 if test x"$with_gnu_ld" = x"yes"; then
44987 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44988 fi
44989
44990
44991
44992
44993
44994 # GLIBCXX_CHECK_MATH_SUPPORT
44995 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44996
44997 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44998
44999 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45000
45001 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45002
45003 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45004
45005 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45006
45007 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45008
45009 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45010
45011 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45012
45013 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45014
45015 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45016
45017 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45018
45019 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45020
45021 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45022
45023 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45024
45025 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45026
45027 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45028
45029 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45030
45031 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45032
45033 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45034
45035 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45036
45037
45038 # GLIBCXX_CHECK_STDLIB_SUPPORT
45039 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45040
45041
45042
45043
45044 # Check whether --enable-tls was given.
45045 if test "${enable_tls+set}" = set; then :
45046 enableval=$enable_tls;
45047 case "$enableval" in
45048 yes|no) ;;
45049 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45050 esac
45051
45052 else
45053 enable_tls=yes
45054 fi
45055
45056
45057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45058 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45059 if test "${gcc_cv_have_tls+set}" = set; then :
45060 $as_echo_n "(cached) " >&6
45061 else
45062
45063 if test "$cross_compiling" = yes; then :
45064 if test x$gcc_no_link = xyes; then
45065 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45066 fi
45067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45068 /* end confdefs.h. */
45069 __thread int a; int b; int main() { return a = b; }
45070 _ACEOF
45071 if ac_fn_c_try_link "$LINENO"; then :
45072 chktls_save_LDFLAGS="$LDFLAGS"
45073 case $host in
45074 *-*-linux*)
45075 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45076 ;;
45077 esac
45078 chktls_save_CFLAGS="$CFLAGS"
45079 CFLAGS="-fPIC $CFLAGS"
45080 if test x$gcc_no_link = xyes; then
45081 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45082 fi
45083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45084 /* end confdefs.h. */
45085 int f() { return 0; }
45086 _ACEOF
45087 if ac_fn_c_try_link "$LINENO"; then :
45088 if test x$gcc_no_link = xyes; then
45089 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45090 fi
45091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45092 /* end confdefs.h. */
45093 __thread int a; int b; int f() { return a = b; }
45094 _ACEOF
45095 if ac_fn_c_try_link "$LINENO"; then :
45096 gcc_cv_have_tls=yes
45097 else
45098 gcc_cv_have_tls=no
45099 fi
45100 rm -f core conftest.err conftest.$ac_objext \
45101 conftest$ac_exeext conftest.$ac_ext
45102 else
45103 gcc_cv_have_tls=yes
45104 fi
45105 rm -f core conftest.err conftest.$ac_objext \
45106 conftest$ac_exeext conftest.$ac_ext
45107 CFLAGS="$chktls_save_CFLAGS"
45108 LDFLAGS="$chktls_save_LDFLAGS"
45109 else
45110 gcc_cv_have_tls=no
45111 fi
45112 rm -f core conftest.err conftest.$ac_objext \
45113 conftest$ac_exeext conftest.$ac_ext
45114
45115
45116 else
45117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45118 /* end confdefs.h. */
45119 __thread int a; int b; int main() { return a = b; }
45120 _ACEOF
45121 if ac_fn_c_try_run "$LINENO"; then :
45122 chktls_save_LDFLAGS="$LDFLAGS"
45123 LDFLAGS="-static $LDFLAGS"
45124 if test x$gcc_no_link = xyes; then
45125 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45126 fi
45127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45128 /* end confdefs.h. */
45129 int main() { return 0; }
45130 _ACEOF
45131 if ac_fn_c_try_link "$LINENO"; then :
45132 if test "$cross_compiling" = yes; then :
45133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45135 as_fn_error "cannot run test program while cross compiling
45136 See \`config.log' for more details." "$LINENO" 5; }
45137 else
45138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45139 /* end confdefs.h. */
45140 __thread int a; int b; int main() { return a = b; }
45141 _ACEOF
45142 if ac_fn_c_try_run "$LINENO"; then :
45143 gcc_cv_have_tls=yes
45144 else
45145 gcc_cv_have_tls=no
45146 fi
45147 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45148 conftest.$ac_objext conftest.beam conftest.$ac_ext
45149 fi
45150
45151 else
45152 gcc_cv_have_tls=yes
45153 fi
45154 rm -f core conftest.err conftest.$ac_objext \
45155 conftest$ac_exeext conftest.$ac_ext
45156 LDFLAGS="$chktls_save_LDFLAGS"
45157 if test $gcc_cv_have_tls = yes; then
45158 chktls_save_CFLAGS="$CFLAGS"
45159 thread_CFLAGS=failed
45160 for flag in '' '-pthread' '-lpthread'; do
45161 CFLAGS="$flag $chktls_save_CFLAGS"
45162 if test x$gcc_no_link = xyes; then
45163 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45164 fi
45165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45166 /* end confdefs.h. */
45167 #include <pthread.h>
45168 void *g(void *d) { return NULL; }
45169 int
45170 main ()
45171 {
45172 pthread_t t; pthread_create(&t,NULL,g,NULL);
45173 ;
45174 return 0;
45175 }
45176 _ACEOF
45177 if ac_fn_c_try_link "$LINENO"; then :
45178 thread_CFLAGS="$flag"
45179 fi
45180 rm -f core conftest.err conftest.$ac_objext \
45181 conftest$ac_exeext conftest.$ac_ext
45182 if test "X$thread_CFLAGS" != Xfailed; then
45183 break
45184 fi
45185 done
45186 CFLAGS="$chktls_save_CFLAGS"
45187 if test "X$thread_CFLAGS" != Xfailed; then
45188 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45189 if test "$cross_compiling" = yes; then :
45190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45192 as_fn_error "cannot run test program while cross compiling
45193 See \`config.log' for more details." "$LINENO" 5; }
45194 else
45195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45196 /* end confdefs.h. */
45197 #include <pthread.h>
45198 __thread int a;
45199 static int *volatile a_in_other_thread;
45200 static void *
45201 thread_func (void *arg)
45202 {
45203 a_in_other_thread = &a;
45204 return (void *)0;
45205 }
45206 int
45207 main ()
45208 {
45209 pthread_t thread;
45210 void *thread_retval;
45211 int *volatile a_in_main_thread;
45212 a_in_main_thread = &a;
45213 if (pthread_create (&thread, (pthread_attr_t *)0,
45214 thread_func, (void *)0))
45215 return 0;
45216 if (pthread_join (thread, &thread_retval))
45217 return 0;
45218 return (a_in_other_thread == a_in_main_thread);
45219 ;
45220 return 0;
45221 }
45222 _ACEOF
45223 if ac_fn_c_try_run "$LINENO"; then :
45224 gcc_cv_have_tls=yes
45225 else
45226 gcc_cv_have_tls=no
45227 fi
45228 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45229 conftest.$ac_objext conftest.beam conftest.$ac_ext
45230 fi
45231
45232 CFLAGS="$chktls_save_CFLAGS"
45233 fi
45234 fi
45235 else
45236 gcc_cv_have_tls=no
45237 fi
45238 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45239 conftest.$ac_objext conftest.beam conftest.$ac_ext
45240 fi
45241
45242 fi
45243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45244 $as_echo "$gcc_cv_have_tls" >&6; }
45245 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45246
45247 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45248
45249 fi
45250 case "$target" in
45251 *-hpux10*)
45252 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45253
45254 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45255
45256 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45257
45258 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45259
45260 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45261
45262 ;;
45263 esac
45264 ;;
45265 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45266
45267 # All these tests are for C++; save the language and the compiler flags.
45268 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45269 # found in GLIBCXX_CONFIGURE.
45270
45271 ac_ext=cpp
45272 ac_cpp='$CXXCPP $CPPFLAGS'
45273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45276
45277 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45278 ac_save_CXXFLAGS="$CXXFLAGS"
45279
45280 # Check for maintainer-mode bits.
45281 if test x"$USE_MAINTAINER_MODE" = xno; then
45282 WERROR=''
45283 else
45284 WERROR='-Werror'
45285 fi
45286
45287 # Check for -ffunction-sections -fdata-sections
45288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45289 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45290 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45292 /* end confdefs.h. */
45293 int foo; void bar() { };
45294 int
45295 main ()
45296 {
45297
45298 ;
45299 return 0;
45300 }
45301 _ACEOF
45302 if ac_fn_cxx_try_compile "$LINENO"; then :
45303 ac_fdsections=yes
45304 else
45305 ac_fdsections=no
45306 fi
45307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45308 if test "$ac_test_CXXFLAGS" = set; then
45309 CXXFLAGS="$ac_save_CXXFLAGS"
45310 else
45311 # this is the suspicious part
45312 CXXFLAGS=''
45313 fi
45314 if test x"$ac_fdsections" = x"yes"; then
45315 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45316 fi
45317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45318 $as_echo "$ac_fdsections" >&6; }
45319
45320 ac_ext=c
45321 ac_cpp='$CPP $CPPFLAGS'
45322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45325
45326
45327
45328
45329
45330 # If we're not using GNU ld, then there's no point in even trying these
45331 # tests. Check for that first. We should have already tested for gld
45332 # by now (in libtool), but require it now just to be safe...
45333 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45334 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45335
45336
45337
45338 # The name set by libtool depends on the version of libtool. Shame on us
45339 # for depending on an impl detail, but c'est la vie. Older versions used
45340 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45341 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45342 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45343 # set (hence we're using an older libtool), then set it.
45344 if test x${with_gnu_ld+set} != xset; then
45345 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45346 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45347 with_gnu_ld=no
45348 else
45349 with_gnu_ld=$ac_cv_prog_gnu_ld
45350 fi
45351 fi
45352
45353 # Start by getting the version number. I think the libtool test already
45354 # does some of this, but throws away the result.
45355 glibcxx_ld_is_gold=no
45356 if test x"$with_gnu_ld" = x"yes"; then
45357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45358 $as_echo_n "checking for ld version... " >&6; }
45359
45360 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45361 glibcxx_ld_is_gold=yes
45362 fi
45363 ldver=`$LD --version 2>/dev/null |
45364 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'`
45365
45366 glibcxx_gnu_ld_version=`echo $ldver | \
45367 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45369 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45370 fi
45371
45372 # Set --gc-sections.
45373 glibcxx_have_gc_sections=no
45374 if test "$glibcxx_ld_is_gold" = "yes"; then
45375 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45376 glibcxx_have_gc_sections=yes
45377 fi
45378 else
45379 glibcxx_gcsections_min_ld=21602
45380 if test x"$with_gnu_ld" = x"yes" &&
45381 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45382 glibcxx_have_gc_sections=yes
45383 fi
45384 fi
45385 if test "$glibcxx_have_gc_sections" = "yes"; then
45386 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45387 # NB: This flag only works reliably after 2.16.1. Configure tests
45388 # for this are difficult, so hard wire a value that should work.
45389
45390 ac_test_CFLAGS="${CFLAGS+set}"
45391 ac_save_CFLAGS="$CFLAGS"
45392 CFLAGS='-Wl,--gc-sections'
45393
45394 # Check for -Wl,--gc-sections
45395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45396 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45397 if test x$gcc_no_link = xyes; then
45398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45399 fi
45400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45401 /* end confdefs.h. */
45402 int one(void) { return 1; }
45403 int two(void) { return 2; }
45404
45405 int
45406 main ()
45407 {
45408 two();
45409 ;
45410 return 0;
45411 }
45412 _ACEOF
45413 if ac_fn_c_try_link "$LINENO"; then :
45414 ac_gcsections=yes
45415 else
45416 ac_gcsections=no
45417 fi
45418 rm -f core conftest.err conftest.$ac_objext \
45419 conftest$ac_exeext conftest.$ac_ext
45420 if test "$ac_gcsections" = "yes"; then
45421 rm -f conftest.c
45422 touch conftest.c
45423 if $CC -c conftest.c; then
45424 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45425 grep "Warning: gc-sections option ignored" > /dev/null; then
45426 ac_gcsections=no
45427 fi
45428 fi
45429 rm -f conftest.c conftest.o conftest
45430 fi
45431 if test "$ac_gcsections" = "yes"; then
45432 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45433 fi
45434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45435 $as_echo "$ac_gcsections" >&6; }
45436
45437 if test "$ac_test_CFLAGS" = set; then
45438 CFLAGS="$ac_save_CFLAGS"
45439 else
45440 # this is the suspicious part
45441 CFLAGS=''
45442 fi
45443 fi
45444
45445 # Set -z,relro.
45446 # Note this is only for shared objects.
45447 ac_ld_relro=no
45448 if test x"$with_gnu_ld" = x"yes"; then
45449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45450 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45451 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45452 if test -n "$cxx_z_relo"; then
45453 OPT_LDFLAGS="-Wl,-z,relro"
45454 ac_ld_relro=yes
45455 fi
45456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45457 $as_echo "$ac_ld_relro" >&6; }
45458 fi
45459
45460 # Set linker optimization flags.
45461 if test x"$with_gnu_ld" = x"yes"; then
45462 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45463 fi
45464
45465
45466
45467
45468
45469 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45470 ac_save_CXXFLAGS="$CXXFLAGS"
45471 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45472
45473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45474 $as_echo_n "checking for sin in -lm... " >&6; }
45475 if test "${ac_cv_lib_m_sin+set}" = set; then :
45476 $as_echo_n "(cached) " >&6
45477 else
45478 ac_check_lib_save_LIBS=$LIBS
45479 LIBS="-lm $LIBS"
45480 if test x$gcc_no_link = xyes; then
45481 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45482 fi
45483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45484 /* end confdefs.h. */
45485
45486 /* Override any GCC internal prototype to avoid an error.
45487 Use char because int might match the return type of a GCC
45488 builtin and then its argument prototype would still apply. */
45489 #ifdef __cplusplus
45490 extern "C"
45491 #endif
45492 char sin ();
45493 int
45494 main ()
45495 {
45496 return sin ();
45497 ;
45498 return 0;
45499 }
45500 _ACEOF
45501 if ac_fn_c_try_link "$LINENO"; then :
45502 ac_cv_lib_m_sin=yes
45503 else
45504 ac_cv_lib_m_sin=no
45505 fi
45506 rm -f core conftest.err conftest.$ac_objext \
45507 conftest$ac_exeext conftest.$ac_ext
45508 LIBS=$ac_check_lib_save_LIBS
45509 fi
45510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45511 $as_echo "$ac_cv_lib_m_sin" >&6; }
45512 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45513 libm="-lm"
45514 fi
45515
45516 ac_save_LIBS="$LIBS"
45517 LIBS="$LIBS $libm"
45518
45519
45520
45521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45522 $as_echo_n "checking for isinf declaration... " >&6; }
45523 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45524 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45525 $as_echo_n "(cached) " >&6
45526 else
45527
45528
45529 ac_ext=cpp
45530 ac_cpp='$CXXCPP $CPPFLAGS'
45531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45534
45535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45536 /* end confdefs.h. */
45537 #include <math.h>
45538 #ifdef HAVE_IEEEFP_H
45539 #include <ieeefp.h>
45540 #endif
45541
45542 int
45543 main ()
45544 {
45545 isinf(0);
45546 ;
45547 return 0;
45548 }
45549 _ACEOF
45550 if ac_fn_cxx_try_compile "$LINENO"; then :
45551 glibcxx_cv_func_isinf_use=yes
45552 else
45553 glibcxx_cv_func_isinf_use=no
45554 fi
45555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45556 ac_ext=c
45557 ac_cpp='$CPP $CPPFLAGS'
45558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45561
45562
45563 fi
45564
45565 fi
45566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45567 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45568
45569 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45570 for ac_func in isinf
45571 do :
45572 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45573 if test "x$ac_cv_func_isinf" = x""yes; then :
45574 cat >>confdefs.h <<_ACEOF
45575 #define HAVE_ISINF 1
45576 _ACEOF
45577
45578 fi
45579 done
45580
45581 else
45582
45583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45584 $as_echo_n "checking for _isinf declaration... " >&6; }
45585 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45586 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45587 $as_echo_n "(cached) " >&6
45588 else
45589
45590
45591 ac_ext=cpp
45592 ac_cpp='$CXXCPP $CPPFLAGS'
45593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45596
45597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45598 /* end confdefs.h. */
45599 #include <math.h>
45600 #ifdef HAVE_IEEEFP_H
45601 #include <ieeefp.h>
45602 #endif
45603
45604 int
45605 main ()
45606 {
45607 _isinf(0);
45608 ;
45609 return 0;
45610 }
45611 _ACEOF
45612 if ac_fn_cxx_try_compile "$LINENO"; then :
45613 glibcxx_cv_func__isinf_use=yes
45614 else
45615 glibcxx_cv_func__isinf_use=no
45616 fi
45617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45618 ac_ext=c
45619 ac_cpp='$CPP $CPPFLAGS'
45620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45623
45624
45625 fi
45626
45627 fi
45628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45629 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45630
45631 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45632 for ac_func in _isinf
45633 do :
45634 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45635 if test "x$ac_cv_func__isinf" = x""yes; then :
45636 cat >>confdefs.h <<_ACEOF
45637 #define HAVE__ISINF 1
45638 _ACEOF
45639
45640 fi
45641 done
45642
45643 fi
45644 fi
45645
45646
45647
45648
45649
45650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45651 $as_echo_n "checking for isnan declaration... " >&6; }
45652 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45653 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45654 $as_echo_n "(cached) " >&6
45655 else
45656
45657
45658 ac_ext=cpp
45659 ac_cpp='$CXXCPP $CPPFLAGS'
45660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45663
45664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45665 /* end confdefs.h. */
45666 #include <math.h>
45667 #ifdef HAVE_IEEEFP_H
45668 #include <ieeefp.h>
45669 #endif
45670
45671 int
45672 main ()
45673 {
45674 isnan(0);
45675 ;
45676 return 0;
45677 }
45678 _ACEOF
45679 if ac_fn_cxx_try_compile "$LINENO"; then :
45680 glibcxx_cv_func_isnan_use=yes
45681 else
45682 glibcxx_cv_func_isnan_use=no
45683 fi
45684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45685 ac_ext=c
45686 ac_cpp='$CPP $CPPFLAGS'
45687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45690
45691
45692 fi
45693
45694 fi
45695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45696 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45697
45698 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45699 for ac_func in isnan
45700 do :
45701 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45702 if test "x$ac_cv_func_isnan" = x""yes; then :
45703 cat >>confdefs.h <<_ACEOF
45704 #define HAVE_ISNAN 1
45705 _ACEOF
45706
45707 fi
45708 done
45709
45710 else
45711
45712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45713 $as_echo_n "checking for _isnan declaration... " >&6; }
45714 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45715 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45716 $as_echo_n "(cached) " >&6
45717 else
45718
45719
45720 ac_ext=cpp
45721 ac_cpp='$CXXCPP $CPPFLAGS'
45722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45725
45726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45727 /* end confdefs.h. */
45728 #include <math.h>
45729 #ifdef HAVE_IEEEFP_H
45730 #include <ieeefp.h>
45731 #endif
45732
45733 int
45734 main ()
45735 {
45736 _isnan(0);
45737 ;
45738 return 0;
45739 }
45740 _ACEOF
45741 if ac_fn_cxx_try_compile "$LINENO"; then :
45742 glibcxx_cv_func__isnan_use=yes
45743 else
45744 glibcxx_cv_func__isnan_use=no
45745 fi
45746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45747 ac_ext=c
45748 ac_cpp='$CPP $CPPFLAGS'
45749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45752
45753
45754 fi
45755
45756 fi
45757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45758 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45759
45760 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45761 for ac_func in _isnan
45762 do :
45763 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45764 if test "x$ac_cv_func__isnan" = x""yes; then :
45765 cat >>confdefs.h <<_ACEOF
45766 #define HAVE__ISNAN 1
45767 _ACEOF
45768
45769 fi
45770 done
45771
45772 fi
45773 fi
45774
45775
45776
45777
45778
45779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45780 $as_echo_n "checking for finite declaration... " >&6; }
45781 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45782 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45783 $as_echo_n "(cached) " >&6
45784 else
45785
45786
45787 ac_ext=cpp
45788 ac_cpp='$CXXCPP $CPPFLAGS'
45789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45792
45793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45794 /* end confdefs.h. */
45795 #include <math.h>
45796 #ifdef HAVE_IEEEFP_H
45797 #include <ieeefp.h>
45798 #endif
45799
45800 int
45801 main ()
45802 {
45803 finite(0);
45804 ;
45805 return 0;
45806 }
45807 _ACEOF
45808 if ac_fn_cxx_try_compile "$LINENO"; then :
45809 glibcxx_cv_func_finite_use=yes
45810 else
45811 glibcxx_cv_func_finite_use=no
45812 fi
45813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45814 ac_ext=c
45815 ac_cpp='$CPP $CPPFLAGS'
45816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45819
45820
45821 fi
45822
45823 fi
45824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45825 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45826
45827 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45828 for ac_func in finite
45829 do :
45830 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45831 if test "x$ac_cv_func_finite" = x""yes; then :
45832 cat >>confdefs.h <<_ACEOF
45833 #define HAVE_FINITE 1
45834 _ACEOF
45835
45836 fi
45837 done
45838
45839 else
45840
45841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45842 $as_echo_n "checking for _finite declaration... " >&6; }
45843 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45844 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45845 $as_echo_n "(cached) " >&6
45846 else
45847
45848
45849 ac_ext=cpp
45850 ac_cpp='$CXXCPP $CPPFLAGS'
45851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45854
45855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45856 /* end confdefs.h. */
45857 #include <math.h>
45858 #ifdef HAVE_IEEEFP_H
45859 #include <ieeefp.h>
45860 #endif
45861
45862 int
45863 main ()
45864 {
45865 _finite(0);
45866 ;
45867 return 0;
45868 }
45869 _ACEOF
45870 if ac_fn_cxx_try_compile "$LINENO"; then :
45871 glibcxx_cv_func__finite_use=yes
45872 else
45873 glibcxx_cv_func__finite_use=no
45874 fi
45875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45876 ac_ext=c
45877 ac_cpp='$CPP $CPPFLAGS'
45878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45881
45882
45883 fi
45884
45885 fi
45886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45887 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45888
45889 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45890 for ac_func in _finite
45891 do :
45892 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45893 if test "x$ac_cv_func__finite" = x""yes; then :
45894 cat >>confdefs.h <<_ACEOF
45895 #define HAVE__FINITE 1
45896 _ACEOF
45897
45898 fi
45899 done
45900
45901 fi
45902 fi
45903
45904
45905
45906
45907
45908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45909 $as_echo_n "checking for sincos declaration... " >&6; }
45910 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45911 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45912 $as_echo_n "(cached) " >&6
45913 else
45914
45915
45916 ac_ext=cpp
45917 ac_cpp='$CXXCPP $CPPFLAGS'
45918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45921
45922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45923 /* end confdefs.h. */
45924 #include <math.h>
45925 int
45926 main ()
45927 {
45928 sincos(0, 0, 0);
45929 ;
45930 return 0;
45931 }
45932 _ACEOF
45933 if ac_fn_cxx_try_compile "$LINENO"; then :
45934 glibcxx_cv_func_sincos_use=yes
45935 else
45936 glibcxx_cv_func_sincos_use=no
45937 fi
45938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45939 ac_ext=c
45940 ac_cpp='$CPP $CPPFLAGS'
45941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45944
45945
45946 fi
45947
45948 fi
45949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45950 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45951
45952 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45953 for ac_func in sincos
45954 do :
45955 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45956 if test "x$ac_cv_func_sincos" = x""yes; then :
45957 cat >>confdefs.h <<_ACEOF
45958 #define HAVE_SINCOS 1
45959 _ACEOF
45960
45961 fi
45962 done
45963
45964 else
45965
45966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45967 $as_echo_n "checking for _sincos declaration... " >&6; }
45968 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45969 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45970 $as_echo_n "(cached) " >&6
45971 else
45972
45973
45974 ac_ext=cpp
45975 ac_cpp='$CXXCPP $CPPFLAGS'
45976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45979
45980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45981 /* end confdefs.h. */
45982 #include <math.h>
45983 int
45984 main ()
45985 {
45986 _sincos(0, 0, 0);
45987 ;
45988 return 0;
45989 }
45990 _ACEOF
45991 if ac_fn_cxx_try_compile "$LINENO"; then :
45992 glibcxx_cv_func__sincos_use=yes
45993 else
45994 glibcxx_cv_func__sincos_use=no
45995 fi
45996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45997 ac_ext=c
45998 ac_cpp='$CPP $CPPFLAGS'
45999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46002
46003
46004 fi
46005
46006 fi
46007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46008 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46009
46010 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46011 for ac_func in _sincos
46012 do :
46013 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46014 if test "x$ac_cv_func__sincos" = x""yes; then :
46015 cat >>confdefs.h <<_ACEOF
46016 #define HAVE__SINCOS 1
46017 _ACEOF
46018
46019 fi
46020 done
46021
46022 fi
46023 fi
46024
46025
46026
46027
46028
46029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46030 $as_echo_n "checking for fpclass declaration... " >&6; }
46031 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46032 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46033 $as_echo_n "(cached) " >&6
46034 else
46035
46036
46037 ac_ext=cpp
46038 ac_cpp='$CXXCPP $CPPFLAGS'
46039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46042
46043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46044 /* end confdefs.h. */
46045 #include <math.h>
46046 #ifdef HAVE_IEEEFP_H
46047 #include <ieeefp.h>
46048 #endif
46049
46050 int
46051 main ()
46052 {
46053 fpclass(0);
46054 ;
46055 return 0;
46056 }
46057 _ACEOF
46058 if ac_fn_cxx_try_compile "$LINENO"; then :
46059 glibcxx_cv_func_fpclass_use=yes
46060 else
46061 glibcxx_cv_func_fpclass_use=no
46062 fi
46063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46064 ac_ext=c
46065 ac_cpp='$CPP $CPPFLAGS'
46066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46069
46070
46071 fi
46072
46073 fi
46074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46075 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46076
46077 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46078 for ac_func in fpclass
46079 do :
46080 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46081 if test "x$ac_cv_func_fpclass" = x""yes; then :
46082 cat >>confdefs.h <<_ACEOF
46083 #define HAVE_FPCLASS 1
46084 _ACEOF
46085
46086 fi
46087 done
46088
46089 else
46090
46091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46092 $as_echo_n "checking for _fpclass declaration... " >&6; }
46093 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46094 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46095 $as_echo_n "(cached) " >&6
46096 else
46097
46098
46099 ac_ext=cpp
46100 ac_cpp='$CXXCPP $CPPFLAGS'
46101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46104
46105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46106 /* end confdefs.h. */
46107 #include <math.h>
46108 #ifdef HAVE_IEEEFP_H
46109 #include <ieeefp.h>
46110 #endif
46111
46112 int
46113 main ()
46114 {
46115 _fpclass(0);
46116 ;
46117 return 0;
46118 }
46119 _ACEOF
46120 if ac_fn_cxx_try_compile "$LINENO"; then :
46121 glibcxx_cv_func__fpclass_use=yes
46122 else
46123 glibcxx_cv_func__fpclass_use=no
46124 fi
46125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46126 ac_ext=c
46127 ac_cpp='$CPP $CPPFLAGS'
46128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46131
46132
46133 fi
46134
46135 fi
46136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46137 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46138
46139 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46140 for ac_func in _fpclass
46141 do :
46142 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46143 if test "x$ac_cv_func__fpclass" = x""yes; then :
46144 cat >>confdefs.h <<_ACEOF
46145 #define HAVE__FPCLASS 1
46146 _ACEOF
46147
46148 fi
46149 done
46150
46151 fi
46152 fi
46153
46154
46155
46156
46157
46158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46159 $as_echo_n "checking for qfpclass declaration... " >&6; }
46160 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46161 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46162 $as_echo_n "(cached) " >&6
46163 else
46164
46165
46166 ac_ext=cpp
46167 ac_cpp='$CXXCPP $CPPFLAGS'
46168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46171
46172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46173 /* end confdefs.h. */
46174 #include <math.h>
46175 #ifdef HAVE_IEEEFP_H
46176 #include <ieeefp.h>
46177 #endif
46178
46179 int
46180 main ()
46181 {
46182 qfpclass(0);
46183 ;
46184 return 0;
46185 }
46186 _ACEOF
46187 if ac_fn_cxx_try_compile "$LINENO"; then :
46188 glibcxx_cv_func_qfpclass_use=yes
46189 else
46190 glibcxx_cv_func_qfpclass_use=no
46191 fi
46192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46193 ac_ext=c
46194 ac_cpp='$CPP $CPPFLAGS'
46195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46198
46199
46200 fi
46201
46202 fi
46203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46204 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46205
46206 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46207 for ac_func in qfpclass
46208 do :
46209 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46210 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46211 cat >>confdefs.h <<_ACEOF
46212 #define HAVE_QFPCLASS 1
46213 _ACEOF
46214
46215 fi
46216 done
46217
46218 else
46219
46220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46221 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46222 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46223 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46224 $as_echo_n "(cached) " >&6
46225 else
46226
46227
46228 ac_ext=cpp
46229 ac_cpp='$CXXCPP $CPPFLAGS'
46230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46233
46234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46235 /* end confdefs.h. */
46236 #include <math.h>
46237 #ifdef HAVE_IEEEFP_H
46238 #include <ieeefp.h>
46239 #endif
46240
46241 int
46242 main ()
46243 {
46244 _qfpclass(0);
46245 ;
46246 return 0;
46247 }
46248 _ACEOF
46249 if ac_fn_cxx_try_compile "$LINENO"; then :
46250 glibcxx_cv_func__qfpclass_use=yes
46251 else
46252 glibcxx_cv_func__qfpclass_use=no
46253 fi
46254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46255 ac_ext=c
46256 ac_cpp='$CPP $CPPFLAGS'
46257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46260
46261
46262 fi
46263
46264 fi
46265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46266 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46267
46268 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46269 for ac_func in _qfpclass
46270 do :
46271 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46272 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46273 cat >>confdefs.h <<_ACEOF
46274 #define HAVE__QFPCLASS 1
46275 _ACEOF
46276
46277 fi
46278 done
46279
46280 fi
46281 fi
46282
46283
46284
46285
46286
46287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46288 $as_echo_n "checking for hypot declaration... " >&6; }
46289 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46290 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46291 $as_echo_n "(cached) " >&6
46292 else
46293
46294
46295 ac_ext=cpp
46296 ac_cpp='$CXXCPP $CPPFLAGS'
46297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46300
46301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46302 /* end confdefs.h. */
46303 #include <math.h>
46304 int
46305 main ()
46306 {
46307 hypot(0, 0);
46308 ;
46309 return 0;
46310 }
46311 _ACEOF
46312 if ac_fn_cxx_try_compile "$LINENO"; then :
46313 glibcxx_cv_func_hypot_use=yes
46314 else
46315 glibcxx_cv_func_hypot_use=no
46316 fi
46317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46318 ac_ext=c
46319 ac_cpp='$CPP $CPPFLAGS'
46320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46323
46324
46325 fi
46326
46327 fi
46328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46329 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46330
46331 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46332 for ac_func in hypot
46333 do :
46334 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46335 if test "x$ac_cv_func_hypot" = x""yes; then :
46336 cat >>confdefs.h <<_ACEOF
46337 #define HAVE_HYPOT 1
46338 _ACEOF
46339
46340 fi
46341 done
46342
46343 else
46344
46345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46346 $as_echo_n "checking for _hypot declaration... " >&6; }
46347 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46348 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46349 $as_echo_n "(cached) " >&6
46350 else
46351
46352
46353 ac_ext=cpp
46354 ac_cpp='$CXXCPP $CPPFLAGS'
46355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46358
46359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46360 /* end confdefs.h. */
46361 #include <math.h>
46362 int
46363 main ()
46364 {
46365 _hypot(0, 0);
46366 ;
46367 return 0;
46368 }
46369 _ACEOF
46370 if ac_fn_cxx_try_compile "$LINENO"; then :
46371 glibcxx_cv_func__hypot_use=yes
46372 else
46373 glibcxx_cv_func__hypot_use=no
46374 fi
46375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46376 ac_ext=c
46377 ac_cpp='$CPP $CPPFLAGS'
46378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46381
46382
46383 fi
46384
46385 fi
46386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46387 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46388
46389 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46390 for ac_func in _hypot
46391 do :
46392 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46393 if test "x$ac_cv_func__hypot" = x""yes; then :
46394 cat >>confdefs.h <<_ACEOF
46395 #define HAVE__HYPOT 1
46396 _ACEOF
46397
46398 fi
46399 done
46400
46401 fi
46402 fi
46403
46404
46405
46406
46407
46408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46409 $as_echo_n "checking for float trig functions... " >&6; }
46410 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46411 $as_echo_n "(cached) " >&6
46412 else
46413
46414
46415 ac_ext=cpp
46416 ac_cpp='$CXXCPP $CPPFLAGS'
46417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46420
46421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46422 /* end confdefs.h. */
46423 #include <math.h>
46424 int
46425 main ()
46426 {
46427 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46428 ;
46429 return 0;
46430 }
46431 _ACEOF
46432 if ac_fn_cxx_try_compile "$LINENO"; then :
46433 glibcxx_cv_func_float_trig_use=yes
46434 else
46435 glibcxx_cv_func_float_trig_use=no
46436 fi
46437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46438 ac_ext=c
46439 ac_cpp='$CPP $CPPFLAGS'
46440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46443
46444 fi
46445
46446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46447 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46448 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46449 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46450 do :
46451 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46452 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46453 eval as_val=\$$as_ac_var
46454 if test "x$as_val" = x""yes; then :
46455 cat >>confdefs.h <<_ACEOF
46456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46457 _ACEOF
46458
46459 fi
46460 done
46461
46462 else
46463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46464 $as_echo_n "checking for _float trig functions... " >&6; }
46465 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46466 $as_echo_n "(cached) " >&6
46467 else
46468
46469
46470 ac_ext=cpp
46471 ac_cpp='$CXXCPP $CPPFLAGS'
46472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46475
46476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46477 /* end confdefs.h. */
46478 #include <math.h>
46479 int
46480 main ()
46481 {
46482 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46483 ;
46484 return 0;
46485 }
46486 _ACEOF
46487 if ac_fn_cxx_try_compile "$LINENO"; then :
46488 glibcxx_cv_func__float_trig_use=yes
46489 else
46490 glibcxx_cv_func__float_trig_use=no
46491 fi
46492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46493 ac_ext=c
46494 ac_cpp='$CPP $CPPFLAGS'
46495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46498
46499 fi
46500
46501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46502 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46503 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46504 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46505 do :
46506 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46507 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46508 eval as_val=\$$as_ac_var
46509 if test "x$as_val" = x""yes; then :
46510 cat >>confdefs.h <<_ACEOF
46511 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46512 _ACEOF
46513
46514 fi
46515 done
46516
46517 fi
46518 fi
46519
46520
46521
46522
46523
46524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46525 $as_echo_n "checking for float round functions... " >&6; }
46526 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46527 $as_echo_n "(cached) " >&6
46528 else
46529
46530
46531 ac_ext=cpp
46532 ac_cpp='$CXXCPP $CPPFLAGS'
46533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46536
46537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46538 /* end confdefs.h. */
46539 #include <math.h>
46540 int
46541 main ()
46542 {
46543 ceilf (0); floorf (0);
46544 ;
46545 return 0;
46546 }
46547 _ACEOF
46548 if ac_fn_cxx_try_compile "$LINENO"; then :
46549 glibcxx_cv_func_float_round_use=yes
46550 else
46551 glibcxx_cv_func_float_round_use=no
46552 fi
46553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46554 ac_ext=c
46555 ac_cpp='$CPP $CPPFLAGS'
46556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46559
46560 fi
46561
46562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46563 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46564 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46565 for ac_func in ceilf floorf
46566 do :
46567 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46568 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46569 eval as_val=\$$as_ac_var
46570 if test "x$as_val" = x""yes; then :
46571 cat >>confdefs.h <<_ACEOF
46572 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46573 _ACEOF
46574
46575 fi
46576 done
46577
46578 else
46579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46580 $as_echo_n "checking for _float round functions... " >&6; }
46581 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46582 $as_echo_n "(cached) " >&6
46583 else
46584
46585
46586 ac_ext=cpp
46587 ac_cpp='$CXXCPP $CPPFLAGS'
46588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46591
46592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46593 /* end confdefs.h. */
46594 #include <math.h>
46595 int
46596 main ()
46597 {
46598 _ceilf (0); _floorf (0);
46599 ;
46600 return 0;
46601 }
46602 _ACEOF
46603 if ac_fn_cxx_try_compile "$LINENO"; then :
46604 glibcxx_cv_func__float_round_use=yes
46605 else
46606 glibcxx_cv_func__float_round_use=no
46607 fi
46608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46609 ac_ext=c
46610 ac_cpp='$CPP $CPPFLAGS'
46611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46614
46615 fi
46616
46617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46618 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46619 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46620 for ac_func in _ceilf _floorf
46621 do :
46622 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46623 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46624 eval as_val=\$$as_ac_var
46625 if test "x$as_val" = x""yes; then :
46626 cat >>confdefs.h <<_ACEOF
46627 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46628 _ACEOF
46629
46630 fi
46631 done
46632
46633 fi
46634 fi
46635
46636
46637
46638
46639
46640
46641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46642 $as_echo_n "checking for expf declaration... " >&6; }
46643 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46644 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46645 $as_echo_n "(cached) " >&6
46646 else
46647
46648
46649 ac_ext=cpp
46650 ac_cpp='$CXXCPP $CPPFLAGS'
46651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46654
46655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46656 /* end confdefs.h. */
46657 #include <math.h>
46658 #ifdef HAVE_IEEEFP_H
46659 #include <ieeefp.h>
46660 #endif
46661
46662 int
46663 main ()
46664 {
46665 expf(0);
46666 ;
46667 return 0;
46668 }
46669 _ACEOF
46670 if ac_fn_cxx_try_compile "$LINENO"; then :
46671 glibcxx_cv_func_expf_use=yes
46672 else
46673 glibcxx_cv_func_expf_use=no
46674 fi
46675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46676 ac_ext=c
46677 ac_cpp='$CPP $CPPFLAGS'
46678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46681
46682
46683 fi
46684
46685 fi
46686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46687 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46688
46689 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46690 for ac_func in expf
46691 do :
46692 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46693 if test "x$ac_cv_func_expf" = x""yes; then :
46694 cat >>confdefs.h <<_ACEOF
46695 #define HAVE_EXPF 1
46696 _ACEOF
46697
46698 fi
46699 done
46700
46701 else
46702
46703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46704 $as_echo_n "checking for _expf declaration... " >&6; }
46705 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46706 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46707 $as_echo_n "(cached) " >&6
46708 else
46709
46710
46711 ac_ext=cpp
46712 ac_cpp='$CXXCPP $CPPFLAGS'
46713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46716
46717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46718 /* end confdefs.h. */
46719 #include <math.h>
46720 #ifdef HAVE_IEEEFP_H
46721 #include <ieeefp.h>
46722 #endif
46723
46724 int
46725 main ()
46726 {
46727 _expf(0);
46728 ;
46729 return 0;
46730 }
46731 _ACEOF
46732 if ac_fn_cxx_try_compile "$LINENO"; then :
46733 glibcxx_cv_func__expf_use=yes
46734 else
46735 glibcxx_cv_func__expf_use=no
46736 fi
46737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46738 ac_ext=c
46739 ac_cpp='$CPP $CPPFLAGS'
46740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46743
46744
46745 fi
46746
46747 fi
46748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46749 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46750
46751 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46752 for ac_func in _expf
46753 do :
46754 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46755 if test "x$ac_cv_func__expf" = x""yes; then :
46756 cat >>confdefs.h <<_ACEOF
46757 #define HAVE__EXPF 1
46758 _ACEOF
46759
46760 fi
46761 done
46762
46763 fi
46764 fi
46765
46766
46767
46768
46769
46770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46771 $as_echo_n "checking for isnanf declaration... " >&6; }
46772 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46773 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46774 $as_echo_n "(cached) " >&6
46775 else
46776
46777
46778 ac_ext=cpp
46779 ac_cpp='$CXXCPP $CPPFLAGS'
46780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46783
46784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46785 /* end confdefs.h. */
46786 #include <math.h>
46787 #ifdef HAVE_IEEEFP_H
46788 #include <ieeefp.h>
46789 #endif
46790
46791 int
46792 main ()
46793 {
46794 isnanf(0);
46795 ;
46796 return 0;
46797 }
46798 _ACEOF
46799 if ac_fn_cxx_try_compile "$LINENO"; then :
46800 glibcxx_cv_func_isnanf_use=yes
46801 else
46802 glibcxx_cv_func_isnanf_use=no
46803 fi
46804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46805 ac_ext=c
46806 ac_cpp='$CPP $CPPFLAGS'
46807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46810
46811
46812 fi
46813
46814 fi
46815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46816 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46817
46818 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46819 for ac_func in isnanf
46820 do :
46821 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46822 if test "x$ac_cv_func_isnanf" = x""yes; then :
46823 cat >>confdefs.h <<_ACEOF
46824 #define HAVE_ISNANF 1
46825 _ACEOF
46826
46827 fi
46828 done
46829
46830 else
46831
46832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46833 $as_echo_n "checking for _isnanf declaration... " >&6; }
46834 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46835 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46836 $as_echo_n "(cached) " >&6
46837 else
46838
46839
46840 ac_ext=cpp
46841 ac_cpp='$CXXCPP $CPPFLAGS'
46842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46845
46846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46847 /* end confdefs.h. */
46848 #include <math.h>
46849 #ifdef HAVE_IEEEFP_H
46850 #include <ieeefp.h>
46851 #endif
46852
46853 int
46854 main ()
46855 {
46856 _isnanf(0);
46857 ;
46858 return 0;
46859 }
46860 _ACEOF
46861 if ac_fn_cxx_try_compile "$LINENO"; then :
46862 glibcxx_cv_func__isnanf_use=yes
46863 else
46864 glibcxx_cv_func__isnanf_use=no
46865 fi
46866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46867 ac_ext=c
46868 ac_cpp='$CPP $CPPFLAGS'
46869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46872
46873
46874 fi
46875
46876 fi
46877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46878 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46879
46880 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46881 for ac_func in _isnanf
46882 do :
46883 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46884 if test "x$ac_cv_func__isnanf" = x""yes; then :
46885 cat >>confdefs.h <<_ACEOF
46886 #define HAVE__ISNANF 1
46887 _ACEOF
46888
46889 fi
46890 done
46891
46892 fi
46893 fi
46894
46895
46896
46897
46898
46899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46900 $as_echo_n "checking for isinff declaration... " >&6; }
46901 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46902 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46903 $as_echo_n "(cached) " >&6
46904 else
46905
46906
46907 ac_ext=cpp
46908 ac_cpp='$CXXCPP $CPPFLAGS'
46909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46912
46913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46914 /* end confdefs.h. */
46915 #include <math.h>
46916 #ifdef HAVE_IEEEFP_H
46917 #include <ieeefp.h>
46918 #endif
46919
46920 int
46921 main ()
46922 {
46923 isinff(0);
46924 ;
46925 return 0;
46926 }
46927 _ACEOF
46928 if ac_fn_cxx_try_compile "$LINENO"; then :
46929 glibcxx_cv_func_isinff_use=yes
46930 else
46931 glibcxx_cv_func_isinff_use=no
46932 fi
46933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46934 ac_ext=c
46935 ac_cpp='$CPP $CPPFLAGS'
46936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46939
46940
46941 fi
46942
46943 fi
46944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46945 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46946
46947 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46948 for ac_func in isinff
46949 do :
46950 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46951 if test "x$ac_cv_func_isinff" = x""yes; then :
46952 cat >>confdefs.h <<_ACEOF
46953 #define HAVE_ISINFF 1
46954 _ACEOF
46955
46956 fi
46957 done
46958
46959 else
46960
46961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46962 $as_echo_n "checking for _isinff declaration... " >&6; }
46963 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46964 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46965 $as_echo_n "(cached) " >&6
46966 else
46967
46968
46969 ac_ext=cpp
46970 ac_cpp='$CXXCPP $CPPFLAGS'
46971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46974
46975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46976 /* end confdefs.h. */
46977 #include <math.h>
46978 #ifdef HAVE_IEEEFP_H
46979 #include <ieeefp.h>
46980 #endif
46981
46982 int
46983 main ()
46984 {
46985 _isinff(0);
46986 ;
46987 return 0;
46988 }
46989 _ACEOF
46990 if ac_fn_cxx_try_compile "$LINENO"; then :
46991 glibcxx_cv_func__isinff_use=yes
46992 else
46993 glibcxx_cv_func__isinff_use=no
46994 fi
46995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46996 ac_ext=c
46997 ac_cpp='$CPP $CPPFLAGS'
46998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47001
47002
47003 fi
47004
47005 fi
47006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47007 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47008
47009 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47010 for ac_func in _isinff
47011 do :
47012 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47013 if test "x$ac_cv_func__isinff" = x""yes; then :
47014 cat >>confdefs.h <<_ACEOF
47015 #define HAVE__ISINFF 1
47016 _ACEOF
47017
47018 fi
47019 done
47020
47021 fi
47022 fi
47023
47024
47025
47026
47027
47028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47029 $as_echo_n "checking for atan2f declaration... " >&6; }
47030 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47031 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47032 $as_echo_n "(cached) " >&6
47033 else
47034
47035
47036 ac_ext=cpp
47037 ac_cpp='$CXXCPP $CPPFLAGS'
47038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47041
47042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47043 /* end confdefs.h. */
47044 #include <math.h>
47045 int
47046 main ()
47047 {
47048 atan2f(0, 0);
47049 ;
47050 return 0;
47051 }
47052 _ACEOF
47053 if ac_fn_cxx_try_compile "$LINENO"; then :
47054 glibcxx_cv_func_atan2f_use=yes
47055 else
47056 glibcxx_cv_func_atan2f_use=no
47057 fi
47058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47059 ac_ext=c
47060 ac_cpp='$CPP $CPPFLAGS'
47061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47064
47065
47066 fi
47067
47068 fi
47069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47070 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47071
47072 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47073 for ac_func in atan2f
47074 do :
47075 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47076 if test "x$ac_cv_func_atan2f" = x""yes; then :
47077 cat >>confdefs.h <<_ACEOF
47078 #define HAVE_ATAN2F 1
47079 _ACEOF
47080
47081 fi
47082 done
47083
47084 else
47085
47086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47087 $as_echo_n "checking for _atan2f declaration... " >&6; }
47088 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47089 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47090 $as_echo_n "(cached) " >&6
47091 else
47092
47093
47094 ac_ext=cpp
47095 ac_cpp='$CXXCPP $CPPFLAGS'
47096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47099
47100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47101 /* end confdefs.h. */
47102 #include <math.h>
47103 int
47104 main ()
47105 {
47106 _atan2f(0, 0);
47107 ;
47108 return 0;
47109 }
47110 _ACEOF
47111 if ac_fn_cxx_try_compile "$LINENO"; then :
47112 glibcxx_cv_func__atan2f_use=yes
47113 else
47114 glibcxx_cv_func__atan2f_use=no
47115 fi
47116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47117 ac_ext=c
47118 ac_cpp='$CPP $CPPFLAGS'
47119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47122
47123
47124 fi
47125
47126 fi
47127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47128 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47129
47130 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47131 for ac_func in _atan2f
47132 do :
47133 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47134 if test "x$ac_cv_func__atan2f" = x""yes; then :
47135 cat >>confdefs.h <<_ACEOF
47136 #define HAVE__ATAN2F 1
47137 _ACEOF
47138
47139 fi
47140 done
47141
47142 fi
47143 fi
47144
47145
47146
47147
47148
47149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47150 $as_echo_n "checking for fabsf declaration... " >&6; }
47151 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47152 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47153 $as_echo_n "(cached) " >&6
47154 else
47155
47156
47157 ac_ext=cpp
47158 ac_cpp='$CXXCPP $CPPFLAGS'
47159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47162
47163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47164 /* end confdefs.h. */
47165 #include <math.h>
47166 #ifdef HAVE_IEEEFP_H
47167 #include <ieeefp.h>
47168 #endif
47169
47170 int
47171 main ()
47172 {
47173 fabsf(0);
47174 ;
47175 return 0;
47176 }
47177 _ACEOF
47178 if ac_fn_cxx_try_compile "$LINENO"; then :
47179 glibcxx_cv_func_fabsf_use=yes
47180 else
47181 glibcxx_cv_func_fabsf_use=no
47182 fi
47183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47184 ac_ext=c
47185 ac_cpp='$CPP $CPPFLAGS'
47186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47189
47190
47191 fi
47192
47193 fi
47194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47195 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47196
47197 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47198 for ac_func in fabsf
47199 do :
47200 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47201 if test "x$ac_cv_func_fabsf" = x""yes; then :
47202 cat >>confdefs.h <<_ACEOF
47203 #define HAVE_FABSF 1
47204 _ACEOF
47205
47206 fi
47207 done
47208
47209 else
47210
47211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47212 $as_echo_n "checking for _fabsf declaration... " >&6; }
47213 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47214 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47215 $as_echo_n "(cached) " >&6
47216 else
47217
47218
47219 ac_ext=cpp
47220 ac_cpp='$CXXCPP $CPPFLAGS'
47221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47224
47225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47226 /* end confdefs.h. */
47227 #include <math.h>
47228 #ifdef HAVE_IEEEFP_H
47229 #include <ieeefp.h>
47230 #endif
47231
47232 int
47233 main ()
47234 {
47235 _fabsf(0);
47236 ;
47237 return 0;
47238 }
47239 _ACEOF
47240 if ac_fn_cxx_try_compile "$LINENO"; then :
47241 glibcxx_cv_func__fabsf_use=yes
47242 else
47243 glibcxx_cv_func__fabsf_use=no
47244 fi
47245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47246 ac_ext=c
47247 ac_cpp='$CPP $CPPFLAGS'
47248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47251
47252
47253 fi
47254
47255 fi
47256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47257 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47258
47259 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47260 for ac_func in _fabsf
47261 do :
47262 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47263 if test "x$ac_cv_func__fabsf" = x""yes; then :
47264 cat >>confdefs.h <<_ACEOF
47265 #define HAVE__FABSF 1
47266 _ACEOF
47267
47268 fi
47269 done
47270
47271 fi
47272 fi
47273
47274
47275
47276
47277
47278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47279 $as_echo_n "checking for fmodf declaration... " >&6; }
47280 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47281 if test "${glibcxx_cv_func_fmodf_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 fmodf(0, 0);
47299 ;
47300 return 0;
47301 }
47302 _ACEOF
47303 if ac_fn_cxx_try_compile "$LINENO"; then :
47304 glibcxx_cv_func_fmodf_use=yes
47305 else
47306 glibcxx_cv_func_fmodf_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
47316 fi
47317
47318 fi
47319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47320 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47321
47322 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47323 for ac_func in fmodf
47324 do :
47325 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47326 if test "x$ac_cv_func_fmodf" = x""yes; then :
47327 cat >>confdefs.h <<_ACEOF
47328 #define HAVE_FMODF 1
47329 _ACEOF
47330
47331 fi
47332 done
47333
47334 else
47335
47336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47337 $as_echo_n "checking for _fmodf declaration... " >&6; }
47338 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47339 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47340 $as_echo_n "(cached) " >&6
47341 else
47342
47343
47344 ac_ext=cpp
47345 ac_cpp='$CXXCPP $CPPFLAGS'
47346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47349
47350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47351 /* end confdefs.h. */
47352 #include <math.h>
47353 int
47354 main ()
47355 {
47356 _fmodf(0, 0);
47357 ;
47358 return 0;
47359 }
47360 _ACEOF
47361 if ac_fn_cxx_try_compile "$LINENO"; then :
47362 glibcxx_cv_func__fmodf_use=yes
47363 else
47364 glibcxx_cv_func__fmodf_use=no
47365 fi
47366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47367 ac_ext=c
47368 ac_cpp='$CPP $CPPFLAGS'
47369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47372
47373
47374 fi
47375
47376 fi
47377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47378 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47379
47380 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47381 for ac_func in _fmodf
47382 do :
47383 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47384 if test "x$ac_cv_func__fmodf" = x""yes; then :
47385 cat >>confdefs.h <<_ACEOF
47386 #define HAVE__FMODF 1
47387 _ACEOF
47388
47389 fi
47390 done
47391
47392 fi
47393 fi
47394
47395
47396
47397
47398
47399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47400 $as_echo_n "checking for frexpf declaration... " >&6; }
47401 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47402 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47403 $as_echo_n "(cached) " >&6
47404 else
47405
47406
47407 ac_ext=cpp
47408 ac_cpp='$CXXCPP $CPPFLAGS'
47409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47412
47413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47414 /* end confdefs.h. */
47415 #include <math.h>
47416 int
47417 main ()
47418 {
47419 frexpf(0, 0);
47420 ;
47421 return 0;
47422 }
47423 _ACEOF
47424 if ac_fn_cxx_try_compile "$LINENO"; then :
47425 glibcxx_cv_func_frexpf_use=yes
47426 else
47427 glibcxx_cv_func_frexpf_use=no
47428 fi
47429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47430 ac_ext=c
47431 ac_cpp='$CPP $CPPFLAGS'
47432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47435
47436
47437 fi
47438
47439 fi
47440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47441 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47442
47443 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47444 for ac_func in frexpf
47445 do :
47446 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47447 if test "x$ac_cv_func_frexpf" = x""yes; then :
47448 cat >>confdefs.h <<_ACEOF
47449 #define HAVE_FREXPF 1
47450 _ACEOF
47451
47452 fi
47453 done
47454
47455 else
47456
47457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47458 $as_echo_n "checking for _frexpf declaration... " >&6; }
47459 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47460 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47461 $as_echo_n "(cached) " >&6
47462 else
47463
47464
47465 ac_ext=cpp
47466 ac_cpp='$CXXCPP $CPPFLAGS'
47467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47470
47471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47472 /* end confdefs.h. */
47473 #include <math.h>
47474 int
47475 main ()
47476 {
47477 _frexpf(0, 0);
47478 ;
47479 return 0;
47480 }
47481 _ACEOF
47482 if ac_fn_cxx_try_compile "$LINENO"; then :
47483 glibcxx_cv_func__frexpf_use=yes
47484 else
47485 glibcxx_cv_func__frexpf_use=no
47486 fi
47487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47488 ac_ext=c
47489 ac_cpp='$CPP $CPPFLAGS'
47490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47493
47494
47495 fi
47496
47497 fi
47498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47499 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47500
47501 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47502 for ac_func in _frexpf
47503 do :
47504 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47505 if test "x$ac_cv_func__frexpf" = x""yes; then :
47506 cat >>confdefs.h <<_ACEOF
47507 #define HAVE__FREXPF 1
47508 _ACEOF
47509
47510 fi
47511 done
47512
47513 fi
47514 fi
47515
47516
47517
47518
47519
47520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47521 $as_echo_n "checking for hypotf declaration... " >&6; }
47522 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47523 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47524 $as_echo_n "(cached) " >&6
47525 else
47526
47527
47528 ac_ext=cpp
47529 ac_cpp='$CXXCPP $CPPFLAGS'
47530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47533
47534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47535 /* end confdefs.h. */
47536 #include <math.h>
47537 int
47538 main ()
47539 {
47540 hypotf(0, 0);
47541 ;
47542 return 0;
47543 }
47544 _ACEOF
47545 if ac_fn_cxx_try_compile "$LINENO"; then :
47546 glibcxx_cv_func_hypotf_use=yes
47547 else
47548 glibcxx_cv_func_hypotf_use=no
47549 fi
47550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47551 ac_ext=c
47552 ac_cpp='$CPP $CPPFLAGS'
47553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47556
47557
47558 fi
47559
47560 fi
47561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47562 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47563
47564 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47565 for ac_func in hypotf
47566 do :
47567 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47568 if test "x$ac_cv_func_hypotf" = x""yes; then :
47569 cat >>confdefs.h <<_ACEOF
47570 #define HAVE_HYPOTF 1
47571 _ACEOF
47572
47573 fi
47574 done
47575
47576 else
47577
47578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47579 $as_echo_n "checking for _hypotf declaration... " >&6; }
47580 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47581 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47582 $as_echo_n "(cached) " >&6
47583 else
47584
47585
47586 ac_ext=cpp
47587 ac_cpp='$CXXCPP $CPPFLAGS'
47588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47591
47592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47593 /* end confdefs.h. */
47594 #include <math.h>
47595 int
47596 main ()
47597 {
47598 _hypotf(0, 0);
47599 ;
47600 return 0;
47601 }
47602 _ACEOF
47603 if ac_fn_cxx_try_compile "$LINENO"; then :
47604 glibcxx_cv_func__hypotf_use=yes
47605 else
47606 glibcxx_cv_func__hypotf_use=no
47607 fi
47608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47609 ac_ext=c
47610 ac_cpp='$CPP $CPPFLAGS'
47611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47614
47615
47616 fi
47617
47618 fi
47619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47620 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47621
47622 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47623 for ac_func in _hypotf
47624 do :
47625 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47626 if test "x$ac_cv_func__hypotf" = x""yes; then :
47627 cat >>confdefs.h <<_ACEOF
47628 #define HAVE__HYPOTF 1
47629 _ACEOF
47630
47631 fi
47632 done
47633
47634 fi
47635 fi
47636
47637
47638
47639
47640
47641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47642 $as_echo_n "checking for ldexpf declaration... " >&6; }
47643 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47644 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47645 $as_echo_n "(cached) " >&6
47646 else
47647
47648
47649 ac_ext=cpp
47650 ac_cpp='$CXXCPP $CPPFLAGS'
47651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47654
47655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47656 /* end confdefs.h. */
47657 #include <math.h>
47658 int
47659 main ()
47660 {
47661 ldexpf(0, 0);
47662 ;
47663 return 0;
47664 }
47665 _ACEOF
47666 if ac_fn_cxx_try_compile "$LINENO"; then :
47667 glibcxx_cv_func_ldexpf_use=yes
47668 else
47669 glibcxx_cv_func_ldexpf_use=no
47670 fi
47671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47672 ac_ext=c
47673 ac_cpp='$CPP $CPPFLAGS'
47674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47677
47678
47679 fi
47680
47681 fi
47682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47683 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47684
47685 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47686 for ac_func in ldexpf
47687 do :
47688 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47689 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47690 cat >>confdefs.h <<_ACEOF
47691 #define HAVE_LDEXPF 1
47692 _ACEOF
47693
47694 fi
47695 done
47696
47697 else
47698
47699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47700 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47701 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47702 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47703 $as_echo_n "(cached) " >&6
47704 else
47705
47706
47707 ac_ext=cpp
47708 ac_cpp='$CXXCPP $CPPFLAGS'
47709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47712
47713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47714 /* end confdefs.h. */
47715 #include <math.h>
47716 int
47717 main ()
47718 {
47719 _ldexpf(0, 0);
47720 ;
47721 return 0;
47722 }
47723 _ACEOF
47724 if ac_fn_cxx_try_compile "$LINENO"; then :
47725 glibcxx_cv_func__ldexpf_use=yes
47726 else
47727 glibcxx_cv_func__ldexpf_use=no
47728 fi
47729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47730 ac_ext=c
47731 ac_cpp='$CPP $CPPFLAGS'
47732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47735
47736
47737 fi
47738
47739 fi
47740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47741 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47742
47743 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47744 for ac_func in _ldexpf
47745 do :
47746 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47747 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47748 cat >>confdefs.h <<_ACEOF
47749 #define HAVE__LDEXPF 1
47750 _ACEOF
47751
47752 fi
47753 done
47754
47755 fi
47756 fi
47757
47758
47759
47760
47761
47762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47763 $as_echo_n "checking for logf declaration... " >&6; }
47764 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47765 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47766 $as_echo_n "(cached) " >&6
47767 else
47768
47769
47770 ac_ext=cpp
47771 ac_cpp='$CXXCPP $CPPFLAGS'
47772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47775
47776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47777 /* end confdefs.h. */
47778 #include <math.h>
47779 #ifdef HAVE_IEEEFP_H
47780 #include <ieeefp.h>
47781 #endif
47782
47783 int
47784 main ()
47785 {
47786 logf(0);
47787 ;
47788 return 0;
47789 }
47790 _ACEOF
47791 if ac_fn_cxx_try_compile "$LINENO"; then :
47792 glibcxx_cv_func_logf_use=yes
47793 else
47794 glibcxx_cv_func_logf_use=no
47795 fi
47796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47797 ac_ext=c
47798 ac_cpp='$CPP $CPPFLAGS'
47799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47802
47803
47804 fi
47805
47806 fi
47807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47808 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47809
47810 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47811 for ac_func in logf
47812 do :
47813 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47814 if test "x$ac_cv_func_logf" = x""yes; then :
47815 cat >>confdefs.h <<_ACEOF
47816 #define HAVE_LOGF 1
47817 _ACEOF
47818
47819 fi
47820 done
47821
47822 else
47823
47824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47825 $as_echo_n "checking for _logf declaration... " >&6; }
47826 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47827 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47828 $as_echo_n "(cached) " >&6
47829 else
47830
47831
47832 ac_ext=cpp
47833 ac_cpp='$CXXCPP $CPPFLAGS'
47834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47837
47838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47839 /* end confdefs.h. */
47840 #include <math.h>
47841 #ifdef HAVE_IEEEFP_H
47842 #include <ieeefp.h>
47843 #endif
47844
47845 int
47846 main ()
47847 {
47848 _logf(0);
47849 ;
47850 return 0;
47851 }
47852 _ACEOF
47853 if ac_fn_cxx_try_compile "$LINENO"; then :
47854 glibcxx_cv_func__logf_use=yes
47855 else
47856 glibcxx_cv_func__logf_use=no
47857 fi
47858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47859 ac_ext=c
47860 ac_cpp='$CPP $CPPFLAGS'
47861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47864
47865
47866 fi
47867
47868 fi
47869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47870 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47871
47872 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47873 for ac_func in _logf
47874 do :
47875 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47876 if test "x$ac_cv_func__logf" = x""yes; then :
47877 cat >>confdefs.h <<_ACEOF
47878 #define HAVE__LOGF 1
47879 _ACEOF
47880
47881 fi
47882 done
47883
47884 fi
47885 fi
47886
47887
47888
47889
47890
47891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47892 $as_echo_n "checking for log10f declaration... " >&6; }
47893 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47894 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47895 $as_echo_n "(cached) " >&6
47896 else
47897
47898
47899 ac_ext=cpp
47900 ac_cpp='$CXXCPP $CPPFLAGS'
47901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47904
47905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47906 /* end confdefs.h. */
47907 #include <math.h>
47908 #ifdef HAVE_IEEEFP_H
47909 #include <ieeefp.h>
47910 #endif
47911
47912 int
47913 main ()
47914 {
47915 log10f(0);
47916 ;
47917 return 0;
47918 }
47919 _ACEOF
47920 if ac_fn_cxx_try_compile "$LINENO"; then :
47921 glibcxx_cv_func_log10f_use=yes
47922 else
47923 glibcxx_cv_func_log10f_use=no
47924 fi
47925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47926 ac_ext=c
47927 ac_cpp='$CPP $CPPFLAGS'
47928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47931
47932
47933 fi
47934
47935 fi
47936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47937 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47938
47939 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47940 for ac_func in log10f
47941 do :
47942 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47943 if test "x$ac_cv_func_log10f" = x""yes; then :
47944 cat >>confdefs.h <<_ACEOF
47945 #define HAVE_LOG10F 1
47946 _ACEOF
47947
47948 fi
47949 done
47950
47951 else
47952
47953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47954 $as_echo_n "checking for _log10f declaration... " >&6; }
47955 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47956 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47957 $as_echo_n "(cached) " >&6
47958 else
47959
47960
47961 ac_ext=cpp
47962 ac_cpp='$CXXCPP $CPPFLAGS'
47963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47966
47967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47968 /* end confdefs.h. */
47969 #include <math.h>
47970 #ifdef HAVE_IEEEFP_H
47971 #include <ieeefp.h>
47972 #endif
47973
47974 int
47975 main ()
47976 {
47977 _log10f(0);
47978 ;
47979 return 0;
47980 }
47981 _ACEOF
47982 if ac_fn_cxx_try_compile "$LINENO"; then :
47983 glibcxx_cv_func__log10f_use=yes
47984 else
47985 glibcxx_cv_func__log10f_use=no
47986 fi
47987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47988 ac_ext=c
47989 ac_cpp='$CPP $CPPFLAGS'
47990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47993
47994
47995 fi
47996
47997 fi
47998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47999 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48000
48001 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48002 for ac_func in _log10f
48003 do :
48004 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48005 if test "x$ac_cv_func__log10f" = x""yes; then :
48006 cat >>confdefs.h <<_ACEOF
48007 #define HAVE__LOG10F 1
48008 _ACEOF
48009
48010 fi
48011 done
48012
48013 fi
48014 fi
48015
48016
48017
48018
48019
48020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48021 $as_echo_n "checking for modff declaration... " >&6; }
48022 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48023 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48024 $as_echo_n "(cached) " >&6
48025 else
48026
48027
48028 ac_ext=cpp
48029 ac_cpp='$CXXCPP $CPPFLAGS'
48030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48033
48034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48035 /* end confdefs.h. */
48036 #include <math.h>
48037 int
48038 main ()
48039 {
48040 modff(0, 0);
48041 ;
48042 return 0;
48043 }
48044 _ACEOF
48045 if ac_fn_cxx_try_compile "$LINENO"; then :
48046 glibcxx_cv_func_modff_use=yes
48047 else
48048 glibcxx_cv_func_modff_use=no
48049 fi
48050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48051 ac_ext=c
48052 ac_cpp='$CPP $CPPFLAGS'
48053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48056
48057
48058 fi
48059
48060 fi
48061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48062 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48063
48064 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48065 for ac_func in modff
48066 do :
48067 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48068 if test "x$ac_cv_func_modff" = x""yes; then :
48069 cat >>confdefs.h <<_ACEOF
48070 #define HAVE_MODFF 1
48071 _ACEOF
48072
48073 fi
48074 done
48075
48076 else
48077
48078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48079 $as_echo_n "checking for _modff declaration... " >&6; }
48080 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48081 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48082 $as_echo_n "(cached) " >&6
48083 else
48084
48085
48086 ac_ext=cpp
48087 ac_cpp='$CXXCPP $CPPFLAGS'
48088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48091
48092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48093 /* end confdefs.h. */
48094 #include <math.h>
48095 int
48096 main ()
48097 {
48098 _modff(0, 0);
48099 ;
48100 return 0;
48101 }
48102 _ACEOF
48103 if ac_fn_cxx_try_compile "$LINENO"; then :
48104 glibcxx_cv_func__modff_use=yes
48105 else
48106 glibcxx_cv_func__modff_use=no
48107 fi
48108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48109 ac_ext=c
48110 ac_cpp='$CPP $CPPFLAGS'
48111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48114
48115
48116 fi
48117
48118 fi
48119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48120 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48121
48122 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48123 for ac_func in _modff
48124 do :
48125 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48126 if test "x$ac_cv_func__modff" = x""yes; then :
48127 cat >>confdefs.h <<_ACEOF
48128 #define HAVE__MODFF 1
48129 _ACEOF
48130
48131 fi
48132 done
48133
48134 fi
48135 fi
48136
48137
48138
48139
48140
48141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48142 $as_echo_n "checking for modf declaration... " >&6; }
48143 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48144 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48145 $as_echo_n "(cached) " >&6
48146 else
48147
48148
48149 ac_ext=cpp
48150 ac_cpp='$CXXCPP $CPPFLAGS'
48151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48154
48155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48156 /* end confdefs.h. */
48157 #include <math.h>
48158 int
48159 main ()
48160 {
48161 modf(0, 0);
48162 ;
48163 return 0;
48164 }
48165 _ACEOF
48166 if ac_fn_cxx_try_compile "$LINENO"; then :
48167 glibcxx_cv_func_modf_use=yes
48168 else
48169 glibcxx_cv_func_modf_use=no
48170 fi
48171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48172 ac_ext=c
48173 ac_cpp='$CPP $CPPFLAGS'
48174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48177
48178
48179 fi
48180
48181 fi
48182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48183 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48184
48185 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48186 for ac_func in modf
48187 do :
48188 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48189 if test "x$ac_cv_func_modf" = x""yes; then :
48190 cat >>confdefs.h <<_ACEOF
48191 #define HAVE_MODF 1
48192 _ACEOF
48193
48194 fi
48195 done
48196
48197 else
48198
48199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48200 $as_echo_n "checking for _modf declaration... " >&6; }
48201 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48202 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48203 $as_echo_n "(cached) " >&6
48204 else
48205
48206
48207 ac_ext=cpp
48208 ac_cpp='$CXXCPP $CPPFLAGS'
48209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48212
48213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48214 /* end confdefs.h. */
48215 #include <math.h>
48216 int
48217 main ()
48218 {
48219 _modf(0, 0);
48220 ;
48221 return 0;
48222 }
48223 _ACEOF
48224 if ac_fn_cxx_try_compile "$LINENO"; then :
48225 glibcxx_cv_func__modf_use=yes
48226 else
48227 glibcxx_cv_func__modf_use=no
48228 fi
48229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48230 ac_ext=c
48231 ac_cpp='$CPP $CPPFLAGS'
48232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48235
48236
48237 fi
48238
48239 fi
48240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48241 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48242
48243 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48244 for ac_func in _modf
48245 do :
48246 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48247 if test "x$ac_cv_func__modf" = x""yes; then :
48248 cat >>confdefs.h <<_ACEOF
48249 #define HAVE__MODF 1
48250 _ACEOF
48251
48252 fi
48253 done
48254
48255 fi
48256 fi
48257
48258
48259
48260
48261
48262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48263 $as_echo_n "checking for powf declaration... " >&6; }
48264 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48265 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48266 $as_echo_n "(cached) " >&6
48267 else
48268
48269
48270 ac_ext=cpp
48271 ac_cpp='$CXXCPP $CPPFLAGS'
48272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48275
48276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48277 /* end confdefs.h. */
48278 #include <math.h>
48279 int
48280 main ()
48281 {
48282 powf(0, 0);
48283 ;
48284 return 0;
48285 }
48286 _ACEOF
48287 if ac_fn_cxx_try_compile "$LINENO"; then :
48288 glibcxx_cv_func_powf_use=yes
48289 else
48290 glibcxx_cv_func_powf_use=no
48291 fi
48292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48293 ac_ext=c
48294 ac_cpp='$CPP $CPPFLAGS'
48295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48298
48299
48300 fi
48301
48302 fi
48303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48304 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48305
48306 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48307 for ac_func in powf
48308 do :
48309 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48310 if test "x$ac_cv_func_powf" = x""yes; then :
48311 cat >>confdefs.h <<_ACEOF
48312 #define HAVE_POWF 1
48313 _ACEOF
48314
48315 fi
48316 done
48317
48318 else
48319
48320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48321 $as_echo_n "checking for _powf declaration... " >&6; }
48322 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48323 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48324 $as_echo_n "(cached) " >&6
48325 else
48326
48327
48328 ac_ext=cpp
48329 ac_cpp='$CXXCPP $CPPFLAGS'
48330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48333
48334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48335 /* end confdefs.h. */
48336 #include <math.h>
48337 int
48338 main ()
48339 {
48340 _powf(0, 0);
48341 ;
48342 return 0;
48343 }
48344 _ACEOF
48345 if ac_fn_cxx_try_compile "$LINENO"; then :
48346 glibcxx_cv_func__powf_use=yes
48347 else
48348 glibcxx_cv_func__powf_use=no
48349 fi
48350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48351 ac_ext=c
48352 ac_cpp='$CPP $CPPFLAGS'
48353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48356
48357
48358 fi
48359
48360 fi
48361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48362 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48363
48364 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48365 for ac_func in _powf
48366 do :
48367 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48368 if test "x$ac_cv_func__powf" = x""yes; then :
48369 cat >>confdefs.h <<_ACEOF
48370 #define HAVE__POWF 1
48371 _ACEOF
48372
48373 fi
48374 done
48375
48376 fi
48377 fi
48378
48379
48380
48381
48382
48383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48384 $as_echo_n "checking for sqrtf declaration... " >&6; }
48385 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48386 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48387 $as_echo_n "(cached) " >&6
48388 else
48389
48390
48391 ac_ext=cpp
48392 ac_cpp='$CXXCPP $CPPFLAGS'
48393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48396
48397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48398 /* end confdefs.h. */
48399 #include <math.h>
48400 #ifdef HAVE_IEEEFP_H
48401 #include <ieeefp.h>
48402 #endif
48403
48404 int
48405 main ()
48406 {
48407 sqrtf(0);
48408 ;
48409 return 0;
48410 }
48411 _ACEOF
48412 if ac_fn_cxx_try_compile "$LINENO"; then :
48413 glibcxx_cv_func_sqrtf_use=yes
48414 else
48415 glibcxx_cv_func_sqrtf_use=no
48416 fi
48417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48418 ac_ext=c
48419 ac_cpp='$CPP $CPPFLAGS'
48420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48423
48424
48425 fi
48426
48427 fi
48428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48429 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48430
48431 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48432 for ac_func in sqrtf
48433 do :
48434 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48435 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48436 cat >>confdefs.h <<_ACEOF
48437 #define HAVE_SQRTF 1
48438 _ACEOF
48439
48440 fi
48441 done
48442
48443 else
48444
48445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48446 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48447 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48448 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48449 $as_echo_n "(cached) " >&6
48450 else
48451
48452
48453 ac_ext=cpp
48454 ac_cpp='$CXXCPP $CPPFLAGS'
48455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48458
48459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48460 /* end confdefs.h. */
48461 #include <math.h>
48462 #ifdef HAVE_IEEEFP_H
48463 #include <ieeefp.h>
48464 #endif
48465
48466 int
48467 main ()
48468 {
48469 _sqrtf(0);
48470 ;
48471 return 0;
48472 }
48473 _ACEOF
48474 if ac_fn_cxx_try_compile "$LINENO"; then :
48475 glibcxx_cv_func__sqrtf_use=yes
48476 else
48477 glibcxx_cv_func__sqrtf_use=no
48478 fi
48479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48480 ac_ext=c
48481 ac_cpp='$CPP $CPPFLAGS'
48482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48485
48486
48487 fi
48488
48489 fi
48490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48491 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48492
48493 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48494 for ac_func in _sqrtf
48495 do :
48496 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48497 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48498 cat >>confdefs.h <<_ACEOF
48499 #define HAVE__SQRTF 1
48500 _ACEOF
48501
48502 fi
48503 done
48504
48505 fi
48506 fi
48507
48508
48509
48510
48511
48512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48513 $as_echo_n "checking for sincosf declaration... " >&6; }
48514 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48515 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48516 $as_echo_n "(cached) " >&6
48517 else
48518
48519
48520 ac_ext=cpp
48521 ac_cpp='$CXXCPP $CPPFLAGS'
48522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48525
48526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48527 /* end confdefs.h. */
48528 #include <math.h>
48529 int
48530 main ()
48531 {
48532 sincosf(0, 0, 0);
48533 ;
48534 return 0;
48535 }
48536 _ACEOF
48537 if ac_fn_cxx_try_compile "$LINENO"; then :
48538 glibcxx_cv_func_sincosf_use=yes
48539 else
48540 glibcxx_cv_func_sincosf_use=no
48541 fi
48542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48543 ac_ext=c
48544 ac_cpp='$CPP $CPPFLAGS'
48545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48548
48549
48550 fi
48551
48552 fi
48553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48554 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48555
48556 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48557 for ac_func in sincosf
48558 do :
48559 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48560 if test "x$ac_cv_func_sincosf" = x""yes; then :
48561 cat >>confdefs.h <<_ACEOF
48562 #define HAVE_SINCOSF 1
48563 _ACEOF
48564
48565 fi
48566 done
48567
48568 else
48569
48570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48571 $as_echo_n "checking for _sincosf declaration... " >&6; }
48572 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48573 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48574 $as_echo_n "(cached) " >&6
48575 else
48576
48577
48578 ac_ext=cpp
48579 ac_cpp='$CXXCPP $CPPFLAGS'
48580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48583
48584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48585 /* end confdefs.h. */
48586 #include <math.h>
48587 int
48588 main ()
48589 {
48590 _sincosf(0, 0, 0);
48591 ;
48592 return 0;
48593 }
48594 _ACEOF
48595 if ac_fn_cxx_try_compile "$LINENO"; then :
48596 glibcxx_cv_func__sincosf_use=yes
48597 else
48598 glibcxx_cv_func__sincosf_use=no
48599 fi
48600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48601 ac_ext=c
48602 ac_cpp='$CPP $CPPFLAGS'
48603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48606
48607
48608 fi
48609
48610 fi
48611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48612 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48613
48614 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48615 for ac_func in _sincosf
48616 do :
48617 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48618 if test "x$ac_cv_func__sincosf" = x""yes; then :
48619 cat >>confdefs.h <<_ACEOF
48620 #define HAVE__SINCOSF 1
48621 _ACEOF
48622
48623 fi
48624 done
48625
48626 fi
48627 fi
48628
48629
48630
48631
48632
48633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48634 $as_echo_n "checking for finitef declaration... " >&6; }
48635 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48636 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48637 $as_echo_n "(cached) " >&6
48638 else
48639
48640
48641 ac_ext=cpp
48642 ac_cpp='$CXXCPP $CPPFLAGS'
48643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48646
48647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48648 /* end confdefs.h. */
48649 #include <math.h>
48650 #ifdef HAVE_IEEEFP_H
48651 #include <ieeefp.h>
48652 #endif
48653
48654 int
48655 main ()
48656 {
48657 finitef(0);
48658 ;
48659 return 0;
48660 }
48661 _ACEOF
48662 if ac_fn_cxx_try_compile "$LINENO"; then :
48663 glibcxx_cv_func_finitef_use=yes
48664 else
48665 glibcxx_cv_func_finitef_use=no
48666 fi
48667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48668 ac_ext=c
48669 ac_cpp='$CPP $CPPFLAGS'
48670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48673
48674
48675 fi
48676
48677 fi
48678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48679 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48680
48681 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48682 for ac_func in finitef
48683 do :
48684 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48685 if test "x$ac_cv_func_finitef" = x""yes; then :
48686 cat >>confdefs.h <<_ACEOF
48687 #define HAVE_FINITEF 1
48688 _ACEOF
48689
48690 fi
48691 done
48692
48693 else
48694
48695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48696 $as_echo_n "checking for _finitef declaration... " >&6; }
48697 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48698 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48699 $as_echo_n "(cached) " >&6
48700 else
48701
48702
48703 ac_ext=cpp
48704 ac_cpp='$CXXCPP $CPPFLAGS'
48705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48708
48709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48710 /* end confdefs.h. */
48711 #include <math.h>
48712 #ifdef HAVE_IEEEFP_H
48713 #include <ieeefp.h>
48714 #endif
48715
48716 int
48717 main ()
48718 {
48719 _finitef(0);
48720 ;
48721 return 0;
48722 }
48723 _ACEOF
48724 if ac_fn_cxx_try_compile "$LINENO"; then :
48725 glibcxx_cv_func__finitef_use=yes
48726 else
48727 glibcxx_cv_func__finitef_use=no
48728 fi
48729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48730 ac_ext=c
48731 ac_cpp='$CPP $CPPFLAGS'
48732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48735
48736
48737 fi
48738
48739 fi
48740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48741 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48742
48743 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48744 for ac_func in _finitef
48745 do :
48746 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48747 if test "x$ac_cv_func__finitef" = x""yes; then :
48748 cat >>confdefs.h <<_ACEOF
48749 #define HAVE__FINITEF 1
48750 _ACEOF
48751
48752 fi
48753 done
48754
48755 fi
48756 fi
48757
48758
48759
48760
48761
48762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48763 $as_echo_n "checking for long double trig functions... " >&6; }
48764 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48765 $as_echo_n "(cached) " >&6
48766 else
48767
48768
48769 ac_ext=cpp
48770 ac_cpp='$CXXCPP $CPPFLAGS'
48771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48774
48775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48776 /* end confdefs.h. */
48777 #include <math.h>
48778 int
48779 main ()
48780 {
48781 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48782 ;
48783 return 0;
48784 }
48785 _ACEOF
48786 if ac_fn_cxx_try_compile "$LINENO"; then :
48787 glibcxx_cv_func_long_double_trig_use=yes
48788 else
48789 glibcxx_cv_func_long_double_trig_use=no
48790 fi
48791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48792 ac_ext=c
48793 ac_cpp='$CPP $CPPFLAGS'
48794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48797
48798 fi
48799
48800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48801 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48802 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48803 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48804 do :
48805 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48806 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48807 eval as_val=\$$as_ac_var
48808 if test "x$as_val" = x""yes; then :
48809 cat >>confdefs.h <<_ACEOF
48810 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48811 _ACEOF
48812
48813 fi
48814 done
48815
48816 else
48817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48818 $as_echo_n "checking for _long double trig functions... " >&6; }
48819 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48820 $as_echo_n "(cached) " >&6
48821 else
48822
48823
48824 ac_ext=cpp
48825 ac_cpp='$CXXCPP $CPPFLAGS'
48826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48829
48830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48831 /* end confdefs.h. */
48832 #include <math.h>
48833 int
48834 main ()
48835 {
48836 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48837 ;
48838 return 0;
48839 }
48840 _ACEOF
48841 if ac_fn_cxx_try_compile "$LINENO"; then :
48842 glibcxx_cv_func__long_double_trig_use=yes
48843 else
48844 glibcxx_cv_func__long_double_trig_use=no
48845 fi
48846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48847 ac_ext=c
48848 ac_cpp='$CPP $CPPFLAGS'
48849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48852
48853 fi
48854
48855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48856 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48857 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48858 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48859 do :
48860 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48861 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48862 eval as_val=\$$as_ac_var
48863 if test "x$as_val" = x""yes; then :
48864 cat >>confdefs.h <<_ACEOF
48865 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48866 _ACEOF
48867
48868 fi
48869 done
48870
48871 fi
48872 fi
48873
48874
48875
48876
48877
48878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48879 $as_echo_n "checking for long double round functions... " >&6; }
48880 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48881 $as_echo_n "(cached) " >&6
48882 else
48883
48884
48885 ac_ext=cpp
48886 ac_cpp='$CXXCPP $CPPFLAGS'
48887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48890
48891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48892 /* end confdefs.h. */
48893 #include <math.h>
48894 int
48895 main ()
48896 {
48897 ceill (0); floorl (0);
48898 ;
48899 return 0;
48900 }
48901 _ACEOF
48902 if ac_fn_cxx_try_compile "$LINENO"; then :
48903 glibcxx_cv_func_long_double_round_use=yes
48904 else
48905 glibcxx_cv_func_long_double_round_use=no
48906 fi
48907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48908 ac_ext=c
48909 ac_cpp='$CPP $CPPFLAGS'
48910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48913
48914 fi
48915
48916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48917 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48918 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48919 for ac_func in ceill floorl
48920 do :
48921 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48922 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48923 eval as_val=\$$as_ac_var
48924 if test "x$as_val" = x""yes; then :
48925 cat >>confdefs.h <<_ACEOF
48926 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48927 _ACEOF
48928
48929 fi
48930 done
48931
48932 else
48933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48934 $as_echo_n "checking for _long double round functions... " >&6; }
48935 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48936 $as_echo_n "(cached) " >&6
48937 else
48938
48939
48940 ac_ext=cpp
48941 ac_cpp='$CXXCPP $CPPFLAGS'
48942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48945
48946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48947 /* end confdefs.h. */
48948 #include <math.h>
48949 int
48950 main ()
48951 {
48952 _ceill (0); _floorl (0);
48953 ;
48954 return 0;
48955 }
48956 _ACEOF
48957 if ac_fn_cxx_try_compile "$LINENO"; then :
48958 glibcxx_cv_func__long_double_round_use=yes
48959 else
48960 glibcxx_cv_func__long_double_round_use=no
48961 fi
48962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48963 ac_ext=c
48964 ac_cpp='$CPP $CPPFLAGS'
48965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48968
48969 fi
48970
48971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48972 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48973 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48974 for ac_func in _ceill _floorl
48975 do :
48976 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48977 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48978 eval as_val=\$$as_ac_var
48979 if test "x$as_val" = x""yes; then :
48980 cat >>confdefs.h <<_ACEOF
48981 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48982 _ACEOF
48983
48984 fi
48985 done
48986
48987 fi
48988 fi
48989
48990
48991
48992
48993
48994
48995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48996 $as_echo_n "checking for isnanl declaration... " >&6; }
48997 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48998 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48999 $as_echo_n "(cached) " >&6
49000 else
49001
49002
49003 ac_ext=cpp
49004 ac_cpp='$CXXCPP $CPPFLAGS'
49005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49008
49009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49010 /* end confdefs.h. */
49011 #include <math.h>
49012 #ifdef HAVE_IEEEFP_H
49013 #include <ieeefp.h>
49014 #endif
49015
49016 int
49017 main ()
49018 {
49019 isnanl(0);
49020 ;
49021 return 0;
49022 }
49023 _ACEOF
49024 if ac_fn_cxx_try_compile "$LINENO"; then :
49025 glibcxx_cv_func_isnanl_use=yes
49026 else
49027 glibcxx_cv_func_isnanl_use=no
49028 fi
49029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49030 ac_ext=c
49031 ac_cpp='$CPP $CPPFLAGS'
49032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49035
49036
49037 fi
49038
49039 fi
49040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49041 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49042
49043 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49044 for ac_func in isnanl
49045 do :
49046 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49047 if test "x$ac_cv_func_isnanl" = x""yes; then :
49048 cat >>confdefs.h <<_ACEOF
49049 #define HAVE_ISNANL 1
49050 _ACEOF
49051
49052 fi
49053 done
49054
49055 else
49056
49057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49058 $as_echo_n "checking for _isnanl declaration... " >&6; }
49059 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49060 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49061 $as_echo_n "(cached) " >&6
49062 else
49063
49064
49065 ac_ext=cpp
49066 ac_cpp='$CXXCPP $CPPFLAGS'
49067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49070
49071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49072 /* end confdefs.h. */
49073 #include <math.h>
49074 #ifdef HAVE_IEEEFP_H
49075 #include <ieeefp.h>
49076 #endif
49077
49078 int
49079 main ()
49080 {
49081 _isnanl(0);
49082 ;
49083 return 0;
49084 }
49085 _ACEOF
49086 if ac_fn_cxx_try_compile "$LINENO"; then :
49087 glibcxx_cv_func__isnanl_use=yes
49088 else
49089 glibcxx_cv_func__isnanl_use=no
49090 fi
49091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49092 ac_ext=c
49093 ac_cpp='$CPP $CPPFLAGS'
49094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49097
49098
49099 fi
49100
49101 fi
49102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49103 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49104
49105 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49106 for ac_func in _isnanl
49107 do :
49108 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49109 if test "x$ac_cv_func__isnanl" = x""yes; then :
49110 cat >>confdefs.h <<_ACEOF
49111 #define HAVE__ISNANL 1
49112 _ACEOF
49113
49114 fi
49115 done
49116
49117 fi
49118 fi
49119
49120
49121
49122
49123
49124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49125 $as_echo_n "checking for isinfl declaration... " >&6; }
49126 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49127 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49128 $as_echo_n "(cached) " >&6
49129 else
49130
49131
49132 ac_ext=cpp
49133 ac_cpp='$CXXCPP $CPPFLAGS'
49134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49137
49138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49139 /* end confdefs.h. */
49140 #include <math.h>
49141 #ifdef HAVE_IEEEFP_H
49142 #include <ieeefp.h>
49143 #endif
49144
49145 int
49146 main ()
49147 {
49148 isinfl(0);
49149 ;
49150 return 0;
49151 }
49152 _ACEOF
49153 if ac_fn_cxx_try_compile "$LINENO"; then :
49154 glibcxx_cv_func_isinfl_use=yes
49155 else
49156 glibcxx_cv_func_isinfl_use=no
49157 fi
49158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49159 ac_ext=c
49160 ac_cpp='$CPP $CPPFLAGS'
49161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49164
49165
49166 fi
49167
49168 fi
49169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49170 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49171
49172 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49173 for ac_func in isinfl
49174 do :
49175 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49176 if test "x$ac_cv_func_isinfl" = x""yes; then :
49177 cat >>confdefs.h <<_ACEOF
49178 #define HAVE_ISINFL 1
49179 _ACEOF
49180
49181 fi
49182 done
49183
49184 else
49185
49186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49187 $as_echo_n "checking for _isinfl declaration... " >&6; }
49188 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49189 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49190 $as_echo_n "(cached) " >&6
49191 else
49192
49193
49194 ac_ext=cpp
49195 ac_cpp='$CXXCPP $CPPFLAGS'
49196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49199
49200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49201 /* end confdefs.h. */
49202 #include <math.h>
49203 #ifdef HAVE_IEEEFP_H
49204 #include <ieeefp.h>
49205 #endif
49206
49207 int
49208 main ()
49209 {
49210 _isinfl(0);
49211 ;
49212 return 0;
49213 }
49214 _ACEOF
49215 if ac_fn_cxx_try_compile "$LINENO"; then :
49216 glibcxx_cv_func__isinfl_use=yes
49217 else
49218 glibcxx_cv_func__isinfl_use=no
49219 fi
49220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49221 ac_ext=c
49222 ac_cpp='$CPP $CPPFLAGS'
49223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49226
49227
49228 fi
49229
49230 fi
49231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49232 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49233
49234 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49235 for ac_func in _isinfl
49236 do :
49237 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49238 if test "x$ac_cv_func__isinfl" = x""yes; then :
49239 cat >>confdefs.h <<_ACEOF
49240 #define HAVE__ISINFL 1
49241 _ACEOF
49242
49243 fi
49244 done
49245
49246 fi
49247 fi
49248
49249
49250
49251
49252
49253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49254 $as_echo_n "checking for atan2l declaration... " >&6; }
49255 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49256 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49257 $as_echo_n "(cached) " >&6
49258 else
49259
49260
49261 ac_ext=cpp
49262 ac_cpp='$CXXCPP $CPPFLAGS'
49263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49266
49267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49268 /* end confdefs.h. */
49269 #include <math.h>
49270 int
49271 main ()
49272 {
49273 atan2l(0, 0);
49274 ;
49275 return 0;
49276 }
49277 _ACEOF
49278 if ac_fn_cxx_try_compile "$LINENO"; then :
49279 glibcxx_cv_func_atan2l_use=yes
49280 else
49281 glibcxx_cv_func_atan2l_use=no
49282 fi
49283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49284 ac_ext=c
49285 ac_cpp='$CPP $CPPFLAGS'
49286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49289
49290
49291 fi
49292
49293 fi
49294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49295 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49296
49297 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49298 for ac_func in atan2l
49299 do :
49300 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49301 if test "x$ac_cv_func_atan2l" = x""yes; then :
49302 cat >>confdefs.h <<_ACEOF
49303 #define HAVE_ATAN2L 1
49304 _ACEOF
49305
49306 fi
49307 done
49308
49309 else
49310
49311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49312 $as_echo_n "checking for _atan2l declaration... " >&6; }
49313 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49314 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49315 $as_echo_n "(cached) " >&6
49316 else
49317
49318
49319 ac_ext=cpp
49320 ac_cpp='$CXXCPP $CPPFLAGS'
49321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49324
49325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49326 /* end confdefs.h. */
49327 #include <math.h>
49328 int
49329 main ()
49330 {
49331 _atan2l(0, 0);
49332 ;
49333 return 0;
49334 }
49335 _ACEOF
49336 if ac_fn_cxx_try_compile "$LINENO"; then :
49337 glibcxx_cv_func__atan2l_use=yes
49338 else
49339 glibcxx_cv_func__atan2l_use=no
49340 fi
49341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49342 ac_ext=c
49343 ac_cpp='$CPP $CPPFLAGS'
49344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49347
49348
49349 fi
49350
49351 fi
49352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49353 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49354
49355 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49356 for ac_func in _atan2l
49357 do :
49358 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49359 if test "x$ac_cv_func__atan2l" = x""yes; then :
49360 cat >>confdefs.h <<_ACEOF
49361 #define HAVE__ATAN2L 1
49362 _ACEOF
49363
49364 fi
49365 done
49366
49367 fi
49368 fi
49369
49370
49371
49372
49373
49374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49375 $as_echo_n "checking for expl declaration... " >&6; }
49376 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49377 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49378 $as_echo_n "(cached) " >&6
49379 else
49380
49381
49382 ac_ext=cpp
49383 ac_cpp='$CXXCPP $CPPFLAGS'
49384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49387
49388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49389 /* end confdefs.h. */
49390 #include <math.h>
49391 #ifdef HAVE_IEEEFP_H
49392 #include <ieeefp.h>
49393 #endif
49394
49395 int
49396 main ()
49397 {
49398 expl(0);
49399 ;
49400 return 0;
49401 }
49402 _ACEOF
49403 if ac_fn_cxx_try_compile "$LINENO"; then :
49404 glibcxx_cv_func_expl_use=yes
49405 else
49406 glibcxx_cv_func_expl_use=no
49407 fi
49408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49409 ac_ext=c
49410 ac_cpp='$CPP $CPPFLAGS'
49411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49414
49415
49416 fi
49417
49418 fi
49419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49420 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49421
49422 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49423 for ac_func in expl
49424 do :
49425 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49426 if test "x$ac_cv_func_expl" = x""yes; then :
49427 cat >>confdefs.h <<_ACEOF
49428 #define HAVE_EXPL 1
49429 _ACEOF
49430
49431 fi
49432 done
49433
49434 else
49435
49436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49437 $as_echo_n "checking for _expl declaration... " >&6; }
49438 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49439 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49440 $as_echo_n "(cached) " >&6
49441 else
49442
49443
49444 ac_ext=cpp
49445 ac_cpp='$CXXCPP $CPPFLAGS'
49446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49449
49450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49451 /* end confdefs.h. */
49452 #include <math.h>
49453 #ifdef HAVE_IEEEFP_H
49454 #include <ieeefp.h>
49455 #endif
49456
49457 int
49458 main ()
49459 {
49460 _expl(0);
49461 ;
49462 return 0;
49463 }
49464 _ACEOF
49465 if ac_fn_cxx_try_compile "$LINENO"; then :
49466 glibcxx_cv_func__expl_use=yes
49467 else
49468 glibcxx_cv_func__expl_use=no
49469 fi
49470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49471 ac_ext=c
49472 ac_cpp='$CPP $CPPFLAGS'
49473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49476
49477
49478 fi
49479
49480 fi
49481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49482 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49483
49484 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49485 for ac_func in _expl
49486 do :
49487 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49488 if test "x$ac_cv_func__expl" = x""yes; then :
49489 cat >>confdefs.h <<_ACEOF
49490 #define HAVE__EXPL 1
49491 _ACEOF
49492
49493 fi
49494 done
49495
49496 fi
49497 fi
49498
49499
49500
49501
49502
49503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49504 $as_echo_n "checking for fabsl declaration... " >&6; }
49505 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49506 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49507 $as_echo_n "(cached) " >&6
49508 else
49509
49510
49511 ac_ext=cpp
49512 ac_cpp='$CXXCPP $CPPFLAGS'
49513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49516
49517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49518 /* end confdefs.h. */
49519 #include <math.h>
49520 #ifdef HAVE_IEEEFP_H
49521 #include <ieeefp.h>
49522 #endif
49523
49524 int
49525 main ()
49526 {
49527 fabsl(0);
49528 ;
49529 return 0;
49530 }
49531 _ACEOF
49532 if ac_fn_cxx_try_compile "$LINENO"; then :
49533 glibcxx_cv_func_fabsl_use=yes
49534 else
49535 glibcxx_cv_func_fabsl_use=no
49536 fi
49537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49538 ac_ext=c
49539 ac_cpp='$CPP $CPPFLAGS'
49540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49543
49544
49545 fi
49546
49547 fi
49548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49549 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49550
49551 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49552 for ac_func in fabsl
49553 do :
49554 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49555 if test "x$ac_cv_func_fabsl" = x""yes; then :
49556 cat >>confdefs.h <<_ACEOF
49557 #define HAVE_FABSL 1
49558 _ACEOF
49559
49560 fi
49561 done
49562
49563 else
49564
49565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49566 $as_echo_n "checking for _fabsl declaration... " >&6; }
49567 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49568 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49569 $as_echo_n "(cached) " >&6
49570 else
49571
49572
49573 ac_ext=cpp
49574 ac_cpp='$CXXCPP $CPPFLAGS'
49575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49578
49579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49580 /* end confdefs.h. */
49581 #include <math.h>
49582 #ifdef HAVE_IEEEFP_H
49583 #include <ieeefp.h>
49584 #endif
49585
49586 int
49587 main ()
49588 {
49589 _fabsl(0);
49590 ;
49591 return 0;
49592 }
49593 _ACEOF
49594 if ac_fn_cxx_try_compile "$LINENO"; then :
49595 glibcxx_cv_func__fabsl_use=yes
49596 else
49597 glibcxx_cv_func__fabsl_use=no
49598 fi
49599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49600 ac_ext=c
49601 ac_cpp='$CPP $CPPFLAGS'
49602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49605
49606
49607 fi
49608
49609 fi
49610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49611 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49612
49613 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49614 for ac_func in _fabsl
49615 do :
49616 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49617 if test "x$ac_cv_func__fabsl" = x""yes; then :
49618 cat >>confdefs.h <<_ACEOF
49619 #define HAVE__FABSL 1
49620 _ACEOF
49621
49622 fi
49623 done
49624
49625 fi
49626 fi
49627
49628
49629
49630
49631
49632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49633 $as_echo_n "checking for fmodl declaration... " >&6; }
49634 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49635 if test "${glibcxx_cv_func_fmodl_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 fmodl(0, 0);
49653 ;
49654 return 0;
49655 }
49656 _ACEOF
49657 if ac_fn_cxx_try_compile "$LINENO"; then :
49658 glibcxx_cv_func_fmodl_use=yes
49659 else
49660 glibcxx_cv_func_fmodl_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
49670 fi
49671
49672 fi
49673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49674 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49675
49676 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49677 for ac_func in fmodl
49678 do :
49679 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49680 if test "x$ac_cv_func_fmodl" = x""yes; then :
49681 cat >>confdefs.h <<_ACEOF
49682 #define HAVE_FMODL 1
49683 _ACEOF
49684
49685 fi
49686 done
49687
49688 else
49689
49690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49691 $as_echo_n "checking for _fmodl declaration... " >&6; }
49692 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49693 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49694 $as_echo_n "(cached) " >&6
49695 else
49696
49697
49698 ac_ext=cpp
49699 ac_cpp='$CXXCPP $CPPFLAGS'
49700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49703
49704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49705 /* end confdefs.h. */
49706 #include <math.h>
49707 int
49708 main ()
49709 {
49710 _fmodl(0, 0);
49711 ;
49712 return 0;
49713 }
49714 _ACEOF
49715 if ac_fn_cxx_try_compile "$LINENO"; then :
49716 glibcxx_cv_func__fmodl_use=yes
49717 else
49718 glibcxx_cv_func__fmodl_use=no
49719 fi
49720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49721 ac_ext=c
49722 ac_cpp='$CPP $CPPFLAGS'
49723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49726
49727
49728 fi
49729
49730 fi
49731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49732 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49733
49734 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49735 for ac_func in _fmodl
49736 do :
49737 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49738 if test "x$ac_cv_func__fmodl" = x""yes; then :
49739 cat >>confdefs.h <<_ACEOF
49740 #define HAVE__FMODL 1
49741 _ACEOF
49742
49743 fi
49744 done
49745
49746 fi
49747 fi
49748
49749
49750
49751
49752
49753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49754 $as_echo_n "checking for frexpl declaration... " >&6; }
49755 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49756 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49757 $as_echo_n "(cached) " >&6
49758 else
49759
49760
49761 ac_ext=cpp
49762 ac_cpp='$CXXCPP $CPPFLAGS'
49763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49766
49767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49768 /* end confdefs.h. */
49769 #include <math.h>
49770 int
49771 main ()
49772 {
49773 frexpl(0, 0);
49774 ;
49775 return 0;
49776 }
49777 _ACEOF
49778 if ac_fn_cxx_try_compile "$LINENO"; then :
49779 glibcxx_cv_func_frexpl_use=yes
49780 else
49781 glibcxx_cv_func_frexpl_use=no
49782 fi
49783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49784 ac_ext=c
49785 ac_cpp='$CPP $CPPFLAGS'
49786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49789
49790
49791 fi
49792
49793 fi
49794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49795 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49796
49797 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49798 for ac_func in frexpl
49799 do :
49800 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49801 if test "x$ac_cv_func_frexpl" = x""yes; then :
49802 cat >>confdefs.h <<_ACEOF
49803 #define HAVE_FREXPL 1
49804 _ACEOF
49805
49806 fi
49807 done
49808
49809 else
49810
49811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49812 $as_echo_n "checking for _frexpl declaration... " >&6; }
49813 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49814 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49815 $as_echo_n "(cached) " >&6
49816 else
49817
49818
49819 ac_ext=cpp
49820 ac_cpp='$CXXCPP $CPPFLAGS'
49821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49824
49825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49826 /* end confdefs.h. */
49827 #include <math.h>
49828 int
49829 main ()
49830 {
49831 _frexpl(0, 0);
49832 ;
49833 return 0;
49834 }
49835 _ACEOF
49836 if ac_fn_cxx_try_compile "$LINENO"; then :
49837 glibcxx_cv_func__frexpl_use=yes
49838 else
49839 glibcxx_cv_func__frexpl_use=no
49840 fi
49841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49842 ac_ext=c
49843 ac_cpp='$CPP $CPPFLAGS'
49844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49847
49848
49849 fi
49850
49851 fi
49852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49853 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49854
49855 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49856 for ac_func in _frexpl
49857 do :
49858 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49859 if test "x$ac_cv_func__frexpl" = x""yes; then :
49860 cat >>confdefs.h <<_ACEOF
49861 #define HAVE__FREXPL 1
49862 _ACEOF
49863
49864 fi
49865 done
49866
49867 fi
49868 fi
49869
49870
49871
49872
49873
49874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49875 $as_echo_n "checking for hypotl declaration... " >&6; }
49876 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49877 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49878 $as_echo_n "(cached) " >&6
49879 else
49880
49881
49882 ac_ext=cpp
49883 ac_cpp='$CXXCPP $CPPFLAGS'
49884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49887
49888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49889 /* end confdefs.h. */
49890 #include <math.h>
49891 int
49892 main ()
49893 {
49894 hypotl(0, 0);
49895 ;
49896 return 0;
49897 }
49898 _ACEOF
49899 if ac_fn_cxx_try_compile "$LINENO"; then :
49900 glibcxx_cv_func_hypotl_use=yes
49901 else
49902 glibcxx_cv_func_hypotl_use=no
49903 fi
49904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49905 ac_ext=c
49906 ac_cpp='$CPP $CPPFLAGS'
49907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49910
49911
49912 fi
49913
49914 fi
49915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49916 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49917
49918 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49919 for ac_func in hypotl
49920 do :
49921 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49922 if test "x$ac_cv_func_hypotl" = x""yes; then :
49923 cat >>confdefs.h <<_ACEOF
49924 #define HAVE_HYPOTL 1
49925 _ACEOF
49926
49927 fi
49928 done
49929
49930 else
49931
49932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49933 $as_echo_n "checking for _hypotl declaration... " >&6; }
49934 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49935 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49936 $as_echo_n "(cached) " >&6
49937 else
49938
49939
49940 ac_ext=cpp
49941 ac_cpp='$CXXCPP $CPPFLAGS'
49942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49945
49946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49947 /* end confdefs.h. */
49948 #include <math.h>
49949 int
49950 main ()
49951 {
49952 _hypotl(0, 0);
49953 ;
49954 return 0;
49955 }
49956 _ACEOF
49957 if ac_fn_cxx_try_compile "$LINENO"; then :
49958 glibcxx_cv_func__hypotl_use=yes
49959 else
49960 glibcxx_cv_func__hypotl_use=no
49961 fi
49962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49963 ac_ext=c
49964 ac_cpp='$CPP $CPPFLAGS'
49965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49968
49969
49970 fi
49971
49972 fi
49973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49974 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49975
49976 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49977 for ac_func in _hypotl
49978 do :
49979 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49980 if test "x$ac_cv_func__hypotl" = x""yes; then :
49981 cat >>confdefs.h <<_ACEOF
49982 #define HAVE__HYPOTL 1
49983 _ACEOF
49984
49985 fi
49986 done
49987
49988 fi
49989 fi
49990
49991
49992
49993
49994
49995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49996 $as_echo_n "checking for ldexpl declaration... " >&6; }
49997 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49998 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49999 $as_echo_n "(cached) " >&6
50000 else
50001
50002
50003 ac_ext=cpp
50004 ac_cpp='$CXXCPP $CPPFLAGS'
50005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50008
50009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50010 /* end confdefs.h. */
50011 #include <math.h>
50012 int
50013 main ()
50014 {
50015 ldexpl(0, 0);
50016 ;
50017 return 0;
50018 }
50019 _ACEOF
50020 if ac_fn_cxx_try_compile "$LINENO"; then :
50021 glibcxx_cv_func_ldexpl_use=yes
50022 else
50023 glibcxx_cv_func_ldexpl_use=no
50024 fi
50025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50026 ac_ext=c
50027 ac_cpp='$CPP $CPPFLAGS'
50028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50031
50032
50033 fi
50034
50035 fi
50036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50037 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50038
50039 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50040 for ac_func in ldexpl
50041 do :
50042 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50043 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50044 cat >>confdefs.h <<_ACEOF
50045 #define HAVE_LDEXPL 1
50046 _ACEOF
50047
50048 fi
50049 done
50050
50051 else
50052
50053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50054 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50055 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50056 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50057 $as_echo_n "(cached) " >&6
50058 else
50059
50060
50061 ac_ext=cpp
50062 ac_cpp='$CXXCPP $CPPFLAGS'
50063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50066
50067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50068 /* end confdefs.h. */
50069 #include <math.h>
50070 int
50071 main ()
50072 {
50073 _ldexpl(0, 0);
50074 ;
50075 return 0;
50076 }
50077 _ACEOF
50078 if ac_fn_cxx_try_compile "$LINENO"; then :
50079 glibcxx_cv_func__ldexpl_use=yes
50080 else
50081 glibcxx_cv_func__ldexpl_use=no
50082 fi
50083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50084 ac_ext=c
50085 ac_cpp='$CPP $CPPFLAGS'
50086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50089
50090
50091 fi
50092
50093 fi
50094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50095 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50096
50097 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50098 for ac_func in _ldexpl
50099 do :
50100 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50101 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50102 cat >>confdefs.h <<_ACEOF
50103 #define HAVE__LDEXPL 1
50104 _ACEOF
50105
50106 fi
50107 done
50108
50109 fi
50110 fi
50111
50112
50113
50114
50115
50116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50117 $as_echo_n "checking for logl declaration... " >&6; }
50118 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50119 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50120 $as_echo_n "(cached) " >&6
50121 else
50122
50123
50124 ac_ext=cpp
50125 ac_cpp='$CXXCPP $CPPFLAGS'
50126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50129
50130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50131 /* end confdefs.h. */
50132 #include <math.h>
50133 #ifdef HAVE_IEEEFP_H
50134 #include <ieeefp.h>
50135 #endif
50136
50137 int
50138 main ()
50139 {
50140 logl(0);
50141 ;
50142 return 0;
50143 }
50144 _ACEOF
50145 if ac_fn_cxx_try_compile "$LINENO"; then :
50146 glibcxx_cv_func_logl_use=yes
50147 else
50148 glibcxx_cv_func_logl_use=no
50149 fi
50150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50151 ac_ext=c
50152 ac_cpp='$CPP $CPPFLAGS'
50153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50156
50157
50158 fi
50159
50160 fi
50161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50162 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50163
50164 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50165 for ac_func in logl
50166 do :
50167 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50168 if test "x$ac_cv_func_logl" = x""yes; then :
50169 cat >>confdefs.h <<_ACEOF
50170 #define HAVE_LOGL 1
50171 _ACEOF
50172
50173 fi
50174 done
50175
50176 else
50177
50178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50179 $as_echo_n "checking for _logl declaration... " >&6; }
50180 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50181 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50182 $as_echo_n "(cached) " >&6
50183 else
50184
50185
50186 ac_ext=cpp
50187 ac_cpp='$CXXCPP $CPPFLAGS'
50188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50191
50192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50193 /* end confdefs.h. */
50194 #include <math.h>
50195 #ifdef HAVE_IEEEFP_H
50196 #include <ieeefp.h>
50197 #endif
50198
50199 int
50200 main ()
50201 {
50202 _logl(0);
50203 ;
50204 return 0;
50205 }
50206 _ACEOF
50207 if ac_fn_cxx_try_compile "$LINENO"; then :
50208 glibcxx_cv_func__logl_use=yes
50209 else
50210 glibcxx_cv_func__logl_use=no
50211 fi
50212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50213 ac_ext=c
50214 ac_cpp='$CPP $CPPFLAGS'
50215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50218
50219
50220 fi
50221
50222 fi
50223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50224 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50225
50226 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50227 for ac_func in _logl
50228 do :
50229 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50230 if test "x$ac_cv_func__logl" = x""yes; then :
50231 cat >>confdefs.h <<_ACEOF
50232 #define HAVE__LOGL 1
50233 _ACEOF
50234
50235 fi
50236 done
50237
50238 fi
50239 fi
50240
50241
50242
50243
50244
50245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50246 $as_echo_n "checking for log10l declaration... " >&6; }
50247 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50248 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50249 $as_echo_n "(cached) " >&6
50250 else
50251
50252
50253 ac_ext=cpp
50254 ac_cpp='$CXXCPP $CPPFLAGS'
50255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50258
50259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50260 /* end confdefs.h. */
50261 #include <math.h>
50262 #ifdef HAVE_IEEEFP_H
50263 #include <ieeefp.h>
50264 #endif
50265
50266 int
50267 main ()
50268 {
50269 log10l(0);
50270 ;
50271 return 0;
50272 }
50273 _ACEOF
50274 if ac_fn_cxx_try_compile "$LINENO"; then :
50275 glibcxx_cv_func_log10l_use=yes
50276 else
50277 glibcxx_cv_func_log10l_use=no
50278 fi
50279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50280 ac_ext=c
50281 ac_cpp='$CPP $CPPFLAGS'
50282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50285
50286
50287 fi
50288
50289 fi
50290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50291 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50292
50293 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50294 for ac_func in log10l
50295 do :
50296 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50297 if test "x$ac_cv_func_log10l" = x""yes; then :
50298 cat >>confdefs.h <<_ACEOF
50299 #define HAVE_LOG10L 1
50300 _ACEOF
50301
50302 fi
50303 done
50304
50305 else
50306
50307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50308 $as_echo_n "checking for _log10l declaration... " >&6; }
50309 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50310 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50311 $as_echo_n "(cached) " >&6
50312 else
50313
50314
50315 ac_ext=cpp
50316 ac_cpp='$CXXCPP $CPPFLAGS'
50317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50320
50321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50322 /* end confdefs.h. */
50323 #include <math.h>
50324 #ifdef HAVE_IEEEFP_H
50325 #include <ieeefp.h>
50326 #endif
50327
50328 int
50329 main ()
50330 {
50331 _log10l(0);
50332 ;
50333 return 0;
50334 }
50335 _ACEOF
50336 if ac_fn_cxx_try_compile "$LINENO"; then :
50337 glibcxx_cv_func__log10l_use=yes
50338 else
50339 glibcxx_cv_func__log10l_use=no
50340 fi
50341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50342 ac_ext=c
50343 ac_cpp='$CPP $CPPFLAGS'
50344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50347
50348
50349 fi
50350
50351 fi
50352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50353 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50354
50355 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50356 for ac_func in _log10l
50357 do :
50358 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50359 if test "x$ac_cv_func__log10l" = x""yes; then :
50360 cat >>confdefs.h <<_ACEOF
50361 #define HAVE__LOG10L 1
50362 _ACEOF
50363
50364 fi
50365 done
50366
50367 fi
50368 fi
50369
50370
50371
50372
50373
50374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50375 $as_echo_n "checking for modfl declaration... " >&6; }
50376 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50377 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50378 $as_echo_n "(cached) " >&6
50379 else
50380
50381
50382 ac_ext=cpp
50383 ac_cpp='$CXXCPP $CPPFLAGS'
50384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50387
50388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50389 /* end confdefs.h. */
50390 #include <math.h>
50391 int
50392 main ()
50393 {
50394 modfl(0, 0);
50395 ;
50396 return 0;
50397 }
50398 _ACEOF
50399 if ac_fn_cxx_try_compile "$LINENO"; then :
50400 glibcxx_cv_func_modfl_use=yes
50401 else
50402 glibcxx_cv_func_modfl_use=no
50403 fi
50404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50405 ac_ext=c
50406 ac_cpp='$CPP $CPPFLAGS'
50407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50410
50411
50412 fi
50413
50414 fi
50415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50416 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50417
50418 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50419 for ac_func in modfl
50420 do :
50421 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50422 if test "x$ac_cv_func_modfl" = x""yes; then :
50423 cat >>confdefs.h <<_ACEOF
50424 #define HAVE_MODFL 1
50425 _ACEOF
50426
50427 fi
50428 done
50429
50430 else
50431
50432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50433 $as_echo_n "checking for _modfl declaration... " >&6; }
50434 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50435 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50436 $as_echo_n "(cached) " >&6
50437 else
50438
50439
50440 ac_ext=cpp
50441 ac_cpp='$CXXCPP $CPPFLAGS'
50442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50445
50446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50447 /* end confdefs.h. */
50448 #include <math.h>
50449 int
50450 main ()
50451 {
50452 _modfl(0, 0);
50453 ;
50454 return 0;
50455 }
50456 _ACEOF
50457 if ac_fn_cxx_try_compile "$LINENO"; then :
50458 glibcxx_cv_func__modfl_use=yes
50459 else
50460 glibcxx_cv_func__modfl_use=no
50461 fi
50462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50463 ac_ext=c
50464 ac_cpp='$CPP $CPPFLAGS'
50465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50468
50469
50470 fi
50471
50472 fi
50473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50474 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50475
50476 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50477 for ac_func in _modfl
50478 do :
50479 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50480 if test "x$ac_cv_func__modfl" = x""yes; then :
50481 cat >>confdefs.h <<_ACEOF
50482 #define HAVE__MODFL 1
50483 _ACEOF
50484
50485 fi
50486 done
50487
50488 fi
50489 fi
50490
50491
50492
50493
50494
50495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50496 $as_echo_n "checking for powl declaration... " >&6; }
50497 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50498 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50499 $as_echo_n "(cached) " >&6
50500 else
50501
50502
50503 ac_ext=cpp
50504 ac_cpp='$CXXCPP $CPPFLAGS'
50505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50508
50509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50510 /* end confdefs.h. */
50511 #include <math.h>
50512 int
50513 main ()
50514 {
50515 powl(0, 0);
50516 ;
50517 return 0;
50518 }
50519 _ACEOF
50520 if ac_fn_cxx_try_compile "$LINENO"; then :
50521 glibcxx_cv_func_powl_use=yes
50522 else
50523 glibcxx_cv_func_powl_use=no
50524 fi
50525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50526 ac_ext=c
50527 ac_cpp='$CPP $CPPFLAGS'
50528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50531
50532
50533 fi
50534
50535 fi
50536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50537 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50538
50539 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50540 for ac_func in powl
50541 do :
50542 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50543 if test "x$ac_cv_func_powl" = x""yes; then :
50544 cat >>confdefs.h <<_ACEOF
50545 #define HAVE_POWL 1
50546 _ACEOF
50547
50548 fi
50549 done
50550
50551 else
50552
50553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50554 $as_echo_n "checking for _powl declaration... " >&6; }
50555 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50556 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50557 $as_echo_n "(cached) " >&6
50558 else
50559
50560
50561 ac_ext=cpp
50562 ac_cpp='$CXXCPP $CPPFLAGS'
50563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50566
50567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50568 /* end confdefs.h. */
50569 #include <math.h>
50570 int
50571 main ()
50572 {
50573 _powl(0, 0);
50574 ;
50575 return 0;
50576 }
50577 _ACEOF
50578 if ac_fn_cxx_try_compile "$LINENO"; then :
50579 glibcxx_cv_func__powl_use=yes
50580 else
50581 glibcxx_cv_func__powl_use=no
50582 fi
50583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50584 ac_ext=c
50585 ac_cpp='$CPP $CPPFLAGS'
50586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50589
50590
50591 fi
50592
50593 fi
50594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50595 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50596
50597 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50598 for ac_func in _powl
50599 do :
50600 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50601 if test "x$ac_cv_func__powl" = x""yes; then :
50602 cat >>confdefs.h <<_ACEOF
50603 #define HAVE__POWL 1
50604 _ACEOF
50605
50606 fi
50607 done
50608
50609 fi
50610 fi
50611
50612
50613
50614
50615
50616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50617 $as_echo_n "checking for sqrtl declaration... " >&6; }
50618 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50619 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50620 $as_echo_n "(cached) " >&6
50621 else
50622
50623
50624 ac_ext=cpp
50625 ac_cpp='$CXXCPP $CPPFLAGS'
50626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50629
50630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50631 /* end confdefs.h. */
50632 #include <math.h>
50633 #ifdef HAVE_IEEEFP_H
50634 #include <ieeefp.h>
50635 #endif
50636
50637 int
50638 main ()
50639 {
50640 sqrtl(0);
50641 ;
50642 return 0;
50643 }
50644 _ACEOF
50645 if ac_fn_cxx_try_compile "$LINENO"; then :
50646 glibcxx_cv_func_sqrtl_use=yes
50647 else
50648 glibcxx_cv_func_sqrtl_use=no
50649 fi
50650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50651 ac_ext=c
50652 ac_cpp='$CPP $CPPFLAGS'
50653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50656
50657
50658 fi
50659
50660 fi
50661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50662 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50663
50664 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50665 for ac_func in sqrtl
50666 do :
50667 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50668 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50669 cat >>confdefs.h <<_ACEOF
50670 #define HAVE_SQRTL 1
50671 _ACEOF
50672
50673 fi
50674 done
50675
50676 else
50677
50678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50679 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50680 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50681 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50682 $as_echo_n "(cached) " >&6
50683 else
50684
50685
50686 ac_ext=cpp
50687 ac_cpp='$CXXCPP $CPPFLAGS'
50688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50691
50692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50693 /* end confdefs.h. */
50694 #include <math.h>
50695 #ifdef HAVE_IEEEFP_H
50696 #include <ieeefp.h>
50697 #endif
50698
50699 int
50700 main ()
50701 {
50702 _sqrtl(0);
50703 ;
50704 return 0;
50705 }
50706 _ACEOF
50707 if ac_fn_cxx_try_compile "$LINENO"; then :
50708 glibcxx_cv_func__sqrtl_use=yes
50709 else
50710 glibcxx_cv_func__sqrtl_use=no
50711 fi
50712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50713 ac_ext=c
50714 ac_cpp='$CPP $CPPFLAGS'
50715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50718
50719
50720 fi
50721
50722 fi
50723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50724 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50725
50726 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50727 for ac_func in _sqrtl
50728 do :
50729 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50730 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50731 cat >>confdefs.h <<_ACEOF
50732 #define HAVE__SQRTL 1
50733 _ACEOF
50734
50735 fi
50736 done
50737
50738 fi
50739 fi
50740
50741
50742
50743
50744
50745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50746 $as_echo_n "checking for sincosl declaration... " >&6; }
50747 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50748 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50749 $as_echo_n "(cached) " >&6
50750 else
50751
50752
50753 ac_ext=cpp
50754 ac_cpp='$CXXCPP $CPPFLAGS'
50755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50758
50759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50760 /* end confdefs.h. */
50761 #include <math.h>
50762 int
50763 main ()
50764 {
50765 sincosl(0, 0, 0);
50766 ;
50767 return 0;
50768 }
50769 _ACEOF
50770 if ac_fn_cxx_try_compile "$LINENO"; then :
50771 glibcxx_cv_func_sincosl_use=yes
50772 else
50773 glibcxx_cv_func_sincosl_use=no
50774 fi
50775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50776 ac_ext=c
50777 ac_cpp='$CPP $CPPFLAGS'
50778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50781
50782
50783 fi
50784
50785 fi
50786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50787 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50788
50789 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50790 for ac_func in sincosl
50791 do :
50792 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50793 if test "x$ac_cv_func_sincosl" = x""yes; then :
50794 cat >>confdefs.h <<_ACEOF
50795 #define HAVE_SINCOSL 1
50796 _ACEOF
50797
50798 fi
50799 done
50800
50801 else
50802
50803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50804 $as_echo_n "checking for _sincosl declaration... " >&6; }
50805 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50806 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50807 $as_echo_n "(cached) " >&6
50808 else
50809
50810
50811 ac_ext=cpp
50812 ac_cpp='$CXXCPP $CPPFLAGS'
50813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50816
50817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50818 /* end confdefs.h. */
50819 #include <math.h>
50820 int
50821 main ()
50822 {
50823 _sincosl(0, 0, 0);
50824 ;
50825 return 0;
50826 }
50827 _ACEOF
50828 if ac_fn_cxx_try_compile "$LINENO"; then :
50829 glibcxx_cv_func__sincosl_use=yes
50830 else
50831 glibcxx_cv_func__sincosl_use=no
50832 fi
50833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50834 ac_ext=c
50835 ac_cpp='$CPP $CPPFLAGS'
50836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50839
50840
50841 fi
50842
50843 fi
50844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50845 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50846
50847 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50848 for ac_func in _sincosl
50849 do :
50850 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50851 if test "x$ac_cv_func__sincosl" = x""yes; then :
50852 cat >>confdefs.h <<_ACEOF
50853 #define HAVE__SINCOSL 1
50854 _ACEOF
50855
50856 fi
50857 done
50858
50859 fi
50860 fi
50861
50862
50863
50864
50865
50866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50867 $as_echo_n "checking for finitel declaration... " >&6; }
50868 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50869 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50870 $as_echo_n "(cached) " >&6
50871 else
50872
50873
50874 ac_ext=cpp
50875 ac_cpp='$CXXCPP $CPPFLAGS'
50876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50879
50880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50881 /* end confdefs.h. */
50882 #include <math.h>
50883 #ifdef HAVE_IEEEFP_H
50884 #include <ieeefp.h>
50885 #endif
50886
50887 int
50888 main ()
50889 {
50890 finitel(0);
50891 ;
50892 return 0;
50893 }
50894 _ACEOF
50895 if ac_fn_cxx_try_compile "$LINENO"; then :
50896 glibcxx_cv_func_finitel_use=yes
50897 else
50898 glibcxx_cv_func_finitel_use=no
50899 fi
50900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50901 ac_ext=c
50902 ac_cpp='$CPP $CPPFLAGS'
50903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50906
50907
50908 fi
50909
50910 fi
50911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50912 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50913
50914 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50915 for ac_func in finitel
50916 do :
50917 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50918 if test "x$ac_cv_func_finitel" = x""yes; then :
50919 cat >>confdefs.h <<_ACEOF
50920 #define HAVE_FINITEL 1
50921 _ACEOF
50922
50923 fi
50924 done
50925
50926 else
50927
50928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50929 $as_echo_n "checking for _finitel declaration... " >&6; }
50930 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50931 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50932 $as_echo_n "(cached) " >&6
50933 else
50934
50935
50936 ac_ext=cpp
50937 ac_cpp='$CXXCPP $CPPFLAGS'
50938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50941
50942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50943 /* end confdefs.h. */
50944 #include <math.h>
50945 #ifdef HAVE_IEEEFP_H
50946 #include <ieeefp.h>
50947 #endif
50948
50949 int
50950 main ()
50951 {
50952 _finitel(0);
50953 ;
50954 return 0;
50955 }
50956 _ACEOF
50957 if ac_fn_cxx_try_compile "$LINENO"; then :
50958 glibcxx_cv_func__finitel_use=yes
50959 else
50960 glibcxx_cv_func__finitel_use=no
50961 fi
50962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50963 ac_ext=c
50964 ac_cpp='$CPP $CPPFLAGS'
50965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50968
50969
50970 fi
50971
50972 fi
50973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50974 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50975
50976 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50977 for ac_func in _finitel
50978 do :
50979 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50980 if test "x$ac_cv_func__finitel" = x""yes; then :
50981 cat >>confdefs.h <<_ACEOF
50982 #define HAVE__FINITEL 1
50983 _ACEOF
50984
50985 fi
50986 done
50987
50988 fi
50989 fi
50990
50991
50992
50993
50994 LIBS="$ac_save_LIBS"
50995 CXXFLAGS="$ac_save_CXXFLAGS"
50996
50997
50998 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50999 ac_save_CXXFLAGS="$CXXFLAGS"
51000 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51001
51002
51003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51004 $as_echo_n "checking for strtold declaration... " >&6; }
51005 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51006 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51007 $as_echo_n "(cached) " >&6
51008 else
51009
51010
51011 ac_ext=cpp
51012 ac_cpp='$CXXCPP $CPPFLAGS'
51013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51016
51017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51018 /* end confdefs.h. */
51019 #include <stdlib.h>
51020 int
51021 main ()
51022 {
51023 strtold(0, 0);
51024 ;
51025 return 0;
51026 }
51027 _ACEOF
51028 if ac_fn_cxx_try_compile "$LINENO"; then :
51029 glibcxx_cv_func_strtold_use=yes
51030 else
51031 glibcxx_cv_func_strtold_use=no
51032 fi
51033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51034 ac_ext=c
51035 ac_cpp='$CPP $CPPFLAGS'
51036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51039
51040
51041 fi
51042
51043 fi
51044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51045 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51046 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51047 for ac_func in strtold
51048 do :
51049 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51050 if test "x$ac_cv_func_strtold" = x""yes; then :
51051 cat >>confdefs.h <<_ACEOF
51052 #define HAVE_STRTOLD 1
51053 _ACEOF
51054
51055 fi
51056 done
51057
51058 fi
51059
51060
51061
51062
51063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51064 $as_echo_n "checking for strtof declaration... " >&6; }
51065 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51066 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51067 $as_echo_n "(cached) " >&6
51068 else
51069
51070
51071 ac_ext=cpp
51072 ac_cpp='$CXXCPP $CPPFLAGS'
51073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51076
51077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51078 /* end confdefs.h. */
51079 #include <stdlib.h>
51080 int
51081 main ()
51082 {
51083 strtof(0, 0);
51084 ;
51085 return 0;
51086 }
51087 _ACEOF
51088 if ac_fn_cxx_try_compile "$LINENO"; then :
51089 glibcxx_cv_func_strtof_use=yes
51090 else
51091 glibcxx_cv_func_strtof_use=no
51092 fi
51093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51094 ac_ext=c
51095 ac_cpp='$CPP $CPPFLAGS'
51096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51099
51100
51101 fi
51102
51103 fi
51104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51105 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51106 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51107 for ac_func in strtof
51108 do :
51109 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51110 if test "x$ac_cv_func_strtof" = x""yes; then :
51111 cat >>confdefs.h <<_ACEOF
51112 #define HAVE_STRTOF 1
51113 _ACEOF
51114
51115 fi
51116 done
51117
51118 fi
51119
51120
51121
51122
51123 CXXFLAGS="$ac_save_CXXFLAGS"
51124
51125 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51126
51127
51128
51129 # Check whether --enable-tls was given.
51130 if test "${enable_tls+set}" = set; then :
51131 enableval=$enable_tls;
51132 case "$enableval" in
51133 yes|no) ;;
51134 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51135 esac
51136
51137 else
51138 enable_tls=yes
51139 fi
51140
51141
51142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51143 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51144 if test "${gcc_cv_have_tls+set}" = set; then :
51145 $as_echo_n "(cached) " >&6
51146 else
51147
51148 if test "$cross_compiling" = yes; then :
51149 if test x$gcc_no_link = xyes; then
51150 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51151 fi
51152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51153 /* end confdefs.h. */
51154 __thread int a; int b; int main() { return a = b; }
51155 _ACEOF
51156 if ac_fn_c_try_link "$LINENO"; then :
51157 chktls_save_LDFLAGS="$LDFLAGS"
51158 case $host in
51159 *-*-linux*)
51160 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51161 ;;
51162 esac
51163 chktls_save_CFLAGS="$CFLAGS"
51164 CFLAGS="-fPIC $CFLAGS"
51165 if test x$gcc_no_link = xyes; then
51166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51167 fi
51168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51169 /* end confdefs.h. */
51170 int f() { return 0; }
51171 _ACEOF
51172 if ac_fn_c_try_link "$LINENO"; then :
51173 if test x$gcc_no_link = xyes; then
51174 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51175 fi
51176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51177 /* end confdefs.h. */
51178 __thread int a; int b; int f() { return a = b; }
51179 _ACEOF
51180 if ac_fn_c_try_link "$LINENO"; then :
51181 gcc_cv_have_tls=yes
51182 else
51183 gcc_cv_have_tls=no
51184 fi
51185 rm -f core conftest.err conftest.$ac_objext \
51186 conftest$ac_exeext conftest.$ac_ext
51187 else
51188 gcc_cv_have_tls=yes
51189 fi
51190 rm -f core conftest.err conftest.$ac_objext \
51191 conftest$ac_exeext conftest.$ac_ext
51192 CFLAGS="$chktls_save_CFLAGS"
51193 LDFLAGS="$chktls_save_LDFLAGS"
51194 else
51195 gcc_cv_have_tls=no
51196 fi
51197 rm -f core conftest.err conftest.$ac_objext \
51198 conftest$ac_exeext conftest.$ac_ext
51199
51200
51201 else
51202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51203 /* end confdefs.h. */
51204 __thread int a; int b; int main() { return a = b; }
51205 _ACEOF
51206 if ac_fn_c_try_run "$LINENO"; then :
51207 chktls_save_LDFLAGS="$LDFLAGS"
51208 LDFLAGS="-static $LDFLAGS"
51209 if test x$gcc_no_link = xyes; then
51210 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51211 fi
51212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51213 /* end confdefs.h. */
51214 int main() { return 0; }
51215 _ACEOF
51216 if ac_fn_c_try_link "$LINENO"; then :
51217 if test "$cross_compiling" = yes; then :
51218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51220 as_fn_error "cannot run test program while cross compiling
51221 See \`config.log' for more details." "$LINENO" 5; }
51222 else
51223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51224 /* end confdefs.h. */
51225 __thread int a; int b; int main() { return a = b; }
51226 _ACEOF
51227 if ac_fn_c_try_run "$LINENO"; then :
51228 gcc_cv_have_tls=yes
51229 else
51230 gcc_cv_have_tls=no
51231 fi
51232 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51233 conftest.$ac_objext conftest.beam conftest.$ac_ext
51234 fi
51235
51236 else
51237 gcc_cv_have_tls=yes
51238 fi
51239 rm -f core conftest.err conftest.$ac_objext \
51240 conftest$ac_exeext conftest.$ac_ext
51241 LDFLAGS="$chktls_save_LDFLAGS"
51242 if test $gcc_cv_have_tls = yes; then
51243 chktls_save_CFLAGS="$CFLAGS"
51244 thread_CFLAGS=failed
51245 for flag in '' '-pthread' '-lpthread'; do
51246 CFLAGS="$flag $chktls_save_CFLAGS"
51247 if test x$gcc_no_link = xyes; then
51248 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51249 fi
51250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51251 /* end confdefs.h. */
51252 #include <pthread.h>
51253 void *g(void *d) { return NULL; }
51254 int
51255 main ()
51256 {
51257 pthread_t t; pthread_create(&t,NULL,g,NULL);
51258 ;
51259 return 0;
51260 }
51261 _ACEOF
51262 if ac_fn_c_try_link "$LINENO"; then :
51263 thread_CFLAGS="$flag"
51264 fi
51265 rm -f core conftest.err conftest.$ac_objext \
51266 conftest$ac_exeext conftest.$ac_ext
51267 if test "X$thread_CFLAGS" != Xfailed; then
51268 break
51269 fi
51270 done
51271 CFLAGS="$chktls_save_CFLAGS"
51272 if test "X$thread_CFLAGS" != Xfailed; then
51273 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51274 if test "$cross_compiling" = yes; then :
51275 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51277 as_fn_error "cannot run test program while cross compiling
51278 See \`config.log' for more details." "$LINENO" 5; }
51279 else
51280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51281 /* end confdefs.h. */
51282 #include <pthread.h>
51283 __thread int a;
51284 static int *volatile a_in_other_thread;
51285 static void *
51286 thread_func (void *arg)
51287 {
51288 a_in_other_thread = &a;
51289 return (void *)0;
51290 }
51291 int
51292 main ()
51293 {
51294 pthread_t thread;
51295 void *thread_retval;
51296 int *volatile a_in_main_thread;
51297 a_in_main_thread = &a;
51298 if (pthread_create (&thread, (pthread_attr_t *)0,
51299 thread_func, (void *)0))
51300 return 0;
51301 if (pthread_join (thread, &thread_retval))
51302 return 0;
51303 return (a_in_other_thread == a_in_main_thread);
51304 ;
51305 return 0;
51306 }
51307 _ACEOF
51308 if ac_fn_c_try_run "$LINENO"; then :
51309 gcc_cv_have_tls=yes
51310 else
51311 gcc_cv_have_tls=no
51312 fi
51313 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51314 conftest.$ac_objext conftest.beam conftest.$ac_ext
51315 fi
51316
51317 CFLAGS="$chktls_save_CFLAGS"
51318 fi
51319 fi
51320 else
51321 gcc_cv_have_tls=no
51322 fi
51323 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51324 conftest.$ac_objext conftest.beam conftest.$ac_ext
51325 fi
51326
51327 fi
51328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51329 $as_echo "$gcc_cv_have_tls" >&6; }
51330 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51331
51332 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51333
51334 fi
51335
51336
51337
51338
51339
51340 am_save_CPPFLAGS="$CPPFLAGS"
51341
51342 for element in $INCICONV; do
51343 haveit=
51344 for x in $CPPFLAGS; do
51345
51346 acl_save_prefix="$prefix"
51347 prefix="$acl_final_prefix"
51348 acl_save_exec_prefix="$exec_prefix"
51349 exec_prefix="$acl_final_exec_prefix"
51350 eval x=\"$x\"
51351 exec_prefix="$acl_save_exec_prefix"
51352 prefix="$acl_save_prefix"
51353
51354 if test "X$x" = "X$element"; then
51355 haveit=yes
51356 break
51357 fi
51358 done
51359 if test -z "$haveit"; then
51360 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51361 fi
51362 done
51363
51364
51365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51366 $as_echo_n "checking for iconv... " >&6; }
51367 if test "${am_cv_func_iconv+set}" = set; then :
51368 $as_echo_n "(cached) " >&6
51369 else
51370
51371 am_cv_func_iconv="no, consider installing GNU libiconv"
51372 am_cv_lib_iconv=no
51373 if test x$gcc_no_link = xyes; then
51374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51375 fi
51376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51377 /* end confdefs.h. */
51378 #include <stdlib.h>
51379 #include <iconv.h>
51380 int
51381 main ()
51382 {
51383 iconv_t cd = iconv_open("","");
51384 iconv(cd,NULL,NULL,NULL,NULL);
51385 iconv_close(cd);
51386 ;
51387 return 0;
51388 }
51389 _ACEOF
51390 if ac_fn_c_try_link "$LINENO"; then :
51391 am_cv_func_iconv=yes
51392 fi
51393 rm -f core conftest.err conftest.$ac_objext \
51394 conftest$ac_exeext conftest.$ac_ext
51395 if test "$am_cv_func_iconv" != yes; then
51396 am_save_LIBS="$LIBS"
51397 LIBS="$LIBS $LIBICONV"
51398 if test x$gcc_no_link = xyes; then
51399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51400 fi
51401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51402 /* end confdefs.h. */
51403 #include <stdlib.h>
51404 #include <iconv.h>
51405 int
51406 main ()
51407 {
51408 iconv_t cd = iconv_open("","");
51409 iconv(cd,NULL,NULL,NULL,NULL);
51410 iconv_close(cd);
51411 ;
51412 return 0;
51413 }
51414 _ACEOF
51415 if ac_fn_c_try_link "$LINENO"; then :
51416 am_cv_lib_iconv=yes
51417 am_cv_func_iconv=yes
51418 fi
51419 rm -f core conftest.err conftest.$ac_objext \
51420 conftest$ac_exeext conftest.$ac_ext
51421 LIBS="$am_save_LIBS"
51422 fi
51423
51424 fi
51425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51426 $as_echo "$am_cv_func_iconv" >&6; }
51427 if test "$am_cv_func_iconv" = yes; then
51428
51429 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51430
51431 fi
51432 if test "$am_cv_lib_iconv" = yes; then
51433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51434 $as_echo_n "checking how to link with libiconv... " >&6; }
51435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51436 $as_echo "$LIBICONV" >&6; }
51437 else
51438 CPPFLAGS="$am_save_CPPFLAGS"
51439 LIBICONV=
51440 LTLIBICONV=
51441 fi
51442
51443
51444
51445 if test "$am_cv_func_iconv" = yes; then
51446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51447 $as_echo_n "checking for iconv declaration... " >&6; }
51448 if test "${am_cv_proto_iconv+set}" = set; then :
51449 $as_echo_n "(cached) " >&6
51450 else
51451
51452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51453 /* end confdefs.h. */
51454
51455 #include <stdlib.h>
51456 #include <iconv.h>
51457 extern
51458 #ifdef __cplusplus
51459 "C"
51460 #endif
51461 #if defined(__STDC__) || defined(__cplusplus)
51462 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51463 #else
51464 size_t iconv();
51465 #endif
51466
51467 int
51468 main ()
51469 {
51470
51471 ;
51472 return 0;
51473 }
51474 _ACEOF
51475 if ac_fn_c_try_compile "$LINENO"; then :
51476 am_cv_proto_iconv_arg1=""
51477 else
51478 am_cv_proto_iconv_arg1="const"
51479 fi
51480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51481 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);"
51482 fi
51483
51484 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51486 }$am_cv_proto_iconv" >&5
51487 $as_echo "${ac_t:-
51488 }$am_cv_proto_iconv" >&6; }
51489
51490 cat >>confdefs.h <<_ACEOF
51491 #define ICONV_CONST $am_cv_proto_iconv_arg1
51492 _ACEOF
51493
51494 fi
51495
51496 ;;
51497 *-mingw32*)
51498
51499 # If we're not using GNU ld, then there's no point in even trying these
51500 # tests. Check for that first. We should have already tested for gld
51501 # by now (in libtool), but require it now just to be safe...
51502 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51503 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51504
51505
51506
51507 # The name set by libtool depends on the version of libtool. Shame on us
51508 # for depending on an impl detail, but c'est la vie. Older versions used
51509 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51510 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51511 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51512 # set (hence we're using an older libtool), then set it.
51513 if test x${with_gnu_ld+set} != xset; then
51514 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51515 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51516 with_gnu_ld=no
51517 else
51518 with_gnu_ld=$ac_cv_prog_gnu_ld
51519 fi
51520 fi
51521
51522 # Start by getting the version number. I think the libtool test already
51523 # does some of this, but throws away the result.
51524 glibcxx_ld_is_gold=no
51525 if test x"$with_gnu_ld" = x"yes"; then
51526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51527 $as_echo_n "checking for ld version... " >&6; }
51528
51529 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51530 glibcxx_ld_is_gold=yes
51531 fi
51532 ldver=`$LD --version 2>/dev/null |
51533 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'`
51534
51535 glibcxx_gnu_ld_version=`echo $ldver | \
51536 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51538 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51539 fi
51540
51541 # Set --gc-sections.
51542 glibcxx_have_gc_sections=no
51543 if test "$glibcxx_ld_is_gold" = "yes"; then
51544 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51545 glibcxx_have_gc_sections=yes
51546 fi
51547 else
51548 glibcxx_gcsections_min_ld=21602
51549 if test x"$with_gnu_ld" = x"yes" &&
51550 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51551 glibcxx_have_gc_sections=yes
51552 fi
51553 fi
51554 if test "$glibcxx_have_gc_sections" = "yes"; then
51555 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51556 # NB: This flag only works reliably after 2.16.1. Configure tests
51557 # for this are difficult, so hard wire a value that should work.
51558
51559 ac_test_CFLAGS="${CFLAGS+set}"
51560 ac_save_CFLAGS="$CFLAGS"
51561 CFLAGS='-Wl,--gc-sections'
51562
51563 # Check for -Wl,--gc-sections
51564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51565 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51566 if test x$gcc_no_link = xyes; then
51567 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51568 fi
51569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51570 /* end confdefs.h. */
51571 int one(void) { return 1; }
51572 int two(void) { return 2; }
51573
51574 int
51575 main ()
51576 {
51577 two();
51578 ;
51579 return 0;
51580 }
51581 _ACEOF
51582 if ac_fn_c_try_link "$LINENO"; then :
51583 ac_gcsections=yes
51584 else
51585 ac_gcsections=no
51586 fi
51587 rm -f core conftest.err conftest.$ac_objext \
51588 conftest$ac_exeext conftest.$ac_ext
51589 if test "$ac_gcsections" = "yes"; then
51590 rm -f conftest.c
51591 touch conftest.c
51592 if $CC -c conftest.c; then
51593 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51594 grep "Warning: gc-sections option ignored" > /dev/null; then
51595 ac_gcsections=no
51596 fi
51597 fi
51598 rm -f conftest.c conftest.o conftest
51599 fi
51600 if test "$ac_gcsections" = "yes"; then
51601 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51602 fi
51603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51604 $as_echo "$ac_gcsections" >&6; }
51605
51606 if test "$ac_test_CFLAGS" = set; then
51607 CFLAGS="$ac_save_CFLAGS"
51608 else
51609 # this is the suspicious part
51610 CFLAGS=''
51611 fi
51612 fi
51613
51614 # Set -z,relro.
51615 # Note this is only for shared objects.
51616 ac_ld_relro=no
51617 if test x"$with_gnu_ld" = x"yes"; then
51618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51619 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51620 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51621 if test -n "$cxx_z_relo"; then
51622 OPT_LDFLAGS="-Wl,-z,relro"
51623 ac_ld_relro=yes
51624 fi
51625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51626 $as_echo "$ac_ld_relro" >&6; }
51627 fi
51628
51629 # Set linker optimization flags.
51630 if test x"$with_gnu_ld" = x"yes"; then
51631 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51632 fi
51633
51634
51635
51636
51637
51638 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51639 ac_save_CXXFLAGS="$CXXFLAGS"
51640 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51641
51642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51643 $as_echo_n "checking for sin in -lm... " >&6; }
51644 if test "${ac_cv_lib_m_sin+set}" = set; then :
51645 $as_echo_n "(cached) " >&6
51646 else
51647 ac_check_lib_save_LIBS=$LIBS
51648 LIBS="-lm $LIBS"
51649 if test x$gcc_no_link = xyes; then
51650 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51651 fi
51652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51653 /* end confdefs.h. */
51654
51655 /* Override any GCC internal prototype to avoid an error.
51656 Use char because int might match the return type of a GCC
51657 builtin and then its argument prototype would still apply. */
51658 #ifdef __cplusplus
51659 extern "C"
51660 #endif
51661 char sin ();
51662 int
51663 main ()
51664 {
51665 return sin ();
51666 ;
51667 return 0;
51668 }
51669 _ACEOF
51670 if ac_fn_c_try_link "$LINENO"; then :
51671 ac_cv_lib_m_sin=yes
51672 else
51673 ac_cv_lib_m_sin=no
51674 fi
51675 rm -f core conftest.err conftest.$ac_objext \
51676 conftest$ac_exeext conftest.$ac_ext
51677 LIBS=$ac_check_lib_save_LIBS
51678 fi
51679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51680 $as_echo "$ac_cv_lib_m_sin" >&6; }
51681 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51682 libm="-lm"
51683 fi
51684
51685 ac_save_LIBS="$LIBS"
51686 LIBS="$LIBS $libm"
51687
51688
51689
51690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51691 $as_echo_n "checking for isinf declaration... " >&6; }
51692 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51693 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51694 $as_echo_n "(cached) " >&6
51695 else
51696
51697
51698 ac_ext=cpp
51699 ac_cpp='$CXXCPP $CPPFLAGS'
51700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51703
51704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51705 /* end confdefs.h. */
51706 #include <math.h>
51707 #ifdef HAVE_IEEEFP_H
51708 #include <ieeefp.h>
51709 #endif
51710
51711 int
51712 main ()
51713 {
51714 isinf(0);
51715 ;
51716 return 0;
51717 }
51718 _ACEOF
51719 if ac_fn_cxx_try_compile "$LINENO"; then :
51720 glibcxx_cv_func_isinf_use=yes
51721 else
51722 glibcxx_cv_func_isinf_use=no
51723 fi
51724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51725 ac_ext=c
51726 ac_cpp='$CPP $CPPFLAGS'
51727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51730
51731
51732 fi
51733
51734 fi
51735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51736 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51737
51738 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51739 for ac_func in isinf
51740 do :
51741 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51742 if test "x$ac_cv_func_isinf" = x""yes; then :
51743 cat >>confdefs.h <<_ACEOF
51744 #define HAVE_ISINF 1
51745 _ACEOF
51746
51747 fi
51748 done
51749
51750 else
51751
51752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51753 $as_echo_n "checking for _isinf declaration... " >&6; }
51754 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51755 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51756 $as_echo_n "(cached) " >&6
51757 else
51758
51759
51760 ac_ext=cpp
51761 ac_cpp='$CXXCPP $CPPFLAGS'
51762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51765
51766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51767 /* end confdefs.h. */
51768 #include <math.h>
51769 #ifdef HAVE_IEEEFP_H
51770 #include <ieeefp.h>
51771 #endif
51772
51773 int
51774 main ()
51775 {
51776 _isinf(0);
51777 ;
51778 return 0;
51779 }
51780 _ACEOF
51781 if ac_fn_cxx_try_compile "$LINENO"; then :
51782 glibcxx_cv_func__isinf_use=yes
51783 else
51784 glibcxx_cv_func__isinf_use=no
51785 fi
51786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51787 ac_ext=c
51788 ac_cpp='$CPP $CPPFLAGS'
51789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51792
51793
51794 fi
51795
51796 fi
51797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51798 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51799
51800 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51801 for ac_func in _isinf
51802 do :
51803 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51804 if test "x$ac_cv_func__isinf" = x""yes; then :
51805 cat >>confdefs.h <<_ACEOF
51806 #define HAVE__ISINF 1
51807 _ACEOF
51808
51809 fi
51810 done
51811
51812 fi
51813 fi
51814
51815
51816
51817
51818
51819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51820 $as_echo_n "checking for isnan declaration... " >&6; }
51821 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51822 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51823 $as_echo_n "(cached) " >&6
51824 else
51825
51826
51827 ac_ext=cpp
51828 ac_cpp='$CXXCPP $CPPFLAGS'
51829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51832
51833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51834 /* end confdefs.h. */
51835 #include <math.h>
51836 #ifdef HAVE_IEEEFP_H
51837 #include <ieeefp.h>
51838 #endif
51839
51840 int
51841 main ()
51842 {
51843 isnan(0);
51844 ;
51845 return 0;
51846 }
51847 _ACEOF
51848 if ac_fn_cxx_try_compile "$LINENO"; then :
51849 glibcxx_cv_func_isnan_use=yes
51850 else
51851 glibcxx_cv_func_isnan_use=no
51852 fi
51853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51854 ac_ext=c
51855 ac_cpp='$CPP $CPPFLAGS'
51856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51859
51860
51861 fi
51862
51863 fi
51864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51865 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51866
51867 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51868 for ac_func in isnan
51869 do :
51870 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51871 if test "x$ac_cv_func_isnan" = x""yes; then :
51872 cat >>confdefs.h <<_ACEOF
51873 #define HAVE_ISNAN 1
51874 _ACEOF
51875
51876 fi
51877 done
51878
51879 else
51880
51881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51882 $as_echo_n "checking for _isnan declaration... " >&6; }
51883 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51884 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51885 $as_echo_n "(cached) " >&6
51886 else
51887
51888
51889 ac_ext=cpp
51890 ac_cpp='$CXXCPP $CPPFLAGS'
51891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51894
51895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51896 /* end confdefs.h. */
51897 #include <math.h>
51898 #ifdef HAVE_IEEEFP_H
51899 #include <ieeefp.h>
51900 #endif
51901
51902 int
51903 main ()
51904 {
51905 _isnan(0);
51906 ;
51907 return 0;
51908 }
51909 _ACEOF
51910 if ac_fn_cxx_try_compile "$LINENO"; then :
51911 glibcxx_cv_func__isnan_use=yes
51912 else
51913 glibcxx_cv_func__isnan_use=no
51914 fi
51915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51916 ac_ext=c
51917 ac_cpp='$CPP $CPPFLAGS'
51918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51921
51922
51923 fi
51924
51925 fi
51926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51927 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51928
51929 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51930 for ac_func in _isnan
51931 do :
51932 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51933 if test "x$ac_cv_func__isnan" = x""yes; then :
51934 cat >>confdefs.h <<_ACEOF
51935 #define HAVE__ISNAN 1
51936 _ACEOF
51937
51938 fi
51939 done
51940
51941 fi
51942 fi
51943
51944
51945
51946
51947
51948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51949 $as_echo_n "checking for finite declaration... " >&6; }
51950 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51951 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51952 $as_echo_n "(cached) " >&6
51953 else
51954
51955
51956 ac_ext=cpp
51957 ac_cpp='$CXXCPP $CPPFLAGS'
51958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51961
51962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51963 /* end confdefs.h. */
51964 #include <math.h>
51965 #ifdef HAVE_IEEEFP_H
51966 #include <ieeefp.h>
51967 #endif
51968
51969 int
51970 main ()
51971 {
51972 finite(0);
51973 ;
51974 return 0;
51975 }
51976 _ACEOF
51977 if ac_fn_cxx_try_compile "$LINENO"; then :
51978 glibcxx_cv_func_finite_use=yes
51979 else
51980 glibcxx_cv_func_finite_use=no
51981 fi
51982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51983 ac_ext=c
51984 ac_cpp='$CPP $CPPFLAGS'
51985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51988
51989
51990 fi
51991
51992 fi
51993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51994 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51995
51996 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51997 for ac_func in finite
51998 do :
51999 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52000 if test "x$ac_cv_func_finite" = x""yes; then :
52001 cat >>confdefs.h <<_ACEOF
52002 #define HAVE_FINITE 1
52003 _ACEOF
52004
52005 fi
52006 done
52007
52008 else
52009
52010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52011 $as_echo_n "checking for _finite declaration... " >&6; }
52012 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52013 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52014 $as_echo_n "(cached) " >&6
52015 else
52016
52017
52018 ac_ext=cpp
52019 ac_cpp='$CXXCPP $CPPFLAGS'
52020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52023
52024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52025 /* end confdefs.h. */
52026 #include <math.h>
52027 #ifdef HAVE_IEEEFP_H
52028 #include <ieeefp.h>
52029 #endif
52030
52031 int
52032 main ()
52033 {
52034 _finite(0);
52035 ;
52036 return 0;
52037 }
52038 _ACEOF
52039 if ac_fn_cxx_try_compile "$LINENO"; then :
52040 glibcxx_cv_func__finite_use=yes
52041 else
52042 glibcxx_cv_func__finite_use=no
52043 fi
52044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52045 ac_ext=c
52046 ac_cpp='$CPP $CPPFLAGS'
52047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52050
52051
52052 fi
52053
52054 fi
52055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52056 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52057
52058 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52059 for ac_func in _finite
52060 do :
52061 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52062 if test "x$ac_cv_func__finite" = x""yes; then :
52063 cat >>confdefs.h <<_ACEOF
52064 #define HAVE__FINITE 1
52065 _ACEOF
52066
52067 fi
52068 done
52069
52070 fi
52071 fi
52072
52073
52074
52075
52076
52077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52078 $as_echo_n "checking for sincos declaration... " >&6; }
52079 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52080 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52081 $as_echo_n "(cached) " >&6
52082 else
52083
52084
52085 ac_ext=cpp
52086 ac_cpp='$CXXCPP $CPPFLAGS'
52087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52090
52091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52092 /* end confdefs.h. */
52093 #include <math.h>
52094 int
52095 main ()
52096 {
52097 sincos(0, 0, 0);
52098 ;
52099 return 0;
52100 }
52101 _ACEOF
52102 if ac_fn_cxx_try_compile "$LINENO"; then :
52103 glibcxx_cv_func_sincos_use=yes
52104 else
52105 glibcxx_cv_func_sincos_use=no
52106 fi
52107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52108 ac_ext=c
52109 ac_cpp='$CPP $CPPFLAGS'
52110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52113
52114
52115 fi
52116
52117 fi
52118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52119 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52120
52121 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52122 for ac_func in sincos
52123 do :
52124 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52125 if test "x$ac_cv_func_sincos" = x""yes; then :
52126 cat >>confdefs.h <<_ACEOF
52127 #define HAVE_SINCOS 1
52128 _ACEOF
52129
52130 fi
52131 done
52132
52133 else
52134
52135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52136 $as_echo_n "checking for _sincos declaration... " >&6; }
52137 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52138 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52139 $as_echo_n "(cached) " >&6
52140 else
52141
52142
52143 ac_ext=cpp
52144 ac_cpp='$CXXCPP $CPPFLAGS'
52145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52148
52149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52150 /* end confdefs.h. */
52151 #include <math.h>
52152 int
52153 main ()
52154 {
52155 _sincos(0, 0, 0);
52156 ;
52157 return 0;
52158 }
52159 _ACEOF
52160 if ac_fn_cxx_try_compile "$LINENO"; then :
52161 glibcxx_cv_func__sincos_use=yes
52162 else
52163 glibcxx_cv_func__sincos_use=no
52164 fi
52165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52166 ac_ext=c
52167 ac_cpp='$CPP $CPPFLAGS'
52168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52171
52172
52173 fi
52174
52175 fi
52176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52177 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52178
52179 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52180 for ac_func in _sincos
52181 do :
52182 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52183 if test "x$ac_cv_func__sincos" = x""yes; then :
52184 cat >>confdefs.h <<_ACEOF
52185 #define HAVE__SINCOS 1
52186 _ACEOF
52187
52188 fi
52189 done
52190
52191 fi
52192 fi
52193
52194
52195
52196
52197
52198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52199 $as_echo_n "checking for fpclass declaration... " >&6; }
52200 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52201 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52202 $as_echo_n "(cached) " >&6
52203 else
52204
52205
52206 ac_ext=cpp
52207 ac_cpp='$CXXCPP $CPPFLAGS'
52208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52211
52212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52213 /* end confdefs.h. */
52214 #include <math.h>
52215 #ifdef HAVE_IEEEFP_H
52216 #include <ieeefp.h>
52217 #endif
52218
52219 int
52220 main ()
52221 {
52222 fpclass(0);
52223 ;
52224 return 0;
52225 }
52226 _ACEOF
52227 if ac_fn_cxx_try_compile "$LINENO"; then :
52228 glibcxx_cv_func_fpclass_use=yes
52229 else
52230 glibcxx_cv_func_fpclass_use=no
52231 fi
52232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52233 ac_ext=c
52234 ac_cpp='$CPP $CPPFLAGS'
52235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52238
52239
52240 fi
52241
52242 fi
52243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52244 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52245
52246 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52247 for ac_func in fpclass
52248 do :
52249 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52250 if test "x$ac_cv_func_fpclass" = x""yes; then :
52251 cat >>confdefs.h <<_ACEOF
52252 #define HAVE_FPCLASS 1
52253 _ACEOF
52254
52255 fi
52256 done
52257
52258 else
52259
52260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52261 $as_echo_n "checking for _fpclass declaration... " >&6; }
52262 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52263 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52264 $as_echo_n "(cached) " >&6
52265 else
52266
52267
52268 ac_ext=cpp
52269 ac_cpp='$CXXCPP $CPPFLAGS'
52270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52273
52274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52275 /* end confdefs.h. */
52276 #include <math.h>
52277 #ifdef HAVE_IEEEFP_H
52278 #include <ieeefp.h>
52279 #endif
52280
52281 int
52282 main ()
52283 {
52284 _fpclass(0);
52285 ;
52286 return 0;
52287 }
52288 _ACEOF
52289 if ac_fn_cxx_try_compile "$LINENO"; then :
52290 glibcxx_cv_func__fpclass_use=yes
52291 else
52292 glibcxx_cv_func__fpclass_use=no
52293 fi
52294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52295 ac_ext=c
52296 ac_cpp='$CPP $CPPFLAGS'
52297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52300
52301
52302 fi
52303
52304 fi
52305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52306 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52307
52308 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52309 for ac_func in _fpclass
52310 do :
52311 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52312 if test "x$ac_cv_func__fpclass" = x""yes; then :
52313 cat >>confdefs.h <<_ACEOF
52314 #define HAVE__FPCLASS 1
52315 _ACEOF
52316
52317 fi
52318 done
52319
52320 fi
52321 fi
52322
52323
52324
52325
52326
52327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52328 $as_echo_n "checking for qfpclass declaration... " >&6; }
52329 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52330 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52331 $as_echo_n "(cached) " >&6
52332 else
52333
52334
52335 ac_ext=cpp
52336 ac_cpp='$CXXCPP $CPPFLAGS'
52337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52340
52341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52342 /* end confdefs.h. */
52343 #include <math.h>
52344 #ifdef HAVE_IEEEFP_H
52345 #include <ieeefp.h>
52346 #endif
52347
52348 int
52349 main ()
52350 {
52351 qfpclass(0);
52352 ;
52353 return 0;
52354 }
52355 _ACEOF
52356 if ac_fn_cxx_try_compile "$LINENO"; then :
52357 glibcxx_cv_func_qfpclass_use=yes
52358 else
52359 glibcxx_cv_func_qfpclass_use=no
52360 fi
52361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52362 ac_ext=c
52363 ac_cpp='$CPP $CPPFLAGS'
52364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52367
52368
52369 fi
52370
52371 fi
52372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52373 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52374
52375 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52376 for ac_func in qfpclass
52377 do :
52378 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52379 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52380 cat >>confdefs.h <<_ACEOF
52381 #define HAVE_QFPCLASS 1
52382 _ACEOF
52383
52384 fi
52385 done
52386
52387 else
52388
52389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52390 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52391 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52392 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52393 $as_echo_n "(cached) " >&6
52394 else
52395
52396
52397 ac_ext=cpp
52398 ac_cpp='$CXXCPP $CPPFLAGS'
52399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52402
52403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52404 /* end confdefs.h. */
52405 #include <math.h>
52406 #ifdef HAVE_IEEEFP_H
52407 #include <ieeefp.h>
52408 #endif
52409
52410 int
52411 main ()
52412 {
52413 _qfpclass(0);
52414 ;
52415 return 0;
52416 }
52417 _ACEOF
52418 if ac_fn_cxx_try_compile "$LINENO"; then :
52419 glibcxx_cv_func__qfpclass_use=yes
52420 else
52421 glibcxx_cv_func__qfpclass_use=no
52422 fi
52423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52424 ac_ext=c
52425 ac_cpp='$CPP $CPPFLAGS'
52426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52429
52430
52431 fi
52432
52433 fi
52434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52435 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52436
52437 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52438 for ac_func in _qfpclass
52439 do :
52440 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52441 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52442 cat >>confdefs.h <<_ACEOF
52443 #define HAVE__QFPCLASS 1
52444 _ACEOF
52445
52446 fi
52447 done
52448
52449 fi
52450 fi
52451
52452
52453
52454
52455
52456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52457 $as_echo_n "checking for hypot declaration... " >&6; }
52458 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52459 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52460 $as_echo_n "(cached) " >&6
52461 else
52462
52463
52464 ac_ext=cpp
52465 ac_cpp='$CXXCPP $CPPFLAGS'
52466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52469
52470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52471 /* end confdefs.h. */
52472 #include <math.h>
52473 int
52474 main ()
52475 {
52476 hypot(0, 0);
52477 ;
52478 return 0;
52479 }
52480 _ACEOF
52481 if ac_fn_cxx_try_compile "$LINENO"; then :
52482 glibcxx_cv_func_hypot_use=yes
52483 else
52484 glibcxx_cv_func_hypot_use=no
52485 fi
52486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52487 ac_ext=c
52488 ac_cpp='$CPP $CPPFLAGS'
52489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52492
52493
52494 fi
52495
52496 fi
52497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52498 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52499
52500 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52501 for ac_func in hypot
52502 do :
52503 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52504 if test "x$ac_cv_func_hypot" = x""yes; then :
52505 cat >>confdefs.h <<_ACEOF
52506 #define HAVE_HYPOT 1
52507 _ACEOF
52508
52509 fi
52510 done
52511
52512 else
52513
52514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52515 $as_echo_n "checking for _hypot declaration... " >&6; }
52516 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52517 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52518 $as_echo_n "(cached) " >&6
52519 else
52520
52521
52522 ac_ext=cpp
52523 ac_cpp='$CXXCPP $CPPFLAGS'
52524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52527
52528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52529 /* end confdefs.h. */
52530 #include <math.h>
52531 int
52532 main ()
52533 {
52534 _hypot(0, 0);
52535 ;
52536 return 0;
52537 }
52538 _ACEOF
52539 if ac_fn_cxx_try_compile "$LINENO"; then :
52540 glibcxx_cv_func__hypot_use=yes
52541 else
52542 glibcxx_cv_func__hypot_use=no
52543 fi
52544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52545 ac_ext=c
52546 ac_cpp='$CPP $CPPFLAGS'
52547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52550
52551
52552 fi
52553
52554 fi
52555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52556 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52557
52558 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52559 for ac_func in _hypot
52560 do :
52561 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52562 if test "x$ac_cv_func__hypot" = x""yes; then :
52563 cat >>confdefs.h <<_ACEOF
52564 #define HAVE__HYPOT 1
52565 _ACEOF
52566
52567 fi
52568 done
52569
52570 fi
52571 fi
52572
52573
52574
52575
52576
52577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52578 $as_echo_n "checking for float trig functions... " >&6; }
52579 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52580 $as_echo_n "(cached) " >&6
52581 else
52582
52583
52584 ac_ext=cpp
52585 ac_cpp='$CXXCPP $CPPFLAGS'
52586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52589
52590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52591 /* end confdefs.h. */
52592 #include <math.h>
52593 int
52594 main ()
52595 {
52596 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52597 ;
52598 return 0;
52599 }
52600 _ACEOF
52601 if ac_fn_cxx_try_compile "$LINENO"; then :
52602 glibcxx_cv_func_float_trig_use=yes
52603 else
52604 glibcxx_cv_func_float_trig_use=no
52605 fi
52606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52607 ac_ext=c
52608 ac_cpp='$CPP $CPPFLAGS'
52609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52612
52613 fi
52614
52615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52616 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52617 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52618 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52619 do :
52620 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52621 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52622 eval as_val=\$$as_ac_var
52623 if test "x$as_val" = x""yes; then :
52624 cat >>confdefs.h <<_ACEOF
52625 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52626 _ACEOF
52627
52628 fi
52629 done
52630
52631 else
52632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52633 $as_echo_n "checking for _float trig functions... " >&6; }
52634 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52635 $as_echo_n "(cached) " >&6
52636 else
52637
52638
52639 ac_ext=cpp
52640 ac_cpp='$CXXCPP $CPPFLAGS'
52641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52644
52645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52646 /* end confdefs.h. */
52647 #include <math.h>
52648 int
52649 main ()
52650 {
52651 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52652 ;
52653 return 0;
52654 }
52655 _ACEOF
52656 if ac_fn_cxx_try_compile "$LINENO"; then :
52657 glibcxx_cv_func__float_trig_use=yes
52658 else
52659 glibcxx_cv_func__float_trig_use=no
52660 fi
52661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52662 ac_ext=c
52663 ac_cpp='$CPP $CPPFLAGS'
52664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52667
52668 fi
52669
52670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52671 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52672 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52673 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52674 do :
52675 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52676 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52677 eval as_val=\$$as_ac_var
52678 if test "x$as_val" = x""yes; then :
52679 cat >>confdefs.h <<_ACEOF
52680 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52681 _ACEOF
52682
52683 fi
52684 done
52685
52686 fi
52687 fi
52688
52689
52690
52691
52692
52693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52694 $as_echo_n "checking for float round functions... " >&6; }
52695 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52696 $as_echo_n "(cached) " >&6
52697 else
52698
52699
52700 ac_ext=cpp
52701 ac_cpp='$CXXCPP $CPPFLAGS'
52702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52705
52706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52707 /* end confdefs.h. */
52708 #include <math.h>
52709 int
52710 main ()
52711 {
52712 ceilf (0); floorf (0);
52713 ;
52714 return 0;
52715 }
52716 _ACEOF
52717 if ac_fn_cxx_try_compile "$LINENO"; then :
52718 glibcxx_cv_func_float_round_use=yes
52719 else
52720 glibcxx_cv_func_float_round_use=no
52721 fi
52722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52723 ac_ext=c
52724 ac_cpp='$CPP $CPPFLAGS'
52725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52728
52729 fi
52730
52731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52732 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52733 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52734 for ac_func in ceilf floorf
52735 do :
52736 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52737 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52738 eval as_val=\$$as_ac_var
52739 if test "x$as_val" = x""yes; then :
52740 cat >>confdefs.h <<_ACEOF
52741 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52742 _ACEOF
52743
52744 fi
52745 done
52746
52747 else
52748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52749 $as_echo_n "checking for _float round functions... " >&6; }
52750 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52751 $as_echo_n "(cached) " >&6
52752 else
52753
52754
52755 ac_ext=cpp
52756 ac_cpp='$CXXCPP $CPPFLAGS'
52757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52760
52761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52762 /* end confdefs.h. */
52763 #include <math.h>
52764 int
52765 main ()
52766 {
52767 _ceilf (0); _floorf (0);
52768 ;
52769 return 0;
52770 }
52771 _ACEOF
52772 if ac_fn_cxx_try_compile "$LINENO"; then :
52773 glibcxx_cv_func__float_round_use=yes
52774 else
52775 glibcxx_cv_func__float_round_use=no
52776 fi
52777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52778 ac_ext=c
52779 ac_cpp='$CPP $CPPFLAGS'
52780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52783
52784 fi
52785
52786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52787 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52788 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52789 for ac_func in _ceilf _floorf
52790 do :
52791 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52792 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52793 eval as_val=\$$as_ac_var
52794 if test "x$as_val" = x""yes; then :
52795 cat >>confdefs.h <<_ACEOF
52796 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52797 _ACEOF
52798
52799 fi
52800 done
52801
52802 fi
52803 fi
52804
52805
52806
52807
52808
52809
52810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52811 $as_echo_n "checking for expf declaration... " >&6; }
52812 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52813 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52814 $as_echo_n "(cached) " >&6
52815 else
52816
52817
52818 ac_ext=cpp
52819 ac_cpp='$CXXCPP $CPPFLAGS'
52820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52823
52824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52825 /* end confdefs.h. */
52826 #include <math.h>
52827 #ifdef HAVE_IEEEFP_H
52828 #include <ieeefp.h>
52829 #endif
52830
52831 int
52832 main ()
52833 {
52834 expf(0);
52835 ;
52836 return 0;
52837 }
52838 _ACEOF
52839 if ac_fn_cxx_try_compile "$LINENO"; then :
52840 glibcxx_cv_func_expf_use=yes
52841 else
52842 glibcxx_cv_func_expf_use=no
52843 fi
52844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52845 ac_ext=c
52846 ac_cpp='$CPP $CPPFLAGS'
52847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52850
52851
52852 fi
52853
52854 fi
52855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52856 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52857
52858 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52859 for ac_func in expf
52860 do :
52861 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52862 if test "x$ac_cv_func_expf" = x""yes; then :
52863 cat >>confdefs.h <<_ACEOF
52864 #define HAVE_EXPF 1
52865 _ACEOF
52866
52867 fi
52868 done
52869
52870 else
52871
52872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52873 $as_echo_n "checking for _expf declaration... " >&6; }
52874 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52875 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52876 $as_echo_n "(cached) " >&6
52877 else
52878
52879
52880 ac_ext=cpp
52881 ac_cpp='$CXXCPP $CPPFLAGS'
52882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52885
52886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52887 /* end confdefs.h. */
52888 #include <math.h>
52889 #ifdef HAVE_IEEEFP_H
52890 #include <ieeefp.h>
52891 #endif
52892
52893 int
52894 main ()
52895 {
52896 _expf(0);
52897 ;
52898 return 0;
52899 }
52900 _ACEOF
52901 if ac_fn_cxx_try_compile "$LINENO"; then :
52902 glibcxx_cv_func__expf_use=yes
52903 else
52904 glibcxx_cv_func__expf_use=no
52905 fi
52906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52907 ac_ext=c
52908 ac_cpp='$CPP $CPPFLAGS'
52909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52912
52913
52914 fi
52915
52916 fi
52917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52918 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52919
52920 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52921 for ac_func in _expf
52922 do :
52923 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52924 if test "x$ac_cv_func__expf" = x""yes; then :
52925 cat >>confdefs.h <<_ACEOF
52926 #define HAVE__EXPF 1
52927 _ACEOF
52928
52929 fi
52930 done
52931
52932 fi
52933 fi
52934
52935
52936
52937
52938
52939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52940 $as_echo_n "checking for isnanf declaration... " >&6; }
52941 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52942 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52943 $as_echo_n "(cached) " >&6
52944 else
52945
52946
52947 ac_ext=cpp
52948 ac_cpp='$CXXCPP $CPPFLAGS'
52949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52952
52953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52954 /* end confdefs.h. */
52955 #include <math.h>
52956 #ifdef HAVE_IEEEFP_H
52957 #include <ieeefp.h>
52958 #endif
52959
52960 int
52961 main ()
52962 {
52963 isnanf(0);
52964 ;
52965 return 0;
52966 }
52967 _ACEOF
52968 if ac_fn_cxx_try_compile "$LINENO"; then :
52969 glibcxx_cv_func_isnanf_use=yes
52970 else
52971 glibcxx_cv_func_isnanf_use=no
52972 fi
52973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52974 ac_ext=c
52975 ac_cpp='$CPP $CPPFLAGS'
52976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52979
52980
52981 fi
52982
52983 fi
52984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52985 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52986
52987 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52988 for ac_func in isnanf
52989 do :
52990 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52991 if test "x$ac_cv_func_isnanf" = x""yes; then :
52992 cat >>confdefs.h <<_ACEOF
52993 #define HAVE_ISNANF 1
52994 _ACEOF
52995
52996 fi
52997 done
52998
52999 else
53000
53001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53002 $as_echo_n "checking for _isnanf declaration... " >&6; }
53003 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53004 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53005 $as_echo_n "(cached) " >&6
53006 else
53007
53008
53009 ac_ext=cpp
53010 ac_cpp='$CXXCPP $CPPFLAGS'
53011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53014
53015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53016 /* end confdefs.h. */
53017 #include <math.h>
53018 #ifdef HAVE_IEEEFP_H
53019 #include <ieeefp.h>
53020 #endif
53021
53022 int
53023 main ()
53024 {
53025 _isnanf(0);
53026 ;
53027 return 0;
53028 }
53029 _ACEOF
53030 if ac_fn_cxx_try_compile "$LINENO"; then :
53031 glibcxx_cv_func__isnanf_use=yes
53032 else
53033 glibcxx_cv_func__isnanf_use=no
53034 fi
53035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53036 ac_ext=c
53037 ac_cpp='$CPP $CPPFLAGS'
53038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53041
53042
53043 fi
53044
53045 fi
53046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53047 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53048
53049 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53050 for ac_func in _isnanf
53051 do :
53052 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53053 if test "x$ac_cv_func__isnanf" = x""yes; then :
53054 cat >>confdefs.h <<_ACEOF
53055 #define HAVE__ISNANF 1
53056 _ACEOF
53057
53058 fi
53059 done
53060
53061 fi
53062 fi
53063
53064
53065
53066
53067
53068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53069 $as_echo_n "checking for isinff declaration... " >&6; }
53070 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53071 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53072 $as_echo_n "(cached) " >&6
53073 else
53074
53075
53076 ac_ext=cpp
53077 ac_cpp='$CXXCPP $CPPFLAGS'
53078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53081
53082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53083 /* end confdefs.h. */
53084 #include <math.h>
53085 #ifdef HAVE_IEEEFP_H
53086 #include <ieeefp.h>
53087 #endif
53088
53089 int
53090 main ()
53091 {
53092 isinff(0);
53093 ;
53094 return 0;
53095 }
53096 _ACEOF
53097 if ac_fn_cxx_try_compile "$LINENO"; then :
53098 glibcxx_cv_func_isinff_use=yes
53099 else
53100 glibcxx_cv_func_isinff_use=no
53101 fi
53102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53103 ac_ext=c
53104 ac_cpp='$CPP $CPPFLAGS'
53105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53108
53109
53110 fi
53111
53112 fi
53113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53114 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53115
53116 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53117 for ac_func in isinff
53118 do :
53119 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53120 if test "x$ac_cv_func_isinff" = x""yes; then :
53121 cat >>confdefs.h <<_ACEOF
53122 #define HAVE_ISINFF 1
53123 _ACEOF
53124
53125 fi
53126 done
53127
53128 else
53129
53130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53131 $as_echo_n "checking for _isinff declaration... " >&6; }
53132 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53133 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53134 $as_echo_n "(cached) " >&6
53135 else
53136
53137
53138 ac_ext=cpp
53139 ac_cpp='$CXXCPP $CPPFLAGS'
53140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53143
53144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53145 /* end confdefs.h. */
53146 #include <math.h>
53147 #ifdef HAVE_IEEEFP_H
53148 #include <ieeefp.h>
53149 #endif
53150
53151 int
53152 main ()
53153 {
53154 _isinff(0);
53155 ;
53156 return 0;
53157 }
53158 _ACEOF
53159 if ac_fn_cxx_try_compile "$LINENO"; then :
53160 glibcxx_cv_func__isinff_use=yes
53161 else
53162 glibcxx_cv_func__isinff_use=no
53163 fi
53164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53165 ac_ext=c
53166 ac_cpp='$CPP $CPPFLAGS'
53167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53170
53171
53172 fi
53173
53174 fi
53175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53176 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53177
53178 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53179 for ac_func in _isinff
53180 do :
53181 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53182 if test "x$ac_cv_func__isinff" = x""yes; then :
53183 cat >>confdefs.h <<_ACEOF
53184 #define HAVE__ISINFF 1
53185 _ACEOF
53186
53187 fi
53188 done
53189
53190 fi
53191 fi
53192
53193
53194
53195
53196
53197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53198 $as_echo_n "checking for atan2f declaration... " >&6; }
53199 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53200 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53201 $as_echo_n "(cached) " >&6
53202 else
53203
53204
53205 ac_ext=cpp
53206 ac_cpp='$CXXCPP $CPPFLAGS'
53207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53210
53211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53212 /* end confdefs.h. */
53213 #include <math.h>
53214 int
53215 main ()
53216 {
53217 atan2f(0, 0);
53218 ;
53219 return 0;
53220 }
53221 _ACEOF
53222 if ac_fn_cxx_try_compile "$LINENO"; then :
53223 glibcxx_cv_func_atan2f_use=yes
53224 else
53225 glibcxx_cv_func_atan2f_use=no
53226 fi
53227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53228 ac_ext=c
53229 ac_cpp='$CPP $CPPFLAGS'
53230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53233
53234
53235 fi
53236
53237 fi
53238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53239 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53240
53241 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53242 for ac_func in atan2f
53243 do :
53244 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53245 if test "x$ac_cv_func_atan2f" = x""yes; then :
53246 cat >>confdefs.h <<_ACEOF
53247 #define HAVE_ATAN2F 1
53248 _ACEOF
53249
53250 fi
53251 done
53252
53253 else
53254
53255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53256 $as_echo_n "checking for _atan2f declaration... " >&6; }
53257 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53258 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53259 $as_echo_n "(cached) " >&6
53260 else
53261
53262
53263 ac_ext=cpp
53264 ac_cpp='$CXXCPP $CPPFLAGS'
53265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53268
53269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53270 /* end confdefs.h. */
53271 #include <math.h>
53272 int
53273 main ()
53274 {
53275 _atan2f(0, 0);
53276 ;
53277 return 0;
53278 }
53279 _ACEOF
53280 if ac_fn_cxx_try_compile "$LINENO"; then :
53281 glibcxx_cv_func__atan2f_use=yes
53282 else
53283 glibcxx_cv_func__atan2f_use=no
53284 fi
53285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53286 ac_ext=c
53287 ac_cpp='$CPP $CPPFLAGS'
53288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53291
53292
53293 fi
53294
53295 fi
53296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53297 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53298
53299 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53300 for ac_func in _atan2f
53301 do :
53302 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53303 if test "x$ac_cv_func__atan2f" = x""yes; then :
53304 cat >>confdefs.h <<_ACEOF
53305 #define HAVE__ATAN2F 1
53306 _ACEOF
53307
53308 fi
53309 done
53310
53311 fi
53312 fi
53313
53314
53315
53316
53317
53318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53319 $as_echo_n "checking for fabsf declaration... " >&6; }
53320 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53321 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53322 $as_echo_n "(cached) " >&6
53323 else
53324
53325
53326 ac_ext=cpp
53327 ac_cpp='$CXXCPP $CPPFLAGS'
53328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53331
53332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53333 /* end confdefs.h. */
53334 #include <math.h>
53335 #ifdef HAVE_IEEEFP_H
53336 #include <ieeefp.h>
53337 #endif
53338
53339 int
53340 main ()
53341 {
53342 fabsf(0);
53343 ;
53344 return 0;
53345 }
53346 _ACEOF
53347 if ac_fn_cxx_try_compile "$LINENO"; then :
53348 glibcxx_cv_func_fabsf_use=yes
53349 else
53350 glibcxx_cv_func_fabsf_use=no
53351 fi
53352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53353 ac_ext=c
53354 ac_cpp='$CPP $CPPFLAGS'
53355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53358
53359
53360 fi
53361
53362 fi
53363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53364 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53365
53366 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53367 for ac_func in fabsf
53368 do :
53369 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53370 if test "x$ac_cv_func_fabsf" = x""yes; then :
53371 cat >>confdefs.h <<_ACEOF
53372 #define HAVE_FABSF 1
53373 _ACEOF
53374
53375 fi
53376 done
53377
53378 else
53379
53380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53381 $as_echo_n "checking for _fabsf declaration... " >&6; }
53382 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53383 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53384 $as_echo_n "(cached) " >&6
53385 else
53386
53387
53388 ac_ext=cpp
53389 ac_cpp='$CXXCPP $CPPFLAGS'
53390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53393
53394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53395 /* end confdefs.h. */
53396 #include <math.h>
53397 #ifdef HAVE_IEEEFP_H
53398 #include <ieeefp.h>
53399 #endif
53400
53401 int
53402 main ()
53403 {
53404 _fabsf(0);
53405 ;
53406 return 0;
53407 }
53408 _ACEOF
53409 if ac_fn_cxx_try_compile "$LINENO"; then :
53410 glibcxx_cv_func__fabsf_use=yes
53411 else
53412 glibcxx_cv_func__fabsf_use=no
53413 fi
53414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53415 ac_ext=c
53416 ac_cpp='$CPP $CPPFLAGS'
53417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53420
53421
53422 fi
53423
53424 fi
53425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53426 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53427
53428 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53429 for ac_func in _fabsf
53430 do :
53431 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53432 if test "x$ac_cv_func__fabsf" = x""yes; then :
53433 cat >>confdefs.h <<_ACEOF
53434 #define HAVE__FABSF 1
53435 _ACEOF
53436
53437 fi
53438 done
53439
53440 fi
53441 fi
53442
53443
53444
53445
53446
53447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53448 $as_echo_n "checking for fmodf declaration... " >&6; }
53449 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53450 if test "${glibcxx_cv_func_fmodf_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 fmodf(0, 0);
53468 ;
53469 return 0;
53470 }
53471 _ACEOF
53472 if ac_fn_cxx_try_compile "$LINENO"; then :
53473 glibcxx_cv_func_fmodf_use=yes
53474 else
53475 glibcxx_cv_func_fmodf_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
53485 fi
53486
53487 fi
53488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53489 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53490
53491 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53492 for ac_func in fmodf
53493 do :
53494 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53495 if test "x$ac_cv_func_fmodf" = x""yes; then :
53496 cat >>confdefs.h <<_ACEOF
53497 #define HAVE_FMODF 1
53498 _ACEOF
53499
53500 fi
53501 done
53502
53503 else
53504
53505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53506 $as_echo_n "checking for _fmodf declaration... " >&6; }
53507 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53508 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53509 $as_echo_n "(cached) " >&6
53510 else
53511
53512
53513 ac_ext=cpp
53514 ac_cpp='$CXXCPP $CPPFLAGS'
53515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53518
53519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53520 /* end confdefs.h. */
53521 #include <math.h>
53522 int
53523 main ()
53524 {
53525 _fmodf(0, 0);
53526 ;
53527 return 0;
53528 }
53529 _ACEOF
53530 if ac_fn_cxx_try_compile "$LINENO"; then :
53531 glibcxx_cv_func__fmodf_use=yes
53532 else
53533 glibcxx_cv_func__fmodf_use=no
53534 fi
53535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53536 ac_ext=c
53537 ac_cpp='$CPP $CPPFLAGS'
53538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53541
53542
53543 fi
53544
53545 fi
53546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53547 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53548
53549 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53550 for ac_func in _fmodf
53551 do :
53552 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53553 if test "x$ac_cv_func__fmodf" = x""yes; then :
53554 cat >>confdefs.h <<_ACEOF
53555 #define HAVE__FMODF 1
53556 _ACEOF
53557
53558 fi
53559 done
53560
53561 fi
53562 fi
53563
53564
53565
53566
53567
53568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53569 $as_echo_n "checking for frexpf declaration... " >&6; }
53570 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53571 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53572 $as_echo_n "(cached) " >&6
53573 else
53574
53575
53576 ac_ext=cpp
53577 ac_cpp='$CXXCPP $CPPFLAGS'
53578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53581
53582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53583 /* end confdefs.h. */
53584 #include <math.h>
53585 int
53586 main ()
53587 {
53588 frexpf(0, 0);
53589 ;
53590 return 0;
53591 }
53592 _ACEOF
53593 if ac_fn_cxx_try_compile "$LINENO"; then :
53594 glibcxx_cv_func_frexpf_use=yes
53595 else
53596 glibcxx_cv_func_frexpf_use=no
53597 fi
53598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53599 ac_ext=c
53600 ac_cpp='$CPP $CPPFLAGS'
53601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53604
53605
53606 fi
53607
53608 fi
53609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53610 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53611
53612 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53613 for ac_func in frexpf
53614 do :
53615 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53616 if test "x$ac_cv_func_frexpf" = x""yes; then :
53617 cat >>confdefs.h <<_ACEOF
53618 #define HAVE_FREXPF 1
53619 _ACEOF
53620
53621 fi
53622 done
53623
53624 else
53625
53626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53627 $as_echo_n "checking for _frexpf declaration... " >&6; }
53628 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53629 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53630 $as_echo_n "(cached) " >&6
53631 else
53632
53633
53634 ac_ext=cpp
53635 ac_cpp='$CXXCPP $CPPFLAGS'
53636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53639
53640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53641 /* end confdefs.h. */
53642 #include <math.h>
53643 int
53644 main ()
53645 {
53646 _frexpf(0, 0);
53647 ;
53648 return 0;
53649 }
53650 _ACEOF
53651 if ac_fn_cxx_try_compile "$LINENO"; then :
53652 glibcxx_cv_func__frexpf_use=yes
53653 else
53654 glibcxx_cv_func__frexpf_use=no
53655 fi
53656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53657 ac_ext=c
53658 ac_cpp='$CPP $CPPFLAGS'
53659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53662
53663
53664 fi
53665
53666 fi
53667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53668 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53669
53670 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53671 for ac_func in _frexpf
53672 do :
53673 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53674 if test "x$ac_cv_func__frexpf" = x""yes; then :
53675 cat >>confdefs.h <<_ACEOF
53676 #define HAVE__FREXPF 1
53677 _ACEOF
53678
53679 fi
53680 done
53681
53682 fi
53683 fi
53684
53685
53686
53687
53688
53689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53690 $as_echo_n "checking for hypotf declaration... " >&6; }
53691 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53692 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53693 $as_echo_n "(cached) " >&6
53694 else
53695
53696
53697 ac_ext=cpp
53698 ac_cpp='$CXXCPP $CPPFLAGS'
53699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53702
53703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53704 /* end confdefs.h. */
53705 #include <math.h>
53706 int
53707 main ()
53708 {
53709 hypotf(0, 0);
53710 ;
53711 return 0;
53712 }
53713 _ACEOF
53714 if ac_fn_cxx_try_compile "$LINENO"; then :
53715 glibcxx_cv_func_hypotf_use=yes
53716 else
53717 glibcxx_cv_func_hypotf_use=no
53718 fi
53719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53720 ac_ext=c
53721 ac_cpp='$CPP $CPPFLAGS'
53722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53725
53726
53727 fi
53728
53729 fi
53730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53731 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53732
53733 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53734 for ac_func in hypotf
53735 do :
53736 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53737 if test "x$ac_cv_func_hypotf" = x""yes; then :
53738 cat >>confdefs.h <<_ACEOF
53739 #define HAVE_HYPOTF 1
53740 _ACEOF
53741
53742 fi
53743 done
53744
53745 else
53746
53747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53748 $as_echo_n "checking for _hypotf declaration... " >&6; }
53749 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53750 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53751 $as_echo_n "(cached) " >&6
53752 else
53753
53754
53755 ac_ext=cpp
53756 ac_cpp='$CXXCPP $CPPFLAGS'
53757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53760
53761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53762 /* end confdefs.h. */
53763 #include <math.h>
53764 int
53765 main ()
53766 {
53767 _hypotf(0, 0);
53768 ;
53769 return 0;
53770 }
53771 _ACEOF
53772 if ac_fn_cxx_try_compile "$LINENO"; then :
53773 glibcxx_cv_func__hypotf_use=yes
53774 else
53775 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
53789 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53790
53791 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53792 for ac_func in _hypotf
53793 do :
53794 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53795 if test "x$ac_cv_func__hypotf" = x""yes; then :
53796 cat >>confdefs.h <<_ACEOF
53797 #define HAVE__HYPOTF 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 ldexpf declaration" >&5
53811 $as_echo_n "checking for ldexpf declaration... " >&6; }
53812 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53813 if test "${glibcxx_cv_func_ldexpf_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 int
53828 main ()
53829 {
53830 ldexpf(0, 0);
53831 ;
53832 return 0;
53833 }
53834 _ACEOF
53835 if ac_fn_cxx_try_compile "$LINENO"; then :
53836 glibcxx_cv_func_ldexpf_use=yes
53837 else
53838 glibcxx_cv_func_ldexpf_use=no
53839 fi
53840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53841 ac_ext=c
53842 ac_cpp='$CPP $CPPFLAGS'
53843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53846
53847
53848 fi
53849
53850 fi
53851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53852 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53853
53854 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53855 for ac_func in ldexpf
53856 do :
53857 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53858 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53859 cat >>confdefs.h <<_ACEOF
53860 #define HAVE_LDEXPF 1
53861 _ACEOF
53862
53863 fi
53864 done
53865
53866 else
53867
53868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53869 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53870 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53871 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53872 $as_echo_n "(cached) " >&6
53873 else
53874
53875
53876 ac_ext=cpp
53877 ac_cpp='$CXXCPP $CPPFLAGS'
53878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53881
53882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53883 /* end confdefs.h. */
53884 #include <math.h>
53885 int
53886 main ()
53887 {
53888 _ldexpf(0, 0);
53889 ;
53890 return 0;
53891 }
53892 _ACEOF
53893 if ac_fn_cxx_try_compile "$LINENO"; then :
53894 glibcxx_cv_func__ldexpf_use=yes
53895 else
53896 glibcxx_cv_func__ldexpf_use=no
53897 fi
53898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53899 ac_ext=c
53900 ac_cpp='$CPP $CPPFLAGS'
53901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53904
53905
53906 fi
53907
53908 fi
53909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53910 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53911
53912 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53913 for ac_func in _ldexpf
53914 do :
53915 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53916 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53917 cat >>confdefs.h <<_ACEOF
53918 #define HAVE__LDEXPF 1
53919 _ACEOF
53920
53921 fi
53922 done
53923
53924 fi
53925 fi
53926
53927
53928
53929
53930
53931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53932 $as_echo_n "checking for logf declaration... " >&6; }
53933 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53934 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53935 $as_echo_n "(cached) " >&6
53936 else
53937
53938
53939 ac_ext=cpp
53940 ac_cpp='$CXXCPP $CPPFLAGS'
53941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53944
53945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53946 /* end confdefs.h. */
53947 #include <math.h>
53948 #ifdef HAVE_IEEEFP_H
53949 #include <ieeefp.h>
53950 #endif
53951
53952 int
53953 main ()
53954 {
53955 logf(0);
53956 ;
53957 return 0;
53958 }
53959 _ACEOF
53960 if ac_fn_cxx_try_compile "$LINENO"; then :
53961 glibcxx_cv_func_logf_use=yes
53962 else
53963 glibcxx_cv_func_logf_use=no
53964 fi
53965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53966 ac_ext=c
53967 ac_cpp='$CPP $CPPFLAGS'
53968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53971
53972
53973 fi
53974
53975 fi
53976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53977 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53978
53979 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53980 for ac_func in logf
53981 do :
53982 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53983 if test "x$ac_cv_func_logf" = x""yes; then :
53984 cat >>confdefs.h <<_ACEOF
53985 #define HAVE_LOGF 1
53986 _ACEOF
53987
53988 fi
53989 done
53990
53991 else
53992
53993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53994 $as_echo_n "checking for _logf declaration... " >&6; }
53995 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53996 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53997 $as_echo_n "(cached) " >&6
53998 else
53999
54000
54001 ac_ext=cpp
54002 ac_cpp='$CXXCPP $CPPFLAGS'
54003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54006
54007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54008 /* end confdefs.h. */
54009 #include <math.h>
54010 #ifdef HAVE_IEEEFP_H
54011 #include <ieeefp.h>
54012 #endif
54013
54014 int
54015 main ()
54016 {
54017 _logf(0);
54018 ;
54019 return 0;
54020 }
54021 _ACEOF
54022 if ac_fn_cxx_try_compile "$LINENO"; then :
54023 glibcxx_cv_func__logf_use=yes
54024 else
54025 glibcxx_cv_func__logf_use=no
54026 fi
54027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54028 ac_ext=c
54029 ac_cpp='$CPP $CPPFLAGS'
54030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54033
54034
54035 fi
54036
54037 fi
54038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54039 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54040
54041 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54042 for ac_func in _logf
54043 do :
54044 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54045 if test "x$ac_cv_func__logf" = x""yes; then :
54046 cat >>confdefs.h <<_ACEOF
54047 #define HAVE__LOGF 1
54048 _ACEOF
54049
54050 fi
54051 done
54052
54053 fi
54054 fi
54055
54056
54057
54058
54059
54060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54061 $as_echo_n "checking for log10f declaration... " >&6; }
54062 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54063 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54064 $as_echo_n "(cached) " >&6
54065 else
54066
54067
54068 ac_ext=cpp
54069 ac_cpp='$CXXCPP $CPPFLAGS'
54070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54073
54074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54075 /* end confdefs.h. */
54076 #include <math.h>
54077 #ifdef HAVE_IEEEFP_H
54078 #include <ieeefp.h>
54079 #endif
54080
54081 int
54082 main ()
54083 {
54084 log10f(0);
54085 ;
54086 return 0;
54087 }
54088 _ACEOF
54089 if ac_fn_cxx_try_compile "$LINENO"; then :
54090 glibcxx_cv_func_log10f_use=yes
54091 else
54092 glibcxx_cv_func_log10f_use=no
54093 fi
54094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54095 ac_ext=c
54096 ac_cpp='$CPP $CPPFLAGS'
54097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54100
54101
54102 fi
54103
54104 fi
54105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54106 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54107
54108 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54109 for ac_func in log10f
54110 do :
54111 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54112 if test "x$ac_cv_func_log10f" = x""yes; then :
54113 cat >>confdefs.h <<_ACEOF
54114 #define HAVE_LOG10F 1
54115 _ACEOF
54116
54117 fi
54118 done
54119
54120 else
54121
54122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54123 $as_echo_n "checking for _log10f declaration... " >&6; }
54124 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54125 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54126 $as_echo_n "(cached) " >&6
54127 else
54128
54129
54130 ac_ext=cpp
54131 ac_cpp='$CXXCPP $CPPFLAGS'
54132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54135
54136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54137 /* end confdefs.h. */
54138 #include <math.h>
54139 #ifdef HAVE_IEEEFP_H
54140 #include <ieeefp.h>
54141 #endif
54142
54143 int
54144 main ()
54145 {
54146 _log10f(0);
54147 ;
54148 return 0;
54149 }
54150 _ACEOF
54151 if ac_fn_cxx_try_compile "$LINENO"; then :
54152 glibcxx_cv_func__log10f_use=yes
54153 else
54154 glibcxx_cv_func__log10f_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__log10f_use" >&5
54168 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54169
54170 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54171 for ac_func in _log10f
54172 do :
54173 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54174 if test "x$ac_cv_func__log10f" = x""yes; then :
54175 cat >>confdefs.h <<_ACEOF
54176 #define HAVE__LOG10F 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 modff declaration" >&5
54190 $as_echo_n "checking for modff declaration... " >&6; }
54191 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54192 if test "${glibcxx_cv_func_modff_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 int
54207 main ()
54208 {
54209 modff(0, 0);
54210 ;
54211 return 0;
54212 }
54213 _ACEOF
54214 if ac_fn_cxx_try_compile "$LINENO"; then :
54215 glibcxx_cv_func_modff_use=yes
54216 else
54217 glibcxx_cv_func_modff_use=no
54218 fi
54219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54220 ac_ext=c
54221 ac_cpp='$CPP $CPPFLAGS'
54222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54225
54226
54227 fi
54228
54229 fi
54230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54231 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54232
54233 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54234 for ac_func in modff
54235 do :
54236 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54237 if test "x$ac_cv_func_modff" = x""yes; then :
54238 cat >>confdefs.h <<_ACEOF
54239 #define HAVE_MODFF 1
54240 _ACEOF
54241
54242 fi
54243 done
54244
54245 else
54246
54247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54248 $as_echo_n "checking for _modff declaration... " >&6; }
54249 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54250 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54251 $as_echo_n "(cached) " >&6
54252 else
54253
54254
54255 ac_ext=cpp
54256 ac_cpp='$CXXCPP $CPPFLAGS'
54257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54260
54261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54262 /* end confdefs.h. */
54263 #include <math.h>
54264 int
54265 main ()
54266 {
54267 _modff(0, 0);
54268 ;
54269 return 0;
54270 }
54271 _ACEOF
54272 if ac_fn_cxx_try_compile "$LINENO"; then :
54273 glibcxx_cv_func__modff_use=yes
54274 else
54275 glibcxx_cv_func__modff_use=no
54276 fi
54277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54278 ac_ext=c
54279 ac_cpp='$CPP $CPPFLAGS'
54280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54283
54284
54285 fi
54286
54287 fi
54288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54289 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54290
54291 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54292 for ac_func in _modff
54293 do :
54294 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54295 if test "x$ac_cv_func__modff" = x""yes; then :
54296 cat >>confdefs.h <<_ACEOF
54297 #define HAVE__MODFF 1
54298 _ACEOF
54299
54300 fi
54301 done
54302
54303 fi
54304 fi
54305
54306
54307
54308
54309
54310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54311 $as_echo_n "checking for modf declaration... " >&6; }
54312 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54313 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54314 $as_echo_n "(cached) " >&6
54315 else
54316
54317
54318 ac_ext=cpp
54319 ac_cpp='$CXXCPP $CPPFLAGS'
54320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54323
54324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54325 /* end confdefs.h. */
54326 #include <math.h>
54327 int
54328 main ()
54329 {
54330 modf(0, 0);
54331 ;
54332 return 0;
54333 }
54334 _ACEOF
54335 if ac_fn_cxx_try_compile "$LINENO"; then :
54336 glibcxx_cv_func_modf_use=yes
54337 else
54338 glibcxx_cv_func_modf_use=no
54339 fi
54340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54341 ac_ext=c
54342 ac_cpp='$CPP $CPPFLAGS'
54343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54346
54347
54348 fi
54349
54350 fi
54351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54352 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54353
54354 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54355 for ac_func in modf
54356 do :
54357 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54358 if test "x$ac_cv_func_modf" = x""yes; then :
54359 cat >>confdefs.h <<_ACEOF
54360 #define HAVE_MODF 1
54361 _ACEOF
54362
54363 fi
54364 done
54365
54366 else
54367
54368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54369 $as_echo_n "checking for _modf declaration... " >&6; }
54370 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54371 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54372 $as_echo_n "(cached) " >&6
54373 else
54374
54375
54376 ac_ext=cpp
54377 ac_cpp='$CXXCPP $CPPFLAGS'
54378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54381
54382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54383 /* end confdefs.h. */
54384 #include <math.h>
54385 int
54386 main ()
54387 {
54388 _modf(0, 0);
54389 ;
54390 return 0;
54391 }
54392 _ACEOF
54393 if ac_fn_cxx_try_compile "$LINENO"; then :
54394 glibcxx_cv_func__modf_use=yes
54395 else
54396 glibcxx_cv_func__modf_use=no
54397 fi
54398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54399 ac_ext=c
54400 ac_cpp='$CPP $CPPFLAGS'
54401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54404
54405
54406 fi
54407
54408 fi
54409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54410 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54411
54412 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54413 for ac_func in _modf
54414 do :
54415 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54416 if test "x$ac_cv_func__modf" = x""yes; then :
54417 cat >>confdefs.h <<_ACEOF
54418 #define HAVE__MODF 1
54419 _ACEOF
54420
54421 fi
54422 done
54423
54424 fi
54425 fi
54426
54427
54428
54429
54430
54431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54432 $as_echo_n "checking for powf declaration... " >&6; }
54433 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54434 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54435 $as_echo_n "(cached) " >&6
54436 else
54437
54438
54439 ac_ext=cpp
54440 ac_cpp='$CXXCPP $CPPFLAGS'
54441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54444
54445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54446 /* end confdefs.h. */
54447 #include <math.h>
54448 int
54449 main ()
54450 {
54451 powf(0, 0);
54452 ;
54453 return 0;
54454 }
54455 _ACEOF
54456 if ac_fn_cxx_try_compile "$LINENO"; then :
54457 glibcxx_cv_func_powf_use=yes
54458 else
54459 glibcxx_cv_func_powf_use=no
54460 fi
54461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54462 ac_ext=c
54463 ac_cpp='$CPP $CPPFLAGS'
54464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54467
54468
54469 fi
54470
54471 fi
54472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54473 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54474
54475 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54476 for ac_func in powf
54477 do :
54478 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54479 if test "x$ac_cv_func_powf" = x""yes; then :
54480 cat >>confdefs.h <<_ACEOF
54481 #define HAVE_POWF 1
54482 _ACEOF
54483
54484 fi
54485 done
54486
54487 else
54488
54489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54490 $as_echo_n "checking for _powf declaration... " >&6; }
54491 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54492 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54493 $as_echo_n "(cached) " >&6
54494 else
54495
54496
54497 ac_ext=cpp
54498 ac_cpp='$CXXCPP $CPPFLAGS'
54499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54502
54503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54504 /* end confdefs.h. */
54505 #include <math.h>
54506 int
54507 main ()
54508 {
54509 _powf(0, 0);
54510 ;
54511 return 0;
54512 }
54513 _ACEOF
54514 if ac_fn_cxx_try_compile "$LINENO"; then :
54515 glibcxx_cv_func__powf_use=yes
54516 else
54517 glibcxx_cv_func__powf_use=no
54518 fi
54519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54520 ac_ext=c
54521 ac_cpp='$CPP $CPPFLAGS'
54522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54525
54526
54527 fi
54528
54529 fi
54530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54531 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54532
54533 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54534 for ac_func in _powf
54535 do :
54536 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54537 if test "x$ac_cv_func__powf" = x""yes; then :
54538 cat >>confdefs.h <<_ACEOF
54539 #define HAVE__POWF 1
54540 _ACEOF
54541
54542 fi
54543 done
54544
54545 fi
54546 fi
54547
54548
54549
54550
54551
54552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54553 $as_echo_n "checking for sqrtf declaration... " >&6; }
54554 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54555 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54556 $as_echo_n "(cached) " >&6
54557 else
54558
54559
54560 ac_ext=cpp
54561 ac_cpp='$CXXCPP $CPPFLAGS'
54562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54565
54566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54567 /* end confdefs.h. */
54568 #include <math.h>
54569 #ifdef HAVE_IEEEFP_H
54570 #include <ieeefp.h>
54571 #endif
54572
54573 int
54574 main ()
54575 {
54576 sqrtf(0);
54577 ;
54578 return 0;
54579 }
54580 _ACEOF
54581 if ac_fn_cxx_try_compile "$LINENO"; then :
54582 glibcxx_cv_func_sqrtf_use=yes
54583 else
54584 glibcxx_cv_func_sqrtf_use=no
54585 fi
54586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54587 ac_ext=c
54588 ac_cpp='$CPP $CPPFLAGS'
54589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54592
54593
54594 fi
54595
54596 fi
54597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54598 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54599
54600 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54601 for ac_func in sqrtf
54602 do :
54603 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54604 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54605 cat >>confdefs.h <<_ACEOF
54606 #define HAVE_SQRTF 1
54607 _ACEOF
54608
54609 fi
54610 done
54611
54612 else
54613
54614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54615 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54616 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54617 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54618 $as_echo_n "(cached) " >&6
54619 else
54620
54621
54622 ac_ext=cpp
54623 ac_cpp='$CXXCPP $CPPFLAGS'
54624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54627
54628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54629 /* end confdefs.h. */
54630 #include <math.h>
54631 #ifdef HAVE_IEEEFP_H
54632 #include <ieeefp.h>
54633 #endif
54634
54635 int
54636 main ()
54637 {
54638 _sqrtf(0);
54639 ;
54640 return 0;
54641 }
54642 _ACEOF
54643 if ac_fn_cxx_try_compile "$LINENO"; then :
54644 glibcxx_cv_func__sqrtf_use=yes
54645 else
54646 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
54660 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54661
54662 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54663 for ac_func in _sqrtf
54664 do :
54665 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54666 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54667 cat >>confdefs.h <<_ACEOF
54668 #define HAVE__SQRTF 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 sincosf declaration" >&5
54682 $as_echo_n "checking for sincosf declaration... " >&6; }
54683 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54684 if test "${glibcxx_cv_func_sincosf_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 sincosf(0, 0, 0);
54702 ;
54703 return 0;
54704 }
54705 _ACEOF
54706 if ac_fn_cxx_try_compile "$LINENO"; then :
54707 glibcxx_cv_func_sincosf_use=yes
54708 else
54709 glibcxx_cv_func_sincosf_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_sincosf_use" >&5
54723 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54724
54725 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54726 for ac_func in sincosf
54727 do :
54728 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54729 if test "x$ac_cv_func_sincosf" = x""yes; then :
54730 cat >>confdefs.h <<_ACEOF
54731 #define HAVE_SINCOSF 1
54732 _ACEOF
54733
54734 fi
54735 done
54736
54737 else
54738
54739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54740 $as_echo_n "checking for _sincosf declaration... " >&6; }
54741 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54742 if test "${glibcxx_cv_func__sincosf_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 _sincosf(0, 0, 0);
54760 ;
54761 return 0;
54762 }
54763 _ACEOF
54764 if ac_fn_cxx_try_compile "$LINENO"; then :
54765 glibcxx_cv_func__sincosf_use=yes
54766 else
54767 glibcxx_cv_func__sincosf_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__sincosf_use" >&5
54781 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54782
54783 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54784 for ac_func in _sincosf
54785 do :
54786 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54787 if test "x$ac_cv_func__sincosf" = x""yes; then :
54788 cat >>confdefs.h <<_ACEOF
54789 #define HAVE__SINCOSF 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 finitef declaration" >&5
54803 $as_echo_n "checking for finitef declaration... " >&6; }
54804 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54805 if test "${glibcxx_cv_func_finitef_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 finitef(0);
54827 ;
54828 return 0;
54829 }
54830 _ACEOF
54831 if ac_fn_cxx_try_compile "$LINENO"; then :
54832 glibcxx_cv_func_finitef_use=yes
54833 else
54834 glibcxx_cv_func_finitef_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_finitef_use" >&5
54848 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54849
54850 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54851 for ac_func in finitef
54852 do :
54853 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54854 if test "x$ac_cv_func_finitef" = x""yes; then :
54855 cat >>confdefs.h <<_ACEOF
54856 #define HAVE_FINITEF 1
54857 _ACEOF
54858
54859 fi
54860 done
54861
54862 else
54863
54864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54865 $as_echo_n "checking for _finitef declaration... " >&6; }
54866 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54867 if test "${glibcxx_cv_func__finitef_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 _finitef(0);
54889 ;
54890 return 0;
54891 }
54892 _ACEOF
54893 if ac_fn_cxx_try_compile "$LINENO"; then :
54894 glibcxx_cv_func__finitef_use=yes
54895 else
54896 glibcxx_cv_func__finitef_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__finitef_use" >&5
54910 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54911
54912 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54913 for ac_func in _finitef
54914 do :
54915 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54916 if test "x$ac_cv_func__finitef" = x""yes; then :
54917 cat >>confdefs.h <<_ACEOF
54918 #define HAVE__FINITEF 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 long double trig functions" >&5
54932 $as_echo_n "checking for long double trig functions... " >&6; }
54933 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54934 $as_echo_n "(cached) " >&6
54935 else
54936
54937
54938 ac_ext=cpp
54939 ac_cpp='$CXXCPP $CPPFLAGS'
54940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54943
54944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54945 /* end confdefs.h. */
54946 #include <math.h>
54947 int
54948 main ()
54949 {
54950 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54951 ;
54952 return 0;
54953 }
54954 _ACEOF
54955 if ac_fn_cxx_try_compile "$LINENO"; then :
54956 glibcxx_cv_func_long_double_trig_use=yes
54957 else
54958 glibcxx_cv_func_long_double_trig_use=no
54959 fi
54960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54961 ac_ext=c
54962 ac_cpp='$CPP $CPPFLAGS'
54963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54966
54967 fi
54968
54969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54970 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54971 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54972 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54973 do :
54974 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54975 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54976 eval as_val=\$$as_ac_var
54977 if test "x$as_val" = x""yes; then :
54978 cat >>confdefs.h <<_ACEOF
54979 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54980 _ACEOF
54981
54982 fi
54983 done
54984
54985 else
54986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54987 $as_echo_n "checking for _long double trig functions... " >&6; }
54988 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54989 $as_echo_n "(cached) " >&6
54990 else
54991
54992
54993 ac_ext=cpp
54994 ac_cpp='$CXXCPP $CPPFLAGS'
54995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54998
54999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55000 /* end confdefs.h. */
55001 #include <math.h>
55002 int
55003 main ()
55004 {
55005 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55006 ;
55007 return 0;
55008 }
55009 _ACEOF
55010 if ac_fn_cxx_try_compile "$LINENO"; then :
55011 glibcxx_cv_func__long_double_trig_use=yes
55012 else
55013 glibcxx_cv_func__long_double_trig_use=no
55014 fi
55015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55016 ac_ext=c
55017 ac_cpp='$CPP $CPPFLAGS'
55018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55021
55022 fi
55023
55024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55025 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55026 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55027 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55028 do :
55029 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55030 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55031 eval as_val=\$$as_ac_var
55032 if test "x$as_val" = x""yes; then :
55033 cat >>confdefs.h <<_ACEOF
55034 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55035 _ACEOF
55036
55037 fi
55038 done
55039
55040 fi
55041 fi
55042
55043
55044
55045
55046
55047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55048 $as_echo_n "checking for long double round functions... " >&6; }
55049 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55050 $as_echo_n "(cached) " >&6
55051 else
55052
55053
55054 ac_ext=cpp
55055 ac_cpp='$CXXCPP $CPPFLAGS'
55056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55059
55060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55061 /* end confdefs.h. */
55062 #include <math.h>
55063 int
55064 main ()
55065 {
55066 ceill (0); floorl (0);
55067 ;
55068 return 0;
55069 }
55070 _ACEOF
55071 if ac_fn_cxx_try_compile "$LINENO"; then :
55072 glibcxx_cv_func_long_double_round_use=yes
55073 else
55074 glibcxx_cv_func_long_double_round_use=no
55075 fi
55076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55077 ac_ext=c
55078 ac_cpp='$CPP $CPPFLAGS'
55079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55082
55083 fi
55084
55085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55086 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55087 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55088 for ac_func in ceill floorl
55089 do :
55090 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55091 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55092 eval as_val=\$$as_ac_var
55093 if test "x$as_val" = x""yes; then :
55094 cat >>confdefs.h <<_ACEOF
55095 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55096 _ACEOF
55097
55098 fi
55099 done
55100
55101 else
55102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55103 $as_echo_n "checking for _long double round functions... " >&6; }
55104 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55105 $as_echo_n "(cached) " >&6
55106 else
55107
55108
55109 ac_ext=cpp
55110 ac_cpp='$CXXCPP $CPPFLAGS'
55111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55114
55115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55116 /* end confdefs.h. */
55117 #include <math.h>
55118 int
55119 main ()
55120 {
55121 _ceill (0); _floorl (0);
55122 ;
55123 return 0;
55124 }
55125 _ACEOF
55126 if ac_fn_cxx_try_compile "$LINENO"; then :
55127 glibcxx_cv_func__long_double_round_use=yes
55128 else
55129 glibcxx_cv_func__long_double_round_use=no
55130 fi
55131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55132 ac_ext=c
55133 ac_cpp='$CPP $CPPFLAGS'
55134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55137
55138 fi
55139
55140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55141 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55142 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55143 for ac_func in _ceill _floorl
55144 do :
55145 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55146 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55147 eval as_val=\$$as_ac_var
55148 if test "x$as_val" = x""yes; then :
55149 cat >>confdefs.h <<_ACEOF
55150 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55151 _ACEOF
55152
55153 fi
55154 done
55155
55156 fi
55157 fi
55158
55159
55160
55161
55162
55163
55164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55165 $as_echo_n "checking for isnanl declaration... " >&6; }
55166 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55167 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55168 $as_echo_n "(cached) " >&6
55169 else
55170
55171
55172 ac_ext=cpp
55173 ac_cpp='$CXXCPP $CPPFLAGS'
55174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55177
55178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55179 /* end confdefs.h. */
55180 #include <math.h>
55181 #ifdef HAVE_IEEEFP_H
55182 #include <ieeefp.h>
55183 #endif
55184
55185 int
55186 main ()
55187 {
55188 isnanl(0);
55189 ;
55190 return 0;
55191 }
55192 _ACEOF
55193 if ac_fn_cxx_try_compile "$LINENO"; then :
55194 glibcxx_cv_func_isnanl_use=yes
55195 else
55196 glibcxx_cv_func_isnanl_use=no
55197 fi
55198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55199 ac_ext=c
55200 ac_cpp='$CPP $CPPFLAGS'
55201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55204
55205
55206 fi
55207
55208 fi
55209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55210 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55211
55212 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55213 for ac_func in isnanl
55214 do :
55215 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55216 if test "x$ac_cv_func_isnanl" = x""yes; then :
55217 cat >>confdefs.h <<_ACEOF
55218 #define HAVE_ISNANL 1
55219 _ACEOF
55220
55221 fi
55222 done
55223
55224 else
55225
55226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55227 $as_echo_n "checking for _isnanl declaration... " >&6; }
55228 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55229 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55230 $as_echo_n "(cached) " >&6
55231 else
55232
55233
55234 ac_ext=cpp
55235 ac_cpp='$CXXCPP $CPPFLAGS'
55236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55239
55240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55241 /* end confdefs.h. */
55242 #include <math.h>
55243 #ifdef HAVE_IEEEFP_H
55244 #include <ieeefp.h>
55245 #endif
55246
55247 int
55248 main ()
55249 {
55250 _isnanl(0);
55251 ;
55252 return 0;
55253 }
55254 _ACEOF
55255 if ac_fn_cxx_try_compile "$LINENO"; then :
55256 glibcxx_cv_func__isnanl_use=yes
55257 else
55258 glibcxx_cv_func__isnanl_use=no
55259 fi
55260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55261 ac_ext=c
55262 ac_cpp='$CPP $CPPFLAGS'
55263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55266
55267
55268 fi
55269
55270 fi
55271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55272 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55273
55274 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55275 for ac_func in _isnanl
55276 do :
55277 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55278 if test "x$ac_cv_func__isnanl" = x""yes; then :
55279 cat >>confdefs.h <<_ACEOF
55280 #define HAVE__ISNANL 1
55281 _ACEOF
55282
55283 fi
55284 done
55285
55286 fi
55287 fi
55288
55289
55290
55291
55292
55293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55294 $as_echo_n "checking for isinfl declaration... " >&6; }
55295 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55296 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55297 $as_echo_n "(cached) " >&6
55298 else
55299
55300
55301 ac_ext=cpp
55302 ac_cpp='$CXXCPP $CPPFLAGS'
55303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55306
55307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55308 /* end confdefs.h. */
55309 #include <math.h>
55310 #ifdef HAVE_IEEEFP_H
55311 #include <ieeefp.h>
55312 #endif
55313
55314 int
55315 main ()
55316 {
55317 isinfl(0);
55318 ;
55319 return 0;
55320 }
55321 _ACEOF
55322 if ac_fn_cxx_try_compile "$LINENO"; then :
55323 glibcxx_cv_func_isinfl_use=yes
55324 else
55325 glibcxx_cv_func_isinfl_use=no
55326 fi
55327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55328 ac_ext=c
55329 ac_cpp='$CPP $CPPFLAGS'
55330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55333
55334
55335 fi
55336
55337 fi
55338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55339 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55340
55341 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55342 for ac_func in isinfl
55343 do :
55344 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55345 if test "x$ac_cv_func_isinfl" = x""yes; then :
55346 cat >>confdefs.h <<_ACEOF
55347 #define HAVE_ISINFL 1
55348 _ACEOF
55349
55350 fi
55351 done
55352
55353 else
55354
55355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55356 $as_echo_n "checking for _isinfl declaration... " >&6; }
55357 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55358 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55359 $as_echo_n "(cached) " >&6
55360 else
55361
55362
55363 ac_ext=cpp
55364 ac_cpp='$CXXCPP $CPPFLAGS'
55365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55368
55369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55370 /* end confdefs.h. */
55371 #include <math.h>
55372 #ifdef HAVE_IEEEFP_H
55373 #include <ieeefp.h>
55374 #endif
55375
55376 int
55377 main ()
55378 {
55379 _isinfl(0);
55380 ;
55381 return 0;
55382 }
55383 _ACEOF
55384 if ac_fn_cxx_try_compile "$LINENO"; then :
55385 glibcxx_cv_func__isinfl_use=yes
55386 else
55387 glibcxx_cv_func__isinfl_use=no
55388 fi
55389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55390 ac_ext=c
55391 ac_cpp='$CPP $CPPFLAGS'
55392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55395
55396
55397 fi
55398
55399 fi
55400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55401 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55402
55403 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55404 for ac_func in _isinfl
55405 do :
55406 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55407 if test "x$ac_cv_func__isinfl" = x""yes; then :
55408 cat >>confdefs.h <<_ACEOF
55409 #define HAVE__ISINFL 1
55410 _ACEOF
55411
55412 fi
55413 done
55414
55415 fi
55416 fi
55417
55418
55419
55420
55421
55422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55423 $as_echo_n "checking for atan2l declaration... " >&6; }
55424 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55425 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55426 $as_echo_n "(cached) " >&6
55427 else
55428
55429
55430 ac_ext=cpp
55431 ac_cpp='$CXXCPP $CPPFLAGS'
55432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55435
55436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55437 /* end confdefs.h. */
55438 #include <math.h>
55439 int
55440 main ()
55441 {
55442 atan2l(0, 0);
55443 ;
55444 return 0;
55445 }
55446 _ACEOF
55447 if ac_fn_cxx_try_compile "$LINENO"; then :
55448 glibcxx_cv_func_atan2l_use=yes
55449 else
55450 glibcxx_cv_func_atan2l_use=no
55451 fi
55452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55453 ac_ext=c
55454 ac_cpp='$CPP $CPPFLAGS'
55455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55458
55459
55460 fi
55461
55462 fi
55463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55464 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55465
55466 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55467 for ac_func in atan2l
55468 do :
55469 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55470 if test "x$ac_cv_func_atan2l" = x""yes; then :
55471 cat >>confdefs.h <<_ACEOF
55472 #define HAVE_ATAN2L 1
55473 _ACEOF
55474
55475 fi
55476 done
55477
55478 else
55479
55480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55481 $as_echo_n "checking for _atan2l declaration... " >&6; }
55482 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55483 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55484 $as_echo_n "(cached) " >&6
55485 else
55486
55487
55488 ac_ext=cpp
55489 ac_cpp='$CXXCPP $CPPFLAGS'
55490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55493
55494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55495 /* end confdefs.h. */
55496 #include <math.h>
55497 int
55498 main ()
55499 {
55500 _atan2l(0, 0);
55501 ;
55502 return 0;
55503 }
55504 _ACEOF
55505 if ac_fn_cxx_try_compile "$LINENO"; then :
55506 glibcxx_cv_func__atan2l_use=yes
55507 else
55508 glibcxx_cv_func__atan2l_use=no
55509 fi
55510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55511 ac_ext=c
55512 ac_cpp='$CPP $CPPFLAGS'
55513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55516
55517
55518 fi
55519
55520 fi
55521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55522 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55523
55524 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55525 for ac_func in _atan2l
55526 do :
55527 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55528 if test "x$ac_cv_func__atan2l" = x""yes; then :
55529 cat >>confdefs.h <<_ACEOF
55530 #define HAVE__ATAN2L 1
55531 _ACEOF
55532
55533 fi
55534 done
55535
55536 fi
55537 fi
55538
55539
55540
55541
55542
55543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55544 $as_echo_n "checking for expl declaration... " >&6; }
55545 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55546 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55547 $as_echo_n "(cached) " >&6
55548 else
55549
55550
55551 ac_ext=cpp
55552 ac_cpp='$CXXCPP $CPPFLAGS'
55553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55556
55557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55558 /* end confdefs.h. */
55559 #include <math.h>
55560 #ifdef HAVE_IEEEFP_H
55561 #include <ieeefp.h>
55562 #endif
55563
55564 int
55565 main ()
55566 {
55567 expl(0);
55568 ;
55569 return 0;
55570 }
55571 _ACEOF
55572 if ac_fn_cxx_try_compile "$LINENO"; then :
55573 glibcxx_cv_func_expl_use=yes
55574 else
55575 glibcxx_cv_func_expl_use=no
55576 fi
55577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55578 ac_ext=c
55579 ac_cpp='$CPP $CPPFLAGS'
55580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55583
55584
55585 fi
55586
55587 fi
55588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55589 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55590
55591 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55592 for ac_func in expl
55593 do :
55594 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55595 if test "x$ac_cv_func_expl" = x""yes; then :
55596 cat >>confdefs.h <<_ACEOF
55597 #define HAVE_EXPL 1
55598 _ACEOF
55599
55600 fi
55601 done
55602
55603 else
55604
55605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55606 $as_echo_n "checking for _expl declaration... " >&6; }
55607 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55608 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55609 $as_echo_n "(cached) " >&6
55610 else
55611
55612
55613 ac_ext=cpp
55614 ac_cpp='$CXXCPP $CPPFLAGS'
55615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55618
55619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55620 /* end confdefs.h. */
55621 #include <math.h>
55622 #ifdef HAVE_IEEEFP_H
55623 #include <ieeefp.h>
55624 #endif
55625
55626 int
55627 main ()
55628 {
55629 _expl(0);
55630 ;
55631 return 0;
55632 }
55633 _ACEOF
55634 if ac_fn_cxx_try_compile "$LINENO"; then :
55635 glibcxx_cv_func__expl_use=yes
55636 else
55637 glibcxx_cv_func__expl_use=no
55638 fi
55639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55640 ac_ext=c
55641 ac_cpp='$CPP $CPPFLAGS'
55642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55645
55646
55647 fi
55648
55649 fi
55650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55651 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55652
55653 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55654 for ac_func in _expl
55655 do :
55656 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55657 if test "x$ac_cv_func__expl" = x""yes; then :
55658 cat >>confdefs.h <<_ACEOF
55659 #define HAVE__EXPL 1
55660 _ACEOF
55661
55662 fi
55663 done
55664
55665 fi
55666 fi
55667
55668
55669
55670
55671
55672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55673 $as_echo_n "checking for fabsl declaration... " >&6; }
55674 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55675 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55676 $as_echo_n "(cached) " >&6
55677 else
55678
55679
55680 ac_ext=cpp
55681 ac_cpp='$CXXCPP $CPPFLAGS'
55682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55685
55686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55687 /* end confdefs.h. */
55688 #include <math.h>
55689 #ifdef HAVE_IEEEFP_H
55690 #include <ieeefp.h>
55691 #endif
55692
55693 int
55694 main ()
55695 {
55696 fabsl(0);
55697 ;
55698 return 0;
55699 }
55700 _ACEOF
55701 if ac_fn_cxx_try_compile "$LINENO"; then :
55702 glibcxx_cv_func_fabsl_use=yes
55703 else
55704 glibcxx_cv_func_fabsl_use=no
55705 fi
55706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55707 ac_ext=c
55708 ac_cpp='$CPP $CPPFLAGS'
55709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55712
55713
55714 fi
55715
55716 fi
55717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55718 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55719
55720 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55721 for ac_func in fabsl
55722 do :
55723 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55724 if test "x$ac_cv_func_fabsl" = x""yes; then :
55725 cat >>confdefs.h <<_ACEOF
55726 #define HAVE_FABSL 1
55727 _ACEOF
55728
55729 fi
55730 done
55731
55732 else
55733
55734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55735 $as_echo_n "checking for _fabsl declaration... " >&6; }
55736 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55737 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55738 $as_echo_n "(cached) " >&6
55739 else
55740
55741
55742 ac_ext=cpp
55743 ac_cpp='$CXXCPP $CPPFLAGS'
55744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55747
55748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55749 /* end confdefs.h. */
55750 #include <math.h>
55751 #ifdef HAVE_IEEEFP_H
55752 #include <ieeefp.h>
55753 #endif
55754
55755 int
55756 main ()
55757 {
55758 _fabsl(0);
55759 ;
55760 return 0;
55761 }
55762 _ACEOF
55763 if ac_fn_cxx_try_compile "$LINENO"; then :
55764 glibcxx_cv_func__fabsl_use=yes
55765 else
55766 glibcxx_cv_func__fabsl_use=no
55767 fi
55768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55769 ac_ext=c
55770 ac_cpp='$CPP $CPPFLAGS'
55771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55774
55775
55776 fi
55777
55778 fi
55779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55780 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55781
55782 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55783 for ac_func in _fabsl
55784 do :
55785 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55786 if test "x$ac_cv_func__fabsl" = x""yes; then :
55787 cat >>confdefs.h <<_ACEOF
55788 #define HAVE__FABSL 1
55789 _ACEOF
55790
55791 fi
55792 done
55793
55794 fi
55795 fi
55796
55797
55798
55799
55800
55801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55802 $as_echo_n "checking for fmodl declaration... " >&6; }
55803 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55804 if test "${glibcxx_cv_func_fmodl_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 fmodl(0, 0);
55822 ;
55823 return 0;
55824 }
55825 _ACEOF
55826 if ac_fn_cxx_try_compile "$LINENO"; then :
55827 glibcxx_cv_func_fmodl_use=yes
55828 else
55829 glibcxx_cv_func_fmodl_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
55839 fi
55840
55841 fi
55842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55843 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55844
55845 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55846 for ac_func in fmodl
55847 do :
55848 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55849 if test "x$ac_cv_func_fmodl" = x""yes; then :
55850 cat >>confdefs.h <<_ACEOF
55851 #define HAVE_FMODL 1
55852 _ACEOF
55853
55854 fi
55855 done
55856
55857 else
55858
55859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55860 $as_echo_n "checking for _fmodl declaration... " >&6; }
55861 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55862 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55863 $as_echo_n "(cached) " >&6
55864 else
55865
55866
55867 ac_ext=cpp
55868 ac_cpp='$CXXCPP $CPPFLAGS'
55869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55872
55873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55874 /* end confdefs.h. */
55875 #include <math.h>
55876 int
55877 main ()
55878 {
55879 _fmodl(0, 0);
55880 ;
55881 return 0;
55882 }
55883 _ACEOF
55884 if ac_fn_cxx_try_compile "$LINENO"; then :
55885 glibcxx_cv_func__fmodl_use=yes
55886 else
55887 glibcxx_cv_func__fmodl_use=no
55888 fi
55889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55890 ac_ext=c
55891 ac_cpp='$CPP $CPPFLAGS'
55892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55895
55896
55897 fi
55898
55899 fi
55900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55901 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55902
55903 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55904 for ac_func in _fmodl
55905 do :
55906 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55907 if test "x$ac_cv_func__fmodl" = x""yes; then :
55908 cat >>confdefs.h <<_ACEOF
55909 #define HAVE__FMODL 1
55910 _ACEOF
55911
55912 fi
55913 done
55914
55915 fi
55916 fi
55917
55918
55919
55920
55921
55922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55923 $as_echo_n "checking for frexpl declaration... " >&6; }
55924 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55925 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55926 $as_echo_n "(cached) " >&6
55927 else
55928
55929
55930 ac_ext=cpp
55931 ac_cpp='$CXXCPP $CPPFLAGS'
55932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55935
55936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55937 /* end confdefs.h. */
55938 #include <math.h>
55939 int
55940 main ()
55941 {
55942 frexpl(0, 0);
55943 ;
55944 return 0;
55945 }
55946 _ACEOF
55947 if ac_fn_cxx_try_compile "$LINENO"; then :
55948 glibcxx_cv_func_frexpl_use=yes
55949 else
55950 glibcxx_cv_func_frexpl_use=no
55951 fi
55952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55953 ac_ext=c
55954 ac_cpp='$CPP $CPPFLAGS'
55955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55958
55959
55960 fi
55961
55962 fi
55963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55964 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55965
55966 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55967 for ac_func in frexpl
55968 do :
55969 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55970 if test "x$ac_cv_func_frexpl" = x""yes; then :
55971 cat >>confdefs.h <<_ACEOF
55972 #define HAVE_FREXPL 1
55973 _ACEOF
55974
55975 fi
55976 done
55977
55978 else
55979
55980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55981 $as_echo_n "checking for _frexpl declaration... " >&6; }
55982 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55983 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55984 $as_echo_n "(cached) " >&6
55985 else
55986
55987
55988 ac_ext=cpp
55989 ac_cpp='$CXXCPP $CPPFLAGS'
55990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55993
55994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55995 /* end confdefs.h. */
55996 #include <math.h>
55997 int
55998 main ()
55999 {
56000 _frexpl(0, 0);
56001 ;
56002 return 0;
56003 }
56004 _ACEOF
56005 if ac_fn_cxx_try_compile "$LINENO"; then :
56006 glibcxx_cv_func__frexpl_use=yes
56007 else
56008 glibcxx_cv_func__frexpl_use=no
56009 fi
56010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56011 ac_ext=c
56012 ac_cpp='$CPP $CPPFLAGS'
56013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56016
56017
56018 fi
56019
56020 fi
56021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56022 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56023
56024 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56025 for ac_func in _frexpl
56026 do :
56027 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56028 if test "x$ac_cv_func__frexpl" = x""yes; then :
56029 cat >>confdefs.h <<_ACEOF
56030 #define HAVE__FREXPL 1
56031 _ACEOF
56032
56033 fi
56034 done
56035
56036 fi
56037 fi
56038
56039
56040
56041
56042
56043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56044 $as_echo_n "checking for hypotl declaration... " >&6; }
56045 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56046 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56047 $as_echo_n "(cached) " >&6
56048 else
56049
56050
56051 ac_ext=cpp
56052 ac_cpp='$CXXCPP $CPPFLAGS'
56053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56056
56057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56058 /* end confdefs.h. */
56059 #include <math.h>
56060 int
56061 main ()
56062 {
56063 hypotl(0, 0);
56064 ;
56065 return 0;
56066 }
56067 _ACEOF
56068 if ac_fn_cxx_try_compile "$LINENO"; then :
56069 glibcxx_cv_func_hypotl_use=yes
56070 else
56071 glibcxx_cv_func_hypotl_use=no
56072 fi
56073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56074 ac_ext=c
56075 ac_cpp='$CPP $CPPFLAGS'
56076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56079
56080
56081 fi
56082
56083 fi
56084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56085 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56086
56087 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56088 for ac_func in hypotl
56089 do :
56090 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56091 if test "x$ac_cv_func_hypotl" = x""yes; then :
56092 cat >>confdefs.h <<_ACEOF
56093 #define HAVE_HYPOTL 1
56094 _ACEOF
56095
56096 fi
56097 done
56098
56099 else
56100
56101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56102 $as_echo_n "checking for _hypotl declaration... " >&6; }
56103 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56104 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56105 $as_echo_n "(cached) " >&6
56106 else
56107
56108
56109 ac_ext=cpp
56110 ac_cpp='$CXXCPP $CPPFLAGS'
56111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56114
56115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56116 /* end confdefs.h. */
56117 #include <math.h>
56118 int
56119 main ()
56120 {
56121 _hypotl(0, 0);
56122 ;
56123 return 0;
56124 }
56125 _ACEOF
56126 if ac_fn_cxx_try_compile "$LINENO"; then :
56127 glibcxx_cv_func__hypotl_use=yes
56128 else
56129 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
56143 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56144
56145 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56146 for ac_func in _hypotl
56147 do :
56148 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56149 if test "x$ac_cv_func__hypotl" = x""yes; then :
56150 cat >>confdefs.h <<_ACEOF
56151 #define HAVE__HYPOTL 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 ldexpl declaration" >&5
56165 $as_echo_n "checking for ldexpl declaration... " >&6; }
56166 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56167 if test "${glibcxx_cv_func_ldexpl_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 int
56182 main ()
56183 {
56184 ldexpl(0, 0);
56185 ;
56186 return 0;
56187 }
56188 _ACEOF
56189 if ac_fn_cxx_try_compile "$LINENO"; then :
56190 glibcxx_cv_func_ldexpl_use=yes
56191 else
56192 glibcxx_cv_func_ldexpl_use=no
56193 fi
56194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56195 ac_ext=c
56196 ac_cpp='$CPP $CPPFLAGS'
56197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56200
56201
56202 fi
56203
56204 fi
56205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56206 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56207
56208 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56209 for ac_func in ldexpl
56210 do :
56211 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56212 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56213 cat >>confdefs.h <<_ACEOF
56214 #define HAVE_LDEXPL 1
56215 _ACEOF
56216
56217 fi
56218 done
56219
56220 else
56221
56222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56223 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56224 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56225 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56226 $as_echo_n "(cached) " >&6
56227 else
56228
56229
56230 ac_ext=cpp
56231 ac_cpp='$CXXCPP $CPPFLAGS'
56232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56235
56236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56237 /* end confdefs.h. */
56238 #include <math.h>
56239 int
56240 main ()
56241 {
56242 _ldexpl(0, 0);
56243 ;
56244 return 0;
56245 }
56246 _ACEOF
56247 if ac_fn_cxx_try_compile "$LINENO"; then :
56248 glibcxx_cv_func__ldexpl_use=yes
56249 else
56250 glibcxx_cv_func__ldexpl_use=no
56251 fi
56252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56253 ac_ext=c
56254 ac_cpp='$CPP $CPPFLAGS'
56255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56258
56259
56260 fi
56261
56262 fi
56263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56264 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56265
56266 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56267 for ac_func in _ldexpl
56268 do :
56269 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56270 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56271 cat >>confdefs.h <<_ACEOF
56272 #define HAVE__LDEXPL 1
56273 _ACEOF
56274
56275 fi
56276 done
56277
56278 fi
56279 fi
56280
56281
56282
56283
56284
56285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56286 $as_echo_n "checking for logl declaration... " >&6; }
56287 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56288 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56289 $as_echo_n "(cached) " >&6
56290 else
56291
56292
56293 ac_ext=cpp
56294 ac_cpp='$CXXCPP $CPPFLAGS'
56295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56298
56299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56300 /* end confdefs.h. */
56301 #include <math.h>
56302 #ifdef HAVE_IEEEFP_H
56303 #include <ieeefp.h>
56304 #endif
56305
56306 int
56307 main ()
56308 {
56309 logl(0);
56310 ;
56311 return 0;
56312 }
56313 _ACEOF
56314 if ac_fn_cxx_try_compile "$LINENO"; then :
56315 glibcxx_cv_func_logl_use=yes
56316 else
56317 glibcxx_cv_func_logl_use=no
56318 fi
56319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56320 ac_ext=c
56321 ac_cpp='$CPP $CPPFLAGS'
56322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56325
56326
56327 fi
56328
56329 fi
56330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56331 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56332
56333 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56334 for ac_func in logl
56335 do :
56336 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56337 if test "x$ac_cv_func_logl" = x""yes; then :
56338 cat >>confdefs.h <<_ACEOF
56339 #define HAVE_LOGL 1
56340 _ACEOF
56341
56342 fi
56343 done
56344
56345 else
56346
56347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56348 $as_echo_n "checking for _logl declaration... " >&6; }
56349 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56350 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56351 $as_echo_n "(cached) " >&6
56352 else
56353
56354
56355 ac_ext=cpp
56356 ac_cpp='$CXXCPP $CPPFLAGS'
56357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56360
56361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56362 /* end confdefs.h. */
56363 #include <math.h>
56364 #ifdef HAVE_IEEEFP_H
56365 #include <ieeefp.h>
56366 #endif
56367
56368 int
56369 main ()
56370 {
56371 _logl(0);
56372 ;
56373 return 0;
56374 }
56375 _ACEOF
56376 if ac_fn_cxx_try_compile "$LINENO"; then :
56377 glibcxx_cv_func__logl_use=yes
56378 else
56379 glibcxx_cv_func__logl_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__logl_use" >&5
56393 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56394
56395 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56396 for ac_func in _logl
56397 do :
56398 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56399 if test "x$ac_cv_func__logl" = x""yes; then :
56400 cat >>confdefs.h <<_ACEOF
56401 #define HAVE__LOGL 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 log10l declaration" >&5
56415 $as_echo_n "checking for log10l declaration... " >&6; }
56416 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56417 if test "${glibcxx_cv_func_log10l_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 log10l(0);
56439 ;
56440 return 0;
56441 }
56442 _ACEOF
56443 if ac_fn_cxx_try_compile "$LINENO"; then :
56444 glibcxx_cv_func_log10l_use=yes
56445 else
56446 glibcxx_cv_func_log10l_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_log10l_use" >&5
56460 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56461
56462 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56463 for ac_func in log10l
56464 do :
56465 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56466 if test "x$ac_cv_func_log10l" = x""yes; then :
56467 cat >>confdefs.h <<_ACEOF
56468 #define HAVE_LOG10L 1
56469 _ACEOF
56470
56471 fi
56472 done
56473
56474 else
56475
56476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56477 $as_echo_n "checking for _log10l declaration... " >&6; }
56478 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56479 if test "${glibcxx_cv_func__log10l_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 _log10l(0);
56501 ;
56502 return 0;
56503 }
56504 _ACEOF
56505 if ac_fn_cxx_try_compile "$LINENO"; then :
56506 glibcxx_cv_func__log10l_use=yes
56507 else
56508 glibcxx_cv_func__log10l_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__log10l_use" >&5
56522 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56523
56524 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56525 for ac_func in _log10l
56526 do :
56527 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56528 if test "x$ac_cv_func__log10l" = x""yes; then :
56529 cat >>confdefs.h <<_ACEOF
56530 #define HAVE__LOG10L 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 modfl declaration" >&5
56544 $as_echo_n "checking for modfl declaration... " >&6; }
56545 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56546 if test "${glibcxx_cv_func_modfl_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 int
56561 main ()
56562 {
56563 modfl(0, 0);
56564 ;
56565 return 0;
56566 }
56567 _ACEOF
56568 if ac_fn_cxx_try_compile "$LINENO"; then :
56569 glibcxx_cv_func_modfl_use=yes
56570 else
56571 glibcxx_cv_func_modfl_use=no
56572 fi
56573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56574 ac_ext=c
56575 ac_cpp='$CPP $CPPFLAGS'
56576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56579
56580
56581 fi
56582
56583 fi
56584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56585 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56586
56587 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56588 for ac_func in modfl
56589 do :
56590 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56591 if test "x$ac_cv_func_modfl" = x""yes; then :
56592 cat >>confdefs.h <<_ACEOF
56593 #define HAVE_MODFL 1
56594 _ACEOF
56595
56596 fi
56597 done
56598
56599 else
56600
56601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56602 $as_echo_n "checking for _modfl declaration... " >&6; }
56603 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56604 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56605 $as_echo_n "(cached) " >&6
56606 else
56607
56608
56609 ac_ext=cpp
56610 ac_cpp='$CXXCPP $CPPFLAGS'
56611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56614
56615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56616 /* end confdefs.h. */
56617 #include <math.h>
56618 int
56619 main ()
56620 {
56621 _modfl(0, 0);
56622 ;
56623 return 0;
56624 }
56625 _ACEOF
56626 if ac_fn_cxx_try_compile "$LINENO"; then :
56627 glibcxx_cv_func__modfl_use=yes
56628 else
56629 glibcxx_cv_func__modfl_use=no
56630 fi
56631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56632 ac_ext=c
56633 ac_cpp='$CPP $CPPFLAGS'
56634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56637
56638
56639 fi
56640
56641 fi
56642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56643 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56644
56645 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56646 for ac_func in _modfl
56647 do :
56648 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56649 if test "x$ac_cv_func__modfl" = x""yes; then :
56650 cat >>confdefs.h <<_ACEOF
56651 #define HAVE__MODFL 1
56652 _ACEOF
56653
56654 fi
56655 done
56656
56657 fi
56658 fi
56659
56660
56661
56662
56663
56664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56665 $as_echo_n "checking for powl declaration... " >&6; }
56666 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56667 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56668 $as_echo_n "(cached) " >&6
56669 else
56670
56671
56672 ac_ext=cpp
56673 ac_cpp='$CXXCPP $CPPFLAGS'
56674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56677
56678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56679 /* end confdefs.h. */
56680 #include <math.h>
56681 int
56682 main ()
56683 {
56684 powl(0, 0);
56685 ;
56686 return 0;
56687 }
56688 _ACEOF
56689 if ac_fn_cxx_try_compile "$LINENO"; then :
56690 glibcxx_cv_func_powl_use=yes
56691 else
56692 glibcxx_cv_func_powl_use=no
56693 fi
56694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56695 ac_ext=c
56696 ac_cpp='$CPP $CPPFLAGS'
56697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56700
56701
56702 fi
56703
56704 fi
56705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56706 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56707
56708 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56709 for ac_func in powl
56710 do :
56711 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56712 if test "x$ac_cv_func_powl" = x""yes; then :
56713 cat >>confdefs.h <<_ACEOF
56714 #define HAVE_POWL 1
56715 _ACEOF
56716
56717 fi
56718 done
56719
56720 else
56721
56722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56723 $as_echo_n "checking for _powl declaration... " >&6; }
56724 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56725 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56726 $as_echo_n "(cached) " >&6
56727 else
56728
56729
56730 ac_ext=cpp
56731 ac_cpp='$CXXCPP $CPPFLAGS'
56732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56735
56736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56737 /* end confdefs.h. */
56738 #include <math.h>
56739 int
56740 main ()
56741 {
56742 _powl(0, 0);
56743 ;
56744 return 0;
56745 }
56746 _ACEOF
56747 if ac_fn_cxx_try_compile "$LINENO"; then :
56748 glibcxx_cv_func__powl_use=yes
56749 else
56750 glibcxx_cv_func__powl_use=no
56751 fi
56752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56753 ac_ext=c
56754 ac_cpp='$CPP $CPPFLAGS'
56755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56758
56759
56760 fi
56761
56762 fi
56763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56764 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56765
56766 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56767 for ac_func in _powl
56768 do :
56769 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56770 if test "x$ac_cv_func__powl" = x""yes; then :
56771 cat >>confdefs.h <<_ACEOF
56772 #define HAVE__POWL 1
56773 _ACEOF
56774
56775 fi
56776 done
56777
56778 fi
56779 fi
56780
56781
56782
56783
56784
56785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56786 $as_echo_n "checking for sqrtl declaration... " >&6; }
56787 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56788 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56789 $as_echo_n "(cached) " >&6
56790 else
56791
56792
56793 ac_ext=cpp
56794 ac_cpp='$CXXCPP $CPPFLAGS'
56795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56798
56799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56800 /* end confdefs.h. */
56801 #include <math.h>
56802 #ifdef HAVE_IEEEFP_H
56803 #include <ieeefp.h>
56804 #endif
56805
56806 int
56807 main ()
56808 {
56809 sqrtl(0);
56810 ;
56811 return 0;
56812 }
56813 _ACEOF
56814 if ac_fn_cxx_try_compile "$LINENO"; then :
56815 glibcxx_cv_func_sqrtl_use=yes
56816 else
56817 glibcxx_cv_func_sqrtl_use=no
56818 fi
56819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56820 ac_ext=c
56821 ac_cpp='$CPP $CPPFLAGS'
56822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56825
56826
56827 fi
56828
56829 fi
56830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56831 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56832
56833 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56834 for ac_func in sqrtl
56835 do :
56836 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56837 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56838 cat >>confdefs.h <<_ACEOF
56839 #define HAVE_SQRTL 1
56840 _ACEOF
56841
56842 fi
56843 done
56844
56845 else
56846
56847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56848 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56849 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56850 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56851 $as_echo_n "(cached) " >&6
56852 else
56853
56854
56855 ac_ext=cpp
56856 ac_cpp='$CXXCPP $CPPFLAGS'
56857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56860
56861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56862 /* end confdefs.h. */
56863 #include <math.h>
56864 #ifdef HAVE_IEEEFP_H
56865 #include <ieeefp.h>
56866 #endif
56867
56868 int
56869 main ()
56870 {
56871 _sqrtl(0);
56872 ;
56873 return 0;
56874 }
56875 _ACEOF
56876 if ac_fn_cxx_try_compile "$LINENO"; then :
56877 glibcxx_cv_func__sqrtl_use=yes
56878 else
56879 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
56893 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56894
56895 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56896 for ac_func in _sqrtl
56897 do :
56898 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56899 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56900 cat >>confdefs.h <<_ACEOF
56901 #define HAVE__SQRTL 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 sincosl declaration" >&5
56915 $as_echo_n "checking for sincosl declaration... " >&6; }
56916 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56917 if test "${glibcxx_cv_func_sincosl_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 sincosl(0, 0, 0);
56935 ;
56936 return 0;
56937 }
56938 _ACEOF
56939 if ac_fn_cxx_try_compile "$LINENO"; then :
56940 glibcxx_cv_func_sincosl_use=yes
56941 else
56942 glibcxx_cv_func_sincosl_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_sincosl_use" >&5
56956 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56957
56958 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56959 for ac_func in sincosl
56960 do :
56961 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56962 if test "x$ac_cv_func_sincosl" = x""yes; then :
56963 cat >>confdefs.h <<_ACEOF
56964 #define HAVE_SINCOSL 1
56965 _ACEOF
56966
56967 fi
56968 done
56969
56970 else
56971
56972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56973 $as_echo_n "checking for _sincosl declaration... " >&6; }
56974 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56975 if test "${glibcxx_cv_func__sincosl_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 _sincosl(0, 0, 0);
56993 ;
56994 return 0;
56995 }
56996 _ACEOF
56997 if ac_fn_cxx_try_compile "$LINENO"; then :
56998 glibcxx_cv_func__sincosl_use=yes
56999 else
57000 glibcxx_cv_func__sincosl_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__sincosl_use" >&5
57014 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57015
57016 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57017 for ac_func in _sincosl
57018 do :
57019 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57020 if test "x$ac_cv_func__sincosl" = x""yes; then :
57021 cat >>confdefs.h <<_ACEOF
57022 #define HAVE__SINCOSL 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 finitel declaration" >&5
57036 $as_echo_n "checking for finitel declaration... " >&6; }
57037 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57038 if test "${glibcxx_cv_func_finitel_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 #ifdef HAVE_IEEEFP_H
57053 #include <ieeefp.h>
57054 #endif
57055
57056 int
57057 main ()
57058 {
57059 finitel(0);
57060 ;
57061 return 0;
57062 }
57063 _ACEOF
57064 if ac_fn_cxx_try_compile "$LINENO"; then :
57065 glibcxx_cv_func_finitel_use=yes
57066 else
57067 glibcxx_cv_func_finitel_use=no
57068 fi
57069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57070 ac_ext=c
57071 ac_cpp='$CPP $CPPFLAGS'
57072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57075
57076
57077 fi
57078
57079 fi
57080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57081 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57082
57083 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57084 for ac_func in finitel
57085 do :
57086 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57087 if test "x$ac_cv_func_finitel" = x""yes; then :
57088 cat >>confdefs.h <<_ACEOF
57089 #define HAVE_FINITEL 1
57090 _ACEOF
57091
57092 fi
57093 done
57094
57095 else
57096
57097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57098 $as_echo_n "checking for _finitel declaration... " >&6; }
57099 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57100 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57101 $as_echo_n "(cached) " >&6
57102 else
57103
57104
57105 ac_ext=cpp
57106 ac_cpp='$CXXCPP $CPPFLAGS'
57107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57110
57111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57112 /* end confdefs.h. */
57113 #include <math.h>
57114 #ifdef HAVE_IEEEFP_H
57115 #include <ieeefp.h>
57116 #endif
57117
57118 int
57119 main ()
57120 {
57121 _finitel(0);
57122 ;
57123 return 0;
57124 }
57125 _ACEOF
57126 if ac_fn_cxx_try_compile "$LINENO"; then :
57127 glibcxx_cv_func__finitel_use=yes
57128 else
57129 glibcxx_cv_func__finitel_use=no
57130 fi
57131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57132 ac_ext=c
57133 ac_cpp='$CPP $CPPFLAGS'
57134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57137
57138
57139 fi
57140
57141 fi
57142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57143 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57144
57145 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57146 for ac_func in _finitel
57147 do :
57148 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57149 if test "x$ac_cv_func__finitel" = x""yes; then :
57150 cat >>confdefs.h <<_ACEOF
57151 #define HAVE__FINITEL 1
57152 _ACEOF
57153
57154 fi
57155 done
57156
57157 fi
57158 fi
57159
57160
57161
57162
57163 LIBS="$ac_save_LIBS"
57164 CXXFLAGS="$ac_save_CXXFLAGS"
57165
57166
57167 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57168 ac_save_CXXFLAGS="$CXXFLAGS"
57169 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57170
57171
57172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57173 $as_echo_n "checking for strtold declaration... " >&6; }
57174 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57175 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57176 $as_echo_n "(cached) " >&6
57177 else
57178
57179
57180 ac_ext=cpp
57181 ac_cpp='$CXXCPP $CPPFLAGS'
57182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57185
57186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57187 /* end confdefs.h. */
57188 #include <stdlib.h>
57189 int
57190 main ()
57191 {
57192 strtold(0, 0);
57193 ;
57194 return 0;
57195 }
57196 _ACEOF
57197 if ac_fn_cxx_try_compile "$LINENO"; then :
57198 glibcxx_cv_func_strtold_use=yes
57199 else
57200 glibcxx_cv_func_strtold_use=no
57201 fi
57202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57203 ac_ext=c
57204 ac_cpp='$CPP $CPPFLAGS'
57205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57208
57209
57210 fi
57211
57212 fi
57213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57214 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57215 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57216 for ac_func in strtold
57217 do :
57218 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57219 if test "x$ac_cv_func_strtold" = x""yes; then :
57220 cat >>confdefs.h <<_ACEOF
57221 #define HAVE_STRTOLD 1
57222 _ACEOF
57223
57224 fi
57225 done
57226
57227 fi
57228
57229
57230
57231
57232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57233 $as_echo_n "checking for strtof declaration... " >&6; }
57234 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57235 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57236 $as_echo_n "(cached) " >&6
57237 else
57238
57239
57240 ac_ext=cpp
57241 ac_cpp='$CXXCPP $CPPFLAGS'
57242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57245
57246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57247 /* end confdefs.h. */
57248 #include <stdlib.h>
57249 int
57250 main ()
57251 {
57252 strtof(0, 0);
57253 ;
57254 return 0;
57255 }
57256 _ACEOF
57257 if ac_fn_cxx_try_compile "$LINENO"; then :
57258 glibcxx_cv_func_strtof_use=yes
57259 else
57260 glibcxx_cv_func_strtof_use=no
57261 fi
57262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57263 ac_ext=c
57264 ac_cpp='$CPP $CPPFLAGS'
57265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57268
57269
57270 fi
57271
57272 fi
57273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57274 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57275 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57276 for ac_func in strtof
57277 do :
57278 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57279 if test "x$ac_cv_func_strtof" = x""yes; then :
57280 cat >>confdefs.h <<_ACEOF
57281 #define HAVE_STRTOF 1
57282 _ACEOF
57283
57284 fi
57285 done
57286
57287 fi
57288
57289
57290
57291
57292 CXXFLAGS="$ac_save_CXXFLAGS"
57293
57294 ;;
57295 *-netbsd*)
57296 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57297
57298
57299 # If we're not using GNU ld, then there's no point in even trying these
57300 # tests. Check for that first. We should have already tested for gld
57301 # by now (in libtool), but require it now just to be safe...
57302 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57303 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57304
57305
57306
57307 # The name set by libtool depends on the version of libtool. Shame on us
57308 # for depending on an impl detail, but c'est la vie. Older versions used
57309 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57310 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57311 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57312 # set (hence we're using an older libtool), then set it.
57313 if test x${with_gnu_ld+set} != xset; then
57314 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57315 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57316 with_gnu_ld=no
57317 else
57318 with_gnu_ld=$ac_cv_prog_gnu_ld
57319 fi
57320 fi
57321
57322 # Start by getting the version number. I think the libtool test already
57323 # does some of this, but throws away the result.
57324 glibcxx_ld_is_gold=no
57325 if test x"$with_gnu_ld" = x"yes"; then
57326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57327 $as_echo_n "checking for ld version... " >&6; }
57328
57329 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57330 glibcxx_ld_is_gold=yes
57331 fi
57332 ldver=`$LD --version 2>/dev/null |
57333 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'`
57334
57335 glibcxx_gnu_ld_version=`echo $ldver | \
57336 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57338 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57339 fi
57340
57341 # Set --gc-sections.
57342 glibcxx_have_gc_sections=no
57343 if test "$glibcxx_ld_is_gold" = "yes"; then
57344 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57345 glibcxx_have_gc_sections=yes
57346 fi
57347 else
57348 glibcxx_gcsections_min_ld=21602
57349 if test x"$with_gnu_ld" = x"yes" &&
57350 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57351 glibcxx_have_gc_sections=yes
57352 fi
57353 fi
57354 if test "$glibcxx_have_gc_sections" = "yes"; then
57355 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57356 # NB: This flag only works reliably after 2.16.1. Configure tests
57357 # for this are difficult, so hard wire a value that should work.
57358
57359 ac_test_CFLAGS="${CFLAGS+set}"
57360 ac_save_CFLAGS="$CFLAGS"
57361 CFLAGS='-Wl,--gc-sections'
57362
57363 # Check for -Wl,--gc-sections
57364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57365 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57366 if test x$gcc_no_link = xyes; then
57367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57368 fi
57369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57370 /* end confdefs.h. */
57371 int one(void) { return 1; }
57372 int two(void) { return 2; }
57373
57374 int
57375 main ()
57376 {
57377 two();
57378 ;
57379 return 0;
57380 }
57381 _ACEOF
57382 if ac_fn_c_try_link "$LINENO"; then :
57383 ac_gcsections=yes
57384 else
57385 ac_gcsections=no
57386 fi
57387 rm -f core conftest.err conftest.$ac_objext \
57388 conftest$ac_exeext conftest.$ac_ext
57389 if test "$ac_gcsections" = "yes"; then
57390 rm -f conftest.c
57391 touch conftest.c
57392 if $CC -c conftest.c; then
57393 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57394 grep "Warning: gc-sections option ignored" > /dev/null; then
57395 ac_gcsections=no
57396 fi
57397 fi
57398 rm -f conftest.c conftest.o conftest
57399 fi
57400 if test "$ac_gcsections" = "yes"; then
57401 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57402 fi
57403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57404 $as_echo "$ac_gcsections" >&6; }
57405
57406 if test "$ac_test_CFLAGS" = set; then
57407 CFLAGS="$ac_save_CFLAGS"
57408 else
57409 # this is the suspicious part
57410 CFLAGS=''
57411 fi
57412 fi
57413
57414 # Set -z,relro.
57415 # Note this is only for shared objects.
57416 ac_ld_relro=no
57417 if test x"$with_gnu_ld" = x"yes"; then
57418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57419 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57420 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57421 if test -n "$cxx_z_relo"; then
57422 OPT_LDFLAGS="-Wl,-z,relro"
57423 ac_ld_relro=yes
57424 fi
57425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57426 $as_echo "$ac_ld_relro" >&6; }
57427 fi
57428
57429 # Set linker optimization flags.
57430 if test x"$with_gnu_ld" = x"yes"; then
57431 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57432 fi
57433
57434
57435
57436
57437 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57438
57439 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57440
57441 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57442
57443 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57444
57445 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57446
57447 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57448
57449 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57450
57451 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57452
57453 if test x"long_double_math_on_this_cpu" = x"yes"; then
57454 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57455
57456 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57457
57458 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57459
57460 fi
57461 ;;
57462 *-qnx6.1* | *-qnx6.2*)
57463 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57464
57465
57466 # If we're not using GNU ld, then there's no point in even trying these
57467 # tests. Check for that first. We should have already tested for gld
57468 # by now (in libtool), but require it now just to be safe...
57469 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57470 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57471
57472
57473
57474 # The name set by libtool depends on the version of libtool. Shame on us
57475 # for depending on an impl detail, but c'est la vie. Older versions used
57476 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57477 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57478 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57479 # set (hence we're using an older libtool), then set it.
57480 if test x${with_gnu_ld+set} != xset; then
57481 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57482 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57483 with_gnu_ld=no
57484 else
57485 with_gnu_ld=$ac_cv_prog_gnu_ld
57486 fi
57487 fi
57488
57489 # Start by getting the version number. I think the libtool test already
57490 # does some of this, but throws away the result.
57491 glibcxx_ld_is_gold=no
57492 if test x"$with_gnu_ld" = x"yes"; then
57493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57494 $as_echo_n "checking for ld version... " >&6; }
57495
57496 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57497 glibcxx_ld_is_gold=yes
57498 fi
57499 ldver=`$LD --version 2>/dev/null |
57500 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'`
57501
57502 glibcxx_gnu_ld_version=`echo $ldver | \
57503 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57505 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57506 fi
57507
57508 # Set --gc-sections.
57509 glibcxx_have_gc_sections=no
57510 if test "$glibcxx_ld_is_gold" = "yes"; then
57511 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57512 glibcxx_have_gc_sections=yes
57513 fi
57514 else
57515 glibcxx_gcsections_min_ld=21602
57516 if test x"$with_gnu_ld" = x"yes" &&
57517 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57518 glibcxx_have_gc_sections=yes
57519 fi
57520 fi
57521 if test "$glibcxx_have_gc_sections" = "yes"; then
57522 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57523 # NB: This flag only works reliably after 2.16.1. Configure tests
57524 # for this are difficult, so hard wire a value that should work.
57525
57526 ac_test_CFLAGS="${CFLAGS+set}"
57527 ac_save_CFLAGS="$CFLAGS"
57528 CFLAGS='-Wl,--gc-sections'
57529
57530 # Check for -Wl,--gc-sections
57531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57532 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57533 if test x$gcc_no_link = xyes; then
57534 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57535 fi
57536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57537 /* end confdefs.h. */
57538 int one(void) { return 1; }
57539 int two(void) { return 2; }
57540
57541 int
57542 main ()
57543 {
57544 two();
57545 ;
57546 return 0;
57547 }
57548 _ACEOF
57549 if ac_fn_c_try_link "$LINENO"; then :
57550 ac_gcsections=yes
57551 else
57552 ac_gcsections=no
57553 fi
57554 rm -f core conftest.err conftest.$ac_objext \
57555 conftest$ac_exeext conftest.$ac_ext
57556 if test "$ac_gcsections" = "yes"; then
57557 rm -f conftest.c
57558 touch conftest.c
57559 if $CC -c conftest.c; then
57560 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57561 grep "Warning: gc-sections option ignored" > /dev/null; then
57562 ac_gcsections=no
57563 fi
57564 fi
57565 rm -f conftest.c conftest.o conftest
57566 fi
57567 if test "$ac_gcsections" = "yes"; then
57568 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57569 fi
57570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57571 $as_echo "$ac_gcsections" >&6; }
57572
57573 if test "$ac_test_CFLAGS" = set; then
57574 CFLAGS="$ac_save_CFLAGS"
57575 else
57576 # this is the suspicious part
57577 CFLAGS=''
57578 fi
57579 fi
57580
57581 # Set -z,relro.
57582 # Note this is only for shared objects.
57583 ac_ld_relro=no
57584 if test x"$with_gnu_ld" = x"yes"; then
57585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57586 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57587 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57588 if test -n "$cxx_z_relo"; then
57589 OPT_LDFLAGS="-Wl,-z,relro"
57590 ac_ld_relro=yes
57591 fi
57592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57593 $as_echo "$ac_ld_relro" >&6; }
57594 fi
57595
57596 # Set linker optimization flags.
57597 if test x"$with_gnu_ld" = x"yes"; then
57598 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57599 fi
57600
57601
57602
57603
57604 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57605
57606 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57607
57608 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57609
57610 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57611
57612 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57613
57614 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57615
57616 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57617
57618 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57619
57620 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57621
57622 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57623
57624 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57625
57626 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57627
57628 ;;
57629 *-rtems*)
57630
57631 # All these tests are for C++; save the language and the compiler flags.
57632 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57633 # found in GLIBCXX_CONFIGURE.
57634
57635 ac_ext=cpp
57636 ac_cpp='$CXXCPP $CPPFLAGS'
57637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57640
57641 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57642 ac_save_CXXFLAGS="$CXXFLAGS"
57643
57644 # Check for maintainer-mode bits.
57645 if test x"$USE_MAINTAINER_MODE" = xno; then
57646 WERROR=''
57647 else
57648 WERROR='-Werror'
57649 fi
57650
57651 # Check for -ffunction-sections -fdata-sections
57652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57653 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57654 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57656 /* end confdefs.h. */
57657 int foo; void bar() { };
57658 int
57659 main ()
57660 {
57661
57662 ;
57663 return 0;
57664 }
57665 _ACEOF
57666 if ac_fn_cxx_try_compile "$LINENO"; then :
57667 ac_fdsections=yes
57668 else
57669 ac_fdsections=no
57670 fi
57671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57672 if test "$ac_test_CXXFLAGS" = set; then
57673 CXXFLAGS="$ac_save_CXXFLAGS"
57674 else
57675 # this is the suspicious part
57676 CXXFLAGS=''
57677 fi
57678 if test x"$ac_fdsections" = x"yes"; then
57679 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57680 fi
57681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57682 $as_echo "$ac_fdsections" >&6; }
57683
57684 ac_ext=c
57685 ac_cpp='$CPP $CPPFLAGS'
57686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57689
57690
57691
57692
57693
57694 # If we're not using GNU ld, then there's no point in even trying these
57695 # tests. Check for that first. We should have already tested for gld
57696 # by now (in libtool), but require it now just to be safe...
57697 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57698 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57699
57700
57701
57702 # The name set by libtool depends on the version of libtool. Shame on us
57703 # for depending on an impl detail, but c'est la vie. Older versions used
57704 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57705 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57706 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57707 # set (hence we're using an older libtool), then set it.
57708 if test x${with_gnu_ld+set} != xset; then
57709 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57710 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57711 with_gnu_ld=no
57712 else
57713 with_gnu_ld=$ac_cv_prog_gnu_ld
57714 fi
57715 fi
57716
57717 # Start by getting the version number. I think the libtool test already
57718 # does some of this, but throws away the result.
57719 glibcxx_ld_is_gold=no
57720 if test x"$with_gnu_ld" = x"yes"; then
57721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57722 $as_echo_n "checking for ld version... " >&6; }
57723
57724 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57725 glibcxx_ld_is_gold=yes
57726 fi
57727 ldver=`$LD --version 2>/dev/null |
57728 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'`
57729
57730 glibcxx_gnu_ld_version=`echo $ldver | \
57731 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57733 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57734 fi
57735
57736 # Set --gc-sections.
57737 glibcxx_have_gc_sections=no
57738 if test "$glibcxx_ld_is_gold" = "yes"; then
57739 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57740 glibcxx_have_gc_sections=yes
57741 fi
57742 else
57743 glibcxx_gcsections_min_ld=21602
57744 if test x"$with_gnu_ld" = x"yes" &&
57745 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57746 glibcxx_have_gc_sections=yes
57747 fi
57748 fi
57749 if test "$glibcxx_have_gc_sections" = "yes"; then
57750 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57751 # NB: This flag only works reliably after 2.16.1. Configure tests
57752 # for this are difficult, so hard wire a value that should work.
57753
57754 ac_test_CFLAGS="${CFLAGS+set}"
57755 ac_save_CFLAGS="$CFLAGS"
57756 CFLAGS='-Wl,--gc-sections'
57757
57758 # Check for -Wl,--gc-sections
57759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57760 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57761 if test x$gcc_no_link = xyes; then
57762 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57763 fi
57764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57765 /* end confdefs.h. */
57766 int one(void) { return 1; }
57767 int two(void) { return 2; }
57768
57769 int
57770 main ()
57771 {
57772 two();
57773 ;
57774 return 0;
57775 }
57776 _ACEOF
57777 if ac_fn_c_try_link "$LINENO"; then :
57778 ac_gcsections=yes
57779 else
57780 ac_gcsections=no
57781 fi
57782 rm -f core conftest.err conftest.$ac_objext \
57783 conftest$ac_exeext conftest.$ac_ext
57784 if test "$ac_gcsections" = "yes"; then
57785 rm -f conftest.c
57786 touch conftest.c
57787 if $CC -c conftest.c; then
57788 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57789 grep "Warning: gc-sections option ignored" > /dev/null; then
57790 ac_gcsections=no
57791 fi
57792 fi
57793 rm -f conftest.c conftest.o conftest
57794 fi
57795 if test "$ac_gcsections" = "yes"; then
57796 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57797 fi
57798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57799 $as_echo "$ac_gcsections" >&6; }
57800
57801 if test "$ac_test_CFLAGS" = set; then
57802 CFLAGS="$ac_save_CFLAGS"
57803 else
57804 # this is the suspicious part
57805 CFLAGS=''
57806 fi
57807 fi
57808
57809 # Set -z,relro.
57810 # Note this is only for shared objects.
57811 ac_ld_relro=no
57812 if test x"$with_gnu_ld" = x"yes"; then
57813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57814 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57815 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57816 if test -n "$cxx_z_relo"; then
57817 OPT_LDFLAGS="-Wl,-z,relro"
57818 ac_ld_relro=yes
57819 fi
57820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57821 $as_echo "$ac_ld_relro" >&6; }
57822 fi
57823
57824 # Set linker optimization flags.
57825 if test x"$with_gnu_ld" = x"yes"; then
57826 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57827 fi
57828
57829
57830
57831
57832
57833 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57834 ac_save_CXXFLAGS="$CXXFLAGS"
57835 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57836
57837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57838 $as_echo_n "checking for sin in -lm... " >&6; }
57839 if test "${ac_cv_lib_m_sin+set}" = set; then :
57840 $as_echo_n "(cached) " >&6
57841 else
57842 ac_check_lib_save_LIBS=$LIBS
57843 LIBS="-lm $LIBS"
57844 if test x$gcc_no_link = xyes; then
57845 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57846 fi
57847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57848 /* end confdefs.h. */
57849
57850 /* Override any GCC internal prototype to avoid an error.
57851 Use char because int might match the return type of a GCC
57852 builtin and then its argument prototype would still apply. */
57853 #ifdef __cplusplus
57854 extern "C"
57855 #endif
57856 char sin ();
57857 int
57858 main ()
57859 {
57860 return sin ();
57861 ;
57862 return 0;
57863 }
57864 _ACEOF
57865 if ac_fn_c_try_link "$LINENO"; then :
57866 ac_cv_lib_m_sin=yes
57867 else
57868 ac_cv_lib_m_sin=no
57869 fi
57870 rm -f core conftest.err conftest.$ac_objext \
57871 conftest$ac_exeext conftest.$ac_ext
57872 LIBS=$ac_check_lib_save_LIBS
57873 fi
57874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57875 $as_echo "$ac_cv_lib_m_sin" >&6; }
57876 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57877 libm="-lm"
57878 fi
57879
57880 ac_save_LIBS="$LIBS"
57881 LIBS="$LIBS $libm"
57882
57883
57884
57885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57886 $as_echo_n "checking for isinf declaration... " >&6; }
57887 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57888 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57889 $as_echo_n "(cached) " >&6
57890 else
57891
57892
57893 ac_ext=cpp
57894 ac_cpp='$CXXCPP $CPPFLAGS'
57895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57898
57899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57900 /* end confdefs.h. */
57901 #include <math.h>
57902 #ifdef HAVE_IEEEFP_H
57903 #include <ieeefp.h>
57904 #endif
57905
57906 int
57907 main ()
57908 {
57909 isinf(0);
57910 ;
57911 return 0;
57912 }
57913 _ACEOF
57914 if ac_fn_cxx_try_compile "$LINENO"; then :
57915 glibcxx_cv_func_isinf_use=yes
57916 else
57917 glibcxx_cv_func_isinf_use=no
57918 fi
57919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57920 ac_ext=c
57921 ac_cpp='$CPP $CPPFLAGS'
57922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57925
57926
57927 fi
57928
57929 fi
57930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
57931 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
57932
57933 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
57934 for ac_func in isinf
57935 do :
57936 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
57937 if test "x$ac_cv_func_isinf" = x""yes; then :
57938 cat >>confdefs.h <<_ACEOF
57939 #define HAVE_ISINF 1
57940 _ACEOF
57941
57942 fi
57943 done
57944
57945 else
57946
57947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
57948 $as_echo_n "checking for _isinf declaration... " >&6; }
57949 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
57950 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
57951 $as_echo_n "(cached) " >&6
57952 else
57953
57954
57955 ac_ext=cpp
57956 ac_cpp='$CXXCPP $CPPFLAGS'
57957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57960
57961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57962 /* end confdefs.h. */
57963 #include <math.h>
57964 #ifdef HAVE_IEEEFP_H
57965 #include <ieeefp.h>
57966 #endif
57967
57968 int
57969 main ()
57970 {
57971 _isinf(0);
57972 ;
57973 return 0;
57974 }
57975 _ACEOF
57976 if ac_fn_cxx_try_compile "$LINENO"; then :
57977 glibcxx_cv_func__isinf_use=yes
57978 else
57979 glibcxx_cv_func__isinf_use=no
57980 fi
57981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57982 ac_ext=c
57983 ac_cpp='$CPP $CPPFLAGS'
57984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57987
57988
57989 fi
57990
57991 fi
57992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
57993 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
57994
57995 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
57996 for ac_func in _isinf
57997 do :
57998 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
57999 if test "x$ac_cv_func__isinf" = x""yes; then :
58000 cat >>confdefs.h <<_ACEOF
58001 #define HAVE__ISINF 1
58002 _ACEOF
58003
58004 fi
58005 done
58006
58007 fi
58008 fi
58009
58010
58011
58012
58013
58014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58015 $as_echo_n "checking for isnan declaration... " >&6; }
58016 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58017 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58018 $as_echo_n "(cached) " >&6
58019 else
58020
58021
58022 ac_ext=cpp
58023 ac_cpp='$CXXCPP $CPPFLAGS'
58024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58027
58028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58029 /* end confdefs.h. */
58030 #include <math.h>
58031 #ifdef HAVE_IEEEFP_H
58032 #include <ieeefp.h>
58033 #endif
58034
58035 int
58036 main ()
58037 {
58038 isnan(0);
58039 ;
58040 return 0;
58041 }
58042 _ACEOF
58043 if ac_fn_cxx_try_compile "$LINENO"; then :
58044 glibcxx_cv_func_isnan_use=yes
58045 else
58046 glibcxx_cv_func_isnan_use=no
58047 fi
58048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58049 ac_ext=c
58050 ac_cpp='$CPP $CPPFLAGS'
58051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58054
58055
58056 fi
58057
58058 fi
58059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58060 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58061
58062 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58063 for ac_func in isnan
58064 do :
58065 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58066 if test "x$ac_cv_func_isnan" = x""yes; then :
58067 cat >>confdefs.h <<_ACEOF
58068 #define HAVE_ISNAN 1
58069 _ACEOF
58070
58071 fi
58072 done
58073
58074 else
58075
58076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58077 $as_echo_n "checking for _isnan declaration... " >&6; }
58078 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58079 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58080 $as_echo_n "(cached) " >&6
58081 else
58082
58083
58084 ac_ext=cpp
58085 ac_cpp='$CXXCPP $CPPFLAGS'
58086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58089
58090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58091 /* end confdefs.h. */
58092 #include <math.h>
58093 #ifdef HAVE_IEEEFP_H
58094 #include <ieeefp.h>
58095 #endif
58096
58097 int
58098 main ()
58099 {
58100 _isnan(0);
58101 ;
58102 return 0;
58103 }
58104 _ACEOF
58105 if ac_fn_cxx_try_compile "$LINENO"; then :
58106 glibcxx_cv_func__isnan_use=yes
58107 else
58108 glibcxx_cv_func__isnan_use=no
58109 fi
58110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58111 ac_ext=c
58112 ac_cpp='$CPP $CPPFLAGS'
58113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58116
58117
58118 fi
58119
58120 fi
58121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58122 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58123
58124 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58125 for ac_func in _isnan
58126 do :
58127 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58128 if test "x$ac_cv_func__isnan" = x""yes; then :
58129 cat >>confdefs.h <<_ACEOF
58130 #define HAVE__ISNAN 1
58131 _ACEOF
58132
58133 fi
58134 done
58135
58136 fi
58137 fi
58138
58139
58140
58141
58142
58143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58144 $as_echo_n "checking for finite declaration... " >&6; }
58145 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58146 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58147 $as_echo_n "(cached) " >&6
58148 else
58149
58150
58151 ac_ext=cpp
58152 ac_cpp='$CXXCPP $CPPFLAGS'
58153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58156
58157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58158 /* end confdefs.h. */
58159 #include <math.h>
58160 #ifdef HAVE_IEEEFP_H
58161 #include <ieeefp.h>
58162 #endif
58163
58164 int
58165 main ()
58166 {
58167 finite(0);
58168 ;
58169 return 0;
58170 }
58171 _ACEOF
58172 if ac_fn_cxx_try_compile "$LINENO"; then :
58173 glibcxx_cv_func_finite_use=yes
58174 else
58175 glibcxx_cv_func_finite_use=no
58176 fi
58177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58178 ac_ext=c
58179 ac_cpp='$CPP $CPPFLAGS'
58180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58183
58184
58185 fi
58186
58187 fi
58188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58189 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58190
58191 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58192 for ac_func in finite
58193 do :
58194 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58195 if test "x$ac_cv_func_finite" = x""yes; then :
58196 cat >>confdefs.h <<_ACEOF
58197 #define HAVE_FINITE 1
58198 _ACEOF
58199
58200 fi
58201 done
58202
58203 else
58204
58205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58206 $as_echo_n "checking for _finite declaration... " >&6; }
58207 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58208 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58209 $as_echo_n "(cached) " >&6
58210 else
58211
58212
58213 ac_ext=cpp
58214 ac_cpp='$CXXCPP $CPPFLAGS'
58215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58218
58219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58220 /* end confdefs.h. */
58221 #include <math.h>
58222 #ifdef HAVE_IEEEFP_H
58223 #include <ieeefp.h>
58224 #endif
58225
58226 int
58227 main ()
58228 {
58229 _finite(0);
58230 ;
58231 return 0;
58232 }
58233 _ACEOF
58234 if ac_fn_cxx_try_compile "$LINENO"; then :
58235 glibcxx_cv_func__finite_use=yes
58236 else
58237 glibcxx_cv_func__finite_use=no
58238 fi
58239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58240 ac_ext=c
58241 ac_cpp='$CPP $CPPFLAGS'
58242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58245
58246
58247 fi
58248
58249 fi
58250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58251 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58252
58253 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58254 for ac_func in _finite
58255 do :
58256 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58257 if test "x$ac_cv_func__finite" = x""yes; then :
58258 cat >>confdefs.h <<_ACEOF
58259 #define HAVE__FINITE 1
58260 _ACEOF
58261
58262 fi
58263 done
58264
58265 fi
58266 fi
58267
58268
58269
58270
58271
58272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58273 $as_echo_n "checking for sincos declaration... " >&6; }
58274 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58275 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58276 $as_echo_n "(cached) " >&6
58277 else
58278
58279
58280 ac_ext=cpp
58281 ac_cpp='$CXXCPP $CPPFLAGS'
58282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58285
58286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58287 /* end confdefs.h. */
58288 #include <math.h>
58289 int
58290 main ()
58291 {
58292 sincos(0, 0, 0);
58293 ;
58294 return 0;
58295 }
58296 _ACEOF
58297 if ac_fn_cxx_try_compile "$LINENO"; then :
58298 glibcxx_cv_func_sincos_use=yes
58299 else
58300 glibcxx_cv_func_sincos_use=no
58301 fi
58302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58303 ac_ext=c
58304 ac_cpp='$CPP $CPPFLAGS'
58305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58308
58309
58310 fi
58311
58312 fi
58313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58314 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58315
58316 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58317 for ac_func in sincos
58318 do :
58319 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58320 if test "x$ac_cv_func_sincos" = x""yes; then :
58321 cat >>confdefs.h <<_ACEOF
58322 #define HAVE_SINCOS 1
58323 _ACEOF
58324
58325 fi
58326 done
58327
58328 else
58329
58330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58331 $as_echo_n "checking for _sincos declaration... " >&6; }
58332 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58333 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58334 $as_echo_n "(cached) " >&6
58335 else
58336
58337
58338 ac_ext=cpp
58339 ac_cpp='$CXXCPP $CPPFLAGS'
58340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58343
58344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58345 /* end confdefs.h. */
58346 #include <math.h>
58347 int
58348 main ()
58349 {
58350 _sincos(0, 0, 0);
58351 ;
58352 return 0;
58353 }
58354 _ACEOF
58355 if ac_fn_cxx_try_compile "$LINENO"; then :
58356 glibcxx_cv_func__sincos_use=yes
58357 else
58358 glibcxx_cv_func__sincos_use=no
58359 fi
58360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58361 ac_ext=c
58362 ac_cpp='$CPP $CPPFLAGS'
58363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58366
58367
58368 fi
58369
58370 fi
58371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58372 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58373
58374 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58375 for ac_func in _sincos
58376 do :
58377 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58378 if test "x$ac_cv_func__sincos" = x""yes; then :
58379 cat >>confdefs.h <<_ACEOF
58380 #define HAVE__SINCOS 1
58381 _ACEOF
58382
58383 fi
58384 done
58385
58386 fi
58387 fi
58388
58389
58390
58391
58392
58393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58394 $as_echo_n "checking for fpclass declaration... " >&6; }
58395 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58396 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58397 $as_echo_n "(cached) " >&6
58398 else
58399
58400
58401 ac_ext=cpp
58402 ac_cpp='$CXXCPP $CPPFLAGS'
58403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58406
58407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58408 /* end confdefs.h. */
58409 #include <math.h>
58410 #ifdef HAVE_IEEEFP_H
58411 #include <ieeefp.h>
58412 #endif
58413
58414 int
58415 main ()
58416 {
58417 fpclass(0);
58418 ;
58419 return 0;
58420 }
58421 _ACEOF
58422 if ac_fn_cxx_try_compile "$LINENO"; then :
58423 glibcxx_cv_func_fpclass_use=yes
58424 else
58425 glibcxx_cv_func_fpclass_use=no
58426 fi
58427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58428 ac_ext=c
58429 ac_cpp='$CPP $CPPFLAGS'
58430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58433
58434
58435 fi
58436
58437 fi
58438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58439 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58440
58441 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58442 for ac_func in fpclass
58443 do :
58444 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58445 if test "x$ac_cv_func_fpclass" = x""yes; then :
58446 cat >>confdefs.h <<_ACEOF
58447 #define HAVE_FPCLASS 1
58448 _ACEOF
58449
58450 fi
58451 done
58452
58453 else
58454
58455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58456 $as_echo_n "checking for _fpclass declaration... " >&6; }
58457 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58458 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58459 $as_echo_n "(cached) " >&6
58460 else
58461
58462
58463 ac_ext=cpp
58464 ac_cpp='$CXXCPP $CPPFLAGS'
58465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58468
58469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58470 /* end confdefs.h. */
58471 #include <math.h>
58472 #ifdef HAVE_IEEEFP_H
58473 #include <ieeefp.h>
58474 #endif
58475
58476 int
58477 main ()
58478 {
58479 _fpclass(0);
58480 ;
58481 return 0;
58482 }
58483 _ACEOF
58484 if ac_fn_cxx_try_compile "$LINENO"; then :
58485 glibcxx_cv_func__fpclass_use=yes
58486 else
58487 glibcxx_cv_func__fpclass_use=no
58488 fi
58489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58490 ac_ext=c
58491 ac_cpp='$CPP $CPPFLAGS'
58492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58495
58496
58497 fi
58498
58499 fi
58500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58501 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58502
58503 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58504 for ac_func in _fpclass
58505 do :
58506 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58507 if test "x$ac_cv_func__fpclass" = x""yes; then :
58508 cat >>confdefs.h <<_ACEOF
58509 #define HAVE__FPCLASS 1
58510 _ACEOF
58511
58512 fi
58513 done
58514
58515 fi
58516 fi
58517
58518
58519
58520
58521
58522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58523 $as_echo_n "checking for qfpclass declaration... " >&6; }
58524 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58525 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58526 $as_echo_n "(cached) " >&6
58527 else
58528
58529
58530 ac_ext=cpp
58531 ac_cpp='$CXXCPP $CPPFLAGS'
58532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58535
58536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58537 /* end confdefs.h. */
58538 #include <math.h>
58539 #ifdef HAVE_IEEEFP_H
58540 #include <ieeefp.h>
58541 #endif
58542
58543 int
58544 main ()
58545 {
58546 qfpclass(0);
58547 ;
58548 return 0;
58549 }
58550 _ACEOF
58551 if ac_fn_cxx_try_compile "$LINENO"; then :
58552 glibcxx_cv_func_qfpclass_use=yes
58553 else
58554 glibcxx_cv_func_qfpclass_use=no
58555 fi
58556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58557 ac_ext=c
58558 ac_cpp='$CPP $CPPFLAGS'
58559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58562
58563
58564 fi
58565
58566 fi
58567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58568 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58569
58570 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58571 for ac_func in qfpclass
58572 do :
58573 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58574 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58575 cat >>confdefs.h <<_ACEOF
58576 #define HAVE_QFPCLASS 1
58577 _ACEOF
58578
58579 fi
58580 done
58581
58582 else
58583
58584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58585 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58586 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58587 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58588 $as_echo_n "(cached) " >&6
58589 else
58590
58591
58592 ac_ext=cpp
58593 ac_cpp='$CXXCPP $CPPFLAGS'
58594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58597
58598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58599 /* end confdefs.h. */
58600 #include <math.h>
58601 #ifdef HAVE_IEEEFP_H
58602 #include <ieeefp.h>
58603 #endif
58604
58605 int
58606 main ()
58607 {
58608 _qfpclass(0);
58609 ;
58610 return 0;
58611 }
58612 _ACEOF
58613 if ac_fn_cxx_try_compile "$LINENO"; then :
58614 glibcxx_cv_func__qfpclass_use=yes
58615 else
58616 glibcxx_cv_func__qfpclass_use=no
58617 fi
58618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58619 ac_ext=c
58620 ac_cpp='$CPP $CPPFLAGS'
58621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58624
58625
58626 fi
58627
58628 fi
58629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58630 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58631
58632 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58633 for ac_func in _qfpclass
58634 do :
58635 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58636 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58637 cat >>confdefs.h <<_ACEOF
58638 #define HAVE__QFPCLASS 1
58639 _ACEOF
58640
58641 fi
58642 done
58643
58644 fi
58645 fi
58646
58647
58648
58649
58650
58651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58652 $as_echo_n "checking for hypot declaration... " >&6; }
58653 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58654 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58655 $as_echo_n "(cached) " >&6
58656 else
58657
58658
58659 ac_ext=cpp
58660 ac_cpp='$CXXCPP $CPPFLAGS'
58661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58664
58665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58666 /* end confdefs.h. */
58667 #include <math.h>
58668 int
58669 main ()
58670 {
58671 hypot(0, 0);
58672 ;
58673 return 0;
58674 }
58675 _ACEOF
58676 if ac_fn_cxx_try_compile "$LINENO"; then :
58677 glibcxx_cv_func_hypot_use=yes
58678 else
58679 glibcxx_cv_func_hypot_use=no
58680 fi
58681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58682 ac_ext=c
58683 ac_cpp='$CPP $CPPFLAGS'
58684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58687
58688
58689 fi
58690
58691 fi
58692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58693 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58694
58695 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58696 for ac_func in hypot
58697 do :
58698 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58699 if test "x$ac_cv_func_hypot" = x""yes; then :
58700 cat >>confdefs.h <<_ACEOF
58701 #define HAVE_HYPOT 1
58702 _ACEOF
58703
58704 fi
58705 done
58706
58707 else
58708
58709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58710 $as_echo_n "checking for _hypot declaration... " >&6; }
58711 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58712 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58713 $as_echo_n "(cached) " >&6
58714 else
58715
58716
58717 ac_ext=cpp
58718 ac_cpp='$CXXCPP $CPPFLAGS'
58719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58722
58723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58724 /* end confdefs.h. */
58725 #include <math.h>
58726 int
58727 main ()
58728 {
58729 _hypot(0, 0);
58730 ;
58731 return 0;
58732 }
58733 _ACEOF
58734 if ac_fn_cxx_try_compile "$LINENO"; then :
58735 glibcxx_cv_func__hypot_use=yes
58736 else
58737 glibcxx_cv_func__hypot_use=no
58738 fi
58739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58740 ac_ext=c
58741 ac_cpp='$CPP $CPPFLAGS'
58742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58745
58746
58747 fi
58748
58749 fi
58750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58751 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58752
58753 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58754 for ac_func in _hypot
58755 do :
58756 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58757 if test "x$ac_cv_func__hypot" = x""yes; then :
58758 cat >>confdefs.h <<_ACEOF
58759 #define HAVE__HYPOT 1
58760 _ACEOF
58761
58762 fi
58763 done
58764
58765 fi
58766 fi
58767
58768
58769
58770
58771
58772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58773 $as_echo_n "checking for float trig functions... " >&6; }
58774 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58775 $as_echo_n "(cached) " >&6
58776 else
58777
58778
58779 ac_ext=cpp
58780 ac_cpp='$CXXCPP $CPPFLAGS'
58781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58784
58785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58786 /* end confdefs.h. */
58787 #include <math.h>
58788 int
58789 main ()
58790 {
58791 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58792 ;
58793 return 0;
58794 }
58795 _ACEOF
58796 if ac_fn_cxx_try_compile "$LINENO"; then :
58797 glibcxx_cv_func_float_trig_use=yes
58798 else
58799 glibcxx_cv_func_float_trig_use=no
58800 fi
58801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58802 ac_ext=c
58803 ac_cpp='$CPP $CPPFLAGS'
58804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58807
58808 fi
58809
58810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58811 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58812 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58813 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58814 do :
58815 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58816 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58817 eval as_val=\$$as_ac_var
58818 if test "x$as_val" = x""yes; then :
58819 cat >>confdefs.h <<_ACEOF
58820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58821 _ACEOF
58822
58823 fi
58824 done
58825
58826 else
58827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58828 $as_echo_n "checking for _float trig functions... " >&6; }
58829 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58830 $as_echo_n "(cached) " >&6
58831 else
58832
58833
58834 ac_ext=cpp
58835 ac_cpp='$CXXCPP $CPPFLAGS'
58836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58839
58840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58841 /* end confdefs.h. */
58842 #include <math.h>
58843 int
58844 main ()
58845 {
58846 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58847 ;
58848 return 0;
58849 }
58850 _ACEOF
58851 if ac_fn_cxx_try_compile "$LINENO"; then :
58852 glibcxx_cv_func__float_trig_use=yes
58853 else
58854 glibcxx_cv_func__float_trig_use=no
58855 fi
58856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58857 ac_ext=c
58858 ac_cpp='$CPP $CPPFLAGS'
58859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58862
58863 fi
58864
58865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58866 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58867 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58868 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58869 do :
58870 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58871 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58872 eval as_val=\$$as_ac_var
58873 if test "x$as_val" = x""yes; then :
58874 cat >>confdefs.h <<_ACEOF
58875 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58876 _ACEOF
58877
58878 fi
58879 done
58880
58881 fi
58882 fi
58883
58884
58885
58886
58887
58888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58889 $as_echo_n "checking for float round functions... " >&6; }
58890 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
58891 $as_echo_n "(cached) " >&6
58892 else
58893
58894
58895 ac_ext=cpp
58896 ac_cpp='$CXXCPP $CPPFLAGS'
58897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58900
58901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58902 /* end confdefs.h. */
58903 #include <math.h>
58904 int
58905 main ()
58906 {
58907 ceilf (0); floorf (0);
58908 ;
58909 return 0;
58910 }
58911 _ACEOF
58912 if ac_fn_cxx_try_compile "$LINENO"; then :
58913 glibcxx_cv_func_float_round_use=yes
58914 else
58915 glibcxx_cv_func_float_round_use=no
58916 fi
58917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58918 ac_ext=c
58919 ac_cpp='$CPP $CPPFLAGS'
58920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58923
58924 fi
58925
58926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
58927 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
58928 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58929 for ac_func in ceilf floorf
58930 do :
58931 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58932 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58933 eval as_val=\$$as_ac_var
58934 if test "x$as_val" = x""yes; then :
58935 cat >>confdefs.h <<_ACEOF
58936 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58937 _ACEOF
58938
58939 fi
58940 done
58941
58942 else
58943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
58944 $as_echo_n "checking for _float round functions... " >&6; }
58945 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
58946 $as_echo_n "(cached) " >&6
58947 else
58948
58949
58950 ac_ext=cpp
58951 ac_cpp='$CXXCPP $CPPFLAGS'
58952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58955
58956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58957 /* end confdefs.h. */
58958 #include <math.h>
58959 int
58960 main ()
58961 {
58962 _ceilf (0); _floorf (0);
58963 ;
58964 return 0;
58965 }
58966 _ACEOF
58967 if ac_fn_cxx_try_compile "$LINENO"; then :
58968 glibcxx_cv_func__float_round_use=yes
58969 else
58970 glibcxx_cv_func__float_round_use=no
58971 fi
58972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58973 ac_ext=c
58974 ac_cpp='$CPP $CPPFLAGS'
58975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58978
58979 fi
58980
58981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
58982 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
58983 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
58984 for ac_func in _ceilf _floorf
58985 do :
58986 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58987 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58988 eval as_val=\$$as_ac_var
58989 if test "x$as_val" = x""yes; then :
58990 cat >>confdefs.h <<_ACEOF
58991 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58992 _ACEOF
58993
58994 fi
58995 done
58996
58997 fi
58998 fi
58999
59000
59001
59002
59003
59004
59005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59006 $as_echo_n "checking for expf declaration... " >&6; }
59007 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59008 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59009 $as_echo_n "(cached) " >&6
59010 else
59011
59012
59013 ac_ext=cpp
59014 ac_cpp='$CXXCPP $CPPFLAGS'
59015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59018
59019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59020 /* end confdefs.h. */
59021 #include <math.h>
59022 #ifdef HAVE_IEEEFP_H
59023 #include <ieeefp.h>
59024 #endif
59025
59026 int
59027 main ()
59028 {
59029 expf(0);
59030 ;
59031 return 0;
59032 }
59033 _ACEOF
59034 if ac_fn_cxx_try_compile "$LINENO"; then :
59035 glibcxx_cv_func_expf_use=yes
59036 else
59037 glibcxx_cv_func_expf_use=no
59038 fi
59039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59040 ac_ext=c
59041 ac_cpp='$CPP $CPPFLAGS'
59042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59045
59046
59047 fi
59048
59049 fi
59050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59051 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59052
59053 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59054 for ac_func in expf
59055 do :
59056 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59057 if test "x$ac_cv_func_expf" = x""yes; then :
59058 cat >>confdefs.h <<_ACEOF
59059 #define HAVE_EXPF 1
59060 _ACEOF
59061
59062 fi
59063 done
59064
59065 else
59066
59067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59068 $as_echo_n "checking for _expf declaration... " >&6; }
59069 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59070 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59071 $as_echo_n "(cached) " >&6
59072 else
59073
59074
59075 ac_ext=cpp
59076 ac_cpp='$CXXCPP $CPPFLAGS'
59077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59080
59081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59082 /* end confdefs.h. */
59083 #include <math.h>
59084 #ifdef HAVE_IEEEFP_H
59085 #include <ieeefp.h>
59086 #endif
59087
59088 int
59089 main ()
59090 {
59091 _expf(0);
59092 ;
59093 return 0;
59094 }
59095 _ACEOF
59096 if ac_fn_cxx_try_compile "$LINENO"; then :
59097 glibcxx_cv_func__expf_use=yes
59098 else
59099 glibcxx_cv_func__expf_use=no
59100 fi
59101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59102 ac_ext=c
59103 ac_cpp='$CPP $CPPFLAGS'
59104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59107
59108
59109 fi
59110
59111 fi
59112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59113 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59114
59115 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59116 for ac_func in _expf
59117 do :
59118 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59119 if test "x$ac_cv_func__expf" = x""yes; then :
59120 cat >>confdefs.h <<_ACEOF
59121 #define HAVE__EXPF 1
59122 _ACEOF
59123
59124 fi
59125 done
59126
59127 fi
59128 fi
59129
59130
59131
59132
59133
59134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59135 $as_echo_n "checking for isnanf declaration... " >&6; }
59136 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59137 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59138 $as_echo_n "(cached) " >&6
59139 else
59140
59141
59142 ac_ext=cpp
59143 ac_cpp='$CXXCPP $CPPFLAGS'
59144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59147
59148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59149 /* end confdefs.h. */
59150 #include <math.h>
59151 #ifdef HAVE_IEEEFP_H
59152 #include <ieeefp.h>
59153 #endif
59154
59155 int
59156 main ()
59157 {
59158 isnanf(0);
59159 ;
59160 return 0;
59161 }
59162 _ACEOF
59163 if ac_fn_cxx_try_compile "$LINENO"; then :
59164 glibcxx_cv_func_isnanf_use=yes
59165 else
59166 glibcxx_cv_func_isnanf_use=no
59167 fi
59168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59169 ac_ext=c
59170 ac_cpp='$CPP $CPPFLAGS'
59171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59174
59175
59176 fi
59177
59178 fi
59179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59180 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59181
59182 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59183 for ac_func in isnanf
59184 do :
59185 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59186 if test "x$ac_cv_func_isnanf" = x""yes; then :
59187 cat >>confdefs.h <<_ACEOF
59188 #define HAVE_ISNANF 1
59189 _ACEOF
59190
59191 fi
59192 done
59193
59194 else
59195
59196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59197 $as_echo_n "checking for _isnanf declaration... " >&6; }
59198 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59199 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59200 $as_echo_n "(cached) " >&6
59201 else
59202
59203
59204 ac_ext=cpp
59205 ac_cpp='$CXXCPP $CPPFLAGS'
59206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59209
59210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59211 /* end confdefs.h. */
59212 #include <math.h>
59213 #ifdef HAVE_IEEEFP_H
59214 #include <ieeefp.h>
59215 #endif
59216
59217 int
59218 main ()
59219 {
59220 _isnanf(0);
59221 ;
59222 return 0;
59223 }
59224 _ACEOF
59225 if ac_fn_cxx_try_compile "$LINENO"; then :
59226 glibcxx_cv_func__isnanf_use=yes
59227 else
59228 glibcxx_cv_func__isnanf_use=no
59229 fi
59230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59231 ac_ext=c
59232 ac_cpp='$CPP $CPPFLAGS'
59233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59236
59237
59238 fi
59239
59240 fi
59241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59242 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59243
59244 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59245 for ac_func in _isnanf
59246 do :
59247 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59248 if test "x$ac_cv_func__isnanf" = x""yes; then :
59249 cat >>confdefs.h <<_ACEOF
59250 #define HAVE__ISNANF 1
59251 _ACEOF
59252
59253 fi
59254 done
59255
59256 fi
59257 fi
59258
59259
59260
59261
59262
59263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59264 $as_echo_n "checking for isinff declaration... " >&6; }
59265 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59266 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59267 $as_echo_n "(cached) " >&6
59268 else
59269
59270
59271 ac_ext=cpp
59272 ac_cpp='$CXXCPP $CPPFLAGS'
59273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59276
59277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59278 /* end confdefs.h. */
59279 #include <math.h>
59280 #ifdef HAVE_IEEEFP_H
59281 #include <ieeefp.h>
59282 #endif
59283
59284 int
59285 main ()
59286 {
59287 isinff(0);
59288 ;
59289 return 0;
59290 }
59291 _ACEOF
59292 if ac_fn_cxx_try_compile "$LINENO"; then :
59293 glibcxx_cv_func_isinff_use=yes
59294 else
59295 glibcxx_cv_func_isinff_use=no
59296 fi
59297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59298 ac_ext=c
59299 ac_cpp='$CPP $CPPFLAGS'
59300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59303
59304
59305 fi
59306
59307 fi
59308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59309 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59310
59311 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59312 for ac_func in isinff
59313 do :
59314 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59315 if test "x$ac_cv_func_isinff" = x""yes; then :
59316 cat >>confdefs.h <<_ACEOF
59317 #define HAVE_ISINFF 1
59318 _ACEOF
59319
59320 fi
59321 done
59322
59323 else
59324
59325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59326 $as_echo_n "checking for _isinff declaration... " >&6; }
59327 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59328 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59329 $as_echo_n "(cached) " >&6
59330 else
59331
59332
59333 ac_ext=cpp
59334 ac_cpp='$CXXCPP $CPPFLAGS'
59335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59338
59339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59340 /* end confdefs.h. */
59341 #include <math.h>
59342 #ifdef HAVE_IEEEFP_H
59343 #include <ieeefp.h>
59344 #endif
59345
59346 int
59347 main ()
59348 {
59349 _isinff(0);
59350 ;
59351 return 0;
59352 }
59353 _ACEOF
59354 if ac_fn_cxx_try_compile "$LINENO"; then :
59355 glibcxx_cv_func__isinff_use=yes
59356 else
59357 glibcxx_cv_func__isinff_use=no
59358 fi
59359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59360 ac_ext=c
59361 ac_cpp='$CPP $CPPFLAGS'
59362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59365
59366
59367 fi
59368
59369 fi
59370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59371 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59372
59373 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59374 for ac_func in _isinff
59375 do :
59376 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59377 if test "x$ac_cv_func__isinff" = x""yes; then :
59378 cat >>confdefs.h <<_ACEOF
59379 #define HAVE__ISINFF 1
59380 _ACEOF
59381
59382 fi
59383 done
59384
59385 fi
59386 fi
59387
59388
59389
59390
59391
59392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59393 $as_echo_n "checking for atan2f declaration... " >&6; }
59394 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59395 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59396 $as_echo_n "(cached) " >&6
59397 else
59398
59399
59400 ac_ext=cpp
59401 ac_cpp='$CXXCPP $CPPFLAGS'
59402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59405
59406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59407 /* end confdefs.h. */
59408 #include <math.h>
59409 int
59410 main ()
59411 {
59412 atan2f(0, 0);
59413 ;
59414 return 0;
59415 }
59416 _ACEOF
59417 if ac_fn_cxx_try_compile "$LINENO"; then :
59418 glibcxx_cv_func_atan2f_use=yes
59419 else
59420 glibcxx_cv_func_atan2f_use=no
59421 fi
59422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59423 ac_ext=c
59424 ac_cpp='$CPP $CPPFLAGS'
59425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59428
59429
59430 fi
59431
59432 fi
59433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59434 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59435
59436 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59437 for ac_func in atan2f
59438 do :
59439 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59440 if test "x$ac_cv_func_atan2f" = x""yes; then :
59441 cat >>confdefs.h <<_ACEOF
59442 #define HAVE_ATAN2F 1
59443 _ACEOF
59444
59445 fi
59446 done
59447
59448 else
59449
59450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59451 $as_echo_n "checking for _atan2f declaration... " >&6; }
59452 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59453 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59454 $as_echo_n "(cached) " >&6
59455 else
59456
59457
59458 ac_ext=cpp
59459 ac_cpp='$CXXCPP $CPPFLAGS'
59460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59463
59464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59465 /* end confdefs.h. */
59466 #include <math.h>
59467 int
59468 main ()
59469 {
59470 _atan2f(0, 0);
59471 ;
59472 return 0;
59473 }
59474 _ACEOF
59475 if ac_fn_cxx_try_compile "$LINENO"; then :
59476 glibcxx_cv_func__atan2f_use=yes
59477 else
59478 glibcxx_cv_func__atan2f_use=no
59479 fi
59480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59481 ac_ext=c
59482 ac_cpp='$CPP $CPPFLAGS'
59483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59486
59487
59488 fi
59489
59490 fi
59491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59492 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59493
59494 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59495 for ac_func in _atan2f
59496 do :
59497 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59498 if test "x$ac_cv_func__atan2f" = x""yes; then :
59499 cat >>confdefs.h <<_ACEOF
59500 #define HAVE__ATAN2F 1
59501 _ACEOF
59502
59503 fi
59504 done
59505
59506 fi
59507 fi
59508
59509
59510
59511
59512
59513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59514 $as_echo_n "checking for fabsf declaration... " >&6; }
59515 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59516 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59517 $as_echo_n "(cached) " >&6
59518 else
59519
59520
59521 ac_ext=cpp
59522 ac_cpp='$CXXCPP $CPPFLAGS'
59523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59526
59527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59528 /* end confdefs.h. */
59529 #include <math.h>
59530 #ifdef HAVE_IEEEFP_H
59531 #include <ieeefp.h>
59532 #endif
59533
59534 int
59535 main ()
59536 {
59537 fabsf(0);
59538 ;
59539 return 0;
59540 }
59541 _ACEOF
59542 if ac_fn_cxx_try_compile "$LINENO"; then :
59543 glibcxx_cv_func_fabsf_use=yes
59544 else
59545 glibcxx_cv_func_fabsf_use=no
59546 fi
59547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59548 ac_ext=c
59549 ac_cpp='$CPP $CPPFLAGS'
59550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59553
59554
59555 fi
59556
59557 fi
59558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59559 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59560
59561 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59562 for ac_func in fabsf
59563 do :
59564 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59565 if test "x$ac_cv_func_fabsf" = x""yes; then :
59566 cat >>confdefs.h <<_ACEOF
59567 #define HAVE_FABSF 1
59568 _ACEOF
59569
59570 fi
59571 done
59572
59573 else
59574
59575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59576 $as_echo_n "checking for _fabsf declaration... " >&6; }
59577 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59578 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59579 $as_echo_n "(cached) " >&6
59580 else
59581
59582
59583 ac_ext=cpp
59584 ac_cpp='$CXXCPP $CPPFLAGS'
59585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59588
59589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59590 /* end confdefs.h. */
59591 #include <math.h>
59592 #ifdef HAVE_IEEEFP_H
59593 #include <ieeefp.h>
59594 #endif
59595
59596 int
59597 main ()
59598 {
59599 _fabsf(0);
59600 ;
59601 return 0;
59602 }
59603 _ACEOF
59604 if ac_fn_cxx_try_compile "$LINENO"; then :
59605 glibcxx_cv_func__fabsf_use=yes
59606 else
59607 glibcxx_cv_func__fabsf_use=no
59608 fi
59609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59610 ac_ext=c
59611 ac_cpp='$CPP $CPPFLAGS'
59612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59615
59616
59617 fi
59618
59619 fi
59620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59621 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59622
59623 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59624 for ac_func in _fabsf
59625 do :
59626 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59627 if test "x$ac_cv_func__fabsf" = x""yes; then :
59628 cat >>confdefs.h <<_ACEOF
59629 #define HAVE__FABSF 1
59630 _ACEOF
59631
59632 fi
59633 done
59634
59635 fi
59636 fi
59637
59638
59639
59640
59641
59642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59643 $as_echo_n "checking for fmodf declaration... " >&6; }
59644 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59645 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59646 $as_echo_n "(cached) " >&6
59647 else
59648
59649
59650 ac_ext=cpp
59651 ac_cpp='$CXXCPP $CPPFLAGS'
59652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59655
59656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59657 /* end confdefs.h. */
59658 #include <math.h>
59659 int
59660 main ()
59661 {
59662 fmodf(0, 0);
59663 ;
59664 return 0;
59665 }
59666 _ACEOF
59667 if ac_fn_cxx_try_compile "$LINENO"; then :
59668 glibcxx_cv_func_fmodf_use=yes
59669 else
59670 glibcxx_cv_func_fmodf_use=no
59671 fi
59672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59673 ac_ext=c
59674 ac_cpp='$CPP $CPPFLAGS'
59675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59678
59679
59680 fi
59681
59682 fi
59683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59684 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59685
59686 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59687 for ac_func in fmodf
59688 do :
59689 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59690 if test "x$ac_cv_func_fmodf" = x""yes; then :
59691 cat >>confdefs.h <<_ACEOF
59692 #define HAVE_FMODF 1
59693 _ACEOF
59694
59695 fi
59696 done
59697
59698 else
59699
59700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59701 $as_echo_n "checking for _fmodf declaration... " >&6; }
59702 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59703 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59704 $as_echo_n "(cached) " >&6
59705 else
59706
59707
59708 ac_ext=cpp
59709 ac_cpp='$CXXCPP $CPPFLAGS'
59710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59713
59714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59715 /* end confdefs.h. */
59716 #include <math.h>
59717 int
59718 main ()
59719 {
59720 _fmodf(0, 0);
59721 ;
59722 return 0;
59723 }
59724 _ACEOF
59725 if ac_fn_cxx_try_compile "$LINENO"; then :
59726 glibcxx_cv_func__fmodf_use=yes
59727 else
59728 glibcxx_cv_func__fmodf_use=no
59729 fi
59730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59731 ac_ext=c
59732 ac_cpp='$CPP $CPPFLAGS'
59733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59736
59737
59738 fi
59739
59740 fi
59741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59742 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59743
59744 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59745 for ac_func in _fmodf
59746 do :
59747 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59748 if test "x$ac_cv_func__fmodf" = x""yes; then :
59749 cat >>confdefs.h <<_ACEOF
59750 #define HAVE__FMODF 1
59751 _ACEOF
59752
59753 fi
59754 done
59755
59756 fi
59757 fi
59758
59759
59760
59761
59762
59763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59764 $as_echo_n "checking for frexpf declaration... " >&6; }
59765 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59766 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59767 $as_echo_n "(cached) " >&6
59768 else
59769
59770
59771 ac_ext=cpp
59772 ac_cpp='$CXXCPP $CPPFLAGS'
59773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59776
59777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59778 /* end confdefs.h. */
59779 #include <math.h>
59780 int
59781 main ()
59782 {
59783 frexpf(0, 0);
59784 ;
59785 return 0;
59786 }
59787 _ACEOF
59788 if ac_fn_cxx_try_compile "$LINENO"; then :
59789 glibcxx_cv_func_frexpf_use=yes
59790 else
59791 glibcxx_cv_func_frexpf_use=no
59792 fi
59793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59794 ac_ext=c
59795 ac_cpp='$CPP $CPPFLAGS'
59796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59799
59800
59801 fi
59802
59803 fi
59804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59805 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59806
59807 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59808 for ac_func in frexpf
59809 do :
59810 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59811 if test "x$ac_cv_func_frexpf" = x""yes; then :
59812 cat >>confdefs.h <<_ACEOF
59813 #define HAVE_FREXPF 1
59814 _ACEOF
59815
59816 fi
59817 done
59818
59819 else
59820
59821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59822 $as_echo_n "checking for _frexpf declaration... " >&6; }
59823 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59824 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59825 $as_echo_n "(cached) " >&6
59826 else
59827
59828
59829 ac_ext=cpp
59830 ac_cpp='$CXXCPP $CPPFLAGS'
59831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59834
59835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59836 /* end confdefs.h. */
59837 #include <math.h>
59838 int
59839 main ()
59840 {
59841 _frexpf(0, 0);
59842 ;
59843 return 0;
59844 }
59845 _ACEOF
59846 if ac_fn_cxx_try_compile "$LINENO"; then :
59847 glibcxx_cv_func__frexpf_use=yes
59848 else
59849 glibcxx_cv_func__frexpf_use=no
59850 fi
59851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59852 ac_ext=c
59853 ac_cpp='$CPP $CPPFLAGS'
59854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59857
59858
59859 fi
59860
59861 fi
59862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59863 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59864
59865 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59866 for ac_func in _frexpf
59867 do :
59868 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59869 if test "x$ac_cv_func__frexpf" = x""yes; then :
59870 cat >>confdefs.h <<_ACEOF
59871 #define HAVE__FREXPF 1
59872 _ACEOF
59873
59874 fi
59875 done
59876
59877 fi
59878 fi
59879
59880
59881
59882
59883
59884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59885 $as_echo_n "checking for hypotf declaration... " >&6; }
59886 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59887 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59888 $as_echo_n "(cached) " >&6
59889 else
59890
59891
59892 ac_ext=cpp
59893 ac_cpp='$CXXCPP $CPPFLAGS'
59894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59897
59898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59899 /* end confdefs.h. */
59900 #include <math.h>
59901 int
59902 main ()
59903 {
59904 hypotf(0, 0);
59905 ;
59906 return 0;
59907 }
59908 _ACEOF
59909 if ac_fn_cxx_try_compile "$LINENO"; then :
59910 glibcxx_cv_func_hypotf_use=yes
59911 else
59912 glibcxx_cv_func_hypotf_use=no
59913 fi
59914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59915 ac_ext=c
59916 ac_cpp='$CPP $CPPFLAGS'
59917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59920
59921
59922 fi
59923
59924 fi
59925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
59926 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
59927
59928 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59929 for ac_func in hypotf
59930 do :
59931 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
59932 if test "x$ac_cv_func_hypotf" = x""yes; then :
59933 cat >>confdefs.h <<_ACEOF
59934 #define HAVE_HYPOTF 1
59935 _ACEOF
59936
59937 fi
59938 done
59939
59940 else
59941
59942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
59943 $as_echo_n "checking for _hypotf declaration... " >&6; }
59944 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59945 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
59946 $as_echo_n "(cached) " >&6
59947 else
59948
59949
59950 ac_ext=cpp
59951 ac_cpp='$CXXCPP $CPPFLAGS'
59952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59955
59956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59957 /* end confdefs.h. */
59958 #include <math.h>
59959 int
59960 main ()
59961 {
59962 _hypotf(0, 0);
59963 ;
59964 return 0;
59965 }
59966 _ACEOF
59967 if ac_fn_cxx_try_compile "$LINENO"; then :
59968 glibcxx_cv_func__hypotf_use=yes
59969 else
59970 glibcxx_cv_func__hypotf_use=no
59971 fi
59972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59973 ac_ext=c
59974 ac_cpp='$CPP $CPPFLAGS'
59975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59978
59979
59980 fi
59981
59982 fi
59983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
59984 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
59985
59986 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59987 for ac_func in _hypotf
59988 do :
59989 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
59990 if test "x$ac_cv_func__hypotf" = x""yes; then :
59991 cat >>confdefs.h <<_ACEOF
59992 #define HAVE__HYPOTF 1
59993 _ACEOF
59994
59995 fi
59996 done
59997
59998 fi
59999 fi
60000
60001
60002
60003
60004
60005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60006 $as_echo_n "checking for ldexpf declaration... " >&6; }
60007 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60008 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60009 $as_echo_n "(cached) " >&6
60010 else
60011
60012
60013 ac_ext=cpp
60014 ac_cpp='$CXXCPP $CPPFLAGS'
60015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60018
60019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60020 /* end confdefs.h. */
60021 #include <math.h>
60022 int
60023 main ()
60024 {
60025 ldexpf(0, 0);
60026 ;
60027 return 0;
60028 }
60029 _ACEOF
60030 if ac_fn_cxx_try_compile "$LINENO"; then :
60031 glibcxx_cv_func_ldexpf_use=yes
60032 else
60033 glibcxx_cv_func_ldexpf_use=no
60034 fi
60035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60036 ac_ext=c
60037 ac_cpp='$CPP $CPPFLAGS'
60038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60041
60042
60043 fi
60044
60045 fi
60046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60047 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60048
60049 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60050 for ac_func in ldexpf
60051 do :
60052 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60053 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60054 cat >>confdefs.h <<_ACEOF
60055 #define HAVE_LDEXPF 1
60056 _ACEOF
60057
60058 fi
60059 done
60060
60061 else
60062
60063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60064 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60065 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60066 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60067 $as_echo_n "(cached) " >&6
60068 else
60069
60070
60071 ac_ext=cpp
60072 ac_cpp='$CXXCPP $CPPFLAGS'
60073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60076
60077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60078 /* end confdefs.h. */
60079 #include <math.h>
60080 int
60081 main ()
60082 {
60083 _ldexpf(0, 0);
60084 ;
60085 return 0;
60086 }
60087 _ACEOF
60088 if ac_fn_cxx_try_compile "$LINENO"; then :
60089 glibcxx_cv_func__ldexpf_use=yes
60090 else
60091 glibcxx_cv_func__ldexpf_use=no
60092 fi
60093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60094 ac_ext=c
60095 ac_cpp='$CPP $CPPFLAGS'
60096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60099
60100
60101 fi
60102
60103 fi
60104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60105 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60106
60107 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60108 for ac_func in _ldexpf
60109 do :
60110 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60111 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60112 cat >>confdefs.h <<_ACEOF
60113 #define HAVE__LDEXPF 1
60114 _ACEOF
60115
60116 fi
60117 done
60118
60119 fi
60120 fi
60121
60122
60123
60124
60125
60126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60127 $as_echo_n "checking for logf declaration... " >&6; }
60128 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60129 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60130 $as_echo_n "(cached) " >&6
60131 else
60132
60133
60134 ac_ext=cpp
60135 ac_cpp='$CXXCPP $CPPFLAGS'
60136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60139
60140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60141 /* end confdefs.h. */
60142 #include <math.h>
60143 #ifdef HAVE_IEEEFP_H
60144 #include <ieeefp.h>
60145 #endif
60146
60147 int
60148 main ()
60149 {
60150 logf(0);
60151 ;
60152 return 0;
60153 }
60154 _ACEOF
60155 if ac_fn_cxx_try_compile "$LINENO"; then :
60156 glibcxx_cv_func_logf_use=yes
60157 else
60158 glibcxx_cv_func_logf_use=no
60159 fi
60160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60161 ac_ext=c
60162 ac_cpp='$CPP $CPPFLAGS'
60163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60166
60167
60168 fi
60169
60170 fi
60171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60172 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60173
60174 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60175 for ac_func in logf
60176 do :
60177 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60178 if test "x$ac_cv_func_logf" = x""yes; then :
60179 cat >>confdefs.h <<_ACEOF
60180 #define HAVE_LOGF 1
60181 _ACEOF
60182
60183 fi
60184 done
60185
60186 else
60187
60188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60189 $as_echo_n "checking for _logf declaration... " >&6; }
60190 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60191 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60192 $as_echo_n "(cached) " >&6
60193 else
60194
60195
60196 ac_ext=cpp
60197 ac_cpp='$CXXCPP $CPPFLAGS'
60198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60201
60202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60203 /* end confdefs.h. */
60204 #include <math.h>
60205 #ifdef HAVE_IEEEFP_H
60206 #include <ieeefp.h>
60207 #endif
60208
60209 int
60210 main ()
60211 {
60212 _logf(0);
60213 ;
60214 return 0;
60215 }
60216 _ACEOF
60217 if ac_fn_cxx_try_compile "$LINENO"; then :
60218 glibcxx_cv_func__logf_use=yes
60219 else
60220 glibcxx_cv_func__logf_use=no
60221 fi
60222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60223 ac_ext=c
60224 ac_cpp='$CPP $CPPFLAGS'
60225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60228
60229
60230 fi
60231
60232 fi
60233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60234 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60235
60236 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60237 for ac_func in _logf
60238 do :
60239 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60240 if test "x$ac_cv_func__logf" = x""yes; then :
60241 cat >>confdefs.h <<_ACEOF
60242 #define HAVE__LOGF 1
60243 _ACEOF
60244
60245 fi
60246 done
60247
60248 fi
60249 fi
60250
60251
60252
60253
60254
60255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60256 $as_echo_n "checking for log10f declaration... " >&6; }
60257 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60258 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60259 $as_echo_n "(cached) " >&6
60260 else
60261
60262
60263 ac_ext=cpp
60264 ac_cpp='$CXXCPP $CPPFLAGS'
60265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60268
60269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60270 /* end confdefs.h. */
60271 #include <math.h>
60272 #ifdef HAVE_IEEEFP_H
60273 #include <ieeefp.h>
60274 #endif
60275
60276 int
60277 main ()
60278 {
60279 log10f(0);
60280 ;
60281 return 0;
60282 }
60283 _ACEOF
60284 if ac_fn_cxx_try_compile "$LINENO"; then :
60285 glibcxx_cv_func_log10f_use=yes
60286 else
60287 glibcxx_cv_func_log10f_use=no
60288 fi
60289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60290 ac_ext=c
60291 ac_cpp='$CPP $CPPFLAGS'
60292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60295
60296
60297 fi
60298
60299 fi
60300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60301 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60302
60303 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60304 for ac_func in log10f
60305 do :
60306 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60307 if test "x$ac_cv_func_log10f" = x""yes; then :
60308 cat >>confdefs.h <<_ACEOF
60309 #define HAVE_LOG10F 1
60310 _ACEOF
60311
60312 fi
60313 done
60314
60315 else
60316
60317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60318 $as_echo_n "checking for _log10f declaration... " >&6; }
60319 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60320 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60321 $as_echo_n "(cached) " >&6
60322 else
60323
60324
60325 ac_ext=cpp
60326 ac_cpp='$CXXCPP $CPPFLAGS'
60327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60330
60331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60332 /* end confdefs.h. */
60333 #include <math.h>
60334 #ifdef HAVE_IEEEFP_H
60335 #include <ieeefp.h>
60336 #endif
60337
60338 int
60339 main ()
60340 {
60341 _log10f(0);
60342 ;
60343 return 0;
60344 }
60345 _ACEOF
60346 if ac_fn_cxx_try_compile "$LINENO"; then :
60347 glibcxx_cv_func__log10f_use=yes
60348 else
60349 glibcxx_cv_func__log10f_use=no
60350 fi
60351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60352 ac_ext=c
60353 ac_cpp='$CPP $CPPFLAGS'
60354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60357
60358
60359 fi
60360
60361 fi
60362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60363 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60364
60365 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60366 for ac_func in _log10f
60367 do :
60368 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60369 if test "x$ac_cv_func__log10f" = x""yes; then :
60370 cat >>confdefs.h <<_ACEOF
60371 #define HAVE__LOG10F 1
60372 _ACEOF
60373
60374 fi
60375 done
60376
60377 fi
60378 fi
60379
60380
60381
60382
60383
60384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60385 $as_echo_n "checking for modff declaration... " >&6; }
60386 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60387 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60388 $as_echo_n "(cached) " >&6
60389 else
60390
60391
60392 ac_ext=cpp
60393 ac_cpp='$CXXCPP $CPPFLAGS'
60394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60397
60398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60399 /* end confdefs.h. */
60400 #include <math.h>
60401 int
60402 main ()
60403 {
60404 modff(0, 0);
60405 ;
60406 return 0;
60407 }
60408 _ACEOF
60409 if ac_fn_cxx_try_compile "$LINENO"; then :
60410 glibcxx_cv_func_modff_use=yes
60411 else
60412 glibcxx_cv_func_modff_use=no
60413 fi
60414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60415 ac_ext=c
60416 ac_cpp='$CPP $CPPFLAGS'
60417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60420
60421
60422 fi
60423
60424 fi
60425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60426 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60427
60428 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60429 for ac_func in modff
60430 do :
60431 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60432 if test "x$ac_cv_func_modff" = x""yes; then :
60433 cat >>confdefs.h <<_ACEOF
60434 #define HAVE_MODFF 1
60435 _ACEOF
60436
60437 fi
60438 done
60439
60440 else
60441
60442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60443 $as_echo_n "checking for _modff declaration... " >&6; }
60444 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60445 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60446 $as_echo_n "(cached) " >&6
60447 else
60448
60449
60450 ac_ext=cpp
60451 ac_cpp='$CXXCPP $CPPFLAGS'
60452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60455
60456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60457 /* end confdefs.h. */
60458 #include <math.h>
60459 int
60460 main ()
60461 {
60462 _modff(0, 0);
60463 ;
60464 return 0;
60465 }
60466 _ACEOF
60467 if ac_fn_cxx_try_compile "$LINENO"; then :
60468 glibcxx_cv_func__modff_use=yes
60469 else
60470 glibcxx_cv_func__modff_use=no
60471 fi
60472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60473 ac_ext=c
60474 ac_cpp='$CPP $CPPFLAGS'
60475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60478
60479
60480 fi
60481
60482 fi
60483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60484 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60485
60486 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60487 for ac_func in _modff
60488 do :
60489 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60490 if test "x$ac_cv_func__modff" = x""yes; then :
60491 cat >>confdefs.h <<_ACEOF
60492 #define HAVE__MODFF 1
60493 _ACEOF
60494
60495 fi
60496 done
60497
60498 fi
60499 fi
60500
60501
60502
60503
60504
60505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60506 $as_echo_n "checking for modf declaration... " >&6; }
60507 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60508 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60509 $as_echo_n "(cached) " >&6
60510 else
60511
60512
60513 ac_ext=cpp
60514 ac_cpp='$CXXCPP $CPPFLAGS'
60515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60518
60519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60520 /* end confdefs.h. */
60521 #include <math.h>
60522 int
60523 main ()
60524 {
60525 modf(0, 0);
60526 ;
60527 return 0;
60528 }
60529 _ACEOF
60530 if ac_fn_cxx_try_compile "$LINENO"; then :
60531 glibcxx_cv_func_modf_use=yes
60532 else
60533 glibcxx_cv_func_modf_use=no
60534 fi
60535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60536 ac_ext=c
60537 ac_cpp='$CPP $CPPFLAGS'
60538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60541
60542
60543 fi
60544
60545 fi
60546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60547 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60548
60549 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60550 for ac_func in modf
60551 do :
60552 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60553 if test "x$ac_cv_func_modf" = x""yes; then :
60554 cat >>confdefs.h <<_ACEOF
60555 #define HAVE_MODF 1
60556 _ACEOF
60557
60558 fi
60559 done
60560
60561 else
60562
60563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60564 $as_echo_n "checking for _modf declaration... " >&6; }
60565 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60566 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60567 $as_echo_n "(cached) " >&6
60568 else
60569
60570
60571 ac_ext=cpp
60572 ac_cpp='$CXXCPP $CPPFLAGS'
60573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60576
60577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60578 /* end confdefs.h. */
60579 #include <math.h>
60580 int
60581 main ()
60582 {
60583 _modf(0, 0);
60584 ;
60585 return 0;
60586 }
60587 _ACEOF
60588 if ac_fn_cxx_try_compile "$LINENO"; then :
60589 glibcxx_cv_func__modf_use=yes
60590 else
60591 glibcxx_cv_func__modf_use=no
60592 fi
60593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60594 ac_ext=c
60595 ac_cpp='$CPP $CPPFLAGS'
60596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60599
60600
60601 fi
60602
60603 fi
60604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60605 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60606
60607 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60608 for ac_func in _modf
60609 do :
60610 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60611 if test "x$ac_cv_func__modf" = x""yes; then :
60612 cat >>confdefs.h <<_ACEOF
60613 #define HAVE__MODF 1
60614 _ACEOF
60615
60616 fi
60617 done
60618
60619 fi
60620 fi
60621
60622
60623
60624
60625
60626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60627 $as_echo_n "checking for powf declaration... " >&6; }
60628 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60629 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60630 $as_echo_n "(cached) " >&6
60631 else
60632
60633
60634 ac_ext=cpp
60635 ac_cpp='$CXXCPP $CPPFLAGS'
60636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60639
60640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60641 /* end confdefs.h. */
60642 #include <math.h>
60643 int
60644 main ()
60645 {
60646 powf(0, 0);
60647 ;
60648 return 0;
60649 }
60650 _ACEOF
60651 if ac_fn_cxx_try_compile "$LINENO"; then :
60652 glibcxx_cv_func_powf_use=yes
60653 else
60654 glibcxx_cv_func_powf_use=no
60655 fi
60656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60657 ac_ext=c
60658 ac_cpp='$CPP $CPPFLAGS'
60659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60662
60663
60664 fi
60665
60666 fi
60667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60668 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60669
60670 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60671 for ac_func in powf
60672 do :
60673 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60674 if test "x$ac_cv_func_powf" = x""yes; then :
60675 cat >>confdefs.h <<_ACEOF
60676 #define HAVE_POWF 1
60677 _ACEOF
60678
60679 fi
60680 done
60681
60682 else
60683
60684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60685 $as_echo_n "checking for _powf declaration... " >&6; }
60686 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60687 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60688 $as_echo_n "(cached) " >&6
60689 else
60690
60691
60692 ac_ext=cpp
60693 ac_cpp='$CXXCPP $CPPFLAGS'
60694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60697
60698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60699 /* end confdefs.h. */
60700 #include <math.h>
60701 int
60702 main ()
60703 {
60704 _powf(0, 0);
60705 ;
60706 return 0;
60707 }
60708 _ACEOF
60709 if ac_fn_cxx_try_compile "$LINENO"; then :
60710 glibcxx_cv_func__powf_use=yes
60711 else
60712 glibcxx_cv_func__powf_use=no
60713 fi
60714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60715 ac_ext=c
60716 ac_cpp='$CPP $CPPFLAGS'
60717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60720
60721
60722 fi
60723
60724 fi
60725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60726 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60727
60728 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60729 for ac_func in _powf
60730 do :
60731 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60732 if test "x$ac_cv_func__powf" = x""yes; then :
60733 cat >>confdefs.h <<_ACEOF
60734 #define HAVE__POWF 1
60735 _ACEOF
60736
60737 fi
60738 done
60739
60740 fi
60741 fi
60742
60743
60744
60745
60746
60747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60748 $as_echo_n "checking for sqrtf declaration... " >&6; }
60749 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60750 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60751 $as_echo_n "(cached) " >&6
60752 else
60753
60754
60755 ac_ext=cpp
60756 ac_cpp='$CXXCPP $CPPFLAGS'
60757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60760
60761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60762 /* end confdefs.h. */
60763 #include <math.h>
60764 #ifdef HAVE_IEEEFP_H
60765 #include <ieeefp.h>
60766 #endif
60767
60768 int
60769 main ()
60770 {
60771 sqrtf(0);
60772 ;
60773 return 0;
60774 }
60775 _ACEOF
60776 if ac_fn_cxx_try_compile "$LINENO"; then :
60777 glibcxx_cv_func_sqrtf_use=yes
60778 else
60779 glibcxx_cv_func_sqrtf_use=no
60780 fi
60781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60782 ac_ext=c
60783 ac_cpp='$CPP $CPPFLAGS'
60784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60787
60788
60789 fi
60790
60791 fi
60792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60793 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60794
60795 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60796 for ac_func in sqrtf
60797 do :
60798 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60799 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60800 cat >>confdefs.h <<_ACEOF
60801 #define HAVE_SQRTF 1
60802 _ACEOF
60803
60804 fi
60805 done
60806
60807 else
60808
60809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60810 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60811 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60812 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60813 $as_echo_n "(cached) " >&6
60814 else
60815
60816
60817 ac_ext=cpp
60818 ac_cpp='$CXXCPP $CPPFLAGS'
60819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60822
60823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60824 /* end confdefs.h. */
60825 #include <math.h>
60826 #ifdef HAVE_IEEEFP_H
60827 #include <ieeefp.h>
60828 #endif
60829
60830 int
60831 main ()
60832 {
60833 _sqrtf(0);
60834 ;
60835 return 0;
60836 }
60837 _ACEOF
60838 if ac_fn_cxx_try_compile "$LINENO"; then :
60839 glibcxx_cv_func__sqrtf_use=yes
60840 else
60841 glibcxx_cv_func__sqrtf_use=no
60842 fi
60843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60844 ac_ext=c
60845 ac_cpp='$CPP $CPPFLAGS'
60846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60849
60850
60851 fi
60852
60853 fi
60854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60855 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60856
60857 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60858 for ac_func in _sqrtf
60859 do :
60860 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60861 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60862 cat >>confdefs.h <<_ACEOF
60863 #define HAVE__SQRTF 1
60864 _ACEOF
60865
60866 fi
60867 done
60868
60869 fi
60870 fi
60871
60872
60873
60874
60875
60876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60877 $as_echo_n "checking for sincosf declaration... " >&6; }
60878 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60879 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60880 $as_echo_n "(cached) " >&6
60881 else
60882
60883
60884 ac_ext=cpp
60885 ac_cpp='$CXXCPP $CPPFLAGS'
60886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60889
60890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60891 /* end confdefs.h. */
60892 #include <math.h>
60893 int
60894 main ()
60895 {
60896 sincosf(0, 0, 0);
60897 ;
60898 return 0;
60899 }
60900 _ACEOF
60901 if ac_fn_cxx_try_compile "$LINENO"; then :
60902 glibcxx_cv_func_sincosf_use=yes
60903 else
60904 glibcxx_cv_func_sincosf_use=no
60905 fi
60906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60907 ac_ext=c
60908 ac_cpp='$CPP $CPPFLAGS'
60909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60912
60913
60914 fi
60915
60916 fi
60917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
60918 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
60919
60920 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
60921 for ac_func in sincosf
60922 do :
60923 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
60924 if test "x$ac_cv_func_sincosf" = x""yes; then :
60925 cat >>confdefs.h <<_ACEOF
60926 #define HAVE_SINCOSF 1
60927 _ACEOF
60928
60929 fi
60930 done
60931
60932 else
60933
60934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
60935 $as_echo_n "checking for _sincosf declaration... " >&6; }
60936 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
60937 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
60938 $as_echo_n "(cached) " >&6
60939 else
60940
60941
60942 ac_ext=cpp
60943 ac_cpp='$CXXCPP $CPPFLAGS'
60944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60947
60948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60949 /* end confdefs.h. */
60950 #include <math.h>
60951 int
60952 main ()
60953 {
60954 _sincosf(0, 0, 0);
60955 ;
60956 return 0;
60957 }
60958 _ACEOF
60959 if ac_fn_cxx_try_compile "$LINENO"; then :
60960 glibcxx_cv_func__sincosf_use=yes
60961 else
60962 glibcxx_cv_func__sincosf_use=no
60963 fi
60964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60965 ac_ext=c
60966 ac_cpp='$CPP $CPPFLAGS'
60967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60970
60971
60972 fi
60973
60974 fi
60975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
60976 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
60977
60978 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
60979 for ac_func in _sincosf
60980 do :
60981 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
60982 if test "x$ac_cv_func__sincosf" = x""yes; then :
60983 cat >>confdefs.h <<_ACEOF
60984 #define HAVE__SINCOSF 1
60985 _ACEOF
60986
60987 fi
60988 done
60989
60990 fi
60991 fi
60992
60993
60994
60995
60996
60997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
60998 $as_echo_n "checking for finitef declaration... " >&6; }
60999 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61000 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61001 $as_echo_n "(cached) " >&6
61002 else
61003
61004
61005 ac_ext=cpp
61006 ac_cpp='$CXXCPP $CPPFLAGS'
61007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61010
61011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61012 /* end confdefs.h. */
61013 #include <math.h>
61014 #ifdef HAVE_IEEEFP_H
61015 #include <ieeefp.h>
61016 #endif
61017
61018 int
61019 main ()
61020 {
61021 finitef(0);
61022 ;
61023 return 0;
61024 }
61025 _ACEOF
61026 if ac_fn_cxx_try_compile "$LINENO"; then :
61027 glibcxx_cv_func_finitef_use=yes
61028 else
61029 glibcxx_cv_func_finitef_use=no
61030 fi
61031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61032 ac_ext=c
61033 ac_cpp='$CPP $CPPFLAGS'
61034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61037
61038
61039 fi
61040
61041 fi
61042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61043 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61044
61045 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61046 for ac_func in finitef
61047 do :
61048 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61049 if test "x$ac_cv_func_finitef" = x""yes; then :
61050 cat >>confdefs.h <<_ACEOF
61051 #define HAVE_FINITEF 1
61052 _ACEOF
61053
61054 fi
61055 done
61056
61057 else
61058
61059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61060 $as_echo_n "checking for _finitef declaration... " >&6; }
61061 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61062 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61063 $as_echo_n "(cached) " >&6
61064 else
61065
61066
61067 ac_ext=cpp
61068 ac_cpp='$CXXCPP $CPPFLAGS'
61069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61072
61073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61074 /* end confdefs.h. */
61075 #include <math.h>
61076 #ifdef HAVE_IEEEFP_H
61077 #include <ieeefp.h>
61078 #endif
61079
61080 int
61081 main ()
61082 {
61083 _finitef(0);
61084 ;
61085 return 0;
61086 }
61087 _ACEOF
61088 if ac_fn_cxx_try_compile "$LINENO"; then :
61089 glibcxx_cv_func__finitef_use=yes
61090 else
61091 glibcxx_cv_func__finitef_use=no
61092 fi
61093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61094 ac_ext=c
61095 ac_cpp='$CPP $CPPFLAGS'
61096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61099
61100
61101 fi
61102
61103 fi
61104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61105 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61106
61107 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61108 for ac_func in _finitef
61109 do :
61110 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61111 if test "x$ac_cv_func__finitef" = x""yes; then :
61112 cat >>confdefs.h <<_ACEOF
61113 #define HAVE__FINITEF 1
61114 _ACEOF
61115
61116 fi
61117 done
61118
61119 fi
61120 fi
61121
61122
61123
61124
61125
61126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61127 $as_echo_n "checking for long double trig functions... " >&6; }
61128 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61129 $as_echo_n "(cached) " >&6
61130 else
61131
61132
61133 ac_ext=cpp
61134 ac_cpp='$CXXCPP $CPPFLAGS'
61135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61138
61139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61140 /* end confdefs.h. */
61141 #include <math.h>
61142 int
61143 main ()
61144 {
61145 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61146 ;
61147 return 0;
61148 }
61149 _ACEOF
61150 if ac_fn_cxx_try_compile "$LINENO"; then :
61151 glibcxx_cv_func_long_double_trig_use=yes
61152 else
61153 glibcxx_cv_func_long_double_trig_use=no
61154 fi
61155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61156 ac_ext=c
61157 ac_cpp='$CPP $CPPFLAGS'
61158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61161
61162 fi
61163
61164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61165 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61166 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61167 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61168 do :
61169 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61170 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61171 eval as_val=\$$as_ac_var
61172 if test "x$as_val" = x""yes; then :
61173 cat >>confdefs.h <<_ACEOF
61174 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61175 _ACEOF
61176
61177 fi
61178 done
61179
61180 else
61181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61182 $as_echo_n "checking for _long double trig functions... " >&6; }
61183 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61184 $as_echo_n "(cached) " >&6
61185 else
61186
61187
61188 ac_ext=cpp
61189 ac_cpp='$CXXCPP $CPPFLAGS'
61190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61193
61194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61195 /* end confdefs.h. */
61196 #include <math.h>
61197 int
61198 main ()
61199 {
61200 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61201 ;
61202 return 0;
61203 }
61204 _ACEOF
61205 if ac_fn_cxx_try_compile "$LINENO"; then :
61206 glibcxx_cv_func__long_double_trig_use=yes
61207 else
61208 glibcxx_cv_func__long_double_trig_use=no
61209 fi
61210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61211 ac_ext=c
61212 ac_cpp='$CPP $CPPFLAGS'
61213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61216
61217 fi
61218
61219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61220 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61221 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61222 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61223 do :
61224 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61225 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61226 eval as_val=\$$as_ac_var
61227 if test "x$as_val" = x""yes; then :
61228 cat >>confdefs.h <<_ACEOF
61229 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 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 long double round functions" >&5
61243 $as_echo_n "checking for long double round functions... " >&6; }
61244 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61245 $as_echo_n "(cached) " >&6
61246 else
61247
61248
61249 ac_ext=cpp
61250 ac_cpp='$CXXCPP $CPPFLAGS'
61251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61254
61255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61256 /* end confdefs.h. */
61257 #include <math.h>
61258 int
61259 main ()
61260 {
61261 ceill (0); floorl (0);
61262 ;
61263 return 0;
61264 }
61265 _ACEOF
61266 if ac_fn_cxx_try_compile "$LINENO"; then :
61267 glibcxx_cv_func_long_double_round_use=yes
61268 else
61269 glibcxx_cv_func_long_double_round_use=no
61270 fi
61271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61272 ac_ext=c
61273 ac_cpp='$CPP $CPPFLAGS'
61274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61277
61278 fi
61279
61280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61281 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61282 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61283 for ac_func in ceill floorl
61284 do :
61285 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61286 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61287 eval as_val=\$$as_ac_var
61288 if test "x$as_val" = x""yes; then :
61289 cat >>confdefs.h <<_ACEOF
61290 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61291 _ACEOF
61292
61293 fi
61294 done
61295
61296 else
61297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61298 $as_echo_n "checking for _long double round functions... " >&6; }
61299 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61300 $as_echo_n "(cached) " >&6
61301 else
61302
61303
61304 ac_ext=cpp
61305 ac_cpp='$CXXCPP $CPPFLAGS'
61306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61309
61310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61311 /* end confdefs.h. */
61312 #include <math.h>
61313 int
61314 main ()
61315 {
61316 _ceill (0); _floorl (0);
61317 ;
61318 return 0;
61319 }
61320 _ACEOF
61321 if ac_fn_cxx_try_compile "$LINENO"; then :
61322 glibcxx_cv_func__long_double_round_use=yes
61323 else
61324 glibcxx_cv_func__long_double_round_use=no
61325 fi
61326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61327 ac_ext=c
61328 ac_cpp='$CPP $CPPFLAGS'
61329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61332
61333 fi
61334
61335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61336 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61337 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61338 for ac_func in _ceill _floorl
61339 do :
61340 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61341 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61342 eval as_val=\$$as_ac_var
61343 if test "x$as_val" = x""yes; then :
61344 cat >>confdefs.h <<_ACEOF
61345 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61346 _ACEOF
61347
61348 fi
61349 done
61350
61351 fi
61352 fi
61353
61354
61355
61356
61357
61358
61359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61360 $as_echo_n "checking for isnanl declaration... " >&6; }
61361 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61362 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61363 $as_echo_n "(cached) " >&6
61364 else
61365
61366
61367 ac_ext=cpp
61368 ac_cpp='$CXXCPP $CPPFLAGS'
61369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61372
61373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61374 /* end confdefs.h. */
61375 #include <math.h>
61376 #ifdef HAVE_IEEEFP_H
61377 #include <ieeefp.h>
61378 #endif
61379
61380 int
61381 main ()
61382 {
61383 isnanl(0);
61384 ;
61385 return 0;
61386 }
61387 _ACEOF
61388 if ac_fn_cxx_try_compile "$LINENO"; then :
61389 glibcxx_cv_func_isnanl_use=yes
61390 else
61391 glibcxx_cv_func_isnanl_use=no
61392 fi
61393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61394 ac_ext=c
61395 ac_cpp='$CPP $CPPFLAGS'
61396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61399
61400
61401 fi
61402
61403 fi
61404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61405 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61406
61407 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61408 for ac_func in isnanl
61409 do :
61410 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61411 if test "x$ac_cv_func_isnanl" = x""yes; then :
61412 cat >>confdefs.h <<_ACEOF
61413 #define HAVE_ISNANL 1
61414 _ACEOF
61415
61416 fi
61417 done
61418
61419 else
61420
61421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61422 $as_echo_n "checking for _isnanl declaration... " >&6; }
61423 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61424 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61425 $as_echo_n "(cached) " >&6
61426 else
61427
61428
61429 ac_ext=cpp
61430 ac_cpp='$CXXCPP $CPPFLAGS'
61431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61434
61435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61436 /* end confdefs.h. */
61437 #include <math.h>
61438 #ifdef HAVE_IEEEFP_H
61439 #include <ieeefp.h>
61440 #endif
61441
61442 int
61443 main ()
61444 {
61445 _isnanl(0);
61446 ;
61447 return 0;
61448 }
61449 _ACEOF
61450 if ac_fn_cxx_try_compile "$LINENO"; then :
61451 glibcxx_cv_func__isnanl_use=yes
61452 else
61453 glibcxx_cv_func__isnanl_use=no
61454 fi
61455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61456 ac_ext=c
61457 ac_cpp='$CPP $CPPFLAGS'
61458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61461
61462
61463 fi
61464
61465 fi
61466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61467 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61468
61469 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61470 for ac_func in _isnanl
61471 do :
61472 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61473 if test "x$ac_cv_func__isnanl" = x""yes; then :
61474 cat >>confdefs.h <<_ACEOF
61475 #define HAVE__ISNANL 1
61476 _ACEOF
61477
61478 fi
61479 done
61480
61481 fi
61482 fi
61483
61484
61485
61486
61487
61488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61489 $as_echo_n "checking for isinfl declaration... " >&6; }
61490 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61491 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61492 $as_echo_n "(cached) " >&6
61493 else
61494
61495
61496 ac_ext=cpp
61497 ac_cpp='$CXXCPP $CPPFLAGS'
61498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61501
61502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61503 /* end confdefs.h. */
61504 #include <math.h>
61505 #ifdef HAVE_IEEEFP_H
61506 #include <ieeefp.h>
61507 #endif
61508
61509 int
61510 main ()
61511 {
61512 isinfl(0);
61513 ;
61514 return 0;
61515 }
61516 _ACEOF
61517 if ac_fn_cxx_try_compile "$LINENO"; then :
61518 glibcxx_cv_func_isinfl_use=yes
61519 else
61520 glibcxx_cv_func_isinfl_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_isinfl_use" >&5
61534 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61535
61536 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61537 for ac_func in isinfl
61538 do :
61539 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61540 if test "x$ac_cv_func_isinfl" = x""yes; then :
61541 cat >>confdefs.h <<_ACEOF
61542 #define HAVE_ISINFL 1
61543 _ACEOF
61544
61545 fi
61546 done
61547
61548 else
61549
61550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61551 $as_echo_n "checking for _isinfl declaration... " >&6; }
61552 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61553 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61554 $as_echo_n "(cached) " >&6
61555 else
61556
61557
61558 ac_ext=cpp
61559 ac_cpp='$CXXCPP $CPPFLAGS'
61560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61563
61564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61565 /* end confdefs.h. */
61566 #include <math.h>
61567 #ifdef HAVE_IEEEFP_H
61568 #include <ieeefp.h>
61569 #endif
61570
61571 int
61572 main ()
61573 {
61574 _isinfl(0);
61575 ;
61576 return 0;
61577 }
61578 _ACEOF
61579 if ac_fn_cxx_try_compile "$LINENO"; then :
61580 glibcxx_cv_func__isinfl_use=yes
61581 else
61582 glibcxx_cv_func__isinfl_use=no
61583 fi
61584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61585 ac_ext=c
61586 ac_cpp='$CPP $CPPFLAGS'
61587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61590
61591
61592 fi
61593
61594 fi
61595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61596 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61597
61598 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61599 for ac_func in _isinfl
61600 do :
61601 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61602 if test "x$ac_cv_func__isinfl" = x""yes; then :
61603 cat >>confdefs.h <<_ACEOF
61604 #define HAVE__ISINFL 1
61605 _ACEOF
61606
61607 fi
61608 done
61609
61610 fi
61611 fi
61612
61613
61614
61615
61616
61617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61618 $as_echo_n "checking for atan2l declaration... " >&6; }
61619 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61620 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61621 $as_echo_n "(cached) " >&6
61622 else
61623
61624
61625 ac_ext=cpp
61626 ac_cpp='$CXXCPP $CPPFLAGS'
61627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61630
61631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61632 /* end confdefs.h. */
61633 #include <math.h>
61634 int
61635 main ()
61636 {
61637 atan2l(0, 0);
61638 ;
61639 return 0;
61640 }
61641 _ACEOF
61642 if ac_fn_cxx_try_compile "$LINENO"; then :
61643 glibcxx_cv_func_atan2l_use=yes
61644 else
61645 glibcxx_cv_func_atan2l_use=no
61646 fi
61647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61648 ac_ext=c
61649 ac_cpp='$CPP $CPPFLAGS'
61650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61653
61654
61655 fi
61656
61657 fi
61658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61659 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61660
61661 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61662 for ac_func in atan2l
61663 do :
61664 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61665 if test "x$ac_cv_func_atan2l" = x""yes; then :
61666 cat >>confdefs.h <<_ACEOF
61667 #define HAVE_ATAN2L 1
61668 _ACEOF
61669
61670 fi
61671 done
61672
61673 else
61674
61675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61676 $as_echo_n "checking for _atan2l declaration... " >&6; }
61677 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61678 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61679 $as_echo_n "(cached) " >&6
61680 else
61681
61682
61683 ac_ext=cpp
61684 ac_cpp='$CXXCPP $CPPFLAGS'
61685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61688
61689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61690 /* end confdefs.h. */
61691 #include <math.h>
61692 int
61693 main ()
61694 {
61695 _atan2l(0, 0);
61696 ;
61697 return 0;
61698 }
61699 _ACEOF
61700 if ac_fn_cxx_try_compile "$LINENO"; then :
61701 glibcxx_cv_func__atan2l_use=yes
61702 else
61703 glibcxx_cv_func__atan2l_use=no
61704 fi
61705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61706 ac_ext=c
61707 ac_cpp='$CPP $CPPFLAGS'
61708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61711
61712
61713 fi
61714
61715 fi
61716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61717 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61718
61719 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61720 for ac_func in _atan2l
61721 do :
61722 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61723 if test "x$ac_cv_func__atan2l" = x""yes; then :
61724 cat >>confdefs.h <<_ACEOF
61725 #define HAVE__ATAN2L 1
61726 _ACEOF
61727
61728 fi
61729 done
61730
61731 fi
61732 fi
61733
61734
61735
61736
61737
61738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61739 $as_echo_n "checking for expl declaration... " >&6; }
61740 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61741 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61742 $as_echo_n "(cached) " >&6
61743 else
61744
61745
61746 ac_ext=cpp
61747 ac_cpp='$CXXCPP $CPPFLAGS'
61748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61751
61752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61753 /* end confdefs.h. */
61754 #include <math.h>
61755 #ifdef HAVE_IEEEFP_H
61756 #include <ieeefp.h>
61757 #endif
61758
61759 int
61760 main ()
61761 {
61762 expl(0);
61763 ;
61764 return 0;
61765 }
61766 _ACEOF
61767 if ac_fn_cxx_try_compile "$LINENO"; then :
61768 glibcxx_cv_func_expl_use=yes
61769 else
61770 glibcxx_cv_func_expl_use=no
61771 fi
61772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61773 ac_ext=c
61774 ac_cpp='$CPP $CPPFLAGS'
61775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61778
61779
61780 fi
61781
61782 fi
61783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61784 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61785
61786 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61787 for ac_func in expl
61788 do :
61789 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61790 if test "x$ac_cv_func_expl" = x""yes; then :
61791 cat >>confdefs.h <<_ACEOF
61792 #define HAVE_EXPL 1
61793 _ACEOF
61794
61795 fi
61796 done
61797
61798 else
61799
61800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61801 $as_echo_n "checking for _expl declaration... " >&6; }
61802 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61803 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61804 $as_echo_n "(cached) " >&6
61805 else
61806
61807
61808 ac_ext=cpp
61809 ac_cpp='$CXXCPP $CPPFLAGS'
61810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61813
61814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61815 /* end confdefs.h. */
61816 #include <math.h>
61817 #ifdef HAVE_IEEEFP_H
61818 #include <ieeefp.h>
61819 #endif
61820
61821 int
61822 main ()
61823 {
61824 _expl(0);
61825 ;
61826 return 0;
61827 }
61828 _ACEOF
61829 if ac_fn_cxx_try_compile "$LINENO"; then :
61830 glibcxx_cv_func__expl_use=yes
61831 else
61832 glibcxx_cv_func__expl_use=no
61833 fi
61834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61835 ac_ext=c
61836 ac_cpp='$CPP $CPPFLAGS'
61837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61840
61841
61842 fi
61843
61844 fi
61845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61846 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61847
61848 if test x$glibcxx_cv_func__expl_use = x"yes"; then
61849 for ac_func in _expl
61850 do :
61851 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61852 if test "x$ac_cv_func__expl" = x""yes; then :
61853 cat >>confdefs.h <<_ACEOF
61854 #define HAVE__EXPL 1
61855 _ACEOF
61856
61857 fi
61858 done
61859
61860 fi
61861 fi
61862
61863
61864
61865
61866
61867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61868 $as_echo_n "checking for fabsl declaration... " >&6; }
61869 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61870 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61871 $as_echo_n "(cached) " >&6
61872 else
61873
61874
61875 ac_ext=cpp
61876 ac_cpp='$CXXCPP $CPPFLAGS'
61877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61880
61881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61882 /* end confdefs.h. */
61883 #include <math.h>
61884 #ifdef HAVE_IEEEFP_H
61885 #include <ieeefp.h>
61886 #endif
61887
61888 int
61889 main ()
61890 {
61891 fabsl(0);
61892 ;
61893 return 0;
61894 }
61895 _ACEOF
61896 if ac_fn_cxx_try_compile "$LINENO"; then :
61897 glibcxx_cv_func_fabsl_use=yes
61898 else
61899 glibcxx_cv_func_fabsl_use=no
61900 fi
61901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61902 ac_ext=c
61903 ac_cpp='$CPP $CPPFLAGS'
61904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61907
61908
61909 fi
61910
61911 fi
61912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
61913 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
61914
61915 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
61916 for ac_func in fabsl
61917 do :
61918 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
61919 if test "x$ac_cv_func_fabsl" = x""yes; then :
61920 cat >>confdefs.h <<_ACEOF
61921 #define HAVE_FABSL 1
61922 _ACEOF
61923
61924 fi
61925 done
61926
61927 else
61928
61929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
61930 $as_echo_n "checking for _fabsl declaration... " >&6; }
61931 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
61932 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
61933 $as_echo_n "(cached) " >&6
61934 else
61935
61936
61937 ac_ext=cpp
61938 ac_cpp='$CXXCPP $CPPFLAGS'
61939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61942
61943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61944 /* end confdefs.h. */
61945 #include <math.h>
61946 #ifdef HAVE_IEEEFP_H
61947 #include <ieeefp.h>
61948 #endif
61949
61950 int
61951 main ()
61952 {
61953 _fabsl(0);
61954 ;
61955 return 0;
61956 }
61957 _ACEOF
61958 if ac_fn_cxx_try_compile "$LINENO"; then :
61959 glibcxx_cv_func__fabsl_use=yes
61960 else
61961 glibcxx_cv_func__fabsl_use=no
61962 fi
61963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61964 ac_ext=c
61965 ac_cpp='$CPP $CPPFLAGS'
61966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61969
61970
61971 fi
61972
61973 fi
61974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
61975 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
61976
61977 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
61978 for ac_func in _fabsl
61979 do :
61980 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
61981 if test "x$ac_cv_func__fabsl" = x""yes; then :
61982 cat >>confdefs.h <<_ACEOF
61983 #define HAVE__FABSL 1
61984 _ACEOF
61985
61986 fi
61987 done
61988
61989 fi
61990 fi
61991
61992
61993
61994
61995
61996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
61997 $as_echo_n "checking for fmodl declaration... " >&6; }
61998 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
61999 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62000 $as_echo_n "(cached) " >&6
62001 else
62002
62003
62004 ac_ext=cpp
62005 ac_cpp='$CXXCPP $CPPFLAGS'
62006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62009
62010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62011 /* end confdefs.h. */
62012 #include <math.h>
62013 int
62014 main ()
62015 {
62016 fmodl(0, 0);
62017 ;
62018 return 0;
62019 }
62020 _ACEOF
62021 if ac_fn_cxx_try_compile "$LINENO"; then :
62022 glibcxx_cv_func_fmodl_use=yes
62023 else
62024 glibcxx_cv_func_fmodl_use=no
62025 fi
62026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62027 ac_ext=c
62028 ac_cpp='$CPP $CPPFLAGS'
62029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62032
62033
62034 fi
62035
62036 fi
62037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62038 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62039
62040 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62041 for ac_func in fmodl
62042 do :
62043 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62044 if test "x$ac_cv_func_fmodl" = x""yes; then :
62045 cat >>confdefs.h <<_ACEOF
62046 #define HAVE_FMODL 1
62047 _ACEOF
62048
62049 fi
62050 done
62051
62052 else
62053
62054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62055 $as_echo_n "checking for _fmodl declaration... " >&6; }
62056 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62057 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62058 $as_echo_n "(cached) " >&6
62059 else
62060
62061
62062 ac_ext=cpp
62063 ac_cpp='$CXXCPP $CPPFLAGS'
62064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62067
62068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62069 /* end confdefs.h. */
62070 #include <math.h>
62071 int
62072 main ()
62073 {
62074 _fmodl(0, 0);
62075 ;
62076 return 0;
62077 }
62078 _ACEOF
62079 if ac_fn_cxx_try_compile "$LINENO"; then :
62080 glibcxx_cv_func__fmodl_use=yes
62081 else
62082 glibcxx_cv_func__fmodl_use=no
62083 fi
62084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62085 ac_ext=c
62086 ac_cpp='$CPP $CPPFLAGS'
62087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62090
62091
62092 fi
62093
62094 fi
62095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62096 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62097
62098 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62099 for ac_func in _fmodl
62100 do :
62101 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62102 if test "x$ac_cv_func__fmodl" = x""yes; then :
62103 cat >>confdefs.h <<_ACEOF
62104 #define HAVE__FMODL 1
62105 _ACEOF
62106
62107 fi
62108 done
62109
62110 fi
62111 fi
62112
62113
62114
62115
62116
62117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62118 $as_echo_n "checking for frexpl declaration... " >&6; }
62119 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62120 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62121 $as_echo_n "(cached) " >&6
62122 else
62123
62124
62125 ac_ext=cpp
62126 ac_cpp='$CXXCPP $CPPFLAGS'
62127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62130
62131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62132 /* end confdefs.h. */
62133 #include <math.h>
62134 int
62135 main ()
62136 {
62137 frexpl(0, 0);
62138 ;
62139 return 0;
62140 }
62141 _ACEOF
62142 if ac_fn_cxx_try_compile "$LINENO"; then :
62143 glibcxx_cv_func_frexpl_use=yes
62144 else
62145 glibcxx_cv_func_frexpl_use=no
62146 fi
62147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62148 ac_ext=c
62149 ac_cpp='$CPP $CPPFLAGS'
62150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62153
62154
62155 fi
62156
62157 fi
62158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62159 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62160
62161 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62162 for ac_func in frexpl
62163 do :
62164 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62165 if test "x$ac_cv_func_frexpl" = x""yes; then :
62166 cat >>confdefs.h <<_ACEOF
62167 #define HAVE_FREXPL 1
62168 _ACEOF
62169
62170 fi
62171 done
62172
62173 else
62174
62175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62176 $as_echo_n "checking for _frexpl declaration... " >&6; }
62177 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62178 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62179 $as_echo_n "(cached) " >&6
62180 else
62181
62182
62183 ac_ext=cpp
62184 ac_cpp='$CXXCPP $CPPFLAGS'
62185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62188
62189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62190 /* end confdefs.h. */
62191 #include <math.h>
62192 int
62193 main ()
62194 {
62195 _frexpl(0, 0);
62196 ;
62197 return 0;
62198 }
62199 _ACEOF
62200 if ac_fn_cxx_try_compile "$LINENO"; then :
62201 glibcxx_cv_func__frexpl_use=yes
62202 else
62203 glibcxx_cv_func__frexpl_use=no
62204 fi
62205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62206 ac_ext=c
62207 ac_cpp='$CPP $CPPFLAGS'
62208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62211
62212
62213 fi
62214
62215 fi
62216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62217 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62218
62219 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62220 for ac_func in _frexpl
62221 do :
62222 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62223 if test "x$ac_cv_func__frexpl" = x""yes; then :
62224 cat >>confdefs.h <<_ACEOF
62225 #define HAVE__FREXPL 1
62226 _ACEOF
62227
62228 fi
62229 done
62230
62231 fi
62232 fi
62233
62234
62235
62236
62237
62238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62239 $as_echo_n "checking for hypotl declaration... " >&6; }
62240 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62241 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62242 $as_echo_n "(cached) " >&6
62243 else
62244
62245
62246 ac_ext=cpp
62247 ac_cpp='$CXXCPP $CPPFLAGS'
62248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62251
62252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62253 /* end confdefs.h. */
62254 #include <math.h>
62255 int
62256 main ()
62257 {
62258 hypotl(0, 0);
62259 ;
62260 return 0;
62261 }
62262 _ACEOF
62263 if ac_fn_cxx_try_compile "$LINENO"; then :
62264 glibcxx_cv_func_hypotl_use=yes
62265 else
62266 glibcxx_cv_func_hypotl_use=no
62267 fi
62268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62269 ac_ext=c
62270 ac_cpp='$CPP $CPPFLAGS'
62271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62274
62275
62276 fi
62277
62278 fi
62279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62280 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62281
62282 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62283 for ac_func in hypotl
62284 do :
62285 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62286 if test "x$ac_cv_func_hypotl" = x""yes; then :
62287 cat >>confdefs.h <<_ACEOF
62288 #define HAVE_HYPOTL 1
62289 _ACEOF
62290
62291 fi
62292 done
62293
62294 else
62295
62296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62297 $as_echo_n "checking for _hypotl declaration... " >&6; }
62298 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62299 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62300 $as_echo_n "(cached) " >&6
62301 else
62302
62303
62304 ac_ext=cpp
62305 ac_cpp='$CXXCPP $CPPFLAGS'
62306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62309
62310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62311 /* end confdefs.h. */
62312 #include <math.h>
62313 int
62314 main ()
62315 {
62316 _hypotl(0, 0);
62317 ;
62318 return 0;
62319 }
62320 _ACEOF
62321 if ac_fn_cxx_try_compile "$LINENO"; then :
62322 glibcxx_cv_func__hypotl_use=yes
62323 else
62324 glibcxx_cv_func__hypotl_use=no
62325 fi
62326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62327 ac_ext=c
62328 ac_cpp='$CPP $CPPFLAGS'
62329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62332
62333
62334 fi
62335
62336 fi
62337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62338 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62339
62340 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62341 for ac_func in _hypotl
62342 do :
62343 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62344 if test "x$ac_cv_func__hypotl" = x""yes; then :
62345 cat >>confdefs.h <<_ACEOF
62346 #define HAVE__HYPOTL 1
62347 _ACEOF
62348
62349 fi
62350 done
62351
62352 fi
62353 fi
62354
62355
62356
62357
62358
62359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62360 $as_echo_n "checking for ldexpl declaration... " >&6; }
62361 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62362 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62363 $as_echo_n "(cached) " >&6
62364 else
62365
62366
62367 ac_ext=cpp
62368 ac_cpp='$CXXCPP $CPPFLAGS'
62369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62372
62373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62374 /* end confdefs.h. */
62375 #include <math.h>
62376 int
62377 main ()
62378 {
62379 ldexpl(0, 0);
62380 ;
62381 return 0;
62382 }
62383 _ACEOF
62384 if ac_fn_cxx_try_compile "$LINENO"; then :
62385 glibcxx_cv_func_ldexpl_use=yes
62386 else
62387 glibcxx_cv_func_ldexpl_use=no
62388 fi
62389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62390 ac_ext=c
62391 ac_cpp='$CPP $CPPFLAGS'
62392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62395
62396
62397 fi
62398
62399 fi
62400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62401 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62402
62403 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62404 for ac_func in ldexpl
62405 do :
62406 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62407 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62408 cat >>confdefs.h <<_ACEOF
62409 #define HAVE_LDEXPL 1
62410 _ACEOF
62411
62412 fi
62413 done
62414
62415 else
62416
62417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62418 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62419 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62420 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62421 $as_echo_n "(cached) " >&6
62422 else
62423
62424
62425 ac_ext=cpp
62426 ac_cpp='$CXXCPP $CPPFLAGS'
62427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62430
62431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62432 /* end confdefs.h. */
62433 #include <math.h>
62434 int
62435 main ()
62436 {
62437 _ldexpl(0, 0);
62438 ;
62439 return 0;
62440 }
62441 _ACEOF
62442 if ac_fn_cxx_try_compile "$LINENO"; then :
62443 glibcxx_cv_func__ldexpl_use=yes
62444 else
62445 glibcxx_cv_func__ldexpl_use=no
62446 fi
62447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62448 ac_ext=c
62449 ac_cpp='$CPP $CPPFLAGS'
62450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62453
62454
62455 fi
62456
62457 fi
62458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62459 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62460
62461 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62462 for ac_func in _ldexpl
62463 do :
62464 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62465 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62466 cat >>confdefs.h <<_ACEOF
62467 #define HAVE__LDEXPL 1
62468 _ACEOF
62469
62470 fi
62471 done
62472
62473 fi
62474 fi
62475
62476
62477
62478
62479
62480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62481 $as_echo_n "checking for logl declaration... " >&6; }
62482 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62483 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62484 $as_echo_n "(cached) " >&6
62485 else
62486
62487
62488 ac_ext=cpp
62489 ac_cpp='$CXXCPP $CPPFLAGS'
62490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62493
62494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62495 /* end confdefs.h. */
62496 #include <math.h>
62497 #ifdef HAVE_IEEEFP_H
62498 #include <ieeefp.h>
62499 #endif
62500
62501 int
62502 main ()
62503 {
62504 logl(0);
62505 ;
62506 return 0;
62507 }
62508 _ACEOF
62509 if ac_fn_cxx_try_compile "$LINENO"; then :
62510 glibcxx_cv_func_logl_use=yes
62511 else
62512 glibcxx_cv_func_logl_use=no
62513 fi
62514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62515 ac_ext=c
62516 ac_cpp='$CPP $CPPFLAGS'
62517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62520
62521
62522 fi
62523
62524 fi
62525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62526 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62527
62528 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62529 for ac_func in logl
62530 do :
62531 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62532 if test "x$ac_cv_func_logl" = x""yes; then :
62533 cat >>confdefs.h <<_ACEOF
62534 #define HAVE_LOGL 1
62535 _ACEOF
62536
62537 fi
62538 done
62539
62540 else
62541
62542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62543 $as_echo_n "checking for _logl declaration... " >&6; }
62544 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62545 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62546 $as_echo_n "(cached) " >&6
62547 else
62548
62549
62550 ac_ext=cpp
62551 ac_cpp='$CXXCPP $CPPFLAGS'
62552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62555
62556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62557 /* end confdefs.h. */
62558 #include <math.h>
62559 #ifdef HAVE_IEEEFP_H
62560 #include <ieeefp.h>
62561 #endif
62562
62563 int
62564 main ()
62565 {
62566 _logl(0);
62567 ;
62568 return 0;
62569 }
62570 _ACEOF
62571 if ac_fn_cxx_try_compile "$LINENO"; then :
62572 glibcxx_cv_func__logl_use=yes
62573 else
62574 glibcxx_cv_func__logl_use=no
62575 fi
62576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62577 ac_ext=c
62578 ac_cpp='$CPP $CPPFLAGS'
62579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62582
62583
62584 fi
62585
62586 fi
62587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62588 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62589
62590 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62591 for ac_func in _logl
62592 do :
62593 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62594 if test "x$ac_cv_func__logl" = x""yes; then :
62595 cat >>confdefs.h <<_ACEOF
62596 #define HAVE__LOGL 1
62597 _ACEOF
62598
62599 fi
62600 done
62601
62602 fi
62603 fi
62604
62605
62606
62607
62608
62609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62610 $as_echo_n "checking for log10l declaration... " >&6; }
62611 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62612 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62613 $as_echo_n "(cached) " >&6
62614 else
62615
62616
62617 ac_ext=cpp
62618 ac_cpp='$CXXCPP $CPPFLAGS'
62619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62622
62623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62624 /* end confdefs.h. */
62625 #include <math.h>
62626 #ifdef HAVE_IEEEFP_H
62627 #include <ieeefp.h>
62628 #endif
62629
62630 int
62631 main ()
62632 {
62633 log10l(0);
62634 ;
62635 return 0;
62636 }
62637 _ACEOF
62638 if ac_fn_cxx_try_compile "$LINENO"; then :
62639 glibcxx_cv_func_log10l_use=yes
62640 else
62641 glibcxx_cv_func_log10l_use=no
62642 fi
62643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62644 ac_ext=c
62645 ac_cpp='$CPP $CPPFLAGS'
62646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62649
62650
62651 fi
62652
62653 fi
62654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62655 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62656
62657 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62658 for ac_func in log10l
62659 do :
62660 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62661 if test "x$ac_cv_func_log10l" = x""yes; then :
62662 cat >>confdefs.h <<_ACEOF
62663 #define HAVE_LOG10L 1
62664 _ACEOF
62665
62666 fi
62667 done
62668
62669 else
62670
62671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62672 $as_echo_n "checking for _log10l declaration... " >&6; }
62673 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62674 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62675 $as_echo_n "(cached) " >&6
62676 else
62677
62678
62679 ac_ext=cpp
62680 ac_cpp='$CXXCPP $CPPFLAGS'
62681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62684
62685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62686 /* end confdefs.h. */
62687 #include <math.h>
62688 #ifdef HAVE_IEEEFP_H
62689 #include <ieeefp.h>
62690 #endif
62691
62692 int
62693 main ()
62694 {
62695 _log10l(0);
62696 ;
62697 return 0;
62698 }
62699 _ACEOF
62700 if ac_fn_cxx_try_compile "$LINENO"; then :
62701 glibcxx_cv_func__log10l_use=yes
62702 else
62703 glibcxx_cv_func__log10l_use=no
62704 fi
62705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62706 ac_ext=c
62707 ac_cpp='$CPP $CPPFLAGS'
62708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62711
62712
62713 fi
62714
62715 fi
62716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62717 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62718
62719 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62720 for ac_func in _log10l
62721 do :
62722 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62723 if test "x$ac_cv_func__log10l" = x""yes; then :
62724 cat >>confdefs.h <<_ACEOF
62725 #define HAVE__LOG10L 1
62726 _ACEOF
62727
62728 fi
62729 done
62730
62731 fi
62732 fi
62733
62734
62735
62736
62737
62738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62739 $as_echo_n "checking for modfl declaration... " >&6; }
62740 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62741 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62742 $as_echo_n "(cached) " >&6
62743 else
62744
62745
62746 ac_ext=cpp
62747 ac_cpp='$CXXCPP $CPPFLAGS'
62748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62751
62752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62753 /* end confdefs.h. */
62754 #include <math.h>
62755 int
62756 main ()
62757 {
62758 modfl(0, 0);
62759 ;
62760 return 0;
62761 }
62762 _ACEOF
62763 if ac_fn_cxx_try_compile "$LINENO"; then :
62764 glibcxx_cv_func_modfl_use=yes
62765 else
62766 glibcxx_cv_func_modfl_use=no
62767 fi
62768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62769 ac_ext=c
62770 ac_cpp='$CPP $CPPFLAGS'
62771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62774
62775
62776 fi
62777
62778 fi
62779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62780 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62781
62782 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62783 for ac_func in modfl
62784 do :
62785 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62786 if test "x$ac_cv_func_modfl" = x""yes; then :
62787 cat >>confdefs.h <<_ACEOF
62788 #define HAVE_MODFL 1
62789 _ACEOF
62790
62791 fi
62792 done
62793
62794 else
62795
62796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62797 $as_echo_n "checking for _modfl declaration... " >&6; }
62798 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62799 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62800 $as_echo_n "(cached) " >&6
62801 else
62802
62803
62804 ac_ext=cpp
62805 ac_cpp='$CXXCPP $CPPFLAGS'
62806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62809
62810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62811 /* end confdefs.h. */
62812 #include <math.h>
62813 int
62814 main ()
62815 {
62816 _modfl(0, 0);
62817 ;
62818 return 0;
62819 }
62820 _ACEOF
62821 if ac_fn_cxx_try_compile "$LINENO"; then :
62822 glibcxx_cv_func__modfl_use=yes
62823 else
62824 glibcxx_cv_func__modfl_use=no
62825 fi
62826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62827 ac_ext=c
62828 ac_cpp='$CPP $CPPFLAGS'
62829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62832
62833
62834 fi
62835
62836 fi
62837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62838 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62839
62840 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62841 for ac_func in _modfl
62842 do :
62843 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62844 if test "x$ac_cv_func__modfl" = x""yes; then :
62845 cat >>confdefs.h <<_ACEOF
62846 #define HAVE__MODFL 1
62847 _ACEOF
62848
62849 fi
62850 done
62851
62852 fi
62853 fi
62854
62855
62856
62857
62858
62859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62860 $as_echo_n "checking for powl declaration... " >&6; }
62861 if test x${glibcxx_cv_func_powl_use+set} != xset; then
62862 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62863 $as_echo_n "(cached) " >&6
62864 else
62865
62866
62867 ac_ext=cpp
62868 ac_cpp='$CXXCPP $CPPFLAGS'
62869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62872
62873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62874 /* end confdefs.h. */
62875 #include <math.h>
62876 int
62877 main ()
62878 {
62879 powl(0, 0);
62880 ;
62881 return 0;
62882 }
62883 _ACEOF
62884 if ac_fn_cxx_try_compile "$LINENO"; then :
62885 glibcxx_cv_func_powl_use=yes
62886 else
62887 glibcxx_cv_func_powl_use=no
62888 fi
62889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62890 ac_ext=c
62891 ac_cpp='$CPP $CPPFLAGS'
62892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62895
62896
62897 fi
62898
62899 fi
62900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
62901 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
62902
62903 if test x$glibcxx_cv_func_powl_use = x"yes"; then
62904 for ac_func in powl
62905 do :
62906 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
62907 if test "x$ac_cv_func_powl" = x""yes; then :
62908 cat >>confdefs.h <<_ACEOF
62909 #define HAVE_POWL 1
62910 _ACEOF
62911
62912 fi
62913 done
62914
62915 else
62916
62917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
62918 $as_echo_n "checking for _powl declaration... " >&6; }
62919 if test x${glibcxx_cv_func__powl_use+set} != xset; then
62920 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
62921 $as_echo_n "(cached) " >&6
62922 else
62923
62924
62925 ac_ext=cpp
62926 ac_cpp='$CXXCPP $CPPFLAGS'
62927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62930
62931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62932 /* end confdefs.h. */
62933 #include <math.h>
62934 int
62935 main ()
62936 {
62937 _powl(0, 0);
62938 ;
62939 return 0;
62940 }
62941 _ACEOF
62942 if ac_fn_cxx_try_compile "$LINENO"; then :
62943 glibcxx_cv_func__powl_use=yes
62944 else
62945 glibcxx_cv_func__powl_use=no
62946 fi
62947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62948 ac_ext=c
62949 ac_cpp='$CPP $CPPFLAGS'
62950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62953
62954
62955 fi
62956
62957 fi
62958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
62959 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
62960
62961 if test x$glibcxx_cv_func__powl_use = x"yes"; then
62962 for ac_func in _powl
62963 do :
62964 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
62965 if test "x$ac_cv_func__powl" = x""yes; then :
62966 cat >>confdefs.h <<_ACEOF
62967 #define HAVE__POWL 1
62968 _ACEOF
62969
62970 fi
62971 done
62972
62973 fi
62974 fi
62975
62976
62977
62978
62979
62980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
62981 $as_echo_n "checking for sqrtl declaration... " >&6; }
62982 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
62983 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
62984 $as_echo_n "(cached) " >&6
62985 else
62986
62987
62988 ac_ext=cpp
62989 ac_cpp='$CXXCPP $CPPFLAGS'
62990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62993
62994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62995 /* end confdefs.h. */
62996 #include <math.h>
62997 #ifdef HAVE_IEEEFP_H
62998 #include <ieeefp.h>
62999 #endif
63000
63001 int
63002 main ()
63003 {
63004 sqrtl(0);
63005 ;
63006 return 0;
63007 }
63008 _ACEOF
63009 if ac_fn_cxx_try_compile "$LINENO"; then :
63010 glibcxx_cv_func_sqrtl_use=yes
63011 else
63012 glibcxx_cv_func_sqrtl_use=no
63013 fi
63014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63015 ac_ext=c
63016 ac_cpp='$CPP $CPPFLAGS'
63017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63020
63021
63022 fi
63023
63024 fi
63025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63026 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63027
63028 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63029 for ac_func in sqrtl
63030 do :
63031 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63032 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63033 cat >>confdefs.h <<_ACEOF
63034 #define HAVE_SQRTL 1
63035 _ACEOF
63036
63037 fi
63038 done
63039
63040 else
63041
63042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63043 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63044 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63045 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63046 $as_echo_n "(cached) " >&6
63047 else
63048
63049
63050 ac_ext=cpp
63051 ac_cpp='$CXXCPP $CPPFLAGS'
63052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63055
63056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63057 /* end confdefs.h. */
63058 #include <math.h>
63059 #ifdef HAVE_IEEEFP_H
63060 #include <ieeefp.h>
63061 #endif
63062
63063 int
63064 main ()
63065 {
63066 _sqrtl(0);
63067 ;
63068 return 0;
63069 }
63070 _ACEOF
63071 if ac_fn_cxx_try_compile "$LINENO"; then :
63072 glibcxx_cv_func__sqrtl_use=yes
63073 else
63074 glibcxx_cv_func__sqrtl_use=no
63075 fi
63076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63077 ac_ext=c
63078 ac_cpp='$CPP $CPPFLAGS'
63079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63082
63083
63084 fi
63085
63086 fi
63087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63088 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63089
63090 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63091 for ac_func in _sqrtl
63092 do :
63093 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63094 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63095 cat >>confdefs.h <<_ACEOF
63096 #define HAVE__SQRTL 1
63097 _ACEOF
63098
63099 fi
63100 done
63101
63102 fi
63103 fi
63104
63105
63106
63107
63108
63109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63110 $as_echo_n "checking for sincosl declaration... " >&6; }
63111 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63112 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63113 $as_echo_n "(cached) " >&6
63114 else
63115
63116
63117 ac_ext=cpp
63118 ac_cpp='$CXXCPP $CPPFLAGS'
63119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63122
63123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63124 /* end confdefs.h. */
63125 #include <math.h>
63126 int
63127 main ()
63128 {
63129 sincosl(0, 0, 0);
63130 ;
63131 return 0;
63132 }
63133 _ACEOF
63134 if ac_fn_cxx_try_compile "$LINENO"; then :
63135 glibcxx_cv_func_sincosl_use=yes
63136 else
63137 glibcxx_cv_func_sincosl_use=no
63138 fi
63139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63140 ac_ext=c
63141 ac_cpp='$CPP $CPPFLAGS'
63142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63145
63146
63147 fi
63148
63149 fi
63150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63151 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63152
63153 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63154 for ac_func in sincosl
63155 do :
63156 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63157 if test "x$ac_cv_func_sincosl" = x""yes; then :
63158 cat >>confdefs.h <<_ACEOF
63159 #define HAVE_SINCOSL 1
63160 _ACEOF
63161
63162 fi
63163 done
63164
63165 else
63166
63167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63168 $as_echo_n "checking for _sincosl declaration... " >&6; }
63169 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63170 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63171 $as_echo_n "(cached) " >&6
63172 else
63173
63174
63175 ac_ext=cpp
63176 ac_cpp='$CXXCPP $CPPFLAGS'
63177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63180
63181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63182 /* end confdefs.h. */
63183 #include <math.h>
63184 int
63185 main ()
63186 {
63187 _sincosl(0, 0, 0);
63188 ;
63189 return 0;
63190 }
63191 _ACEOF
63192 if ac_fn_cxx_try_compile "$LINENO"; then :
63193 glibcxx_cv_func__sincosl_use=yes
63194 else
63195 glibcxx_cv_func__sincosl_use=no
63196 fi
63197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63198 ac_ext=c
63199 ac_cpp='$CPP $CPPFLAGS'
63200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63203
63204
63205 fi
63206
63207 fi
63208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63209 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63210
63211 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63212 for ac_func in _sincosl
63213 do :
63214 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63215 if test "x$ac_cv_func__sincosl" = x""yes; then :
63216 cat >>confdefs.h <<_ACEOF
63217 #define HAVE__SINCOSL 1
63218 _ACEOF
63219
63220 fi
63221 done
63222
63223 fi
63224 fi
63225
63226
63227
63228
63229
63230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63231 $as_echo_n "checking for finitel declaration... " >&6; }
63232 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63233 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63234 $as_echo_n "(cached) " >&6
63235 else
63236
63237
63238 ac_ext=cpp
63239 ac_cpp='$CXXCPP $CPPFLAGS'
63240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63243
63244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63245 /* end confdefs.h. */
63246 #include <math.h>
63247 #ifdef HAVE_IEEEFP_H
63248 #include <ieeefp.h>
63249 #endif
63250
63251 int
63252 main ()
63253 {
63254 finitel(0);
63255 ;
63256 return 0;
63257 }
63258 _ACEOF
63259 if ac_fn_cxx_try_compile "$LINENO"; then :
63260 glibcxx_cv_func_finitel_use=yes
63261 else
63262 glibcxx_cv_func_finitel_use=no
63263 fi
63264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63265 ac_ext=c
63266 ac_cpp='$CPP $CPPFLAGS'
63267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63270
63271
63272 fi
63273
63274 fi
63275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63276 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63277
63278 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63279 for ac_func in finitel
63280 do :
63281 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63282 if test "x$ac_cv_func_finitel" = x""yes; then :
63283 cat >>confdefs.h <<_ACEOF
63284 #define HAVE_FINITEL 1
63285 _ACEOF
63286
63287 fi
63288 done
63289
63290 else
63291
63292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63293 $as_echo_n "checking for _finitel declaration... " >&6; }
63294 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63295 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63296 $as_echo_n "(cached) " >&6
63297 else
63298
63299
63300 ac_ext=cpp
63301 ac_cpp='$CXXCPP $CPPFLAGS'
63302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63305
63306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63307 /* end confdefs.h. */
63308 #include <math.h>
63309 #ifdef HAVE_IEEEFP_H
63310 #include <ieeefp.h>
63311 #endif
63312
63313 int
63314 main ()
63315 {
63316 _finitel(0);
63317 ;
63318 return 0;
63319 }
63320 _ACEOF
63321 if ac_fn_cxx_try_compile "$LINENO"; then :
63322 glibcxx_cv_func__finitel_use=yes
63323 else
63324 glibcxx_cv_func__finitel_use=no
63325 fi
63326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63327 ac_ext=c
63328 ac_cpp='$CPP $CPPFLAGS'
63329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63332
63333
63334 fi
63335
63336 fi
63337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63338 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63339
63340 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63341 for ac_func in _finitel
63342 do :
63343 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63344 if test "x$ac_cv_func__finitel" = x""yes; then :
63345 cat >>confdefs.h <<_ACEOF
63346 #define HAVE__FINITEL 1
63347 _ACEOF
63348
63349 fi
63350 done
63351
63352 fi
63353 fi
63354
63355
63356
63357
63358 LIBS="$ac_save_LIBS"
63359 CXXFLAGS="$ac_save_CXXFLAGS"
63360
63361
63362 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63363 ac_save_CXXFLAGS="$CXXFLAGS"
63364 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63365
63366
63367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63368 $as_echo_n "checking for strtold declaration... " >&6; }
63369 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63370 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63371 $as_echo_n "(cached) " >&6
63372 else
63373
63374
63375 ac_ext=cpp
63376 ac_cpp='$CXXCPP $CPPFLAGS'
63377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63380
63381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63382 /* end confdefs.h. */
63383 #include <stdlib.h>
63384 int
63385 main ()
63386 {
63387 strtold(0, 0);
63388 ;
63389 return 0;
63390 }
63391 _ACEOF
63392 if ac_fn_cxx_try_compile "$LINENO"; then :
63393 glibcxx_cv_func_strtold_use=yes
63394 else
63395 glibcxx_cv_func_strtold_use=no
63396 fi
63397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63398 ac_ext=c
63399 ac_cpp='$CPP $CPPFLAGS'
63400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63403
63404
63405 fi
63406
63407 fi
63408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63409 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63410 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63411 for ac_func in strtold
63412 do :
63413 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63414 if test "x$ac_cv_func_strtold" = x""yes; then :
63415 cat >>confdefs.h <<_ACEOF
63416 #define HAVE_STRTOLD 1
63417 _ACEOF
63418
63419 fi
63420 done
63421
63422 fi
63423
63424
63425
63426
63427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63428 $as_echo_n "checking for strtof declaration... " >&6; }
63429 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63430 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63431 $as_echo_n "(cached) " >&6
63432 else
63433
63434
63435 ac_ext=cpp
63436 ac_cpp='$CXXCPP $CPPFLAGS'
63437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63440
63441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63442 /* end confdefs.h. */
63443 #include <stdlib.h>
63444 int
63445 main ()
63446 {
63447 strtof(0, 0);
63448 ;
63449 return 0;
63450 }
63451 _ACEOF
63452 if ac_fn_cxx_try_compile "$LINENO"; then :
63453 glibcxx_cv_func_strtof_use=yes
63454 else
63455 glibcxx_cv_func_strtof_use=no
63456 fi
63457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63458 ac_ext=c
63459 ac_cpp='$CPP $CPPFLAGS'
63460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63463
63464
63465 fi
63466
63467 fi
63468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63469 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63470 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63471 for ac_func in strtof
63472 do :
63473 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63474 if test "x$ac_cv_func_strtof" = x""yes; then :
63475 cat >>confdefs.h <<_ACEOF
63476 #define HAVE_STRTOF 1
63477 _ACEOF
63478
63479 fi
63480 done
63481
63482 fi
63483
63484
63485
63486
63487 CXXFLAGS="$ac_save_CXXFLAGS"
63488
63489 ;;
63490 *-solaris*)
63491 case "$target" in
63492 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63493
63494 # If we're not using GNU ld, then there's no point in even trying these
63495 # tests. Check for that first. We should have already tested for gld
63496 # by now (in libtool), but require it now just to be safe...
63497 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63498 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63499
63500
63501
63502 # The name set by libtool depends on the version of libtool. Shame on us
63503 # for depending on an impl detail, but c'est la vie. Older versions used
63504 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63505 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63506 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63507 # set (hence we're using an older libtool), then set it.
63508 if test x${with_gnu_ld+set} != xset; then
63509 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63510 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63511 with_gnu_ld=no
63512 else
63513 with_gnu_ld=$ac_cv_prog_gnu_ld
63514 fi
63515 fi
63516
63517 # Start by getting the version number. I think the libtool test already
63518 # does some of this, but throws away the result.
63519 glibcxx_ld_is_gold=no
63520 if test x"$with_gnu_ld" = x"yes"; then
63521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63522 $as_echo_n "checking for ld version... " >&6; }
63523
63524 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63525 glibcxx_ld_is_gold=yes
63526 fi
63527 ldver=`$LD --version 2>/dev/null |
63528 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'`
63529
63530 glibcxx_gnu_ld_version=`echo $ldver | \
63531 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63533 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63534 fi
63535
63536 # Set --gc-sections.
63537 glibcxx_have_gc_sections=no
63538 if test "$glibcxx_ld_is_gold" = "yes"; then
63539 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63540 glibcxx_have_gc_sections=yes
63541 fi
63542 else
63543 glibcxx_gcsections_min_ld=21602
63544 if test x"$with_gnu_ld" = x"yes" &&
63545 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63546 glibcxx_have_gc_sections=yes
63547 fi
63548 fi
63549 if test "$glibcxx_have_gc_sections" = "yes"; then
63550 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63551 # NB: This flag only works reliably after 2.16.1. Configure tests
63552 # for this are difficult, so hard wire a value that should work.
63553
63554 ac_test_CFLAGS="${CFLAGS+set}"
63555 ac_save_CFLAGS="$CFLAGS"
63556 CFLAGS='-Wl,--gc-sections'
63557
63558 # Check for -Wl,--gc-sections
63559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63560 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63561 if test x$gcc_no_link = xyes; then
63562 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63563 fi
63564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63565 /* end confdefs.h. */
63566 int one(void) { return 1; }
63567 int two(void) { return 2; }
63568
63569 int
63570 main ()
63571 {
63572 two();
63573 ;
63574 return 0;
63575 }
63576 _ACEOF
63577 if ac_fn_c_try_link "$LINENO"; then :
63578 ac_gcsections=yes
63579 else
63580 ac_gcsections=no
63581 fi
63582 rm -f core conftest.err conftest.$ac_objext \
63583 conftest$ac_exeext conftest.$ac_ext
63584 if test "$ac_gcsections" = "yes"; then
63585 rm -f conftest.c
63586 touch conftest.c
63587 if $CC -c conftest.c; then
63588 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63589 grep "Warning: gc-sections option ignored" > /dev/null; then
63590 ac_gcsections=no
63591 fi
63592 fi
63593 rm -f conftest.c conftest.o conftest
63594 fi
63595 if test "$ac_gcsections" = "yes"; then
63596 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63597 fi
63598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63599 $as_echo "$ac_gcsections" >&6; }
63600
63601 if test "$ac_test_CFLAGS" = set; then
63602 CFLAGS="$ac_save_CFLAGS"
63603 else
63604 # this is the suspicious part
63605 CFLAGS=''
63606 fi
63607 fi
63608
63609 # Set -z,relro.
63610 # Note this is only for shared objects.
63611 ac_ld_relro=no
63612 if test x"$with_gnu_ld" = x"yes"; then
63613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63614 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63615 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63616 if test -n "$cxx_z_relo"; then
63617 OPT_LDFLAGS="-Wl,-z,relro"
63618 ac_ld_relro=yes
63619 fi
63620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63621 $as_echo "$ac_ld_relro" >&6; }
63622 fi
63623
63624 # Set linker optimization flags.
63625 if test x"$with_gnu_ld" = x"yes"; then
63626 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63627 fi
63628
63629
63630
63631
63632 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63633
63634 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63635
63636 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63637
63638 # All of the dependencies for wide character support are here, so
63639 # turn it on.
63640 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63641
63642 ;;
63643 esac
63644 case "$target" in
63645 *-*-solaris2.10)
63646 # These two C99 functions are present only in Solaris >= 10
63647 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63648
63649 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63650
63651 ;;
63652 esac
63653 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63654
63655 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63656
63657 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63658
63659 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63660
63661 ;;
63662 *-tpf)
63663 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63664
63665
63666 # If we're not using GNU ld, then there's no point in even trying these
63667 # tests. Check for that first. We should have already tested for gld
63668 # by now (in libtool), but require it now just to be safe...
63669 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63670 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63671
63672
63673
63674 # The name set by libtool depends on the version of libtool. Shame on us
63675 # for depending on an impl detail, but c'est la vie. Older versions used
63676 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63677 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63678 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63679 # set (hence we're using an older libtool), then set it.
63680 if test x${with_gnu_ld+set} != xset; then
63681 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63682 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63683 with_gnu_ld=no
63684 else
63685 with_gnu_ld=$ac_cv_prog_gnu_ld
63686 fi
63687 fi
63688
63689 # Start by getting the version number. I think the libtool test already
63690 # does some of this, but throws away the result.
63691 glibcxx_ld_is_gold=no
63692 if test x"$with_gnu_ld" = x"yes"; then
63693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63694 $as_echo_n "checking for ld version... " >&6; }
63695
63696 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63697 glibcxx_ld_is_gold=yes
63698 fi
63699 ldver=`$LD --version 2>/dev/null |
63700 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'`
63701
63702 glibcxx_gnu_ld_version=`echo $ldver | \
63703 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63705 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63706 fi
63707
63708 # Set --gc-sections.
63709 glibcxx_have_gc_sections=no
63710 if test "$glibcxx_ld_is_gold" = "yes"; then
63711 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63712 glibcxx_have_gc_sections=yes
63713 fi
63714 else
63715 glibcxx_gcsections_min_ld=21602
63716 if test x"$with_gnu_ld" = x"yes" &&
63717 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63718 glibcxx_have_gc_sections=yes
63719 fi
63720 fi
63721 if test "$glibcxx_have_gc_sections" = "yes"; then
63722 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63723 # NB: This flag only works reliably after 2.16.1. Configure tests
63724 # for this are difficult, so hard wire a value that should work.
63725
63726 ac_test_CFLAGS="${CFLAGS+set}"
63727 ac_save_CFLAGS="$CFLAGS"
63728 CFLAGS='-Wl,--gc-sections'
63729
63730 # Check for -Wl,--gc-sections
63731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63732 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63733 if test x$gcc_no_link = xyes; then
63734 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63735 fi
63736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63737 /* end confdefs.h. */
63738 int one(void) { return 1; }
63739 int two(void) { return 2; }
63740
63741 int
63742 main ()
63743 {
63744 two();
63745 ;
63746 return 0;
63747 }
63748 _ACEOF
63749 if ac_fn_c_try_link "$LINENO"; then :
63750 ac_gcsections=yes
63751 else
63752 ac_gcsections=no
63753 fi
63754 rm -f core conftest.err conftest.$ac_objext \
63755 conftest$ac_exeext conftest.$ac_ext
63756 if test "$ac_gcsections" = "yes"; then
63757 rm -f conftest.c
63758 touch conftest.c
63759 if $CC -c conftest.c; then
63760 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63761 grep "Warning: gc-sections option ignored" > /dev/null; then
63762 ac_gcsections=no
63763 fi
63764 fi
63765 rm -f conftest.c conftest.o conftest
63766 fi
63767 if test "$ac_gcsections" = "yes"; then
63768 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63769 fi
63770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63771 $as_echo "$ac_gcsections" >&6; }
63772
63773 if test "$ac_test_CFLAGS" = set; then
63774 CFLAGS="$ac_save_CFLAGS"
63775 else
63776 # this is the suspicious part
63777 CFLAGS=''
63778 fi
63779 fi
63780
63781 # Set -z,relro.
63782 # Note this is only for shared objects.
63783 ac_ld_relro=no
63784 if test x"$with_gnu_ld" = x"yes"; then
63785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63786 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63787 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63788 if test -n "$cxx_z_relo"; then
63789 OPT_LDFLAGS="-Wl,-z,relro"
63790 ac_ld_relro=yes
63791 fi
63792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63793 $as_echo "$ac_ld_relro" >&6; }
63794 fi
63795
63796 # Set linker optimization flags.
63797 if test x"$with_gnu_ld" = x"yes"; then
63798 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63799 fi
63800
63801
63802
63803
63804 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63805
63806 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63807
63808 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63809
63810 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63811
63812 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63813
63814 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63815
63816 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63817
63818 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63819
63820 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63821
63822 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63823
63824 if test x"long_double_math_on_this_cpu" = x"yes"; then
63825 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63826
63827 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63828
63829 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63830
63831 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63832
63833 fi
63834 ;;
63835 *-vxworks)
63836 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
63837
63838 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
63839
63840 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
63841
63842 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
63843
63844 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
63845
63846 $as_echo "#define HAVE_COSF 1" >>confdefs.h
63847
63848 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
63849
63850 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
63851
63852 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
63853
63854 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
63855
63856 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
63857
63858 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63859
63860 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
63861
63862 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
63863
63864 $as_echo "#define HAVE_POWF 1" >>confdefs.h
63865
63866 $as_echo "#define HAVE_SINF 1" >>confdefs.h
63867
63868 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
63869
63870 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
63871
63872 $as_echo "#define HAVE_TANF 1" >>confdefs.h
63873
63874 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
63875
63876 ;;
63877 *)
63878 as_fn_error "No support for this host/target combination." "$LINENO" 5
63879 ;;
63880 esac
63881
63882 fi
63883
63884 # At some point, we should differentiate between architectures
63885 # like x86, which have long double versions, and alpha/powerpc/etc.,
63886 # which don't. For the time being, punt.
63887 if test x"long_double_math_on_this_cpu" = x"yes"; then
63888 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
63889
63890 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
63891
63892 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
63893
63894 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
63895
63896 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
63897
63898 $as_echo "#define HAVE_COSL 1" >>confdefs.h
63899
63900 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
63901
63902 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
63903
63904 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
63905
63906 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
63907
63908 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
63909
63910 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
63911
63912 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
63913
63914 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
63915
63916 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
63917
63918 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
63919
63920 $as_echo "#define HAVE_POWL 1" >>confdefs.h
63921
63922 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
63923
63924 $as_echo "#define HAVE_SINL 1" >>confdefs.h
63925
63926 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
63927
63928 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
63929
63930 $as_echo "#define HAVE_TANL 1" >>confdefs.h
63931
63932 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
63933
63934 fi
63935 fi
63936
63937 # Check for _Unwind_GetIPInfo.
63938
63939
63940 # Check whether --with-system-libunwind was given.
63941 if test "${with_system_libunwind+set}" = set; then :
63942 withval=$with_system_libunwind;
63943 fi
63944
63945 # If system-libunwind was not specifically set, pick a default setting.
63946 if test x$with_system_libunwind = x; then
63947 case ${target} in
63948 ia64-*-hpux*) with_system_libunwind=yes ;;
63949 *) with_system_libunwind=no ;;
63950 esac
63951 fi
63952 # Based on system-libunwind and target, do we have ipinfo?
63953 if test x$with_system_libunwind = xyes; then
63954 case ${target} in
63955 ia64-*-*) have_unwind_getipinfo=no ;;
63956 *) have_unwind_getipinfo=yes ;;
63957 esac
63958 else
63959 # Darwin before version 9 does not have _Unwind_GetIPInfo.
63960
63961 case ${target} in
63962 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
63963 *) have_unwind_getipinfo=yes ;;
63964 esac
63965
63966 fi
63967
63968 if test x$have_unwind_getipinfo = xyes; then
63969
63970 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
63971
63972 fi
63973
63974
63975 # Check whether --enable-linux-futex was given.
63976 if test "${enable_linux_futex+set}" = set; then :
63977 enableval=$enable_linux_futex;
63978 case "$enableval" in
63979 yes|no|default) ;;
63980 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
63981 esac
63982
63983 else
63984 enable_linux_futex=default
63985 fi
63986
63987
63988 case "$target" in
63989 *-linux*)
63990 case "$enable_linux_futex" in
63991 default)
63992 # If headers don't have gettid/futex syscalls definition, then
63993 # default to no, otherwise there will be compile time failures.
63994 # Otherwise, default to yes. If we don't detect we are
63995 # compiled/linked against NPTL and not cross-compiling, check
63996 # if programs are run by default against NPTL and if not, issue
63997 # a warning.
63998 enable_linux_futex=no
63999 if test x$gcc_no_link = xyes; then
64000 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64001 fi
64002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64003 /* end confdefs.h. */
64004 #include <sys/syscall.h>
64005 int lk;
64006 int
64007 main ()
64008 {
64009 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64010 ;
64011 return 0;
64012 }
64013 _ACEOF
64014 if ac_fn_c_try_link "$LINENO"; then :
64015 save_LIBS="$LIBS"
64016 LIBS="-lpthread $LIBS"
64017 if test x$gcc_no_link = xyes; then
64018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64019 fi
64020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64021 /* end confdefs.h. */
64022 #ifndef _GNU_SOURCE
64023 #define _GNU_SOURCE 1
64024 #endif
64025 #include <pthread.h>
64026 pthread_t th; void *status;
64027 int
64028 main ()
64029 {
64030 pthread_tryjoin_np (th, &status);
64031 ;
64032 return 0;
64033 }
64034 _ACEOF
64035 if ac_fn_c_try_link "$LINENO"; then :
64036 enable_linux_futex=yes
64037 else
64038 if test x$cross_compiling = xno; then
64039 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
64040 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
64041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
64042 If so, please configure with --disable-linux-futex" >&5
64043 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
64044 If so, please configure with --disable-linux-futex" >&2;}
64045 fi
64046 fi
64047 enable_linux_futex=yes
64048 fi
64049 rm -f core conftest.err conftest.$ac_objext \
64050 conftest$ac_exeext conftest.$ac_ext
64051 LIBS="$save_LIBS"
64052 fi
64053 rm -f core conftest.err conftest.$ac_objext \
64054 conftest$ac_exeext conftest.$ac_ext
64055 ;;
64056 yes)
64057 if test x$gcc_no_link = xyes; then
64058 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64059 fi
64060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64061 /* end confdefs.h. */
64062 #include <sys/syscall.h>
64063 int lk;
64064 int
64065 main ()
64066 {
64067 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64068 ;
64069 return 0;
64070 }
64071 _ACEOF
64072 if ac_fn_c_try_link "$LINENO"; then :
64073
64074 else
64075 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
64076 fi
64077 rm -f core conftest.err conftest.$ac_objext \
64078 conftest$ac_exeext conftest.$ac_ext
64079 ;;
64080 esac
64081 ;;
64082 *)
64083 enable_linux_futex=no
64084 ;;
64085 esac
64086 if test x$enable_linux_futex = xyes; then
64087
64088 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
64089
64090 fi
64091
64092
64093
64094
64095 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
64096
64097 acx_cv_header_stdint=stddef.h
64098 acx_cv_header_stdint_kind="(already complete)"
64099 for i in stdint.h $inttype_headers; do
64100 unset ac_cv_type_uintptr_t
64101 unset ac_cv_type_uintmax_t
64102 unset ac_cv_type_int_least32_t
64103 unset ac_cv_type_int_fast32_t
64104 unset ac_cv_type_uint64_t
64105 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
64106 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
64107 #include <$i>
64108 "
64109 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
64110 acx_cv_header_stdint=$i
64111 else
64112 continue
64113 fi
64114
64115 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64116 #include <$i>
64117 "
64118 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64119
64120 else
64121 acx_cv_header_stdint_kind="(mostly complete)"
64122 fi
64123
64124 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
64125 #include <$i>
64126 "
64127 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
64128
64129 else
64130 acx_cv_header_stdint_kind="(mostly complete)"
64131 fi
64132
64133 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
64134 #include <$i>
64135 "
64136 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
64137
64138 else
64139 acx_cv_header_stdint_kind="(mostly complete)"
64140 fi
64141
64142 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64143 #include <$i>
64144 "
64145 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64146
64147 else
64148 acx_cv_header_stdint_kind="(lacks uint64_t)"
64149 fi
64150
64151 break
64152 done
64153 if test "$acx_cv_header_stdint" = stddef.h; then
64154 acx_cv_header_stdint_kind="(lacks uintmax_t)"
64155 for i in stdint.h $inttype_headers; do
64156 unset ac_cv_type_uintptr_t
64157 unset ac_cv_type_uint32_t
64158 unset ac_cv_type_uint64_t
64159 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
64160 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
64161 #include <$i>
64162 "
64163 if test "x$ac_cv_type_uint32_t" = x""yes; then :
64164 acx_cv_header_stdint=$i
64165 else
64166 continue
64167 fi
64168
64169 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64170 #include <$i>
64171 "
64172 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64173
64174 fi
64175
64176 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64177 #include <$i>
64178 "
64179 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64180
64181 fi
64182
64183 break
64184 done
64185 fi
64186 if test "$acx_cv_header_stdint" = stddef.h; then
64187 acx_cv_header_stdint_kind="(u_intXX_t style)"
64188 for i in sys/types.h $inttype_headers; do
64189 unset ac_cv_type_u_int32_t
64190 unset ac_cv_type_u_int64_t
64191 $as_echo_n "looking for u_intXX_t types in $i, " >&6
64192 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
64193 #include <$i>
64194 "
64195 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
64196 acx_cv_header_stdint=$i
64197 else
64198 continue
64199 fi
64200
64201 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
64202 #include <$i>
64203 "
64204 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
64205
64206 fi
64207
64208 break
64209 done
64210 fi
64211 if test "$acx_cv_header_stdint" = stddef.h; then
64212 acx_cv_header_stdint_kind="(using manual detection)"
64213 fi
64214
64215 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
64216 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
64217 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
64218 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
64219 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
64220
64221 # ----------------- Summarize what we found so far
64222
64223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
64224 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
64225
64226 case `$as_basename -- include/gstdint.h ||
64227 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
64228 Xinclude/gstdint.h : 'X\(//\)$' \| \
64229 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
64230 $as_echo X/include/gstdint.h |
64231 sed '/^.*\/\([^/][^/]*\)\/*$/{
64232 s//\1/
64233 q
64234 }
64235 /^X\/\(\/\/\)$/{
64236 s//\1/
64237 q
64238 }
64239 /^X\/\(\/\).*/{
64240 s//\1/
64241 q
64242 }
64243 s/.*/./; q'` in
64244 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64245 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64246 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64247 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64248 *) ;;
64249 esac
64250
64251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
64252 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
64253
64254 # ----------------- done included file, check C basic types --------
64255
64256 # Lacking an uintptr_t? Test size of void *
64257 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
64258 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
64259 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64260 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64261 # This bug is HP SR number 8606223364.
64262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
64263 $as_echo_n "checking size of void *... " >&6; }
64264 if test "${ac_cv_sizeof_void_p+set}" = set; then :
64265 $as_echo_n "(cached) " >&6
64266 else
64267 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
64268
64269 else
64270 if test "$ac_cv_type_void_p" = yes; then
64271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64273 { as_fn_set_status 77
64274 as_fn_error "cannot compute sizeof (void *)
64275 See \`config.log' for more details." "$LINENO" 5; }; }
64276 else
64277 ac_cv_sizeof_void_p=0
64278 fi
64279 fi
64280
64281 fi
64282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
64283 $as_echo "$ac_cv_sizeof_void_p" >&6; }
64284
64285
64286
64287 cat >>confdefs.h <<_ACEOF
64288 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
64289 _ACEOF
64290
64291 ;;
64292 esac
64293
64294 # Lacking an uint64_t? Test size of long
64295 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
64296 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
64297 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64298 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64299 # This bug is HP SR number 8606223364.
64300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
64301 $as_echo_n "checking size of long... " >&6; }
64302 if test "${ac_cv_sizeof_long+set}" = set; then :
64303 $as_echo_n "(cached) " >&6
64304 else
64305 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
64306
64307 else
64308 if test "$ac_cv_type_long" = yes; then
64309 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64311 { as_fn_set_status 77
64312 as_fn_error "cannot compute sizeof (long)
64313 See \`config.log' for more details." "$LINENO" 5; }; }
64314 else
64315 ac_cv_sizeof_long=0
64316 fi
64317 fi
64318
64319 fi
64320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
64321 $as_echo "$ac_cv_sizeof_long" >&6; }
64322
64323
64324
64325 cat >>confdefs.h <<_ACEOF
64326 #define SIZEOF_LONG $ac_cv_sizeof_long
64327 _ACEOF
64328
64329 ;;
64330 esac
64331
64332 if test $acx_cv_header_stdint = stddef.h; then
64333 # Lacking a good header? Test size of everything and deduce all types.
64334 # The cast to long int works around a bug in the HP C Compiler
64335 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64336 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64337 # This bug is HP SR number 8606223364.
64338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
64339 $as_echo_n "checking size of int... " >&6; }
64340 if test "${ac_cv_sizeof_int+set}" = set; then :
64341 $as_echo_n "(cached) " >&6
64342 else
64343 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
64344
64345 else
64346 if test "$ac_cv_type_int" = yes; then
64347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64349 { as_fn_set_status 77
64350 as_fn_error "cannot compute sizeof (int)
64351 See \`config.log' for more details." "$LINENO" 5; }; }
64352 else
64353 ac_cv_sizeof_int=0
64354 fi
64355 fi
64356
64357 fi
64358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
64359 $as_echo "$ac_cv_sizeof_int" >&6; }
64360
64361
64362
64363 cat >>confdefs.h <<_ACEOF
64364 #define SIZEOF_INT $ac_cv_sizeof_int
64365 _ACEOF
64366
64367
64368 # The cast to long int works around a bug in the HP C Compiler
64369 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64370 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64371 # This bug is HP SR number 8606223364.
64372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
64373 $as_echo_n "checking size of short... " >&6; }
64374 if test "${ac_cv_sizeof_short+set}" = set; then :
64375 $as_echo_n "(cached) " >&6
64376 else
64377 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
64378
64379 else
64380 if test "$ac_cv_type_short" = yes; then
64381 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64383 { as_fn_set_status 77
64384 as_fn_error "cannot compute sizeof (short)
64385 See \`config.log' for more details." "$LINENO" 5; }; }
64386 else
64387 ac_cv_sizeof_short=0
64388 fi
64389 fi
64390
64391 fi
64392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
64393 $as_echo "$ac_cv_sizeof_short" >&6; }
64394
64395
64396
64397 cat >>confdefs.h <<_ACEOF
64398 #define SIZEOF_SHORT $ac_cv_sizeof_short
64399 _ACEOF
64400
64401
64402 # The cast to long int works around a bug in the HP C Compiler
64403 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64404 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64405 # This bug is HP SR number 8606223364.
64406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
64407 $as_echo_n "checking size of char... " >&6; }
64408 if test "${ac_cv_sizeof_char+set}" = set; then :
64409 $as_echo_n "(cached) " >&6
64410 else
64411 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
64412
64413 else
64414 if test "$ac_cv_type_char" = yes; then
64415 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64417 { as_fn_set_status 77
64418 as_fn_error "cannot compute sizeof (char)
64419 See \`config.log' for more details." "$LINENO" 5; }; }
64420 else
64421 ac_cv_sizeof_char=0
64422 fi
64423 fi
64424
64425 fi
64426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
64427 $as_echo "$ac_cv_sizeof_char" >&6; }
64428
64429
64430
64431 cat >>confdefs.h <<_ACEOF
64432 #define SIZEOF_CHAR $ac_cv_sizeof_char
64433 _ACEOF
64434
64435
64436
64437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
64438 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
64439 case "$ac_cv_sizeof_char" in
64440 1) acx_cv_type_int8_t=char ;;
64441 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
64442 esac
64443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
64444 $as_echo "$acx_cv_type_int8_t" >&6; }
64445
64446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
64447 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
64448 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
64449 2:*) acx_cv_type_int16_t=int ;;
64450 *:2) acx_cv_type_int16_t=short ;;
64451 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
64452 esac
64453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64454 $as_echo "$acx_cv_type_int16_t" >&6; }
64455
64456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64457 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64458 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64459 4:*) acx_cv_type_int32_t=int ;;
64460 *:4) acx_cv_type_int32_t=long ;;
64461 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64462 esac
64463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64464 $as_echo "$acx_cv_type_int32_t" >&6; }
64465 fi
64466
64467 # These tests are here to make the output prettier
64468
64469 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64470 case "$ac_cv_sizeof_long" in
64471 8) acx_cv_type_int64_t=long ;;
64472 esac
64473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64474 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64476 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64477 fi
64478
64479 # Now we can use the above types
64480
64481 if test "$ac_cv_type_uintptr_t" != yes; then
64482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64483 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64484 case $ac_cv_sizeof_void_p in
64485 2) acx_cv_type_intptr_t=int16_t ;;
64486 4) acx_cv_type_intptr_t=int32_t ;;
64487 8) acx_cv_type_intptr_t=int64_t ;;
64488 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64489 esac
64490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64491 $as_echo "$acx_cv_type_intptr_t" >&6; }
64492 fi
64493
64494 # ----------------- done all checks, emit header -------------
64495 ac_config_commands="$ac_config_commands include/gstdint.h"
64496
64497
64498
64499
64500
64501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64502 $as_echo_n "checking for GNU c++filt... " >&6; }
64503 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64504 $as_echo_n "(cached) " >&6
64505 else
64506 if test -z "$CXXFILT"; then
64507 ac_path_CXXFILT_found=false
64508 # Loop through the user's path and test for each of PROGNAME-LIST
64509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64510 for as_dir in $PATH
64511 do
64512 IFS=$as_save_IFS
64513 test -z "$as_dir" && as_dir=.
64514 for ac_prog in c++filt gc++filt; do
64515 for ac_exec_ext in '' $ac_executable_extensions; do
64516 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64517 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64518 # Check for GNU $ac_path_CXXFILT
64519 case `"$ac_path_CXXFILT" --version 2>&1` in
64520 *GNU*)
64521 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64522 esac
64523
64524 $ac_path_CXXFILT_found && break 3
64525 done
64526 done
64527 done
64528 IFS=$as_save_IFS
64529 if test -z "$ac_cv_path_CXXFILT"; then
64530 :
64531 fi
64532 else
64533 ac_cv_path_CXXFILT=$CXXFILT
64534 fi
64535
64536 fi
64537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64538 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64539 CXXFILT=$ac_cv_path_CXXFILT
64540
64541
64542
64543 # Check whether --enable-symvers was given.
64544 if test "${enable_symvers+set}" = set; then :
64545 enableval=$enable_symvers;
64546 case "$enableval" in
64547 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64548 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64549 esac
64550
64551 else
64552 enable_symvers=yes
64553 fi
64554
64555
64556
64557 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64558 # don't know enough about $LD to do tricks...
64559
64560 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64561 # with extern "C++" in version scripts.
64562
64563
64564 # Turn a 'yes' into a suitable default.
64565 if test x$enable_symvers = xyes ; then
64566 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64567 enable_symvers=no
64568 else
64569 if test $with_gnu_ld = yes ; then
64570 case ${target_os} in
64571 hpux*)
64572 enable_symvers=no ;;
64573 *)
64574 enable_symvers=gnu ;;
64575 esac
64576 else
64577 case ${target_os} in
64578 darwin*)
64579 enable_symvers=darwin ;;
64580 # Sun symbol versioning exists since Solaris 2.5.
64581 solaris2.[5-9]* | solaris2.1[0-9]*)
64582 # make_sunver.pl needs GNU c++filt to support extern "C++" in
64583 # version scripts, so disable symbol versioning if none can be
64584 # found.
64585 if test -z "$ac_cv_path_CXXFILT"; then
64586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64587 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
64589 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
64590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64591 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64592 enable_symvers=no
64593 else
64594 enable_symvers=sun
64595 fi
64596 ;;
64597 *)
64598 enable_symvers=no ;;
64599 esac
64600 fi
64601 fi
64602 fi
64603
64604 # Check to see if 'darwin' or 'darwin-export' can win.
64605 if test x$enable_symvers = xdarwin-export ; then
64606 enable_symvers=darwin
64607 fi
64608
64609 # Check if 'sun' was requested on non-Solaris 2 platforms.
64610 if test x$enable_symvers = xsun ; then
64611 case ${target_os} in
64612 solaris2*)
64613 # All fine.
64614 ;;
64615 *)
64616 # Unlikely to work.
64617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64618 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64620 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64622 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64623 enable_symvers=no
64624 ;;
64625 esac
64626 fi
64627
64628 # Check to see if 'gnu' can win.
64629 if test $enable_symvers = gnu ||
64630 test $enable_symvers = gnu-versioned-namespace ||
64631 test $enable_symvers = sun; then
64632 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64634 $as_echo_n "checking for shared libgcc... " >&6; }
64635 ac_save_CFLAGS="$CFLAGS"
64636 CFLAGS=' -lgcc_s'
64637 if test x$gcc_no_link = xyes; then
64638 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64639 fi
64640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64641 /* end confdefs.h. */
64642
64643 int
64644 main ()
64645 {
64646 return 0;
64647 ;
64648 return 0;
64649 }
64650 _ACEOF
64651 if ac_fn_c_try_link "$LINENO"; then :
64652 glibcxx_shared_libgcc=yes
64653 else
64654 glibcxx_shared_libgcc=no
64655 fi
64656 rm -f core conftest.err conftest.$ac_objext \
64657 conftest$ac_exeext conftest.$ac_ext
64658 CFLAGS="$ac_save_CFLAGS"
64659 if test $glibcxx_shared_libgcc = no; then
64660 cat > conftest.c <<EOF
64661 int main (void) { return 0; }
64662 EOF
64663 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64664 -shared -shared-libgcc -o conftest.so \
64665 conftest.c -v 2>&1 >/dev/null \
64666 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64667 rm -f conftest.c conftest.so
64668 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64669 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64670 if test x$gcc_no_link = xyes; then
64671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64672 fi
64673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64674 /* end confdefs.h. */
64675
64676 int
64677 main ()
64678 {
64679 return 0;
64680 ;
64681 return 0;
64682 }
64683 _ACEOF
64684 if ac_fn_c_try_link "$LINENO"; then :
64685 glibcxx_shared_libgcc=yes
64686 fi
64687 rm -f core conftest.err conftest.$ac_objext \
64688 conftest$ac_exeext conftest.$ac_ext
64689 CFLAGS="$ac_save_CFLAGS"
64690 fi
64691 fi
64692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64693 $as_echo "$glibcxx_shared_libgcc" >&6; }
64694
64695 # For GNU ld, we need at least this version. The format is described in
64696 # GLIBCXX_CHECK_LINKER_FEATURES above.
64697 glibcxx_min_gnu_ld_version=21400
64698
64699 # If no shared libgcc, can't win.
64700 if test $glibcxx_shared_libgcc != yes; then
64701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64702 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64704 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64706 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64707 enable_symvers=no
64708 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64709 : All interesting versions of Sun ld support sun style symbol versioning.
64710 elif test $with_gnu_ld != yes ; then
64711 # just fail for now
64712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64713 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64715 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64717 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64718 enable_symvers=no
64719 elif test $glibcxx_ld_is_gold = yes ; then
64720 : All versions of gold support symbol versioning.
64721 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64722 # The right tools, the right setup, but too old. Fallbacks?
64723 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64724 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64726 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64728 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64730 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64732 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64733 enable_symvers=no
64734 fi
64735 fi
64736
64737 # For libtool versioning info, format is CURRENT:REVISION:AGE
64738 libtool_VERSION=6:17:0
64739
64740 # Everything parsed; figure out what files and settings to use.
64741 case $enable_symvers in
64742 no)
64743 SYMVER_FILE=config/abi/pre/none.ver
64744 ;;
64745 gnu)
64746 SYMVER_FILE=config/abi/pre/gnu.ver
64747
64748 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64749
64750 ;;
64751 gnu-versioned-namespace)
64752 libtool_VERSION=7:0:0
64753 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64754
64755 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64756
64757 ;;
64758 darwin)
64759 SYMVER_FILE=config/abi/pre/gnu.ver
64760
64761 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64762
64763 ;;
64764 sun)
64765 SYMVER_FILE=config/abi/pre/gnu.ver
64766
64767 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64768
64769 ;;
64770 esac
64771
64772 if test x$enable_symvers != xno ; then
64773
64774 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64775
64776 fi
64777
64778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64779 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64780 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64781 $as_echo_n "(cached) " >&6
64782 else
64783
64784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64785 /* end confdefs.h. */
64786 void foo (void); __asm (".symver foo, bar@SYMVER");
64787 int
64788 main ()
64789 {
64790
64791 ;
64792 return 0;
64793 }
64794 _ACEOF
64795 if ac_fn_c_try_compile "$LINENO"; then :
64796 glibcxx_cv_have_as_symver_directive=yes
64797 else
64798 glibcxx_cv_have_as_symver_directive=no
64799 fi
64800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64801 fi
64802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
64803 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
64804 if test $glibcxx_cv_have_as_symver_directive = yes; then
64805
64806 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
64807
64808 fi
64809
64810
64811
64812
64813
64814
64815
64816
64817 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
64818 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
64819
64820 if test $enable_symvers != no ; then
64821 case ${target_os} in
64822 # The Solaris 2 runtime linker doesn't support the GNU extension of
64823 # binding the same symbol to different versions
64824 solaris2*)
64825 symvers_renaming=no ;;
64826 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
64827 *)
64828
64829 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
64830
64831 symvers_renaming=yes ;;
64832 esac
64833 else
64834 symvers_renaming=no
64835 fi
64836
64837
64838 # Now, set up compatibility support, if any.
64839 # In addition, need this to deal with std::size_t mangling in
64840 # src/compatibility.cc. In a perfect world, could use
64841 # typeid(std::size_t).name()[0] to do direct substitution.
64842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
64843 $as_echo_n "checking for size_t as unsigned int... " >&6; }
64844 ac_save_CFLAGS="$CFLAGS"
64845 CFLAGS="-Werror"
64846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64847 /* end confdefs.h. */
64848
64849 int
64850 main ()
64851 {
64852 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
64853 ;
64854 return 0;
64855 }
64856 _ACEOF
64857 if ac_fn_c_try_compile "$LINENO"; then :
64858 glibcxx_size_t_is_i=yes
64859 else
64860 glibcxx_size_t_is_i=no
64861 fi
64862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64863 CFLAGS=$ac_save_CFLAGS
64864 if test "$glibcxx_size_t_is_i" = yes; then
64865
64866 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
64867
64868 fi
64869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
64870 $as_echo "$glibcxx_size_t_is_i" >&6; }
64871
64872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
64873 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
64874 ac_save_CFLAGS="$CFLAGS"
64875 CFLAGS="-Werror"
64876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64877 /* end confdefs.h. */
64878
64879 int
64880 main ()
64881 {
64882 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
64883 ;
64884 return 0;
64885 }
64886 _ACEOF
64887 if ac_fn_c_try_compile "$LINENO"; then :
64888 glibcxx_ptrdiff_t_is_i=yes
64889 else
64890 glibcxx_ptrdiff_t_is_i=no
64891 fi
64892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64893 CFLAGS=$ac_save_CFLAGS
64894 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
64895
64896 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
64897
64898 fi
64899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
64900 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
64901
64902
64903
64904
64905 # Check whether --enable-visibility was given.
64906 if test "${enable_visibility+set}" = set; then :
64907 enableval=$enable_visibility;
64908 case "$enableval" in
64909 yes|no) ;;
64910 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
64911 esac
64912
64913 else
64914 enable_visibility=yes
64915 fi
64916
64917
64918
64919 if test x$enable_visibility = xyes ; then
64920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
64921 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
64922 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
64923 $as_echo_n "(cached) " >&6
64924 else
64925
64926 save_CFLAGS="$CFLAGS"
64927 CFLAGS="$CFLAGS -Werror"
64928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64929 /* end confdefs.h. */
64930 void __attribute__((visibility("hidden"))) foo(void) { }
64931 int
64932 main ()
64933 {
64934
64935 ;
64936 return 0;
64937 }
64938 _ACEOF
64939 if ac_fn_c_try_compile "$LINENO"; then :
64940 glibcxx_cv_have_attribute_visibility=yes
64941 else
64942 glibcxx_cv_have_attribute_visibility=no
64943 fi
64944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64945 CFLAGS="$save_CFLAGS"
64946 fi
64947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
64948 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
64949 if test $glibcxx_cv_have_attribute_visibility = no; then
64950 enable_visibility=no
64951 fi
64952 fi
64953
64954
64955 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
64956 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
64957
64958
64959 ac_ldbl_compat=no
64960 case "$target" in
64961 powerpc*-*-linux* | \
64962 sparc*-*-linux* | \
64963 s390*-*-linux* | \
64964 alpha*-*-linux*)
64965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64966 /* end confdefs.h. */
64967
64968 int
64969 main ()
64970 {
64971
64972 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
64973 #error no need for long double compatibility
64974 #endif
64975
64976 ;
64977 return 0;
64978 }
64979 _ACEOF
64980 if ac_fn_c_try_compile "$LINENO"; then :
64981 ac_ldbl_compat=yes
64982 else
64983 ac_ldbl_compat=no
64984 fi
64985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64986 if test "$ac_ldbl_compat" = yes; then
64987
64988 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
64989
64990 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
64991 fi
64992 esac
64993
64994
64995 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
64996
64997 if $GLIBCXX_IS_NATIVE ; then
64998 # Do checks for resource limit functions.
64999
65000 setrlimit_have_headers=yes
65001 for ac_header in unistd.h sys/time.h sys/resource.h
65002 do :
65003 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
65004 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
65005 eval as_val=\$$as_ac_Header
65006 if test "x$as_val" = x""yes; then :
65007 cat >>confdefs.h <<_ACEOF
65008 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
65009 _ACEOF
65010
65011 else
65012 setrlimit_have_headers=no
65013 fi
65014
65015 done
65016
65017 # If don't have the headers, then we can't run the tests now, and we
65018 # won't be seeing any of these during testsuite compilation.
65019 if test $setrlimit_have_headers = yes; then
65020 # Can't do these in a loop, else the resulting syntax is wrong.
65021
65022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
65023 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
65024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65025 /* end confdefs.h. */
65026 #include <unistd.h>
65027 #include <sys/time.h>
65028 #include <sys/resource.h>
65029
65030 int
65031 main ()
65032 {
65033 int f = RLIMIT_DATA ;
65034 ;
65035 return 0;
65036 }
65037 _ACEOF
65038 if ac_fn_c_try_compile "$LINENO"; then :
65039 glibcxx_mresult=1
65040 else
65041 glibcxx_mresult=0
65042 fi
65043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65044
65045 cat >>confdefs.h <<_ACEOF
65046 #define HAVE_LIMIT_DATA $glibcxx_mresult
65047 _ACEOF
65048
65049 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65051 $as_echo "$res" >&6; }
65052
65053
65054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
65055 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
65056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65057 /* end confdefs.h. */
65058 #include <unistd.h>
65059 #include <sys/time.h>
65060 #include <sys/resource.h>
65061
65062 int
65063 main ()
65064 {
65065 int f = RLIMIT_RSS ;
65066 ;
65067 return 0;
65068 }
65069 _ACEOF
65070 if ac_fn_c_try_compile "$LINENO"; then :
65071 glibcxx_mresult=1
65072 else
65073 glibcxx_mresult=0
65074 fi
65075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65076
65077 cat >>confdefs.h <<_ACEOF
65078 #define HAVE_LIMIT_RSS $glibcxx_mresult
65079 _ACEOF
65080
65081 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65083 $as_echo "$res" >&6; }
65084
65085
65086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
65087 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
65088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65089 /* end confdefs.h. */
65090 #include <unistd.h>
65091 #include <sys/time.h>
65092 #include <sys/resource.h>
65093
65094 int
65095 main ()
65096 {
65097 int f = RLIMIT_VMEM ;
65098 ;
65099 return 0;
65100 }
65101 _ACEOF
65102 if ac_fn_c_try_compile "$LINENO"; then :
65103 glibcxx_mresult=1
65104 else
65105 glibcxx_mresult=0
65106 fi
65107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65108
65109 cat >>confdefs.h <<_ACEOF
65110 #define HAVE_LIMIT_VMEM $glibcxx_mresult
65111 _ACEOF
65112
65113 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65115 $as_echo "$res" >&6; }
65116
65117
65118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
65119 $as_echo_n "checking for RLIMIT_AS... " >&6; }
65120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65121 /* end confdefs.h. */
65122 #include <unistd.h>
65123 #include <sys/time.h>
65124 #include <sys/resource.h>
65125
65126 int
65127 main ()
65128 {
65129 int f = RLIMIT_AS ;
65130 ;
65131 return 0;
65132 }
65133 _ACEOF
65134 if ac_fn_c_try_compile "$LINENO"; then :
65135 glibcxx_mresult=1
65136 else
65137 glibcxx_mresult=0
65138 fi
65139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65140
65141 cat >>confdefs.h <<_ACEOF
65142 #define HAVE_LIMIT_AS $glibcxx_mresult
65143 _ACEOF
65144
65145 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65147 $as_echo "$res" >&6; }
65148
65149
65150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
65151 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
65152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65153 /* end confdefs.h. */
65154 #include <unistd.h>
65155 #include <sys/time.h>
65156 #include <sys/resource.h>
65157
65158 int
65159 main ()
65160 {
65161 int f = RLIMIT_FSIZE ;
65162 ;
65163 return 0;
65164 }
65165 _ACEOF
65166 if ac_fn_c_try_compile "$LINENO"; then :
65167 glibcxx_mresult=1
65168 else
65169 glibcxx_mresult=0
65170 fi
65171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65172
65173 cat >>confdefs.h <<_ACEOF
65174 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
65175 _ACEOF
65176
65177 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65179 $as_echo "$res" >&6; }
65180
65181
65182 # Check for rlimit, setrlimit.
65183 if test "${glibcxx_cv_setrlimit+set}" = set; then :
65184 $as_echo_n "(cached) " >&6
65185 else
65186
65187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65188 /* end confdefs.h. */
65189 #include <unistd.h>
65190 #include <sys/time.h>
65191 #include <sys/resource.h>
65192
65193 int
65194 main ()
65195 {
65196 struct rlimit r;
65197 setrlimit(0, &r);
65198 ;
65199 return 0;
65200 }
65201 _ACEOF
65202 if ac_fn_c_try_compile "$LINENO"; then :
65203 glibcxx_cv_setrlimit=yes
65204 else
65205 glibcxx_cv_setrlimit=no
65206 fi
65207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65208
65209 fi
65210
65211 fi
65212
65213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
65214 $as_echo_n "checking for testsuite resource limits support... " >&6; }
65215 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
65216 ac_res_limits=yes
65217
65218 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
65219
65220 else
65221 ac_res_limits=no
65222 fi
65223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
65224 $as_echo "$ac_res_limits" >&6; }
65225
65226
65227 # Look for setenv, so that extended locale tests can be performed.
65228
65229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
65230 $as_echo_n "checking for setenv declaration... " >&6; }
65231 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
65232 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
65233 $as_echo_n "(cached) " >&6
65234 else
65235
65236
65237 ac_ext=cpp
65238 ac_cpp='$CXXCPP $CPPFLAGS'
65239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65242
65243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65244 /* end confdefs.h. */
65245 #include <stdlib.h>
65246 int
65247 main ()
65248 {
65249 setenv(0, 0, 0);
65250 ;
65251 return 0;
65252 }
65253 _ACEOF
65254 if ac_fn_cxx_try_compile "$LINENO"; then :
65255 glibcxx_cv_func_setenv_use=yes
65256 else
65257 glibcxx_cv_func_setenv_use=no
65258 fi
65259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65260 ac_ext=c
65261 ac_cpp='$CPP $CPPFLAGS'
65262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65265
65266
65267 fi
65268
65269 fi
65270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
65271 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
65272 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
65273 for ac_func in setenv
65274 do :
65275 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
65276 if test "x$ac_cv_func_setenv" = x""yes; then :
65277 cat >>confdefs.h <<_ACEOF
65278 #define HAVE_SETENV 1
65279 _ACEOF
65280
65281 fi
65282 done
65283
65284 fi
65285
65286 fi
65287
65288 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
65289 test $enable_symvers != no; then
65290 case "$host" in
65291 *-*-cygwin*)
65292 enable_abi_check=no ;;
65293 *)
65294 enable_abi_check=yes ;;
65295 esac
65296 else
65297 # Only build this as native, since automake does not understand
65298 # CXX_FOR_BUILD.
65299 enable_abi_check=no
65300 fi
65301
65302 # Export file names for ABI checking.
65303 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
65304
65305 baseline_subdir_switch="$abi_baseline_subdir_switch"
65306
65307
65308
65309 # Define documentation rules conditionally.
65310
65311 # See if makeinfo has been installed and is modern enough
65312 # that we can use it.
65313
65314 # Extract the first word of "makeinfo", so it can be a program name with args.
65315 set dummy makeinfo; ac_word=$2
65316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65317 $as_echo_n "checking for $ac_word... " >&6; }
65318 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
65319 $as_echo_n "(cached) " >&6
65320 else
65321 if test -n "$MAKEINFO"; then
65322 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
65323 else
65324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65325 for as_dir in $PATH
65326 do
65327 IFS=$as_save_IFS
65328 test -z "$as_dir" && as_dir=.
65329 for ac_exec_ext in '' $ac_executable_extensions; do
65330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65331 ac_cv_prog_MAKEINFO="makeinfo"
65332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65333 break 2
65334 fi
65335 done
65336 done
65337 IFS=$as_save_IFS
65338
65339 fi
65340 fi
65341 MAKEINFO=$ac_cv_prog_MAKEINFO
65342 if test -n "$MAKEINFO"; then
65343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
65344 $as_echo "$MAKEINFO" >&6; }
65345 else
65346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65347 $as_echo "no" >&6; }
65348 fi
65349
65350
65351 if test -n "$MAKEINFO"; then
65352 # Found it, now check the version.
65353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
65354 $as_echo_n "checking for modern makeinfo... " >&6; }
65355 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
65356 $as_echo_n "(cached) " >&6
65357 else
65358 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
65359 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
65360
65361 case $ac_prog_version in
65362 '') gcc_cv_prog_makeinfo_modern=no;;
65363 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
65364 *) gcc_cv_prog_makeinfo_modern=no;;
65365 esac
65366
65367 fi
65368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
65369 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
65370 else
65371 gcc_cv_prog_makeinfo_modern=no
65372 fi
65373 if test $gcc_cv_prog_makeinfo_modern = no; then
65374 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
65375 fi
65376
65377 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
65378 BUILD_INFO_TRUE=
65379 BUILD_INFO_FALSE='#'
65380 else
65381 BUILD_INFO_TRUE='#'
65382 BUILD_INFO_FALSE=
65383 fi
65384
65385
65386 # Check for doxygen
65387 # Extract the first word of "doxygen", so it can be a program name with args.
65388 set dummy doxygen; ac_word=$2
65389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65390 $as_echo_n "checking for $ac_word... " >&6; }
65391 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
65392 $as_echo_n "(cached) " >&6
65393 else
65394 if test -n "$DOXYGEN"; then
65395 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
65396 else
65397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65398 for as_dir in $PATH
65399 do
65400 IFS=$as_save_IFS
65401 test -z "$as_dir" && as_dir=.
65402 for ac_exec_ext in '' $ac_executable_extensions; do
65403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65404 ac_cv_prog_DOXYGEN="yes"
65405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65406 break 2
65407 fi
65408 done
65409 done
65410 IFS=$as_save_IFS
65411
65412 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
65413 fi
65414 fi
65415 DOXYGEN=$ac_cv_prog_DOXYGEN
65416 if test -n "$DOXYGEN"; then
65417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
65418 $as_echo "$DOXYGEN" >&6; }
65419 else
65420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65421 $as_echo "no" >&6; }
65422 fi
65423
65424
65425 # Extract the first word of "dot", so it can be a program name with args.
65426 set dummy dot; ac_word=$2
65427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65428 $as_echo_n "checking for $ac_word... " >&6; }
65429 if test "${ac_cv_prog_DOT+set}" = set; then :
65430 $as_echo_n "(cached) " >&6
65431 else
65432 if test -n "$DOT"; then
65433 ac_cv_prog_DOT="$DOT" # Let the user override the test.
65434 else
65435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65436 for as_dir in $PATH
65437 do
65438 IFS=$as_save_IFS
65439 test -z "$as_dir" && as_dir=.
65440 for ac_exec_ext in '' $ac_executable_extensions; do
65441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65442 ac_cv_prog_DOT="yes"
65443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65444 break 2
65445 fi
65446 done
65447 done
65448 IFS=$as_save_IFS
65449
65450 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
65451 fi
65452 fi
65453 DOT=$ac_cv_prog_DOT
65454 if test -n "$DOT"; then
65455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
65456 $as_echo "$DOT" >&6; }
65457 else
65458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65459 $as_echo "no" >&6; }
65460 fi
65461
65462
65463
65464 # Check for docbook
65465 # Extract the first word of "xsltproc", so it can be a program name with args.
65466 set dummy xsltproc; ac_word=$2
65467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65468 $as_echo_n "checking for $ac_word... " >&6; }
65469 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65470 $as_echo_n "(cached) " >&6
65471 else
65472 if test -n "$XSLTPROC"; then
65473 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65474 else
65475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65476 for as_dir in $PATH
65477 do
65478 IFS=$as_save_IFS
65479 test -z "$as_dir" && as_dir=.
65480 for ac_exec_ext in '' $ac_executable_extensions; do
65481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65482 ac_cv_prog_XSLTPROC="yes"
65483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65484 break 2
65485 fi
65486 done
65487 done
65488 IFS=$as_save_IFS
65489
65490 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65491 fi
65492 fi
65493 XSLTPROC=$ac_cv_prog_XSLTPROC
65494 if test -n "$XSLTPROC"; then
65495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65496 $as_echo "$XSLTPROC" >&6; }
65497 else
65498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65499 $as_echo "no" >&6; }
65500 fi
65501
65502
65503 # Extract the first word of "xmllint", so it can be a program name with args.
65504 set dummy xmllint; ac_word=$2
65505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65506 $as_echo_n "checking for $ac_word... " >&6; }
65507 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65508 $as_echo_n "(cached) " >&6
65509 else
65510 if test -n "$XMLLINT"; then
65511 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65512 else
65513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65514 for as_dir in $PATH
65515 do
65516 IFS=$as_save_IFS
65517 test -z "$as_dir" && as_dir=.
65518 for ac_exec_ext in '' $ac_executable_extensions; do
65519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65520 ac_cv_prog_XMLLINT="yes"
65521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65522 break 2
65523 fi
65524 done
65525 done
65526 IFS=$as_save_IFS
65527
65528 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65529 fi
65530 fi
65531 XMLLINT=$ac_cv_prog_XMLLINT
65532 if test -n "$XMLLINT"; then
65533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65534 $as_echo "$XMLLINT" >&6; }
65535 else
65536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65537 $as_echo "no" >&6; }
65538 fi
65539
65540
65541
65542
65543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stylesheets used in generation of documentation" >&5
65544 $as_echo_n "checking for stylesheets used in generation of documentation... " >&6; }
65545 glibcxx_stylesheets=no
65546 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
65547 glibcxx_stylesheets=yes
65548 fi
65549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65550 $as_echo "$glibcxx_stylesheets" >&6; }
65551
65552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65553 $as_echo_n "checking for local stylesheet directory... " >&6; }
65554 glibcxx_local_stylesheets=no
65555 if test x"$glibcxx_stylesheets" = x"yes"; then
65556 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65557 glibcxx_local_stylesheets=yes
65558 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65559 fi
65560 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65561 glibcxx_local_stylesheets=yes
65562 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65563 fi
65564 fi
65565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65566 $as_echo "$glibcxx_local_stylesheets" >&6; }
65567
65568 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65569
65570 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65571 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65572 else
65573 glibcxx_stylesheets=no
65574 fi
65575
65576
65577 # Check for xml/html dependencies.
65578 if test $ac_cv_prog_DOXYGEN = "yes" &&
65579 test $ac_cv_prog_DOT = "yes" &&
65580 test $ac_cv_prog_XSLTPROC = "yes" &&
65581 test $ac_cv_prog_XMLLINT = "yes" &&
65582 test $glibcxx_stylesheets = "yes"; then
65583 BUILD_XML_TRUE=
65584 BUILD_XML_FALSE='#'
65585 else
65586 BUILD_XML_TRUE='#'
65587 BUILD_XML_FALSE=
65588 fi
65589
65590
65591 if test $ac_cv_prog_DOXYGEN = "yes" &&
65592 test $ac_cv_prog_DOT = "yes" &&
65593 test $ac_cv_prog_XSLTPROC = "yes" &&
65594 test $ac_cv_prog_XMLLINT = "yes" &&
65595 test $glibcxx_stylesheets = "yes"; then
65596 BUILD_HTML_TRUE=
65597 BUILD_HTML_FALSE='#'
65598 else
65599 BUILD_HTML_TRUE='#'
65600 BUILD_HTML_FALSE=
65601 fi
65602
65603
65604 # Check for man dependencies.
65605 if test $ac_cv_prog_DOXYGEN = "yes" &&
65606 test $ac_cv_prog_DOT = "yes"; then
65607 BUILD_MAN_TRUE=
65608 BUILD_MAN_FALSE='#'
65609 else
65610 BUILD_MAN_TRUE='#'
65611 BUILD_MAN_FALSE=
65612 fi
65613
65614
65615 # Check for pdf/epub dependencies.
65616 # Extract the first word of "dblatex", so it can be a program name with args.
65617 set dummy dblatex; ac_word=$2
65618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65619 $as_echo_n "checking for $ac_word... " >&6; }
65620 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65621 $as_echo_n "(cached) " >&6
65622 else
65623 if test -n "$DBLATEX"; then
65624 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65625 else
65626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65627 for as_dir in $PATH
65628 do
65629 IFS=$as_save_IFS
65630 test -z "$as_dir" && as_dir=.
65631 for ac_exec_ext in '' $ac_executable_extensions; do
65632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65633 ac_cv_prog_DBLATEX="yes"
65634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65635 break 2
65636 fi
65637 done
65638 done
65639 IFS=$as_save_IFS
65640
65641 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65642 fi
65643 fi
65644 DBLATEX=$ac_cv_prog_DBLATEX
65645 if test -n "$DBLATEX"; then
65646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65647 $as_echo "$DBLATEX" >&6; }
65648 else
65649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65650 $as_echo "no" >&6; }
65651 fi
65652
65653
65654 # Extract the first word of "pdflatex", so it can be a program name with args.
65655 set dummy pdflatex; ac_word=$2
65656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65657 $as_echo_n "checking for $ac_word... " >&6; }
65658 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65659 $as_echo_n "(cached) " >&6
65660 else
65661 if test -n "$PDFLATEX"; then
65662 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65663 else
65664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65665 for as_dir in $PATH
65666 do
65667 IFS=$as_save_IFS
65668 test -z "$as_dir" && as_dir=.
65669 for ac_exec_ext in '' $ac_executable_extensions; do
65670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65671 ac_cv_prog_PDFLATEX="yes"
65672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65673 break 2
65674 fi
65675 done
65676 done
65677 IFS=$as_save_IFS
65678
65679 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65680 fi
65681 fi
65682 PDFLATEX=$ac_cv_prog_PDFLATEX
65683 if test -n "$PDFLATEX"; then
65684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65685 $as_echo "$PDFLATEX" >&6; }
65686 else
65687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65688 $as_echo "no" >&6; }
65689 fi
65690
65691
65692 if test $ac_cv_prog_DBLATEX = "yes" &&
65693 test $ac_cv_prog_PDFLATEX = "yes"; then
65694 BUILD_PDF_TRUE=
65695 BUILD_PDF_FALSE='#'
65696 else
65697 BUILD_PDF_TRUE='#'
65698 BUILD_PDF_FALSE=
65699 fi
65700
65701
65702 # Extract the first word of "ruby", so it can be a program name with args.
65703 set dummy ruby; ac_word=$2
65704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65705 $as_echo_n "checking for $ac_word... " >&6; }
65706 if test "${ac_cv_prog_RUBY+set}" = set; then :
65707 $as_echo_n "(cached) " >&6
65708 else
65709 if test -n "$RUBY"; then
65710 ac_cv_prog_RUBY="$RUBY" # Let the user override the test.
65711 else
65712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65713 for as_dir in $PATH
65714 do
65715 IFS=$as_save_IFS
65716 test -z "$as_dir" && as_dir=.
65717 for ac_exec_ext in '' $ac_executable_extensions; do
65718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65719 ac_cv_prog_RUBY="yes"
65720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65721 break 2
65722 fi
65723 done
65724 done
65725 IFS=$as_save_IFS
65726
65727 test -z "$ac_cv_prog_RUBY" && ac_cv_prog_RUBY="no"
65728 fi
65729 fi
65730 RUBY=$ac_cv_prog_RUBY
65731 if test -n "$RUBY"; then
65732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
65733 $as_echo "$RUBY" >&6; }
65734 else
65735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65736 $as_echo "no" >&6; }
65737 fi
65738
65739
65740 # Extract the first word of "dbtoepub", so it can be a program name with args.
65741 set dummy dbtoepub; ac_word=$2
65742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65743 $as_echo_n "checking for $ac_word... " >&6; }
65744 if test "${ac_cv_prog_DBTOEPUB+set}" = set; then :
65745 $as_echo_n "(cached) " >&6
65746 else
65747 if test -n "$DBTOEPUB"; then
65748 ac_cv_prog_DBTOEPUB="$DBTOEPUB" # Let the user override the test.
65749 else
65750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65751 for as_dir in $PATH
65752 do
65753 IFS=$as_save_IFS
65754 test -z "$as_dir" && as_dir=.
65755 for ac_exec_ext in '' $ac_executable_extensions; do
65756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65757 ac_cv_prog_DBTOEPUB="yes"
65758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65759 break 2
65760 fi
65761 done
65762 done
65763 IFS=$as_save_IFS
65764
65765 test -z "$ac_cv_prog_DBTOEPUB" && ac_cv_prog_DBTOEPUB="no"
65766 fi
65767 fi
65768 DBTOEPUB=$ac_cv_prog_DBTOEPUB
65769 if test -n "$DBTOEPUB"; then
65770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5
65771 $as_echo "$DBTOEPUB" >&6; }
65772 else
65773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65774 $as_echo "no" >&6; }
65775 fi
65776
65777
65778 if test $ac_cv_prog_RUBY = "yes" &&
65779 test $ac_cv_prog_DBTOEPUB = "yes"; then
65780 BUILD_EPUB_TRUE=
65781 BUILD_EPUB_FALSE='#'
65782 else
65783 BUILD_EPUB_TRUE='#'
65784 BUILD_EPUB_FALSE=
65785 fi
65786
65787
65788
65789 # Propagate the target-specific source directories through the build chain.
65790 ATOMICITY_SRCDIR=config/${atomicity_dir}
65791 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
65792 ATOMIC_FLAGS=${atomic_flags}
65793 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
65794 OS_INC_SRCDIR=config/${os_include_dir}
65795 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
65796 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
65797
65798
65799
65800
65801
65802
65803
65804
65805
65806 # Determine cross-compile flags and AM_CONDITIONALs.
65807 #AC_SUBST(GLIBCXX_IS_NATIVE)
65808 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
65809 if test $is_hosted = yes; then
65810 GLIBCXX_HOSTED_TRUE=
65811 GLIBCXX_HOSTED_FALSE='#'
65812 else
65813 GLIBCXX_HOSTED_TRUE='#'
65814 GLIBCXX_HOSTED_FALSE=
65815 fi
65816
65817
65818 if test $enable_libstdcxx_pch = yes; then
65819 GLIBCXX_BUILD_PCH_TRUE=
65820 GLIBCXX_BUILD_PCH_FALSE='#'
65821 else
65822 GLIBCXX_BUILD_PCH_TRUE='#'
65823 GLIBCXX_BUILD_PCH_FALSE=
65824 fi
65825
65826
65827 if test $enable_cheaders = c; then
65828 GLIBCXX_C_HEADERS_C_TRUE=
65829 GLIBCXX_C_HEADERS_C_FALSE='#'
65830 else
65831 GLIBCXX_C_HEADERS_C_TRUE='#'
65832 GLIBCXX_C_HEADERS_C_FALSE=
65833 fi
65834
65835
65836 if test $enable_cheaders = c_std; then
65837 GLIBCXX_C_HEADERS_C_STD_TRUE=
65838 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
65839 else
65840 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
65841 GLIBCXX_C_HEADERS_C_STD_FALSE=
65842 fi
65843
65844
65845 if test $enable_cheaders = c_global; then
65846 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
65847 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
65848 else
65849 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
65850 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
65851 fi
65852
65853
65854 if test $c_compatibility = yes; then
65855 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
65856 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
65857 else
65858 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
65859 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
65860 fi
65861
65862
65863 if test $enable_libstdcxx_debug = yes; then
65864 GLIBCXX_BUILD_DEBUG_TRUE=
65865 GLIBCXX_BUILD_DEBUG_FALSE='#'
65866 else
65867 GLIBCXX_BUILD_DEBUG_TRUE='#'
65868 GLIBCXX_BUILD_DEBUG_FALSE=
65869 fi
65870
65871
65872 if test $enable_parallel = yes; then
65873 ENABLE_PARALLEL_TRUE=
65874 ENABLE_PARALLEL_FALSE='#'
65875 else
65876 ENABLE_PARALLEL_TRUE='#'
65877 ENABLE_PARALLEL_FALSE=
65878 fi
65879
65880
65881 if test $enable_extern_template = yes; then
65882 ENABLE_EXTERN_TEMPLATE_TRUE=
65883 ENABLE_EXTERN_TEMPLATE_FALSE='#'
65884 else
65885 ENABLE_EXTERN_TEMPLATE_TRUE='#'
65886 ENABLE_EXTERN_TEMPLATE_FALSE=
65887 fi
65888
65889
65890 if test $enable_symvers != no; then
65891 ENABLE_SYMVERS_TRUE=
65892 ENABLE_SYMVERS_FALSE='#'
65893 else
65894 ENABLE_SYMVERS_TRUE='#'
65895 ENABLE_SYMVERS_FALSE=
65896 fi
65897
65898
65899 if test $enable_symvers = gnu; then
65900 ENABLE_SYMVERS_GNU_TRUE=
65901 ENABLE_SYMVERS_GNU_FALSE='#'
65902 else
65903 ENABLE_SYMVERS_GNU_TRUE='#'
65904 ENABLE_SYMVERS_GNU_FALSE=
65905 fi
65906
65907
65908 if test $enable_symvers = gnu-versioned-namespace; then
65909 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
65910 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
65911 else
65912 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
65913 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
65914 fi
65915
65916
65917 if test $enable_symvers = darwin; then
65918 ENABLE_SYMVERS_DARWIN_TRUE=
65919 ENABLE_SYMVERS_DARWIN_FALSE='#'
65920 else
65921 ENABLE_SYMVERS_DARWIN_TRUE='#'
65922 ENABLE_SYMVERS_DARWIN_FALSE=
65923 fi
65924
65925
65926 if test $enable_symvers = sun; then
65927 ENABLE_SYMVERS_SUN_TRUE=
65928 ENABLE_SYMVERS_SUN_FALSE='#'
65929 else
65930 ENABLE_SYMVERS_SUN_TRUE='#'
65931 ENABLE_SYMVERS_SUN_FALSE=
65932 fi
65933
65934
65935 if test $symvers_renaming = no; then
65936 ENABLE_SYMVERS_SOL2_TRUE=
65937 ENABLE_SYMVERS_SOL2_FALSE='#'
65938 else
65939 ENABLE_SYMVERS_SOL2_TRUE='#'
65940 ENABLE_SYMVERS_SOL2_FALSE=
65941 fi
65942
65943
65944 if test $enable_visibility = yes; then
65945 ENABLE_VISIBILITY_TRUE=
65946 ENABLE_VISIBILITY_FALSE='#'
65947 else
65948 ENABLE_VISIBILITY_TRUE='#'
65949 ENABLE_VISIBILITY_FALSE=
65950 fi
65951
65952
65953 if test $ac_ldbl_compat = yes; then
65954 GLIBCXX_LDBL_COMPAT_TRUE=
65955 GLIBCXX_LDBL_COMPAT_FALSE='#'
65956 else
65957 GLIBCXX_LDBL_COMPAT_TRUE='#'
65958 GLIBCXX_LDBL_COMPAT_FALSE=
65959 fi
65960
65961
65962
65963
65964 cat >confcache <<\_ACEOF
65965 # This file is a shell script that caches the results of configure
65966 # tests run on this system so they can be shared between configure
65967 # scripts and configure runs, see configure's option --config-cache.
65968 # It is not useful on other systems. If it contains results you don't
65969 # want to keep, you may remove or edit it.
65970 #
65971 # config.status only pays attention to the cache file if you give it
65972 # the --recheck option to rerun configure.
65973 #
65974 # `ac_cv_env_foo' variables (set or unset) will be overridden when
65975 # loading this file, other *unset* `ac_cv_foo' will be assigned the
65976 # following values.
65977
65978 _ACEOF
65979
65980 # The following way of writing the cache mishandles newlines in values,
65981 # but we know of no workaround that is simple, portable, and efficient.
65982 # So, we kill variables containing newlines.
65983 # Ultrix sh set writes to stderr and can't be redirected directly,
65984 # and sets the high bit in the cache file unless we assign to the vars.
65985 (
65986 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
65987 eval ac_val=\$$ac_var
65988 case $ac_val in #(
65989 *${as_nl}*)
65990 case $ac_var in #(
65991 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
65992 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
65993 esac
65994 case $ac_var in #(
65995 _ | IFS | as_nl) ;; #(
65996 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
65997 *) { eval $ac_var=; unset $ac_var;} ;;
65998 esac ;;
65999 esac
66000 done
66001
66002 (set) 2>&1 |
66003 case $as_nl`(ac_space=' '; set) 2>&1` in #(
66004 *${as_nl}ac_space=\ *)
66005 # `set' does not quote correctly, so add quotes: double-quote
66006 # substitution turns \\\\ into \\, and sed turns \\ into \.
66007 sed -n \
66008 "s/'/'\\\\''/g;
66009 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66010 ;; #(
66011 *)
66012 # `set' quotes correctly as required by POSIX, so do not add quotes.
66013 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66014 ;;
66015 esac |
66016 sort
66017 ) |
66018 sed '
66019 /^ac_cv_env_/b end
66020 t clear
66021 :clear
66022 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66023 t end
66024 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66025 :end' >>confcache
66026 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66027 if test -w "$cache_file"; then
66028 test "x$cache_file" != "x/dev/null" &&
66029 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66030 $as_echo "$as_me: updating cache $cache_file" >&6;}
66031 cat confcache >$cache_file
66032 else
66033 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66034 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66035 fi
66036 fi
66037 rm -f confcache
66038
66039 if test ${multilib} = yes; then
66040 multilib_arg="--enable-multilib"
66041 else
66042 multilib_arg=
66043 fi
66044
66045 # Export all the install information.
66046
66047 glibcxx_toolexecdir=no
66048 glibcxx_toolexeclibdir=no
66049 glibcxx_prefixdir=$prefix
66050
66051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
66052 $as_echo_n "checking for gxx-include-dir... " >&6; }
66053
66054 # Check whether --with-gxx-include-dir was given.
66055 if test "${with_gxx_include_dir+set}" = set; then :
66056 withval=$with_gxx_include_dir; case "$withval" in
66057 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
66058 no) gxx_include_dir=no ;;
66059 *) gxx_include_dir=$withval ;;
66060 esac
66061 else
66062 gxx_include_dir=no
66063 fi
66064
66065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66066 $as_echo "$gxx_include_dir" >&6; }
66067
66068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
66069 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
66070 # Check whether --enable-version-specific-runtime-libs was given.
66071 if test "${enable_version_specific_runtime_libs+set}" = set; then :
66072 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
66073 yes) version_specific_libs=yes ;;
66074 no) version_specific_libs=no ;;
66075 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
66076 esac
66077 else
66078 version_specific_libs=no
66079 fi
66080
66081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
66082 $as_echo "$version_specific_libs" >&6; }
66083
66084 # Default case for install directory for include files.
66085 if test $version_specific_libs = no && test $gxx_include_dir = no; then
66086 gxx_include_dir='include/c++/${gcc_version}'
66087 if test -n "$with_cross_host" &&
66088 test x"$with_cross_host" != x"no"; then
66089 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
66090 else
66091 gxx_include_dir='${prefix}/'"$gxx_include_dir"
66092 fi
66093 fi
66094
66095 # Version-specific runtime libs processing.
66096 if test $version_specific_libs = yes; then
66097 # Need the gcc compiler version to know where to install libraries
66098 # and header files if --enable-version-specific-runtime-libs option
66099 # is selected. FIXME: these variables are misnamed, there are
66100 # no executables installed in _toolexecdir or _toolexeclibdir.
66101 if test x"$gxx_include_dir" = x"no"; then
66102 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
66103 fi
66104 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66105 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
66106 fi
66107
66108 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
66109 # Install a library built with a cross compiler in tooldir, not libdir.
66110 if test x"$glibcxx_toolexecdir" = x"no"; then
66111 if test -n "$with_cross_host" &&
66112 test x"$with_cross_host" != x"no"; then
66113 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
66114 glibcxx_toolexeclibdir='${toolexecdir}/lib'
66115 else
66116 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66117 glibcxx_toolexeclibdir='${libdir}'
66118 fi
66119 multi_os_directory=`$CXX -print-multi-os-directory`
66120 case $multi_os_directory in
66121 .) ;; # Avoid trailing /.
66122 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
66123 esac
66124 fi
66125
66126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
66127 $as_echo_n "checking for install location... " >&6; }
66128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66129 $as_echo "$gxx_include_dir" >&6; }
66130
66131
66132
66133
66134
66135
66136
66137 # Export all the include and flag information to Makefiles.
66138
66139 # Used for every C++ compile we perform.
66140 GLIBCXX_INCLUDES="\
66141 -I$glibcxx_builddir/include/$host_alias \
66142 -I$glibcxx_builddir/include \
66143 -I$glibcxx_srcdir/libsupc++"
66144
66145 # For Canadian crosses, pick this up too.
66146 if test $CANADIAN = yes; then
66147 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
66148 fi
66149
66150 # Stuff in the actual top level. Currently only used by libsupc++ to
66151 # get unwind* headers from the libgcc dir.
66152 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
66153 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
66154
66155 # Now, export this to all the little Makefiles....
66156
66157
66158
66159
66160 # Optimization flags that are probably a good idea for thrill-seekers. Just
66161 # uncomment the lines below and make, everything else is ready to go...
66162 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
66163 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
66164
66165
66166 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
66167
66168
66169
66170 if test "$enable_shared" = yes; then
66171 LIBSUPCXX_PICFLAGS="-prefer-pic"
66172 else
66173 LIBSUPCXX_PICFLAGS=
66174 fi
66175
66176
66177 ac_config_files="$ac_config_files Makefile"
66178
66179 ac_config_files="$ac_config_files scripts/testsuite_flags"
66180
66181 ac_config_files="$ac_config_files scripts/extract_symvers"
66182
66183
66184 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
66185 # that multilib installs will end up installed in the correct place.
66186 # The testsuite needs it for multilib-aware ABI baseline files.
66187 # To work around this not being passed down from config-ml.in ->
66188 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
66189 # append it here. Only modify Makefiles that have just been created.
66190 #
66191 # Also, get rid of this simulated-VPATH thing that automake does.
66192 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
66193
66194
66195 ac_config_commands="$ac_config_commands generate-headers"
66196
66197
66198 cat >confcache <<\_ACEOF
66199 # This file is a shell script that caches the results of configure
66200 # tests run on this system so they can be shared between configure
66201 # scripts and configure runs, see configure's option --config-cache.
66202 # It is not useful on other systems. If it contains results you don't
66203 # want to keep, you may remove or edit it.
66204 #
66205 # config.status only pays attention to the cache file if you give it
66206 # the --recheck option to rerun configure.
66207 #
66208 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66209 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66210 # following values.
66211
66212 _ACEOF
66213
66214 # The following way of writing the cache mishandles newlines in values,
66215 # but we know of no workaround that is simple, portable, and efficient.
66216 # So, we kill variables containing newlines.
66217 # Ultrix sh set writes to stderr and can't be redirected directly,
66218 # and sets the high bit in the cache file unless we assign to the vars.
66219 (
66220 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66221 eval ac_val=\$$ac_var
66222 case $ac_val in #(
66223 *${as_nl}*)
66224 case $ac_var in #(
66225 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66226 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66227 esac
66228 case $ac_var in #(
66229 _ | IFS | as_nl) ;; #(
66230 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66231 *) { eval $ac_var=; unset $ac_var;} ;;
66232 esac ;;
66233 esac
66234 done
66235
66236 (set) 2>&1 |
66237 case $as_nl`(ac_space=' '; set) 2>&1` in #(
66238 *${as_nl}ac_space=\ *)
66239 # `set' does not quote correctly, so add quotes: double-quote
66240 # substitution turns \\\\ into \\, and sed turns \\ into \.
66241 sed -n \
66242 "s/'/'\\\\''/g;
66243 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66244 ;; #(
66245 *)
66246 # `set' quotes correctly as required by POSIX, so do not add quotes.
66247 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66248 ;;
66249 esac |
66250 sort
66251 ) |
66252 sed '
66253 /^ac_cv_env_/b end
66254 t clear
66255 :clear
66256 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66257 t end
66258 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66259 :end' >>confcache
66260 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66261 if test -w "$cache_file"; then
66262 test "x$cache_file" != "x/dev/null" &&
66263 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66264 $as_echo "$as_me: updating cache $cache_file" >&6;}
66265 cat confcache >$cache_file
66266 else
66267 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66268 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66269 fi
66270 fi
66271 rm -f confcache
66272
66273 test "x$prefix" = xNONE && prefix=$ac_default_prefix
66274 # Let make expand exec_prefix.
66275 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
66276
66277 DEFS=-DHAVE_CONFIG_H
66278
66279 ac_libobjs=
66280 ac_ltlibobjs=
66281 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
66282 # 1. Remove the extension, and $U if already installed.
66283 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
66284 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
66285 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
66286 # will be set to the directory where LIBOBJS objects are built.
66287 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
66288 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
66289 done
66290 LIBOBJS=$ac_libobjs
66291
66292 LTLIBOBJS=$ac_ltlibobjs
66293
66294
66295 if test -n "$EXEEXT"; then
66296 am__EXEEXT_TRUE=
66297 am__EXEEXT_FALSE='#'
66298 else
66299 am__EXEEXT_TRUE='#'
66300 am__EXEEXT_FALSE=
66301 fi
66302
66303 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
66304 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
66305 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66306 fi
66307 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
66308 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
66309 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66310 fi
66311 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
66312 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
66313 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66314 fi
66315 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
66316 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
66317 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66318 fi
66319 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
66320 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
66321 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66322 fi
66323 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
66324 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
66325 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66326 fi
66327 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
66328 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
66329 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66330 fi
66331 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
66332 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
66333 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66334 fi
66335 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
66336 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
66337 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66338 fi
66339 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
66340 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
66341 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66342 fi
66343 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
66344 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
66345 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66346 fi
66347 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
66348 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
66349 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66350 fi
66351 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
66352 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
66353 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66354 fi
66355 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
66356 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
66357 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66358 fi
66359 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
66360 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
66361 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66362 fi
66363 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
66364 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
66365 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66366 fi
66367 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
66368 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
66369 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66370 fi
66371 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
66372 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
66373 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66374 fi
66375 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
66376 as_fn_error "conditional \"BUILD_INFO\" was never defined.
66377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66378 fi
66379 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
66380 as_fn_error "conditional \"BUILD_XML\" was never defined.
66381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66382 fi
66383 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
66384 as_fn_error "conditional \"BUILD_HTML\" was never defined.
66385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66386 fi
66387 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
66388 as_fn_error "conditional \"BUILD_MAN\" was never defined.
66389 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66390 fi
66391 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
66392 as_fn_error "conditional \"BUILD_PDF\" was never defined.
66393 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66394 fi
66395 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
66396 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
66397 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66398 fi
66399
66400 : ${CONFIG_STATUS=./config.status}
66401 ac_write_fail=0
66402 ac_clean_files_save=$ac_clean_files
66403 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66404 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66405 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
66406 as_write_fail=0
66407 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
66408 #! $SHELL
66409 # Generated by $as_me.
66410 # Run this file to recreate the current configuration.
66411 # Compiler output produced by configure, useful for debugging
66412 # configure, is in config.log if it exists.
66413
66414 debug=false
66415 ac_cs_recheck=false
66416 ac_cs_silent=false
66417
66418 SHELL=\${CONFIG_SHELL-$SHELL}
66419 export SHELL
66420 _ASEOF
66421 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66422 ## -------------------- ##
66423 ## M4sh Initialization. ##
66424 ## -------------------- ##
66425
66426 # Be more Bourne compatible
66427 DUALCASE=1; export DUALCASE # for MKS sh
66428 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66429 emulate sh
66430 NULLCMD=:
66431 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
66432 # is contrary to our usage. Disable this feature.
66433 alias -g '${1+"$@"}'='"$@"'
66434 setopt NO_GLOB_SUBST
66435 else
66436 case `(set -o) 2>/dev/null` in #(
66437 *posix*) :
66438 set -o posix ;; #(
66439 *) :
66440 ;;
66441 esac
66442 fi
66443
66444
66445 as_nl='
66446 '
66447 export as_nl
66448 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66449 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66450 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66451 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66452 # Prefer a ksh shell builtin over an external printf program on Solaris,
66453 # but without wasting forks for bash or zsh.
66454 if test -z "$BASH_VERSION$ZSH_VERSION" \
66455 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66456 as_echo='print -r --'
66457 as_echo_n='print -rn --'
66458 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66459 as_echo='printf %s\n'
66460 as_echo_n='printf %s'
66461 else
66462 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66463 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66464 as_echo_n='/usr/ucb/echo -n'
66465 else
66466 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66467 as_echo_n_body='eval
66468 arg=$1;
66469 case $arg in #(
66470 *"$as_nl"*)
66471 expr "X$arg" : "X\\(.*\\)$as_nl";
66472 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66473 esac;
66474 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66475 '
66476 export as_echo_n_body
66477 as_echo_n='sh -c $as_echo_n_body as_echo'
66478 fi
66479 export as_echo_body
66480 as_echo='sh -c $as_echo_body as_echo'
66481 fi
66482
66483 # The user is always right.
66484 if test "${PATH_SEPARATOR+set}" != set; then
66485 PATH_SEPARATOR=:
66486 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66487 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66488 PATH_SEPARATOR=';'
66489 }
66490 fi
66491
66492
66493 # IFS
66494 # We need space, tab and new line, in precisely that order. Quoting is
66495 # there to prevent editors from complaining about space-tab.
66496 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66497 # splitting by setting IFS to empty value.)
66498 IFS=" "" $as_nl"
66499
66500 # Find who we are. Look in the path if we contain no directory separator.
66501 case $0 in #((
66502 *[\\/]* ) as_myself=$0 ;;
66503 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66504 for as_dir in $PATH
66505 do
66506 IFS=$as_save_IFS
66507 test -z "$as_dir" && as_dir=.
66508 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66509 done
66510 IFS=$as_save_IFS
66511
66512 ;;
66513 esac
66514 # We did not find ourselves, most probably we were run as `sh COMMAND'
66515 # in which case we are not to be found in the path.
66516 if test "x$as_myself" = x; then
66517 as_myself=$0
66518 fi
66519 if test ! -f "$as_myself"; then
66520 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66521 exit 1
66522 fi
66523
66524 # Unset variables that we do not need and which cause bugs (e.g. in
66525 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
66526 # suppresses any "Segmentation fault" message there. '((' could
66527 # trigger a bug in pdksh 5.2.14.
66528 for as_var in BASH_ENV ENV MAIL MAILPATH
66529 do eval test x\${$as_var+set} = xset \
66530 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66531 done
66532 PS1='$ '
66533 PS2='> '
66534 PS4='+ '
66535
66536 # NLS nuisances.
66537 LC_ALL=C
66538 export LC_ALL
66539 LANGUAGE=C
66540 export LANGUAGE
66541
66542 # CDPATH.
66543 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66544
66545
66546 # as_fn_error ERROR [LINENO LOG_FD]
66547 # ---------------------------------
66548 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66549 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66550 # script with status $?, using 1 if that was 0.
66551 as_fn_error ()
66552 {
66553 as_status=$?; test $as_status -eq 0 && as_status=1
66554 if test "$3"; then
66555 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66556 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66557 fi
66558 $as_echo "$as_me: error: $1" >&2
66559 as_fn_exit $as_status
66560 } # as_fn_error
66561
66562
66563 # as_fn_set_status STATUS
66564 # -----------------------
66565 # Set $? to STATUS, without forking.
66566 as_fn_set_status ()
66567 {
66568 return $1
66569 } # as_fn_set_status
66570
66571 # as_fn_exit STATUS
66572 # -----------------
66573 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66574 as_fn_exit ()
66575 {
66576 set +e
66577 as_fn_set_status $1
66578 exit $1
66579 } # as_fn_exit
66580
66581 # as_fn_unset VAR
66582 # ---------------
66583 # Portably unset VAR.
66584 as_fn_unset ()
66585 {
66586 { eval $1=; unset $1;}
66587 }
66588 as_unset=as_fn_unset
66589 # as_fn_append VAR VALUE
66590 # ----------------------
66591 # Append the text in VALUE to the end of the definition contained in VAR. Take
66592 # advantage of any shell optimizations that allow amortized linear growth over
66593 # repeated appends, instead of the typical quadratic growth present in naive
66594 # implementations.
66595 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66596 eval 'as_fn_append ()
66597 {
66598 eval $1+=\$2
66599 }'
66600 else
66601 as_fn_append ()
66602 {
66603 eval $1=\$$1\$2
66604 }
66605 fi # as_fn_append
66606
66607 # as_fn_arith ARG...
66608 # ------------------
66609 # Perform arithmetic evaluation on the ARGs, and store the result in the
66610 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66611 # must be portable across $(()) and expr.
66612 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66613 eval 'as_fn_arith ()
66614 {
66615 as_val=$(( $* ))
66616 }'
66617 else
66618 as_fn_arith ()
66619 {
66620 as_val=`expr "$@" || test $? -eq 1`
66621 }
66622 fi # as_fn_arith
66623
66624
66625 if expr a : '\(a\)' >/dev/null 2>&1 &&
66626 test "X`expr 00001 : '.*\(...\)'`" = X001; then
66627 as_expr=expr
66628 else
66629 as_expr=false
66630 fi
66631
66632 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66633 as_basename=basename
66634 else
66635 as_basename=false
66636 fi
66637
66638 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66639 as_dirname=dirname
66640 else
66641 as_dirname=false
66642 fi
66643
66644 as_me=`$as_basename -- "$0" ||
66645 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66646 X"$0" : 'X\(//\)$' \| \
66647 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66648 $as_echo X/"$0" |
66649 sed '/^.*\/\([^/][^/]*\)\/*$/{
66650 s//\1/
66651 q
66652 }
66653 /^X\/\(\/\/\)$/{
66654 s//\1/
66655 q
66656 }
66657 /^X\/\(\/\).*/{
66658 s//\1/
66659 q
66660 }
66661 s/.*/./; q'`
66662
66663 # Avoid depending upon Character Ranges.
66664 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66665 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66666 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66667 as_cr_digits='0123456789'
66668 as_cr_alnum=$as_cr_Letters$as_cr_digits
66669
66670 ECHO_C= ECHO_N= ECHO_T=
66671 case `echo -n x` in #(((((
66672 -n*)
66673 case `echo 'xy\c'` in
66674 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66675 xy) ECHO_C='\c';;
66676 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
66677 ECHO_T=' ';;
66678 esac;;
66679 *)
66680 ECHO_N='-n';;
66681 esac
66682
66683 rm -f conf$$ conf$$.exe conf$$.file
66684 if test -d conf$$.dir; then
66685 rm -f conf$$.dir/conf$$.file
66686 else
66687 rm -f conf$$.dir
66688 mkdir conf$$.dir 2>/dev/null
66689 fi
66690 if (echo >conf$$.file) 2>/dev/null; then
66691 if ln -s conf$$.file conf$$ 2>/dev/null; then
66692 as_ln_s='ln -s'
66693 # ... but there are two gotchas:
66694 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66695 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66696 # In both cases, we have to default to `cp -p'.
66697 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66698 as_ln_s='cp -p'
66699 elif ln conf$$.file conf$$ 2>/dev/null; then
66700 as_ln_s=ln
66701 else
66702 as_ln_s='cp -p'
66703 fi
66704 else
66705 as_ln_s='cp -p'
66706 fi
66707 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66708 rmdir conf$$.dir 2>/dev/null
66709
66710
66711 # as_fn_mkdir_p
66712 # -------------
66713 # Create "$as_dir" as a directory, including parents if necessary.
66714 as_fn_mkdir_p ()
66715 {
66716
66717 case $as_dir in #(
66718 -*) as_dir=./$as_dir;;
66719 esac
66720 test -d "$as_dir" || eval $as_mkdir_p || {
66721 as_dirs=
66722 while :; do
66723 case $as_dir in #(
66724 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66725 *) as_qdir=$as_dir;;
66726 esac
66727 as_dirs="'$as_qdir' $as_dirs"
66728 as_dir=`$as_dirname -- "$as_dir" ||
66729 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66730 X"$as_dir" : 'X\(//\)[^/]' \| \
66731 X"$as_dir" : 'X\(//\)$' \| \
66732 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66733 $as_echo X"$as_dir" |
66734 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66735 s//\1/
66736 q
66737 }
66738 /^X\(\/\/\)[^/].*/{
66739 s//\1/
66740 q
66741 }
66742 /^X\(\/\/\)$/{
66743 s//\1/
66744 q
66745 }
66746 /^X\(\/\).*/{
66747 s//\1/
66748 q
66749 }
66750 s/.*/./; q'`
66751 test -d "$as_dir" && break
66752 done
66753 test -z "$as_dirs" || eval "mkdir $as_dirs"
66754 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66755
66756
66757 } # as_fn_mkdir_p
66758 if mkdir -p . 2>/dev/null; then
66759 as_mkdir_p='mkdir -p "$as_dir"'
66760 else
66761 test -d ./-p && rmdir ./-p
66762 as_mkdir_p=false
66763 fi
66764
66765 if test -x / >/dev/null 2>&1; then
66766 as_test_x='test -x'
66767 else
66768 if ls -dL / >/dev/null 2>&1; then
66769 as_ls_L_option=L
66770 else
66771 as_ls_L_option=
66772 fi
66773 as_test_x='
66774 eval sh -c '\''
66775 if test -d "$1"; then
66776 test -d "$1/.";
66777 else
66778 case $1 in #(
66779 -*)set "./$1";;
66780 esac;
66781 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66782 ???[sx]*):;;*)false;;esac;fi
66783 '\'' sh
66784 '
66785 fi
66786 as_executable_p=$as_test_x
66787
66788 # Sed expression to map a string onto a valid CPP name.
66789 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
66790
66791 # Sed expression to map a string onto a valid variable name.
66792 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
66793
66794
66795 exec 6>&1
66796 ## ----------------------------------- ##
66797 ## Main body of $CONFIG_STATUS script. ##
66798 ## ----------------------------------- ##
66799 _ASEOF
66800 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
66801
66802 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66803 # Save the log message, to keep $0 and so on meaningful, and to
66804 # report actual input values of CONFIG_FILES etc. instead of their
66805 # values after options handling.
66806 ac_log="
66807 This file was extended by package-unused $as_me version-unused, which was
66808 generated by GNU Autoconf 2.64. Invocation command line was
66809
66810 CONFIG_FILES = $CONFIG_FILES
66811 CONFIG_HEADERS = $CONFIG_HEADERS
66812 CONFIG_LINKS = $CONFIG_LINKS
66813 CONFIG_COMMANDS = $CONFIG_COMMANDS
66814 $ $0 $@
66815
66816 on `(hostname || uname -n) 2>/dev/null | sed 1q`
66817 "
66818
66819 _ACEOF
66820
66821 case $ac_config_files in *"
66822 "*) set x $ac_config_files; shift; ac_config_files=$*;;
66823 esac
66824
66825 case $ac_config_headers in *"
66826 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
66827 esac
66828
66829
66830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66831 # Files that config.status was made for.
66832 config_files="$ac_config_files"
66833 config_headers="$ac_config_headers"
66834 config_commands="$ac_config_commands"
66835
66836 _ACEOF
66837
66838 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66839 ac_cs_usage="\
66840 \`$as_me' instantiates files and other configuration actions
66841 from templates according to the current configuration. Unless the files
66842 and actions are specified as TAGs, all are instantiated by default.
66843
66844 Usage: $0 [OPTION]... [TAG]...
66845
66846 -h, --help print this help, then exit
66847 -V, --version print version number and configuration settings, then exit
66848 -q, --quiet, --silent
66849 do not print progress messages
66850 -d, --debug don't remove temporary files
66851 --recheck update $as_me by reconfiguring in the same conditions
66852 --file=FILE[:TEMPLATE]
66853 instantiate the configuration file FILE
66854 --header=FILE[:TEMPLATE]
66855 instantiate the configuration header FILE
66856
66857 Configuration files:
66858 $config_files
66859
66860 Configuration headers:
66861 $config_headers
66862
66863 Configuration commands:
66864 $config_commands
66865
66866 Report bugs to the package provider."
66867
66868 _ACEOF
66869 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66870 ac_cs_version="\\
66871 package-unused config.status version-unused
66872 configured by $0, generated by GNU Autoconf 2.64,
66873 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
66874
66875 Copyright (C) 2009 Free Software Foundation, Inc.
66876 This config.status script is free software; the Free Software Foundation
66877 gives unlimited permission to copy, distribute and modify it."
66878
66879 ac_pwd='$ac_pwd'
66880 srcdir='$srcdir'
66881 INSTALL='$INSTALL'
66882 MKDIR_P='$MKDIR_P'
66883 AWK='$AWK'
66884 test -n "\$AWK" || AWK=awk
66885 _ACEOF
66886
66887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66888 # The default lists apply if the user does not specify any file.
66889 ac_need_defaults=:
66890 while test $# != 0
66891 do
66892 case $1 in
66893 --*=*)
66894 ac_option=`expr "X$1" : 'X\([^=]*\)='`
66895 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
66896 ac_shift=:
66897 ;;
66898 *)
66899 ac_option=$1
66900 ac_optarg=$2
66901 ac_shift=shift
66902 ;;
66903 esac
66904
66905 case $ac_option in
66906 # Handling of the options.
66907 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
66908 ac_cs_recheck=: ;;
66909 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
66910 $as_echo "$ac_cs_version"; exit ;;
66911 --debug | --debu | --deb | --de | --d | -d )
66912 debug=: ;;
66913 --file | --fil | --fi | --f )
66914 $ac_shift
66915 case $ac_optarg in
66916 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66917 esac
66918 as_fn_append CONFIG_FILES " '$ac_optarg'"
66919 ac_need_defaults=false;;
66920 --header | --heade | --head | --hea )
66921 $ac_shift
66922 case $ac_optarg in
66923 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
66924 esac
66925 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
66926 ac_need_defaults=false;;
66927 --he | --h)
66928 # Conflict between --help and --header
66929 as_fn_error "ambiguous option: \`$1'
66930 Try \`$0 --help' for more information.";;
66931 --help | --hel | -h )
66932 $as_echo "$ac_cs_usage"; exit ;;
66933 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
66934 | -silent | --silent | --silen | --sile | --sil | --si | --s)
66935 ac_cs_silent=: ;;
66936
66937 # This is an error.
66938 -*) as_fn_error "unrecognized option: \`$1'
66939 Try \`$0 --help' for more information." ;;
66940
66941 *) as_fn_append ac_config_targets " $1"
66942 ac_need_defaults=false ;;
66943
66944 esac
66945 shift
66946 done
66947
66948 ac_configure_extra_args=
66949
66950 if $ac_cs_silent; then
66951 exec 6>/dev/null
66952 ac_configure_extra_args="$ac_configure_extra_args --silent"
66953 fi
66954
66955 _ACEOF
66956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66957 if \$ac_cs_recheck; then
66958 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
66959 shift
66960 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
66961 CONFIG_SHELL='$SHELL'
66962 export CONFIG_SHELL
66963 exec "\$@"
66964 fi
66965
66966 _ACEOF
66967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
66968 exec 5>>config.log
66969 {
66970 echo
66971 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
66972 ## Running $as_me. ##
66973 _ASBOX
66974 $as_echo "$ac_log"
66975 } >&5
66976
66977 _ACEOF
66978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
66979 #
66980 # INIT-COMMANDS
66981 #
66982
66983 srcdir="$srcdir"
66984 host="$host"
66985 target="$target"
66986 with_multisubdir="$with_multisubdir"
66987 with_multisrctop="$with_multisrctop"
66988 with_target_subdir="$with_target_subdir"
66989 ac_configure_args="${multilib_arg} ${ac_configure_args}"
66990 multi_basedir="$multi_basedir"
66991 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
66992 CC="$CC"
66993 CXX="$CXX"
66994 GFORTRAN="$GFORTRAN"
66995 GCJ="$GCJ"
66996
66997
66998 # The HP-UX ksh and POSIX shell print the target directory to stdout
66999 # if CDPATH is set.
67000 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
67001
67002 sed_quote_subst='$sed_quote_subst'
67003 double_quote_subst='$double_quote_subst'
67004 delay_variable_subst='$delay_variable_subst'
67005 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
67006 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
67007 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
67008 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
67009 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
67010 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
67011 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
67012 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
67013 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
67014 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
67015 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
67016 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
67017 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
67018 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
67019 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
67020 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
67021 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
67022 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
67023 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
67024 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
67025 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
67026 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
67027 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
67028 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
67029 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
67030 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
67031 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
67032 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
67033 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
67034 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
67035 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
67036 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
67037 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
67038 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
67039 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
67040 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
67041 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
67042 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67043 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67044 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
67045 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
67046 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
67047 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
67048 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
67049 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
67050 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
67051 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
67052 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
67053 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"`'
67054 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
67055 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
67056 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
67057 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
67058 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
67059 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
67060 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
67061 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
67062 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
67063 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
67064 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
67065 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
67066 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
67067 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
67068 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
67069 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67070 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
67071 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
67072 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
67073 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
67074 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
67075 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
67076 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67077 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
67078 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67079 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
67080 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67081 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
67082 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
67083 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
67084 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
67085 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
67086 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
67087 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
67088 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
67089 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
67090 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
67091 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
67092 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
67093 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
67094 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
67095 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
67096 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
67097 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
67098 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
67099 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
67100 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
67101 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
67102 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
67103 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
67104 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
67105 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
67106 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
67107 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
67108 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
67109 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
67110 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
67111 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
67112 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67113 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67114 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
67115 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
67116 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
67117 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
67118 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
67119 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
67120 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
67121 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
67122 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
67123 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
67124 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
67125 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
67126 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
67127 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
67128 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
67129 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
67130 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
67131 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
67132 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
67133 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67134 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67135 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
67136 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
67137 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
67138 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
67139 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
67140 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
67141 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
67142 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
67143 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
67144 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67145 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67146 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
67147 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67148 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67149 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67150 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67151 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67152 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67153 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
67154 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67155 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67156 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67157 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
67158 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
67159 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
67160 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
67161 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
67162 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
67163 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
67164 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
67165 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
67166 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
67167 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
67168 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67169 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67170 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67171 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67172 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
67173 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
67174 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
67175 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67176 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67177 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
67178 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
67179 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
67180
67181 LTCC='$LTCC'
67182 LTCFLAGS='$LTCFLAGS'
67183 compiler='$compiler_DEFAULT'
67184
67185 # A function that is used when there is no print builtin or printf.
67186 func_fallback_echo ()
67187 {
67188 eval 'cat <<_LTECHO_EOF
67189 \$1
67190 _LTECHO_EOF'
67191 }
67192
67193 # Quote evaled strings.
67194 for var in SHELL \
67195 ECHO \
67196 SED \
67197 GREP \
67198 EGREP \
67199 FGREP \
67200 LD \
67201 NM \
67202 LN_S \
67203 lt_SP2NL \
67204 lt_NL2SP \
67205 reload_flag \
67206 OBJDUMP \
67207 deplibs_check_method \
67208 file_magic_cmd \
67209 AR \
67210 AR_FLAGS \
67211 STRIP \
67212 RANLIB \
67213 CC \
67214 CFLAGS \
67215 compiler \
67216 lt_cv_sys_global_symbol_pipe \
67217 lt_cv_sys_global_symbol_to_cdecl \
67218 lt_cv_sys_global_symbol_to_c_name_address \
67219 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
67220 lt_prog_compiler_no_builtin_flag \
67221 lt_prog_compiler_wl \
67222 lt_prog_compiler_pic \
67223 lt_prog_compiler_static \
67224 lt_cv_prog_compiler_c_o \
67225 need_locks \
67226 DSYMUTIL \
67227 NMEDIT \
67228 LIPO \
67229 OTOOL \
67230 OTOOL64 \
67231 shrext_cmds \
67232 export_dynamic_flag_spec \
67233 whole_archive_flag_spec \
67234 compiler_needs_object \
67235 with_gnu_ld \
67236 allow_undefined_flag \
67237 no_undefined_flag \
67238 hardcode_libdir_flag_spec \
67239 hardcode_libdir_flag_spec_ld \
67240 hardcode_libdir_separator \
67241 fix_srcfile_path \
67242 exclude_expsyms \
67243 include_expsyms \
67244 file_list_spec \
67245 variables_saved_for_relink \
67246 libname_spec \
67247 library_names_spec \
67248 soname_spec \
67249 install_override_mode \
67250 finish_eval \
67251 old_striplib \
67252 striplib \
67253 compiler_lib_search_dirs \
67254 predep_objects \
67255 postdep_objects \
67256 predeps \
67257 postdeps \
67258 compiler_lib_search_path \
67259 LD_CXX \
67260 reload_flag_CXX \
67261 compiler_CXX \
67262 lt_prog_compiler_no_builtin_flag_CXX \
67263 lt_prog_compiler_wl_CXX \
67264 lt_prog_compiler_pic_CXX \
67265 lt_prog_compiler_static_CXX \
67266 lt_cv_prog_compiler_c_o_CXX \
67267 export_dynamic_flag_spec_CXX \
67268 whole_archive_flag_spec_CXX \
67269 compiler_needs_object_CXX \
67270 with_gnu_ld_CXX \
67271 allow_undefined_flag_CXX \
67272 no_undefined_flag_CXX \
67273 hardcode_libdir_flag_spec_CXX \
67274 hardcode_libdir_flag_spec_ld_CXX \
67275 hardcode_libdir_separator_CXX \
67276 fix_srcfile_path_CXX \
67277 exclude_expsyms_CXX \
67278 include_expsyms_CXX \
67279 file_list_spec_CXX \
67280 compiler_lib_search_dirs_CXX \
67281 predep_objects_CXX \
67282 postdep_objects_CXX \
67283 predeps_CXX \
67284 postdeps_CXX \
67285 compiler_lib_search_path_CXX; do
67286 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67287 *[\\\\\\\`\\"\\\$]*)
67288 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
67289 ;;
67290 *)
67291 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67292 ;;
67293 esac
67294 done
67295
67296 # Double-quote double-evaled strings.
67297 for var in reload_cmds \
67298 old_postinstall_cmds \
67299 old_postuninstall_cmds \
67300 old_archive_cmds \
67301 extract_expsyms_cmds \
67302 old_archive_from_new_cmds \
67303 old_archive_from_expsyms_cmds \
67304 archive_cmds \
67305 archive_expsym_cmds \
67306 module_cmds \
67307 module_expsym_cmds \
67308 export_symbols_cmds \
67309 prelink_cmds \
67310 postinstall_cmds \
67311 postuninstall_cmds \
67312 finish_cmds \
67313 sys_lib_search_path_spec \
67314 sys_lib_dlsearch_path_spec \
67315 reload_cmds_CXX \
67316 old_archive_cmds_CXX \
67317 old_archive_from_new_cmds_CXX \
67318 old_archive_from_expsyms_cmds_CXX \
67319 archive_cmds_CXX \
67320 archive_expsym_cmds_CXX \
67321 module_cmds_CXX \
67322 module_expsym_cmds_CXX \
67323 export_symbols_cmds_CXX \
67324 prelink_cmds_CXX; do
67325 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67326 *[\\\\\\\`\\"\\\$]*)
67327 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
67328 ;;
67329 *)
67330 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67331 ;;
67332 esac
67333 done
67334
67335 ac_aux_dir='$ac_aux_dir'
67336 xsi_shell='$xsi_shell'
67337 lt_shell_append='$lt_shell_append'
67338
67339 # See if we are running on zsh, and set the options which allow our
67340 # commands through without removal of \ escapes INIT.
67341 if test -n "\${ZSH_VERSION+set}" ; then
67342 setopt NO_GLOB_SUBST
67343 fi
67344
67345
67346 PACKAGE='$PACKAGE'
67347 VERSION='$VERSION'
67348 TIMESTAMP='$TIMESTAMP'
67349 RM='$RM'
67350 ofile='$ofile'
67351
67352
67353
67354
67355
67356
67357 GCC="$GCC"
67358 CC="$CC"
67359 acx_cv_header_stdint="$acx_cv_header_stdint"
67360 acx_cv_type_int8_t="$acx_cv_type_int8_t"
67361 acx_cv_type_int16_t="$acx_cv_type_int16_t"
67362 acx_cv_type_int32_t="$acx_cv_type_int32_t"
67363 acx_cv_type_int64_t="$acx_cv_type_int64_t"
67364 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
67365 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
67366 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
67367 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
67368 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
67369 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
67370 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
67371 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
67372 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
67373
67374
67375 _ACEOF
67376
67377 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67378
67379 # Handling of arguments.
67380 for ac_config_target in $ac_config_targets
67381 do
67382 case $ac_config_target in
67383 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67384 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
67385 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
67386 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
67387 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67388 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
67389 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
67390 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
67391 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
67392 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
67393 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
67394 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
67395 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
67396 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
67397 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
67398
67399 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
67400 esac
67401 done
67402
67403
67404 # If the user did not use the arguments to specify the items to instantiate,
67405 # then the envvar interface is used. Set only those that are not.
67406 # We use the long form for the default assignment because of an extremely
67407 # bizarre bug on SunOS 4.1.3.
67408 if $ac_need_defaults; then
67409 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
67410 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
67411 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
67412 fi
67413
67414 # Have a temporary directory for convenience. Make it in the build tree
67415 # simply because there is no reason against having it here, and in addition,
67416 # creating and moving files from /tmp can sometimes cause problems.
67417 # Hook for its removal unless debugging.
67418 # Note that there is a small window in which the directory will not be cleaned:
67419 # after its creation but before its name has been assigned to `$tmp'.
67420 $debug ||
67421 {
67422 tmp=
67423 trap 'exit_status=$?
67424 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67425 ' 0
67426 trap 'as_fn_exit 1' 1 2 13 15
67427 }
67428 # Create a (secure) tmp directory for tmp files.
67429
67430 {
67431 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67432 test -n "$tmp" && test -d "$tmp"
67433 } ||
67434 {
67435 tmp=./conf$$-$RANDOM
67436 (umask 077 && mkdir "$tmp")
67437 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
67438
67439 # Set up the scripts for CONFIG_FILES section.
67440 # No need to generate them if there are no CONFIG_FILES.
67441 # This happens for instance with `./config.status config.h'.
67442 if test -n "$CONFIG_FILES"; then
67443
67444
67445 ac_cr=`echo X | tr X '\015'`
67446 # On cygwin, bash can eat \r inside `` if the user requested igncr.
67447 # But we know of no other shell where ac_cr would be empty at this
67448 # point, so we can use a bashism as a fallback.
67449 if test "x$ac_cr" = x; then
67450 eval ac_cr=\$\'\\r\'
67451 fi
67452 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67453 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67454 ac_cs_awk_cr='\r'
67455 else
67456 ac_cs_awk_cr=$ac_cr
67457 fi
67458
67459 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67460 _ACEOF
67461
67462
67463 {
67464 echo "cat >conf$$subs.awk <<_ACEOF" &&
67465 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67466 echo "_ACEOF"
67467 } >conf$$subs.sh ||
67468 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67469 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67470 ac_delim='%!_!# '
67471 for ac_last_try in false false false false false :; do
67472 . ./conf$$subs.sh ||
67473 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67474
67475 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67476 if test $ac_delim_n = $ac_delim_num; then
67477 break
67478 elif $ac_last_try; then
67479 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67480 else
67481 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67482 fi
67483 done
67484 rm -f conf$$subs.sh
67485
67486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67487 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67488 _ACEOF
67489 sed -n '
67490 h
67491 s/^/S["/; s/!.*/"]=/
67492 p
67493 g
67494 s/^[^!]*!//
67495 :repl
67496 t repl
67497 s/'"$ac_delim"'$//
67498 t delim
67499 :nl
67500 h
67501 s/\(.\{148\}\).*/\1/
67502 t more1
67503 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67504 p
67505 n
67506 b repl
67507 :more1
67508 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67509 p
67510 g
67511 s/.\{148\}//
67512 t nl
67513 :delim
67514 h
67515 s/\(.\{148\}\).*/\1/
67516 t more2
67517 s/["\\]/\\&/g; s/^/"/; s/$/"/
67518 p
67519 b
67520 :more2
67521 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67522 p
67523 g
67524 s/.\{148\}//
67525 t delim
67526 ' <conf$$subs.awk | sed '
67527 /^[^""]/{
67528 N
67529 s/\n//
67530 }
67531 ' >>$CONFIG_STATUS || ac_write_fail=1
67532 rm -f conf$$subs.awk
67533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67534 _ACAWK
67535 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67536 for (key in S) S_is_set[key] = 1
67537 FS = "\a"
67538
67539 }
67540 {
67541 line = $ 0
67542 nfields = split(line, field, "@")
67543 substed = 0
67544 len = length(field[1])
67545 for (i = 2; i < nfields; i++) {
67546 key = field[i]
67547 keylen = length(key)
67548 if (S_is_set[key]) {
67549 value = S[key]
67550 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67551 len += length(value) + length(field[++i])
67552 substed = 1
67553 } else
67554 len += 1 + keylen
67555 }
67556
67557 print line
67558 }
67559
67560 _ACAWK
67561 _ACEOF
67562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67563 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67564 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67565 else
67566 cat
67567 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67568 || as_fn_error "could not setup config files machinery" "$LINENO" 5
67569 _ACEOF
67570
67571 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67572 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67573 # trailing colons and then remove the whole line if VPATH becomes empty
67574 # (actually we leave an empty line to preserve line numbers).
67575 if test "x$srcdir" = x.; then
67576 ac_vpsub='/^[ ]*VPATH[ ]*=/{
67577 s/:*\$(srcdir):*/:/
67578 s/:*\${srcdir}:*/:/
67579 s/:*@srcdir@:*/:/
67580 s/^\([^=]*=[ ]*\):*/\1/
67581 s/:*$//
67582 s/^[^=]*=[ ]*$//
67583 }'
67584 fi
67585
67586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67587 fi # test -n "$CONFIG_FILES"
67588
67589 # Set up the scripts for CONFIG_HEADERS section.
67590 # No need to generate them if there are no CONFIG_HEADERS.
67591 # This happens for instance with `./config.status Makefile'.
67592 if test -n "$CONFIG_HEADERS"; then
67593 cat >"$tmp/defines.awk" <<\_ACAWK ||
67594 BEGIN {
67595 _ACEOF
67596
67597 # Transform confdefs.h into an awk script `defines.awk', embedded as
67598 # here-document in config.status, that substitutes the proper values into
67599 # config.h.in to produce config.h.
67600
67601 # Create a delimiter string that does not exist in confdefs.h, to ease
67602 # handling of long lines.
67603 ac_delim='%!_!# '
67604 for ac_last_try in false false :; do
67605 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67606 if test -z "$ac_t"; then
67607 break
67608 elif $ac_last_try; then
67609 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67610 else
67611 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67612 fi
67613 done
67614
67615 # For the awk script, D is an array of macro values keyed by name,
67616 # likewise P contains macro parameters if any. Preserve backslash
67617 # newline sequences.
67618
67619 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67620 sed -n '
67621 s/.\{148\}/&'"$ac_delim"'/g
67622 t rset
67623 :rset
67624 s/^[ ]*#[ ]*define[ ][ ]*/ /
67625 t def
67626 d
67627 :def
67628 s/\\$//
67629 t bsnl
67630 s/["\\]/\\&/g
67631 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67632 D["\1"]=" \3"/p
67633 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
67634 d
67635 :bsnl
67636 s/["\\]/\\&/g
67637 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67638 D["\1"]=" \3\\\\\\n"\\/p
67639 t cont
67640 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67641 t cont
67642 d
67643 :cont
67644 n
67645 s/.\{148\}/&'"$ac_delim"'/g
67646 t clear
67647 :clear
67648 s/\\$//
67649 t bsnlc
67650 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67651 d
67652 :bsnlc
67653 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67654 b cont
67655 ' <confdefs.h | sed '
67656 s/'"$ac_delim"'/"\\\
67657 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67658
67659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67660 for (key in D) D_is_set[key] = 1
67661 FS = "\a"
67662 }
67663 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67664 line = \$ 0
67665 split(line, arg, " ")
67666 if (arg[1] == "#") {
67667 defundef = arg[2]
67668 mac1 = arg[3]
67669 } else {
67670 defundef = substr(arg[1], 2)
67671 mac1 = arg[2]
67672 }
67673 split(mac1, mac2, "(") #)
67674 macro = mac2[1]
67675 prefix = substr(line, 1, index(line, defundef) - 1)
67676 if (D_is_set[macro]) {
67677 # Preserve the white space surrounding the "#".
67678 print prefix "define", macro P[macro] D[macro]
67679 next
67680 } else {
67681 # Replace #undef with comments. This is necessary, for example,
67682 # in the case of _POSIX_SOURCE, which is predefined and required
67683 # on some systems where configure will not decide to define it.
67684 if (defundef == "undef") {
67685 print "/*", prefix defundef, macro, "*/"
67686 next
67687 }
67688 }
67689 }
67690 { print }
67691 _ACAWK
67692 _ACEOF
67693 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67694 as_fn_error "could not setup config headers machinery" "$LINENO" 5
67695 fi # test -n "$CONFIG_HEADERS"
67696
67697
67698 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
67699 shift
67700 for ac_tag
67701 do
67702 case $ac_tag in
67703 :[FHLC]) ac_mode=$ac_tag; continue;;
67704 esac
67705 case $ac_mode$ac_tag in
67706 :[FHL]*:*);;
67707 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67708 :[FH]-) ac_tag=-:-;;
67709 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67710 esac
67711 ac_save_IFS=$IFS
67712 IFS=:
67713 set x $ac_tag
67714 IFS=$ac_save_IFS
67715 shift
67716 ac_file=$1
67717 shift
67718
67719 case $ac_mode in
67720 :L) ac_source=$1;;
67721 :[FH])
67722 ac_file_inputs=
67723 for ac_f
67724 do
67725 case $ac_f in
67726 -) ac_f="$tmp/stdin";;
67727 *) # Look for the file first in the build tree, then in the source tree
67728 # (if the path is not absolute). The absolute path cannot be DOS-style,
67729 # because $ac_f cannot contain `:'.
67730 test -f "$ac_f" ||
67731 case $ac_f in
67732 [\\/$]*) false;;
67733 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67734 esac ||
67735 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67736 esac
67737 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67738 as_fn_append ac_file_inputs " '$ac_f'"
67739 done
67740
67741 # Let's still pretend it is `configure' which instantiates (i.e., don't
67742 # use $as_me), people would be surprised to read:
67743 # /* config.h. Generated by config.status. */
67744 configure_input='Generated from '`
67745 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67746 `' by configure.'
67747 if test x"$ac_file" != x-; then
67748 configure_input="$ac_file. $configure_input"
67749 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67750 $as_echo "$as_me: creating $ac_file" >&6;}
67751 fi
67752 # Neutralize special characters interpreted by sed in replacement strings.
67753 case $configure_input in #(
67754 *\&* | *\|* | *\\* )
67755 ac_sed_conf_input=`$as_echo "$configure_input" |
67756 sed 's/[\\\\&|]/\\\\&/g'`;; #(
67757 *) ac_sed_conf_input=$configure_input;;
67758 esac
67759
67760 case $ac_tag in
67761 *:-:* | *:-) cat >"$tmp/stdin" \
67762 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67763 esac
67764 ;;
67765 esac
67766
67767 ac_dir=`$as_dirname -- "$ac_file" ||
67768 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67769 X"$ac_file" : 'X\(//\)[^/]' \| \
67770 X"$ac_file" : 'X\(//\)$' \| \
67771 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67772 $as_echo X"$ac_file" |
67773 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67774 s//\1/
67775 q
67776 }
67777 /^X\(\/\/\)[^/].*/{
67778 s//\1/
67779 q
67780 }
67781 /^X\(\/\/\)$/{
67782 s//\1/
67783 q
67784 }
67785 /^X\(\/\).*/{
67786 s//\1/
67787 q
67788 }
67789 s/.*/./; q'`
67790 as_dir="$ac_dir"; as_fn_mkdir_p
67791 ac_builddir=.
67792
67793 case "$ac_dir" in
67794 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
67795 *)
67796 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
67797 # A ".." for each directory in $ac_dir_suffix.
67798 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
67799 case $ac_top_builddir_sub in
67800 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
67801 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
67802 esac ;;
67803 esac
67804 ac_abs_top_builddir=$ac_pwd
67805 ac_abs_builddir=$ac_pwd$ac_dir_suffix
67806 # for backward compatibility:
67807 ac_top_builddir=$ac_top_build_prefix
67808
67809 case $srcdir in
67810 .) # We are building in place.
67811 ac_srcdir=.
67812 ac_top_srcdir=$ac_top_builddir_sub
67813 ac_abs_top_srcdir=$ac_pwd ;;
67814 [\\/]* | ?:[\\/]* ) # Absolute name.
67815 ac_srcdir=$srcdir$ac_dir_suffix;
67816 ac_top_srcdir=$srcdir
67817 ac_abs_top_srcdir=$srcdir ;;
67818 *) # Relative name.
67819 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
67820 ac_top_srcdir=$ac_top_build_prefix$srcdir
67821 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
67822 esac
67823 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
67824
67825
67826 case $ac_mode in
67827 :F)
67828 #
67829 # CONFIG_FILE
67830 #
67831
67832 case $INSTALL in
67833 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
67834 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
67835 esac
67836 ac_MKDIR_P=$MKDIR_P
67837 case $MKDIR_P in
67838 [\\/$]* | ?:[\\/]* ) ;;
67839 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
67840 esac
67841 _ACEOF
67842
67843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67844 # If the template does not know about datarootdir, expand it.
67845 # FIXME: This hack should be removed a few years after 2.60.
67846 ac_datarootdir_hack=; ac_datarootdir_seen=
67847 ac_sed_dataroot='
67848 /datarootdir/ {
67849 p
67850 q
67851 }
67852 /@datadir@/p
67853 /@docdir@/p
67854 /@infodir@/p
67855 /@localedir@/p
67856 /@mandir@/p'
67857 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
67858 *datarootdir*) ac_datarootdir_seen=yes;;
67859 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
67860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
67861 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
67862 _ACEOF
67863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67864 ac_datarootdir_hack='
67865 s&@datadir@&$datadir&g
67866 s&@docdir@&$docdir&g
67867 s&@infodir@&$infodir&g
67868 s&@localedir@&$localedir&g
67869 s&@mandir@&$mandir&g
67870 s&\\\${datarootdir}&$datarootdir&g' ;;
67871 esac
67872 _ACEOF
67873
67874 # Neutralize VPATH when `$srcdir' = `.'.
67875 # Shell code in configure.ac might set extrasub.
67876 # FIXME: do we really want to maintain this feature?
67877 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67878 ac_sed_extra="$ac_vpsub
67879 $extrasub
67880 _ACEOF
67881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67882 :t
67883 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
67884 s|@configure_input@|$ac_sed_conf_input|;t t
67885 s&@top_builddir@&$ac_top_builddir_sub&;t t
67886 s&@top_build_prefix@&$ac_top_build_prefix&;t t
67887 s&@srcdir@&$ac_srcdir&;t t
67888 s&@abs_srcdir@&$ac_abs_srcdir&;t t
67889 s&@top_srcdir@&$ac_top_srcdir&;t t
67890 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
67891 s&@builddir@&$ac_builddir&;t t
67892 s&@abs_builddir@&$ac_abs_builddir&;t t
67893 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
67894 s&@INSTALL@&$ac_INSTALL&;t t
67895 s&@MKDIR_P@&$ac_MKDIR_P&;t t
67896 $ac_datarootdir_hack
67897 "
67898 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
67899 || as_fn_error "could not create $ac_file" "$LINENO" 5
67900
67901 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
67902 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
67903 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
67904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67905 which seems to be undefined. Please make sure it is defined." >&5
67906 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
67907 which seems to be undefined. Please make sure it is defined." >&2;}
67908
67909 rm -f "$tmp/stdin"
67910 case $ac_file in
67911 -) cat "$tmp/out" && rm -f "$tmp/out";;
67912 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
67913 esac \
67914 || as_fn_error "could not create $ac_file" "$LINENO" 5
67915 ;;
67916 :H)
67917 #
67918 # CONFIG_HEADER
67919 #
67920 if test x"$ac_file" != x-; then
67921 {
67922 $as_echo "/* $configure_input */" \
67923 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
67924 } >"$tmp/config.h" \
67925 || as_fn_error "could not create $ac_file" "$LINENO" 5
67926 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
67927 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
67928 $as_echo "$as_me: $ac_file is unchanged" >&6;}
67929 else
67930 rm -f "$ac_file"
67931 mv "$tmp/config.h" "$ac_file" \
67932 || as_fn_error "could not create $ac_file" "$LINENO" 5
67933 fi
67934 else
67935 $as_echo "/* $configure_input */" \
67936 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
67937 || as_fn_error "could not create -" "$LINENO" 5
67938 fi
67939 # Compute "$ac_file"'s index in $config_headers.
67940 _am_arg="$ac_file"
67941 _am_stamp_count=1
67942 for _am_header in $config_headers :; do
67943 case $_am_header in
67944 $_am_arg | $_am_arg:* )
67945 break ;;
67946 * )
67947 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
67948 esac
67949 done
67950 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
67951 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67952 X"$_am_arg" : 'X\(//\)[^/]' \| \
67953 X"$_am_arg" : 'X\(//\)$' \| \
67954 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
67955 $as_echo X"$_am_arg" |
67956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67957 s//\1/
67958 q
67959 }
67960 /^X\(\/\/\)[^/].*/{
67961 s//\1/
67962 q
67963 }
67964 /^X\(\/\/\)$/{
67965 s//\1/
67966 q
67967 }
67968 /^X\(\/\).*/{
67969 s//\1/
67970 q
67971 }
67972 s/.*/./; q'`/stamp-h$_am_stamp_count
67973 ;;
67974
67975 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
67976 $as_echo "$as_me: executing $ac_file commands" >&6;}
67977 ;;
67978 esac
67979
67980
67981 case $ac_file$ac_mode in
67982 "default-1":C)
67983 # Only add multilib support code if we just rebuilt the top-level
67984 # Makefile.
67985 case " $CONFIG_FILES " in
67986 *" Makefile "*)
67987 ac_file=Makefile . ${multi_basedir}/config-ml.in
67988 ;;
67989 esac ;;
67990 "libtool":C)
67991
67992 # See if we are running on zsh, and set the options which allow our
67993 # commands through without removal of \ escapes.
67994 if test -n "${ZSH_VERSION+set}" ; then
67995 setopt NO_GLOB_SUBST
67996 fi
67997
67998 cfgfile="${ofile}T"
67999 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
68000 $RM "$cfgfile"
68001
68002 cat <<_LT_EOF >> "$cfgfile"
68003 #! $SHELL
68004
68005 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
68006 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
68007 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
68008 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
68009 #
68010 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
68011 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
68012 # Written by Gordon Matzigkeit, 1996
68013 #
68014 # This file is part of GNU Libtool.
68015 #
68016 # GNU Libtool is free software; you can redistribute it and/or
68017 # modify it under the terms of the GNU General Public License as
68018 # published by the Free Software Foundation; either version 2 of
68019 # the License, or (at your option) any later version.
68020 #
68021 # As a special exception to the GNU General Public License,
68022 # if you distribute this file as part of a program or library that
68023 # is built using GNU Libtool, you may include this file under the
68024 # same distribution terms that you use for the rest of that program.
68025 #
68026 # GNU Libtool is distributed in the hope that it will be useful,
68027 # but WITHOUT ANY WARRANTY; without even the implied warranty of
68028 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
68029 # GNU General Public License for more details.
68030 #
68031 # You should have received a copy of the GNU General Public License
68032 # along with GNU Libtool; see the file COPYING. If not, a copy
68033 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
68034 # obtained by writing to the Free Software Foundation, Inc.,
68035 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
68036
68037
68038 # The names of the tagged configurations supported by this script.
68039 available_tags="CXX "
68040
68041 # ### BEGIN LIBTOOL CONFIG
68042
68043 # Which release of libtool.m4 was used?
68044 macro_version=$macro_version
68045 macro_revision=$macro_revision
68046
68047 # Whether or not to build shared libraries.
68048 build_libtool_libs=$enable_shared
68049
68050 # Whether or not to build static libraries.
68051 build_old_libs=$enable_static
68052
68053 # What type of objects to build.
68054 pic_mode=$pic_mode
68055
68056 # Whether or not to optimize for fast installation.
68057 fast_install=$enable_fast_install
68058
68059 # Shell to use when invoking shell scripts.
68060 SHELL=$lt_SHELL
68061
68062 # An echo program that protects backslashes.
68063 ECHO=$lt_ECHO
68064
68065 # The host system.
68066 host_alias=$host_alias
68067 host=$host
68068 host_os=$host_os
68069
68070 # The build system.
68071 build_alias=$build_alias
68072 build=$build
68073 build_os=$build_os
68074
68075 # A sed program that does not truncate output.
68076 SED=$lt_SED
68077
68078 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
68079 Xsed="\$SED -e 1s/^X//"
68080
68081 # A grep program that handles long lines.
68082 GREP=$lt_GREP
68083
68084 # An ERE matcher.
68085 EGREP=$lt_EGREP
68086
68087 # A literal string matcher.
68088 FGREP=$lt_FGREP
68089
68090 # A BSD- or MS-compatible name lister.
68091 NM=$lt_NM
68092
68093 # Whether we need soft or hard links.
68094 LN_S=$lt_LN_S
68095
68096 # What is the maximum length of a command?
68097 max_cmd_len=$max_cmd_len
68098
68099 # Object file suffix (normally "o").
68100 objext=$ac_objext
68101
68102 # Executable file suffix (normally "").
68103 exeext=$exeext
68104
68105 # whether the shell understands "unset".
68106 lt_unset=$lt_unset
68107
68108 # turn spaces into newlines.
68109 SP2NL=$lt_lt_SP2NL
68110
68111 # turn newlines into spaces.
68112 NL2SP=$lt_lt_NL2SP
68113
68114 # An object symbol dumper.
68115 OBJDUMP=$lt_OBJDUMP
68116
68117 # Method to check whether dependent libraries are shared objects.
68118 deplibs_check_method=$lt_deplibs_check_method
68119
68120 # Command to use when deplibs_check_method == "file_magic".
68121 file_magic_cmd=$lt_file_magic_cmd
68122
68123 # The archiver.
68124 AR=$lt_AR
68125 AR_FLAGS=$lt_AR_FLAGS
68126
68127 # A symbol stripping program.
68128 STRIP=$lt_STRIP
68129
68130 # Commands used to install an old-style archive.
68131 RANLIB=$lt_RANLIB
68132 old_postinstall_cmds=$lt_old_postinstall_cmds
68133 old_postuninstall_cmds=$lt_old_postuninstall_cmds
68134
68135 # Whether to use a lock for old archive extraction.
68136 lock_old_archive_extraction=$lock_old_archive_extraction
68137
68138 # A C compiler.
68139 LTCC=$lt_CC
68140
68141 # LTCC compiler flags.
68142 LTCFLAGS=$lt_CFLAGS
68143
68144 # Take the output of nm and produce a listing of raw symbols and C names.
68145 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
68146
68147 # Transform the output of nm in a proper C declaration.
68148 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
68149
68150 # Transform the output of nm in a C name address pair.
68151 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
68152
68153 # Transform the output of nm in a C name address pair when lib prefix is needed.
68154 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
68155
68156 # The name of the directory that contains temporary libtool files.
68157 objdir=$objdir
68158
68159 # Used to examine libraries when file_magic_cmd begins with "file".
68160 MAGIC_CMD=$MAGIC_CMD
68161
68162 # Must we lock files when doing compilation?
68163 need_locks=$lt_need_locks
68164
68165 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
68166 DSYMUTIL=$lt_DSYMUTIL
68167
68168 # Tool to change global to local symbols on Mac OS X.
68169 NMEDIT=$lt_NMEDIT
68170
68171 # Tool to manipulate fat objects and archives on Mac OS X.
68172 LIPO=$lt_LIPO
68173
68174 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
68175 OTOOL=$lt_OTOOL
68176
68177 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
68178 OTOOL64=$lt_OTOOL64
68179
68180 # Old archive suffix (normally "a").
68181 libext=$libext
68182
68183 # Shared library suffix (normally ".so").
68184 shrext_cmds=$lt_shrext_cmds
68185
68186 # The commands to extract the exported symbol list from a shared archive.
68187 extract_expsyms_cmds=$lt_extract_expsyms_cmds
68188
68189 # Variables whose values should be saved in libtool wrapper scripts and
68190 # restored at link time.
68191 variables_saved_for_relink=$lt_variables_saved_for_relink
68192
68193 # Do we need the "lib" prefix for modules?
68194 need_lib_prefix=$need_lib_prefix
68195
68196 # Do we need a version for libraries?
68197 need_version=$need_version
68198
68199 # Library versioning type.
68200 version_type=$version_type
68201
68202 # Shared library runtime path variable.
68203 runpath_var=$runpath_var
68204
68205 # Shared library path variable.
68206 shlibpath_var=$shlibpath_var
68207
68208 # Is shlibpath searched before the hard-coded library search path?
68209 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
68210
68211 # Format of library name prefix.
68212 libname_spec=$lt_libname_spec
68213
68214 # List of archive names. First name is the real one, the rest are links.
68215 # The last name is the one that the linker finds with -lNAME
68216 library_names_spec=$lt_library_names_spec
68217
68218 # The coded name of the library, if different from the real name.
68219 soname_spec=$lt_soname_spec
68220
68221 # Permission mode override for installation of shared libraries.
68222 install_override_mode=$lt_install_override_mode
68223
68224 # Command to use after installation of a shared archive.
68225 postinstall_cmds=$lt_postinstall_cmds
68226
68227 # Command to use after uninstallation of a shared archive.
68228 postuninstall_cmds=$lt_postuninstall_cmds
68229
68230 # Commands used to finish a libtool library installation in a directory.
68231 finish_cmds=$lt_finish_cmds
68232
68233 # As "finish_cmds", except a single script fragment to be evaled but
68234 # not shown.
68235 finish_eval=$lt_finish_eval
68236
68237 # Whether we should hardcode library paths into libraries.
68238 hardcode_into_libs=$hardcode_into_libs
68239
68240 # Compile-time system search path for libraries.
68241 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
68242
68243 # Run-time system search path for libraries.
68244 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
68245
68246 # Whether dlopen is supported.
68247 dlopen_support=$enable_dlopen
68248
68249 # Whether dlopen of programs is supported.
68250 dlopen_self=$enable_dlopen_self
68251
68252 # Whether dlopen of statically linked programs is supported.
68253 dlopen_self_static=$enable_dlopen_self_static
68254
68255 # Commands to strip libraries.
68256 old_striplib=$lt_old_striplib
68257 striplib=$lt_striplib
68258
68259
68260 # The linker used to build libraries.
68261 LD=$lt_LD
68262
68263 # How to create reloadable object files.
68264 reload_flag=$lt_reload_flag
68265 reload_cmds=$lt_reload_cmds
68266
68267 # Commands used to build an old-style archive.
68268 old_archive_cmds=$lt_old_archive_cmds
68269
68270 # A language specific compiler.
68271 CC=$lt_compiler
68272
68273 # Is the compiler the GNU compiler?
68274 with_gcc=$GCC
68275
68276 # Compiler flag to turn off builtin functions.
68277 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
68278
68279 # How to pass a linker flag through the compiler.
68280 wl=$lt_lt_prog_compiler_wl
68281
68282 # Additional compiler flags for building library objects.
68283 pic_flag=$lt_lt_prog_compiler_pic
68284
68285 # Compiler flag to prevent dynamic linking.
68286 link_static_flag=$lt_lt_prog_compiler_static
68287
68288 # Does compiler simultaneously support -c and -o options?
68289 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
68290
68291 # Whether or not to add -lc for building shared libraries.
68292 build_libtool_need_lc=$archive_cmds_need_lc
68293
68294 # Whether or not to disallow shared libs when runtime libs are static.
68295 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
68296
68297 # Compiler flag to allow reflexive dlopens.
68298 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
68299
68300 # Compiler flag to generate shared objects directly from archives.
68301 whole_archive_flag_spec=$lt_whole_archive_flag_spec
68302
68303 # Whether the compiler copes with passing no objects directly.
68304 compiler_needs_object=$lt_compiler_needs_object
68305
68306 # Create an old-style archive from a shared archive.
68307 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
68308
68309 # Create a temporary old-style archive to link instead of a shared archive.
68310 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
68311
68312 # Commands used to build a shared archive.
68313 archive_cmds=$lt_archive_cmds
68314 archive_expsym_cmds=$lt_archive_expsym_cmds
68315
68316 # Commands used to build a loadable module if different from building
68317 # a shared archive.
68318 module_cmds=$lt_module_cmds
68319 module_expsym_cmds=$lt_module_expsym_cmds
68320
68321 # Whether we are building with GNU ld or not.
68322 with_gnu_ld=$lt_with_gnu_ld
68323
68324 # Flag that allows shared libraries with undefined symbols to be built.
68325 allow_undefined_flag=$lt_allow_undefined_flag
68326
68327 # Flag that enforces no undefined symbols.
68328 no_undefined_flag=$lt_no_undefined_flag
68329
68330 # Flag to hardcode \$libdir into a binary during linking.
68331 # This must work even if \$libdir does not exist
68332 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
68333
68334 # If ld is used when linking, flag to hardcode \$libdir into a binary
68335 # during linking. This must work even if \$libdir does not exist.
68336 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
68337
68338 # Whether we need a single "-rpath" flag with a separated argument.
68339 hardcode_libdir_separator=$lt_hardcode_libdir_separator
68340
68341 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68342 # DIR into the resulting binary.
68343 hardcode_direct=$hardcode_direct
68344
68345 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68346 # DIR into the resulting binary and the resulting library dependency is
68347 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68348 # library is relocated.
68349 hardcode_direct_absolute=$hardcode_direct_absolute
68350
68351 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68352 # into the resulting binary.
68353 hardcode_minus_L=$hardcode_minus_L
68354
68355 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68356 # into the resulting binary.
68357 hardcode_shlibpath_var=$hardcode_shlibpath_var
68358
68359 # Set to "yes" if building a shared library automatically hardcodes DIR
68360 # into the library and all subsequent libraries and executables linked
68361 # against it.
68362 hardcode_automatic=$hardcode_automatic
68363
68364 # Set to yes if linker adds runtime paths of dependent libraries
68365 # to runtime path list.
68366 inherit_rpath=$inherit_rpath
68367
68368 # Whether libtool must link a program against all its dependency libraries.
68369 link_all_deplibs=$link_all_deplibs
68370
68371 # Fix the shell variable \$srcfile for the compiler.
68372 fix_srcfile_path=$lt_fix_srcfile_path
68373
68374 # Set to "yes" if exported symbols are required.
68375 always_export_symbols=$always_export_symbols
68376
68377 # The commands to list exported symbols.
68378 export_symbols_cmds=$lt_export_symbols_cmds
68379
68380 # Symbols that should not be listed in the preloaded symbols.
68381 exclude_expsyms=$lt_exclude_expsyms
68382
68383 # Symbols that must always be exported.
68384 include_expsyms=$lt_include_expsyms
68385
68386 # Commands necessary for linking programs (against libraries) with templates.
68387 prelink_cmds=$lt_prelink_cmds
68388
68389 # Specify filename containing input files.
68390 file_list_spec=$lt_file_list_spec
68391
68392 # How to hardcode a shared library path into an executable.
68393 hardcode_action=$hardcode_action
68394
68395 # The directories searched by this compiler when creating a shared library.
68396 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
68397
68398 # Dependencies to place before and after the objects being linked to
68399 # create a shared library.
68400 predep_objects=$lt_predep_objects
68401 postdep_objects=$lt_postdep_objects
68402 predeps=$lt_predeps
68403 postdeps=$lt_postdeps
68404
68405 # The library search path used internally by the compiler when linking
68406 # a shared library.
68407 compiler_lib_search_path=$lt_compiler_lib_search_path
68408
68409 # ### END LIBTOOL CONFIG
68410
68411 _LT_EOF
68412
68413 case $host_os in
68414 aix3*)
68415 cat <<\_LT_EOF >> "$cfgfile"
68416 # AIX sometimes has problems with the GCC collect2 program. For some
68417 # reason, if we set the COLLECT_NAMES environment variable, the problems
68418 # vanish in a puff of smoke.
68419 if test "X${COLLECT_NAMES+set}" != Xset; then
68420 COLLECT_NAMES=
68421 export COLLECT_NAMES
68422 fi
68423 _LT_EOF
68424 ;;
68425 esac
68426
68427
68428 ltmain="$ac_aux_dir/ltmain.sh"
68429
68430
68431 # We use sed instead of cat because bash on DJGPP gets confused if
68432 # if finds mixed CR/LF and LF-only lines. Since sed operates in
68433 # text mode, it properly converts lines to CR/LF. This bash problem
68434 # is reportedly fixed, but why not run on old versions too?
68435 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
68436 || (rm -f "$cfgfile"; exit 1)
68437
68438 case $xsi_shell in
68439 yes)
68440 cat << \_LT_EOF >> "$cfgfile"
68441
68442 # func_dirname file append nondir_replacement
68443 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68444 # otherwise set result to NONDIR_REPLACEMENT.
68445 func_dirname ()
68446 {
68447 case ${1} in
68448 */*) func_dirname_result="${1%/*}${2}" ;;
68449 * ) func_dirname_result="${3}" ;;
68450 esac
68451 }
68452
68453 # func_basename file
68454 func_basename ()
68455 {
68456 func_basename_result="${1##*/}"
68457 }
68458
68459 # func_dirname_and_basename file append nondir_replacement
68460 # perform func_basename and func_dirname in a single function
68461 # call:
68462 # dirname: Compute the dirname of FILE. If nonempty,
68463 # add APPEND to the result, otherwise set result
68464 # to NONDIR_REPLACEMENT.
68465 # value returned in "$func_dirname_result"
68466 # basename: Compute filename of FILE.
68467 # value retuned in "$func_basename_result"
68468 # Implementation must be kept synchronized with func_dirname
68469 # and func_basename. For efficiency, we do not delegate to
68470 # those functions but instead duplicate the functionality here.
68471 func_dirname_and_basename ()
68472 {
68473 case ${1} in
68474 */*) func_dirname_result="${1%/*}${2}" ;;
68475 * ) func_dirname_result="${3}" ;;
68476 esac
68477 func_basename_result="${1##*/}"
68478 }
68479
68480 # func_stripname prefix suffix name
68481 # strip PREFIX and SUFFIX off of NAME.
68482 # PREFIX and SUFFIX must not contain globbing or regex special
68483 # characters, hashes, percent signs, but SUFFIX may contain a leading
68484 # dot (in which case that matches only a dot).
68485 func_stripname ()
68486 {
68487 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68488 # positional parameters, so assign one to ordinary parameter first.
68489 func_stripname_result=${3}
68490 func_stripname_result=${func_stripname_result#"${1}"}
68491 func_stripname_result=${func_stripname_result%"${2}"}
68492 }
68493
68494 # func_opt_split
68495 func_opt_split ()
68496 {
68497 func_opt_split_opt=${1%%=*}
68498 func_opt_split_arg=${1#*=}
68499 }
68500
68501 # func_lo2o object
68502 func_lo2o ()
68503 {
68504 case ${1} in
68505 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68506 *) func_lo2o_result=${1} ;;
68507 esac
68508 }
68509
68510 # func_xform libobj-or-source
68511 func_xform ()
68512 {
68513 func_xform_result=${1%.*}.lo
68514 }
68515
68516 # func_arith arithmetic-term...
68517 func_arith ()
68518 {
68519 func_arith_result=$(( $* ))
68520 }
68521
68522 # func_len string
68523 # STRING may not start with a hyphen.
68524 func_len ()
68525 {
68526 func_len_result=${#1}
68527 }
68528
68529 _LT_EOF
68530 ;;
68531 *) # Bourne compatible functions.
68532 cat << \_LT_EOF >> "$cfgfile"
68533
68534 # func_dirname file append nondir_replacement
68535 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68536 # otherwise set result to NONDIR_REPLACEMENT.
68537 func_dirname ()
68538 {
68539 # Extract subdirectory from the argument.
68540 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68541 if test "X$func_dirname_result" = "X${1}"; then
68542 func_dirname_result="${3}"
68543 else
68544 func_dirname_result="$func_dirname_result${2}"
68545 fi
68546 }
68547
68548 # func_basename file
68549 func_basename ()
68550 {
68551 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68552 }
68553
68554
68555 # func_stripname prefix suffix name
68556 # strip PREFIX and SUFFIX off of NAME.
68557 # PREFIX and SUFFIX must not contain globbing or regex special
68558 # characters, hashes, percent signs, but SUFFIX may contain a leading
68559 # dot (in which case that matches only a dot).
68560 # func_strip_suffix prefix name
68561 func_stripname ()
68562 {
68563 case ${2} in
68564 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68565 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68566 esac
68567 }
68568
68569 # sed scripts:
68570 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68571 my_sed_long_arg='1s/^-[^=]*=//'
68572
68573 # func_opt_split
68574 func_opt_split ()
68575 {
68576 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68577 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68578 }
68579
68580 # func_lo2o object
68581 func_lo2o ()
68582 {
68583 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68584 }
68585
68586 # func_xform libobj-or-source
68587 func_xform ()
68588 {
68589 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68590 }
68591
68592 # func_arith arithmetic-term...
68593 func_arith ()
68594 {
68595 func_arith_result=`expr "$@"`
68596 }
68597
68598 # func_len string
68599 # STRING may not start with a hyphen.
68600 func_len ()
68601 {
68602 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68603 }
68604
68605 _LT_EOF
68606 esac
68607
68608 case $lt_shell_append in
68609 yes)
68610 cat << \_LT_EOF >> "$cfgfile"
68611
68612 # func_append var value
68613 # Append VALUE to the end of shell variable VAR.
68614 func_append ()
68615 {
68616 eval "$1+=\$2"
68617 }
68618 _LT_EOF
68619 ;;
68620 *)
68621 cat << \_LT_EOF >> "$cfgfile"
68622
68623 # func_append var value
68624 # Append VALUE to the end of shell variable VAR.
68625 func_append ()
68626 {
68627 eval "$1=\$$1\$2"
68628 }
68629
68630 _LT_EOF
68631 ;;
68632 esac
68633
68634
68635 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68636 || (rm -f "$cfgfile"; exit 1)
68637
68638 mv -f "$cfgfile" "$ofile" ||
68639 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68640 chmod +x "$ofile"
68641
68642
68643 cat <<_LT_EOF >> "$ofile"
68644
68645 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68646
68647 # The linker used to build libraries.
68648 LD=$lt_LD_CXX
68649
68650 # How to create reloadable object files.
68651 reload_flag=$lt_reload_flag_CXX
68652 reload_cmds=$lt_reload_cmds_CXX
68653
68654 # Commands used to build an old-style archive.
68655 old_archive_cmds=$lt_old_archive_cmds_CXX
68656
68657 # A language specific compiler.
68658 CC=$lt_compiler_CXX
68659
68660 # Is the compiler the GNU compiler?
68661 with_gcc=$GCC_CXX
68662
68663 # Compiler flag to turn off builtin functions.
68664 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68665
68666 # How to pass a linker flag through the compiler.
68667 wl=$lt_lt_prog_compiler_wl_CXX
68668
68669 # Additional compiler flags for building library objects.
68670 pic_flag=$lt_lt_prog_compiler_pic_CXX
68671
68672 # Compiler flag to prevent dynamic linking.
68673 link_static_flag=$lt_lt_prog_compiler_static_CXX
68674
68675 # Does compiler simultaneously support -c and -o options?
68676 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68677
68678 # Whether or not to add -lc for building shared libraries.
68679 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68680
68681 # Whether or not to disallow shared libs when runtime libs are static.
68682 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68683
68684 # Compiler flag to allow reflexive dlopens.
68685 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68686
68687 # Compiler flag to generate shared objects directly from archives.
68688 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68689
68690 # Whether the compiler copes with passing no objects directly.
68691 compiler_needs_object=$lt_compiler_needs_object_CXX
68692
68693 # Create an old-style archive from a shared archive.
68694 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68695
68696 # Create a temporary old-style archive to link instead of a shared archive.
68697 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68698
68699 # Commands used to build a shared archive.
68700 archive_cmds=$lt_archive_cmds_CXX
68701 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68702
68703 # Commands used to build a loadable module if different from building
68704 # a shared archive.
68705 module_cmds=$lt_module_cmds_CXX
68706 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68707
68708 # Whether we are building with GNU ld or not.
68709 with_gnu_ld=$lt_with_gnu_ld_CXX
68710
68711 # Flag that allows shared libraries with undefined symbols to be built.
68712 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68713
68714 # Flag that enforces no undefined symbols.
68715 no_undefined_flag=$lt_no_undefined_flag_CXX
68716
68717 # Flag to hardcode \$libdir into a binary during linking.
68718 # This must work even if \$libdir does not exist
68719 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68720
68721 # If ld is used when linking, flag to hardcode \$libdir into a binary
68722 # during linking. This must work even if \$libdir does not exist.
68723 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68724
68725 # Whether we need a single "-rpath" flag with a separated argument.
68726 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68727
68728 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68729 # DIR into the resulting binary.
68730 hardcode_direct=$hardcode_direct_CXX
68731
68732 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68733 # DIR into the resulting binary and the resulting library dependency is
68734 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68735 # library is relocated.
68736 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68737
68738 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68739 # into the resulting binary.
68740 hardcode_minus_L=$hardcode_minus_L_CXX
68741
68742 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68743 # into the resulting binary.
68744 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68745
68746 # Set to "yes" if building a shared library automatically hardcodes DIR
68747 # into the library and all subsequent libraries and executables linked
68748 # against it.
68749 hardcode_automatic=$hardcode_automatic_CXX
68750
68751 # Set to yes if linker adds runtime paths of dependent libraries
68752 # to runtime path list.
68753 inherit_rpath=$inherit_rpath_CXX
68754
68755 # Whether libtool must link a program against all its dependency libraries.
68756 link_all_deplibs=$link_all_deplibs_CXX
68757
68758 # Fix the shell variable \$srcfile for the compiler.
68759 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68760
68761 # Set to "yes" if exported symbols are required.
68762 always_export_symbols=$always_export_symbols_CXX
68763
68764 # The commands to list exported symbols.
68765 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68766
68767 # Symbols that should not be listed in the preloaded symbols.
68768 exclude_expsyms=$lt_exclude_expsyms_CXX
68769
68770 # Symbols that must always be exported.
68771 include_expsyms=$lt_include_expsyms_CXX
68772
68773 # Commands necessary for linking programs (against libraries) with templates.
68774 prelink_cmds=$lt_prelink_cmds_CXX
68775
68776 # Specify filename containing input files.
68777 file_list_spec=$lt_file_list_spec_CXX
68778
68779 # How to hardcode a shared library path into an executable.
68780 hardcode_action=$hardcode_action_CXX
68781
68782 # The directories searched by this compiler when creating a shared library.
68783 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68784
68785 # Dependencies to place before and after the objects being linked to
68786 # create a shared library.
68787 predep_objects=$lt_predep_objects_CXX
68788 postdep_objects=$lt_postdep_objects_CXX
68789 predeps=$lt_predeps_CXX
68790 postdeps=$lt_postdeps_CXX
68791
68792 # The library search path used internally by the compiler when linking
68793 # a shared library.
68794 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
68795
68796 # ### END LIBTOOL TAG CONFIG: CXX
68797 _LT_EOF
68798
68799 ;;
68800 "include/gstdint.h":C)
68801 if test "$GCC" = yes; then
68802 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
68803 else
68804 echo "/* generated for $CC */" > tmp-stdint.h
68805 fi
68806
68807 sed 's/^ *//' >> tmp-stdint.h <<EOF
68808
68809 #ifndef GCC_GENERATED_STDINT_H
68810 #define GCC_GENERATED_STDINT_H 1
68811
68812 #include <sys/types.h>
68813 EOF
68814
68815 if test "$acx_cv_header_stdint" != stdint.h; then
68816 echo "#include <stddef.h>" >> tmp-stdint.h
68817 fi
68818 if test "$acx_cv_header_stdint" != stddef.h; then
68819 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
68820 fi
68821
68822 sed 's/^ *//' >> tmp-stdint.h <<EOF
68823 /* glibc uses these symbols as guards to prevent redefinitions. */
68824 #ifdef __int8_t_defined
68825 #define _INT8_T
68826 #define _INT16_T
68827 #define _INT32_T
68828 #endif
68829 #ifdef __uint32_t_defined
68830 #define _UINT32_T
68831 #endif
68832
68833 EOF
68834
68835 # ----------------- done header, emit basic int types -------------
68836 if test "$acx_cv_header_stdint" = stddef.h; then
68837 sed 's/^ *//' >> tmp-stdint.h <<EOF
68838
68839 #ifndef _UINT8_T
68840 #define _UINT8_T
68841 #ifndef __uint8_t_defined
68842 #define __uint8_t_defined
68843 #ifndef uint8_t
68844 typedef unsigned $acx_cv_type_int8_t uint8_t;
68845 #endif
68846 #endif
68847 #endif
68848
68849 #ifndef _UINT16_T
68850 #define _UINT16_T
68851 #ifndef __uint16_t_defined
68852 #define __uint16_t_defined
68853 #ifndef uint16_t
68854 typedef unsigned $acx_cv_type_int16_t uint16_t;
68855 #endif
68856 #endif
68857 #endif
68858
68859 #ifndef _UINT32_T
68860 #define _UINT32_T
68861 #ifndef __uint32_t_defined
68862 #define __uint32_t_defined
68863 #ifndef uint32_t
68864 typedef unsigned $acx_cv_type_int32_t uint32_t;
68865 #endif
68866 #endif
68867 #endif
68868
68869 #ifndef _INT8_T
68870 #define _INT8_T
68871 #ifndef __int8_t_defined
68872 #define __int8_t_defined
68873 #ifndef int8_t
68874 typedef $acx_cv_type_int8_t int8_t;
68875 #endif
68876 #endif
68877 #endif
68878
68879 #ifndef _INT16_T
68880 #define _INT16_T
68881 #ifndef __int16_t_defined
68882 #define __int16_t_defined
68883 #ifndef int16_t
68884 typedef $acx_cv_type_int16_t int16_t;
68885 #endif
68886 #endif
68887 #endif
68888
68889 #ifndef _INT32_T
68890 #define _INT32_T
68891 #ifndef __int32_t_defined
68892 #define __int32_t_defined
68893 #ifndef int32_t
68894 typedef $acx_cv_type_int32_t int32_t;
68895 #endif
68896 #endif
68897 #endif
68898 EOF
68899 elif test "$ac_cv_type_u_int32_t" = yes; then
68900 sed 's/^ *//' >> tmp-stdint.h <<EOF
68901
68902 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
68903 #ifndef _INT8_T
68904 #define _INT8_T
68905 #endif
68906 #ifndef _INT16_T
68907 #define _INT16_T
68908 #endif
68909 #ifndef _INT32_T
68910 #define _INT32_T
68911 #endif
68912
68913 #ifndef _UINT8_T
68914 #define _UINT8_T
68915 #ifndef __uint8_t_defined
68916 #define __uint8_t_defined
68917 #ifndef uint8_t
68918 typedef u_int8_t uint8_t;
68919 #endif
68920 #endif
68921 #endif
68922
68923 #ifndef _UINT16_T
68924 #define _UINT16_T
68925 #ifndef __uint16_t_defined
68926 #define __uint16_t_defined
68927 #ifndef uint16_t
68928 typedef u_int16_t uint16_t;
68929 #endif
68930 #endif
68931 #endif
68932
68933 #ifndef _UINT32_T
68934 #define _UINT32_T
68935 #ifndef __uint32_t_defined
68936 #define __uint32_t_defined
68937 #ifndef uint32_t
68938 typedef u_int32_t uint32_t;
68939 #endif
68940 #endif
68941 #endif
68942 EOF
68943 else
68944 sed 's/^ *//' >> tmp-stdint.h <<EOF
68945
68946 /* Some systems have guard macros to prevent redefinitions, define them. */
68947 #ifndef _INT8_T
68948 #define _INT8_T
68949 #endif
68950 #ifndef _INT16_T
68951 #define _INT16_T
68952 #endif
68953 #ifndef _INT32_T
68954 #define _INT32_T
68955 #endif
68956 #ifndef _UINT8_T
68957 #define _UINT8_T
68958 #endif
68959 #ifndef _UINT16_T
68960 #define _UINT16_T
68961 #endif
68962 #ifndef _UINT32_T
68963 #define _UINT32_T
68964 #endif
68965 EOF
68966 fi
68967
68968 # ------------- done basic int types, emit int64_t types ------------
68969 if test "$ac_cv_type_uint64_t" = yes; then
68970 sed 's/^ *//' >> tmp-stdint.h <<EOF
68971
68972 /* system headers have good uint64_t and int64_t */
68973 #ifndef _INT64_T
68974 #define _INT64_T
68975 #endif
68976 #ifndef _UINT64_T
68977 #define _UINT64_T
68978 #endif
68979 EOF
68980 elif test "$ac_cv_type_u_int64_t" = yes; then
68981 sed 's/^ *//' >> tmp-stdint.h <<EOF
68982
68983 /* system headers have an u_int64_t (and int64_t) */
68984 #ifndef _INT64_T
68985 #define _INT64_T
68986 #endif
68987 #ifndef _UINT64_T
68988 #define _UINT64_T
68989 #ifndef __uint64_t_defined
68990 #define __uint64_t_defined
68991 #ifndef uint64_t
68992 typedef u_int64_t uint64_t;
68993 #endif
68994 #endif
68995 #endif
68996 EOF
68997 elif test -n "$acx_cv_type_int64_t"; then
68998 sed 's/^ *//' >> tmp-stdint.h <<EOF
68999
69000 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
69001 #ifndef _INT64_T
69002 #define _INT64_T
69003 #ifndef int64_t
69004 typedef $acx_cv_type_int64_t int64_t;
69005 #endif
69006 #endif
69007 #ifndef _UINT64_T
69008 #define _UINT64_T
69009 #ifndef __uint64_t_defined
69010 #define __uint64_t_defined
69011 #ifndef uint64_t
69012 typedef unsigned $acx_cv_type_int64_t uint64_t;
69013 #endif
69014 #endif
69015 #endif
69016 EOF
69017 else
69018 sed 's/^ *//' >> tmp-stdint.h <<EOF
69019
69020 /* some common heuristics for int64_t, using compiler-specific tests */
69021 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
69022 #ifndef _INT64_T
69023 #define _INT64_T
69024 #ifndef __int64_t_defined
69025 #ifndef int64_t
69026 typedef long long int64_t;
69027 #endif
69028 #endif
69029 #endif
69030 #ifndef _UINT64_T
69031 #define _UINT64_T
69032 #ifndef uint64_t
69033 typedef unsigned long long uint64_t;
69034 #endif
69035 #endif
69036
69037 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
69038 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
69039 does not implement __extension__. But that compiler doesn't define
69040 __GNUC_MINOR__. */
69041 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
69042 # define __extension__
69043 # endif
69044
69045 # ifndef _INT64_T
69046 # define _INT64_T
69047 # ifndef int64_t
69048 __extension__ typedef long long int64_t;
69049 # endif
69050 # endif
69051 # ifndef _UINT64_T
69052 # define _UINT64_T
69053 # ifndef uint64_t
69054 __extension__ typedef unsigned long long uint64_t;
69055 # endif
69056 # endif
69057
69058 #elif !defined __STRICT_ANSI__
69059 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
69060
69061 # ifndef _INT64_T
69062 # define _INT64_T
69063 # ifndef int64_t
69064 typedef __int64 int64_t;
69065 # endif
69066 # endif
69067 # ifndef _UINT64_T
69068 # define _UINT64_T
69069 # ifndef uint64_t
69070 typedef unsigned __int64 uint64_t;
69071 # endif
69072 # endif
69073 # endif /* compiler */
69074
69075 #endif /* ANSI version */
69076 EOF
69077 fi
69078
69079 # ------------- done int64_t types, emit intptr types ------------
69080 if test "$ac_cv_type_uintptr_t" != yes; then
69081 sed 's/^ *//' >> tmp-stdint.h <<EOF
69082
69083 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
69084 #ifndef __uintptr_t_defined
69085 #ifndef uintptr_t
69086 typedef u$acx_cv_type_intptr_t uintptr_t;
69087 #endif
69088 #endif
69089 #ifndef __intptr_t_defined
69090 #ifndef intptr_t
69091 typedef $acx_cv_type_intptr_t intptr_t;
69092 #endif
69093 #endif
69094 EOF
69095 fi
69096
69097 # ------------- done intptr types, emit int_least types ------------
69098 if test "$ac_cv_type_int_least32_t" != yes; then
69099 sed 's/^ *//' >> tmp-stdint.h <<EOF
69100
69101 /* Define int_least types */
69102 typedef int8_t int_least8_t;
69103 typedef int16_t int_least16_t;
69104 typedef int32_t int_least32_t;
69105 #ifdef _INT64_T
69106 typedef int64_t int_least64_t;
69107 #endif
69108
69109 typedef uint8_t uint_least8_t;
69110 typedef uint16_t uint_least16_t;
69111 typedef uint32_t uint_least32_t;
69112 #ifdef _UINT64_T
69113 typedef uint64_t uint_least64_t;
69114 #endif
69115 EOF
69116 fi
69117
69118 # ------------- done intptr types, emit int_fast types ------------
69119 if test "$ac_cv_type_int_fast32_t" != yes; then
69120 sed 's/^ *//' >> tmp-stdint.h <<EOF
69121
69122 /* Define int_fast types. short is often slow */
69123 typedef int8_t int_fast8_t;
69124 typedef int int_fast16_t;
69125 typedef int32_t int_fast32_t;
69126 #ifdef _INT64_T
69127 typedef int64_t int_fast64_t;
69128 #endif
69129
69130 typedef uint8_t uint_fast8_t;
69131 typedef unsigned int uint_fast16_t;
69132 typedef uint32_t uint_fast32_t;
69133 #ifdef _UINT64_T
69134 typedef uint64_t uint_fast64_t;
69135 #endif
69136 EOF
69137 fi
69138
69139 if test "$ac_cv_type_uintmax_t" != yes; then
69140 sed 's/^ *//' >> tmp-stdint.h <<EOF
69141
69142 /* Define intmax based on what we found */
69143 #ifndef intmax_t
69144 #ifdef _INT64_T
69145 typedef int64_t intmax_t;
69146 #else
69147 typedef long intmax_t;
69148 #endif
69149 #endif
69150 #ifndef uintmax_t
69151 #ifdef _UINT64_T
69152 typedef uint64_t uintmax_t;
69153 #else
69154 typedef unsigned long uintmax_t;
69155 #endif
69156 #endif
69157 EOF
69158 fi
69159
69160 sed 's/^ *//' >> tmp-stdint.h <<EOF
69161
69162 #endif /* GCC_GENERATED_STDINT_H */
69163 EOF
69164
69165 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
69166 rm -f tmp-stdint.h
69167 else
69168 mv -f tmp-stdint.h include/gstdint.h
69169 fi
69170
69171 ;;
69172 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
69173 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
69174 "include/Makefile":F) cat > vpsed$$ << \_EOF
69175 s!`test -f '$<' || echo '$(srcdir)/'`!!
69176 _EOF
69177 sed -f vpsed$$ $ac_file > tmp$$
69178 mv tmp$$ $ac_file
69179 rm vpsed$$
69180 echo 'MULTISUBDIR =' >> $ac_file
69181 ml_norecursion=yes
69182 . ${multi_basedir}/config-ml.in
69183 { ml_norecursion=; unset ml_norecursion;}
69184 ;;
69185 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
69186 s!`test -f '$<' || echo '$(srcdir)/'`!!
69187 _EOF
69188 sed -f vpsed$$ $ac_file > tmp$$
69189 mv tmp$$ $ac_file
69190 rm vpsed$$
69191 echo 'MULTISUBDIR =' >> $ac_file
69192 ml_norecursion=yes
69193 . ${multi_basedir}/config-ml.in
69194 { ml_norecursion=; unset ml_norecursion;}
69195 ;;
69196 "python/Makefile":F) cat > vpsed$$ << \_EOF
69197 s!`test -f '$<' || echo '$(srcdir)/'`!!
69198 _EOF
69199 sed -f vpsed$$ $ac_file > tmp$$
69200 mv tmp$$ $ac_file
69201 rm vpsed$$
69202 echo 'MULTISUBDIR =' >> $ac_file
69203 ml_norecursion=yes
69204 . ${multi_basedir}/config-ml.in
69205 { ml_norecursion=; unset ml_norecursion;}
69206 ;;
69207 "src/Makefile":F) cat > vpsed$$ << \_EOF
69208 s!`test -f '$<' || echo '$(srcdir)/'`!!
69209 _EOF
69210 sed -f vpsed$$ $ac_file > tmp$$
69211 mv tmp$$ $ac_file
69212 rm vpsed$$
69213 echo 'MULTISUBDIR =' >> $ac_file
69214 ml_norecursion=yes
69215 . ${multi_basedir}/config-ml.in
69216 { ml_norecursion=; unset ml_norecursion;}
69217 ;;
69218 "doc/Makefile":F) cat > vpsed$$ << \_EOF
69219 s!`test -f '$<' || echo '$(srcdir)/'`!!
69220 _EOF
69221 sed -f vpsed$$ $ac_file > tmp$$
69222 mv tmp$$ $ac_file
69223 rm vpsed$$
69224 echo 'MULTISUBDIR =' >> $ac_file
69225 ml_norecursion=yes
69226 . ${multi_basedir}/config-ml.in
69227 { ml_norecursion=; unset ml_norecursion;}
69228 ;;
69229 "po/Makefile":F) cat > vpsed$$ << \_EOF
69230 s!`test -f '$<' || echo '$(srcdir)/'`!!
69231 _EOF
69232 sed -f vpsed$$ $ac_file > tmp$$
69233 mv tmp$$ $ac_file
69234 rm vpsed$$
69235 echo 'MULTISUBDIR =' >> $ac_file
69236 ml_norecursion=yes
69237 . ${multi_basedir}/config-ml.in
69238 { ml_norecursion=; unset ml_norecursion;}
69239 ;;
69240 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
69241 s!`test -f '$<' || echo '$(srcdir)/'`!!
69242 _EOF
69243 sed -f vpsed$$ $ac_file > tmp$$
69244 mv tmp$$ $ac_file
69245 rm vpsed$$
69246 echo 'MULTISUBDIR =' >> $ac_file
69247 ml_norecursion=yes
69248 . ${multi_basedir}/config-ml.in
69249 { ml_norecursion=; unset ml_norecursion;}
69250 ;;
69251 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
69252
69253 esac
69254 done # for ac_tag
69255
69256
69257 as_fn_exit 0
69258 _ACEOF
69259 ac_clean_files=$ac_clean_files_save
69260
69261 test $ac_write_fail = 0 ||
69262 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
69263
69264
69265 # configure is writing to config.log, and then calls config.status.
69266 # config.status does its own redirection, appending to config.log.
69267 # Unfortunately, on DOS this fails, as config.log is still kept open
69268 # by configure, so config.status won't be able to write to it; its
69269 # output is simply discarded. So we exec the FD to /dev/null,
69270 # effectively closing config.log, so it can be properly (re)opened and
69271 # appended to by config.status. When coming back to configure, we
69272 # need to make the FD available again.
69273 if test "$no_create" != yes; then
69274 ac_cs_success=:
69275 ac_config_status_args=
69276 test "$silent" = yes &&
69277 ac_config_status_args="$ac_config_status_args --quiet"
69278 exec 5>/dev/null
69279 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
69280 exec 5>>config.log
69281 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
69282 # would make configure fail if this is the last instruction.
69283 $ac_cs_success || as_fn_exit $?
69284 fi
69285 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
69286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
69287 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
69288 fi
69289